Skip to content
Permalink
Browse files

Update web-platform-tests to revision 0cde5f6b37c9b3e3f9153eb1b172680…

…e9aea9bf9
  • Loading branch information...
servo-wpt-sync committed Apr 5, 2019
1 parent f142b1d commit 2575230dce1d7868541323ed1e8411c80bd3e831
Showing with 924 additions and 268 deletions.
  1. +311 −225 tests/wpt/metadata/MANIFEST.json
  2. +1 −1 tests/wpt/metadata/css/cssom-view/elementsFromPoint-iframes.html.ini
  3. +30 −9 tests/wpt/metadata/fetch/content-type/response.window.js.ini
  4. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini
  5. +3 −0 ...ics/embedded-content/media-elements/playing-the-media-resource/loop-from-ended.tentative.html.ini
  6. +10 −0 tests/wpt/metadata/html/semantics/embedded-content/the-img-element/non-active-document.html.ini
  7. +0 −7 tests/wpt/metadata/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini
  8. +1 −0 .../metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini
  9. +0 −2 tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini
  10. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-001.html → text-decoration-001-manual.html}
  11. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-002.html → text-decoration-002-manual.html}
  12. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-003.html → text-decoration-003-manual.html}
  13. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-004.html → text-decoration-004-manual.html}
  14. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-040.html → text-decoration-040-manual.html}
  15. 0 ...-platform-tests/css/css-text-decor/{text-decoration-040a.html → text-decoration-040a-manual.html}
  16. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-041.html → text-decoration-041-manual.html}
  17. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-044.html → text-decoration-044-manual.html}
  18. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-045.html → text-decoration-045-manual.html}
  19. 0 ...-platform-tests/css/css-text-decor/{text-decoration-046a.html → text-decoration-046a-manual.html}
  20. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-048.html → text-decoration-048-manual.html}
  21. 0 ...-platform-tests/css/css-text-decor/{text-decoration-048a.html → text-decoration-048a-manual.html}
  22. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-049.html → text-decoration-049-manual.html}
  23. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-082.html → text-decoration-082-manual.html}
  24. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-085.html → text-decoration-085-manual.html}
  25. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-090.html → text-decoration-090-manual.html}
  26. 0 ...-platform-tests/css/css-text-decor/{text-decoration-090a.html → text-decoration-090a-manual.html}
  27. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-091.html → text-decoration-091-manual.html}
  28. 0 ...-platform-tests/css/css-text-decor/{text-decoration-091a.html → text-decoration-091a-manual.html}
  29. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-092.html → text-decoration-092-manual.html}
  30. 0 ...-platform-tests/css/css-text-decor/{text-decoration-092a.html → text-decoration-092a-manual.html}
  31. 0 ...-platform-tests/css/css-text-decor/{text-decoration-095a.html → text-decoration-095a-manual.html}
  32. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-096.html → text-decoration-096-manual.html}
  33. 0 ...-platform-tests/css/css-text-decor/{text-decoration-096a.html → text-decoration-096a-manual.html}
  34. 0 ...eb-platform-tests/css/css-text-decor/{text-decoration-097.html → text-decoration-097-manual.html}
  35. 0 ...-platform-tests/css/css-text-decor/{text-decoration-097a.html → text-decoration-097a-manual.html}
  36. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-001-notref.html
  37. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-001-ref.html
  38. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-001.html
  39. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-002.html
  40. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-003.html
  41. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-004.html
  42. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-005-ref.html
  43. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-005.html
  44. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-006.html
  45. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-007-ref.html
  46. +2 −1 tests/wpt/web-platform-tests/css/css-transforms/transform3d-scale-007.html
  47. +74 −0 tests/wpt/web-platform-tests/element-timing/background-image-multiple-elements.html
  48. +39 −0 tests/wpt/web-platform-tests/element-timing/background-image-stretched.html
  49. +57 −0 tests/wpt/web-platform-tests/element-timing/multiple-background-images.html
  50. +37 −0 tests/wpt/web-platform-tests/element-timing/observe-background-image.html
  51. +3 −1 ...mantics/embedded-content/media-elements/playing-the-media-resource/loop-from-ended.tentative.html
  52. +2 −0 tests/wpt/web-platform-tests/interfaces/webrtc-stats.idl
  53. +68 −0 ...-tests/payment-request/payment-response/payerdetailschange-updateWith-immediate-manual.https.html
  54. +106 −2 tests/wpt/web-platform-tests/portals/portals-post-message.sub.html
  55. +7 −1 tests/wpt/web-platform-tests/portals/resources/portal-post-message-cross-origin-portal.sub.html
  56. +20 −1 tests/wpt/web-platform-tests/portals/resources/portal-post-message-portal.html
  57. +8 −0 ...s/wpt/web-platform-tests/svg/extensibility/foreignObject/compositing-backface-visibility-ref.html
  58. +13 −0 tests/wpt/web-platform-tests/svg/extensibility/foreignObject/compositing-backface-visibility.html
  59. +67 −4 tests/wpt/web-platform-tests/web-nfc/NFCWriter_push.https.html
  60. +45 −0 tests/wpt/web-platform-tests/web-nfc/NFCWriter_push_signal-manual.https.html

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,5 +1,5 @@
[elementsFromPoint-iframes.html]
expected: TIMEOUT
expected: CRASH
[elementsFromPoint on the root document for points in iframe elements]
expected: FAIL

