Skip to content
Permalink
Browse files

Update web-platform-tests to revision 52ad8a87fb72bcf6950c20cced0d87f…

…34e26dc81
  • Loading branch information
servo-wpt-sync committed Jan 5, 2020
1 parent afa1b85 commit db5824faf8b49b6e731ff05a4d35169b2c587956
Showing with 2,915 additions and 219 deletions.
  1. +849 −28 tests/wpt/metadata/MANIFEST.json
  2. +2 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-default.html.ini
  3. +2 −0 ...tadata/css/css-images/image-orientation/image-orientation-from-image-composited-dynamic1.html.ini
  4. +2 −0 ...tadata/css/css-images/image-orientation/image-orientation-from-image-composited-dynamic2.html.ini
  5. +2 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-from-image-composited.html.ini
  6. +4 −0 ...pt/metadata/css/css-images/image-orientation/image-orientation-from-image-computed-style.html.ini
  7. +2 −0 ...pt/metadata/css/css-images/image-orientation/image-orientation-from-image-content-images.html.ini
  8. +2 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-from-image-dynamic1.html.ini
  9. +2 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-from-image-dynamic2.html.ini
  10. +2 −0 ...pt/metadata/css/css-images/image-orientation/image-orientation-from-image-image-document.html.ini
  11. +2 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-from-image.html.ini
  12. +4 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-none-computed-style.html.ini
  13. +2 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-none-content-images.html.ini
  14. +2 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-none-image-document.html.ini
  15. +2 −0 tests/wpt/metadata/css/css-images/image-orientation/image-orientation-none.html.ini
  16. +0 −3 tests/wpt/metadata/css/cssom-view/MediaQueryList-addListener-handleEvent.html.ini
  17. +0 −4 tests/wpt/metadata/css/cssom-view/elementFromPoint-001.html.ini
  18. +0 −4 tests/wpt/metadata/css/cssom-view/elementsFromPoint-invalid-cases.html.ini
  19. +2 −0 tests/wpt/metadata/dom/nodes/remove-from-shadow-host-and-adopt-into-iframe.html.ini
  20. +25 −13 tests/wpt/metadata/fetch/content-type/response.window.js.ini
  21. +4 −0 tests/wpt/metadata/fetch/h1-parsing/resources-with-0x00-in-header.window.js.ini
  22. +2 −5 tests/wpt/metadata/fetch/security/embedded-credentials.tentative.sub.html.ini
  23. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini
  24. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini
  25. +4 −0 ...adata/html/browsers/origin/cross-origin-objects/cross-origin-due-to-document-domain-only.html.ini
  26. +0 −4 ...-for-creating-and-navigating-browsing-contexts-by-name/creating_browsing_context_test_01.html.ini
  27. +4 −0 .../wpt/metadata/html/interaction/focus/the-autofocus-attribute/skip-document-with-fragment.html.ini
  28. +2 −0 tests/wpt/metadata/html/semantics/document-metadata/the-link-element/link-type-attribute.html.ini
  29. +2 −1 ...a/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini
  30. +1 −0 tests/wpt/metadata/resource-timing/crossorigin-sandwich-TAO.sub.html.ini
  31. +0 −5 tests/wpt/metadata/webmessaging/with-ports/018.html.ini
  32. +0 −5 tests/wpt/metadata/webmessaging/without-ports/017.html.ini
  33. +3 −3 tests/wpt/web-platform-tests/common/security-features/README.md
  34. +64 −0 tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-default.html
  35. +72 −0 ...form-tests/css/css-images/image-orientation/image-orientation-from-image-composited-dynamic1.html
  36. +64 −0 ...form-tests/css/css-images/image-orientation/image-orientation-from-image-composited-dynamic2.html
  37. +66 −0 .../web-platform-tests/css/css-images/image-orientation/image-orientation-from-image-composited.html
  38. +57 −0 ...-platform-tests/css/css-images/image-orientation/image-orientation-from-image-computed-style.html
  39. +90 −0 ...-platform-tests/css/css-images/image-orientation/image-orientation-from-image-content-images.html
  40. +72 −0 ...pt/web-platform-tests/css/css-images/image-orientation/image-orientation-from-image-dynamic1.html
  41. +63 −0 ...pt/web-platform-tests/css/css-images/image-orientation/image-orientation-from-image-dynamic2.html
  42. +37 −0 ...-platform-tests/css/css-images/image-orientation/image-orientation-from-image-image-document.html
  43. +65 −0 tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-from-image.html
  44. +47 −0 ...pt/web-platform-tests/css/css-images/image-orientation/image-orientation-none-computed-style.html
  45. +77 −0 ...pt/web-platform-tests/css/css-images/image-orientation/image-orientation-none-content-images.html
  46. +40 −0 ...pt/web-platform-tests/css/css-images/image-orientation/image-orientation-none-image-document.html
  47. +38 −0 tests/wpt/web-platform-tests/css/css-images/image-orientation/image-orientation-none.html
  48. +62 −0 .../web-platform-tests/css/css-images/image-orientation/reference/image-orientation-default-ref.html
  49. +87 −0 ...s/css/css-images/image-orientation/reference/image-orientation-from-image-content-images-ref.html
  50. +35 −0 ...s/css/css-images/image-orientation/reference/image-orientation-from-image-image-document-ref.html
  51. +62 −0 ...b-platform-tests/css/css-images/image-orientation/reference/image-orientation-from-image-ref.html
  52. +74 −0 ...m-tests/css/css-images/image-orientation/reference/image-orientation-none-content-images-ref.html
  53. +37 −0 ...m-tests/css/css-images/image-orientation/reference/image-orientation-none-image-document-ref.html
  54. +35 −0 ...wpt/web-platform-tests/css/css-images/image-orientation/reference/image-orientation-none-ref.html
  55. BIN ...web-platform-tests/css/css-images/image-orientation/support/exif-orientation-1-ul-pre-rotated.jpg
  56. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-1-ul.jpg
  57. BIN ...web-platform-tests/css/css-images/image-orientation/support/exif-orientation-2-ur-pre-rotated.jpg
  58. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-2-ur.jpg
  59. BIN ...web-platform-tests/css/css-images/image-orientation/support/exif-orientation-3-lr-pre-rotated.jpg
  60. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-3-lr.jpg
  61. BIN ...eb-platform-tests/css/css-images/image-orientation/support/exif-orientation-4-lol-pre-rotated.jpg
  62. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-4-lol.jpg
  63. BIN ...web-platform-tests/css/css-images/image-orientation/support/exif-orientation-5-lu-pre-rotated.jpg
  64. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-5-lu.jpg
  65. BIN ...web-platform-tests/css/css-images/image-orientation/support/exif-orientation-6-ru-pre-rotated.jpg
  66. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-6-ru.jpg
  67. BIN ...web-platform-tests/css/css-images/image-orientation/support/exif-orientation-7-rl-pre-rotated.jpg
  68. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-7-rl.jpg
  69. BIN ...eb-platform-tests/css/css-images/image-orientation/support/exif-orientation-8-llo-pre-rotated.jpg
  70. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-8-llo.jpg
  71. BIN .../web-platform-tests/css/css-images/image-orientation/support/exif-orientation-9-u-pre-rotated.jpg
  72. BIN tests/wpt/web-platform-tests/css/css-images/image-orientation/support/exif-orientation-9-u.jpg
  73. +15 −0 tests/wpt/web-platform-tests/css/css-multicol/intrinsic-width-change-column-count.html
  74. +18 −0 tests/wpt/web-platform-tests/css/css-pseudo/marker-content-017-ref.html
  75. +24 −0 tests/wpt/web-platform-tests/css/css-pseudo/marker-content-017.html
  76. +61 −0 tests/wpt/web-platform-tests/css/css-pseudo/marker-content-018-ref.html
  77. +65 −0 tests/wpt/web-platform-tests/css/css-pseudo/marker-content-018.html
  78. +5 −10 tests/wpt/web-platform-tests/css/css-pseudo/marker-font-variant-numeric-default-ref.html
  79. +2 −1 tests/wpt/web-platform-tests/css/css-pseudo/marker-font-variant-numeric-normal-ref.html
  80. +6 −0 tests/wpt/web-platform-tests/css/css-ruby/ruby-bidi-003-ref.html
  81. +8 −0 tests/wpt/web-platform-tests/css/css-ruby/ruby-bidi-003.html
  82. +23 −0 tests/wpt/web-platform-tests/css/css-shadow-parts/style-sharing.html
  83. +4 −0 tests/wpt/web-platform-tests/dom/nodes/remove-from-shadow-host-and-adopt-into-iframe-ref.html
  84. +29 −0 tests/wpt/web-platform-tests/dom/nodes/remove-from-shadow-host-and-adopt-into-iframe.html
  85. +31 −0 tests/wpt/web-platform-tests/fetch/h1-parsing/resources-with-0x00-in-header.window.js
  86. +6 −0 tests/wpt/web-platform-tests/fetch/h1-parsing/resources/README.md
  87. BIN tests/wpt/web-platform-tests/fetch/h1-parsing/resources/blue-with-0x00-in-a-header.asis
  88. +4 −0 tests/wpt/web-platform-tests/fetch/h1-parsing/resources/document-with-0x00-in-header.py
  89. +4 −0 tests/wpt/web-platform-tests/fetch/h1-parsing/resources/script-with-0x00-in-header.py
  90. +33 −0 ...orm-tests/html/browsers/origin/cross-origin-objects/cross-origin-due-to-document-domain-only.html
  91. +9 −0 ...owsers/origin/cross-origin-objects/resources/cross-origin-due-to-document-domain-only-helper.html
  92. +3 −0 ...web-platform-tests/html/semantics/document-metadata/the-link-element/link-type-attribute-ref.html
  93. +9 −0 ...wpt/web-platform-tests/html/semantics/document-metadata/the-link-element/link-type-attribute.html
  94. +30 −22 tests/wpt/web-platform-tests/html/semantics/forms/constraints/support/validator.js
  95. +0 −2 ...latform-tests/infrastructure/metadata/infrastructure/testdriver/actions/multiTouchPoints.html.ini
  96. +0 −2 ...rastructure/metadata/infrastructure/testdriver/actions/multiTouchPointsReleaseFirstPoint.html.ini
  97. +0 −2 ...astructure/metadata/infrastructure/testdriver/actions/multiTouchPointsReleaseSecondPoint.html.ini
  98. +2 −4 ...infrastructure/metadata/infrastructure/testdriver/actions/multiTouchPointsTwoTouchStarts.html.ini
  99. +0 −2 ...ests/infrastructure/metadata/infrastructure/testdriver/actions/multiTouchPointsWithPause.html.ini
  100. +4 −2 tests/wpt/web-platform-tests/layout-instability/shift-into-viewport.html
  101. +4 −2 tests/wpt/web-platform-tests/layout-instability/shift-outside-viewport.html
  102. +1 −0 tests/wpt/web-platform-tests/lint.whitelist
  103. +1 −1 tests/wpt/web-platform-tests/native-file-system/resources/native-fs-test-helpers.js
  104. +1 −1 tests/wpt/web-platform-tests/native-file-system/resources/opaque-origin-sandbox.html
  105. +37 −0 tests/wpt/web-platform-tests/portals/predecessor-fires-unload.html
  106. +24 −0 tests/wpt/web-platform-tests/portals/resources/predecessor-fires-unload-watch-unload.html
  107. +11 −13 tests/wpt/web-platform-tests/resources/chromium/webxr-test.js
  108. +3 −3 tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/testloader.py
  109. +7 −4 tests/wpt/web-platform-tests/tools/wptserve/wptserve/handlers.py
  110. +4 −1 tests/wpt/web-platform-tests/tools/wptserve/wptserve/pipes.py
  111. +17 −15 tests/wpt/web-platform-tests/web-animations/timing-model/animations/reverse-running-animation.html
  112. +12 −2 tests/wpt/web-platform-tests/web-nfc/NDEFMessage_constructor.https.html
  113. +6 −5 tests/wpt/web-platform-tests/web-nfc/NDEFReadingEvent_constructor.https.html
  114. +6 −1 tests/wpt/web-platform-tests/web-nfc/NDEFRecord_constructor.https.html
  115. +0 −14 tests/wpt/web-platform-tests/web-nfc/NDEFWriter_push.https.html
  116. +75 −0 tests/wpt/web-platform-tests/webrtc/RTCDataChannel-close.html
  117. +2 −2 tests/wpt/web-platform-tests/webrtc/RTCError.html
  118. +18 −0 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-close.html
  119. +18 −0 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-connectionState.https.html
  120. +23 −9 tests/wpt/web-platform-tests/webxr/resources/webxr_test_asserts.js
  121. +75 −0 tests/wpt/web-platform-tests/webxr/resources/webxr_test_constants_fake_world.js
  122. +1 −12 tests/wpt/web-platform-tests/webxr/xrRigidTransform_inverse.https.html
  123. +0 −4 tests/wpt/web-platform-tests/xhr/resources/parse-headers.py

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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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

@@ -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

This file was deleted.

This file was deleted.

@@ -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`**

@@ -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
@@ -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.
You can’t perform that action at this time.