Skip to content

Commit

Permalink
Bug 1458313 [wpt PR 10739] - Revert "Update mozrunner from 7.0.0 to 7…
Browse files Browse the repository at this point in the history
….0.1", a=testonly

Automatic update from web-platform-testsRevert "Update mozrunner from 7.0.0 to 7.0.1" (#10739)

This reverts commit 8b9f853fd06ca887b340e77e342d323c32635a13

See web-platform-tests/wpt#10736
--

wpt-commits: 11181545aa1e4d3e1e2f00fbedb8d048af091e83
wpt-pr: 10739

UltraBlame original commit: 685393774419ff56cc42c4ae1efbb3c17c2ef460
  • Loading branch information
marco-c committed Oct 2, 2019
1 parent 4f20670 commit 939a493
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 11 deletions.
39 changes: 37 additions & 2 deletions testing/web-platform/meta/MANIFEST.json
Expand Up @@ -100591,6 +100591,18 @@
{}
]
],
"css/css-backgrounds/background-rounded-image-clip.html": [
[
"/css/css-backgrounds/background-rounded-image-clip.html",
[
[
"/css/css-backgrounds/reference/background-rounded-image-clip.html",
"=="
]
],
{}
]
],
"css/css-backgrounds/background-size-002.html": [
[
"/css/css-backgrounds/background-size-002.html",
Expand Down Expand Up @@ -238954,6 +238966,11 @@
{}
]
],
"css/css-backgrounds/reference/background-rounded-image-clip.html": [
[
{}
]
],
"css/css-backgrounds/reference/background-size-002-ref.html": [
[
{}
Expand Down Expand Up @@ -331467,6 +331484,12 @@
{}
]
],
"html/browsers/history/the-history-interface/history_pushstate_url.html": [
[
"/html/browsers/history/the-history-interface/history_pushstate_url.html",
{}
]
],
"html/browsers/history/the-history-interface/history_replacestate.html": [
[
"/html/browsers/history/the-history-interface/history_replacestate.html",
Expand Down Expand Up @@ -489500,6 +489523,10 @@
"36050bffda9382cfd978dc82a2f0244a535a6a46",
"support"
],
"css/css-backgrounds/background-rounded-image-clip.html": [
"1f3a33ee141f0bf0186875d376bc95414db8dd18",
"reftest"
],
"css/css-backgrounds/background-size-001.html": [
"7cf677bf25a1fcac569bd0accd28dd66e6060a1b",
"testharness"
Expand Down Expand Up @@ -491876,6 +491903,10 @@
"1141a4c270ace715755b9b8352dab9baffca27c4",
"support"
],
"css/css-backgrounds/reference/background-rounded-image-clip.html": [
"0f98f9c82627977b11cde5f7c8ba536104cccdd2",
"support"
],
"css/css-backgrounds/reference/background-size-002-ref.html": [
"33d8850f315bedabb7024031b091a14177034c1d",
"support"
Expand Down Expand Up @@ -561852,6 +561883,10 @@
"8add09b76d8662f4343188a1ac36fe71fd4a225d",
"testharness"
],
"html/browsers/history/the-history-interface/history_pushstate_url.html": [
"bf3c08fc9730f233fd05bac58be4b73d152ac923",
"testharness"
],
"html/browsers/history/the-history-interface/history_replacestate.html": [
"91cf4970bfa565ee8b846582bdbe608d38902fe7",
"testharness"
Expand Down Expand Up @@ -570997,7 +571032,7 @@
"testharness"
],
"html/semantics/document-metadata/the-link-element/link-rel-attribute.html": [
"45824076fb8696f775582c7bcfab093ebfb3055c",
"4baacb7829d841fcef0086d2f1ec6e5fc915179e",
"testharness"
],
"html/semantics/document-metadata/the-link-element/link-rellist.html": [
Expand Down Expand Up @@ -608101,7 +608136,7 @@
"testharness"
],
"url/urlsearchparams-foreach.html": [
"604154351de9db97183b3cfc149d3ca6c5132723",
"8f2adc3468f0f017253ed90fd68872ea0ad1d59f",
"testharness"
],
"url/urlsearchparams-get.html": [
Expand Down
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Background Clip Follows Rounded Corner</title>
<link rel="match" href="reference/background-rounded-image-clip.html">
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#corner-clipping">
<style>
html {
background-color: green;
}
#a {
top: 20px;
left: 20px;
position: absolute;
width: 20px;
height: 20px;
background-color: black;
}

#b {
position: absolute;
width: 300px;
height: 200px;
background-image: linear-gradient(green, green);
background-clip: content-box;
border-top-left-radius: 90px;
border-width: 10px;
border-style: solid;
border-color: transparent;
}
</style>
<div id="a"></div>
<div id="b"></div>
@@ -0,0 +1,17 @@
<!doctype html>
<meta charset="utf-8">
<title>Corner Clipped Background Color</title>
<style>
html {
background-color: green;
}
#a {
top: 20px;
left: 20px;
position: absolute;
width: 20px;
height: 20px;
background-color: black;
}
</style>
<div id="a"></div>
@@ -0,0 +1,24 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>History pushState sets the url</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<script>
async_test(function(t) {
var oldLocation = window.location.toString();
window.history.pushState(null, "", "#hash");
assert_equals(oldLocation + "#hash", window.location.toString(), "pushState updates url");
history.back();
window.onhashchange = () => {
assert_equals(oldLocation, window.location.toString(), 'history traversal restores old url');
t.done();
};
}, "history pushState sets url");
</script>
</body>
</html>
Expand Up @@ -16,11 +16,6 @@
</div>