@@ -22,7 +22,7 @@
expected: NOTRUN

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

[fetch(): separate response Content-Type: text/html;x=" text/plain]
expected: NOTRUN
@@ -163,7 +163,7 @@
expected: NOTRUN

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

[Request: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain]
expected: NOTRUN
@@ -172,7 +172,7 @@
expected: NOTRUN

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

[Response: combined response Content-Type: text/html;x=" text/plain]
expected: NOTRUN
@@ -202,7 +202,7 @@
expected: NOTRUN

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

[fetch(): separate response Content-Type: text/plain */*;charset=gbk]
expected: NOTRUN
@@ -286,7 +286,7 @@
expected: NOTRUN

[<iframe>: separate response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: FAIL
expected: TIMEOUT

[fetch(): combined response Content-Type: text/html;" " text/plain]
expected: NOTRUN
@@ -310,11 +310,32 @@
expected: NOTRUN

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

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

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

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

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

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

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

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

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

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

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

This file was deleted.

Oops, something went wrong.
@@ -2,3 +2,6 @@
[Test looping edge case to verify http://crbug.com/364442.]
expected: FAIL

[play() with loop set to true after playback ended]
expected: FAIL

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

[createHTMLDocument]
expected: FAIL

[<template>]
expected: FAIL

This file was deleted.

Oops, something went wrong.
@@ -1,4 +1,5 @@
[realtimeanalyser-fft-scaling.html]
expected: TIMEOUT
[X 2048-point FFT peak position is not equal to 64. Got 0.]
expected: FAIL

This file was deleted.

Oops, something went wrong.
@@ -6,7 +6,8 @@
</head>
<body>
<div style="width: 100px; height: 100px">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -7,7 +7,8 @@
</head>
<body>
<div style="transform: scaleX(2) scaleY(2); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -14,7 +14,8 @@
</head>
<body>
<div style="transform: scale3D(2,2,2); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -15,7 +15,8 @@
</head>
<body>
<div style="transform: rotatex(90deg) scale3D(2,1,2) rotatex(-90deg); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -14,7 +14,8 @@
</head>
<body>
<div style="transform: scaleX(2) scaleY(2) scaleZ(2); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -13,7 +13,8 @@
<body>
<p>Nothing should appear except this sentence.</p>
<div style="transform: scale3d(2, 2, 0); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -7,7 +7,8 @@
</head>
<body>
<div style="transform: scaleY(2); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -14,7 +14,8 @@
</head>
<body>
<div style="transform: rotatex(90deg) scale3D(1,1,2) rotatex(-90deg); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -14,7 +14,8 @@
</head>
<body>
<div style="transform: rotatex(90deg) scaleZ(2) rotatex(-90deg); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -7,7 +7,8 @@
</head>
<body>
<div style="transform: scaleY(-1); width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -12,7 +12,8 @@
</head>
<body>
<div style="transform: rotatex(180deg) scaleZ(-1); width: 100px; height: 100px;">
Test Text
<div style="background: blue; width: 50px; height: 50px;"></div>
<div style="background: lime; width: 50px; height: 50px; margin-left: 50px;"></div>
</div>
</body>
</html>
@@ -0,0 +1,74 @@
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>Element Timing: background image affecting multiple elements</title>
<body>
<style>
body {
margin: 0;
}
.my_div {
background-image: url('resources/square100.png');
}
#div1 {
width: 100px;
height: 100px;
}
#div2 {
width: 200px;
height: 100px;
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/element-timing-helpers.js"></script>
<script>
async_test(function (t) {
let beforeRender = performance.now();
let numObservedElements = 0;
let observedDiv1 = false;
let observedDiv2 = false;
const index = window.location.href.lastIndexOf('/');
const pathname = window.location.href.substring(0, index) +
'/resources/square100.png';
const observer = new PerformanceObserver(
t.step_func(function(entryList) {
entryList.getEntries().forEach(entry => {
numObservedElements++;
if (entry.id == 'div1') {
observedDiv1 = true;
checkElement(entry, pathname, 'et1', 'div1', beforeRender);
// Div is in the top left corner.
checkRect(entry, [0, 100, 0, 100]);
checkNaturalSize(entry, 100, 100);
}
else if (entry.id == 'div2') {
observedDiv2 = true;
checkElement(entry, pathname, 'et2', 'div2', beforeRender);
// Div is below div1, on the left.
checkRect(entry, [0, 200, 100, 200]);
checkNaturalSize(entry, 100, 100);
}
else {
assert_unreached("Should not observe other elements!");
}
if (numObservedElements === 2) {
assert_true(observedDiv1);
assert_true(observedDiv2);
t.done();
}
});
})
);
observer.observe({entryTypes: ['element']});
}, 'Background image affecting various elements is observed.');
</script>
<div id="div1" class="my_div" elementtiming="et1">
<img width=50 height=50 src='resources/circle.svg'/>
</div>
<div width=200 height=100 id="div2" class="my_div" elementtiming="et2">
Sample text inside div.
</div>
<div id="div3"/>
I am a div that should not be observed!
</div>
</body>
@@ -0,0 +1,39 @@
<!DOCTYPE HTML>
<meta charset=utf-8>
<title>Element Timing: observe larger element with stretched background image</title>
<body>
<style>
body {
margin: 0;
}
#target {
width: 200px;
height: 150px;
background-image: url('resources/square100.png');
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/element-timing-helpers.js"></script>
<script>
let beforeRender = performance.now();
async_test(function (t) {
const observer = new PerformanceObserver(
t.step_func_done(function(entryList) {
assert_equals(entryList.getEntries().length, 1);
const entry = entryList.getEntries()[0];
const index = window.location.href.lastIndexOf('/');
const pathname = window.location.href.substring(0, index) +
'/resources/square100.png';
checkElement(entry, pathname, 'my_div', 'target', beforeRender);
// The background image extends to occupy to full size of the div.
checkRect(entry, [0, 200, 0, 150]);
// The natural size of the square remains unchanged.
checkNaturalSize(entry, 100, 100);
})
);
observer.observe({entryTypes: ['element']});
}, 'Element with background image shows correct image size.');
</script>
<div id='target' elementtiming='my_div'></div>
</body>
Oops, something went wrong.

0 comments on commit 2575230

Please sign in to comment.
You can’t perform that action at this time.