Bug 1494639 - Ensure that css test doesn't try to contact an external host, r=emilio
authorJames Graham <james@hoppipolla.co.uk>
Fri, 28 Sep 2018 11:17:10 +0100
changeset 438715 342c972b1e72f81508b35d2a748450f4fc5b54f5
parent 438714 0167fcc847d836cf24161016a33cdc684e4a3745
child 438716 3a70f580f330b1d2277b66b0a9053735c9ae845e
push id70086
push usertoros@mozilla.com
push dateFri, 28 Sep 2018 15:41:28 +0000
treeherderautoland@dbe2506cadd0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1494639
milestone64.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1494639 - Ensure that css test doesn't try to contact an external host, r=emilio
testing/web-platform/meta/css/css-masking/inheritance.html.ini
testing/web-platform/meta/css/css-masking/inheritance.sub.html.ini
testing/web-platform/tests/css/css-masking/inheritance.html
testing/web-platform/tests/css/css-masking/inheritance.sub.html
deleted file mode 100644
--- a/testing/web-platform/meta/css/css-masking/inheritance.html.ini
+++ /dev/null
@@ -1,5 +0,0 @@
-[inheritance.html]
-  expected: CRASH
-  [Inheritance of CSS Masking properties]
-    expected: FAIL
-
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/meta/css/css-masking/inheritance.sub.html.ini
@@ -0,0 +1,4 @@
+[inheritance.sub.html]
+  [Property mask-size has initial value auto]
+    expected: FAIL
+
deleted file mode 100644
--- a/testing/web-platform/tests/css/css-masking/inheritance.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<title>Inheritance of CSS Masking properties</title>
-<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#property-index">
-<meta name="assert" content="Properties inherit or not according to the spec.">
-<meta name="assert" content="Properties have initial values according to the spec.">
-<script src="/resources/testharness.js"></script>
-<script src="/resources/testharnessreport.js"></script>
-<script src="/css/support/inheritance-testcommon.js"></script>
-</head>
-<body>
-<div id="container">
-<div id="target"></div>
-</div>
-<script>
-assert_not_inherited('clip', 'auto', 'rect(10px, 20px, 30px, 40px)');
-assert_not_inherited('clip-path', 'none', 'url("https://example.com/")');
-assert_inherited('clip-rule', 'nonzero', 'evenodd');
-assert_not_inherited('mask-border-mode', 'alpha', 'luminance');
-assert_not_inherited('mask-border-outset', '0', '10px 20px 30px 40px');
-assert_not_inherited('mask-border-repeat', 'stretch', 'round space');
-assert_not_inherited('mask-border-slice', '0', '1 2 3 4 fill');
-assert_not_inherited('mask-border-source', 'none', 'url("https://example.com/")');
-assert_not_inherited('mask-border-width', 'auto', '10px 20px 30px 40px');
-assert_not_inherited('mask-clip', 'border-box', 'no-clip');
-assert_not_inherited('mask-composite', 'add', 'exclude');
-assert_not_inherited('mask-image', 'none', 'url("https://example.com/")');
-assert_not_inherited('mask-mode', 'match-source', 'luminance');
-assert_not_inherited('mask-origin', 'border-box', 'padding-box');
-assert_not_inherited('mask-position', '0% 0%', '10px 20px');
-assert_not_inherited('mask-repeat', 'repeat', 'space round');
-assert_not_inherited('mask-size', 'auto', '10px 20px');
-assert_not_inherited('mask-type', 'luminance', 'alpha');
-</script>
-</body>
-</html>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/css-masking/inheritance.sub.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Inheritance of CSS Masking properties</title>
+<link rel="help" href="https://drafts.fxtf.org/css-masking-1/#property-index">
+<meta name="assert" content="Properties inherit or not according to the spec.">
+<meta name="assert" content="Properties have initial values according to the spec.">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/inheritance-testcommon.js"></script>
+</head>
+<body>
+<div id="container">
+<div id="target"></div>
+</div>
+<script>
+assert_not_inherited('clip', 'auto', 'rect(10px, 20px, 30px, 40px)');
+assert_not_inherited('clip-path', 'none', 'url("http://{{host}}/")');
+assert_inherited('clip-rule', 'nonzero', 'evenodd');
+assert_not_inherited('mask-border-mode', 'alpha', 'luminance');
+assert_not_inherited('mask-border-outset', '0', '10px 20px 30px 40px');
+assert_not_inherited('mask-border-repeat', 'stretch', 'round space');
+assert_not_inherited('mask-border-slice', '0', '1 2 3 4 fill');
+assert_not_inherited('mask-border-source', 'none', 'url("http://{{host}}/")');
+assert_not_inherited('mask-border-width', 'auto', '10px 20px 30px 40px');
+assert_not_inherited('mask-clip', 'border-box', 'no-clip');
+assert_not_inherited('mask-composite', 'add', 'exclude');
+assert_not_inherited('mask-image', 'none', 'url("http://{{host}}/")');
+assert_not_inherited('mask-mode', 'match-source', 'luminance');
+assert_not_inherited('mask-origin', 'border-box', 'padding-box');
+assert_not_inherited('mask-position', '0% 0%', '10px 20px');
+assert_not_inherited('mask-repeat', 'repeat', 'space round');
+assert_not_inherited('mask-size', 'auto', '10px 20px');
+assert_not_inherited('mask-type', 'luminance', 'alpha');
+</script>
+</body>
+</html>