From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- devtools/client/shared/WeakMapMap.js | 107 + devtools/client/shared/async-store-helper.js | 57 + devtools/client/shared/autocomplete-popup.js | 709 + devtools/client/shared/build/babel.js | 1 + devtools/client/shared/build/build-debugger.js | 103 + devtools/client/shared/build/build.js | 78 + .../client/shared/build/node-templates.mozbuild | 36 + devtools/client/shared/classnames.js | 40 + devtools/client/shared/components/.eslintrc.js | 11 + devtools/client/shared/components/Accordion.css | 89 + devtools/client/shared/components/Accordion.js | 257 + .../client/shared/components/AppErrorBoundary.css | 86 + .../client/shared/components/AppErrorBoundary.js | 163 + devtools/client/shared/components/Frame.js | 401 + devtools/client/shared/components/HSplitBox.js | 165 + devtools/client/shared/components/List.css | 41 + devtools/client/shared/components/List.js | 352 + devtools/client/shared/components/MdnLink.css | 33 + devtools/client/shared/components/MdnLink.js | 38 + .../client/shared/components/NotificationBox.css | 130 + .../client/shared/components/NotificationBox.js | 403 + devtools/client/shared/components/SearchBox.js | 275 + .../components/SearchBoxAutocompletePopup.js | 150 + .../client/shared/components/SearchModifiers.css | 64 + .../client/shared/components/SearchModifiers.js | 84 + devtools/client/shared/components/Sidebar.js | 98 + .../client/shared/components/SidebarToggle.css | 39 + devtools/client/shared/components/SidebarToggle.js | 89 + devtools/client/shared/components/SmartTrace.css | 170 + devtools/client/shared/components/SmartTrace.js | 319 + devtools/client/shared/components/StackTrace.js | 96 + devtools/client/shared/components/Tree.css | 86 + devtools/client/shared/components/Tree.js | 1072 + .../client/shared/components/VirtualizedTree.js | 1071 + .../client/shared/components/VisibilityHandler.js | 57 + .../client/shared/components/menu/MenuButton.js | 450 + devtools/client/shared/components/menu/MenuItem.js | 211 + devtools/client/shared/components/menu/MenuList.js | 164 + devtools/client/shared/components/menu/moz.build | 12 + devtools/client/shared/components/menu/utils.js | 62 + devtools/client/shared/components/moz.build | 41 + .../shared/components/object-inspector/actions.js | 225 + .../components/ObjectInspector.css | 115 + .../object-inspector/components/ObjectInspector.js | 387 + .../components/ObjectInspectorItem.js | 285 + .../object-inspector/components/moz.build | 10 + .../shared/components/object-inspector/index.js | 10 + .../shared/components/object-inspector/moz.build | 16 + .../shared/components/object-inspector/reducer.js | 147 + .../components/object-inspector/utils/client.js | 124 + .../components/object-inspector/utils/index.js | 52 + .../object-inspector/utils/load-properties.js | 260 + .../components/object-inspector/utils/moz.build | 13 + .../components/object-inspector/utils/node.js | 1059 + .../components/object-inspector/utils/selection.js | 16 + .../client/shared/components/reps/images/input.svg | 7 + .../components/reps/images/jump-definition.svg | 8 + .../shared/components/reps/images/open-a11y.svg | 10 + .../components/reps/images/open-inspector.svg | 6 + devtools/client/shared/components/reps/index.js | 32 + devtools/client/shared/components/reps/moz.build | 14 + devtools/client/shared/components/reps/reps.css | 400 + .../shared/components/reps/reps/accessible.js | 197 + .../client/shared/components/reps/reps/accessor.js | 106 + .../client/shared/components/reps/reps/array.js | 170 + .../shared/components/reps/reps/attribute.js | 80 + .../client/shared/components/reps/reps/big-int.js | 57 + .../shared/components/reps/reps/comment-node.js | 76 + .../shared/components/reps/reps/constants.js | 18 + .../components/reps/reps/custom-formatter.js | 256 + .../shared/components/reps/reps/date-time.js | 95 + .../shared/components/reps/reps/document-type.js | 60 + .../client/shared/components/reps/reps/document.js | 79 + .../shared/components/reps/reps/element-node.js | 322 + .../client/shared/components/reps/reps/error.js | 338 + .../client/shared/components/reps/reps/event.js | 115 + .../client/shared/components/reps/reps/function.js | 264 + .../shared/components/reps/reps/grip-array.js | 263 + .../shared/components/reps/reps/grip-entry.js | 78 + .../client/shared/components/reps/reps/grip-map.js | 234 + .../client/shared/components/reps/reps/grip.js | 401 + .../client/shared/components/reps/reps/infinity.js | 52 + .../client/shared/components/reps/reps/moz.build | 45 + devtools/client/shared/components/reps/reps/nan.js | 51 + .../client/shared/components/reps/reps/null.js | 59 + .../client/shared/components/reps/reps/number.js | 63 + .../components/reps/reps/object-with-text.js | 70 + .../shared/components/reps/reps/object-with-url.js | 73 + .../client/shared/components/reps/reps/object.js | 207 + .../client/shared/components/reps/reps/promise.js | 105 + .../client/shared/components/reps/reps/prop-rep.js | 106 + .../client/shared/components/reps/reps/regexp.js | 66 + .../shared/components/reps/reps/rep-utils.js | 596 + devtools/client/shared/components/reps/reps/rep.js | 205 + .../client/shared/components/reps/reps/string.js | 410 + .../shared/components/reps/reps/stylesheet.js | 78 + .../client/shared/components/reps/reps/symbol.js | 82 + .../shared/components/reps/reps/text-node.js | 141 + .../shared/components/reps/reps/undefined.js | 59 + .../client/shared/components/reps/reps/window.js | 102 + .../components/reps/shared/dom-node-constants.js | 31 + .../components/reps/shared/grip-length-bubble.js | 64 + .../client/shared/components/reps/shared/moz.build | 10 + .../client/shared/components/splitter/Draggable.js | 106 + .../components/splitter/GridElementResizer.css | 32 + .../components/splitter/GridElementWidthResizer.js | 138 + .../client/shared/components/splitter/SplitBox.css | 93 + .../client/shared/components/splitter/SplitBox.js | 351 + .../client/shared/components/splitter/moz.build | 11 + devtools/client/shared/components/tabs/TabBar.js | 378 + devtools/client/shared/components/tabs/Tabs.css | 128 + devtools/client/shared/components/tabs/Tabs.js | 468 + devtools/client/shared/components/tabs/moz.build | 10 + .../shared/components/test/browser/browser.toml | 14 + .../test/browser/browser_notification_box_basic.js | 34 + .../components/test/browser/browser_reps_stubs.js | 406 + .../components/test/chrome/accordion.snapshots.js | 176 + .../shared/components/test/chrome/chrome.toml | 87 + .../client/shared/components/test/chrome/head.js | 379 + .../test/chrome/test_GridElementWidthResizer.html | 209 + .../chrome/test_GridElementWidthResizer_RTL.html | 210 + .../components/test/chrome/test_HSplitBox_01.html | 140 + .../components/test/chrome/test_accordion.html | 141 + .../components/test/chrome/test_frame_01.html | 361 + .../components/test/chrome/test_frame_02.html | 103 + .../shared/components/test/chrome/test_list.html | 127 + .../components/test/chrome/test_list_keyboard.html | 283 + .../test/chrome/test_notification_box_01.html | 136 + .../test/chrome/test_notification_box_02.html | 73 + .../test/chrome/test_notification_box_03.html | 87 + .../test/chrome/test_notification_box_04.html | 67 + .../test/chrome/test_notification_box_05.html | 63 + .../chrome/test_searchbox-with-autocomplete.html | 301 + .../components/test/chrome/test_searchbox.html | 74 + .../test/chrome/test_sidebar_toggle.html | 59 + .../test/chrome/test_smart-trace-grouping.html | 141 + .../test/chrome/test_smart-trace-source-maps.html | 290 + .../components/test/chrome/test_smart-trace.html | 172 + .../test/chrome/test_stack-trace-source-maps.html | 98 + .../components/test/chrome/test_stack-trace.html | 100 + .../test/chrome/test_tabs_accessibility.html | 82 + .../components/test/chrome/test_tabs_menu.html | 84 + .../components/test/chrome/test_tree-view_01.html | 290 + .../components/test/chrome/test_tree-view_02.html | 136 + .../components/test/chrome/test_tree_01.html | 68 + .../components/test/chrome/test_tree_02.html | 49 + .../components/test/chrome/test_tree_03.html | 50 + .../components/test/chrome/test_tree_04.html | 133 + .../components/test/chrome/test_tree_05.html | 195 + .../components/test/chrome/test_tree_06.html | 340 + .../components/test/chrome/test_tree_07.html | 69 + .../components/test/chrome/test_tree_08.html | 61 + .../components/test/chrome/test_tree_09.html | 85 + .../components/test/chrome/test_tree_10.html | 57 + .../components/test/chrome/test_tree_11.html | 100 + .../components/test/chrome/test_tree_12.html | 146 + .../components/test/chrome/test_tree_13.html | 88 + .../components/test/chrome/test_tree_14.html | 245 + .../components/test/chrome/test_tree_15.html | 99 + .../components/test/chrome/test_tree_16.html | 145 + .../shared/components/test/node/.eslintrc.js | 10 + .../components/test/node/__mocks__/Services.js | 14 + .../components/test/node/__mocks__/object-front.js | 55 + .../components/test/node/__mocks__/string-front.js | 15 + .../shared/components/test/node/babel.config.js | 13 + .../components/__snapshots__/tree.test.js.snap | 1171 + .../component/__snapshots__/basic.test.js.snap | 63 + .../__snapshots__/classnames.test.js.snap | 351 + .../component/__snapshots__/entries.test.js.snap | 94 + .../component/__snapshots__/expand.test.js.snap | 175 + .../__snapshots__/getter-setter.test.js.snap | 51 + .../__snapshots__/keyboard-navigation.test.js.snap | 55 + .../__snapshots__/properties.test.js.snap | 19 + .../component/__snapshots__/proxy.test.js.snap | 9 + .../component/__snapshots__/window.test.js.snap | 2119 ++ .../object-inspector/component/basic.test.js | 439 + .../object-inspector/component/classnames.test.js | 53 + .../component/create-long-string-front.test.js | 94 + .../component/create-object-client.test.js | 114 + .../object-inspector/component/entries.test.js | 137 + .../object-inspector/component/events.test.js | 171 + .../object-inspector/component/expand.test.js | 435 + .../object-inspector/component/function.test.js | 90 + .../component/getter-setter.test.js | 106 + .../component/keyboard-navigation.test.js | 89 + .../object-inspector/component/properties.test.js | 158 + .../object-inspector/component/proxy.test.js | 133 + .../component/should-item-update.test.js | 96 + .../object-inspector/component/window.test.js | 96 + .../node/components/object-inspector/test-utils.js | 231 + .../utils/__snapshots__/promises.test.js.snap | 49 + .../object-inspector/utils/create-node.test.js | 87 + .../object-inspector/utils/get-children.test.js | 278 + .../utils/get-closest-grip-node.test.js | 52 + .../object-inspector/utils/get-value.test.js | 91 + .../utils/make-node-for-properties.test.js | 295 + .../utils/make-numerical-buckets.test.js | 138 + .../utils/node-has-entries.test.js | 51 + .../object-inspector/utils/node-is-window.test.js | 20 + .../node-supports-numerical-bucketing.test.js | 72 + .../object-inspector/utils/promises.test.js | 54 + .../utils/should-load-item-entries.test.js | 171 + .../utils/should-load-item-full-text.test.js | 56 + .../should-load-item-indexed-properties.test.js | 259 + ...should-load-item-non-indexed-properties.test.js | 222 + .../utils/should-load-item-prototype.test.js | 218 + .../utils/should-load-item-symbols.test.js | 218 + .../utils/should-render-roots-in-reps.test.js | 153 + .../reps/__snapshots__/accessor.test.js.snap | 3 + .../reps/__snapshots__/element-node.test.js.snap | 42 + .../reps/__snapshots__/error.test.js.snap | 1225 ++ .../components/reps/__snapshots__/nan.test.js.snap | 10 + .../test/node/components/reps/accessible.test.js | 321 + .../test/node/components/reps/accessor.test.js | 137 + .../test/node/components/reps/array.test.js | 117 + .../test/node/components/reps/attribute.test.js | 44 + .../test/node/components/reps/big-int.test.js | 106 + .../test/node/components/reps/comment-node.test.js | 80 + .../test/node/components/reps/date-time.test.js | 61 + .../node/components/reps/document-type.test.js | 51 + .../test/node/components/reps/document.test.js | 52 + .../test/node/components/reps/element-node.test.js | 668 + .../test/node/components/reps/error.test.js | 869 + .../test/node/components/reps/event.test.js | 160 + .../test/node/components/reps/failure.test.js | 66 + .../test/node/components/reps/function.test.js | 584 + .../test/node/components/reps/grip-array.test.js | 755 + .../test/node/components/reps/grip-entry.test.js | 191 + .../test/node/components/reps/grip-map.test.js | 390 + .../test/node/components/reps/grip.test.js | 750 + .../test/node/components/reps/helper-tests.test.js | 122 + .../test/node/components/reps/infinity.test.js | 70 + .../test/node/components/reps/long-string.test.js | 135 + .../test/node/components/reps/nan.test.js | 43 + .../test/node/components/reps/null.test.js | 47 + .../test/node/components/reps/number.test.js | 136 + .../node/components/reps/object-with-text.test.js | 66 + .../node/components/reps/object-with-url.test.js | 45 + .../test/node/components/reps/object.test.js | 356 + .../test/node/components/reps/promise.test.js | 229 + .../test/node/components/reps/regexp.test.js | 59 + .../node/components/reps/string-with-url.test.js | 630 + .../test/node/components/reps/string.test.js | 257 + .../test/node/components/reps/stylesheet.test.js | 41 + .../test/node/components/reps/symbol.test.js | 64 + .../test/node/components/reps/test-helpers.js | 116 + .../test/node/components/reps/text-node.test.js | 203 + .../test/node/components/reps/undefined.test.js | 58 + .../test/node/components/reps/window.test.js | 197 + .../components/test/node/components/tree.test.js | 911 + .../shared/components/test/node/jest.config.js | 16 + .../shared/components/test/node/package.json | 27 + .../client/shared/components/test/node/setup.js | 15 + .../test/node/stubs/object-inspector/grip.js | 64 + .../test/node/stubs/object-inspector/map.js | 154 + .../node/stubs/object-inspector/performance.js | 784 + .../components/test/node/stubs/reps/accessible.js | 74 + .../components/test/node/stubs/reps/accessor.js | 85 + .../components/test/node/stubs/reps/attribute.js | 36 + .../components/test/node/stubs/reps/big-int.js | 196 + .../test/node/stubs/reps/browser_dummy.js | 11 + .../test/node/stubs/reps/comment-node.js | 36 + .../components/test/node/stubs/reps/date-time.js | 47 + .../test/node/stubs/reps/document-type.js | 40 + .../components/test/node/stubs/reps/document.js | 39 + .../test/node/stubs/reps/element-node.js | 292 + .../components/test/node/stubs/reps/error.js | 396 + .../components/test/node/stubs/reps/event.js | 269 + .../components/test/node/stubs/reps/failure.js | 21 + .../components/test/node/stubs/reps/function.js | 227 + .../components/test/node/stubs/reps/grip-array.js | 1087 + .../components/test/node/stubs/reps/grip-entry.js | 16 + .../components/test/node/stubs/reps/grip-map.js | 908 + .../shared/components/test/node/stubs/reps/grip.js | 1057 + .../components/test/node/stubs/reps/infinity.js | 19 + .../components/test/node/stubs/reps/long-string.js | 39 + .../shared/components/test/node/stubs/reps/nan.js | 15 + .../shared/components/test/node/stubs/reps/null.js | 15 + .../components/test/node/stubs/reps/number.js | 21 + .../test/node/stubs/reps/object-with-text.js | 36 + .../test/node/stubs/reps/object-with-url.js | 22 + .../components/test/node/stubs/reps/promise.js | 244 + .../components/test/node/stubs/reps/regexp.js | 36 + .../components/test/node/stubs/reps/stubs.toml | 20 + .../components/test/node/stubs/reps/stylesheet.js | 29 + .../components/test/node/stubs/reps/symbol.js | 33 + .../components/test/node/stubs/reps/text-node.js | 141 + .../components/test/node/stubs/reps/undefined.js | 15 + .../components/test/node/stubs/reps/window.js | 65 + .../client/shared/components/test/node/yarn.lock | 4209 ++++ .../components/throttling/NetworkThrottlingMenu.js | 100 + .../client/shared/components/throttling/actions.js | 22 + .../client/shared/components/throttling/moz.build | 13 + .../shared/components/throttling/profiles.js | 122 + .../client/shared/components/throttling/reducer.js | 29 + .../client/shared/components/throttling/types.js | 17 + .../client/shared/components/tree/LabelCell.js | 76 + .../shared/components/tree/ObjectProvider.js | 86 + devtools/client/shared/components/tree/TreeCell.js | 139 + .../client/shared/components/tree/TreeHeader.js | 120 + devtools/client/shared/components/tree/TreeRow.js | 304 + .../client/shared/components/tree/TreeView.css | 198 + devtools/client/shared/components/tree/TreeView.js | 799 + devtools/client/shared/components/tree/moz.build | 13 + devtools/client/shared/css-angle.js | 349 + devtools/client/shared/curl.js | 489 + devtools/client/shared/devices.js | 182 + devtools/client/shared/enum.js | 19 + devtools/client/shared/events.js | 22 + devtools/client/shared/fluent-l10n/fluent-l10n.js | 64 + devtools/client/shared/fluent-l10n/moz.build | 9 + devtools/client/shared/focus.js | 73 + devtools/client/shared/inplace-editor.js | 1964 ++ devtools/client/shared/key-shortcuts.js | 308 + devtools/client/shared/keycodes.js | 139 + devtools/client/shared/link.js | 86 + devtools/client/shared/moz.build | 65 + devtools/client/shared/node-attribute-parser.js | 435 + devtools/client/shared/output-parser.js | 1984 ++ devtools/client/shared/prefs.js | 239 + devtools/client/shared/react-utils.js | 30 + devtools/client/shared/redux/create-store.js | 90 + .../client/shared/redux/middleware/debounce.js | 100 + devtools/client/shared/redux/middleware/ignore.js | 38 + devtools/client/shared/redux/middleware/log.js | 31 + devtools/client/shared/redux/middleware/moz.build | 18 + .../shared/redux/middleware/performance-marker.js | 68 + devtools/client/shared/redux/middleware/promise.js | 69 + devtools/client/shared/redux/middleware/task.js | 38 + devtools/client/shared/redux/middleware/thunk.js | 23 + .../client/shared/redux/middleware/wait-service.js | 64 + .../shared/redux/middleware/xpcshell/.eslintrc.js | 10 + .../shared/redux/middleware/xpcshell/head.js | 26 + .../middleware/xpcshell/test_middleware-task-01.js | 66 + .../middleware/xpcshell/test_middleware-task-02.js | 86 + .../middleware/xpcshell/test_middleware-task-03.js | 50 + .../shared/redux/middleware/xpcshell/xpcshell.toml | 11 + devtools/client/shared/redux/moz.build | 15 + devtools/client/shared/redux/subscriber.js | 16 + .../shared/redux/visibility-handler-connect.js | 35 + .../shared/remote-debugging/adb/adb-addon.js | 186 + .../shared/remote-debugging/adb/adb-binary.js | 240 + .../shared/remote-debugging/adb/adb-client.js | 82 + .../shared/remote-debugging/adb/adb-device.js | 53 + .../shared/remote-debugging/adb/adb-process.js | 155 + .../remote-debugging/adb/adb-running-checker.js | 91 + .../shared/remote-debugging/adb/adb-runtime.js | 129 + .../shared/remote-debugging/adb/adb-socket.js | 72 + devtools/client/shared/remote-debugging/adb/adb.js | 176 + .../shared/remote-debugging/adb/commands/index.js | 29 + .../remote-debugging/adb/commands/list-devices.js | 29 + .../shared/remote-debugging/adb/commands/moz.build | 12 + .../adb/commands/prepare-tcp-connection.js | 46 + .../remote-debugging/adb/commands/run-command.js | 66 + .../shared/remote-debugging/adb/commands/shell.js | 107 + .../remote-debugging/adb/commands/track-devices.js | 163 + .../client/shared/remote-debugging/adb/moz.build | 24 + .../remote-debugging/adb/xpcshell/.eslintrc.js | 9 + .../shared/remote-debugging/adb/xpcshell/adb.py | 72 + .../remote-debugging/adb/xpcshell/test_adb.js | 247 + .../adb/xpcshell/test_prepare-tcp-connection.js | 78 + .../remote-debugging/adb/xpcshell/xpcshell-head.js | 10 + .../remote-debugging/adb/xpcshell/xpcshell.toml | 14 + .../client/shared/remote-debugging/constants.js | 24 + devtools/client/shared/remote-debugging/moz.build | 20 + .../remote-debugging/remote-client-manager.js | 146 + .../remote-debugging/test/xpcshell/.eslintrc.js | 6 + .../test/xpcshell/test_remote_client_manager.js | 153 + .../test/xpcshell/test_version_checker.js | 159 + .../test/xpcshell/xpcshell-head.js | 10 + .../remote-debugging/test/xpcshell/xpcshell.toml | 9 + .../shared/remote-debugging/version-checker.js | 154 + devtools/client/shared/screenshot.js | 424 + devtools/client/shared/scroll.js | 144 + devtools/client/shared/source-map-loader/index.js | 139 + devtools/client/shared/source-map-loader/moz.build | 18 + .../client/shared/source-map-loader/source-map.js | 646 + .../source-map-loader/test/browser/browser.toml | 21 + .../test/browser/browser_getContentType.js | 32 + .../test/browser/browser_locations.js | 141 + .../test/browser/browser_source-map.js | 163 + .../test/browser/browser_wasm-source-map.js | 126 + .../test/browser/fixtures/absolute.js | 2 + .../test/browser/fixtures/absolute.js.map | 10 + .../test/browser/fixtures/bundle.js | 94 + .../test/browser/fixtures/bundle.js.map | 21 + .../test/browser/fixtures/empty.js | 2 + .../test/browser/fixtures/empty.js.map | 10 + .../source-map-loader/test/browser/fixtures/if.js | 12 + .../test/browser/fixtures/if.out.js | 16 + .../test/browser/fixtures/if.out.js.map | 7 + .../test/browser/fixtures/intermingled-sources.js | 62 + .../browser/fixtures/intermingled-sources.js.map | 8 + .../test/browser/fixtures/missingmap.js | 2 + .../test/browser/fixtures/noroot.js | 2 + .../test/browser/fixtures/noroot.js.map | 9 + .../test/browser/fixtures/noroot2.js | 2 + .../test/browser/fixtures/noroot2.js.map | 10 + .../test/browser/fixtures/wasm.js.map | 7 + .../shared/source-map-loader/test/browser/head.js | 27 + .../shared/source-map-loader/utils/assert.js | 13 + .../source-map-loader/utils/fetchSourceMap.js | 139 + .../utils/getOriginalStackFrames.js | 38 + .../client/shared/source-map-loader/utils/index.js | 103 + .../shared/source-map-loader/utils/moz.build | 15 + .../source-map-loader/utils/network-request.js | 43 + .../source-map-loader/utils/sourceMapRequests.js | 96 + .../shared/source-map-loader/utils/wasmRemap.js | 107 + .../source-map-loader/wasm-dwarf/convertToJSON.js | 66 + .../wasm-dwarf/dwarf_to_json.wasm | Bin 0 -> 246995 bytes .../shared/source-map-loader/wasm-dwarf/moz.build | 12 + .../source-map-loader/wasm-dwarf/wasmAsset.js | 17 + .../wasm-dwarf/wasmDwarfExpressions.js | 260 + .../source-map-loader/wasm-dwarf/wasmXScopes.js | 215 + devtools/client/shared/source-map-loader/worker.js | 50 + devtools/client/shared/source-utils.js | 359 + devtools/client/shared/sourceeditor/README | 259 + .../client/shared/sourceeditor/autocomplete.js | 358 + .../client/shared/sourceeditor/codemirror/LICENSE | 23 + .../codemirror/addon/accessibleTextarea.js | 146 + .../codemirror/addon/comment/comment.js | 209 + .../codemirror/addon/comment/continuecomment.js | 78 + .../codemirror/addon/dialog/dialog.css | 32 + .../sourceeditor/codemirror/addon/dialog/dialog.js | 161 + .../codemirror/addon/display/placeholder.js | 63 + .../codemirror/addon/edit/closebrackets.js | 191 + .../sourceeditor/codemirror/addon/edit/closetag.js | 184 + .../codemirror/addon/edit/continuelist.js | 99 + .../codemirror/addon/edit/matchbrackets.js | 150 + .../codemirror/addon/edit/matchtags.js | 66 + .../codemirror/addon/edit/trailingspace.js | 27 + .../codemirror/addon/fold/brace-fold.js | 105 + .../codemirror/addon/fold/comment-fold.js | 59 + .../sourceeditor/codemirror/addon/fold/foldcode.js | 152 + .../codemirror/addon/fold/foldgutter.css | 20 + .../codemirror/addon/fold/foldgutter.js | 151 + .../codemirror/addon/fold/indent-fold.js | 48 + .../codemirror/addon/fold/markdown-fold.js | 49 + .../sourceeditor/codemirror/addon/fold/xml-fold.js | 184 + .../codemirror/addon/runmode/runmode.js | 72 + .../codemirror/addon/scroll/annotatescrollbar.js | 128 + .../codemirror/addon/search/match-highlighter.js | 165 + .../codemirror/addon/search/matchesonscrollbar.js | 97 + .../sourceeditor/codemirror/addon/search/search.js | 323 + .../codemirror/addon/search/searchcursor.js | 293 + .../codemirror/addon/selection/active-line.js | 72 + .../codemirror/addon/selection/mark-selection.js | 119 + .../shared/sourceeditor/codemirror/cmiframe.html | 28 + .../sourceeditor/codemirror/codemirror.bundle.js | 1 + .../shared/sourceeditor/codemirror/keymap/emacs.js | 418 + .../sourceeditor/codemirror/keymap/sublime.js | 691 + .../shared/sourceeditor/codemirror/keymap/vim.js | 5494 +++++ .../sourceeditor/codemirror/lib/codemirror.css | 350 + .../sourceeditor/codemirror/lib/codemirror.js | 9788 +++++++++ .../sourceeditor/codemirror/mode/clike/clike.js | 889 + .../codemirror/mode/clojure/clojure.js | 292 + .../codemirror/mode/coffeescript/coffeescript.js | 359 + .../shared/sourceeditor/codemirror/mode/css/css.js | 831 + .../shared/sourceeditor/codemirror/mode/elm/elm.js | 205 + .../sourceeditor/codemirror/mode/haxe/haxe.js | 515 + .../codemirror/mode/htmlmixed/htmlmixed.js | 152 + .../sourceeditor/codemirror/mode/http/http.js | 113 + .../codemirror/mode/javascript/javascript.js | 934 + .../shared/sourceeditor/codemirror/mode/jsx/jsx.js | 148 + .../sourceeditor/codemirror/mode/rust/rust.js | 72 + .../sourceeditor/codemirror/mode/simple/simple.js | 216 + .../sourceeditor/codemirror/mode/wasm/wasm.js | 203 + .../shared/sourceeditor/codemirror/mode/xml/xml.js | 413 + .../shared/sourceeditor/codemirror/mozilla.css | 364 + .../sourceeditor/codemirror6/codemirror6.bundle.js | 1 + .../shared/sourceeditor/codemirror6/index.mjs | 22 + .../shared/sourceeditor/codemirror6/moz.build | 12 + .../shared/sourceeditor/css-autocompleter.js | 1248 ++ .../sourceeditor/editor-commands-controller.js | 97 + devtools/client/shared/sourceeditor/editor.js | 1818 ++ devtools/client/shared/sourceeditor/moz.build | 22 + devtools/client/shared/sourceeditor/package.json | 26 + .../client/shared/sourceeditor/rollup.config.mjs | 24 + .../sourceeditor/test/CodeMirrorTestActors.sys.mjs | 49 + .../client/shared/sourceeditor/test/browser.toml | 70 + .../shared/sourceeditor/test/browser_codemirror.js | 33 + .../test/browser_css_autocompletion.js | 172 + .../sourceeditor/test/browser_css_getInfo.js | 250 + .../sourceeditor/test/browser_css_statemachine.js | 144 + .../sourceeditor/test/browser_detectindent.js | 99 + .../sourceeditor/test/browser_editor_addons.js | 33 + .../sourceeditor/test/browser_editor_alt_b_f.js | 46 + .../test/browser_editor_autocomplete_basic.js | 51 + .../test/browser_editor_autocomplete_events.js | 158 + .../sourceeditor/test/browser_editor_basic.js | 75 + .../sourceeditor/test/browser_editor_cursor.js | 52 + .../test/browser_editor_cursor_blink.js | 73 + .../test/browser_editor_disableSearchAddon.js | 38 + .../sourceeditor/test/browser_editor_find_again.js | 217 + .../sourceeditor/test/browser_editor_goto_line.js | 91 + .../sourceeditor/test/browser_editor_history.js | 30 + .../sourceeditor/test/browser_editor_markers.js | 43 + .../sourceeditor/test/browser_editor_movelines.js | 61 + .../sourceeditor/test/browser_editor_prefs.js | 139 + .../shared/sourceeditor/test/browser_vimemacs.js | 13 + .../shared/sourceeditor/test/cm_mode_ruby.js | 285 + .../sourceeditor/test/cm_script_injection_test.js | 10 + .../sourceeditor/test/codemirror/codemirror.html | 213 + .../sourceeditor/test/codemirror/comment_test.js | 114 + .../sourceeditor/test/codemirror/doc_test.js | 371 + .../shared/sourceeditor/test/codemirror/driver.js | 142 + .../sourceeditor/test/codemirror/emacs_test.js | 149 + .../test/codemirror/mode/javascript/test.js | 513 + .../sourceeditor/test/codemirror/mode_test.css | 23 + .../sourceeditor/test/codemirror/mode_test.js | 193 + .../sourceeditor/test/codemirror/multi_test.js | 295 + .../sourceeditor/test/codemirror/search_test.js | 85 + .../sourceeditor/test/codemirror/sublime_test.js | 284 + .../shared/sourceeditor/test/codemirror/test.js | 2686 +++ .../sourceeditor/test/codemirror/vim_test.js | 4729 ++++ .../sourceeditor/test/codemirror/vimemacs.html | 215 + .../test/css_autocompletion_tests.json | 106 + .../test/css_statemachine_testcases.css | 121 + .../sourceeditor/test/css_statemachine_tests.json | 319 + devtools/client/shared/sourceeditor/test/head.js | 195 + .../client/shared/sourceeditor/test/head.xhtml | 5 + devtools/client/shared/sourceeditor/wasm.js | 93 + .../client/shared/sourceeditor/webpack.config.js | 61 + devtools/client/shared/string-utils.js | 40 + devtools/client/shared/stylesheet-utils.js | 70 + devtools/client/shared/suggestion-picker.js | 176 + devtools/client/shared/telemetry.js | 819 + .../test-helpers/jest-fixtures/ChromeUtils.js | 12 + .../shared/test-helpers/jest-fixtures/Services.js | 566 + .../test-helpers/jest-fixtures/devtools-utils.js | 13 + .../test-helpers/jest-fixtures/empty-module.js | 7 + .../test-helpers/jest-fixtures/fluent-l10n.js | 23 + .../test-helpers/jest-fixtures/generate-uuid.js | 11 + .../test-helpers/jest-fixtures/indexed-db.js | 15 + .../test-helpers/jest-fixtures/plural-form.js | 11 + .../shared/test-helpers/jest-fixtures/promise.js | 7 + .../shared/test-helpers/jest-fixtures/svgMock.js | 7 + .../shared/test-helpers/jest-fixtures/telemetry.js | 13 + .../test-helpers/jest-fixtures/unicode-url.js | 23 + .../shared/test-helpers/shared-jest.config.js | 42 + .../shared/test-helpers/shared-node-helpers.js | 142 + .../shared/test/addons/test-addon-1/manifest.json | 10 + .../shared/test/addons/test-addon-2/manifest.json | 10 + devtools/client/shared/test/browser.toml | 323 + .../shared/test/browser_autocomplete_popup.js | 121 + .../browser_autocomplete_popup_consecutive-show.js | 57 + .../test/browser_autocomplete_popup_input.js | 251 + .../shared/test/browser_browserloader_mocks.js | 162 + devtools/client/shared/test/browser_css_angle.js | 204 + devtools/client/shared/test/browser_css_color.js | 106 + .../client/shared/test/browser_cubic-bezier-01.js | 38 + .../client/shared/test/browser_cubic-bezier-02.js | 206 + .../client/shared/test/browser_cubic-bezier-03.js | 70 + .../client/shared/test/browser_cubic-bezier-04.js | 59 + .../client/shared/test/browser_cubic-bezier-05.js | 69 + .../client/shared/test/browser_cubic-bezier-06.js | 95 + .../client/shared/test/browser_cubic-bezier-07.js | 69 + .../client/shared/test/browser_dbg_globalactor.js | 71 + .../client/shared/test/browser_dbg_listaddons.js | 137 + .../client/shared/test/browser_dbg_listtabs-01.js | 84 + .../client/shared/test/browser_dbg_listtabs-02.js | 248 + .../client/shared/test/browser_dbg_listworkers.js | 75 + .../shared/test/browser_dbg_multiple-windows.js | 122 + .../test/browser_dbg_target-scoped-actor-01.js | 43 + .../test/browser_dbg_target-scoped-actor-02.js | 58 + devtools/client/shared/test/browser_devices.js | 76 + .../client/shared/test/browser_filter-editor-01.js | 150 + .../client/shared/test/browser_filter-editor-02.js | 114 + .../client/shared/test/browser_filter-editor-03.js | 84 + .../client/shared/test/browser_filter-editor-04.js | 106 + .../client/shared/test/browser_filter-editor-05.js | 166 + .../client/shared/test/browser_filter-editor-06.js | 77 + .../client/shared/test/browser_filter-editor-07.js | 32 + .../client/shared/test/browser_filter-editor-08.js | 103 + .../client/shared/test/browser_filter-editor-09.js | 155 + .../client/shared/test/browser_filter-editor-10.js | 100 + .../shared/test/browser_filter-presets-01.js | 117 + .../shared/test/browser_filter-presets-02.js | 47 + .../shared/test/browser_filter-presets-03.js | 42 + .../client/shared/test/browser_html_tooltip-01.js | 78 + .../client/shared/test/browser_html_tooltip-02.js | 227 + .../client/shared/test/browser_html_tooltip-03.js | 96 + .../client/shared/test/browser_html_tooltip-04.js | 100 + .../client/shared/test/browser_html_tooltip-05.js | 101 + .../shared/test/browser_html_tooltip_arrow-01.js | 86 + .../shared/test/browser_html_tooltip_arrow-02.js | 83 + .../test/browser_html_tooltip_consecutive-show.js | 70 + .../test/browser_html_tooltip_doorhanger-01.js | 79 + .../test/browser_html_tooltip_doorhanger-02.js | 76 + .../test/browser_html_tooltip_height-auto.js | 108 + .../shared/test/browser_html_tooltip_hover.js | 65 + .../shared/test/browser_html_tooltip_offset.js | 97 + .../shared/test/browser_html_tooltip_resize.js | 97 + .../client/shared/test/browser_html_tooltip_rtl.js | 226 + .../test/browser_html_tooltip_screen_edge.js | 74 + .../test/browser_html_tooltip_variable-height.js | 77 + .../shared/test/browser_html_tooltip_width-auto.js | 53 + .../test/browser_html_tooltip_xul-wrapper.js | 79 + .../shared/test/browser_html_tooltip_zoom.js | 74 + .../shared/test/browser_inplace-editor-01.js | 202 + .../shared/test/browser_inplace-editor-02.js | 80 + ...browser_inplace-editor_autoclose_parentheses.js | 77 + .../test/browser_inplace-editor_autocomplete_01.js | 79 + .../test/browser_inplace-editor_autocomplete_02.js | 78 + ...ser_inplace-editor_autocomplete_css_variable.js | 104 + .../browser_inplace-editor_autocomplete_offset.js | 115 + .../browser_inplace-editor_focus_closest_editor.js | 180 + .../shared/test/browser_inplace-editor_maxwidth.js | 138 + .../test/browser_inplace-editor_stop_on_key.js | 219 + .../client/shared/test/browser_key_shortcuts.js | 468 + devtools/client/shared/test/browser_keycodes.js | 12 + .../client/shared/test/browser_layoutHelpers.js | 131 + .../test/browser_layoutHelpers_getBoxQuads1.js | 353 + .../test/browser_layoutHelpers_getBoxQuads2.js | 185 + devtools/client/shared/test/browser_link.js | 40 + devtools/client/shared/test/browser_num-l10n.js | 70 + .../client/shared/test/browser_outputparser.js | 856 + devtools/client/shared/test/browser_prefs-01.js | 53 + devtools/client/shared/test/browser_prefs-02.js | 67 + devtools/client/shared/test/browser_require_raw.js | 23 + devtools/client/shared/test/browser_spectrum.js | 518 + .../shared/test/browser_tableWidget_basic.js | 448 + .../browser_tableWidget_keyboard_interaction.js | 202 + .../test/browser_tableWidget_mouse_interaction.js | 359 + .../test/browser_telemetry_button_eyedropper.js | 39 + .../test/browser_telemetry_button_responsive.js | 108 + .../client/shared/test/browser_telemetry_misc.js | 51 + .../shared/test/browser_telemetry_sidebar.js | 233 + .../shared/test/browser_telemetry_toolbox.js | 34 + .../browser_telemetry_toolboxtabs_inspector.js | 39 + .../browser_telemetry_toolboxtabs_jsdebugger.js | 39 + .../browser_telemetry_toolboxtabs_jsprofiler.js | 39 + .../browser_telemetry_toolboxtabs_netmonitor.js | 39 + .../test/browser_telemetry_toolboxtabs_options.js | 34 + .../test/browser_telemetry_toolboxtabs_storage.js | 34 + .../browser_telemetry_toolboxtabs_styleeditor.js | 39 + .../browser_telemetry_toolboxtabs_webconsole.js | 39 + devtools/client/shared/test/browser_theme.js | 145 + .../client/shared/test/browser_theme_switching.js | 58 + .../client/shared/test/browser_treeWidget_basic.js | 391 + .../browser_treeWidget_keyboard_interaction.js | 291 + .../test/browser_treeWidget_mouse_interaction.js | 185 + .../code_WorkerTargetActor.attachThread-worker.js | 18 + .../client/shared/test/code_listworkers-worker1.js | 3 + .../client/shared/test/code_listworkers-worker2.js | 3 + .../doc_WorkerTargetActor.attachThread-tab.html | 8 + .../client/shared/test/doc_cubic-bezier-01.html | 1 + .../client/shared/test/doc_cubic-bezier-02.html | 3 + devtools/client/shared/test/doc_empty-tab-01.html | 14 + devtools/client/shared/test/doc_empty-tab-02.html | 14 + .../client/shared/test/doc_event-listeners-01.html | 45 + .../client/shared/test/doc_event-listeners-03.html | 65 + .../client/shared/test/doc_filter-editor-01.html | 1 + .../client/shared/test/doc_html_tooltip-02.xhtml | 15 + .../client/shared/test/doc_html_tooltip-03.xhtml | 19 + .../client/shared/test/doc_html_tooltip-04.xhtml | 15 + .../client/shared/test/doc_html_tooltip-05.xhtml | 12 + devtools/client/shared/test/doc_html_tooltip.xhtml | 12 + .../shared/test/doc_html_tooltip_arrow-01.xhtml | 90 + .../shared/test/doc_html_tooltip_arrow-02.xhtml | 65 + .../test/doc_html_tooltip_doorhanger-01.xhtml | 73 + .../test/doc_html_tooltip_doorhanger-02.xhtml | 34 + .../shared/test/doc_html_tooltip_hover.xhtml | 13 + .../client/shared/test/doc_html_tooltip_rtl.xhtml | 14 + .../doc_inplace-editor_autocomplete_offset.xhtml | 7 + devtools/client/shared/test/doc_layoutHelpers.html | 31 + .../test/doc_layoutHelpers_getBoxQuads1.html | 65 + .../test/doc_layoutHelpers_getBoxQuads2-a.html | 20 + .../doc_layoutHelpers_getBoxQuads2-b-and-d.html | 29 + .../doc_layoutHelpers_getBoxQuads2-c-and-e.html | 27 + .../client/shared/test/doc_listworkers-tab.html | 8 + .../shared/test/doc_native-event-handler.html | 25 + .../shared/test/doc_script-switching-01.html | 18 + .../shared/test/doc_script-switching-02.html | 18 + devtools/client/shared/test/doc_spectrum.html | 2 + .../client/shared/test/doc_tableWidget_basic.html | 7 + .../doc_tableWidget_keyboard_interaction.xhtml | 8 + .../test/doc_tableWidget_mouse_interaction.xhtml | 7 + .../client/shared/test/doc_templater_basic.html | 12 + devtools/client/shared/test/dummy.html | 1 + devtools/client/shared/test/head.js | 211 + devtools/client/shared/test/helper_color_data.js | 1499 ++ devtools/client/shared/test/helper_html_tooltip.js | 116 + .../client/shared/test/helper_inplace_editor.js | 164 + .../client/shared/test/highlighter-test-actor.js | 939 + devtools/client/shared/test/leakhunt.js | 173 + devtools/client/shared/test/shared-head.js | 2324 ++ .../client/shared/test/telemetry-test-helpers.js | 273 + devtools/client/shared/test/test-mocked-module.js | 11 + devtools/client/shared/test/testactors.js | 27 + devtools/client/shared/test/xpcshell/.eslintrc.js | 6 + devtools/client/shared/test/xpcshell/head.js | 10 + .../test_VariablesView_getString_promise.js | 81 + .../client/shared/test/xpcshell/test_WeakMapMap.js | 69 + .../shared/test/xpcshell/test_advanceValidate.js | 33 + .../test/xpcshell/test_attribute-parsing-01.js | 77 + .../test/xpcshell/test_attribute-parsing-02.js | 148 + .../shared/test/xpcshell/test_bezierCanvas.js | 122 + .../client/shared/test/xpcshell/test_classnames.js | 53 + .../client/shared/test/xpcshell/test_cssAngle.js | 32 + .../shared/test/xpcshell/test_cssColor-01.js | 75 + .../shared/test/xpcshell/test_cssColor-02.js | 50 + .../test/xpcshell/test_cssColor-8-digit-hex.js | 20 + .../shared/test/xpcshell/test_cssColorDatabase.js | 17 + .../shared/test/xpcshell/test_cubicBezier.js | 152 + devtools/client/shared/test/xpcshell/test_curl.js | 397 + .../shared/test/xpcshell/test_escapeCSSComment.js | 41 + .../shared/test/xpcshell/test_hasCSSVariable.js | 60 + .../shared/test/xpcshell/test_linearEasing.js | 217 + .../shared/test/xpcshell/test_parseDeclarations.js | 1641 ++ .../test_parsePseudoClassesAndAttributes.js | 202 + .../shared/test/xpcshell/test_parseSingleValue.js | 106 + .../test/xpcshell/test_rewriteDeclarations.js | 816 + .../shared/test/xpcshell/test_source-utils.js | 249 + .../shared/test/xpcshell/test_suggestion-picker.js | 147 + .../client/shared/test/xpcshell/test_undoStack.js | 88 + .../shared/test/xpcshell/test_unicode-url.js | 258 + devtools/client/shared/test/xpcshell/xpcshell.toml | 57 + devtools/client/shared/theme-switching.js | 143 + devtools/client/shared/theme.js | 102 + devtools/client/shared/thread-utils.js | 89 + devtools/client/shared/toolbarbutton.css | 86 + devtools/client/shared/undo.js | 190 + devtools/client/shared/unicode-url.js | 106 + devtools/client/shared/vendor/D3_LICENSE | 26 + devtools/client/shared/vendor/DAGRE_D3_LICENSE | 19 + .../client/shared/vendor/FLUENT_REACT_UPGRADING | 33 + .../client/shared/vendor/FUZZALDRIN_PLUS_LICENSE | 20 + devtools/client/shared/vendor/MD5_LICENSE | 27 + devtools/client/shared/vendor/MD5_UPGRADING.md | 29 + .../shared/vendor/REACT_PROP_TYPES_UPGRADING.md | 37 + devtools/client/shared/vendor/REACT_REDUX_LICENSE | 21 + .../client/shared/vendor/REACT_REDUX_UPGRADING.md | 36 + .../client/shared/vendor/REACT_ROUTER_DOM_LICENSE | 21 + .../shared/vendor/REACT_ROUTER_DOM_UPGRADING.md | 23 + devtools/client/shared/vendor/REACT_UPGRADING.md | 160 + devtools/client/shared/vendor/REDUX_LICENSE | 21 + devtools/client/shared/vendor/REDUX_UPGRADING.md | 32 + devtools/client/shared/vendor/RESELECT_LICENSE | 21 + devtools/client/shared/vendor/RESELECT_UPGRADING | 12 + devtools/client/shared/vendor/WASMPARSER_UPGRADING | 14 + devtools/client/shared/vendor/WHATWG_URL_LICENSE | 21 + devtools/client/shared/vendor/WasmDis.js | 2031 ++ devtools/client/shared/vendor/WasmParser.js | 3873 ++++ devtools/client/shared/vendor/dagre-d3.js | 4560 ++++ devtools/client/shared/vendor/fluent-react.js | 686 + devtools/client/shared/vendor/fuzzaldrin-plus.js | 1074 + devtools/client/shared/vendor/immutable.js | 4997 +++++ devtools/client/shared/vendor/jszip.js | 11367 ++++++++++ devtools/client/shared/vendor/md5.js | 7 + devtools/client/shared/vendor/micromatch/LICENSE | 21 + .../client/shared/vendor/micromatch/UPGRADE.md | 17 + .../client/shared/vendor/micromatch/micromatch.js | 5424 +++++ devtools/client/shared/vendor/micromatch/moz.build | 9 + .../shared/vendor/micromatch/package-lock.json | 4497 ++++ .../client/shared/vendor/micromatch/package.json | 26 + .../shared/vendor/micromatch/webpack.config.js | 20 + devtools/client/shared/vendor/moz.build | 44 + devtools/client/shared/vendor/react-dev.js | 3155 +++ devtools/client/shared/vendor/react-dom-dev.js | 21413 +++++++++++++++++++ .../client/shared/vendor/react-dom-factories.js | 195 + .../client/shared/vendor/react-dom-server-dev.js | 3801 ++++ devtools/client/shared/vendor/react-dom-server.js | 2188 ++ .../shared/vendor/react-dom-test-utils-dev.js | 1302 ++ .../client/shared/vendor/react-dom-test-utils.js | 1150 + devtools/client/shared/vendor/react-dom.js | 16370 ++++++++++++++ .../client/shared/vendor/react-prop-types-dev.js | 1363 ++ devtools/client/shared/vendor/react-prop-types.js | 1363 ++ devtools/client/shared/vendor/react-redux.js | 2089 ++ devtools/client/shared/vendor/react-router-dom.js | 3788 ++++ .../shared/vendor/react-test-renderer-shallow.js | 955 + .../client/shared/vendor/react-test-renderer.js | 10580 +++++++++ devtools/client/shared/vendor/react.js | 2240 ++ devtools/client/shared/vendor/redux.js | 715 + devtools/client/shared/vendor/reselect.js | 291 + devtools/client/shared/vendor/source-map/LICENSE | 28 + .../shared/vendor/source-map/lib/array-set.js | 100 + .../shared/vendor/source-map/lib/base64-vlq.js | 94 + .../client/shared/vendor/source-map/lib/base64.js | 19 + .../shared/vendor/source-map/lib/binary-search.js | 113 + .../shared/vendor/source-map/lib/mapping-list.js | 83 + .../shared/vendor/source-map/lib/mappings.wasm | Bin 0 -> 48526 bytes .../client/shared/vendor/source-map/lib/moz.build | 21 + .../shared/vendor/source-map/lib/read-wasm.js | 46 + .../vendor/source-map/lib/source-map-consumer.js | 1078 + .../vendor/source-map/lib/source-map-generator.js | 439 + .../shared/vendor/source-map/lib/source-node.js | 430 + .../client/shared/vendor/source-map/lib/url.js | 21 + .../client/shared/vendor/source-map/lib/util.js | 444 + .../client/shared/vendor/source-map/lib/wasm.js | 138 + devtools/client/shared/vendor/source-map/moz.build | 13 + devtools/client/shared/vendor/source-map/moz.yaml | 47 + .../shared/vendor/source-map/read_wasm.patch | 64 + .../shared/vendor/source-map/relative_url.patch | 10 + .../client/shared/vendor/source-map/source-map.js | 10 + devtools/client/shared/vendor/whatwg-url.js | 8588 ++++++++ devtools/client/shared/view-source.js | 197 + devtools/client/shared/webgl-utils.js | 53 + devtools/client/shared/widgets/Chart.js | 532 + .../client/shared/widgets/CubicBezierPresets.js | 64 + .../client/shared/widgets/CubicBezierWidget.js | 986 + devtools/client/shared/widgets/FilterWidget.js | 1131 + .../shared/widgets/LinearEasingFunctionWidget.js | 731 + .../client/shared/widgets/ShapesInContextEditor.js | 347 + devtools/client/shared/widgets/Spectrum.js | 783 + devtools/client/shared/widgets/TableWidget.js | 2031 ++ devtools/client/shared/widgets/TreeWidget.js | 643 + devtools/client/shared/widgets/cubic-bezier.css | 216 + devtools/client/shared/widgets/filter-widget.css | 242 + devtools/client/shared/widgets/linear-widget.css | 61 + devtools/client/shared/widgets/moz.build | 22 + devtools/client/shared/widgets/spectrum.css | 330 + .../shared/widgets/tooltip/EventTooltipHelper.js | 419 + .../client/shared/widgets/tooltip/HTMLTooltip.js | 1062 + .../shared/widgets/tooltip/ImageTooltipHelper.js | 145 + .../shared/widgets/tooltip/RulePreviewTooltip.js | 69 + .../widgets/tooltip/SwatchBasedEditorTooltip.js | 270 + .../widgets/tooltip/SwatchColorPickerTooltip.js | 363 + .../widgets/tooltip/SwatchCubicBezierTooltip.js | 95 + .../shared/widgets/tooltip/SwatchFilterTooltip.js | 117 + .../tooltip/SwatchLinearEasingFunctionTooltip.js | 97 + .../client/shared/widgets/tooltip/TooltipToggle.js | 197 + .../widgets/tooltip/VariableTooltipHelper.js | 31 + .../tooltip/css-compatibility-tooltip-helper.js | 292 + .../tooltip/css-query-container-tooltip-helper.js | 145 + .../css-selector-warnings-tooltip-helper.js | 64 + .../widgets/tooltip/inactive-css-tooltip-helper.js | 131 + devtools/client/shared/widgets/tooltip/moz.build | 23 + devtools/client/shared/widgets/view-helpers.js | 430 + devtools/client/shared/widgets/widgets.css | 79 + devtools/client/shared/worker-utils.js | 157 + devtools/client/shared/workers-listener.js | 145 + devtools/client/shared/zoom-keys.js | 75 + 833 files changed, 278942 insertions(+) create mode 100644 devtools/client/shared/WeakMapMap.js create mode 100644 devtools/client/shared/async-store-helper.js create mode 100644 devtools/client/shared/autocomplete-popup.js create mode 100644 devtools/client/shared/build/babel.js create mode 100644 devtools/client/shared/build/build-debugger.js create mode 100644 devtools/client/shared/build/build.js create mode 100644 devtools/client/shared/build/node-templates.mozbuild create mode 100644 devtools/client/shared/classnames.js create mode 100644 devtools/client/shared/components/.eslintrc.js create mode 100644 devtools/client/shared/components/Accordion.css create mode 100644 devtools/client/shared/components/Accordion.js create mode 100644 devtools/client/shared/components/AppErrorBoundary.css create mode 100644 devtools/client/shared/components/AppErrorBoundary.js create mode 100644 devtools/client/shared/components/Frame.js create mode 100644 devtools/client/shared/components/HSplitBox.js create mode 100644 devtools/client/shared/components/List.css create mode 100644 devtools/client/shared/components/List.js create mode 100644 devtools/client/shared/components/MdnLink.css create mode 100644 devtools/client/shared/components/MdnLink.js create mode 100644 devtools/client/shared/components/NotificationBox.css create mode 100644 devtools/client/shared/components/NotificationBox.js create mode 100644 devtools/client/shared/components/SearchBox.js create mode 100644 devtools/client/shared/components/SearchBoxAutocompletePopup.js create mode 100644 devtools/client/shared/components/SearchModifiers.css create mode 100644 devtools/client/shared/components/SearchModifiers.js create mode 100644 devtools/client/shared/components/Sidebar.js create mode 100644 devtools/client/shared/components/SidebarToggle.css create mode 100644 devtools/client/shared/components/SidebarToggle.js create mode 100644 devtools/client/shared/components/SmartTrace.css create mode 100644 devtools/client/shared/components/SmartTrace.js create mode 100644 devtools/client/shared/components/StackTrace.js create mode 100644 devtools/client/shared/components/Tree.css create mode 100644 devtools/client/shared/components/Tree.js create mode 100644 devtools/client/shared/components/VirtualizedTree.js create mode 100644 devtools/client/shared/components/VisibilityHandler.js create mode 100644 devtools/client/shared/components/menu/MenuButton.js create mode 100644 devtools/client/shared/components/menu/MenuItem.js create mode 100644 devtools/client/shared/components/menu/MenuList.js create mode 100644 devtools/client/shared/components/menu/moz.build create mode 100644 devtools/client/shared/components/menu/utils.js create mode 100644 devtools/client/shared/components/moz.build create mode 100644 devtools/client/shared/components/object-inspector/actions.js create mode 100644 devtools/client/shared/components/object-inspector/components/ObjectInspector.css create mode 100644 devtools/client/shared/components/object-inspector/components/ObjectInspector.js create mode 100644 devtools/client/shared/components/object-inspector/components/ObjectInspectorItem.js create mode 100644 devtools/client/shared/components/object-inspector/components/moz.build create mode 100644 devtools/client/shared/components/object-inspector/index.js create mode 100644 devtools/client/shared/components/object-inspector/moz.build create mode 100644 devtools/client/shared/components/object-inspector/reducer.js create mode 100644 devtools/client/shared/components/object-inspector/utils/client.js create mode 100644 devtools/client/shared/components/object-inspector/utils/index.js create mode 100644 devtools/client/shared/components/object-inspector/utils/load-properties.js create mode 100644 devtools/client/shared/components/object-inspector/utils/moz.build create mode 100644 devtools/client/shared/components/object-inspector/utils/node.js create mode 100644 devtools/client/shared/components/object-inspector/utils/selection.js create mode 100644 devtools/client/shared/components/reps/images/input.svg create mode 100644 devtools/client/shared/components/reps/images/jump-definition.svg create mode 100644 devtools/client/shared/components/reps/images/open-a11y.svg create mode 100644 devtools/client/shared/components/reps/images/open-inspector.svg create mode 100644 devtools/client/shared/components/reps/index.js create mode 100644 devtools/client/shared/components/reps/moz.build create mode 100644 devtools/client/shared/components/reps/reps.css create mode 100644 devtools/client/shared/components/reps/reps/accessible.js create mode 100644 devtools/client/shared/components/reps/reps/accessor.js create mode 100644 devtools/client/shared/components/reps/reps/array.js create mode 100644 devtools/client/shared/components/reps/reps/attribute.js create mode 100644 devtools/client/shared/components/reps/reps/big-int.js create mode 100644 devtools/client/shared/components/reps/reps/comment-node.js create mode 100644 devtools/client/shared/components/reps/reps/constants.js create mode 100644 devtools/client/shared/components/reps/reps/custom-formatter.js create mode 100644 devtools/client/shared/components/reps/reps/date-time.js create mode 100644 devtools/client/shared/components/reps/reps/document-type.js create mode 100644 devtools/client/shared/components/reps/reps/document.js create mode 100644 devtools/client/shared/components/reps/reps/element-node.js create mode 100644 devtools/client/shared/components/reps/reps/error.js create mode 100644 devtools/client/shared/components/reps/reps/event.js create mode 100644 devtools/client/shared/components/reps/reps/function.js create mode 100644 devtools/client/shared/components/reps/reps/grip-array.js create mode 100644 devtools/client/shared/components/reps/reps/grip-entry.js create mode 100644 devtools/client/shared/components/reps/reps/grip-map.js create mode 100644 devtools/client/shared/components/reps/reps/grip.js create mode 100644 devtools/client/shared/components/reps/reps/infinity.js create mode 100644 devtools/client/shared/components/reps/reps/moz.build create mode 100644 devtools/client/shared/components/reps/reps/nan.js create mode 100644 devtools/client/shared/components/reps/reps/null.js create mode 100644 devtools/client/shared/components/reps/reps/number.js create mode 100644 devtools/client/shared/components/reps/reps/object-with-text.js create mode 100644 devtools/client/shared/components/reps/reps/object-with-url.js create mode 100644 devtools/client/shared/components/reps/reps/object.js create mode 100644 devtools/client/shared/components/reps/reps/promise.js create mode 100644 devtools/client/shared/components/reps/reps/prop-rep.js create mode 100644 devtools/client/shared/components/reps/reps/regexp.js create mode 100644 devtools/client/shared/components/reps/reps/rep-utils.js create mode 100644 devtools/client/shared/components/reps/reps/rep.js create mode 100644 devtools/client/shared/components/reps/reps/string.js create mode 100644 devtools/client/shared/components/reps/reps/stylesheet.js create mode 100644 devtools/client/shared/components/reps/reps/symbol.js create mode 100644 devtools/client/shared/components/reps/reps/text-node.js create mode 100644 devtools/client/shared/components/reps/reps/undefined.js create mode 100644 devtools/client/shared/components/reps/reps/window.js create mode 100644 devtools/client/shared/components/reps/shared/dom-node-constants.js create mode 100644 devtools/client/shared/components/reps/shared/grip-length-bubble.js create mode 100644 devtools/client/shared/components/reps/shared/moz.build create mode 100644 devtools/client/shared/components/splitter/Draggable.js create mode 100644 devtools/client/shared/components/splitter/GridElementResizer.css create mode 100644 devtools/client/shared/components/splitter/GridElementWidthResizer.js create mode 100644 devtools/client/shared/components/splitter/SplitBox.css create mode 100644 devtools/client/shared/components/splitter/SplitBox.js create mode 100644 devtools/client/shared/components/splitter/moz.build create mode 100644 devtools/client/shared/components/tabs/TabBar.js create mode 100644 devtools/client/shared/components/tabs/Tabs.css create mode 100644 devtools/client/shared/components/tabs/Tabs.js create mode 100644 devtools/client/shared/components/tabs/moz.build create mode 100644 devtools/client/shared/components/test/browser/browser.toml create mode 100644 devtools/client/shared/components/test/browser/browser_notification_box_basic.js create mode 100644 devtools/client/shared/components/test/browser/browser_reps_stubs.js create mode 100644 devtools/client/shared/components/test/chrome/accordion.snapshots.js create mode 100644 devtools/client/shared/components/test/chrome/chrome.toml create mode 100644 devtools/client/shared/components/test/chrome/head.js create mode 100644 devtools/client/shared/components/test/chrome/test_GridElementWidthResizer.html create mode 100644 devtools/client/shared/components/test/chrome/test_GridElementWidthResizer_RTL.html create mode 100644 devtools/client/shared/components/test/chrome/test_HSplitBox_01.html create mode 100644 devtools/client/shared/components/test/chrome/test_accordion.html create mode 100644 devtools/client/shared/components/test/chrome/test_frame_01.html create mode 100644 devtools/client/shared/components/test/chrome/test_frame_02.html create mode 100644 devtools/client/shared/components/test/chrome/test_list.html create mode 100644 devtools/client/shared/components/test/chrome/test_list_keyboard.html create mode 100644 devtools/client/shared/components/test/chrome/test_notification_box_01.html create mode 100644 devtools/client/shared/components/test/chrome/test_notification_box_02.html create mode 100644 devtools/client/shared/components/test/chrome/test_notification_box_03.html create mode 100644 devtools/client/shared/components/test/chrome/test_notification_box_04.html create mode 100644 devtools/client/shared/components/test/chrome/test_notification_box_05.html create mode 100644 devtools/client/shared/components/test/chrome/test_searchbox-with-autocomplete.html create mode 100644 devtools/client/shared/components/test/chrome/test_searchbox.html create mode 100644 devtools/client/shared/components/test/chrome/test_sidebar_toggle.html create mode 100644 devtools/client/shared/components/test/chrome/test_smart-trace-grouping.html create mode 100644 devtools/client/shared/components/test/chrome/test_smart-trace-source-maps.html create mode 100644 devtools/client/shared/components/test/chrome/test_smart-trace.html create mode 100644 devtools/client/shared/components/test/chrome/test_stack-trace-source-maps.html create mode 100644 devtools/client/shared/components/test/chrome/test_stack-trace.html create mode 100644 devtools/client/shared/components/test/chrome/test_tabs_accessibility.html create mode 100644 devtools/client/shared/components/test/chrome/test_tabs_menu.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree-view_01.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree-view_02.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_01.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_02.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_03.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_04.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_05.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_06.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_07.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_08.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_09.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_10.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_11.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_12.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_13.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_14.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_15.html create mode 100644 devtools/client/shared/components/test/chrome/test_tree_16.html create mode 100644 devtools/client/shared/components/test/node/.eslintrc.js create mode 100644 devtools/client/shared/components/test/node/__mocks__/Services.js create mode 100644 devtools/client/shared/components/test/node/__mocks__/object-front.js create mode 100644 devtools/client/shared/components/test/node/__mocks__/string-front.js create mode 100644 devtools/client/shared/components/test/node/babel.config.js create mode 100644 devtools/client/shared/components/test/node/components/__snapshots__/tree.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/basic.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/classnames.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/entries.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/expand.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/getter-setter.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/keyboard-navigation.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/properties.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/proxy.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/__snapshots__/window.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/basic.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/classnames.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/create-long-string-front.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/create-object-client.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/entries.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/events.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/expand.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/function.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/getter-setter.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/keyboard-navigation.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/properties.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/proxy.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/should-item-update.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/component/window.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/test-utils.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/__snapshots__/promises.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/create-node.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/get-children.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/get-closest-grip-node.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/get-value.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/make-node-for-properties.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/make-numerical-buckets.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/node-has-entries.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/node-is-window.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/node-supports-numerical-bucketing.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/promises.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/should-load-item-entries.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/should-load-item-full-text.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/should-load-item-indexed-properties.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/should-load-item-non-indexed-properties.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/should-load-item-prototype.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/should-load-item-symbols.test.js create mode 100644 devtools/client/shared/components/test/node/components/object-inspector/utils/should-render-roots-in-reps.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/__snapshots__/accessor.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/reps/__snapshots__/element-node.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/reps/__snapshots__/error.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/reps/__snapshots__/nan.test.js.snap create mode 100644 devtools/client/shared/components/test/node/components/reps/accessible.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/accessor.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/array.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/attribute.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/big-int.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/comment-node.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/date-time.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/document-type.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/document.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/element-node.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/error.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/event.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/failure.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/function.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/grip-array.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/grip-entry.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/grip-map.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/grip.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/helper-tests.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/infinity.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/long-string.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/nan.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/null.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/number.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/object-with-text.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/object-with-url.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/object.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/promise.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/regexp.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/string-with-url.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/string.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/stylesheet.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/symbol.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/test-helpers.js create mode 100644 devtools/client/shared/components/test/node/components/reps/text-node.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/undefined.test.js create mode 100644 devtools/client/shared/components/test/node/components/reps/window.test.js create mode 100644 devtools/client/shared/components/test/node/components/tree.test.js create mode 100644 devtools/client/shared/components/test/node/jest.config.js create mode 100644 devtools/client/shared/components/test/node/package.json create mode 100644 devtools/client/shared/components/test/node/setup.js create mode 100644 devtools/client/shared/components/test/node/stubs/object-inspector/grip.js create mode 100644 devtools/client/shared/components/test/node/stubs/object-inspector/map.js create mode 100644 devtools/client/shared/components/test/node/stubs/object-inspector/performance.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/accessible.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/accessor.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/attribute.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/big-int.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/browser_dummy.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/comment-node.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/date-time.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/document-type.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/document.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/element-node.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/error.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/event.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/failure.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/function.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/grip-array.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/grip-entry.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/grip-map.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/grip.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/infinity.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/long-string.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/nan.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/null.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/number.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/object-with-text.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/object-with-url.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/promise.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/regexp.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/stubs.toml create mode 100644 devtools/client/shared/components/test/node/stubs/reps/stylesheet.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/symbol.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/text-node.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/undefined.js create mode 100644 devtools/client/shared/components/test/node/stubs/reps/window.js create mode 100644 devtools/client/shared/components/test/node/yarn.lock create mode 100644 devtools/client/shared/components/throttling/NetworkThrottlingMenu.js create mode 100644 devtools/client/shared/components/throttling/actions.js create mode 100644 devtools/client/shared/components/throttling/moz.build create mode 100644 devtools/client/shared/components/throttling/profiles.js create mode 100644 devtools/client/shared/components/throttling/reducer.js create mode 100644 devtools/client/shared/components/throttling/types.js create mode 100644 devtools/client/shared/components/tree/LabelCell.js create mode 100644 devtools/client/shared/components/tree/ObjectProvider.js create mode 100644 devtools/client/shared/components/tree/TreeCell.js create mode 100644 devtools/client/shared/components/tree/TreeHeader.js create mode 100644 devtools/client/shared/components/tree/TreeRow.js create mode 100644 devtools/client/shared/components/tree/TreeView.css create mode 100644 devtools/client/shared/components/tree/TreeView.js create mode 100644 devtools/client/shared/components/tree/moz.build create mode 100644 devtools/client/shared/css-angle.js create mode 100644 devtools/client/shared/curl.js create mode 100644 devtools/client/shared/devices.js create mode 100644 devtools/client/shared/enum.js create mode 100644 devtools/client/shared/events.js create mode 100644 devtools/client/shared/fluent-l10n/fluent-l10n.js create mode 100644 devtools/client/shared/fluent-l10n/moz.build create mode 100644 devtools/client/shared/focus.js create mode 100644 devtools/client/shared/inplace-editor.js create mode 100644 devtools/client/shared/key-shortcuts.js create mode 100644 devtools/client/shared/keycodes.js create mode 100644 devtools/client/shared/link.js create mode 100644 devtools/client/shared/moz.build create mode 100644 devtools/client/shared/node-attribute-parser.js create mode 100644 devtools/client/shared/output-parser.js create mode 100644 devtools/client/shared/prefs.js create mode 100644 devtools/client/shared/react-utils.js create mode 100644 devtools/client/shared/redux/create-store.js create mode 100644 devtools/client/shared/redux/middleware/debounce.js create mode 100644 devtools/client/shared/redux/middleware/ignore.js create mode 100644 devtools/client/shared/redux/middleware/log.js create mode 100644 devtools/client/shared/redux/middleware/moz.build create mode 100644 devtools/client/shared/redux/middleware/performance-marker.js create mode 100644 devtools/client/shared/redux/middleware/promise.js create mode 100644 devtools/client/shared/redux/middleware/task.js create mode 100644 devtools/client/shared/redux/middleware/thunk.js create mode 100644 devtools/client/shared/redux/middleware/wait-service.js create mode 100644 devtools/client/shared/redux/middleware/xpcshell/.eslintrc.js create mode 100644 devtools/client/shared/redux/middleware/xpcshell/head.js create mode 100644 devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-01.js create mode 100644 devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-02.js create mode 100644 devtools/client/shared/redux/middleware/xpcshell/test_middleware-task-03.js create mode 100644 devtools/client/shared/redux/middleware/xpcshell/xpcshell.toml create mode 100644 devtools/client/shared/redux/moz.build create mode 100644 devtools/client/shared/redux/subscriber.js create mode 100644 devtools/client/shared/redux/visibility-handler-connect.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb-addon.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb-binary.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb-client.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb-device.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb-process.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb-running-checker.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb-runtime.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb-socket.js create mode 100644 devtools/client/shared/remote-debugging/adb/adb.js create mode 100644 devtools/client/shared/remote-debugging/adb/commands/index.js create mode 100644 devtools/client/shared/remote-debugging/adb/commands/list-devices.js create mode 100644 devtools/client/shared/remote-debugging/adb/commands/moz.build create mode 100644 devtools/client/shared/remote-debugging/adb/commands/prepare-tcp-connection.js create mode 100644 devtools/client/shared/remote-debugging/adb/commands/run-command.js create mode 100644 devtools/client/shared/remote-debugging/adb/commands/shell.js create mode 100644 devtools/client/shared/remote-debugging/adb/commands/track-devices.js create mode 100644 devtools/client/shared/remote-debugging/adb/moz.build create mode 100644 devtools/client/shared/remote-debugging/adb/xpcshell/.eslintrc.js create mode 100644 devtools/client/shared/remote-debugging/adb/xpcshell/adb.py create mode 100644 devtools/client/shared/remote-debugging/adb/xpcshell/test_adb.js create mode 100644 devtools/client/shared/remote-debugging/adb/xpcshell/test_prepare-tcp-connection.js create mode 100644 devtools/client/shared/remote-debugging/adb/xpcshell/xpcshell-head.js create mode 100644 devtools/client/shared/remote-debugging/adb/xpcshell/xpcshell.toml create mode 100644 devtools/client/shared/remote-debugging/constants.js create mode 100644 devtools/client/shared/remote-debugging/moz.build create mode 100644 devtools/client/shared/remote-debugging/remote-client-manager.js create mode 100644 devtools/client/shared/remote-debugging/test/xpcshell/.eslintrc.js create mode 100644 devtools/client/shared/remote-debugging/test/xpcshell/test_remote_client_manager.js create mode 100644 devtools/client/shared/remote-debugging/test/xpcshell/test_version_checker.js create mode 100644 devtools/client/shared/remote-debugging/test/xpcshell/xpcshell-head.js create mode 100644 devtools/client/shared/remote-debugging/test/xpcshell/xpcshell.toml create mode 100644 devtools/client/shared/remote-debugging/version-checker.js create mode 100644 devtools/client/shared/screenshot.js create mode 100644 devtools/client/shared/scroll.js create mode 100644 devtools/client/shared/source-map-loader/index.js create mode 100644 devtools/client/shared/source-map-loader/moz.build create mode 100644 devtools/client/shared/source-map-loader/source-map.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/browser.toml create mode 100644 devtools/client/shared/source-map-loader/test/browser/browser_getContentType.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/browser_locations.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/browser_source-map.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/browser_wasm-source-map.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/absolute.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/absolute.js.map create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/bundle.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/bundle.js.map create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/empty.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/empty.js.map create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/if.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/if.out.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/if.out.js.map create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/intermingled-sources.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/intermingled-sources.js.map create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/missingmap.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/noroot.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/noroot.js.map create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/noroot2.js create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/noroot2.js.map create mode 100644 devtools/client/shared/source-map-loader/test/browser/fixtures/wasm.js.map create mode 100644 devtools/client/shared/source-map-loader/test/browser/head.js create mode 100644 devtools/client/shared/source-map-loader/utils/assert.js create mode 100644 devtools/client/shared/source-map-loader/utils/fetchSourceMap.js create mode 100644 devtools/client/shared/source-map-loader/utils/getOriginalStackFrames.js create mode 100644 devtools/client/shared/source-map-loader/utils/index.js create mode 100644 devtools/client/shared/source-map-loader/utils/moz.build create mode 100644 devtools/client/shared/source-map-loader/utils/network-request.js create mode 100644 devtools/client/shared/source-map-loader/utils/sourceMapRequests.js create mode 100644 devtools/client/shared/source-map-loader/utils/wasmRemap.js create mode 100644 devtools/client/shared/source-map-loader/wasm-dwarf/convertToJSON.js create mode 100644 devtools/client/shared/source-map-loader/wasm-dwarf/dwarf_to_json.wasm create mode 100644 devtools/client/shared/source-map-loader/wasm-dwarf/moz.build create mode 100644 devtools/client/shared/source-map-loader/wasm-dwarf/wasmAsset.js create mode 100644 devtools/client/shared/source-map-loader/wasm-dwarf/wasmDwarfExpressions.js create mode 100644 devtools/client/shared/source-map-loader/wasm-dwarf/wasmXScopes.js create mode 100644 devtools/client/shared/source-map-loader/worker.js create mode 100644 devtools/client/shared/source-utils.js create mode 100644 devtools/client/shared/sourceeditor/README create mode 100644 devtools/client/shared/sourceeditor/autocomplete.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/LICENSE create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/accessibleTextarea.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/comment/comment.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/comment/continuecomment.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/dialog/dialog.css create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/dialog/dialog.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/display/placeholder.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/edit/closebrackets.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/edit/closetag.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/edit/continuelist.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/edit/matchbrackets.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/edit/matchtags.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/edit/trailingspace.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/fold/brace-fold.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/fold/comment-fold.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/fold/foldcode.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/fold/foldgutter.css create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/fold/foldgutter.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/fold/indent-fold.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/fold/markdown-fold.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/fold/xml-fold.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/runmode/runmode.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/scroll/annotatescrollbar.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/search/match-highlighter.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/search/matchesonscrollbar.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/search/search.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/search/searchcursor.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/selection/active-line.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/addon/selection/mark-selection.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/cmiframe.html create mode 100644 devtools/client/shared/sourceeditor/codemirror/codemirror.bundle.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/keymap/emacs.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/keymap/sublime.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/keymap/vim.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/lib/codemirror.css create mode 100644 devtools/client/shared/sourceeditor/codemirror/lib/codemirror.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/clike/clike.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/clojure/clojure.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/coffeescript/coffeescript.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/css/css.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/elm/elm.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/haxe/haxe.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/htmlmixed/htmlmixed.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/http/http.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/javascript/javascript.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/jsx/jsx.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/rust/rust.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/simple/simple.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/wasm/wasm.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mode/xml/xml.js create mode 100644 devtools/client/shared/sourceeditor/codemirror/mozilla.css create mode 100644 devtools/client/shared/sourceeditor/codemirror6/codemirror6.bundle.js create mode 100644 devtools/client/shared/sourceeditor/codemirror6/index.mjs create mode 100644 devtools/client/shared/sourceeditor/codemirror6/moz.build create mode 100644 devtools/client/shared/sourceeditor/css-autocompleter.js create mode 100644 devtools/client/shared/sourceeditor/editor-commands-controller.js create mode 100644 devtools/client/shared/sourceeditor/editor.js create mode 100644 devtools/client/shared/sourceeditor/moz.build create mode 100644 devtools/client/shared/sourceeditor/package.json create mode 100644 devtools/client/shared/sourceeditor/rollup.config.mjs create mode 100644 devtools/client/shared/sourceeditor/test/CodeMirrorTestActors.sys.mjs create mode 100644 devtools/client/shared/sourceeditor/test/browser.toml create mode 100644 devtools/client/shared/sourceeditor/test/browser_codemirror.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_css_autocompletion.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_css_getInfo.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_css_statemachine.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_detectindent.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_addons.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_alt_b_f.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_basic.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_autocomplete_events.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_basic.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_cursor.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_cursor_blink.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_disableSearchAddon.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_find_again.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_goto_line.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_history.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_markers.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_movelines.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_editor_prefs.js create mode 100644 devtools/client/shared/sourceeditor/test/browser_vimemacs.js create mode 100644 devtools/client/shared/sourceeditor/test/cm_mode_ruby.js create mode 100644 devtools/client/shared/sourceeditor/test/cm_script_injection_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/codemirror.html create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/comment_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/doc_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/driver.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/emacs_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/mode/javascript/test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/mode_test.css create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/mode_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/multi_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/search_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/sublime_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/vim_test.js create mode 100644 devtools/client/shared/sourceeditor/test/codemirror/vimemacs.html create mode 100644 devtools/client/shared/sourceeditor/test/css_autocompletion_tests.json create mode 100644 devtools/client/shared/sourceeditor/test/css_statemachine_testcases.css create mode 100644 devtools/client/shared/sourceeditor/test/css_statemachine_tests.json create mode 100644 devtools/client/shared/sourceeditor/test/head.js create mode 100644 devtools/client/shared/sourceeditor/test/head.xhtml create mode 100644 devtools/client/shared/sourceeditor/wasm.js create mode 100644 devtools/client/shared/sourceeditor/webpack.config.js create mode 100644 devtools/client/shared/string-utils.js create mode 100644 devtools/client/shared/stylesheet-utils.js create mode 100644 devtools/client/shared/suggestion-picker.js create mode 100644 devtools/client/shared/telemetry.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/ChromeUtils.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/Services.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/devtools-utils.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/empty-module.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/fluent-l10n.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/generate-uuid.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/indexed-db.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/plural-form.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/promise.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/svgMock.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/telemetry.js create mode 100644 devtools/client/shared/test-helpers/jest-fixtures/unicode-url.js create mode 100644 devtools/client/shared/test-helpers/shared-jest.config.js create mode 100644 devtools/client/shared/test-helpers/shared-node-helpers.js create mode 100644 devtools/client/shared/test/addons/test-addon-1/manifest.json create mode 100644 devtools/client/shared/test/addons/test-addon-2/manifest.json create mode 100644 devtools/client/shared/test/browser.toml create mode 100644 devtools/client/shared/test/browser_autocomplete_popup.js create mode 100644 devtools/client/shared/test/browser_autocomplete_popup_consecutive-show.js create mode 100644 devtools/client/shared/test/browser_autocomplete_popup_input.js create mode 100644 devtools/client/shared/test/browser_browserloader_mocks.js create mode 100644 devtools/client/shared/test/browser_css_angle.js create mode 100644 devtools/client/shared/test/browser_css_color.js create mode 100644 devtools/client/shared/test/browser_cubic-bezier-01.js create mode 100644 devtools/client/shared/test/browser_cubic-bezier-02.js create mode 100644 devtools/client/shared/test/browser_cubic-bezier-03.js create mode 100644 devtools/client/shared/test/browser_cubic-bezier-04.js create mode 100644 devtools/client/shared/test/browser_cubic-bezier-05.js create mode 100644 devtools/client/shared/test/browser_cubic-bezier-06.js create mode 100644 devtools/client/shared/test/browser_cubic-bezier-07.js create mode 100644 devtools/client/shared/test/browser_dbg_globalactor.js create mode 100644 devtools/client/shared/test/browser_dbg_listaddons.js create mode 100644 devtools/client/shared/test/browser_dbg_listtabs-01.js create mode 100644 devtools/client/shared/test/browser_dbg_listtabs-02.js create mode 100644 devtools/client/shared/test/browser_dbg_listworkers.js create mode 100644 devtools/client/shared/test/browser_dbg_multiple-windows.js create mode 100644 devtools/client/shared/test/browser_dbg_target-scoped-actor-01.js create mode 100644 devtools/client/shared/test/browser_dbg_target-scoped-actor-02.js create mode 100644 devtools/client/shared/test/browser_devices.js create mode 100644 devtools/client/shared/test/browser_filter-editor-01.js create mode 100644 devtools/client/shared/test/browser_filter-editor-02.js create mode 100644 devtools/client/shared/test/browser_filter-editor-03.js create mode 100644 devtools/client/shared/test/browser_filter-editor-04.js create mode 100644 devtools/client/shared/test/browser_filter-editor-05.js create mode 100644 devtools/client/shared/test/browser_filter-editor-06.js create mode 100644 devtools/client/shared/test/browser_filter-editor-07.js create mode 100644 devtools/client/shared/test/browser_filter-editor-08.js create mode 100644 devtools/client/shared/test/browser_filter-editor-09.js create mode 100644 devtools/client/shared/test/browser_filter-editor-10.js create mode 100644 devtools/client/shared/test/browser_filter-presets-01.js create mode 100644 devtools/client/shared/test/browser_filter-presets-02.js create mode 100644 devtools/client/shared/test/browser_filter-presets-03.js create mode 100644 devtools/client/shared/test/browser_html_tooltip-01.js create mode 100644 devtools/client/shared/test/browser_html_tooltip-02.js create mode 100644 devtools/client/shared/test/browser_html_tooltip-03.js create mode 100644 devtools/client/shared/test/browser_html_tooltip-04.js create mode 100644 devtools/client/shared/test/browser_html_tooltip-05.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_arrow-01.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_arrow-02.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_consecutive-show.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_doorhanger-01.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_doorhanger-02.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_height-auto.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_hover.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_offset.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_resize.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_rtl.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_screen_edge.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_variable-height.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_width-auto.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_xul-wrapper.js create mode 100644 devtools/client/shared/test/browser_html_tooltip_zoom.js create mode 100644 devtools/client/shared/test/browser_inplace-editor-01.js create mode 100644 devtools/client/shared/test/browser_inplace-editor-02.js create mode 100644 devtools/client/shared/test/browser_inplace-editor_autoclose_parentheses.js create mode 100644 devtools/client/shared/test/browser_inplace-editor_autocomplete_01.js create mode 100644 devtools/client/shared/test/browser_inplace-editor_autocomplete_02.js create mode 100644 devtools/client/shared/test/browser_inplace-editor_autocomplete_css_variable.js create mode 100644 devtools/client/shared/test/browser_inplace-editor_autocomplete_offset.js create mode 100644 devtools/client/shared/test/browser_inplace-editor_focus_closest_editor.js create mode 100644 devtools/client/shared/test/browser_inplace-editor_maxwidth.js create mode 100644 devtools/client/shared/test/browser_inplace-editor_stop_on_key.js create mode 100644 devtools/client/shared/test/browser_key_shortcuts.js create mode 100644 devtools/client/shared/test/browser_keycodes.js create mode 100644 devtools/client/shared/test/browser_layoutHelpers.js create mode 100644 devtools/client/shared/test/browser_layoutHelpers_getBoxQuads1.js create mode 100644 devtools/client/shared/test/browser_layoutHelpers_getBoxQuads2.js create mode 100644 devtools/client/shared/test/browser_link.js create mode 100644 devtools/client/shared/test/browser_num-l10n.js create mode 100644 devtools/client/shared/test/browser_outputparser.js create mode 100644 devtools/client/shared/test/browser_prefs-01.js create mode 100644 devtools/client/shared/test/browser_prefs-02.js create mode 100644 devtools/client/shared/test/browser_require_raw.js create mode 100644 devtools/client/shared/test/browser_spectrum.js create mode 100644 devtools/client/shared/test/browser_tableWidget_basic.js create mode 100644 devtools/client/shared/test/browser_tableWidget_keyboard_interaction.js create mode 100644 devtools/client/shared/test/browser_tableWidget_mouse_interaction.js create mode 100644 devtools/client/shared/test/browser_telemetry_button_eyedropper.js create mode 100644 devtools/client/shared/test/browser_telemetry_button_responsive.js create mode 100644 devtools/client/shared/test/browser_telemetry_misc.js create mode 100644 devtools/client/shared/test/browser_telemetry_sidebar.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolbox.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolboxtabs_inspector.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolboxtabs_jsdebugger.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolboxtabs_jsprofiler.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolboxtabs_netmonitor.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolboxtabs_options.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolboxtabs_storage.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolboxtabs_styleeditor.js create mode 100644 devtools/client/shared/test/browser_telemetry_toolboxtabs_webconsole.js create mode 100644 devtools/client/shared/test/browser_theme.js create mode 100644 devtools/client/shared/test/browser_theme_switching.js create mode 100644 devtools/client/shared/test/browser_treeWidget_basic.js create mode 100644 devtools/client/shared/test/browser_treeWidget_keyboard_interaction.js create mode 100644 devtools/client/shared/test/browser_treeWidget_mouse_interaction.js create mode 100644 devtools/client/shared/test/code_WorkerTargetActor.attachThread-worker.js create mode 100644 devtools/client/shared/test/code_listworkers-worker1.js create mode 100644 devtools/client/shared/test/code_listworkers-worker2.js create mode 100644 devtools/client/shared/test/doc_WorkerTargetActor.attachThread-tab.html create mode 100644 devtools/client/shared/test/doc_cubic-bezier-01.html create mode 100644 devtools/client/shared/test/doc_cubic-bezier-02.html create mode 100644 devtools/client/shared/test/doc_empty-tab-01.html create mode 100644 devtools/client/shared/test/doc_empty-tab-02.html create mode 100644 devtools/client/shared/test/doc_event-listeners-01.html create mode 100644 devtools/client/shared/test/doc_event-listeners-03.html create mode 100644 devtools/client/shared/test/doc_filter-editor-01.html create mode 100644 devtools/client/shared/test/doc_html_tooltip-02.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip-03.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip-04.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip-05.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip_arrow-01.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip_arrow-02.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip_doorhanger-01.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip_doorhanger-02.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip_hover.xhtml create mode 100644 devtools/client/shared/test/doc_html_tooltip_rtl.xhtml create mode 100644 devtools/client/shared/test/doc_inplace-editor_autocomplete_offset.xhtml create mode 100644 devtools/client/shared/test/doc_layoutHelpers.html create mode 100644 devtools/client/shared/test/doc_layoutHelpers_getBoxQuads1.html create mode 100644 devtools/client/shared/test/doc_layoutHelpers_getBoxQuads2-a.html create mode 100644 devtools/client/shared/test/doc_layoutHelpers_getBoxQuads2-b-and-d.html create mode 100644 devtools/client/shared/test/doc_layoutHelpers_getBoxQuads2-c-and-e.html create mode 100644 devtools/client/shared/test/doc_listworkers-tab.html create mode 100644 devtools/client/shared/test/doc_native-event-handler.html create mode 100644 devtools/client/shared/test/doc_script-switching-01.html create mode 100644 devtools/client/shared/test/doc_script-switching-02.html create mode 100644 devtools/client/shared/test/doc_spectrum.html create mode 100644 devtools/client/shared/test/doc_tableWidget_basic.html create mode 100644 devtools/client/shared/test/doc_tableWidget_keyboard_interaction.xhtml create mode 100644 devtools/client/shared/test/doc_tableWidget_mouse_interaction.xhtml create mode 100644 devtools/client/shared/test/doc_templater_basic.html create mode 100644 devtools/client/shared/test/dummy.html create mode 100644 devtools/client/shared/test/head.js create mode 100644 devtools/client/shared/test/helper_color_data.js create mode 100644 devtools/client/shared/test/helper_html_tooltip.js create mode 100644 devtools/client/shared/test/helper_inplace_editor.js create mode 100644 devtools/client/shared/test/highlighter-test-actor.js create mode 100644 devtools/client/shared/test/leakhunt.js create mode 100644 devtools/client/shared/test/shared-head.js create mode 100644 devtools/client/shared/test/telemetry-test-helpers.js create mode 100644 devtools/client/shared/test/test-mocked-module.js create mode 100644 devtools/client/shared/test/testactors.js create mode 100644 devtools/client/shared/test/xpcshell/.eslintrc.js create mode 100644 devtools/client/shared/test/xpcshell/head.js create mode 100644 devtools/client/shared/test/xpcshell/test_VariablesView_getString_promise.js create mode 100644 devtools/client/shared/test/xpcshell/test_WeakMapMap.js create mode 100644 devtools/client/shared/test/xpcshell/test_advanceValidate.js create mode 100644 devtools/client/shared/test/xpcshell/test_attribute-parsing-01.js create mode 100644 devtools/client/shared/test/xpcshell/test_attribute-parsing-02.js create mode 100644 devtools/client/shared/test/xpcshell/test_bezierCanvas.js create mode 100644 devtools/client/shared/test/xpcshell/test_classnames.js create mode 100644 devtools/client/shared/test/xpcshell/test_cssAngle.js create mode 100644 devtools/client/shared/test/xpcshell/test_cssColor-01.js create mode 100644 devtools/client/shared/test/xpcshell/test_cssColor-02.js create mode 100644 devtools/client/shared/test/xpcshell/test_cssColor-8-digit-hex.js create mode 100644 devtools/client/shared/test/xpcshell/test_cssColorDatabase.js create mode 100644 devtools/client/shared/test/xpcshell/test_cubicBezier.js create mode 100644 devtools/client/shared/test/xpcshell/test_curl.js create mode 100644 devtools/client/shared/test/xpcshell/test_escapeCSSComment.js create mode 100644 devtools/client/shared/test/xpcshell/test_hasCSSVariable.js create mode 100644 devtools/client/shared/test/xpcshell/test_linearEasing.js create mode 100644 devtools/client/shared/test/xpcshell/test_parseDeclarations.js create mode 100644 devtools/client/shared/test/xpcshell/test_parsePseudoClassesAndAttributes.js create mode 100644 devtools/client/shared/test/xpcshell/test_parseSingleValue.js create mode 100644 devtools/client/shared/test/xpcshell/test_rewriteDeclarations.js create mode 100644 devtools/client/shared/test/xpcshell/test_source-utils.js create mode 100644 devtools/client/shared/test/xpcshell/test_suggestion-picker.js create mode 100644 devtools/client/shared/test/xpcshell/test_undoStack.js create mode 100644 devtools/client/shared/test/xpcshell/test_unicode-url.js create mode 100644 devtools/client/shared/test/xpcshell/xpcshell.toml create mode 100644 devtools/client/shared/theme-switching.js create mode 100644 devtools/client/shared/theme.js create mode 100644 devtools/client/shared/thread-utils.js create mode 100644 devtools/client/shared/toolbarbutton.css create mode 100644 devtools/client/shared/undo.js create mode 100644 devtools/client/shared/unicode-url.js create mode 100644 devtools/client/shared/vendor/D3_LICENSE create mode 100644 devtools/client/shared/vendor/DAGRE_D3_LICENSE create mode 100644 devtools/client/shared/vendor/FLUENT_REACT_UPGRADING create mode 100644 devtools/client/shared/vendor/FUZZALDRIN_PLUS_LICENSE create mode 100644 devtools/client/shared/vendor/MD5_LICENSE create mode 100644 devtools/client/shared/vendor/MD5_UPGRADING.md create mode 100644 devtools/client/shared/vendor/REACT_PROP_TYPES_UPGRADING.md create mode 100644 devtools/client/shared/vendor/REACT_REDUX_LICENSE create mode 100644 devtools/client/shared/vendor/REACT_REDUX_UPGRADING.md create mode 100644 devtools/client/shared/vendor/REACT_ROUTER_DOM_LICENSE create mode 100644 devtools/client/shared/vendor/REACT_ROUTER_DOM_UPGRADING.md create mode 100644 devtools/client/shared/vendor/REACT_UPGRADING.md create mode 100644 devtools/client/shared/vendor/REDUX_LICENSE create mode 100644 devtools/client/shared/vendor/REDUX_UPGRADING.md create mode 100644 devtools/client/shared/vendor/RESELECT_LICENSE create mode 100644 devtools/client/shared/vendor/RESELECT_UPGRADING create mode 100644 devtools/client/shared/vendor/WASMPARSER_UPGRADING create mode 100644 devtools/client/shared/vendor/WHATWG_URL_LICENSE create mode 100644 devtools/client/shared/vendor/WasmDis.js create mode 100644 devtools/client/shared/vendor/WasmParser.js create mode 100644 devtools/client/shared/vendor/dagre-d3.js create mode 100644 devtools/client/shared/vendor/fluent-react.js create mode 100644 devtools/client/shared/vendor/fuzzaldrin-plus.js create mode 100644 devtools/client/shared/vendor/immutable.js create mode 100644 devtools/client/shared/vendor/jszip.js create mode 100644 devtools/client/shared/vendor/md5.js create mode 100755 devtools/client/shared/vendor/micromatch/LICENSE create mode 100644 devtools/client/shared/vendor/micromatch/UPGRADE.md create mode 100644 devtools/client/shared/vendor/micromatch/micromatch.js create mode 100644 devtools/client/shared/vendor/micromatch/moz.build create mode 100644 devtools/client/shared/vendor/micromatch/package-lock.json create mode 100644 devtools/client/shared/vendor/micromatch/package.json create mode 100644 devtools/client/shared/vendor/micromatch/webpack.config.js create mode 100644 devtools/client/shared/vendor/moz.build create mode 100644 devtools/client/shared/vendor/react-dev.js create mode 100644 devtools/client/shared/vendor/react-dom-dev.js create mode 100644 devtools/client/shared/vendor/react-dom-factories.js create mode 100644 devtools/client/shared/vendor/react-dom-server-dev.js create mode 100644 devtools/client/shared/vendor/react-dom-server.js create mode 100644 devtools/client/shared/vendor/react-dom-test-utils-dev.js create mode 100644 devtools/client/shared/vendor/react-dom-test-utils.js create mode 100644 devtools/client/shared/vendor/react-dom.js create mode 100644 devtools/client/shared/vendor/react-prop-types-dev.js create mode 100644 devtools/client/shared/vendor/react-prop-types.js create mode 100644 devtools/client/shared/vendor/react-redux.js create mode 100644 devtools/client/shared/vendor/react-router-dom.js create mode 100644 devtools/client/shared/vendor/react-test-renderer-shallow.js create mode 100644 devtools/client/shared/vendor/react-test-renderer.js create mode 100644 devtools/client/shared/vendor/react.js create mode 100644 devtools/client/shared/vendor/redux.js create mode 100644 devtools/client/shared/vendor/reselect.js create mode 100644 devtools/client/shared/vendor/source-map/LICENSE create mode 100644 devtools/client/shared/vendor/source-map/lib/array-set.js create mode 100644 devtools/client/shared/vendor/source-map/lib/base64-vlq.js create mode 100644 devtools/client/shared/vendor/source-map/lib/base64.js create mode 100644 devtools/client/shared/vendor/source-map/lib/binary-search.js create mode 100644 devtools/client/shared/vendor/source-map/lib/mapping-list.js create mode 100644 devtools/client/shared/vendor/source-map/lib/mappings.wasm create mode 100644 devtools/client/shared/vendor/source-map/lib/moz.build create mode 100644 devtools/client/shared/vendor/source-map/lib/read-wasm.js create mode 100644 devtools/client/shared/vendor/source-map/lib/source-map-consumer.js create mode 100644 devtools/client/shared/vendor/source-map/lib/source-map-generator.js create mode 100644 devtools/client/shared/vendor/source-map/lib/source-node.js create mode 100644 devtools/client/shared/vendor/source-map/lib/url.js create mode 100644 devtools/client/shared/vendor/source-map/lib/util.js create mode 100644 devtools/client/shared/vendor/source-map/lib/wasm.js create mode 100644 devtools/client/shared/vendor/source-map/moz.build create mode 100644 devtools/client/shared/vendor/source-map/moz.yaml create mode 100644 devtools/client/shared/vendor/source-map/read_wasm.patch create mode 100644 devtools/client/shared/vendor/source-map/relative_url.patch create mode 100644 devtools/client/shared/vendor/source-map/source-map.js create mode 100644 devtools/client/shared/vendor/whatwg-url.js create mode 100644 devtools/client/shared/view-source.js create mode 100644 devtools/client/shared/webgl-utils.js create mode 100644 devtools/client/shared/widgets/Chart.js create mode 100644 devtools/client/shared/widgets/CubicBezierPresets.js create mode 100644 devtools/client/shared/widgets/CubicBezierWidget.js create mode 100644 devtools/client/shared/widgets/FilterWidget.js create mode 100644 devtools/client/shared/widgets/LinearEasingFunctionWidget.js create mode 100644 devtools/client/shared/widgets/ShapesInContextEditor.js create mode 100644 devtools/client/shared/widgets/Spectrum.js create mode 100644 devtools/client/shared/widgets/TableWidget.js create mode 100644 devtools/client/shared/widgets/TreeWidget.js create mode 100644 devtools/client/shared/widgets/cubic-bezier.css create mode 100644 devtools/client/shared/widgets/filter-widget.css create mode 100644 devtools/client/shared/widgets/linear-widget.css create mode 100644 devtools/client/shared/widgets/moz.build create mode 100644 devtools/client/shared/widgets/spectrum.css create mode 100644 devtools/client/shared/widgets/tooltip/EventTooltipHelper.js create mode 100644 devtools/client/shared/widgets/tooltip/HTMLTooltip.js create mode 100644 devtools/client/shared/widgets/tooltip/ImageTooltipHelper.js create mode 100644 devtools/client/shared/widgets/tooltip/RulePreviewTooltip.js create mode 100644 devtools/client/shared/widgets/tooltip/SwatchBasedEditorTooltip.js create mode 100644 devtools/client/shared/widgets/tooltip/SwatchColorPickerTooltip.js create mode 100644 devtools/client/shared/widgets/tooltip/SwatchCubicBezierTooltip.js create mode 100644 devtools/client/shared/widgets/tooltip/SwatchFilterTooltip.js create mode 100644 devtools/client/shared/widgets/tooltip/SwatchLinearEasingFunctionTooltip.js create mode 100644 devtools/client/shared/widgets/tooltip/TooltipToggle.js create mode 100644 devtools/client/shared/widgets/tooltip/VariableTooltipHelper.js create mode 100644 devtools/client/shared/widgets/tooltip/css-compatibility-tooltip-helper.js create mode 100644 devtools/client/shared/widgets/tooltip/css-query-container-tooltip-helper.js create mode 100644 devtools/client/shared/widgets/tooltip/css-selector-warnings-tooltip-helper.js create mode 100644 devtools/client/shared/widgets/tooltip/inactive-css-tooltip-helper.js create mode 100644 devtools/client/shared/widgets/tooltip/moz.build create mode 100644 devtools/client/shared/widgets/view-helpers.js create mode 100644 devtools/client/shared/widgets/widgets.css create mode 100644 devtools/client/shared/worker-utils.js create mode 100644 devtools/client/shared/workers-listener.js create mode 100644 devtools/client/shared/zoom-keys.js (limited to 'devtools/client/shared') diff --git a/devtools/client/shared/WeakMapMap.js b/devtools/client/shared/WeakMapMap.js new file mode 100644 index 0000000000..37eac656dc --- /dev/null +++ b/devtools/client/shared/WeakMapMap.js @@ -0,0 +1,107 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/** + * WeakMapMap is a weakmap collection dual-keyed using an object and a string. + * This is useful for keeping data compartmentalized e.g. grouped by tab. + * + * It's name comes from the internal structure which maps a WeakMap to a map, + * which contains the target data. + * + * Usage: + * const myWeakMapMap = new WeakMapMap(); + * const key = { randomObject: true }; + * myWeakMapMap.set(key, "text1", "Some value1"); + * myWeakMapMap.set(key, "text2", "Some value2"); + * myWeakMapMap.get(key, "text1"); // Returns "Some value1" + * myWeakMapMap.get(key, "text2"); // Returns "Some value2" + * myWeakMapMap.has(key, "text1"); // Returns true + * myWeakMapMap.has(key, "notakey"); // Returns false + */ + +"use strict"; + +class WeakMapMap { + constructor() { + this.clear(); + } + + /** + * Returns the value associated to the key and nestedKey, or undefined if + * there is none. + * + * @param {Object} key + * The key associated with the desired value. + * @param {String} nestedKey + * The nested key associated with the desired value. + */ + get(key, nestedKey) { + if (!this.has(key, nestedKey)) { + return undefined; + } + + return this.store.get(key).get(nestedKey); + } + + /** + * Returns the value associated to the key and nestedKey, or undefined if + * there is none. + * + * @param {Object} key + * The key associated with the desired value. + * @param {String} nestedKey + * The nested key associated with the desired value. + */ + has(key, nestedKey) { + const hasKey = this.store.has(key); + + return hasKey && this.store.get(key).has(nestedKey); + } + + /** + * + * @param {Object} key + * The key associated with the value. + * @param {String} nestedKey + * The nested key associated with the value. + * @param {any} value + * The value to add. + */ + set(key, nestedKey, value) { + if (!this.store.has(key)) { + this.store.set(key, new Map()); + } + + const innerMap = this.store.get(key); + innerMap.set(nestedKey, value); + } + + /** + * Removes the value associated to the key and nestedKey. + * + * @param {Object} key + * The key associated with the desired value. + * @param {String} nestedKey + * The nested key associated with the desired value. + * + * @returns True if an element in the store has been removed successfully. + * False if the key is not found in the store. + */ + delete(key, nestedKey) { + if (!this.store.has(key)) { + return false; + } + + return this.store.get(key).delete(nestedKey); + } + + /** + * Clear the store. + */ + clear() { + this.store = new WeakMap(); + } +} + +module.exports = WeakMapMap; diff --git a/devtools/client/shared/async-store-helper.js b/devtools/client/shared/async-store-helper.js new file mode 100644 index 0000000000..0919a07b98 --- /dev/null +++ b/devtools/client/shared/async-store-helper.js @@ -0,0 +1,57 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at . */ + +"use strict"; + +const asyncStorage = require("resource://devtools/shared/async-storage.js"); + +/* + * asyncStoreHelper wraps asyncStorage so that it is easy to define project + * specific properties. It is similar to PrefsHelper. + * + * e.g. + * const asyncStore = asyncStoreHelper("r", {a: "_a"}) + * asyncStore.a // => asyncStorage.getItem("r._a") + * asyncStore.a = 2 // => asyncStorage.setItem("r._a", 2) + */ +function asyncStoreHelper(root, mappings) { + let store = {}; + + function getMappingKey(key) { + return Array.isArray(mappings[key]) ? mappings[key][0] : mappings[key]; + } + + function getMappingDefaultValue(key) { + return Array.isArray(mappings[key]) ? mappings[key][1] : null; + } + + Object.keys(mappings).map(key => + Object.defineProperty(store, key, { + async get() { + const value = await asyncStorage.getItem( + `${root}.${getMappingKey(key)}` + ); + return value || getMappingDefaultValue(key); + }, + set(value) { + asyncStorage.setItem(`${root}.${getMappingKey(key)}`, value); + }, + }) + ); + + store = new Proxy(store, { + set(target, property, value, receiver) { + if (!mappings.hasOwnProperty(property)) { + throw new Error(`AsyncStore: ${property} is not defined in mappings`); + } + + Reflect.set(...arguments); + return true; + }, + }); + + return store; +} + +module.exports = asyncStoreHelper; diff --git a/devtools/client/shared/autocomplete-popup.js b/devtools/client/shared/autocomplete-popup.js new file mode 100644 index 0000000000..93ebc8d688 --- /dev/null +++ b/devtools/client/shared/autocomplete-popup.js @@ -0,0 +1,709 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +"use strict"; + +const EventEmitter = require("resource://devtools/shared/event-emitter.js"); + +loader.lazyRequireGetter( + this, + "HTMLTooltip", + "resource://devtools/client/shared/widgets/tooltip/HTMLTooltip.js", + true +); +loader.lazyRequireGetter( + this, + "colorUtils", + "resource://devtools/shared/css/color.js", + true +); + +const HTML_NS = "http://www.w3.org/1999/xhtml"; +let itemIdCounter = 0; + +/** + * Autocomplete popup UI implementation. + * + * @constructor + * @param {Document} toolboxDoc + * The toolbox document to attach the autocomplete popup panel. + * @param {Object} options + * An object consiting any of the following options: + * - listId {String} The id for the list