diff options
author | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2019-07-11 13:16:10 +0900 |
---|---|---|
committer | Kagami Sascha Rosylight <saschanaz@outlook.com> | 2019-07-12 12:14:06 +0900 |
commit | 56f31c85ef9cc79140f375641302310c6680ded4 (patch) | |
tree | fc0616a5f5d1df4434e9974e5bc62db2389ffcef /components/script/dom/bindings/codegen/parser/pref-main-thread.patch | |
parent | 5fdc7c0d2c787ef562809072e3dd7c3258dc8a83 (diff) | |
download | servo-56f31c85ef9cc79140f375641302310c6680ded4.tar.gz servo-56f31c85ef9cc79140f375641302310c6680ded4.zip |
Sync WebIDL.py with gecko
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/pref-main-thread.patch')
-rw-r--r-- | components/script/dom/bindings/codegen/parser/pref-main-thread.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/components/script/dom/bindings/codegen/parser/pref-main-thread.patch b/components/script/dom/bindings/codegen/parser/pref-main-thread.patch deleted file mode 100644 index a90d0593693..00000000000 --- a/components/script/dom/bindings/codegen/parser/pref-main-thread.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- WebIDL.py -+++ WebIDL.py -@@ -1362,12 +1362,6 @@ class IDLInterfaceOrNamespace(IDLObjectWithScope, IDLExposureMixins): - for bindingAlias in member.bindingAliases: - checkDuplicateNames(member, bindingAlias, "BindingAlias") - -- -- if self.getExtendedAttribute("Pref") and self.isExposedOffMainThread(): -- raise WebIDLError("[Pref] used on an interface that is not " -- "main-thread-only", -- [self.location]) -- - # Conditional exposure makes no sense for interfaces with no - # interface object, unless they're navigator properties. - # And SecureContext makes sense for interfaces with no interface object, -@@ -3619,11 +3613,6 @@ class IDLInterfaceMember(IDLObjectWithIdentifier, IDLExposureMixins): - IDLExposureMixins.finish(self, scope) - - def validate(self): -- if self.getExtendedAttribute("Pref") and self.isExposedOffMainThread(): -- raise WebIDLError("[Pref] used on an interface member that is not " -- "main-thread-only", -- [self.location]) -- - if self.isAttr() or self.isMethod(): - if self.affects == "Everything" and self.dependsOn != "Everything": - raise WebIDLError("Interface member is flagged as affecting " |