Rename legacy extended attributes in webidls

https://github.com/whatwg/webidl/pull/870
This commit is contained in:
sagudev 2023-02-19 14:05:45 +01:00
parent 2acdeabaf5
commit 55dac83d9a
51 changed files with 83 additions and 83 deletions

View file

@ -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