Bug 1577409 - Move natural-sort helper to fix Storage panel in remote debugging r=daisuke
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 30 Aug 2019 07:43:12 +0000
changeset 554588 784dbdeddcb360ab83be461f2d22c61e3170df0c
parent 554587 c2a5945163a9c36f99da5aa9fa7b45b551731408
child 554589 8c6403d1a20a55028508256f6d81480f01b5ccce
push id2165
push userffxbld-merge
push dateMon, 14 Oct 2019 16:30:58 +0000
treeherdermozilla-release@0eae18af659f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdaisuke
bugs1577409
milestone70.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 1577409 - Move natural-sort helper to fix Storage panel in remote debugging r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D43922
devtools/client/shared/moz.build
devtools/client/shared/natural-sort.js
devtools/client/shared/widgets/TableWidget.js
devtools/server/actors/storage.js
devtools/shared/moz.build
devtools/shared/natural-sort.js
--- a/devtools/client/shared/moz.build
+++ b/devtools/client/shared/moz.build
@@ -35,17 +35,16 @@ DevToolsModules(
     'enum.js',
     'events.js',
     'focus.js',
     'getjson.js',
     'inplace-editor.js',
     'key-shortcuts.js',
     'keycodes.js',
     'link.js',
-    'natural-sort.js',
     'node-attribute-parser.js',
     'options-view.js',
     'output-parser.js',
     'poller.js',
     'prefs.js',
     'react-utils.js',
     'scroll.js',
     'source-utils.js',
--- a/devtools/client/shared/widgets/TableWidget.js
+++ b/devtools/client/shared/widgets/TableWidget.js
@@ -14,17 +14,17 @@ loader.lazyRequireGetter(
   this,
   "clearNamedTimeout",
   "devtools/client/shared/widgets/view-helpers",
   true
 );
 loader.lazyRequireGetter(
   this,
   "naturalSortCaseInsensitive",
-  "devtools/client/shared/natural-sort",
+  "devtools/shared/natural-sort",
   true
 );
 const { KeyCodes } = require("devtools/client/shared/keycodes");
 
 const HTML_NS = "http://www.w3.org/1999/xhtml";
 const AFTER_SCROLL_DELAY = 100;
 
 // Different types of events emitted by the Various components of the
--- a/devtools/server/actors/storage.js
+++ b/devtools/server/actors/storage.js
@@ -31,17 +31,17 @@ const REMOTE_ENABLED_PREF = "devtools.de
 const EXTENSION_STORAGE_ENABLED_PREF =
   "devtools.storage.extensionStorage.enabled";
 
 const DEFAULT_VALUE = "value";
 
 loader.lazyRequireGetter(
   this,
   "naturalSortCaseInsensitive",
-  "devtools/client/shared/natural-sort",
+  "devtools/shared/natural-sort",
   true
 );
 
 // "Lax", "Strict" and "Unset" are special values of the sameSite property
 // that should not be translated.
 const COOKIE_SAMESITE = {
   LAX: "Lax",
   STRICT: "Strict",
--- a/devtools/shared/moz.build
+++ b/devtools/shared/moz.build
@@ -60,16 +60,17 @@ DevToolsModules(
     'extend.js',
     'flags.js',
     'generate-uuid.js',
     'indentation.js',
     'indexed-db.js',
     'l10n.js',
     'loader-plugin-raw.jsm',
     'Loader.jsm',
+    'natural-sort.js',
     'path.js',
     'plural-form.js',
     'protocol.js',
     'service-workers-debug-helper.js',
     'system.js',
     'task.js',
     'ThreadSafeDevToolsUtils.js',
     'throttle.js',
rename from devtools/client/shared/natural-sort.js
rename to devtools/shared/natural-sort.js