1. This tries to do the same checks that CGDOMJSProxyHandler does: https://searchfox.org/mozilla-central/rev/1865e9fba4166ab2aa6c9d539913115723d9cc53/dom/bindings/Codegen.py#16516-16520 2. All attributes in non-proxy-interface are removed, because I'm sure the list should change once we ever get the support on non-proxy ones. 3. The attribute on Document is moved back to HTMLDocument. It's technically fine to be in Document as HTMLDocument calls the Document function anyway, but allowing such case looked complex to me so I just decided to not care. Differential Revision: https://phabricator.services.mozilla.com/D190585
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
[LegacyOverrideBuiltIns,
|
|
Exposed=Window,
|
|
InstrumentedProps=(caretRangeFromPoint,
|
|
exitPictureInPicture,
|
|
featurePolicy,
|
|
onbeforecopy,
|
|
onbeforecut,
|
|
onbeforepaste,
|
|
oncancel,
|
|
onfreeze,
|
|
onmousewheel,
|
|
onresume,
|
|
onsearch,
|
|
onwebkitfullscreenchange,
|
|
onwebkitfullscreenerror,
|
|
pictureInPictureElement,
|
|
pictureInPictureEnabled,
|
|
registerElement,
|
|
wasDiscarded,
|
|
webkitCancelFullScreen,
|
|
webkitCurrentFullScreenElement,
|
|
webkitExitFullscreen,
|
|
webkitFullscreenElement,
|
|
webkitFullscreenEnabled,
|
|
webkitHidden,
|
|
webkitIsFullScreen,
|
|
webkitVisibilityState,
|
|
xmlEncoding,
|
|
xmlStandalone,
|
|
xmlVersion)]
|
|
interface HTMLDocument : Document {
|
|
// DOM tree accessors
|
|
[Throws]
|
|
getter object (DOMString name);
|
|
};
|