mirror of
https://github.com/servo/servo.git
synced 2025-09-20 20:00:13 +01:00
Expose Location only in Window
This commit is contained in:
parent
03d79185ff
commit
a5acf50b58
3 changed files with 1 additions and 7 deletions
|
@ -3,7 +3,7 @@
|
||||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||||
|
|
||||||
// https://html.spec.whatwg.org/multipage/#location
|
// https://html.spec.whatwg.org/multipage/#location
|
||||||
[Exposed=(Window,Worker), Unforgeable] interface Location {
|
[Exposed=Window, Unforgeable] interface Location {
|
||||||
/*stringifier*/ attribute USVString href;
|
/*stringifier*/ attribute USVString href;
|
||||||
readonly attribute USVString origin;
|
readonly attribute USVString origin;
|
||||||
attribute USVString protocol;
|
attribute USVString protocol;
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[002.worker.html]
|
|
||||||
type: testharness
|
|
||||||
[The Location interface object should not be exposed.]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -32,7 +32,6 @@ test_interfaces([
|
||||||
"Headers",
|
"Headers",
|
||||||
"History",
|
"History",
|
||||||
"ImageData",
|
"ImageData",
|
||||||
"Location",
|
|
||||||
"MediaError",
|
"MediaError",
|
||||||
"MessageEvent",
|
"MessageEvent",
|
||||||
"MimeType",
|
"MimeType",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue