Bug 1507937 - Run debugger jest tests. r=davidwalsh
authorJason Laster <jlaster@mozilla.com>
Fri, 04 Jan 2019 13:20:05 -0500
changeset 509845 f366780cecefaaf10c947449a65f299155038fed
parent 509844 5d07c4ae4354b01f9f1b9d2846cd30a96a9e3c7c
child 509846 aac6849c6ff0eb4981b569988a094f04e42f14dd
child 509916 f6f97217b46cbcfecc46d844540ec94f862d9d34
push id10547
push userffxbld-merge
push dateMon, 21 Jan 2019 13:03:58 +0000
treeherdermozilla-beta@24ec1916bffe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdavidwalsh
bugs1507937
milestone66.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1507937 - Run debugger jest tests. r=davidwalsh Reviewers: davidwalsh Tags: Bug #: 1507937 Differential Revision: https://phabricator.services.mozilla.com/D15742
devtools/client/debugger/new/.babelrc
devtools/client/debugger/new/images/Svg.js
devtools/client/debugger/new/jest-test.config.js
devtools/client/debugger/new/jest.config.js
devtools/client/debugger/new/package.json
devtools/client/debugger/new/packages/devtools-components/.babelrc
devtools/client/debugger/new/packages/devtools-components/.storybook/config.js
devtools/client/debugger/new/packages/devtools-components/.storybook/webpack.config.js
devtools/client/debugger/new/packages/devtools-components/LICENSE
devtools/client/debugger/new/packages/devtools-components/README.md
devtools/client/debugger/new/packages/devtools-components/index.js
devtools/client/debugger/new/packages/devtools-components/jest.config.js
devtools/client/debugger/new/packages/devtools-components/package.json
devtools/client/debugger/new/packages/devtools-components/postcss.config.js
devtools/client/debugger/new/packages/devtools-components/src/images/arrow.svg
devtools/client/debugger/new/packages/devtools-components/src/tests/__snapshots__/tree.js.snap
devtools/client/debugger/new/packages/devtools-components/src/tests/setup.js
devtools/client/debugger/new/packages/devtools-components/src/tests/tree.js
devtools/client/debugger/new/packages/devtools-components/src/tree.css
devtools/client/debugger/new/packages/devtools-components/src/tree.js
devtools/client/debugger/new/packages/devtools-components/stories/index.js
devtools/client/debugger/new/packages/devtools-components/stories/tree.js
devtools/client/debugger/new/packages/devtools-reps/LICENSE
devtools/client/debugger/new/packages/devtools-reps/README.md
devtools/client/debugger/new/packages/devtools-reps/assets/README.md
devtools/client/debugger/new/packages/devtools-reps/assets/images/demo-app.png
devtools/client/debugger/new/packages/devtools-reps/assets/images/empty-launchpad.png
devtools/client/debugger/new/packages/devtools-reps/assets/images/launchpad-app.png
devtools/client/debugger/new/packages/devtools-reps/bin/dev-server.js
devtools/client/debugger/new/packages/devtools-reps/config.js
devtools/client/debugger/new/packages/devtools-reps/jest.config.js
devtools/client/debugger/new/packages/devtools-reps/package.json
devtools/client/debugger/new/packages/devtools-reps/postcss.config.js
devtools/client/debugger/new/packages/devtools-reps/src/index.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/actions/expressions.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/actions/index.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/actions/input.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/components/Console.css
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/components/Console.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/components/Header.css
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/components/Header.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/components/QuickLinks.css
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/components/QuickLinks.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/components/Result.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/components/ResultsList.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/constants.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/index.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/launchpad.css
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/reducers/expressions.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/reducers/index.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/reducers/input.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/samples.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/selectors/index.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/store.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/utils/redux/middleware/promise.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/utils/redux/middleware/thunk.js
devtools/client/debugger/new/packages/devtools-reps/src/launchpad/utils/utils.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/actions.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/components/ObjectInspector.css
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/components/ObjectInspector.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/components/ObjectInspectorItem.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/index.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/reducer.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/stubs/grip.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/stubs/map.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/stubs/performance.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/__mocks__/long-string-client.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/__mocks__/object-client.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/basic.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/classnames.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/entries.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/expand.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/getter-setter.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/keyboard-navigation.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/properties.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/proxy.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/__snapshots__/window.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/basic.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/classnames.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/create-long-string-client.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/create-object-client.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/entries.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/events.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/expand.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/function.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/getter-setter.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/keyboard-navigation.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/properties.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/proxy.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/release-actors.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/component/window.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/test-utils.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/__snapshots__/promises.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/create-node.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/get-children.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/get-closest-grip-node.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/get-value.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/make-node-for-properties.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/make-numerical-buckets.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/node-has-all-entries-in-preview.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/node-has-entries.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/node-is-window.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/node-supports-numerical-bucketing.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/promises.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-entries.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-full-text.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-indexed-properties.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-non-indexed-properties.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-prototype.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/should-load-item-symbols.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/tests/utils/should-render-roots-in-reps.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/types.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/utils/client.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/utils/index.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/utils/load-properties.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/utils/node.js
devtools/client/debugger/new/packages/devtools-reps/src/object-inspector/utils/selection.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/accessible.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/accessor.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/array.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/attribute.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/caption.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/comment-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/constants.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/date-time.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/document-type.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/document.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/element-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/error.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/event.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/function.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/grip-array.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/grip-map-entry.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/grip-map.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/grip.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/infinity.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/nan.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/null.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/number.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/object-with-text.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/object-with-url.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/object.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/promise.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/prop-rep.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/regexp.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/rep-utils.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/rep.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/reps.css
devtools/client/debugger/new/packages/devtools-reps/src/reps/string.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/accessible.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/accessor.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/attribute.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/comment-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/date-time.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/document-type.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/document.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/element-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/error.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/event.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/failure.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/function.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/grip-array.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/grip-map-entry.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/grip-map.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/grip.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/infinity.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/long-string.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/nan.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/null.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/number.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/object-with-text.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/object-with-url.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/promise.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/regexp.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/stylesheet.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/symbol.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/text-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/undefined.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stubs/window.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/stylesheet.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/symbol.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/__snapshots__/accessor.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/__snapshots__/element-node.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/__snapshots__/error.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/__snapshots__/nan.js.snap
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/accessible.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/accessor.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/array.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/attribute.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/comment-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/date-time.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/document-type.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/document.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/element-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/error.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/event.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/failure.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/function.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/grip-array.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/grip-map-entry.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/grip-map.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/grip.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/helper-tests.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/infinity.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/long-string.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/nan.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/null.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/number.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/object-with-text.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/object-with-url.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/object.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/promise.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/regexp.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/string-with-url.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/string.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/stylesheet.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/symbol.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/test-helpers.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/text-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/undefined.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/tests/window.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/text-node.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/undefined.js
devtools/client/debugger/new/packages/devtools-reps/src/reps/window.js
devtools/client/debugger/new/packages/devtools-reps/src/shared/dom-node-constants.js
devtools/client/debugger/new/packages/devtools-reps/src/shared/grip-length-bubble.js
devtools/client/debugger/new/packages/devtools-reps/src/shared/images/input.svg
devtools/client/debugger/new/packages/devtools-reps/src/shared/images/jump-definition.svg
devtools/client/debugger/new/packages/devtools-reps/src/shared/images/open-inspector.svg
devtools/client/debugger/new/packages/devtools-reps/src/shared/redux/middleware/thunk.js
devtools/client/debugger/new/packages/devtools-reps/src/shared/redux/middleware/waitUntilService.js
devtools/client/debugger/new/packages/devtools-reps/src/test/README.md
devtools/client/debugger/new/packages/devtools-reps/src/test/__mocks__/selection.js
devtools/client/debugger/new/packages/devtools-reps/src/test/setup-file.js
devtools/client/debugger/new/packages/devtools-reps/src/test/setup.js
devtools/client/debugger/new/packages/devtools-source-map/LICENSE
devtools/client/debugger/new/packages/devtools-source-map/README.md
devtools/client/debugger/new/packages/devtools-source-map/assets.js
devtools/client/debugger/new/packages/devtools-source-map/jest.config.js
devtools/client/debugger/new/packages/devtools-source-map/package.json
devtools/client/debugger/new/packages/devtools-source-map/src/index.js
devtools/client/debugger/new/packages/devtools-source-map/src/source-map.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/absolute.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/absolute.js.map
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/bundle.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/bundle.js.map
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/empty.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/empty.js.map
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/if.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/if.out.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/if.out.js.map
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/missingmap.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/noroot.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/noroot.js.map
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/noroot2.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/fixtures/noroot2.js.map
devtools/client/debugger/new/packages/devtools-source-map/src/tests/getContentType.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/helpers.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/locations.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/source-map.js
devtools/client/debugger/new/packages/devtools-source-map/src/tests/wasm-source-map.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/assert.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/convertToJSON.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/createConsumer.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/fetchSourceMap.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/getOriginalStackFrames.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/index.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/sourceMapRequests.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/wasmAsset.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/wasmAssetBrowser.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/wasmRemap.js
devtools/client/debugger/new/packages/devtools-source-map/src/utils/wasmXScopes.js
devtools/client/debugger/new/packages/devtools-source-map/src/worker.js
devtools/client/debugger/new/packages/devtools-source-map/wasm/dwarf_to_json.wasm
devtools/client/debugger/new/packages/devtools-splitter/.babelrc
devtools/client/debugger/new/packages/devtools-splitter/LICENSE
devtools/client/debugger/new/packages/devtools-splitter/README.md
devtools/client/debugger/new/packages/devtools-splitter/index.js
devtools/client/debugger/new/packages/devtools-splitter/package.json
devtools/client/debugger/new/packages/devtools-splitter/src/Draggable.js
devtools/client/debugger/new/packages/devtools-splitter/src/SplitBox.css
devtools/client/debugger/new/packages/devtools-splitter/src/SplitBox.js
devtools/client/debugger/new/packages/devtools-utils/.babelrc
devtools/client/debugger/new/packages/devtools-utils/LICENSE
devtools/client/debugger/new/packages/devtools-utils/README.md
devtools/client/debugger/new/packages/devtools-utils/index.js
devtools/client/debugger/new/packages/devtools-utils/jest.config.js
devtools/client/debugger/new/packages/devtools-utils/package.json
devtools/client/debugger/new/packages/devtools-utils/src/network-request.js
devtools/client/debugger/new/packages/devtools-utils/src/privileged-network-request.js
devtools/client/debugger/new/packages/devtools-utils/src/tests/.eslintrc
devtools/client/debugger/new/packages/devtools-utils/src/tests/network-request.js
devtools/client/debugger/new/packages/devtools-utils/src/tests/worker-utils.js
devtools/client/debugger/new/packages/devtools-utils/src/worker-utils.js
devtools/client/debugger/new/src/actions/breakpoints/tests/__snapshots__/breakpoints.spec.js.snap
devtools/client/debugger/new/src/actions/breakpoints/tests/__snapshots__/syncing.spec.js.snap
devtools/client/debugger/new/src/actions/breakpoints/tests/breakpoints.spec.js
devtools/client/debugger/new/src/actions/breakpoints/tests/syncing.spec.js
devtools/client/debugger/new/src/actions/breakpoints/tests/toggleBreakpointsAtLine.spec.js
devtools/client/debugger/new/src/actions/pause/tests/__snapshots__/pauseOnExceptions.spec.js.snap
devtools/client/debugger/new/src/actions/pause/tests/pause.spec.js
devtools/client/debugger/new/src/actions/pause/tests/pauseOnExceptions.spec.js
devtools/client/debugger/new/src/actions/pause/tests/skipPausing.spec.js
devtools/client/debugger/new/src/actions/sources/tests/__snapshots__/prettyPrint.spec.js.snap
devtools/client/debugger/new/src/actions/sources/tests/loadSource.spec.js
devtools/client/debugger/new/src/actions/sources/tests/newSources.spec.js
devtools/client/debugger/new/src/actions/sources/tests/prettyPrint.spec.js
devtools/client/debugger/new/src/actions/sources/tests/querystrings.spec.js
devtools/client/debugger/new/src/actions/sources/tests/select.spec.js
devtools/client/debugger/new/src/actions/tests/__snapshots__/ast.spec.js.snap
devtools/client/debugger/new/src/actions/tests/__snapshots__/expressions.spec.js.snap
devtools/client/debugger/new/src/actions/tests/__snapshots__/pending-breakpoints.spec.js.snap
devtools/client/debugger/new/src/actions/tests/__snapshots__/project-text-search.spec.js.snap
devtools/client/debugger/new/src/actions/tests/ast.spec.js
devtools/client/debugger/new/src/actions/tests/expressions.spec.js
devtools/client/debugger/new/src/actions/tests/file-search.spec.js
devtools/client/debugger/new/src/actions/tests/fixtures/immutable.js
devtools/client/debugger/new/src/actions/tests/fixtures/reactComponent.js
devtools/client/debugger/new/src/actions/tests/fixtures/reactFuncComponent.js
devtools/client/debugger/new/src/actions/tests/fixtures/scopes.js
devtools/client/debugger/new/src/actions/tests/helpers/breakpoints.js
devtools/client/debugger/new/src/actions/tests/helpers/readFixture.js
devtools/client/debugger/new/src/actions/tests/helpers/threadClient.js
devtools/client/debugger/new/src/actions/tests/navigation.spec.js
devtools/client/debugger/new/src/actions/tests/pending-breakpoints.spec.js
devtools/client/debugger/new/src/actions/tests/project-text-search.spec.js
devtools/client/debugger/new/src/actions/tests/setProjectDirectoryRoot.spec.js
devtools/client/debugger/new/src/actions/tests/source-tree.spec.js
devtools/client/debugger/new/src/actions/tests/tabs.spec.js
devtools/client/debugger/new/src/actions/tests/toolbox.spec.js
devtools/client/debugger/new/src/actions/tests/ui.spec.js
devtools/client/debugger/new/src/actions/types/ASTAction.js
devtools/client/debugger/new/src/actions/types/BreakpointAction.js
devtools/client/debugger/new/src/actions/types/PauseAction.js
devtools/client/debugger/new/src/actions/types/SourceAction.js
devtools/client/debugger/new/src/actions/types/UIAction.js
devtools/client/debugger/new/src/actions/types/index.js
devtools/client/debugger/new/src/client/chrome/types.js
devtools/client/debugger/new/src/client/firefox/tests/commands.spec.js
devtools/client/debugger/new/src/client/firefox/tests/onconnect.spec.js
devtools/client/debugger/new/src/client/firefox/types.js
devtools/client/debugger/new/src/components/Editor/tests/Breakpoints.spec.js
devtools/client/debugger/new/src/components/Editor/tests/DebugLine.spec.js
devtools/client/debugger/new/src/components/Editor/tests/Editor.spec.js
devtools/client/debugger/new/src/components/Editor/tests/Footer.spec.js
devtools/client/debugger/new/src/components/Editor/tests/SearchBar.spec.js
devtools/client/debugger/new/src/components/Editor/tests/__snapshots__/Breakpoints.spec.js.snap
devtools/client/debugger/new/src/components/Editor/tests/__snapshots__/Editor.spec.js.snap
devtools/client/debugger/new/src/components/Editor/tests/__snapshots__/Footer.spec.js.snap
devtools/client/debugger/new/src/components/Editor/tests/__snapshots__/SearchBar.spec.js.snap
devtools/client/debugger/new/src/components/PrimaryPanes/tests/SourcesTree.spec.js
devtools/client/debugger/new/src/components/PrimaryPanes/tests/SourcesTreeItem.spec.js
devtools/client/debugger/new/src/components/PrimaryPanes/tests/__snapshots__/SourcesTree.spec.js.snap
devtools/client/debugger/new/src/components/PrimaryPanes/tests/__snapshots__/SourcesTreeItem.spec.js.snap
devtools/client/debugger/new/src/components/SecondaryPanes/Breakpoints/tests/Breakpoint.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/Breakpoints/tests/BreakpointsContextMenu.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/Breakpoints/tests/ExceptionOption.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/Breakpoints/tests/__snapshots__/Breakpoint.spec.js.snap
devtools/client/debugger/new/src/components/SecondaryPanes/Breakpoints/tests/__snapshots__/ExceptionOption.spec.js.snap
devtools/client/debugger/new/src/components/SecondaryPanes/Frames/tests/Frame.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/Frames/tests/FrameMenu.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/Frames/tests/Frames.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/Frames/tests/Group.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/Frames/tests/__snapshots__/Frame.spec.js.snap
devtools/client/debugger/new/src/components/SecondaryPanes/Frames/tests/__snapshots__/Frames.spec.js.snap
devtools/client/debugger/new/src/components/SecondaryPanes/Frames/tests/__snapshots__/Group.spec.js.snap
devtools/client/debugger/new/src/components/SecondaryPanes/Frames/types.js
devtools/client/debugger/new/src/components/SecondaryPanes/tests/CommandBar.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/tests/Expressions.spec.js
devtools/client/debugger/new/src/components/SecondaryPanes/tests/__snapshots__/Expressions.spec.js.snap
devtools/client/debugger/new/src/components/shared/Button/tests/CloseButton.spec.js
devtools/client/debugger/new/src/components/shared/Button/tests/CommandBarButton.spec.js
devtools/client/debugger/new/src/components/shared/Button/tests/PaneToggleButton.spec.js
devtools/client/debugger/new/src/components/shared/Button/tests/__snapshots__/CloseButton.spec.js.snap
devtools/client/debugger/new/src/components/shared/Button/tests/__snapshots__/CommandBarButton.spec.js.snap
devtools/client/debugger/new/src/components/shared/Button/tests/__snapshots__/PaneToggleButton.spec.js.snap
devtools/client/debugger/new/src/components/shared/Svg.js
devtools/client/debugger/new/src/components/shared/tests/Accordion.spec.js
devtools/client/debugger/new/src/components/shared/tests/Badge.spec.js
devtools/client/debugger/new/src/components/shared/tests/BracketArrow.spec.js
devtools/client/debugger/new/src/components/shared/tests/Dropdown.spec.js
devtools/client/debugger/new/src/components/shared/tests/ManagedTree.spec.js
devtools/client/debugger/new/src/components/shared/tests/Modal.spec.js
devtools/client/debugger/new/src/components/shared/tests/Popover.spec.js
devtools/client/debugger/new/src/components/shared/tests/PreviewFunction.spec.js
devtools/client/debugger/new/src/components/shared/tests/ResultList.spec.js
devtools/client/debugger/new/src/components/shared/tests/SearchInput.spec.js
devtools/client/debugger/new/src/components/shared/tests/Svg.spec.js
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/Accordion.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/Badge.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/BracketArrow.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/Dropdown.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/ManagedTree.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/Modal.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/Popover.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/PreviewFunction.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/ResultList.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/SearchInput.spec.js.snap
devtools/client/debugger/new/src/components/shared/tests/__snapshots__/Svg.spec.js.snap
devtools/client/debugger/new/src/components/test/A11yIntention.spec.js
devtools/client/debugger/new/src/components/test/Outline.spec.js
devtools/client/debugger/new/src/components/test/OutlineFilter.spec.js
devtools/client/debugger/new/src/components/test/ProjectSearch.spec.js
devtools/client/debugger/new/src/components/test/QuickOpenModal.spec.js
devtools/client/debugger/new/src/components/test/ShortcutsModal.spec.js
devtools/client/debugger/new/src/components/test/WelcomeBox.spec.js
devtools/client/debugger/new/src/components/test/WhyPaused.spec.js
devtools/client/debugger/new/src/components/test/__snapshots__/A11yIntention.spec.js.snap
devtools/client/debugger/new/src/components/test/__snapshots__/Outline.spec.js.snap
devtools/client/debugger/new/src/components/test/__snapshots__/OutlineFilter.spec.js.snap
devtools/client/debugger/new/src/components/test/__snapshots__/ProjectSearch.spec.js.snap
devtools/client/debugger/new/src/components/test/__snapshots__/QuickOpenModal.spec.js.snap
devtools/client/debugger/new/src/components/test/__snapshots__/ShortcutsModal.spec.js.snap
devtools/client/debugger/new/src/components/test/__snapshots__/WelcomeBox.spec.js.snap
devtools/client/debugger/new/src/components/test/__snapshots__/WhyPaused.spec.js.snap
devtools/client/debugger/new/src/global-types.js
devtools/client/debugger/new/src/moz.build
devtools/client/debugger/new/src/reducers/tests/breakpoints.spec.js
devtools/client/debugger/new/src/reducers/tests/quick-open.spec.js
devtools/client/debugger/new/src/reducers/tests/sources.spec.js
devtools/client/debugger/new/src/reducers/tests/ui.spec.js
devtools/client/debugger/new/src/reducers/types.js
devtools/client/debugger/new/src/selectors/test/__snapshots__/visibleColumnBreakpoints.spec.js.snap
devtools/client/debugger/new/src/selectors/test/getCallStackFrames.spec.js
devtools/client/debugger/new/src/selectors/test/visibleColumnBreakpoints.spec.js
devtools/client/debugger/new/src/test/__mocks__/request-animation-frame.js
devtools/client/debugger/new/src/test/__mocks__/styleMock.js
devtools/client/debugger/new/src/test/__mocks__/svgMock.js
devtools/client/debugger/new/src/test/fixtures/foobar.json
devtools/client/debugger/new/src/test/fixtures/index.js
devtools/client/debugger/new/src/test/shim.js
devtools/client/debugger/new/src/test/tests-setup.js
devtools/client/debugger/new/src/test/utils/history.js
devtools/client/debugger/new/src/types.js
devtools/client/debugger/new/src/utils/breakpoint/tests/__snapshots__/astBreakpointLocation.spec.js.snap
devtools/client/debugger/new/src/utils/breakpoint/tests/astBreakpointLocation.spec.js
devtools/client/debugger/new/src/utils/breakpoint/tests/index.spec.js
devtools/client/debugger/new/src/utils/editor/tests/__snapshots__/create-editor.spec.js.snap
devtools/client/debugger/new/src/utils/editor/tests/create-editor.spec.js
devtools/client/debugger/new/src/utils/editor/tests/editor.spec.js
devtools/client/debugger/new/src/utils/editor/tests/get-expression.spec.js
devtools/client/debugger/new/src/utils/editor/tests/get-token-location.spec.js
devtools/client/debugger/new/src/utils/editor/tests/source-search.spec.js
devtools/client/debugger/new/src/utils/editor/types.js
devtools/client/debugger/new/src/utils/pause/frames/tests/annotateFrames.spec.js
devtools/client/debugger/new/src/utils/pause/frames/tests/displayName.spec.js
devtools/client/debugger/new/src/utils/pause/frames/tests/getLibraryFromUrl.spec.js
devtools/client/debugger/new/src/utils/pause/scopes/tests/getFramePopVariables.spec.js
devtools/client/debugger/new/src/utils/pause/scopes/tests/scopes.spec.js
devtools/client/debugger/new/src/utils/pause/scopes/types.js
devtools/client/debugger/new/src/utils/sources-tree/tests/__snapshots__/addToTree.spec.js.snap
devtools/client/debugger/new/src/utils/sources-tree/tests/__snapshots__/collapseTree.spec.js.snap
devtools/client/debugger/new/src/utils/sources-tree/tests/__snapshots__/sortTree.spec.js.snap
devtools/client/debugger/new/src/utils/sources-tree/tests/__snapshots__/updateTree.spec.js.snap
devtools/client/debugger/new/src/utils/sources-tree/tests/addToTree.spec.js
devtools/client/debugger/new/src/utils/sources-tree/tests/collapseTree.spec.js
devtools/client/debugger/new/src/utils/sources-tree/tests/getDirectories.spec.js
devtools/client/debugger/new/src/utils/sources-tree/tests/getUrl.spec.js
devtools/client/debugger/new/src/utils/sources-tree/tests/sortTree.spec.js
devtools/client/debugger/new/src/utils/sources-tree/tests/treeOrder.spec.js
devtools/client/debugger/new/src/utils/sources-tree/tests/updateTree.spec.js
devtools/client/debugger/new/src/utils/sources-tree/tests/utils.spec.js
devtools/client/debugger/new/src/utils/sources-tree/types.js
devtools/client/debugger/new/src/utils/test-head.js
devtools/client/debugger/new/src/utils/tests/DevToolsUtils.spec.js
devtools/client/debugger/new/src/utils/tests/__snapshots__/ast.spec.js.snap
devtools/client/debugger/new/src/utils/tests/__snapshots__/expressions.spec.js.snap
devtools/client/debugger/new/src/utils/tests/__snapshots__/function.spec.js.snap
devtools/client/debugger/new/src/utils/tests/__snapshots__/indentation.spec.js.snap
devtools/client/debugger/new/src/utils/tests/__snapshots__/project-search.spec.js.snap
devtools/client/debugger/new/src/utils/tests/assert.spec.js
devtools/client/debugger/new/src/utils/tests/ast.spec.js
devtools/client/debugger/new/src/utils/tests/asyncStoreHelper.spec.js
devtools/client/debugger/new/src/utils/tests/build-query.spec.js
devtools/client/debugger/new/src/utils/tests/clipboard.spec.js
devtools/client/debugger/new/src/utils/tests/expressions.spec.js
devtools/client/debugger/new/src/utils/tests/fromJS.spec.js
devtools/client/debugger/new/src/utils/tests/function.spec.js
devtools/client/debugger/new/src/utils/tests/indentation.spec.js
devtools/client/debugger/new/src/utils/tests/isMinified.spec.js
devtools/client/debugger/new/src/utils/tests/log.spec.js
devtools/client/debugger/new/src/utils/tests/memoize.spec.js
devtools/client/debugger/new/src/utils/tests/path.spec.js
devtools/client/debugger/new/src/utils/tests/project-search.spec.js
devtools/client/debugger/new/src/utils/tests/quick-open.spec.js
devtools/client/debugger/new/src/utils/tests/result-list.spec.js
devtools/client/debugger/new/src/utils/tests/source.spec.js
devtools/client/debugger/new/src/utils/tests/telemetry.spec.js
devtools/client/debugger/new/src/utils/tests/text.spec.js
devtools/client/debugger/new/src/utils/tests/ui.spec.js
devtools/client/debugger/new/src/utils/tests/utils.spec.js
devtools/client/debugger/new/src/utils/tests/wasm.spec.js
devtools/client/debugger/new/src/vendors.js
devtools/client/debugger/new/src/workers/parser/findOutOfScopeLocations.js
devtools/client/debugger/new/src/workers/parser/frameworks.js
devtools/client/debugger/new/src/workers/parser/getScopes/moz.build
devtools/client/debugger/new/src/workers/parser/getScopes/visitor.js
devtools/client/debugger/new/src/workers/parser/getSymbols.js
devtools/client/debugger/new/src/workers/parser/mapAwaitExpression.js
devtools/client/debugger/new/src/workers/parser/mapBindings.js
devtools/client/debugger/new/src/workers/parser/mapExpression.js
devtools/client/debugger/new/src/workers/parser/mapOriginalExpression.js
devtools/client/debugger/new/src/workers/parser/moz.build
devtools/client/debugger/new/src/workers/parser/pausePoints.js
devtools/client/debugger/new/src/workers/parser/sources.js
devtools/client/debugger/new/src/workers/parser/steps.js
devtools/client/debugger/new/src/workers/parser/tests/__snapshots__/findOutOfScopeLocations.spec.js.snap
devtools/client/debugger/new/src/workers/parser/tests/__snapshots__/getScopes.spec.js.snap
devtools/client/debugger/new/src/workers/parser/tests/__snapshots__/getSymbols.spec.js.snap
devtools/client/debugger/new/src/workers/parser/tests/__snapshots__/pausePoints.spec.js.snap
devtools/client/debugger/new/src/workers/parser/tests/__snapshots__/validate.spec.js.snap
devtools/client/debugger/new/src/workers/parser/tests/contains.spec.js
devtools/client/debugger/new/src/workers/parser/tests/findOutOfScopeLocations.spec.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/allSymbols.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/async.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/call-sites.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/callExpressions.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/calls.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/class.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/component.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/computed-props.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/control-flow.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/decorators.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/destructuring.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/es6.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/expression.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/flow.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/frameworks/angular1FalsePositive.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/frameworks/angular1Module.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/frameworks/plainJavascript.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/frameworks/reactComponent.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/frameworks/reactComponentEs5.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/frameworks/vueFileComponent.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/frameworks/vueFileDeclarative.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/func.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/functionNames.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/generators.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/jsx.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/math.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/modules.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/object-expressions.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/outOfScope.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/outOfScopeComment.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/parseScriptTags.html
devtools/client/debugger/new/src/workers/parser/tests/fixtures/proto.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/resolveToken.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/arrow-function.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/binding-types.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/block-statement.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/class-declaration.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/class-expression.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/class-property.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/complex-nesting.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/expressions.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/flowtype-bindings.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/fn-body-lex-and-nonlex.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/for-loops.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/function-declaration.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/function-expression.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/jsx-component.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/out-of-order-declarations.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/pattern-declarations.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/simple-module.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/switch-statement.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/try-catch.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/ts-sample.ts
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/tsx-sample.tsx
devtools/client/debugger/new/src/workers/parser/tests/fixtures/scopes/vue-sample.vue
devtools/client/debugger/new/src/workers/parser/tests/fixtures/statements.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/thisExpression.js
devtools/client/debugger/new/src/workers/parser/tests/fixtures/var.js
devtools/client/debugger/new/src/workers/parser/tests/framework.spec.js
devtools/client/debugger/new/src/workers/parser/tests/getScopes.spec.js
devtools/client/debugger/new/src/workers/parser/tests/getSymbols.spec.js
devtools/client/debugger/new/src/workers/parser/tests/helpers/index.js
devtools/client/debugger/new/src/workers/parser/tests/mapBindings.spec.js
devtools/client/debugger/new/src/workers/parser/tests/mapExpression.spec.js
devtools/client/debugger/new/src/workers/parser/tests/mapOriginalExpression.spec.js
devtools/client/debugger/new/src/workers/parser/tests/pausePoints.spec.js
devtools/client/debugger/new/src/workers/parser/tests/sources.spec.js
devtools/client/debugger/new/src/workers/parser/tests/steps.spec.js
devtools/client/debugger/new/src/workers/parser/tests/validate.spec.js
devtools/client/debugger/new/src/workers/parser/types.js
devtools/client/debugger/new/src/workers/parser/utils/ast.js
devtools/client/debugger/new/src/workers/parser/utils/closest.js
devtools/client/debugger/new/src/workers/parser/utils/contains.js
devtools/client/debugger/new/src/workers/parser/utils/formatSymbols.js
devtools/client/debugger/new/src/workers/parser/utils/getFunctionName.js
devtools/client/debugger/new/src/workers/parser/utils/helpers.js
devtools/client/debugger/new/src/workers/parser/utils/inferClassName.js
devtools/client/debugger/new/src/workers/parser/utils/simple-path.js
devtools/client/debugger/new/src/workers/parser/utils/tests/ast.spec.js
devtools/client/debugger/new/src/workers/parser/validate.js
devtools/client/debugger/new/src/workers/parser/worker.js
devtools/client/debugger/new/src/workers/pretty-print/worker.js
devtools/client/debugger/new/src/workers/search/get-matches.js
devtools/client/debugger/new/src/workers/search/project-search.js
devtools/client/debugger/new/src/workers/search/tests/__snapshots__/project-search.spec.js.snap
devtools/client/debugger/new/src/workers/search/tests/get-matches.spec.js
devtools/client/debugger/new/src/workers/search/tests/project-search.spec.js
devtools/client/debugger/new/src/workers/search/worker.js
devtools/client/debugger/new/yarn.lock
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/.babelrc
@@ -0,0 +1,45 @@
+{
+  "presets": [
+    "react",
+
+    [
+      "env",
+      {
+        "targets": {
+          "browsers": ["last 1 Chrome version", "last 1 Firefox version"]
+        },
+        "modules": "commonjs"
+      }
+    ]
+  ],
+  "plugins": [
+    "transform-flow-strip-types",
+    "transform-class-properties",
+    "syntax-trailing-function-commas",
+    "syntax-object-rest-spread",
+    [
+      "module-resolver",
+      {
+        "alias": {
+          "devtools/client/shared/vendor/react": "react",
+          "devtools/client/shared/vendor/react-dom": "react-dom"
+        }
+      }
+    ]
+  ],
+  "env": {
+    "test": {
+      "presets": [
+        [
+          "env",
+          {
+            "targets": {
+              "node": 7
+            },
+            "modules": "commonjs"
+          }
+        ]
+      ]
+    }
+  }
+}
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/images/Svg.js
@@ -0,0 +1,109 @@
+/* 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/>. */
+
+const React = require("react");
+import InlineSVG from "svg-inline-react";
+
+const svg = {
+  "angle-brackets": require("./angle-brackets.svg"),
+  angular: require("./angular.svg"),
+  arrow: require("./arrow.svg"),
+  babel: require("./babel.svg"),
+  backbone: require("./backbone.svg"),
+  blackBox: require("./blackBox.svg"),
+  breadcrumb: require("./breadcrumbs-divider.svg"),
+  breakpoint: require("./breakpoint.svg"),
+  "column-breakpoint": require("./column-breakpoint.svg"),
+  "column-marker": require("./column-marker.svg"),
+  "case-match": require("./case-match.svg"),
+  choo: require("./choo.svg"),
+  close: require("./close.svg"),
+  coffeescript: require(`./coffeescript.svg`),
+  dojo: require("./dojo.svg"),
+  domain: require("./domain.svg"),
+  extension: require("./extension.svg"),
+  file: require("./file.svg"),
+  folder: require("./folder.svg"),
+  globe: require("./globe.svg"),
+  home: require("./home.svg"),
+  javascript: require("./javascript.svg"),
+  jquery: require("./jquery.svg"),
+  underscore: require("./underscore.svg"),
+  lodash: require("./lodash.svg"),
+  ember: require("./ember.svg"),
+  vuejs: require("./vuejs.svg"),
+  "magnifying-glass": require("./magnifying-glass.svg"),
+  "arrow-up": require("./arrow-up.svg"),
+  "arrow-down": require("./arrow-down.svg"),
+  pause: require("./pause.svg"),
+  "pause-exceptions": require("./pause-exceptions.svg"),
+  plus: require("./plus.svg"),
+  preact: require("./preact.svg"),
+  aframe: require("./aframe.svg"),
+  prettyPrint: require("./prettyPrint.svg"),
+  react: require("./react.svg"),
+  "regex-match": require("./regex-match.svg"),
+  redux: require("./redux.svg"),
+  immutable: require("./immutable.svg"),
+  resume: require("./resume.svg"),
+  settings: require("./settings.svg"),
+  stepIn: require("./stepIn.svg"),
+  stepOut: require("./stepOut.svg"),
+  stepOver: require("./stepOver.svg"),
+  subSettings: require("./subSettings.svg"),
+  tab: require("./tab.svg"),
+  toggleBreakpoints: require("./toggle-breakpoints.svg"),
+  togglePanes: require("./toggle-panes.svg"),
+  typescript: require("./typescript.svg"),
+  "whole-word-match": require("./whole-word-match.svg"),
+  worker: require("./worker.svg"),
+  "sad-face": require("devtools-mc-assets/assets/devtools/client/themes/images/sad-face.svg"),
+  refresh: require("devtools-mc-assets/assets/devtools/client/themes/images/reload.svg"),
+  webpack: require("./webpack.svg"),
+  node: require("./node.svg"),
+  express: require("./express.svg"),
+  pug: require("./pug.svg"),
+  extjs: require("./sencha-extjs.svg"),
+  mobx: require("./mobx.svg"),
+  marko: require("./marko.svg"),
+  nextjs: require("./nextjs.svg"),
+  showSources: require("./showSources.svg"),
+  showOutline: require("./showOutline.svg"),
+  nuxtjs: require("./nuxtjs.svg"),
+  rxjs: require("./rxjs.svg"),
+  loader: require('./loader.svg')
+};
+
+type SvgType = {
+  name: string,
+  className?: string,
+  onClick?: () => void,
+  "aria-label"?: string
+};
+
+function Svg({ name, className, onClick, "aria-label": ariaLabel }) {
+  if (!svg[name]) {
+    const error = `Unknown SVG: ${name}`;
+    console.warn(error);
+    return null;
+  }
+
+  className = `${name} ${className || ""}`;
+  if (name === "subSettings") {
+    className = "";
+  }
+
+  const props = {
+    className,
+    onClick,
+    ["aria-label"]: ariaLabel,
+    src: svg[name]
+  };
+
+  return <InlineSVG {...props} />;
+}
+
+Svg.displayName = "Svg";
+
+module.exports = Svg;
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/jest-test.config.js
@@ -0,0 +1,40 @@
+/* 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/>. */
+
+const { resolve } = require("path");
+const rootDir = resolve(__dirname);
+module.exports = {
+  rootDir,
+  displayName: "test",
+  testURL: "http://localhost/",
+  testPathIgnorePatterns: [
+    "/node_modules/",
+    "/helpers/",
+    "/fixtures/",
+    "src/test/mochitest/examples/",
+    "<rootDir>/firefox",
+    "package.json",
+    "<rootDir>/packages"
+  ],
+  modulePathIgnorePatterns: ["src/test/mochitest", "firefox"],
+  collectCoverageFrom: [
+    "src/**/*.js",
+    "!src/**/fixtures/*.js",
+    "!src/test/**/*.js",
+    "!src/components/stories/**/*.js",
+    "!**/*.mock.js",
+    "!**/*.spec.js"
+  ],
+  transformIgnorePatterns: ["node_modules/(?!devtools-)"],
+  setupTestFrameworkScriptFile: "<rootDir>/src/test/tests-setup.js",
+  setupFiles: ["<rootDir>/src/test/shim.js", "jest-localstorage-mock"],
+  snapshotSerializers: [
+    "jest-serializer-babel-ast",
+    "enzyme-to-json/serializer"
+  ],
+  moduleNameMapper: {
+    "\\.css$": "<rootDir>/src/test/__mocks__/styleMock.js",
+    "\\.svg$": "<rootDir>/src/test/__mocks__/svgMock.js"
+  }
+};
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/jest.config.js
@@ -0,0 +1,14 @@
+/* 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/>. */
+
+const { resolve } = require("path");
+const rootDir = resolve(__dirname);
+module.exports = {
+  rootDir,
+  reporters: ["default"],
+  projects: [
+    "<rootDir>/jest-test.config.js",
+    "<rootDir>/packages/*/jest.config.js"
+  ]
+};
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/package.json
@@ -0,0 +1,137 @@
+{
+  "name": "debugger.html",
+  "version": "0.6.0",
+  "license": "MPL-2.0",
+  "repository": {
+    "url": "git://github.com/devtools-html/debugger.html.git",
+    "type": "git"
+  },
+  "bugs": {
+    "url": "https://github.com/devtools-html/debugger.html/issues"
+  },
+  "homepage": "https://github.com/devtools-html/debugger.html#readme",
+  "engineStrict": true,
+  "engines": {
+    "node": ">=7.7.0"
+  },
+  "scripts": {
+  },
+  "dependencies": {
+    "@babel/core": "^7.0.0-beta.55",
+    "@babel/parser": "^7.0.0-beta.55",
+    "@babel/template": "^7.0.0-beta.55",
+    "@babel/types": "^7.0.0-beta.55",
+    "babel-plugin-transform-imports": "^1.5.0",
+    "codemirror": "^5.28.0",
+    "devtools-environment": "^0.0.6",
+    "devtools-launchpad": "^0.0.141",
+    "devtools-linters": "^0.0.4",
+    "devtools-reps": "0.23.0",
+    "devtools-source-map": "0.16.0",
+    "devtools-splitter": "^0.0.8",
+    "devtools-utils": "0.0.14",
+    "fuzzaldrin-plus": "^0.6.0",
+    "immutable": "^3.8.2",
+    "lodash": "^4.17.4",
+    "lodash-move": "^1.1.1",
+    "lodash.kebabcase": "^4.1.1",
+    "md5": "^2.2.1",
+    "parse-script-tags": "^0.1.6",
+    "pretty-fast": "^0.2.3",
+    "prop-types": "^15.6.0",
+    "react": "16.4.1",
+    "react-aria-components": "^0.0.4",
+    "react-dom": "16.4.1",
+    "react-immutable-proptypes": "^2.1.0",
+    "react-inlinesvg": "^0.8.1",
+    "react-redux": "^5.0.7",
+    "react-transition-group": "^2.2.1",
+    "reselect": "^4.0.0",
+    "svg-inline-react": "^3.0.0",
+    "wasmparser": "^0.7.0"
+  },
+  "private": true,
+  "workspaces": [
+    "packages/*"
+  ],
+  "files": [
+    "src",
+    "assets"
+  ],
+  "greenkeeper": {
+    "ignore": [
+      "react",
+      "react-dom",
+      "react-redux",
+      "redux",
+      "codemirror"
+    ]
+  },
+  "main": "src/main.js",
+  "author": "Jason Laster <jlaster@mozilla.com>",
+  "devDependencies": {
+    "@sucrase/webpack-object-rest-spread-plugin": "^1.0.0",
+    "babel-eslint": "^10.0.1",
+    "babel-jest": "^23.0.0",
+    "babel-plugin-syntax-object-rest-spread": "^6.13.0",
+    "babel-plugin-syntax-trailing-function-commas": "^6.22.0",
+    "babel-plugin-transform-class-properties": "^6.24.1",
+    "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
+    "babel-preset-env": "^1.6.1",
+    "babel-preset-react": "^6.24.1",
+    "chalk": "^2.1.0",
+    "copy-paste": "^1.3.0",
+    "copy-webpack-plugin": "^4.5.2",
+    "devtools-license-check": "^0.7.0",
+    "enzyme": "^3.3.0",
+    "enzyme-adapter-react-16": "^1.1.1",
+    "enzyme-to-json": "3.3.4",
+    "eslint": "^5.0.0",
+    "eslint-config-prettier": "^3.0.0",
+    "eslint-plugin-babel": "^5.0.0",
+    "eslint-plugin-file-header": "0.0.1",
+    "eslint-plugin-flowtype": "^3.0.0",
+    "eslint-plugin-import": "^2.8.0",
+    "eslint-plugin-jest": "^21.15.1",
+    "eslint-plugin-jsx-a11y": "^6.1.2",
+    "eslint-plugin-mozilla": "1.0.4",
+    "eslint-plugin-prettier": "^3.0.0",
+    "eslint-plugin-react": "^7.2.1",
+    "expect.js": "^0.3.1",
+    "flow-bin": "^0.89.0",
+    "glob": "^7.0.3",
+    "husky": "^1.0.1",
+    "jest": "^23.0.0",
+    "jest-environment-jsdom": "^23.0.0",
+    "jest-in-case": "^1.0.2",
+    "jest-junit": "^5.0.0",
+    "jest-localstorage-mock": "^2.2.0",
+    "jest-serializer-babel-ast": "^0.0.5",
+    "lint-staged": "^8.0.0",
+    "mochii": "^0.0.32",
+    "mock-require": "^3.0.0",
+    "node-emoji": "^1.8.1",
+    "npm-run-all": "^4.0.2",
+    "prettier": "^1.12.1",
+    "pretty-quick": "^1.4.1",
+    "remark-cli": "^6.0.0",
+    "remark-lint": "^6.0.1",
+    "remark-lint-list-item-bullet-indent": "^1.0.1",
+    "remark-lint-list-item-indent": "^1.0.1",
+    "remark-lint-no-shortcut-reference-image": "^1.0.1",
+    "remark-lint-no-shortcut-reference-link": "^1.0.2",
+    "remark-lint-no-table-indentation": "^1.0.0",
+    "remark-lint-no-unused-definitions": "^1.0.1",
+    "remark-lint-ordered-list-marker-style": "^1.0.1",
+    "remark-lint-table-cell-padding": "^1.0.0",
+    "remark-lint-table-pipes": "^1.0.0",
+    "remark-preset-lint-recommended": "^3.0.0",
+    "remark-validate-links": "^7.0.0",
+    "rimraf": "^2.6.1",
+    "single-line-log": "^1.1.2",
+    "stylelint": "^9.0.0",
+    "webpack": "^3.5.5",
+    "webpack-visualizer-plugin": "^0.1.11",
+    "workerjs": "github:jasonLaster/workerjs#a2425aaeebacae7a7640e496a54c2a41962f3890"
+  }
+}
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/.babelrc
@@ -0,0 +1,7 @@
+{
+  "presets": ["react", "flow"],
+  "plugins": [
+    "transform-es2015-modules-commonjs",
+    "transform-flow-strip-types"
+  ]
+}
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/.storybook/config.js
@@ -0,0 +1,11 @@
+/* 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/. */
+
+const { configure } = require("@storybook/react");
+
+function loadStories() {
+  require("../stories/index");
+}
+
+configure(loadStories, module);
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/.storybook/webpack.config.js
@@ -0,0 +1,5 @@
+/* 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/. */
+
+module.exports = require("../webpack.config.js");
\ No newline at end of file
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/LICENSE
@@ -0,0 +1,362 @@
+Mozilla Public License, version 2.0
+
+1. Definitions
+
+1.1. "Contributor"
+
+     means each individual or legal entity that creates, contributes to the
+     creation of, or owns Covered Software.
+
+1.2. "Contributor Version"
+
+     means the combination of the Contributions of others (if any) used by a
+     Contributor and that particular Contributor's Contribution.
+
+1.3. "Contribution"
+
+     means Covered Software of a particular Contributor.
+
+1.4. "Covered Software"
+
+     means Source Code Form to which the initial Contributor has attached the
+     notice in Exhibit A, the Executable Form of such Source Code Form, and
+     Modifications of such Source Code Form, in each case including portions
+     thereof.
+
+1.5. "Incompatible With Secondary Licenses"
+     means
+
+     a. that the initial Contributor has attached the notice described in
+        Exhibit B to the Covered Software; or
+
+     b. that the Covered Software was made available under the terms of
+        version 1.1 or earlier of the License, but not also under the terms of
+        a Secondary License.
+
+1.6. "Executable Form"
+
+     means any form of the work other than Source Code Form.
+
+1.7. "Larger Work"
+
+     means a work that combines Covered Software with other material, in a
+     separate file or files, that is not Covered Software.
+
+1.8. "License"
+
+     means this document.
+
+1.9. "Licensable"
+
+     means having the right to grant, to the maximum extent possible, whether
+     at the time of the initial grant or subsequently, any and all of the
+     rights conveyed by this License.
+
+1.10. "Modifications"
+
+     means any of the following:
+
+     a. any file in Source Code Form that results from an addition to,
+        deletion from, or modification of the contents of Covered Software; or
+
+     b. any new file in Source Code Form that contains any Covered Software.
+
+1.11. "Patent Claims" of a Contributor
+
+      means any patent claim(s), including without limitation, method,
+      process, and apparatus claims, in any patent Licensable by such
+      Contributor that would be infringed, but for the grant of the License,
+      by the making, using, selling, offering for sale, having made, import,
+      or transfer of either its Contributions or its Contributor Version.
+
+1.12. "Secondary License"
+
+      means either the GNU General Public License, Version 2.0, the GNU Lesser
+      General Public License, Version 2.1, the GNU Affero General Public
+      License, Version 3.0, or any later versions of those licenses.
+
+1.13. "Source Code Form"
+
+      means the form of the work preferred for making modifications.
+
+1.14. "You" (or "Your")
+
+      means an individual or a legal entity exercising rights under this
+      License. For legal entities, "You" includes any entity that controls, is
+      controlled by, or is under common control with You. For purposes of this
+      definition, "control" means (a) the power, direct or indirect, to cause
+      the direction or management of such entity, whether by contract or
+      otherwise, or (b) ownership of more than fifty percent (50%) of the
+      outstanding shares or beneficial ownership of such entity.
+
+
+2. License Grants and Conditions
+
+2.1. Grants
+
+     Each Contributor hereby grants You a world-wide, royalty-free,
+     non-exclusive license:
+
+     a. under intellectual property rights (other than patent or trademark)
+        Licensable by such Contributor to use, reproduce, make available,
+        modify, display, perform, distribute, and otherwise exploit its
+        Contributions, either on an unmodified basis, with Modifications, or
+        as part of a Larger Work; and
+
+     b. under Patent Claims of such Contributor to make, use, sell, offer for
+        sale, have made, import, and otherwise transfer either its
+        Contributions or its Contributor Version.
+
+2.2. Effective Date
+
+     The licenses granted in Section 2.1 with respect to any Contribution
+     become effective for each Contribution on the date the Contributor first
+     distributes such Contribution.
+
+2.3. Limitations on Grant Scope
+
+     The licenses granted in this Section 2 are the only rights granted under
+     this License. No additional rights or licenses will be implied from the
+     distribution or licensing of Covered Software under this License.
+     Notwithstanding Section 2.1(b) above, no patent license is granted by a
+     Contributor:
+
+     a. for any code that a Contributor has removed from Covered Software; or
+
+     b. for infringements caused by: (i) Your and any other third party's
+        modifications of Covered Software, or (ii) the combination of its
+        Contributions with other software (except as part of its Contributor
+        Version); or
+
+     c. under Patent Claims infringed by Covered Software in the absence of
+        its Contributions.
+
+     This License does not grant any rights in the trademarks, service marks,
+     or logos of any Contributor (except as may be necessary to comply with
+     the notice requirements in Section 3.4).
+
+2.4. Subsequent Licenses
+
+     No Contributor makes additional grants as a result of Your choice to
+     distribute the Covered Software under a subsequent version of this
+     License (see Section 10.2) or under the terms of a Secondary License (if
+     permitted under the terms of Section 3.3).
+
+2.5. Representation
+
+     Each Contributor represents that the Contributor believes its
+     Contributions are its original creation(s) or it has sufficient rights to
+     grant the rights to its Contributions conveyed by this License.
+
+2.6. Fair Use
+
+     This License is not intended to limit any rights You have under
+     applicable copyright doctrines of fair use, fair dealing, or other
+     equivalents.
+
+2.7. Conditions
+
+     Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
+     Section 2.1.
+
+
+3. Responsibilities
+
+3.1. Distribution of Source Form
+
+     All distribution of Covered Software in Source Code Form, including any
+     Modifications that You create or to which You contribute, must be under
+     the terms of this License. You must inform recipients that the Source
+     Code Form of the Covered Software is governed by the terms of this
+     License, and how they can obtain a copy of this License. You may not
+     attempt to alter or restrict the recipients' rights in the Source Code
+     Form.
+
+3.2. Distribution of Executable Form
+
+     If You distribute Covered Software in Executable Form then:
+
+     a. such Covered Software must also be made available in Source Code Form,
+        as described in Section 3.1, and You must inform recipients of the
+        Executable Form how they can obtain a copy of such Source Code Form by
+        reasonable means in a timely manner, at a charge no more than the cost
+        of distribution to the recipient; and
+
+     b. You may distribute such Executable Form under the terms of this
+        License, or sublicense it under different terms, provided that the
+        license for the Executable Form does not attempt to limit or alter the
+        recipients' rights in the Source Code Form under this License.
+
+3.3. Distribution of a Larger Work
+
+     You may create and distribute a Larger Work under terms of Your choice,
+     provided that You also comply with the requirements of this License for
+     the Covered Software. If the Larger Work is a combination of Covered
+     Software with a work governed by one or more Secondary Licenses, and the
+     Covered Software is not Incompatible With Secondary Licenses, this
+     License permits You to additionally distribute such Covered Software
+     under the terms of such Secondary License(s), so that the recipient of
+     the Larger Work may, at their option, further distribute the Covered
+     Software under the terms of either this License or such Secondary
+     License(s).
+
+3.4. Notices
+
+     You may not remove or alter the substance of any license notices
+     (including copyright notices, patent notices, disclaimers of warranty, or
+     limitations of liability) contained within the Source Code Form of the
+     Covered Software, except that You may alter any license notices to the
+     extent required to remedy known factual inaccuracies.
+
+3.5. Application of Additional Terms
+
+     You may choose to offer, and to charge a fee for, warranty, support,
+     indemnity or liability obligations to one or more recipients of Covered
+     Software. However, You may do so only on Your own behalf, and not on
+     behalf of any Contributor. You must make it absolutely clear that any
+     such warranty, support, indemnity, or liability obligation is offered by
+     You alone, and You hereby agree to indemnify every Contributor for any
+     liability incurred by such Contributor as a result of warranty, support,
+     indemnity or liability terms You offer. You may include additional
+     disclaimers of warranty and limitations of liability specific to any
+     jurisdiction.
+
+4. Inability to Comply Due to Statute or Regulation
+
+   If it is impossible for You to comply with any of the terms of this License
+   with respect to some or all of the Covered Software due to statute,
+   judicial order, or regulation then You must: (a) comply with the terms of
+   this License to the maximum extent possible; and (b) describe the
+   limitations and the code they affect. Such description must be placed in a
+   text file included with all distributions of the Covered Software under
+   this License. Except to the extent prohibited by statute or regulation,
+   such description must be sufficiently detailed for a recipient of ordinary
+   skill to be able to understand it.
+
+5. Termination
+
+5.1. The rights granted under this License will terminate automatically if You
+     fail to comply with any of its terms. However, if You become compliant,
+     then the rights granted under this License from a particular Contributor
+     are reinstated (a) provisionally, unless and until such Contributor
+     explicitly and finally terminates Your grants, and (b) on an ongoing
+     basis, if such Contributor fails to notify You of the non-compliance by
+     some reasonable means prior to 60 days after You have come back into
+     compliance. Moreover, Your grants from a particular Contributor are
+     reinstated on an ongoing basis if such Contributor notifies You of the
+     non-compliance by some reasonable means, this is the first time You have
+     received notice of non-compliance with this License from such
+     Contributor, and You become compliant prior to 30 days after Your receipt
+     of the notice.
+
+5.2. If You initiate litigation against any entity by asserting a patent
+     infringement claim (excluding declaratory judgment actions,
+     counter-claims, and cross-claims) alleging that a Contributor Version
+     directly or indirectly infringes any patent, then the rights granted to
+     You by any and all Contributors for the Covered Software under Section
+     2.1 of this License shall terminate.
+
+5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
+     license agreements (excluding distributors and resellers) which have been
+     validly granted by You or Your distributors under this License prior to
+     termination shall survive termination.
+
+6. Disclaimer of Warranty
+
+   Covered Software is provided under this License on an "as is" basis,
+   without warranty of any kind, either expressed, implied, or statutory,
+   including, without limitation, warranties that the Covered Software is free
+   of defects, merchantable, fit for a particular purpose or non-infringing.
+   The entire risk as to the quality and performance of the Covered Software
+   is with You. Should any Covered Software prove defective in any respect,
+   You (not any Contributor) assume the cost of any necessary servicing,
+   repair, or correction. This disclaimer of warranty constitutes an essential
+   part of this License. No use of  any Covered Software is authorized under
+   this License except under this disclaimer.
+
+7. Limitation of Liability
+
+   Under no circumstances and under no legal theory, whether tort (including
+   negligence), contract, or otherwise, shall any Contributor, or anyone who
+   distributes Covered Software as permitted above, be liable to You for any
+   direct, indirect, special, incidental, or consequential damages of any
+   character including, without limitation, damages for lost profits, loss of
+   goodwill, work stoppage, computer failure or malfunction, or any and all
+   other commercial damages or losses, even if such party shall have been
+   informed of the possibility of such damages. This limitation of liability
+   shall not apply to liability for death or personal injury resulting from
+   such party's negligence to the extent applicable law prohibits such
+   limitation. Some jurisdictions do not allow the exclusion or limitation of
+   incidental or consequential damages, so this exclusion and limitation may
+   not apply to You.
+
+8. Litigation
+
+   Any litigation relating to this License may be brought only in the courts
+   of a jurisdiction where the defendant maintains its principal place of
+   business and such litigation shall be governed by laws of that
+   jurisdiction, without reference to its conflict-of-law provisions. Nothing
+   in this Section shall prevent a party's ability to bring cross-claims or
+   counter-claims.
+
+9. Miscellaneous
+
+   This License represents the complete agreement concerning the subject
+   matter hereof. If any provision of this License is held to be
+   unenforceable, such provision shall be reformed only to the extent
+   necessary to make it enforceable. Any law or regulation which provides that
+   the language of a contract shall be construed against the drafter shall not
+   be used to construe this License against a Contributor.
+
+
+10. Versions of the License
+
+10.1. New Versions
+
+      Mozilla Foundation is the license steward. Except as provided in Section
+      10.3, no one other than the license steward has the right to modify or
+      publish new versions of this License. Each version will be given a
+      distinguishing version number.
+
+10.2. Effect of New Versions
+
+      You may distribute the Covered Software under the terms of the version
+      of the License under which You originally received the Covered Software,
+      or under the terms of any subsequent version published by the license
+      steward.
+
+10.3. Modified Versions
+
+      If you create software not governed by this License, and you want to
+      create a new license for such software, you may create and use a
+      modified version of this License if you rename the license and remove
+      any references to the name of the license steward (except to note that
+      such modified license differs from this License).
+
+10.4. Distributing Source Code Form that is Incompatible With Secondary
+      Licenses If You choose to distribute Source Code Form that is
+      Incompatible With Secondary Licenses under the terms of this version of
+      the License, the notice described in Exhibit B of this License must be
+      attached.
+
+Exhibit A - Source Code Form License Notice
+
+      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/.
+
+If it is not possible or desirable to put the notice in a particular file,
+then You may include the notice in a location (such as a LICENSE file in a
+relevant directory) where a recipient would be likely to look for such a
+notice.
+
+You may add additional accurate notices of copyright ownership.
+
+Exhibit B - "Incompatible With Secondary Licenses" Notice
+
+      This Source Code Form is "Incompatible
+      With Secondary Licenses", as defined by
+      the Mozilla Public License, v. 2.0.
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/README.md
@@ -0,0 +1,5 @@
+## Devtools Components
+
+Devtools shared Components
+
+* _Tree_ - A performant tree
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/index.js
@@ -0,0 +1,9 @@
+/* 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/. */
+
+import Tree from "./src/tree";
+
+module.exports = {
+  Tree
+};
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/jest.config.js
@@ -0,0 +1,20 @@
+const { resolve } = require("path");
+const rootDir = resolve(__dirname, "src");
+module.exports = {
+  rootDir,
+  displayName: "devtools-components test",
+  setupFiles: [
+    "<rootDir>/../../../src/test/__mocks__/request-animation-frame.js",
+    "<rootDir>/tests/setup.js"
+  ],
+  testMatch: ["**/tests/**/*.js"],
+  testPathIgnorePatterns: [
+    "/node_modules/",
+    "<rootDir>/tests/__mocks__/",
+    "<rootDir>/tests/setup.js"
+  ],
+  testURL: "http://localhost/",
+  moduleNameMapper: {
+    "\\.css$": "<rootDir>/../../../src/test/__mocks__/styleMock.js"
+  }
+};
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/package.json
@@ -0,0 +1,33 @@
+{
+  "name": "devtools-components",
+  "version": "0.6.0",
+  "description": "DevTools HTML Components",
+  "main": "index.js",
+  "scripts": {
+    "copy-assets": "node bin/copy-assets",
+    "license-check": "devtools-license-check",
+    "storybook":
+      "NODE_ENV=storybook start-storybook -p 9002 -c .storybook -s ./src",
+    "test": "jest --projects jest.config.js"
+  },
+  "author": "Jason Laster",
+  "license": "MPL-2.0",
+  "dependencies": {
+    "prop-types": "^15.6.0",
+    "react": "^16.4.1",
+    "react-dom": "^16.4.1",
+    "react-dom-factories": "^1.0.2"
+  },
+  "devDependencies": {
+    "@storybook/react": "^3.3.14",
+    "babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
+    "babel-preset-react": "^6.24.1",
+    "devtools-license-check": "^0.7.0",
+    "enzyme": "^3.3.0",
+    "enzyme-adapter-react-16": "^1.1.1",
+    "eslint": "^5.0.0",
+    "eslint-plugin-mozilla": "1.0.4",
+    "fs-extra": "^7.0.0",
+    "lodash": "^4.17.2"
+  }
+}
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/postcss.config.js
@@ -0,0 +1,37 @@
+/* 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/. */
+
+const mapUrl = require("postcss-url-mapper");
+const MC_PATH = "resource://devtools/client/debugger/new/images/";
+const EXPRESS_PATH = "/devtools-components/images/";
+
+function mapUrlProduction(url, type) {
+  return url.replace("/images/arrow.svg", MC_PATH + "arrow.svg");
+}
+
+function mapUrlDevelopment(url) {
+  return url.replace("/images/arrow.svg", EXPRESS_PATH + "arrow.svg");
+}
+
+module.exports = ({ file, options, env }) => {
+  // Here we don't want to do anything for storybook since we serve the images thanks
+  // to the `-s ./src` option in the `storybook` command (see package.json).
+  if (env === "storybook") {
+    return {};
+  }
+
+  // This will be used when creating a bundle for mozilla-central (from devtools-reps
+  // or debugger.html).
+  if (env === "production") {
+    return {
+      plugins: [mapUrl(mapUrlProduction)]
+    };
+  }
+
+  // This will be used when using this module in launchpad mode. We set a unique path so
+  // we can serve images from express.
+  return {
+    plugins: [mapUrl(mapUrlDevelopment)]
+  };
+};
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/src/images/arrow.svg
@@ -0,0 +1,6 @@
+<!-- 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/. -->
+<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="context-fill #9B9B9B">
+  <path d="M8 13.4c-.5 0-.9-.2-1.2-.6L.4 5.2C0 4.7-.1 4.3.2 3.7S1 3 1.6 3h12.8c.6 0 1.2.1 1.4.7.3.6.2 1.1-.2 1.6l-6.4 7.6c-.3.4-.7.5-1.2.5z"/>
+</svg>
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/src/tests/__snapshots__/tree.js.snap
@@ -0,0 +1,908 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`Tree Don't auto expand root with very large number of children 1`] = `
+Array [
+  "key-A",
+  "key-B",
+  "key-E",
+  "key-F",
+  "key-G",
+  "key-C",
+  "key-H",
+  "key-I",
+  "key-D",
+  "key-J",
+  "key-M",
+  "key-N",
+]
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 1`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 2`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 3`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 4`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 5`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 6`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 7`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 8`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 9`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 10`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 11`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 12`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 13`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 14`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 15`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 16`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree ignores key strokes when pressing modifiers 17`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders arrows as expected when nodes are collapsed 1`] = `
+"
+▶︎ A
+▶︎ M
+"
+`;
+
+exports[`Tree renders arrows as expected when nodes are expanded 1`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected 1`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected navigating down with keyboard on last node 1`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    [O]
+"
+`;
+
+exports[`Tree renders as expected navigating down with keyboard on last node 2`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    [O]
+"
+`;
+
+exports[`Tree renders as expected navigating up with the keyboard on a root 1`] = `
+"
+▼ [A]
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected navigating up with the keyboard on a root 2`] = `
+"
+▼ [A]
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected navigating with arrows on unexpandable roots 1`] = `
+"
+  [A]
+  M
+"
+`;
+
+exports[`Tree renders as expected navigating with arrows on unexpandable roots 2`] = `
+"
+  A
+  [M]
+"
+`;
+
+exports[`Tree renders as expected navigating with arrows on unexpandable roots 3`] = `
+"
+  [A]
+  M
+"
+`;
+
+exports[`Tree renders as expected when given a focused item 1`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    [G]
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when given a focused item 2`] = `
+"
+▶︎ [A]
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when given a focused item 3`] = `
+"
+▼ [A]
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when given a focused item 4`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating down with the keyboard 1`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    [K]
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating down with the keyboard 2`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating down with the keyboard 3`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    L
+|  |    [F]
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating up with the keyboard 1`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating up with the keyboard 2`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    [K]
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating up with the keyboard 3`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ [E]
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 1`] = `
+"
+▶︎ A
+▶︎ [M]
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 2`] = `
+"
+▶︎ [A]
+▶︎ M
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 3`] = `
+"
+▶︎ [A]
+▶︎ M
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 4`] = `
+"
+▶︎ A
+▶︎ [M]
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 5`] = `
+"
+▶︎ A
+▶︎ [M]
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 6`] = `
+"
+▶︎ A
+▼ [M]
+|  ▶︎ N
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 7`] = `
+"
+▶︎ A
+▼ M
+|  ▶︎ [N]
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 8`] = `
+"
+▶︎ A
+▼ M
+|  ▶︎ [N]
+"
+`;
+
+exports[`Tree renders as expected when navigating with home/end 9`] = `
+"
+▶︎ [A]
+▼ M
+|  ▶︎ N
+"
+`;
+
+exports[`Tree renders as expected when navigating with left arrows on roots 1`] = `
+"
+▶︎ A
+▶︎ [M]
+"
+`;
+
+exports[`Tree renders as expected when navigating with left arrows on roots 2`] = `
+"
+▶︎ [A]
+▶︎ M
+"
+`;
+
+exports[`Tree renders as expected when navigating with left arrows on roots 3`] = `
+"
+▶︎ [A]
+▶︎ M
+"
+`;
+
+exports[`Tree renders as expected when navigating with right/left arrows 1`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    K
+|  |  |    [L]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating with right/left arrows 2`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ [E]
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating with right/left arrows 3`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▶︎ [E]
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating with right/left arrows 4`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ [E]
+|  |  |    K
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when navigating with right/left arrows 5`] = `
+"
+▼ A
+|  ▼ B
+|  |  ▼ E
+|  |  |    [K]
+|  |  |    L
+|  |    F
+|  |    G
+|  ▼ C
+|  |    H
+|  |    I
+|  ▼ D
+|  |    J
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree renders as expected when passed autoDepth:1 1`] = `
+"
+▼ A
+|  ▶︎ B
+|  ▶︎ C
+|  ▶︎ D
+▼ M
+|  ▶︎ N
+"
+`;
+
+exports[`Tree renders as expected with collapsed nodes 1`] = `
+"
+▶︎ A
+▼ M
+|  ▼ N
+|  |    O
+"
+`;
+
+exports[`Tree uses isExpandable prop if it exists to render tree nodes 1`] = `
+"
+▶︎ A
+  M
+"
+`;
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/src/tests/setup.js
@@ -0,0 +1,8 @@
+/* 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/>. */
+
+// Configure enzyme with React 16 adapter.
+const Enzyme = require("enzyme");
+const Adapter = require("enzyme-adapter-react-16");
+Enzyme.configure({ adapter: new Adapter() });
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/src/tests/tree.js
@@ -0,0 +1,762 @@
+/* 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/>. */
+
+/* global jest */
+
+import React from "react";
+import { mount } from "enzyme";
+import Components from "../../index";
+import dom from "react-dom-factories";
+
+const { Component, createFactory } = React;
+const Tree = createFactory(Components.Tree);
+
+function mountTree(overrides = {}) {
+  return mount(
+    createFactory(
+      class container extends Component {
+        constructor(props) {
+          super(props);
+          const state = {
+            expanded: overrides.expanded || new Set(),
+            focused: overrides.focused
+          };
+          delete overrides.focused;
+          this.state = state;
+        }
+
+        render() {
+          return Tree(
+            Object.assign(
+              {
+                getParent: x => TEST_TREE.parent[x],
+                getChildren: x => TEST_TREE.children[x],
+                renderItem: (x, depth, focused, arrow) => {
+                  return dom.div(
+                    {},
+                    arrow,
+                    focused ? "[" : null,
+                    x,
+                    focused ? "]" : null
+                  );
+                },
+                getRoots: () => ["A", "M"],
+                getKey: x => `key-${x}`,
+                itemHeight: 1,
+                onFocus: x => {
+                  this.setState(previousState => {
+                    return { focused: x };
+                  });
+                },
+                onExpand: x => {
+                  this.setState(previousState => {
+                    const expanded = new Set(previousState.expanded);
+                    expanded.add(x);
+                    return { expanded };
+                  });
+                },
+                onCollapse: x => {
+                  this.setState(previousState => {
+                    const expanded = new Set(previousState.expanded);
+                    expanded.delete(x);
+                    return { expanded };
+                  });
+                },
+                isExpanded: x => this.state && this.state.expanded.has(x),
+                focused: this.state.focused
+              },
+              overrides
+            )
+          );
+        }
+      }
+    )()
+  );
+}
+
+describe("Tree", () => {
+  it("does not throw", () => {
+    expect(mountTree()).toBeTruthy();
+  });
+
+  it("Don't auto expand root with very large number of children", () => {
+    const children = Array.from(
+      { length: 51 },
+      (_, i) => `should-not-be-visible-${i + 1}`
+    );
+    // N has a lot of children, so it won't be automatically expanded
+    const wrapper = mountTree({
+      autoExpandDepth: 2,
+      autoExpandNodeChildrenLimit: 50,
+      getChildren: item => {
+        if (item === "N") {
+          return children;
+        }
+
+        return TEST_TREE.children[item] || [];
+      }
+    });
+    const ids = getTreeNodes(wrapper).map(node => node.prop("id"));
+    expect(ids).toMatchSnapshot();
+  });
+
+  it("is accessible", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJMN".split(""))
+    });
+    expect(wrapper.getDOMNode().getAttribute("role")).toBe("tree");
+    expect(wrapper.getDOMNode().getAttribute("tabIndex")).toBe("0");
+
+    const expected = {
+      A: { id: "key-A", level: 1, expanded: true },
+      B: { id: "key-B", level: 2, expanded: true },
+      C: { id: "key-C", level: 2, expanded: true },
+      D: { id: "key-D", level: 2, expanded: true },
+      E: { id: "key-E", level: 3, expanded: true },
+      F: { id: "key-F", level: 3, expanded: true },
+      G: { id: "key-G", level: 3, expanded: true },
+      H: { id: "key-H", level: 3, expanded: true },
+      I: { id: "key-I", level: 3, expanded: true },
+      J: { id: "key-J", level: 3, expanded: true },
+      K: { id: "key-K", level: 4, expanded: undefined },
+      L: { id: "key-L", level: 4, expanded: undefined },
+      M: { id: "key-M", level: 1, expanded: true },
+      N: { id: "key-N", level: 2, expanded: true },
+      O: { id: "key-O", level: 3, expanded: undefined }
+    };
+
+    getTreeNodes(wrapper).forEach(node => {
+      const key = node.prop("id").replace("key-", "");
+      const item = expected[key];
+
+      expect(node.prop("id")).toBe(item.id);
+      expect(node.prop("role")).toBe("treeitem");
+      expect(node.prop("aria-level")).toBe(item.level);
+      expect(node.prop("aria-expanded")).toBe(item.expanded);
+    });
+  });
+
+  it("renders as expected", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split(""))
+    });
+
+    expect(formatTree(wrapper)).toMatchSnapshot();
+  });
+
+  it("renders as expected when passed a className", () => {
+    const wrapper = mountTree({
+      className: "testClassName"
+    });
+
+    expect(wrapper.find(".tree").hasClass("testClassName")).toBe(true);
+  });
+
+  it("renders as expected when passed a style", () => {
+    const wrapper = mountTree({
+      style: {
+        color: "red"
+      }
+    });
+
+    expect(wrapper.getDOMNode().style.color).toBe("red");
+  });
+
+  it("renders as expected when passed a label", () => {
+    const wrapper = mountTree({
+      label: "testAriaLabel"
+    });
+    expect(wrapper.getDOMNode().getAttribute("aria-label")).toBe(
+      "testAriaLabel"
+    );
+  });
+
+  it("renders as expected when passed an aria-labelledby", () => {
+    const wrapper = mountTree({
+      labelledby: "testAriaLabelBy"
+    });
+    expect(wrapper.getDOMNode().getAttribute("aria-labelledby")).toBe(
+      "testAriaLabelBy"
+    );
+  });
+
+  it("renders as expected with collapsed nodes", () => {
+    const wrapper = mountTree({
+      expanded: new Set("MNO".split(""))
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+  });
+
+  it("renders as expected when passed autoDepth:1", () => {
+    const wrapper = mountTree({
+      autoExpandDepth: 1
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+  });
+
+  it("renders as expected when given a focused item", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "G"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-G"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-G");
+
+    getTreeNodes(wrapper)
+      .first()
+      .simulate("click");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+
+    getTreeNodes(wrapper)
+      .first()
+      .simulate("click");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+
+    wrapper.simulate("blur");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().hasAttribute("aria-activedescendant")).toBe(
+      false
+    );
+    expect(wrapper.find(".focused").exists()).toBe(false);
+  });
+
+  it("renders as expected when navigating up with the keyboard", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "L"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-L"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-L");
+
+    simulateKeyDown(wrapper, "ArrowUp");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-K"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-K");
+
+    simulateKeyDown(wrapper, "ArrowUp");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-E"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-E");
+  });
+
+  it("renders as expected navigating up with the keyboard on a root", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "A"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+
+    simulateKeyDown(wrapper, "ArrowUp");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+  });
+
+  it("renders as expected when navigating down with the keyboard", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "K"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-K"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-K");
+
+    simulateKeyDown(wrapper, "ArrowDown");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-L"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-L");
+
+    simulateKeyDown(wrapper, "ArrowDown");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-F"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-F");
+  });
+
+  it("renders as expected navigating down with keyboard on last node", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "O"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-O"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-O");
+
+    simulateKeyDown(wrapper, "ArrowDown");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-O"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-O");
+  });
+
+  it("renders as expected when navigating with right/left arrows", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "L"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-L"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-L");
+
+    simulateKeyDown(wrapper, "ArrowLeft");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-E"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-E");
+
+    simulateKeyDown(wrapper, "ArrowLeft");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-E"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-E");
+
+    simulateKeyDown(wrapper, "ArrowRight");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-E"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-E");
+
+    simulateKeyDown(wrapper, "ArrowRight");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-K"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-K");
+  });
+
+  it("renders as expected when navigating with left arrows on roots", () => {
+    const wrapper = mountTree({
+      focused: "M"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-M"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-M");
+
+    simulateKeyDown(wrapper, "ArrowLeft");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+
+    simulateKeyDown(wrapper, "ArrowLeft");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+  });
+
+  it("renders as expected when navigating with home/end", () => {
+    const wrapper = mountTree({
+      focused: "M"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-M"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-M");
+
+    simulateKeyDown(wrapper, "Home");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+
+    simulateKeyDown(wrapper, "Home");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+
+    simulateKeyDown(wrapper, "End");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-M"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-M");
+
+    simulateKeyDown(wrapper, "End");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-M"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-M");
+
+    simulateKeyDown(wrapper, "ArrowRight");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-M"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-M");
+
+    simulateKeyDown(wrapper, "End");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-N"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-N");
+
+    simulateKeyDown(wrapper, "End");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-N"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-N");
+
+    simulateKeyDown(wrapper, "Home");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-A");
+  });
+
+  it("renders as expected navigating with arrows on unexpandable roots", () => {
+    const wrapper = mountTree({
+      focused: "A",
+      isExpandable: item => false
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+
+    simulateKeyDown(wrapper, "ArrowRight");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-M"
+    );
+
+    simulateKeyDown(wrapper, "ArrowLeft");
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-A"
+    );
+  });
+
+  it("calls onFocus when expected", () => {
+    const onFocus = jest.fn(x => {
+      wrapper &&
+        wrapper.setState(() => {
+          return { focused: x };
+        });
+    });
+
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "I",
+      onFocus
+    });
+
+    simulateKeyDown(wrapper, "ArrowUp");
+    expect(onFocus.mock.calls[0][0]).toBe("H");
+
+    simulateKeyDown(wrapper, "ArrowUp");
+    expect(onFocus.mock.calls[1][0]).toBe("C");
+
+    simulateKeyDown(wrapper, "ArrowLeft");
+    simulateKeyDown(wrapper, "ArrowLeft");
+    expect(onFocus.mock.calls[2][0]).toBe("A");
+
+    simulateKeyDown(wrapper, "ArrowRight");
+    expect(onFocus.mock.calls[3][0]).toBe("B");
+
+    simulateKeyDown(wrapper, "ArrowDown");
+    expect(onFocus.mock.calls[4][0]).toBe("E");
+  });
+
+  it("focus treeRef when a node is clicked", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split(""))
+    });
+    const treeRef = wrapper
+      .find("Tree")
+      .first()
+      .instance().treeRef;
+    treeRef.focus = jest.fn();
+
+    getTreeNodes(wrapper)
+      .first()
+      .simulate("click");
+    expect(treeRef.focus.mock.calls).toHaveLength(1);
+  });
+
+  it("doesn't focus treeRef when focused is null", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "A"
+    });
+    const treeRef = wrapper
+      .find("Tree")
+      .first()
+      .instance().treeRef;
+    treeRef.focus = jest.fn();
+    wrapper.simulate("blur");
+    expect(treeRef.focus.mock.calls).toHaveLength(0);
+  });
+
+  it("calls onActivate when expected", () => {
+    const onActivate = jest.fn();
+
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "A",
+      onActivate
+    });
+
+    simulateKeyDown(wrapper, "Enter");
+    expect(onActivate.mock.calls).toHaveLength(1);
+    expect(onActivate.mock.calls[0][0]).toBe("A");
+
+    simulateKeyDown(wrapper, "Enter");
+    expect(onActivate.mock.calls).toHaveLength(2);
+    expect(onActivate.mock.calls[1][0]).toBe("A");
+
+    simulateKeyDown(wrapper, "ArrowDown");
+    simulateKeyDown(wrapper, "Enter");
+    expect(onActivate.mock.calls).toHaveLength(3);
+    expect(onActivate.mock.calls[2][0]).toBe("B");
+
+    wrapper.simulate("blur");
+    simulateKeyDown(wrapper, "Enter");
+    expect(onActivate.mock.calls).toHaveLength(3);
+  });
+
+  it("does not throw when onActivate is undefined and Enter is pressed", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "A"
+    });
+
+    simulateKeyDown(wrapper, "Enter");
+  });
+
+  it("ignores key strokes when pressing modifiers", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split("")),
+      focused: "L"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+    expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+      "key-L"
+    );
+    expect(wrapper.find(".focused").prop("id")).toBe("key-L");
+
+    const testKeys = [
+      { key: "ArrowDown" },
+      { key: "ArrowUp" },
+      { key: "ArrowLeft" },
+      { key: "ArrowRight" }
+    ];
+    const modifiers = [
+      { altKey: true },
+      { ctrlKey: true },
+      { metaKey: true },
+      { shiftKey: true }
+    ];
+
+    for (const key of testKeys) {
+      for (const modifier of modifiers) {
+        wrapper.simulate("keydown", Object.assign({}, key, modifier));
+        expect(formatTree(wrapper)).toMatchSnapshot();
+        expect(wrapper.getDOMNode().getAttribute("aria-activedescendant")).toBe(
+          "key-L"
+        );
+      }
+    }
+  });
+
+  it("renders arrows as expected when nodes are expanded", () => {
+    const wrapper = mountTree({
+      expanded: new Set("ABCDEFGHIJKLMNO".split(""))
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+
+    getTreeNodes(wrapper).forEach(n => {
+      if ("ABECDMN".split("").includes(getSanitizedNodeText(n))) {
+        expect(n.find(".arrow.expanded").exists()).toBe(true);
+      } else {
+        expect(n.find(".arrow").exists()).toBe(false);
+      }
+    });
+  });
+
+  it("renders arrows as expected when nodes are collapsed", () => {
+    const wrapper = mountTree();
+    expect(formatTree(wrapper)).toMatchSnapshot();
+
+    getTreeNodes(wrapper).forEach(n => {
+      const arrow = n.find(".arrow");
+      expect(arrow.exists()).toBe(true);
+      expect(arrow.hasClass("expanded")).toBe(false);
+    });
+  });
+
+  it("uses isExpandable prop if it exists to render tree nodes", () => {
+    const wrapper = mountTree({
+      isExpandable: item => item === "A"
+    });
+    expect(formatTree(wrapper)).toMatchSnapshot();
+  });
+
+  it("adds the expected data-expandable attribute", () => {
+    const wrapper = mountTree({
+      isExpandable: item => item === "A"
+    });
+    const nodes = getTreeNodes(wrapper);
+    expect(nodes.at(0).prop("data-expandable")).toBe(true);
+    expect(nodes.at(1).prop("data-expandable")).toBe(false);
+  });
+});
+
+function getTreeNodes(wrapper) {
+  return wrapper.find(".tree-node");
+}
+
+function simulateKeyDown(wrapper, key) {
+  wrapper.simulate("keydown", {
+    key,
+    preventDefault: () => {},
+    stopPropagation: () => {}
+  });
+}
+
+/*
+ * Takes an Enzyme wrapper (obtained with mount/mount/…) and
+ * returns a stringified version of the Tree, e.g.
+ *
+ *   ▼ A
+ *   |   ▼ B
+ *   |   |   ▼ E
+ *   |   |   |   K
+ *   |   |   |   L
+ *   |   |   F
+ *   |   |   G
+ *   |   ▼ C
+ *   |   |   H
+ *   |   |   I
+ *   |   ▼ D
+ *   |   |   J
+ *   ▼ M
+ *   |   ▼ N
+ *   |   |   O
+ *
+ */
+function formatTree(wrapper) {
+  const textTree = getTreeNodes(wrapper)
+    .map(node => {
+      const level = (node.prop("aria-level") || 1) - 1;
+      const indentStr = "|  ".repeat(level);
+      const arrow = node.find(".arrow");
+      let arrowStr = "  ";
+      if (arrow.exists()) {
+        arrowStr = arrow.hasClass("expanded") ? "▼ " : "▶︎ ";
+      }
+
+      return `${indentStr}${arrowStr}${getSanitizedNodeText(node)}`;
+    })
+    .join("\n");
+
+  // Wrap in new lines so tree nodes are aligned as expected.
+  return `\n${textTree}\n`;
+}
+
+function getSanitizedNodeText(node) {
+  // Stripping off the invisible space used in the indent.
+  return node.text().replace(/^\u200B+/, "");
+}
+
+// Encoding of the following tree/forest:
+//
+// A
+// |-- B
+// |   |-- E
+// |   |   |-- K
+// |   |   `-- L
+// |   |-- F
+// |   `-- G
+// |-- C
+// |   |-- H
+// |   `-- I
+// `-- D
+//     `-- J
+// M
+// `-- N
+//     `-- O
+
+var TEST_TREE = {
+  children: {
+    A: ["B", "C", "D"],
+    B: ["E", "F", "G"],
+    C: ["H", "I"],
+    D: ["J"],
+    E: ["K", "L"],
+    F: [],
+    G: [],
+    H: [],
+    I: [],
+    J: [],
+    K: [],
+    L: [],
+    M: ["N"],
+    N: ["O"],
+    O: []
+  },
+  parent: {
+    A: null,
+    B: "A",
+    C: "A",
+    D: "A",
+    E: "B",
+    F: "B",
+    G: "B",
+    H: "C",
+    I: "C",
+    J: "D",
+    K: "E",
+    L: "E",
+    M: null,
+    N: "M",
+    O: "N"
+  }
+};
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/src/tree.css
@@ -0,0 +1,90 @@
+/* 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/. */
+
+ /* We can remove the outline since we do add our own focus style on nodes */
+.tree:focus {
+  outline: none;
+}
+
+.tree.inline {
+  display: inline-block;
+}
+
+.tree.nowrap {
+  white-space: nowrap;
+}
+
+.tree.noselect {
+  -webkit-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  -o-user-select: none;
+  user-select: none;
+}
+
+.tree .tree-node {
+  display: flex;
+}
+
+.tree .tree-node:not(.focused):hover {
+  background-color: var(--theme-selection-background-hover);
+}
+
+.tree-indent {
+  display: inline-block;
+  width: 12px;
+  margin-inline-start: 5px;
+  border-inline-start: 1px solid #A2D1FF;
+  flex-shrink: 0;
+}
+
+/* Align with expandables siblings (where we have the arrow) */
+.tree-node[data-expandable="false"] .tree-indent:last-of-type {
+  margin-inline-end: 15px;
+}
+
+/* For non expandable root nodes, we don't have .tree-indent elements, so we declare
+   the margin on the start of the node */
+.tree-node[data-expandable="false"][aria-level="1"] {
+  padding-inline-start: 15px
+}
+
+.tree .tree-node[data-expandable="true"] {
+  cursor: default;
+}
+
+.tree-node button.arrow {
+  background:url(/images/arrow.svg) no-repeat;
+  background-size:contain;
+  background-position:center center;
+  width: 9px;
+  height: 9px;
+  border:0;
+  padding:0;
+  margin-inline-start: 1px;
+  margin-inline-end: 4px;
+  transform: rotate(-90deg);
+  transform-origin: center center;
+  transition: transform 0.125s ease;
+  align-self: center;
+  -moz-context-properties: fill;
+  fill: var(--theme-splitter-color, #9B9B9B);
+}
+
+html[dir="rtl"] .tree-node button.arrow {
+  transform: rotate(90deg);
+}
+
+.tree-node button.arrow.expanded.expanded {
+  transform: rotate(0deg);
+ }
+
+.tree .tree-node.focused {
+  color: white;
+  background-color: var(--theme-selection-background, #0a84ff);
+}
+
+.tree-node.focused button.arrow {
+  fill: currentColor;
+}
new file mode 100644
--- /dev/null
+++ b/devtools/client/debugger/new/packages/devtools-components/src/tree.js
@@ -0,0 +1,852 @@
+/* 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/>. */
+
+import React from "react";
+const { Component, createFactory } = React;
+import dom from "react-dom-factories";
+import PropTypes from "prop-types";
+
+require("./tree.css");
+
+// depth
+const AUTO_EXPAND_DEPTH = 0;
+
+/**
+ * An arrow that displays whether its node is expanded (▼) or collapsed
+ * (▶). When its node has no children, it is hidden.
+ */
+class ArrowExpander extends Component {
+  static get propTypes() {
+    return {
+      expanded: PropTypes.bool
+    };
+  }
+
+  shouldComponentUpdate(nextProps, nextState) {
+    return this.props.expanded !== nextProps.expanded;
+  }
+
+  render() {
+    const { expanded } = this.props;
+
+    const classNames = ["arrow"];
+    if (expanded) {
+      classNames.push("expanded");
+    }
+    return dom.button({
+      className: classNames.join(" ")
+    });
+  }
+}
+
+const treeIndent = dom.span({ className: "tree-indent" }, "\u200B");
+
+class TreeNode extends Component {
+  static get propTypes() {
+    return {
+      id: PropTypes.any.isRequired,
+      index: PropTypes.number.isRequired,
+      depth: PropTypes.number.isRequired,
+      focused: PropTypes.bool.isRequired,
+      expanded: PropTypes.bool.isRequired,
+      item: PropTypes.any.isRequired,
+      isExpandable: PropTypes.bool.isRequired,
+      onClick: PropTypes.func,
+      renderItem: PropTypes.func.isRequired
+    };
+  }
+
+  shouldComponentUpdate(nextProps) {
+    return (
+      this.props.item !== nextProps.item ||
+      this.props.focused !== nextProps.focused ||
+      this.props.expanded !== nextProps.expanded
+    );
+  }
+
+  render() {
+    const {
+      depth,
+      id,
+      item,
+      focused,
+      expanded,
+      renderItem,
+      isExpandable
+    } = this.props;
+
+    const arrow = isExpandable
+      ? ArrowExpanderFactory({
+          item,
+          expanded
+        })
+      : null;
+
+    let ariaExpanded;
+    if (this.props.isExpandable) {
+      ariaExpanded = false;
+    }
+    if (this.props.expanded) {
+      ariaExpanded = true;
+    }
+
+    const indents = Array.from({ length: depth }).fill(treeIndent);
+    const items = indents.concat(
+      renderItem(item, depth, focused, arrow, expanded)
+    );
+
+    return dom.div(
+      {
+        id,
+        className: `tree-node${focused ? " focused" : ""}`,
+        onClick: this.props.onClick,
+        role: "treeitem",
+        "aria-level": depth + 1,
+        "aria-expanded": ariaExpanded,
+        "data-expandable": this.props.isExpandable
+      },
+      ...items
+    );
+  }
+}
+
+const ArrowExpanderFactory = createFactory(ArrowExpander);
+const TreeNodeFactory = createFactory(TreeNode);
+
+/**
+ * Create a function that calls the given function `fn` only once per animation
+ * frame.
+ *
+ * @param {Function} fn
+ * @returns {Function}
+ */
+function oncePerAnimationFrame(fn) {
+  let animationId = null;
+  let argsToPass = null;
+  return function(...args) {
+    argsToPass = args;
+    if (animationId !== null) {
+      return;
+    }
+
+    animationId = requestAnimationFrame(() => {
+      fn.call(this, ...argsToPass);
+      animationId = null;
+      argsToPass = null;
+    });
+  };
+}
+
+/**
+ * A generic tree component. See propTypes for the public API.
+ *
+ * This tree component doesn't make any assumptions about the structure of your
+ * tree data. Whether children are computed on demand, or stored in an array in
+ * the parent's `_children` property, it doesn't matter. We only require the
+ * implementation of `getChildren`, `getRoots`, `getParent`, and `isExpanded`
+ * functions.
+ *
+ * This tree component is well tested and reliable. See the tests in ./tests
+ * and its usage in the performance and memory panels in mozilla-central.
+ *
+ * This tree component doesn't make any assumptions about how to render items in
+ * the tree. You provide a `renderItem` function, and this component will ensure
+ * that only those items whose parents are expanded and which are visible in the
+ * viewport are rendered. The `renderItem` function could render the items as a
+ * "traditional" tree or as rows in a table or anything else. It doesn't
+ * restrict you to only one certain kind of tree.
+ *
+ * The tree comes with basic styling for the indent, the arrow, as well as
+ * hovered and focused styles which can be override in CSS.
+ *
+ * ### Example Usage
+ *
+ * Suppose we have some tree data where each item has this form:
+ *
+ *     {
+ *       id: Number,
+ *       label: String,
+ *       parent: Item or null,
+ *       children: Array of child items,
+ *       expanded: bool,
+ *     }
+ *
+ * Here is how we could render that data with this component:
+ *
+ *     class MyTree extends Component {
+ *       static get propTypes() {
+ *         // The root item of the tree, with the form described above.
+ *         return {
+ *           root: PropTypes.object.isRequired
+ *         };
+ *       },
+ *
+ *       render() {
+ *         return Tree({
+ *           itemHeight: 20, // px
+ *
+ *           getRoots: () => [this.props.root],
+ *
+ *           getParent: item => item.parent,
+ *           getChildren: item => item.children,
+ *           getKey: item => item.id,
+ *           isExpanded: item => item.expanded,
+ *
+ *           renderItem: (item, depth, isFocused, arrow, isExpanded) => {
+ *             let className = "my-tree-item";
+ *             if (isFocused) {
+ *               className += " focused";
+ *             }
+ *             return dom.div({
+ *               className,
+ *             },
+ *               arrow,
+ *               // And here is the label for this item.
+ *               dom.span({ className: "my-tree-item-label" }, item.label)
+ *             );
+ *           },
+ *
+ *           onExpand: item => dispatchExpandActionToRedux(item),
+ *           onCollapse: item => dispatchCollapseActionToRedux(item),
+ *         });
+ *       }
+ *     }
+ */
+class Tree extends Component {
+  static get propTypes() {
+    return {
+      // Required props
+
+      // A function to get an item's parent, or null if it is a root.
+      //
+      // Type: getParent(item: Item) -> Maybe<Item>
+      //
+      // Example:
+      //
+      //     // The parent of this item is stored in its `parent` property.
+      //     getParent: item => item.parent
+      getParent: PropTypes.func.isRequired,
+
+      // A function to get an item's children.
+      //
+      // Type: getChildren(item: Item) -> [Item]
+      //
+      // Example:
+      //
+      //     // This item's children are stored in its `children` property.
+      //     getChildren: item => item.children
+      getChildren: PropTypes.func.isRequired,
+
+      // A function which takes an item and ArrowExpander component instance and
+      // returns a component, or text, or anything else that React considers
+      // renderable.
+      //
+      // Type: renderItem(item: Item,
+      //                  depth: Number,
+      //                  isFocused: Boolean,
+      //                  arrow: ReactComponent,
+      //                  isExpanded: Boolean) -> ReactRenderable
+      //
+      // Example:
+      //
+      //     renderItem: (item, depth, isFocused, arrow, isExpanded) => {
+      //       let className = "my-tree-item";
+      //       if (isFocused) {
+      //         className += " focused";
+      //       }
+      //       return dom.div(
+      //         {
+      //           className,
+      //           style: { marginLeft: depth * 10 + "px" }
+      //         },
+      //         arrow,
+      //         dom.span({ className: "my-tree-item-label" }, item.label)
+      //       );
+      //     },
+      renderItem: PropTypes.func.isRequired,
+
+      // A function which returns the roots of the tree (forest).
+      //
+      // Type: getRoots() -> [Item]
+      //
+      // Example:
+      //
+      //     // In this case, we only have one top level, root item. You could
+      //     // return multiple items if you have many top level items in your
+      //     // tree.
+      //     getRoots: () => [this.props.rootOfMyTree]
+      getRoots: PropTypes.func.isRequired,
+
+      // A function to get a unique key for the given item. This helps speed up
+      // React's rendering a *TON*.
+      //
+      // Type: getKey(item: Item) -> String
+      //
+      // Example:
+      //
+      //     getKey: item => `my-tree-item-${item.uniqueId}`
+      getKey: PropTypes.func.isRequired,
+
+      // A function to get whether an item is expanded or not. If an item is not
+      // expanded, then it must be collapsed.
+      //
+      // Type: isExpanded(item: Item) -> Boolean
+      //
+      // Example:
+      //
+      //     isExpanded: item => item.expanded,
+      isExpanded: PropTypes.func.isRequired,
+
+      // Optional props
+
+      // The currently focused item, if any such item exists.
+      focused: PropTypes.any,
+
+      // Handle when a new item is focused.
+      onFocus: PropTypes.func,
+
+      // The depth to which we should automatically expand new items.
+      autoExpandDepth: PropTypes.number,
+      // Should auto expand all new items or just the new items under the first
+      // root item.
+      autoExpandAll: PropTypes.bool,
+
+      // Auto expand a node only if number of its children
+      // are less than autoExpandNodeChildrenLimit
+      autoExpandNodeChildrenLimit: PropTypes.number,
+
+      // Note: the two properties below are mutually exclusive. Only one of the
+      // label properties is necessary.
+      // ID of an element whose textual content serves as an accessible label
+      // for a tree.
+      labelledby: PropTypes.string,
+      // Accessibility label for a tree widget.
+      label: PropTypes.string,
+
+      // Optional event handlers for when items are expanded or collapsed.
+      // Useful for dispatching redux events and updating application state,
+      // maybe lazily loading subtrees from a worker, etc.
+      //
+      // Type:
+      //     onExpand(item: Item)
+      //     onCollapse(item: Item)
+      //
+      // Example:
+      //
+      //     onExpand: item => dispatchExpandActionToRedux(item)
+      onExpand: PropTypes.func,
+      onCollapse: PropTypes.func,
+      // Optional event handler called with the current focused node when the
+      // Enter key is pressed. Can be useful to allow further keyboard actions
+      // within the tree node.
+      onActivate: PropTypes.func,
+      isExpandable: PropTypes.func,
+      // Additional classes to add to the root element.
+      className: PropTypes.string,
+      // style object to be applied to the root element.
+      style: PropTypes.object,
+      // Prevents blur when Tree loses focus
+      preventBlur: PropTypes.bool
+    };
+  }
+
+  static get defaultProps() {
+    return {
+      autoExpandDepth: AUTO_EXPAND_DEPTH,
+      autoExpandAll: true
+    };
+  }
+
+  constructor(props) {
+    super(props);
+
+    this.state = {
+      seen: new Set()
+    };
+
+    this._onExpand = oncePerAnimationFrame(this._onExpand).bind(this);
+    this._onCollapse = oncePerAnimationFrame(this._onCollapse).bind(this);
+    this._focusPrevNode = oncePerAnimationFrame(this._focusPrevNode).bind(this);
+    this._focusNextNode = oncePerAnimationFrame(this._focusNextNode).bind(this);
+    this._focusParentNode = oncePerAnimationFrame(this._focusParentNode).bind(
+      this
+    );
+    this._focusFirstNode = oncePerAnimationFrame(this._focusFirstNode).bind(
+      this
+    );
+    this._focusLastNode = oncePerAnimationFrame(this._focusLastNode).bind(this);
+
+    this._autoExpand = this._autoExpand.bind(this);
+    this._preventArrowKeyScrolling = this._preventArrowKeyScrolling.bind(this);
+    this._dfs = this._dfs.bind(this);
+    this._dfsFromRoots = this._dfsFromRoots.bind(this);
+    this._focus = this._focus.bind(this);
+    this._scrollNodeIntoView = this._scrollNodeIntoView.bind(this);
+    this._onBlur = this._onBlur.bind(this);
+    this._onKeyDown = this._onKeyDown.bind(this);
+    this._nodeIsExpandable = this._nodeIsExpandable.bind(this);
+    this._activateNode = oncePerAnimationFrame(this._activateNode).bind(this);
+  }
+
+  componentDidMount() {
+    this._autoExpand();
+    if (this.props.focused) {
+      this._scrollNodeIntoView(this.props.focused);
+      // Always keep the focus on the tree itself.
+      this.treeRef.focus();
+    }
+  }
+
+  componentWillReceiveProps(nextProps) {
+    this._autoExpand();
+  }
+
+  componentDidUpdate(prevProps, prevState) {
+    if (this.props.focused && prevProps.focused !== this.props.focused) {
+      this._scrollNodeIntoView(this.props.focused);
+      // Always keep the focus on the tree itself.
+      this.treeRef.focus();
+    }
+  }
+
+  _autoExpand() {
+    const { autoExpandDepth, autoExpandNodeChildrenLimit } = this.props;
+    if (!autoExpandDepth) {
+      return;
+    }
+
+    // Automatically expand the first autoExpandDepth levels for new items. Do
+    // not use the usual DFS infrastructure because we don't want to ignore
+    // collapsed nodes.
+    const autoExpand = (item, currentDepth) => {
+      if (currentDepth >= autoExpandDepth || this.state.seen.has(item)) {
+        return;
+      }
+
+      const children = this.props.getChildren(item);
+      if (
+        autoExpandNodeChildrenLimit &&
+        children.length > autoExpandNodeChildrenLimit
+      ) {
+        return;
+      }
+
+      this.props.onExpand(item);
+      this.state.seen.add(item);
+
+      const length = children.length;
+      for (let i = 0; i < length; i++) {
+        autoExpand(children[i], currentDepth + 1);
+      }
+    };
+
+    const roots = this.props.getRoots();
+    const length = roots.length;
+    if (this.props.autoExpandAll) {
+      for (let i = 0; i < length; i++) {
+        autoExpand(roots[i], 0);
+      }
+    } else if (length != 0) {
+      autoExpand(roots[0], 0);
+    }
+  }
+
+  _preventArrowKeyScrolling(e) {
+    switch (e.key) {
+      case "ArrowUp":
+      case "ArrowDown":
+      case "ArrowLeft":
+      case "ArrowRight":
+        e.preventDefault();
+        e.stopPropagation();
+        if (e.nativeEvent) {
+          if (e.nativeEvent.preventDefault) {
+            e.nativeEvent.preventDefault();
+          }
+          if (e.nativeEvent.stopPropagation) {
+            e.nativeEvent.stopPropagation();
+          }
+        }
+    }
+  }
+
+  /**
+   * Perform a pre-order depth-first search from item.
+   */
+  _dfs(item, maxDepth = Infinity, traversal = [], _depth = 0) {
+    traversal.push({ item, depth: _depth });
+
+    if (!this.props.isExpanded(item)) {
+      return traversal;
+    }
+
+    const nextDepth = _depth + 1;
+
+    if (nextDept