Bug 1464865: Fix some typos in WPT tests. r=xidorn
authorEmilio Cobos Álvarez <emilio@crisal.io>
Tue, 29 May 2018 13:05:11 +0200
changeset 420230 85572fbd667360384b63a29a2d7ac0bf1285658d
parent 420229 4d23f192ffe345cf60527325bb56bc7d4f27c4a4
child 420231 4be5142eb8556f6e96b44530f75026f4089eecb7
push id103755
push userecoal95@gmail.com
push dateTue, 29 May 2018 14:40:14 +0000
treeherdermozilla-inbound@85572fbd6673 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersxidorn
bugs1464865
milestone62.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 1464865: Fix some typos in WPT tests. r=xidorn MozReview-Commit-ID: CSLZGbu23js
testing/web-platform/tests/css/cssom/insertRule-charset-no-index.html
testing/web-platform/tests/css/cssom/insertRule-import-no-index.html
testing/web-platform/tests/css/cssom/insertRule-namespace-no-index.html
testing/web-platform/tests/css/cssom/insertRule-no-index.html
--- a/testing/web-platform/tests/css/cssom/insertRule-charset-no-index.html
+++ b/testing/web-platform/tests/css/cssom/insertRule-charset-no-index.html
@@ -14,17 +14,17 @@
 <div id="log"></div>
 <script type="text/javascript">
     var sheet = document.getElementById("linkElement").sheet;
     test(function() {
         assert_equals(sheet.cssRules.length, 0);
         sheet.insertRule("p { color: green; }");
         assert_equals(sheet.cssRules.length, 1);
         assert_equals(sheet.cssRules.item(0).cssText, "p { color: green; }");
-    }, "inserRule with charset and omitted index argument");
+    }, "insertRule with charset and omitted index argument");
 
     test(function() {
         assert_equals(sheet.cssRules.length, 1);
         sheet.insertRule("p { color: yellow; }", undefined);
         assert_equals(sheet.cssRules.length, 2);
         assert_equals(sheet.cssRules.item(0).cssText, "p { color: yellow; }");
     }, "insertRule with charset and undefined index argument");
 </script>
--- a/testing/web-platform/tests/css/cssom/insertRule-import-no-index.html
+++ b/testing/web-platform/tests/css/cssom/insertRule-import-no-index.html
@@ -15,17 +15,17 @@
 <body>
 <div id="log"></div>
 <script type="text/javascript">
     var sheet = document.getElementById("styleElement").sheet;
     test(function() {
         assert_equals(sheet.cssRules.length, 1);
         assert_throws("HierarchyRequestError", function() { sheet.insertRule("p { color: green; }"); });
         assert_equals(sheet.cssRules.length, 1);
-    }, "inserRule with import and omitted index argument");
+    }, "insertRule with import and omitted index argument");
 
     test(function() {
         assert_equals(sheet.cssRules.length, 1);
         assert_throws("HierarchyRequestError", function() { sheet.insertRule("p { color: yellow; }", undefined); });
         assert_equals(sheet.cssRules.length, 1);
         assert_equals(sheet.cssRules.item(0).cssText, "@import url(\"support/a-green.css\");");
     }, "insertRule with import and undefined index argument");
 </script>
--- a/testing/web-platform/tests/css/cssom/insertRule-namespace-no-index.html
+++ b/testing/web-platform/tests/css/cssom/insertRule-namespace-no-index.html
@@ -17,24 +17,24 @@
 <body>
 <div id="log"></div>
 <script type="text/javascript">
     var sheet = document.getElementById("styleElement").sheet;
     test(function() {
         assert_equals(sheet.cssRules.length, 3);
         assert_throws("HierarchyRequestError", function() { sheet.insertRule("p { color: green; }"); });
         assert_equals(sheet.cssRules.length, 3);
-    }, "inserRule with namespace and omitted index argument");
+    }, "insertRule with namespace and omitted index argument");
 
     test(function() {
         assert_equals(sheet.cssRules.length, 3);
         assert_throws("HierarchyRequestError", function() { sheet.insertRule("p { color: yellow; }", undefined); });
         assert_equals(sheet.cssRules.length, 3);
     }, "insertRule with namespace and undefined index argument");
 
     test(function() {
         assert_equals(sheet.cssRules.length, 3);
         sheet.insertRule("@import url(\"support/a-green.css\");");
         assert_equals(sheet.cssRules.length, 4);
-    }, "inserRule with namespace and omitted index argument should insert import");
+    }, "insertRule with namespace and omitted index argument should insert import");
 </script>
 </body>
 </html>
--- a/testing/web-platform/tests/css/cssom/insertRule-no-index.html
+++ b/testing/web-platform/tests/css/cssom/insertRule-no-index.html
@@ -17,17 +17,17 @@
 <div id="log"></div>
 <script type="text/javascript">
     var sheet = document.getElementById("styleElement").sheet;
     test(function() {
         assert_equals(sheet.cssRules.length, 1);
         sheet.insertRule("p { color: green; }");
         assert_equals(sheet.cssRules.length, 2);
         assert_equals(sheet.cssRules.item(0).cssText, "p { color: green; }");
-    }, "inserRule with omitted index argument");
+    }, "insertRule with omitted index argument");
 
     test(function() {
         assert_equals(sheet.cssRules.length, 2);
         sheet.insertRule("p { color: yellow; }", undefined);
         assert_equals(sheet.cssRules.length, 3);
         assert_equals(sheet.cssRules.item(0).cssText, "p { color: yellow; }");
     }, "insertRule with undefined index argument");
 </script>