diff options
author | sreeise <reeisesean@gmail.com> | 2019-05-28 03:23:47 -0400 |
---|---|---|
committer | sreeise <reeisesean@gmail.com> | 2019-07-14 09:24:43 -0400 |
commit | 871239a3e302d4aefdbbad1b0141511dcd66afc4 (patch) | |
tree | 7c5907d5d1bef787d91c3bc469cb31436e20babc /components/script/dom/testbinding.rs | |
parent | 2b843483722de683c1277f803a9a45dd6afa09cf (diff) | |
download | servo-871239a3e302d4aefdbbad1b0141511dcd66afc4.tar.gz servo-871239a3e302d4aefdbbad1b0141511dcd66afc4.zip |
Change bindings generation to make Exposed annotation aware of members/partial interfaces
Diffstat (limited to 'components/script/dom/testbinding.rs')
-rw-r--r-- | components/script/dom/testbinding.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/components/script/dom/testbinding.rs b/components/script/dom/testbinding.rs index 67622303be8..87280aa46e2 100644 --- a/components/script/dom/testbinding.rs +++ b/components/script/dom/testbinding.rs @@ -1087,6 +1087,18 @@ impl TestBindingMethods for TestBinding { fn IncumbentGlobal(&self) -> DomRoot<GlobalScope> { GlobalScope::incumbent().unwrap() } + + fn SemiExposedBoolFromInterface(&self) -> bool { + true + } + + fn BoolFromSemiExposedPartialInterface(&self) -> bool { + true + } + + fn SemiExposedBoolFromPartialInterface(&self) -> bool { + true + } } impl TestBinding { |