Support [LegacyWindowAlias]

This commit is contained in:
Kagami Sascha Rosylight 2019-10-17 19:41:47 +09:00
parent 118a9ecdfe
commit e81b678645
9 changed files with 32 additions and 33 deletions

View file

@ -3,7 +3,8 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://url.spec.whatwg.org/#url
[Exposed=(Window,Worker)]
[Exposed=(Window,Worker),
LegacyWindowAlias=webkitURL]
interface URL {
[Throws] constructor(USVString url, optional USVString base);
[SetterThrows]