Skip to content

Commit

Permalink
Update web-platform-tests to revision 52ad8a87fb72bcf6950c20cced0d87f…
Browse files Browse the repository at this point in the history
…34e26dc81
  • Loading branch information
servo-wpt-sync committed Jan 5, 2020
1 parent afa1b85 commit db5824f
Show file tree
Hide file tree
Showing 123 changed files with 2,915 additions and 219 deletions.
877 changes: 849 additions & 28 deletions tests/wpt/metadata/MANIFEST.json

Large diffs are not rendered by default.

@@ -0,0 +1,2 @@
[image-orientation-default.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-from-image-composited-dynamic1.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-from-image-composited-dynamic2.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-from-image-composited.html]
expected: FAIL
@@ -0,0 +1,4 @@
[image-orientation-from-image-computed-style.html]
[image-orientation:from-image computed style reports correct values]
expected: FAIL

@@ -0,0 +1,2 @@
[image-orientation-from-image-content-images.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-from-image-dynamic1.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-from-image-dynamic2.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-from-image-image-document.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-from-image.html]
expected: FAIL
@@ -0,0 +1,4 @@
[image-orientation-none-computed-style.html]
[image-orientation:none computed style reports correct values]
expected: FAIL

@@ -0,0 +1,2 @@
[image-orientation-none-content-images.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-none-image-document.html]
expected: FAIL
@@ -0,0 +1,2 @@
[image-orientation-none.html]
expected: FAIL
Expand Up @@ -9,6 +9,3 @@
[throws if handleEvent is thruthy and not callable]
expected: NOTRUN

[looks up handleEvent method on every event dispatch]
expected: FAIL

This file was deleted.

This file was deleted.

@@ -0,0 +1,2 @@
[remove-from-shadow-host-and-adopt-into-iframe.html]
expected: TIMEOUT
38 changes: 25 additions & 13 deletions tests/wpt/metadata/fetch/content-type/response.window.js.ini
@@ -1,7 +1,7 @@
[response.window.html]
expected: TIMEOUT
[fetch(): combined response Content-Type: text/plain ]
expected: FAIL
expected: NOTRUN

