Implement worker origin member of WorkerLocation

This commit is contained in:
csmoe 2019-05-07 16:11:45 +08:00
parent 9d9fff3b0a
commit 05bef140bf
57 changed files with 157 additions and 445 deletions

View file

@ -6,7 +6,7 @@
[Exposed=Worker] [Exposed=Worker]
interface WorkerLocation { interface WorkerLocation {
/*stringifier*/ readonly attribute USVString href; /*stringifier*/ readonly attribute USVString href;
// readonly attribute USVString origin; readonly attribute USVString origin;
readonly attribute USVString protocol; readonly attribute USVString protocol;
readonly attribute USVString host; readonly attribute USVString host;
readonly attribute USVString hostname; readonly attribute USVString hostname;

View file

@ -10,7 +10,7 @@ use crate::dom::bindings::str::{DOMString, USVString};
use crate::dom::urlhelper::UrlHelper; use crate::dom::urlhelper::UrlHelper;
use crate::dom::workerglobalscope::WorkerGlobalScope; use crate::dom::workerglobalscope::WorkerGlobalScope;
use dom_struct::dom_struct; use dom_struct::dom_struct;
use servo_url::ServoUrl; use servo_url::{ImmutableOrigin, ServoUrl};
// https://html.spec.whatwg.org/multipage/#worker-locations // https://html.spec.whatwg.org/multipage/#worker-locations
#[dom_struct] #[dom_struct]
@ -34,6 +34,12 @@ impl WorkerLocation {
WorkerLocationBinding::Wrap, WorkerLocationBinding::Wrap,
) )
} }
// https://html.spec.whatwg.org/multipage/#dom-workerlocation-origin
#[allow(dead_code)]
pub fn origin(&self) -> ImmutableOrigin {
self.url.origin()
}
} }
impl WorkerLocationMethods for WorkerLocation { impl WorkerLocationMethods for WorkerLocation {
@ -57,6 +63,11 @@ impl WorkerLocationMethods for WorkerLocation {
UrlHelper::Href(&self.url) UrlHelper::Href(&self.url)
} }
// https://html.spec.whatwg.org/multipage/#dom-workerlocation-origin
fn Origin(&self) -> USVString {
UrlHelper::Origin(&self.url)
}
// https://html.spec.whatwg.org/multipage/#dom-workerlocation-pathname // https://html.spec.whatwg.org/multipage/#dom-workerlocation-pathname
fn Pathname(&self) -> USVString { fn Pathname(&self) -> USVString {
UrlHelper::Pathname(&self.url) UrlHelper::Pathname(&self.url)

View file

@ -2,15 +2,9 @@
[Generated Blob URLs are unique] [Generated Blob URLs are unique]
expected: FAIL expected: FAIL
[Origin of Blob URL matches our origin]
expected: FAIL
[Blob URL parses correctly] [Blob URL parses correctly]
expected: FAIL expected: FAIL
[Origin of Blob URL matches our origin for Files]
expected: FAIL
[url-format.any.html] [url-format.any.html]
[Generated Blob URLs are unique] [Generated Blob URLs are unique]

View file

@ -14,6 +14,9 @@
[Revoke blob URL after creating Request, will fetch] [Revoke blob URL after creating Request, will fetch]
expected: FAIL expected: FAIL
[Revoke blob URL after calling fetch, fetch should succeed]
expected: FAIL
[url-with-fetch.any.html] [url-with-fetch.any.html]
[Untitled] [Untitled]

View file

@ -1,2 +0,0 @@
[floats-in-table-caption-001.html]
expected: FAIL

View file

@ -1,2 +1,2 @@
[abspos-float-with-inline-container.html] [abspos-float-with-inline-container.html]
expected: FAIL expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[white-space-002.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[white-space-003.xht]
expected: FAIL

View file

@ -0,0 +1,2 @@
[line-height-204.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[mix-blend-mode-paragraph.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[background-repeat-round-roundup.xht]
expected: FAIL

View file

@ -299,9 +299,6 @@
[Matching font-stretch: '110%' should prefer '105%' over '100%'] [Matching font-stretch: '110%' should prefer '105%' over '100%']
expected: FAIL expected: FAIL
[Matching font-style: 'oblique 0deg' should prefer 'oblique 30deg 60deg' over 'oblique 40deg 50deg']
expected: FAIL
[Matching font-weight: '400' should prefer '351 398' over '501 550'] [Matching font-weight: '400' should prefer '351 398' over '501 550']
expected: FAIL expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-normal-018.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[line-break-strict-018.xht]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-full-size-kana-001.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-full-size-kana-002.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-full-size-kana-003.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[text-transform-full-size-kana-004.html]
expected: FAIL

View file

@ -1,2 +0,0 @@
[trailing-ideographic-space-004.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[word-break-break-all-007.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[word-break-keep-all-006.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[css-transforms-3d-on-anonymous-block-001.html]
expected: FAIL

View file

@ -74,6 +74,3 @@
[opacity end] [opacity end]
expected: FAIL expected: FAIL
[border-bottom-width end]
expected: FAIL

View file

@ -1,26 +1,13 @@
[HTMLMediaElement.html] [HTMLMediaElement.html]
expected: CRASH
[controls on HTMLMediaElement in video must enqueue an attributeChanged reaction when replacing an existing attribute] [controls on HTMLMediaElement in video must enqueue an attributeChanged reaction when replacing an existing attribute]
expected: FAIL expected: FAIL
[crossOrigin on HTMLMediaElement in video must enqueue an attributeChanged reaction when replacing an existing attribute]
expected: FAIL
[controls on HTMLMediaElement in video must enqueue an attributeChanged reaction when adding a new attribute] [controls on HTMLMediaElement in video must enqueue an attributeChanged reaction when adding a new attribute]
expected: FAIL expected: FAIL
[crossOrigin on HTMLMediaElement in audio must enqueue an attributeChanged reaction when adding a new attribute]
expected: FAIL
[crossOrigin on HTMLMediaElement in video must enqueue an attributeChanged reaction when adding a new attribute]
expected: FAIL
[controls on HTMLMediaElement in audio must enqueue an attributeChanged reaction when replacing an existing attribute] [controls on HTMLMediaElement in audio must enqueue an attributeChanged reaction when replacing an existing attribute]
expected: FAIL expected: FAIL
[crossOrigin on HTMLMediaElement in audio must enqueue an attributeChanged reaction when replacing an existing attribute]
expected: FAIL
[controls on HTMLMediaElement in audio must enqueue an attributeChanged reaction when adding a new attribute] [controls on HTMLMediaElement in audio must enqueue an attributeChanged reaction when adding a new attribute]
expected: FAIL expected: FAIL

View file

@ -24,15 +24,9 @@
[request-headers.any.worker.html] [request-headers.any.worker.html]
type: testharness type: testharness
[Fetch with PUT without body]
expected: FAIL
[Fetch with PUT with body] [Fetch with PUT with body]
expected: FAIL expected: FAIL
[Fetch with POST without body]
expected: FAIL
[Fetch with POST with text body] [Fetch with POST with text body]
expected: FAIL expected: FAIL
@ -42,27 +36,6 @@
[Fetch with POST with URLSearchParams body] [Fetch with POST with URLSearchParams body]
expected: FAIL expected: FAIL
[Fetch with POST with Blob body]
expected: FAIL
[Fetch with POST with ArrayBuffer body]
expected: FAIL
[Fetch with POST with Uint8Array body]
expected: FAIL
[Fetch with POST with Int8Array body]
expected: FAIL
[Fetch with POST with Float32Array body]
expected: FAIL
[Fetch with POST with Float64Array body]
expected: FAIL
[Fetch with POST with DataView body]
expected: FAIL
[Fetch with POST with Blob body with mime type] [Fetch with POST with Blob body with mime type]
expected: FAIL expected: FAIL
@ -72,18 +45,3 @@
[Fetch with Chicken with body] [Fetch with Chicken with body]
expected: FAIL expected: FAIL
[Fetch with POST and mode "same-origin" needs an Origin header]
expected: FAIL
[Fetch with POST and mode "no-cors" needs an Origin header]
expected: FAIL
[Fetch with PUT and mode "same-origin" needs an Origin header]
expected: FAIL
[Fetch with TacO and mode "same-origin" needs an Origin header]
expected: FAIL
[Fetch with TacO and mode "cors" needs an Origin header]
expected: FAIL

View file

@ -4,18 +4,6 @@
[cors-cookies-redirect] [cors-cookies-redirect]
expected: FAIL expected: FAIL
[Set cookies]
expected: FAIL
[Testing credentials after cross-origin redirection with CORS and no preflight]
expected: FAIL
[Testing credentials after cross-origin redirection with CORS and preflight]
expected: FAIL
[Clean cookies]
expected: FAIL
[Testing credentials after cross-origin redirection with CORS and no preflight]
expected: FAIL
[Testing credentials after cross-origin redirection with CORS and preflight]
expected: FAIL
[cors-cookies-redirect.any.html] [cors-cookies-redirect.any.html]

View file

@ -9,30 +9,15 @@
[cors-cookies.any.worker.html] [cors-cookies.any.worker.html]
type: testharness type: testharness
[Include mode: 1 cookie]
expected: FAIL
[Include mode: local cookies are not sent with remote request] [Include mode: local cookies are not sent with remote request]
expected: FAIL expected: FAIL
[Include mode: remote cookies are not sent with local request] [Include mode: remote cookies are not sent with local request]
expected: FAIL expected: FAIL
[Same-origin mode: cookies are discarded in cors request]
expected: FAIL
[Include mode: 1 cookie]
expected: FAIL
[Include mode: remote cookies are not sent with local request] [Include mode: remote cookies are not sent with local request]
expected: FAIL expected: FAIL
[Same-origin mode: cookies are discarded in cors request]
expected: FAIL
[Include mode: remote cookies are not sent with other remote request]
expected: FAIL
[Include mode: local cookies are not sent with remote request] [Include mode: local cookies are not sent with remote request]
expected: FAIL expected: FAIL

View file

@ -10,9 +10,6 @@
[Basic Access-Control-Expose-Headers: * support] [Basic Access-Control-Expose-Headers: * support]
expected: FAIL expected: FAIL
[* for credentialed fetches only matches literally]
expected: FAIL
[* can be one of several values] [* can be one of several values]
expected: FAIL expected: FAIL

View file

@ -12,15 +12,9 @@
[cors-preflight-star.any.worker.html] [cors-preflight-star.any.worker.html]
type: testharness type: testharness
[CORS that succeeds with credentials: false; method: SUPER (allowed: *); header: X-Test,1 (allowed: x-test)]
expected: FAIL
[CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *)] [CORS that succeeds with credentials: false; method: OK (allowed: *); header: X-Test,1 (allowed: *)]
expected: FAIL expected: FAIL
[CORS that succeeds with credentials: false; method: GET (allowed: get); header: X-Test,1 (allowed: x-test)]
expected: FAIL
[CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *)] [CORS that succeeds with credentials: true; method: PUT (allowed: PUT); header: (allowed: *)]
expected: FAIL expected: FAIL

View file

@ -1,35 +1,5 @@
[cors-redirect.any.worker.html] [cors-redirect.any.worker.html]
type: testharness type: testharness
[Redirect 301: cors to same cors]
expected: FAIL
[Redirect 301: same origin to cors]
expected: FAIL
[Redirect 302: cors to same cors]
expected: FAIL
[Redirect 302: same origin to cors]
expected: FAIL
[Redirect 303: cors to same cors]
expected: FAIL
[Redirect 303: same origin to cors]
expected: FAIL
[Redirect 307: cors to same cors]
expected: FAIL
[Redirect 307: same origin to cors]
expected: FAIL
[Redirect 308: cors to same cors]
expected: FAIL
[Redirect 308: same origin to cors]
expected: FAIL
[cors-redirect] [cors-redirect]
expected: FAIL expected: FAIL

View file

@ -312,21 +312,12 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk] [<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain] [<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain] [<iframe>: separate response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html] [<iframe>: combined response Content-Type: text/plain;charset=gbk text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: separate response Content-Type: */* text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL expected: FAIL

View file

@ -11,3 +11,6 @@
[X-Content-Type-Options%3A%20nosniff%0C] [X-Content-Type-Options%3A%20nosniff%0C]
expected: FAIL expected: FAIL
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

@ -1,24 +1,5 @@
[open-features-negative-innerwidth-innerheight.html] [open-features-negative-innerwidth-innerheight.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: negative values for legacy `innerwidth`, `innerheight`] [HTML: window.open `features`: negative values for legacy `innerwidth`, `innerheight`]
expected: FAIL expected: FAIL
[features "innerheight=-404.5" should NOT set "height=404"]
expected: TIMEOUT
[features "innerwidth=-404.5" should NOT set "width=404"]
expected: TIMEOUT
[features "innerwidth=-404" should NOT set "width=404"]
expected: TIMEOUT
[features "innerheight=-404e1" should NOT set "height=404"]
expected: TIMEOUT
[features "innerheight=-404" should NOT set "height=404"]
expected: TIMEOUT
[features "innerwidth=-404e1" should NOT set "width=404"]
expected: TIMEOUT

View file

@ -1,24 +1,5 @@
[open-features-negative-screenx-screeny.html] [open-features-negative-screenx-screeny.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: negative values for legacy `screenx`, `screeny`] [HTML: window.open `features`: negative values for legacy `screenx`, `screeny`]
expected: FAIL expected: FAIL
[features "screenx=-204" should NOT set "left=204"]
expected: TIMEOUT
[features "screeny=-204" should NOT set "top=204"]
expected: TIMEOUT
[features "screeny=-204.5" should NOT set "top=204"]
expected: TIMEOUT
[features "screeny=-0" should NOT set "top=204"]
expected: TIMEOUT
[features "screenx=-0" should NOT set "left=204"]
expected: TIMEOUT
[features "screenx=-204.5" should NOT set "left=204"]
expected: TIMEOUT

View file

@ -1,24 +1,5 @@
[open-features-negative-top-left.html] [open-features-negative-top-left.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: negative values for `top`, `left`] [HTML: window.open `features`: negative values for `top`, `left`]
expected: FAIL expected: FAIL
[features "top=-204" should NOT set "top=204"]
expected: TIMEOUT
[features "top=-204.5" should NOT set "top=204"]
expected: TIMEOUT
[features "left=-204" should NOT set "left=204"]
expected: TIMEOUT
[features "top=-0" should NOT set "top=204"]
expected: TIMEOUT
[features "left=-204.5" should NOT set "left=204"]
expected: TIMEOUT
[features "left=-0" should NOT set "left=204"]
expected: TIMEOUT

View file

@ -1,24 +1,5 @@
[open-features-negative-width-height.html] [open-features-negative-width-height.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: negative values for `width`, `height`] [HTML: window.open `features`: negative values for `width`, `height`]
expected: FAIL expected: FAIL
[features "height=-404" should NOT set "height=404"]
expected: TIMEOUT
[features "height=-404e1" should NOT set "height=404"]
expected: TIMEOUT
[features "height=-404.5" should NOT set "height=404"]
expected: TIMEOUT
[features "width=-404" should NOT set "width=404"]
expected: TIMEOUT
[features "width=-404e1" should NOT set "width=404"]
expected: TIMEOUT
[features "width=-404.5" should NOT set "width=404"]
expected: TIMEOUT

View file

@ -1,48 +1,32 @@
[open-features-non-integer-height.html] [open-features-non-integer-height.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: non-integer values for feature `height`] [HTML: window.open `features`: non-integer values for feature `height`]
expected: FAIL expected: FAIL
[features "height=405*3" should set "height=405"] [features "height=405*3" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=405.32" should set "height=405"] [features "height=405.32" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=405e1" should set "height=405"] [features "height=405e1" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=405/5" should set "height=405"] [features "height=405/5" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=405^4" should set "height=405"] [features "height=405^4" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=405.5" should set "height=405"] [features "height=405.5" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=405e-1" should set "height=405"] [features "height=405e-1" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=405 " should set "height=405"] [features "height=405 " should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=405LLl" should set "height=405"] [features "height=405LLl" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "height=/404" should NOT set "height=404"]
expected: TIMEOUT
[top=0,left=0,width=401,: absence of feature "height" should be treated same as "height=0"]
expected: TIMEOUT
[top=0,left=0: absence of feature "height" should be treated same as "height=0"]
expected: TIMEOUT
[features "height=_404" should NOT set "height=404"]
expected: TIMEOUT
[features "height=L404" should NOT set "height=404"]
expected: TIMEOUT

View file

@ -1,42 +1,32 @@
[open-features-non-integer-innerheight.html] [open-features-non-integer-innerheight.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: non-integer values for legacy feature `innerheight`] [HTML: window.open `features`: non-integer values for legacy feature `innerheight`]
expected: FAIL expected: FAIL
[features "innerheight=405e-1" should set "height=405"] [features "innerheight=405e-1" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=405LLl" should set "height=405"] [features "innerheight=405LLl" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=405^4" should set "height=405"] [features "innerheight=405^4" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=405e1" should set "height=405"] [features "innerheight=405e1" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=405 " should set "height=405"] [features "innerheight=405 " should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=405/5" should set "height=405"] [features "innerheight=405/5" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=405.32" should set "height=405"] [features "innerheight=405.32" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=405.5" should set "height=405"] [features "innerheight=405.5" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=405*3" should set "height=405"] [features "innerheight=405*3" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "innerheight=_404" should NOT set "height=404"]
expected: TIMEOUT
[features "innerheight=L404" should NOT set "height=404"]
expected: TIMEOUT
[features "innerheight=/404" should NOT set "height=404"]
expected: TIMEOUT

View file

@ -1,42 +1,32 @@
[open-features-non-integer-innerwidth.html] [open-features-non-integer-innerwidth.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: non-integer values for legacy feature `innerwidth`] [HTML: window.open `features`: non-integer values for legacy feature `innerwidth`]
expected: FAIL expected: FAIL
[features "innerwidth=405e-1" should set "width=405"] [features "innerwidth=405e-1" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=405*3" should set "width=405"] [features "innerwidth=405*3" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=405.5" should set "width=405"] [features "innerwidth=405.5" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=405e1" should set "width=405"] [features "innerwidth=405e1" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=405.32" should set "width=405"] [features "innerwidth=405.32" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=405 " should set "width=405"] [features "innerwidth=405 " should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=405LLl" should set "width=405"] [features "innerwidth=405LLl" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=405/5" should set "width=405"] [features "innerwidth=405/5" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=405^4" should set "width=405"] [features "innerwidth=405^4" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "innerwidth=/404" should NOT set "width=404"]
expected: TIMEOUT
[features "innerwidth=_404" should NOT set "width=404"]
expected: TIMEOUT
[features "innerwidth=L404" should NOT set "width=404"]
expected: TIMEOUT

View file

@ -1,42 +1,32 @@
[open-features-non-integer-left.html] [open-features-non-integer-left.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: non-integer values for feature `left`] [HTML: window.open `features`: non-integer values for feature `left`]
expected: FAIL expected: FAIL
[features "left=105e1" should set "left=105"] [features "left=105e1" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=105 " should set "left=105"] [features "left=105 " should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=105/5" should set "left=105"] [features "left=105/5" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=105e-1" should set "left=105"] [features "left=105e-1" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=105^4" should set "left=105"] [features "left=105^4" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=105LLl" should set "left=105"] [features "left=105LLl" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=105.32" should set "left=105"] [features "left=105.32" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=105*3" should set "left=105"] [features "left=105*3" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=105.5" should set "left=105"] [features "left=105.5" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "left=L104" should NOT set "left=104"]
expected: TIMEOUT
[features "left=/104" should NOT set "left=104"]
expected: TIMEOUT
[features "left=_104" should NOT set "left=104"]
expected: TIMEOUT

View file

@ -1,42 +1,32 @@
[open-features-non-integer-screenx.html] [open-features-non-integer-screenx.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: non-integer values for legacy feature `screenx`] [HTML: window.open `features`: non-integer values for legacy feature `screenx`]
expected: FAIL expected: FAIL
[features "screenx=105.5" should set "left=105"] [features "screenx=105.5" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=105e1" should set "left=105"] [features "screenx=105e1" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=105 " should set "left=105"] [features "screenx=105 " should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=105*3" should set "left=105"] [features "screenx=105*3" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=105e-1" should set "left=105"] [features "screenx=105e-1" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=105^4" should set "left=105"] [features "screenx=105^4" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=105LLl" should set "left=105"] [features "screenx=105LLl" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=105/5" should set "left=105"] [features "screenx=105/5" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=105.32" should set "left=105"] [features "screenx=105.32" should set "left=105"]
expected: TIMEOUT expected: FAIL
[features "screenx=_104" should NOT set "left=104"]
expected: TIMEOUT
[features "screenx=L104" should NOT set "left=104"]
expected: TIMEOUT
[features "screenx=/104" should NOT set "left=104"]
expected: TIMEOUT

View file

@ -1,42 +1,32 @@
[open-features-non-integer-screeny.html] [open-features-non-integer-screeny.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: non-integer values for legacy feature `screeny`] [HTML: window.open `features`: non-integer values for legacy feature `screeny`]
expected: FAIL expected: FAIL
[features "screeny=405^4" should set "height=405"] [features "screeny=405^4" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=405e-1" should set "height=405"] [features "screeny=405e-1" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=405LLl" should set "height=405"] [features "screeny=405LLl" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=405e1" should set "height=405"] [features "screeny=405e1" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=405 " should set "height=405"] [features "screeny=405 " should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=405/5" should set "height=405"] [features "screeny=405/5" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=405*3" should set "height=405"] [features "screeny=405*3" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=405.32" should set "height=405"] [features "screeny=405.32" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=405.5" should set "height=405"] [features "screeny=405.5" should set "height=405"]
expected: TIMEOUT expected: FAIL
[features "screeny=_404" should NOT set "height=404"]
expected: TIMEOUT
[features "screeny=L404" should NOT set "height=404"]
expected: TIMEOUT
[features "screeny=/404" should NOT set "height=404"]
expected: TIMEOUT

View file

@ -1,42 +1,32 @@
[open-features-non-integer-top.html] [open-features-non-integer-top.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: non-integer values for feature `top`] [HTML: window.open `features`: non-integer values for feature `top`]
expected: FAIL expected: FAIL
[features "top=105/5" should set "top=105"] [features "top=105/5" should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=105*3" should set "top=105"] [features "top=105*3" should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=105LLl" should set "top=105"] [features "top=105LLl" should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=105e-1" should set "top=105"] [features "top=105e-1" should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=105.32" should set "top=105"] [features "top=105.32" should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=105e1" should set "top=105"] [features "top=105e1" should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=105 " should set "top=105"] [features "top=105 " should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=105^4" should set "top=105"] [features "top=105^4" should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=105.5" should set "top=105"] [features "top=105.5" should set "top=105"]
expected: TIMEOUT expected: FAIL
[features "top=/104" should NOT set "top=104"]
expected: TIMEOUT
[features "top=_104" should NOT set "top=104"]
expected: TIMEOUT
[features "top=L104" should NOT set "top=104"]
expected: TIMEOUT

View file

@ -1,48 +1,32 @@
[open-features-non-integer-width.html] [open-features-non-integer-width.html]
type: testharness type: testharness
expected: TIMEOUT
[HTML: window.open `features`: non-integer values for feature `width`] [HTML: window.open `features`: non-integer values for feature `width`]
expected: FAIL expected: FAIL
[features "width=405^4" should set "width=405"] [features "width=405^4" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "width=405.5" should set "width=405"] [features "width=405.5" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "width=405e1" should set "width=405"] [features "width=405e1" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "width=405 " should set "width=405"] [features "width=405 " should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "width=405.32" should set "width=405"] [features "width=405.32" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "width=405LLl" should set "width=405"] [features "width=405LLl" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "width=405*3" should set "width=405"] [features "width=405*3" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "width=405e-1" should set "width=405"] [features "width=405e-1" should set "width=405"]
expected: TIMEOUT expected: FAIL
[features "width=405/5" should set "width=405"] [features "width=405/5" should set "width=405"]
expected: TIMEOUT expected: FAIL
[top=0,left=0: absence of feature "width" should be treated same as "width=0"]
expected: TIMEOUT
[features "width=_404" should NOT set "width=404"]
expected: TIMEOUT
[top=0,left=0,height=401,: absence of feature "width" should be treated same as "width=0"]
expected: TIMEOUT
[features "width=/404" should NOT set "width=404"]
expected: TIMEOUT
[features "width=L404" should NOT set "width=404"]
expected: TIMEOUT

View file

@ -243,9 +243,6 @@
[WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type (11)] [WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type (11)]
expected: FAIL expected: FAIL
[WorkerLocation interface: attribute origin]
expected: FAIL
[Test driver] [Test driver]
expected: FAIL expected: FAIL

View file

@ -0,0 +1,10 @@
[non-active-document.html]
[DOMParser]
expected: FAIL
[createHTMLDocument]
expected: FAIL
[<template>]
expected: FAIL

View file

@ -1,7 +0,0 @@
[toggleEvent.html]
[Calling open twice on 'details' fires only one toggle event]
expected: FAIL
[Setting open=true to opened 'details' element should not fire a toggle event at the 'details' element]
expected: FAIL

View file

@ -0,0 +1,5 @@
[promise-rejection-events-onerror.html]
expected: TIMEOUT
[Throwing inside an unhandledrejection handler invokes the error handler.]
expected: TIMEOUT

View file

@ -1,5 +1,4 @@
[promise-rejection-events.html] [promise-rejection-events.html]
expected: TIMEOUT
[delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire] [delayed handling: delaying handling rejected promise created from createImageBitmap will cause both events to fire]
expected: FAIL expected: FAIL
@ -9,6 +8,3 @@
[no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap] [no unhandledrejection/rejectionhandled: rejection handler attached synchronously to a promise created from createImageBitmap]
expected: FAIL expected: FAIL
[rejectionhandled is dispatched from a queued task, and not immediately]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[resource_timing_buffer_full_eventually.html]
expected: CRASH

View file

@ -1,11 +0,0 @@
[Create-on-worker-shutdown.any.html]
expected: TIMEOUT
[WebSocket created after a worker self.close()]
expected: TIMEOUT
[Create-on-worker-shutdown.any.worker.html]
expected: TIMEOUT
[WebSocket created after a worker self.close()]
expected: TIMEOUT

View file

@ -1,5 +0,0 @@
[WorkerLocation-origin.sub.window.html]
type: testharness
[workerLocation.origin must use ASCII code points]
expected: FAIL

View file

@ -1,8 +1,5 @@
[data-url.html] [data-url.html]
type: testharness type: testharness
[worker has opaque origin]
expected: FAIL
[indexedDB is present] [indexedDB is present]
expected: FAIL expected: FAIL

View file

@ -36,9 +36,6 @@
[WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type (8)] [WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type (8)]
expected: FAIL expected: FAIL
[WorkerLocation interface: attribute origin]
expected: FAIL
[WorkerLocation interface: self.location must inherit property "origin" with the proper type (1)] [WorkerLocation interface: self.location must inherit property "origin" with the proper type (1)]
expected: FAIL expected: FAIL
@ -144,43 +141,60 @@
[interfaces] [interfaces]
expected: FAIL expected: FAIL
[DedicatedWorkerGlobalScope interface: internal \[\[SetPrototypeOf\]\] method of interface prototype object - setting to a new value via __proto__ should throw a TypeError] [DedicatedWorkerGlobalScope interface: internal [[SetPrototypeOf\]\] method of interface prototype object - setting to a new value via __proto__ should throw a TypeError]
expected: FAIL expected: FAIL
[DedicatedWorkerGlobalScope interface: internal \[\[SetPrototypeOf\]\] method of interface prototype object - setting to a new value via Reflect.setPrototypeOf should return false]
[DedicatedWorkerGlobalScope interface: internal [[SetPrototypeOf\]\] method of interface prototype object - setting to a new value via Reflect.setPrototypeOf should return false]
expected: FAIL expected: FAIL
[DedicatedWorkerGlobalScope interface: attribute name] [DedicatedWorkerGlobalScope interface: attribute name]
expected: FAIL expected: FAIL
[DedicatedWorkerGlobalScope interface: attribute onmessageerror] [DedicatedWorkerGlobalScope interface: attribute onmessageerror]
expected: FAIL expected: FAIL
[DedicatedWorkerGlobalScope interface: self must inherit property "name" with the proper type] [DedicatedWorkerGlobalScope interface: self must inherit property "name" with the proper type]
expected: FAIL expected: FAIL
[DedicatedWorkerGlobalScope interface: self must inherit property "onmessageerror" with the proper type] [DedicatedWorkerGlobalScope interface: self must inherit property "onmessageerror" with the proper type]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onlanguagechange" with the proper type] [WorkerGlobalScope interface: self must inherit property "onlanguagechange" with the proper type]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onoffline" with the proper type] [WorkerGlobalScope interface: self must inherit property "onoffline" with the proper type]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: self must inherit property "ononline" with the proper type] [WorkerGlobalScope interface: self must inherit property "ononline" with the proper type]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onrejectionhandled" with the proper type] [WorkerGlobalScope interface: self must inherit property "onrejectionhandled" with the proper type]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: self must inherit property "onunhandledrejection" with the proper type] [WorkerGlobalScope interface: self must inherit property "onunhandledrejection" with the proper type]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: self must inherit property "createImageBitmap(ImageBitmapSource, ImageBitmapOptions)" with the proper type] [WorkerGlobalScope interface: self must inherit property "createImageBitmap(ImageBitmapSource, ImageBitmapOptions)" with the proper type]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: calling createImageBitmap(ImageBitmapSource, ImageBitmapOptions) on self with too few arguments must throw TypeError] [WorkerGlobalScope interface: calling createImageBitmap(ImageBitmapSource, ImageBitmapOptions) on self with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: self must inherit property "createImageBitmap(ImageBitmapSource, long, long, long, long, ImageBitmapOptions)" with the proper type] [WorkerGlobalScope interface: self must inherit property "createImageBitmap(ImageBitmapSource, long, long, long, long, ImageBitmapOptions)" with the proper type]
expected: FAIL expected: FAIL
[WorkerGlobalScope interface: calling createImageBitmap(ImageBitmapSource, long, long, long, long, ImageBitmapOptions) on self with too few arguments must throw TypeError] [WorkerGlobalScope interface: calling createImageBitmap(ImageBitmapSource, long, long, long, long, ImageBitmapOptions) on self with too few arguments must throw TypeError]
expected: FAIL expected: FAIL
[WorkerNavigator interface: attribute hardwareConcurrency] [WorkerNavigator interface: attribute hardwareConcurrency]
expected: FAIL expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "languages" with the proper type] [WorkerNavigator interface: self.navigator must inherit property "languages" with the proper type]
expected: FAIL expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type] [WorkerNavigator interface: self.navigator must inherit property "onLine" with the proper type]
expected: FAIL expected: FAIL
[WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type] [WorkerNavigator interface: self.navigator must inherit property "hardwareConcurrency" with the proper type]
expected: FAIL expected: FAIL
[WorkerLocation interface: self.location must inherit property "origin" with the proper type]
expected: FAIL

View file

@ -1,6 +1,5 @@
[003.html] [003.html]
type: testharness type: testharness
expected: ERROR
[shared] [shared]
expected: FAIL expected: FAIL

View file

@ -0,0 +1,2 @@
[transition_calc_implicit.html]
expected: TIMEOUT

View file

@ -0,0 +1,6 @@
[task_queue_throttling.any.worker.html]
[Throttling the performance timeline task queue.]
expected: FAIL
[task_queue_throttling.any.html]