diff options
Diffstat (limited to 'components/script/dom/bindings/codegen')
3 files changed, 12 insertions, 23 deletions
diff --git a/components/script/dom/bindings/codegen/parser/WebIDL.py b/components/script/dom/bindings/codegen/parser/WebIDL.py index a0dededf912..da32340dda6 100644 --- a/components/script/dom/bindings/codegen/parser/WebIDL.py +++ b/components/script/dom/bindings/codegen/parser/WebIDL.py @@ -6823,7 +6823,8 @@ class Parser(Tokenizer): self.parser = yacc.yacc(module=self, outputdir=outputdir, tabmodule='webidlyacc', - errorlog=logger + errorlog=logger, + debug=False # Pickling the grammar is a speedup in # some cases (older Python?) but a # significant slowdown in others. diff --git a/components/script/dom/bindings/codegen/parser/abstract.patch b/components/script/dom/bindings/codegen/parser/abstract.patch deleted file mode 100644 index a8e2ddcf759..00000000000 --- a/components/script/dom/bindings/codegen/parser/abstract.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- WebIDL.py -+++ WebIDL.py -@@ -1416,7 +1416,8 @@ - identifier == "LegacyEventInit" or - identifier == "ProbablyShortLivingObject" or - identifier == "LegacyUnenumerableNamedProperties" or -- identifier == "NonOrdinaryGetPrototypeOf"): -+ identifier == "NonOrdinaryGetPrototypeOf" or -+ identifier == "Abstract"): - # Known extended attributes that do not take values - if not attr.noArguments(): - raise WebIDLError("[%s] must take no arguments" % identifier, diff --git a/components/script/dom/bindings/codegen/parser/debug.patch b/components/script/dom/bindings/codegen/parser/debug.patch index 85075dea490..ca391c38273 100644 --- a/components/script/dom/bindings/codegen/parser/debug.patch +++ b/components/script/dom/bindings/codegen/parser/debug.patch @@ -1,12 +1,12 @@ --- WebIDL.py +++ WebIDL.py -@@ -6438,7 +6438,8 @@ class Parser(Tokenizer): - self.parser = yacc.yacc(module=self, - outputdir=outputdir, - tabmodule='webidlyacc', -- errorlog=logger -+ errorlog=logger, -+ debug=False - # Pickling the grammar is a speedup in - # some cases (older Python?) but a - # significant slowdown in others. +@@ -6823,7 +6823,8 @@ class Parser(Tokenizer): + self.parser = yacc.yacc(module=self, + outputdir=outputdir, + tabmodule='webidlyacc', +- errorlog=logger ++ errorlog=logger, ++ debug=False + # Pickling the grammar is a speedup in + # some cases (older Python?) but a + # significant slowdown in others. |