diff options
Diffstat (limited to 'third_party/WebIDL')
-rw-r--r-- | third_party/WebIDL/WebIDL.py | 1 | ||||
-rw-r--r-- | third_party/WebIDL/transferable.patch | 12 | ||||
-rwxr-xr-x | third_party/WebIDL/update.sh | 1 |
3 files changed, 14 insertions, 0 deletions
diff --git a/third_party/WebIDL/WebIDL.py b/third_party/WebIDL/WebIDL.py index 40e118e3781..bad5cbe54ca 100644 --- a/third_party/WebIDL/WebIDL.py +++ b/third_party/WebIDL/WebIDL.py @@ -2106,6 +2106,7 @@ class IDLInterface(IDLInterfaceOrNamespace): or identifier == "Serializable" or identifier == "Abstract" or identifier == "Inline" + or identifier == "Transferable" ): # Known extended attributes that do not take values if not attr.noArguments(): diff --git a/third_party/WebIDL/transferable.patch b/third_party/WebIDL/transferable.patch new file mode 100644 index 00000000000..9ea1ffa3427 --- /dev/null +++ b/third_party/WebIDL/transferable.patch @@ -0,0 +1,12 @@ +diff --git a/third_party/WebIDL/WebIDL.py b/third_party/WebIDL/WebIDL.py +index 40e118e3781..bad5cbe54ca 100644 +--- a/third_party/WebIDL/WebIDL.py ++++ b/third_party/WebIDL/WebIDL.py +@@ -2106,6 +2106,7 @@ class IDLInterface(IDLInterfaceOrNamespace): + or identifier == "Serializable" + or identifier == "Abstract" + or identifier == "Inline" ++ or identifier == "Transferable" + ): + # Known extended attributes that do not take values + if not attr.noArguments(): diff --git a/third_party/WebIDL/update.sh b/third_party/WebIDL/update.sh index 949644405d2..794331dc9bf 100755 --- a/third_party/WebIDL/update.sh +++ b/third_party/WebIDL/update.sh @@ -7,6 +7,7 @@ patch < inline.patch patch < like-as-iterable.patch patch < builtin-array.patch patch < array-type.patch +patch < transferable.patch wget https://hg.mozilla.org/mozilla-central/archive/tip.zip/dom/bindings/parser/tests/ -O tests.zip rm -r tests |