From dc1d69b5471f608bde0b649780aea8006d31223a Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 25 Sep 2013 16:07:08 -0400 Subject: [PATCH] Bug 919603 followup. Make sure EventTarget has a [Global] descendant, so it actually works right. r=peterv pending, because CLOSED TREE --- dom/webidl/DummyBinding.webidl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom/webidl/DummyBinding.webidl b/dom/webidl/DummyBinding.webidl index 62dde6264f87..4ee74ac824dd 100644 --- a/dom/webidl/DummyBinding.webidl +++ b/dom/webidl/DummyBinding.webidl @@ -7,7 +7,8 @@ // Dummy bindings that we need to force generation of things that // aren't actually referenced anywhere in IDL yet but are used in C++. -interface DummyInterface { +[Global] +interface DummyInterface : EventTarget { readonly attribute OnErrorEventHandlerNonNull onErrorEventHandler; FilePropertyBag fileBag(); InspectorRGBTriple rgbTriple();