diff options
author | Anthony Ramine <nox@nox.paris> | 2020-03-14 10:54:04 +0100 |
---|---|---|
committer | Anthony Ramine <nox@nox.paris> | 2020-03-14 12:17:48 +0100 |
commit | 4930479ac813775a26acc21f7175bd06d10f5647 (patch) | |
tree | 4ecb5c863c2361c0f4652ad02032af6f1ed8be09 /components/script/dom/bindings/codegen/parser/ext-attribute-no-value-error.patch | |
parent | 6ab923c8e8172ce1a4944b85cac549fa99ec9f4d (diff) | |
download | servo-4930479ac813775a26acc21f7175bd06d10f5647.tar.gz servo-4930479ac813775a26acc21f7175bd06d10f5647.zip |
Update the WebIDL parser
Upstream doesn't allow downloading .tar.gz archives so update.sh was changed
to use unzip.
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/ext-attribute-no-value-error.patch')
-rw-r--r-- | components/script/dom/bindings/codegen/parser/ext-attribute-no-value-error.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/components/script/dom/bindings/codegen/parser/ext-attribute-no-value-error.patch b/components/script/dom/bindings/codegen/parser/ext-attribute-no-value-error.patch new file mode 100644 index 00000000000..210134d8ca6 --- /dev/null +++ b/components/script/dom/bindings/codegen/parser/ext-attribute-no-value-error.patch @@ -0,0 +1,11 @@ +--- WebIDL.py ++++ WebIDL.py +@@ -3490,7 +3490,7 @@ class IDLBuiltinType(IDLType): + [self.location, attribute.location]) + assert not self.nullable() + if not attribute.hasValue(): +- raise WebIDLError("[TreatNullAs] must take an identifier argument" ++ raise WebIDLError("[TreatNullAs] must take an identifier argument", + [attribute.location]) + value = attribute.value() + if value != 'EmptyString': |