[Response: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: NOTRUN
Expand Down Expand Up @@ -64,7 +64,7 @@
expected: NOTRUN

[fetch(): combined response Content-Type: text/html text/plain]
expected: FAIL
expected: NOTRUN

[Request: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: NOTRUN
Expand All @@ -76,13 +76,13 @@
expected: NOTRUN

[Response: combined response Content-Type: text/plain ]
expected: FAIL
expected: NOTRUN

[fetch(): combined response Content-Type: text/plain;charset=gbk text/plain]
expected: NOTRUN

[Request: combined response Content-Type: text/html text/plain]
expected: FAIL
expected: NOTRUN

[<iframe>: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: FAIL
Expand Down Expand Up @@ -115,7 +115,7 @@
expected: NOTRUN

[Response: combined response Content-Type: text/html text/plain]
expected: TIMEOUT
expected: NOTRUN

[<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain]
expected: FAIL
Expand All @@ -139,7 +139,7 @@
expected: FAIL

[Response: combined response Content-Type: text/plain]
expected: FAIL
expected: TIMEOUT

[<iframe>: combined response Content-Type: text/plain;charset=gbk text/plain;charset=windows-1252]
expected: FAIL
Expand Down Expand Up @@ -235,7 +235,7 @@
expected: FAIL

[Request: combined response Content-Type: text/plain ]
expected: FAIL
expected: NOTRUN

[Response: combined response Content-Type: text/html */*;charset=gbk]
expected: NOTRUN
Expand Down Expand Up @@ -271,7 +271,7 @@
expected: FAIL

[fetch(): separate response Content-Type: text/html text/plain]
expected: FAIL
expected: NOTRUN

[Request: combined response Content-Type: text/html;" text/plain]
expected: NOTRUN
Expand Down Expand Up @@ -309,18 +309,30 @@
[<iframe>: separate response Content-Type: */* text/html]
expected: FAIL

[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL

[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL

[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL

[<iframe>: separate response Content-Type: text/html */*]
[<iframe>: combined response Content-Type: text/html;x=" text/plain]
expected: FAIL

[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL

[<iframe>: combined response Content-Type: text/html;x=" text/plain]
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL

[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL

[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN

[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL

[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

@@ -0,0 +1,4 @@
[resources-with-0x00-in-header.window.html]
[Expect network error for frame navigation to resource with 0x00 in a header]
expected: FAIL

Expand Up @@ -5,14 +5,11 @@
expected: FAIL

[Embedded credentials are treated as network errors in frames.]
expected: TIMEOUT
expected: FAIL

[Embedded credentials are treated as network errors in new windows.]
expected: TIMEOUT

[Embedded credentials matching the top-level are treated as network errors for cross-origin URLs.]
expected: TIMEOUT

[Embedded credentials matching the top-level are not treated as network errors for relative URLs.]
expected: TIMEOUT
expected: FAIL

This file was deleted.

This file was deleted.

@@ -0,0 +1,4 @@
[cross-origin-due-to-document-domain-only.html]
[Cross-origin due to document.domain]
expected: FAIL

This file was deleted.

@@ -1,4 +1,8 @@
[skip-document-with-fragment.html]
expected: TIMEOUT
[Autofocus elements in iframed documents with URL fragments should be skipped.]
expected: FAIL

[Autofocus elements in top-level browsing context's documents with URI fragments should be skipped.]
expected: TIMEOUT
@@ -0,0 +1,2 @@
[link-type-attribute.html]
expected: FAIL
@@ -1,5 +1,6 @@
[iframe_sandbox_popups_nonescaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL
expected: NOTRUN

@@ -1,4 +1,5 @@
[crossorigin-sandwich-TAO.sub.html]
expected: ERROR
[There should be one entry.]
expected: FAIL

Expand Down
5 changes: 0 additions & 5 deletions tests/wpt/metadata/webmessaging/with-ports/018.html.ini

This file was deleted.

5 changes: 0 additions & 5 deletions tests/wpt/metadata/webmessaging/without-ports/017.html.ini

This file was deleted.

Expand Up @@ -143,7 +143,7 @@ For examples of spec JSON files, see [referrer-policy/spec.src.json](../../refer

* **`excluded_tests`**

List of ```test_expansion``` patterns expanding into selections which get skipped when generating the tests (aka. blacklisting/suppressing)
List of ```test_expansion``` patterns expanding into selections which get skipped when generating the tests (aka. blocklisting/suppressing)

* **`test_expansion_schema`**

Expand Down Expand Up @@ -188,9 +188,9 @@ A **selection** is a single **test instance** (scenario) with explicit values th

Taking the spec JSON, the generator follows this algorithm:

* Expand all ```excluded_tests``` to create a blacklist of selections
* Expand all ```excluded_tests``` to create a blocklist of selections

* For each specification requirement: Expand the ```test_expansion``` pattern into selections and check each against the blacklist, if not marked as suppresed, generate the test resources for the selection
* For each specification requirement: Expand the ```test_expansion``` pattern into selections and check each against the blocklist, if not marked as suppresed, generate the test resources for the selection


### Source Contexts
Expand Down
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS Images Module Level 3: image-orientation defaults to from-image</title>
<link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org">
<link rel="help" href="https://drafts.csswg.org/css-images-3/#propdef-image-orientation">
<link rel="match" href="reference/image-orientation-default-ref.html">
<meta name=fuzzy content="10;100">
<style>
body {
overflow: hidden;
}
img {
border: 1px solid black;
}
div {
display: inline-block;
width: 100px;
vertical-align: top;
}
</style>
</head>
<body>
<p>The images should rotate respecting their EXIF orientation because
no image-orientation property is given.</p>
<div>
<img src="support/exif-orientation-1-ul.jpg"/>
<br>Normal
</div>
<div>
<img src="support/exif-orientation-2-ur.jpg"/>
<br>Flipped horizontally
</div>
<div>
<img src="support/exif-orientation-3-lr.jpg"/>
<br>Rotated 180&deg;
</div>
<div>
<img src="support/exif-orientation-4-lol.jpg"/>
<br>Flipped vertically
</div>
<div>
<img src="support/exif-orientation-5-lu.jpg"/>
<br>Rotated 90&deg; CCW and flipped vertically
</div>
<div>
<img src="support/exif-orientation-6-ru.jpg"/>
<br>Rotated 90&deg; CW
</div>
<div>
<img src="support/exif-orientation-7-rl.jpg"/>
<br>Rotated 90&deg; CW and flipped vertically
</div>
<div>
<img src="support/exif-orientation-8-llo.jpg"/>
<br>Rotated 90&deg; CCW
</div>
<div>
<img src="support/exif-orientation-9-u.jpg"/>
<br>Undefined (invalid value)
</div>
</body>
</html>

0 comments on commit db5824f

Please sign in to comment.