Navigation Menu

Skip to content

Commit

Permalink
Update web-platform-tests to revision 3488a5a845bec08943f66974e9f0df4…
Browse files Browse the repository at this point in the history
…ffe96774a
  • Loading branch information
servo-wpt-sync committed Jan 6, 2020
1 parent 0d142be commit cc9937a
Show file tree
Hide file tree
Showing 26 changed files with 303 additions and 148 deletions.
48 changes: 37 additions & 11 deletions tests/wpt/metadata/MANIFEST.json
Expand Up @@ -134637,6 +134637,18 @@
{}
]
],
"css/css-multicol/change-intrinsic-width.html": [
[
"css/css-multicol/change-intrinsic-width.html",
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"css/css-multicol/column-count-used-001.html": [
[
"css/css-multicol/column-count-used-001.html",
Expand Down Expand Up @@ -338168,6 +338180,12 @@
{}
]
],
"css/cssom-view/getClientRects-inline-inline-child.html": [
[
"css/cssom-view/getClientRects-inline-inline-child.html",
{}
]
],
"css/cssom-view/historical.html": [
[
"css/cssom-view/historical.html",
Expand Down Expand Up @@ -588279,6 +588297,10 @@
"434dc52ea3d731bd1393270372294cd007382e59",
"testharness"
],
"css/css-multicol/change-intrinsic-width.html": [
"3df3e1ebc8f9b5780dc858a878bca13dbedcdb35",
"reftest"
],
"css/css-multicol/column-count-used-001.html": [
"2949a1996ebae0c48329906ea7ef34c83080e90f",
"reftest"
Expand Down Expand Up @@ -625603,6 +625625,10 @@
"f1f6fc5abc679d087d221573456eb9219d1a405c",
"testharness"
],
"css/cssom-view/getClientRects-inline-inline-child.html": [
"9a03ccdbccc80d8a0ce6f701aeaa802b1b4715e4",
"testharness"
],
"css/cssom-view/getClientRects-inline.html": [
"415e34a6f0430e08441ee32b3f7c0ca8cd11a692",
"reftest"
Expand Down Expand Up @@ -664512,11 +664538,11 @@
"testharness"
],
"html/semantics/forms/constraints/form-validation-validity-valid.html": [
"cec5dcbf0d5cfb340e100a82e723e1d620d16399",
"03655ffd2f5ba24b30e6864c8393ecbf36230aef",
"testharness"
],
"html/semantics/forms/constraints/form-validation-validity-valueMissing.html": [
"3c9e4c4cb096bbe93b540c3f704d0d116a055aba",
"2e1c666436a19bc759026ebf55df4a17073ecb5d",
"testharness"
],
"html/semantics/forms/constraints/form-validation-willValidate.html": [
Expand All @@ -664532,7 +664558,7 @@
"testharness"
],
"html/semantics/forms/constraints/support/validator.js": [
"48c3a5b40e6bbe06b18dde7f473188a827b7de6a",
"33508fb3289be3736f6f467957dc6614bec2bc9b",
"support"
],
"html/semantics/forms/constraints/tooLong-input-email-delete-manual.html": [
Expand Down Expand Up @@ -701572,7 +701598,7 @@
"support"
],
"resources/chromium/nfc-mock.js": [
"4bafc9b0ad8f7f8ad4185914fffef16949695ab3",
"2c1724b7592eb1d6e66177544998abbec70fbfe6",
"support"
],
"resources/chromium/sensor.mojom.js": [
Expand Down Expand Up @@ -717860,7 +717886,7 @@
"support"
],
"tools/wptrunner/wptrunner/browsers/firefox_android.py": [
"33b5d51e54e82adb6cdbe4612263bc30883dd108",
"fee528071f68843ab056f513295146685f8f78f4",
"support"
],
"tools/wptrunner/wptrunner/browsers/ie.py": [
Expand Down Expand Up @@ -717936,7 +717962,7 @@
"support"
],
"tools/wptrunner/wptrunner/executors/executormarionette.py": [
"59f7e865a5b8711fa71c9c8955eca731e0048c3f",
"01306397db7944cd0dfadf8f1bf0327dbacf94d6",
"support"
],
"tools/wptrunner/wptrunner/executors/executoropera.py": [
Expand Down Expand Up @@ -717992,7 +718018,7 @@
"support"
],
"tools/wptrunner/wptrunner/executors/test-wait.js": [
"8a7edb79d62256eef63c71eabd450d42bce7c4d2",
"ad08ad7d76fb0299aadedb572193c38c5055e654",
"support"
],
"tools/wptrunner/wptrunner/executors/testharness_servodriver.js": [
Expand All @@ -718012,7 +718038,7 @@
"support"
],
"tools/wptrunner/wptrunner/font.py": [
"6647a8580be7ab4050bbd37593b2e6595bc3ac72",
"daf0a1c1bfa221aa47981d93239021e4aefa74a9",
"support"
],
"tools/wptrunner/wptrunner/formatters/__init__.py": [
Expand Down Expand Up @@ -718244,7 +718270,7 @@
"support"
],
"tools/wptrunner/wptrunner/wptrunner.py": [
"7409dc26560af0be3a397bb73184137d8715811f",
"75ce104c7cee335afa2e86592caa2c4caa473bcf",
"support"
],
"tools/wptrunner/wptrunner/wpttest.py": [
Expand Down Expand Up @@ -724608,7 +724634,7 @@
"manual"
],
"web-nfc/NDEFReader_scan.https.html": [
"a9b1d7516173418243c630817eea22fd0bed2046",
"17b9fdb8569db230c3a3ded22e0258e4f73a69fc",
"testharness"
],
"web-nfc/NDEFReader_scan_filter.https.html": [
Expand All @@ -724632,7 +724658,7 @@
"manual"
],
"web-nfc/NDEFWriter_push.https.html": [
"4ff0af8fb0b3947595bdf48015ebabce165003ba",
"cb6b3941410035c5c5736e13d59fbbfb85f0d4cc",
"testharness"
],
"web-nfc/README.md": [
Expand Down
@@ -0,0 +1,4 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

@@ -0,0 +1,4 @@
[getClientRects-inline-inline-child.html]
[sub element in a child inline box should not be included]
expected: FAIL

13 changes: 5 additions & 8 deletions tests/wpt/metadata/fetch/content-type/response.window.js.ini
Expand Up @@ -309,9 +309,6 @@
[<iframe>: separate 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

Expand All @@ -324,15 +321,15 @@
[<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]
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL

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

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

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

[X-Content-Type-Options%3A%20'NosniFF']
[X-Content-Type-Options%3A%20%2Cnosniff]
expected: FAIL

Expand Up @@ -8,8 +8,11 @@
expected: FAIL

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

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

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

@@ -1,4 +1,4 @@
[traverse_the_history_2.html]
[traverse_the_history_3.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

@@ -0,0 +1,4 @@
[creating_browsing_context_test_01.html]
[first argument: absolute url]
expected: FAIL

@@ -1,8 +1,4 @@
[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
@@ -1,6 +1,5 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT
expected: FAIL

Expand Up @@ -10,6 +10,3 @@
[Verifies the resolution of entry.startTime is at least 20 microseconds.]
expected: TIMEOUT

[Verifies the resolution of performance.now() is at least 5 microseconds.]
expected: FAIL

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

Expand Down
@@ -1,5 +1,4 @@
[005.html]
expected: ERROR
[dedicated worker in shared worker in dedicated worker]
expected: FAIL

@@ -0,0 +1,14 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#pseudo-algorithm">
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1037790">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:2; column-fill:auto; column-gap:0; width:fit-content; height:100px; background:red;">
<div id="firstChild" style="width:200px; height:100px; background:green;"></div>
<div style="width:50px; height:100px; background:green;"></div>
</div>
<script>
document.body.offsetTop;
firstChild.style.width = "50px";
</script>
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/cssom-view-1/#dom-element-getclientrects">
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<div>
<span>test</span>
<span id="vertical-align-sub-as-grand-child"
title="sub element in a child inline box should not be included">
<span>
<sub class="not-include" style="vertical-align: sub">subscript</sub>
</span>
</span>
<span>test</span>
</div>
<script>
testTargetDoesNotInclude('vertical-align-sub-as-grand-child');

function testTargetDoesNotInclude(target) {
target = document.getElementById(target);
test(() => {
let target_rects = target.getClientRects();

let not_include_rects = [];
for (let element of target.querySelectorAll('.not-include')) {
for (let rect of element.getClientRects())
not_include_rects.push(rect);
}
for (let rect of target_rects) {
for (let not_include_rect of not_include_rects) {
assert_rect_not_equals(rect, not_include_rect);
}
}
}, target.title);
}

function assert_rect_not_equals(rect1, rect2) {
assert_false(rectEquals(rect1, rect2),
`${rectToString(rect1)} and ${rectToString(rect2)} are not equal`);
}

function rectEquals(rect1, rect2) {
return rect1.x === rect2.x && rect1.y === rect2.y &&
rect1.width === rect2.width && rect1.height === rect2.height;
}

function rectToString(rect) {
return `{${rect.x}, ${rect.y} ${rect.width}x${rect.height}}`;
}
</script>
</body>

0 comments on commit cc9937a

Please sign in to comment.