diff options
author | sagudev <16504129+sagudev@users.noreply.github.com> | 2023-02-19 14:05:45 +0100 |
---|---|---|
committer | sagudev <16504129+sagudev@users.noreply.github.com> | 2023-02-19 14:05:45 +0100 |
commit | 55dac83d9a90fa074cbae74a9ea2711b272fffc2 (patch) | |
tree | 31ab2e304618cec405420b82712b6543d404826c /components/script/dom/webidls/Window.webidl | |
parent | 2acdeabaf59dc233e4a9e96c36c7bf0df574f0c6 (diff) | |
download | servo-55dac83d9a90fa074cbae74a9ea2711b272fffc2.tar.gz servo-55dac83d9a90fa074cbae74a9ea2711b272fffc2.zip |
Rename legacy extended attributes in webidls
https://github.com/whatwg/webidl/pull/870
Diffstat (limited to 'components/script/dom/webidls/Window.webidl')
-rw-r--r-- | components/script/dom/webidls/Window.webidl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/webidls/Window.webidl b/components/script/dom/webidls/Window.webidl index 23aaa8fa07d..64855d42860 100644 --- a/components/script/dom/webidls/Window.webidl +++ b/components/script/dom/webidls/Window.webidl @@ -6,13 +6,13 @@ [Global=Window, Exposed=Window /*, LegacyUnenumerableNamedProperties */] /*sealed*/ interface Window : GlobalScope { // the current browsing context - [Unforgeable, CrossOriginReadable] readonly attribute WindowProxy window; + [LegacyUnforgeable, CrossOriginReadable] readonly attribute WindowProxy window; [BinaryName="Self_", Replaceable, CrossOriginReadable] readonly attribute WindowProxy self; - [Unforgeable] readonly attribute Document document; + [LegacyUnforgeable] readonly attribute Document document; attribute DOMString name; - [PutForwards=href, Unforgeable, CrossOriginReadable, CrossOriginWritable] + [PutForwards=href, LegacyUnforgeable, CrossOriginReadable, CrossOriginWritable] readonly attribute Location location; readonly attribute History history; [Pref="dom.customelements.enabled"] @@ -35,7 +35,7 @@ [Replaceable, CrossOriginReadable] readonly attribute unsigned long length; // Note that this can return null in the case that the browsing context has been discarded. // https://github.com/whatwg/html/issues/2115 - [Unforgeable, CrossOriginReadable] readonly attribute WindowProxy? top; + [LegacyUnforgeable, CrossOriginReadable] readonly attribute WindowProxy? top; [CrossOriginReadable] attribute any opener; // Note that this can return null in the case that the browsing context has been discarded. // https://github.com/whatwg/html/issues/2115 |