mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update wpt-tests metadata
This commit is contained in:
parent
4c637e0601
commit
9b0b03a432
16 changed files with 62 additions and 60 deletions
|
@ -60,7 +60,6 @@ impl Blob {
|
||||||
blobParts: Option<Vec<ArrayBufferOrArrayBufferViewOrBlobOrString>>,
|
blobParts: Option<Vec<ArrayBufferOrArrayBufferViewOrBlobOrString>>,
|
||||||
blobPropertyBag: &BlobBinding::BlobPropertyBag,
|
blobPropertyBag: &BlobBinding::BlobPropertyBag,
|
||||||
) -> Fallible<DomRoot<Blob>> {
|
) -> Fallible<DomRoot<Blob>> {
|
||||||
// TODO: accept other blobParts types - ArrayBuffer or ArrayBufferView
|
|
||||||
let bytes: Vec<u8> = match blobParts {
|
let bytes: Vec<u8> = match blobParts {
|
||||||
None => Vec::new(),
|
None => Vec::new(),
|
||||||
Some(blobparts) => match blob_parts_to_bytes(blobparts) {
|
Some(blobparts) => match blob_parts_to_bytes(blobparts) {
|
||||||
|
|
|
@ -586,7 +586,6 @@ impl Document {
|
||||||
if document_url.as_str() == "about:srcdoc" && container_base_url.is_some() {
|
if document_url.as_str() == "about:srcdoc" && container_base_url.is_some() {
|
||||||
return container_base_url.unwrap();
|
return container_base_url.unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 2: If document's URL is about:blank, and document's browsing
|
// Step 2: If document's URL is about:blank, and document's browsing
|
||||||
// context's creator base URL is non-null, then return that creator base URL.
|
// context's creator base URL is non-null, then return that creator base URL.
|
||||||
if document_url.as_str() == "about:blank" && browsing_context.has_creator_base_url() {
|
if document_url.as_str() == "about:blank" && browsing_context.has_creator_base_url() {
|
||||||
|
|
|
@ -155,7 +155,7 @@ impl URL {
|
||||||
result.push('/');
|
result.push('/');
|
||||||
|
|
||||||
// Step 5
|
// Step 5
|
||||||
result.push_str(&id.to_simple().to_string());
|
result.push_str(&id.to_string());
|
||||||
|
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,43 @@
|
||||||
[sandboxed-iframe.html]
|
[sandboxed-iframe.html]
|
||||||
expected: TIMEOUT
|
expected: TIMEOUT
|
||||||
|
[Blob URLs can be used in <script> tags]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Blob URLs can be used in iframes, and are treated same origin]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Blob URL fragment is implemented.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Blob URLs can be used in XHR]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XHR with a fragment should succeed]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Only exact matches should revoke URLs, using XHR]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Revoke blob URL after open(), will fetch]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Blob URLs can be used in fetch]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[fetch with a fragment should succeed]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Only exact matches should revoke URLs, using fetch]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[fetch should return Content-Type from Blob]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Revoke blob URL after creating Request, will fetch]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Revoke blob URL after calling fetch, fetch should succeed]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[XHR should return Content-Type from Blob]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -2,14 +2,7 @@
|
||||||
[Generated Blob URLs are unique]
|
[Generated Blob URLs are unique]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Blob URL parses correctly]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
||||||
[url-format.any.html]
|
[url-format.any.html]
|
||||||
[Generated Blob URLs are unique]
|
[Generated Blob URLs are unique]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Blob URL parses correctly]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[viewport-units-after-font-load.html]
|
|
||||||
expected: TIMEOUT
|
|
||||||
[Viewport units are correctly updated after resize even if a font load has happened before]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
|
@ -18,39 +18,11 @@
|
||||||
[Fetch: /images/green-1x1.png?<\\t=block]
|
[Fetch: /images/green-1x1.png?<\\t=block]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<img id="dangling" src="/images/green-1x1.png?img=<b">]
|
[<img id="dangling" src="/images/green-1x1.png?img= <b">]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<img id="dangling" src="/images/green-1x1.png?img= b">]
|
[<img id="dangling" src="/images/green-1x1.png?img=< b">]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<img id="dangling" src="/images/green-1x1.png?img=&#10;b">]
|
[\\n <img id="dangling" src="/images/green-1x1.png?img=\\n <\\n b\\n ">\\n ]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[<img id="dangling" src="/images/green-1x1.png?img=&lt;b">]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<img id="dangling" src="/images/green-1x1.png?img=&#10;b&lt;c">]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[\\n <img id="dangling" src="\\n /images/green-1x1.png?img=\\n ">\\n ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[\\n <img id="dangling" src="\\n /images/green-1x1.png?img=&lt;\\n ">\\n ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[\\n <img id="dangling" src="\\n /images/green-1x1.png?img=&#10;\\n ">\\n ]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<img id="dangling" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=">]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<img id="dangling" src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=">]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<img id="dangling" src="data:image/png;base64,i VBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=">]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[<img id="dangling" src="data:image/svg+xml;utf8,\\n <svg width='1' height='1' xmlns='http://www.w3.org/2000/svg'>\\n <rect width='100%' height='100%' fill='rebeccapurple'/>\\n <rect x='10%' y='10%' width='80%' height='80%' fill='lightgreen'/>\\n </svg>">]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
[base_srcdoc.html]
|
|
||||||
type: testharness
|
|
||||||
[base element in srcdoc document should resolve against its fallback base URI]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
[iframe_sandbox_anchor_download_allow_downloads.sub.tentative.html]
|
[iframe_sandbox_anchor_download_allow_downloads.sub.tentative.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[<a download> triggered download in sandbox is allowed by allow-downloads.]
|
[<a download> triggered download in sandbox is allowed by allow-downloads.]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
[<a download> triggered download in sandbox is blocked]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[iframe_sandbox_anchor_download_block_downloads.sub.tentative.html]
|
||||||
|
[<a download> triggered download in sandbox is blocked.]
|
||||||
|
expected: FAIL
|
|
@ -1,5 +1,6 @@
|
||||||
[iframe_sandbox_navigation_download_allow_downloads.sub.tentative.html]
|
[iframe_sandbox_navigation_download_allow_downloads.sub.tentative.html]
|
||||||
expected: TIMEOUT
|
|
||||||
[Navigation resulted download in sandbox is allowed by allow-downloads.]
|
[Navigation resulted download in sandbox is allowed by allow-downloads.]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
[Navigation resulted download in sandbox is blocked.]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
[iframe_sandbox_navigation_download_block_downloads.sub.tentative.html]
|
||||||
|
[Navigation resulted download in sandbox is blocked.]
|
||||||
|
expected: FAIL
|
|
@ -1,2 +1,4 @@
|
||||||
[move-element-and-scroll.html]
|
[move-element-and-scroll.html]
|
||||||
expected: ERROR
|
expected: ERROR
|
||||||
|
[Test that <img> below viewport is not loaded when moved to another document and then scrolled to]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
||||||
|
[sizes-dynamic-001-ref.html]
|
||||||
|
expected: FAIL
|
|
@ -0,0 +1,2 @@
|
||||||
|
[sizes-dynamic-001.html]
|
||||||
|
expected: FAIL
|
|
@ -1,9 +1,5 @@
|
||||||
[sandboxed-iframe-with-opaque-origin.html]
|
[sandboxed-iframe-with-opaque-origin.html]
|
||||||
type: testharness
|
type: testharness
|
||||||
expected: TIMEOUT
|
|
||||||
[Sandboxed iframe with opaque origin doesn't send referrers.]
|
|
||||||
expected: TIMEOUT
|
|
||||||
|
|
||||||
[Sandboxed iframe with tuple origin sends referrers.]
|
[Sandboxed iframe with tuple origin sends referrers.]
|
||||||
expected: TIMEOUT
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue