Bug 1331296 : Part 3 - Remove -moz-calc() from DevTool tests. r=tromey
authorAstley Chen <aschen@mozilla.com>
Wed, 18 Jan 2017 10:50:28 +0800
changeset 463175 b2a57de4472d0a674eeec427dffe3c12e3bfa74c
parent 463174 0cd431a10e070dae1def1f0903b7b70d65e91c41
child 463176 62fa067420ee63aa640a66c2259eea2b0d637960
push id41967
push userbmo:miket@mozilla.com
push dateWed, 18 Jan 2017 15:17:32 +0000
reviewerstromey
bugs1331296
milestone53.0a1
Bug 1331296 : Part 3 - Remove -moz-calc() from DevTool tests. r=tromey MozReview-Commit-ID: K74j01JYjfY
devtools/client/sourceeditor/test/css_autocompletion_tests.json
devtools/server/tests/mochitest/test_css-properties.html
--- a/devtools/client/sourceeditor/test/css_autocompletion_tests.json
+++ b/devtools/client/sourceeditor/test/css_autocompletion_tests.json
@@ -20,17 +20,17 @@
                "-moz-appearance"]],
     [[12, 20], ["none", "number-input"]],
     [[12, 22], ["none"]],
     [[17, 22], ["hsl", "hsla"]],
     [[19, 10], ["background", "background-attachment", "background-blend-mode",
                 "background-clip", "background-color", "background-image",
                 "background-origin", "background-position", "background-position-x",
                 "background-position-y", "background-repeat", "background-size"]],
-    [[21,  9], ["-moz-calc", "auto", "calc", "inherit", "initial","unset"]],
+    [[21,  9], ["auto", "calc", "inherit", "initial","unset"]],
     [[25, 26], [".devtools-toolbarbutton > tab",
                 ".devtools-toolbarbutton > hbox",
                 ".devtools-toolbarbutton > .toolbarbutton-menubutton-button"]],
     [[25, 31], [".devtools-toolbarbutton > hbox.toolbarbutton-menubutton-button"]],
     [[29, 20], [".devtools-menulist:after", ".devtools-menulist:active"]],
     [[30, 10], ["#devtools-anotherone", "#devtools-itjustgoeson", "#devtools-menu",
                 "#devtools-okstopitnow", "#devtools-toolbarbutton", "#devtools-yetagain"]],
     [[39, 39], [".devtools-toolbarbutton:not([label]) > tab"]],
--- a/devtools/server/tests/mochitest/test_css-properties.html
+++ b/devtools/server/tests/mochitest/test_css-properties.html
@@ -77,17 +77,17 @@ window.onload = function() {
     ok(cssProperties.isKnown("--foob\\{ar"),
       "A CSS variable with escaped character properly evaluates.");
     ok(cssProperties.isKnown("--f├╝bar"),
       "A CSS variable unicode properly evaluates.");
     ok(!cssProperties.isKnown("--foo bar"),
       "A CSS variable with spaces fails");
 
     is(toSortedString(cssProperties.getValues('margin')),
-       toSortedString(["-moz-calc","auto","calc","inherit","initial","unset"]),
+       toSortedString(["auto","calc","inherit","initial","unset"]),
        "Can get values for the CSS margin.");
     is(cssProperties.getValues('foobar').length, 0,
       "Unknown values return an empty array.");
 
     const bgColorValues = cssProperties.getValues('background-color');
     ok(bgColorValues.includes("blanchedalmond"),
       "A property with color values includes blanchedalmond.");
     ok(bgColorValues.includes("papayawhip"),