gecko-dev/devtools/client/memory
Michael Ratcliffe 764c4c8578 Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia
Changes and notes:
  - Created `devtools/client/shared/test/telemetry-test-helpers.js`, which
    contains test helpers to aid in creating and running telemetry tests.
  - Removed any telemetry monkeypatching as it is not dependable and no longer
    needed (there is some left in GCLI but the test is now disabled because
    we are removing GCLI soon anyhow).
  - Because `telemetry-test-helpers.js` is imported by `shared-head.js` I
    have had to make it available everywhere that shared-head.js is used.
  - All telemetry tests have been rewritten to use the new helper.
  - shared-head.js cannot be imported by tests inside
    `devtools/client/performance/test/` because perf have custom `once` and
    `waitFor` implementations that act differently from the ones inside
    `shared-head.js`. This means I had to import the telemetry helpers into
    `devtools/client/performance/test/head.js`
  - Created `devtools/client/shared/test/browser_telemetry_misc.js` to be sure
    to catch `DEVTOOLS_SCREEN_RESOLUTION_ENUMERATED_PER_USER` (we catch a few
    others to be thorough).
  - Disabled `browser_inspector_menu-02-copy-items.js`, which was failing to
    test some expired scalars. I also corrected the way the scalars are logged
    because it was completely wrong.

MozReview-Commit-ID: JjQEGM6hT61

--HG--
extra : rebase_source : cd1214d01bd11908f69167839975cd93ecb83421
2018-05-01 18:06:14 +01:00
..
actions Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans 2018-03-12 19:46:35 -05:00
components Bug 1449993 - Remove old-event-emitter usage from memory; r=sole. 2018-03-29 18:32:29 +02:00
reducers Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes 2018-03-12 13:44:41 -05:00
test Bug 1098374 - Telemetry: Stop all monkey patching in devtools telemetry tests r=yulia 2018-05-01 18:06:14 +01:00
.eslintrc.js Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws 2017-03-20 12:36:37 +01:00
app.js Bug 1417462 - Memory Tool to use prop-types and react-dom-factories r=gregtatum 2017-11-15 15:30:49 +00:00
constants.js Bug 1251728 - Make devtools/client/memory/ eslint clean. r=ntim 2016-12-21 15:21:24 +01:00
dominator-tree-lazy-children.js Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes 2018-03-12 13:44:41 -05:00
initializer.js Bug 1455226 - Load memory/initializer.js via browserRequire instead of a script tag;r=ochameau 2018-04-19 19:12:18 +02:00
memory.xhtml Bug 1455226 - Load memory/initializer.js via browserRequire instead of a script tag;r=ochameau 2018-04-19 19:12:18 +02:00
models.js Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes 2018-03-12 13:44:41 -05:00
moz.build Bug 1455226 - Load memory/initializer.js via browserRequire instead of a script tag;r=ochameau 2018-04-19 19:12:18 +02:00
panel.js Bug 1455226 - Load memory/initializer.js via browserRequire instead of a script tag;r=ochameau 2018-04-19 19:12:18 +02:00
reducers.js Bug 1249788 - Implement the census individuals view; r=jsantell 2016-04-11 18:04:31 -07:00
store.js Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes 2018-03-12 13:44:41 -05:00
utils.js Bug 1443081 - Apply spacing via `eslint --fix` for DevTools. r=jdescottes 2018-03-12 13:44:41 -05:00