Bug 1398482 part 5 - Update devtools autocompletion expectations. r=me
authorMats Palmgren <mats@mozilla.com>
Tue, 24 Apr 2018 01:52:51 +0200
changeset 415117 a398b01cc697df1564ba0ee5063ba0edbb26823a
parent 415116 ab2b4fed2183d92a4ba9bb2ce3af828cf1242781
child 415118 d759ec86eb3832bced3376dbdf31f6da5bd052e8
push id102505
push usermpalmgren@mozilla.com
push dateMon, 23 Apr 2018 23:53:04 +0000
treeherdermozilla-inbound@d759ec86eb38 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1398482
milestone61.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 1398482 part 5 - Update devtools autocompletion expectations. r=me
devtools/client/inspector/rules/test/browser_rules_gridline-names-autocomplete.js
--- a/devtools/client/inspector/rules/test/browser_rules_gridline-names-autocomplete.js
+++ b/devtools/client/inspector/rules/test/browser_rules_gridline-names-autocomplete.js
@@ -24,34 +24,35 @@ const changeTestData = [
   ["l", {}, "col1-start", OPEN, SELECTED, CHANGE],
   ["VK_DOWN", {}, "col2-start", OPEN, SELECTED, CHANGE],
   ["VK_RIGHT", {}, "col2-start", !OPEN, !SELECTED, !CHANGE],
 ];
 
 // Creates a new CSS property value.
 // Checks that grid-area autocompletes column and row names.
 const newAreaTestData = [
-  ["g", {}, "grid", OPEN, SELECTED, !CHANGE],
+  ["g", {}, "gap", OPEN, SELECTED, !CHANGE],
+  ["VK_DOWN", {}, "grid", OPEN, SELECTED, !CHANGE],
   ["VK_DOWN", {}, "grid-area", OPEN, SELECTED, !CHANGE],
   ["VK_TAB", {}, "", !OPEN, !SELECTED, !CHANGE],
   "grid-line-names-updated",
   ["c", {}, "col1-start", OPEN, SELECTED, CHANGE],
   ["VK_BACK_SPACE", {}, "c", !OPEN, !SELECTED, CHANGE],
   ["VK_BACK_SPACE", {}, "", !OPEN, !SELECTED, CHANGE],
   ["r", {}, "row1-start", OPEN, SELECTED, CHANGE],
   ["r", {}, "rr", !OPEN, !SELECTED, CHANGE],
   ["VK_BACK_SPACE", {}, "r", !OPEN, !SELECTED, CHANGE],
   ["o", {}, "row1-start", OPEN, SELECTED, CHANGE],
   ["VK_RETURN", {}, "", !OPEN, !SELECTED, CHANGE],
 ];
 
 // Creates a new CSS property value.
 // Checks that grid-row only autocompletes row names.
 const newRowTestData = [
-  ["g", {}, "grid", OPEN, SELECTED, !CHANGE],
+  ["g", {}, "gap", OPEN, SELECTED, !CHANGE],
   ["r", {}, "grid", OPEN, SELECTED, !CHANGE],
   ["i", {}, "grid", OPEN, SELECTED, !CHANGE],
   ["d", {}, "grid", OPEN, SELECTED, !CHANGE],
   ["-", {}, "grid-area", OPEN, SELECTED, !CHANGE],
   ["r", {}, "grid-row", OPEN, SELECTED, !CHANGE],
   ["VK_RETURN", {}, "", !OPEN, !SELECTED, !CHANGE],
   "grid-line-names-updated",
   ["c", {}, "c", !OPEN, !SELECTED, CHANGE],