<script>
var host = document.querySelector("#host");
var shadow = host.attachShadow({ mode: "open" });
var tmpl = document.querySelector("template#shadow-dom");
var clone = document.importNode(tmpl.content, true);
shadow.appendChild(clone);

function testLinkRelModification(testDiv, testLink) {
assert_equals(getComputedStyle(testDiv).color, "rgb(0, 128, 0)");
Expand All @@ -38,6 +33,11 @@
}, "Removing stylesheet from link rel attribute should remove the stylesheet for light DOM");

test (() => {
var host = document.querySelector("#host");
var shadow = host.attachShadow({ mode: "open" });
var tmpl = document.querySelector("template#shadow-dom");
var clone = document.importNode(tmpl.content, true);
shadow.appendChild(clone);
testLinkRelModification(shadow.querySelector("#shadow-div"),
shadow.querySelector("#shadow-link"));
}, "Removing stylesheet from link rel attribute should remove the stylesheet for shadow DOM");
Expand Down
Expand Up @@ -2,7 +2,7 @@ marionette_driver==2.6.0
mozprofile==1.1.0
mozprocess == 0.26
mozcrash == 1.0
mozrunner==7.0.1
mozrunner == 7.0.0
mozleak == 0.1
mozinstall == 1.15
mozdownload == 1.23
6 changes: 3 additions & 3 deletions testing/web-platform/tests/url/urlsearchparams-foreach.html
Expand Up @@ -41,7 +41,7 @@
const url = new URL("http://localhost/query?param0=0&param1=1&param2=2");
const searchParams = url.searchParams;
const seen = [];
for (const param of searchParams) {
for (param of searchParams) {
if (param[0] === 'param0') {
searchParams.delete('param1');
}
Expand All @@ -56,7 +56,7 @@
const url = new URL("http://localhost/query?param0=0&param1=1&param2=2");
const searchParams = url.searchParams;
const seen = [];
for (const param of searchParams) {
for (param of searchParams) {
if (param[0] === 'param0') {
searchParams.delete('param0');
// 'param1=1' is now in the first slot, so the next iteration will see 'param2=2'.
Expand All @@ -72,7 +72,7 @@
const url = new URL("http://localhost/query?param0=0&param1=1&param2=2");
const searchParams = url.searchParams;
const seen = [];
for (const param of searchParams) {
for (param of searchParams) {
seen.push(param[0]);
searchParams.delete(param[0]);
}
Expand Down

0 comments on commit 939a493

Please sign in to comment.