Граф коммитов

1541 Коммитов

Автор SHA1 Сообщение Дата
Nazım Can Altınova 1bd1fb12a6 Bug 1784243 - Change the talos marker categories to Test r=florian,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D154372
2022-08-12 19:23:05 +00:00
Emilio Cobos Álvarez ff538cab0e Bug 1784349 - Don't use -moz-bool-pref for flexbox -moz-box emulation. r=dholbert,perftest-reviewers,sparky
Use a bool pref media query which allows dynamic changes to get
reflected instantly.

Differential Revision: https://phabricator.services.mozilla.com/D154449
2022-08-11 23:22:52 +00:00
Gregory Mierzwinski c3430429cd Bug 1784332 - Check if a test is skipped after building configs. r=perftest-reviewers,aglavic
This patch moves where the skip_test function is used from so that it can benefit from additional changes that happen after the configs are built, and before the tests run.

Differential Revision: https://phabricator.services.mozilla.com/D154443
2022-08-11 23:21:06 +00:00
Nicolas Chevobbe b2e069fb9c Bug 1783857 - [devtools] Don't listen for changes event in custom.jsdebugger.open-large-minified-file.DAMP. r=ochameau,perftest-reviewers,AlexandruIonescu.
`waitForText` seems to be enough to properly wait for the source opening.

Differential Revision: https://phabricator.services.mozilla.com/D154095
2022-08-10 12:24:50 +00:00
Nicolas Chevobbe 68478b358f Bug 1783610 - [devtools] Set BrowserToolbox mode to everything in browser-toolbox.js. r=jdescottes,perftest-reviewers,sparky.
Differential Revision: https://phabricator.services.mozilla.com/D153920
2022-08-09 14:28:34 +00:00
Nicolas Chevobbe c9e210ad81 Bug 1783608 - [devtools] Make `evaluateInBrowserToolbox` throw when passed expression does throw. r=jdescottes,perftest-reviewers,sparky.
Since the test is using `evaluateJSAsync` with `mapped` set to `{await: true}`,
if the Promise returned by the expression rejects, the response will have a
`topLevelAwaiRejected` property set to `true`.
In such case, we directly throw from `evaluateInBrowserToolbox`, so the test
will fail.
We also cover the case where the passed function isn't async, in which case the
response will hold a `exceptionMessage` property that we can use.
Finally, we take this as an opportunity to remove duplicated function, as well
as removing a try/catch block in one of the expression since it was also hiding failures.

Differential Revision: https://phabricator.services.mozilla.com/D153919
2022-08-09 14:28:33 +00:00
Gregory Mierzwinski d9eb91264a Bug 1783249 - Check for pine-stable branch in Talos. r=perftest-reviewers,kshampur
Differential Revision: https://phabricator.services.mozilla.com/D153776
2022-08-04 17:54:49 +00:00
Nicolas Chevobbe 73ff4b257a Bug 1782701 - [devtools] Track opening of big files in custom debugger DAMP test. r=jdescottes,perftest-reviewers,AlexandruIonescu.
Differential Revision: https://phabricator.services.mozilla.com/D153141
2022-08-04 08:27:00 +00:00
Florian Queze 80cd7c460f Bug 1782098 - specify the utf-8 encoding when opening a local profile to symbolicate it, r=mstange,perftest-reviewers,sparky.
Differential Revision: https://phabricator.services.mozilla.com/D153103
2022-08-02 12:36:55 +00:00
Gregory Mierzwinski 09044ce53f Bug 1780763 - Add ability to skip tests to Talos. r=perftest-reviewers,kshampur
This patch adds the ability to skip tests to Talos. This lets us prevent tests from running depending on which branch we are on. It also adds some code that will skip tests on the pine branch.

Differential Revision: https://phabricator.services.mozilla.com/D152513
2022-07-29 11:16:52 +00:00
Tooru Fujisawa 4e35a2bf9c Bug 1780543 - Part 3: Add mozilla/process-script environment as alias to frame-script. r=Standard8,perftest-reviewers,webcompat-reviewers,necko-reviewers,twisniewski,sparky,dragana
Differential Revision: https://phabricator.services.mozilla.com/D152428
2022-07-26 02:46:29 +00:00
Tooru Fujisawa a1a992d3cc Bug 1780543 - Part 2: Use eslint-env mozilla/frame-script consistently in test frame script. r=Standard8,webdriver-reviewers,perftest-reviewers,sparky,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D152427
2022-07-26 02:46:29 +00:00
Sebastian Hengst 07c1520097 Bug 1774376 - update further metadata mapping files to Graphics Bugzilla components. DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D151558
2022-07-11 22:38:30 +00:00
Tooru Fujisawa 47c8f80432 Bug 1667455 - Part 6: Stop importing Services.jsm from chrome-priv JS code, non-top-level or multi-line cases. r=kmag,perftest-reviewers,AlexandruIonescu,sparky
Differential Revision: https://phabricator.services.mozilla.com/D150895
2022-07-11 12:41:51 +00:00
Tooru Fujisawa bf93d07148 Bug 1667455 - Part 5: Stop importing Services.jsm from chrome-priv JS code, top-level single-line cases. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,pip-reviewers,twisniewski,m_kato,jdescottes,mconley,AlexandruIonescu,mossop
Differential Revision: https://phabricator.services.mozilla.com/D150894
2022-07-11 12:41:50 +00:00
Tooru Fujisawa f3a8c52c53 Bug 1667455 - Part 4: Stop importing Services.jsm from JSM. r=kmag,webdriver-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,application-update-reviewers,pip-reviewers,twisniewski,devtools-reviewers,m_kato,jdescottes,ochameau,mconley,sfoster,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D150893
2022-07-11 12:41:50 +00:00
Alexandre Poirot b7e9bd218f Bug 1778274 - [devtools] Track performance of the debugger in the browser toolbox r=perftest-reviewers,jdescottes,sparky
Differential Revision: https://phabricator.services.mozilla.com/D151113
2022-07-11 07:16:42 +00:00
Sebastian Hengst 304227d5c2 Bug 1774376 - update file-to-Bugzilla-component mappings for Graphics team r=perftest-reviewers,gfx-reviewers,sparky,aosmond,nical
Components got reorganized in bug 1774288.

Differential Revision: https://phabricator.services.mozilla.com/D149375
2022-06-30 18:07:29 +00:00
Kris Maglione 289588883e Bug 1776207: Part 1 - Remove obsolete _xpcom_factory definitions. r=mccr8
They only work with `generateNSGetFactory` definitions, which don't exist
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D150191
2022-06-27 21:19:51 +00:00
Alexandre Poirot 5ddda086fa Bug 1775203 - [devtools] Unify code around getSymbols method. r=bomsy,perftest-reviewers,davehunt
Now that we no longer have the intermediate "loading" object,
we can simplify the code checking for loading symbols by checking
if symbols are defined.

Differential Revision: https://phabricator.services.mozilla.com/D149856
2022-06-27 14:03:20 +00:00
Nicolas Chevobbe 866c7ae260 Bug 1773986 - [devtools] Add DAMP test case to cover adding out-of-order messages. r=ochameau,perftest-reviewers,sparky.
This test demonstrates that the patch in Bug 1764501 does fix the performance issue
we were seeing. Having it in tree will ensure we don't regress this.

Differential Revision: https://phabricator.services.mozilla.com/D149110
2022-06-15 12:57:07 +00:00
Botond Ballo 18351c43de Bug 1771822 - Remove the browser.chrome.dynamictoolbar pref. r=tnikkel,perftest-reviewers,AlexandruIonescu
This pref is left over from a previous dynamic toolbar implementation,
and no one was reading its value.

Differential Revision: https://phabricator.services.mozilla.com/D147810
2022-06-02 22:57:56 +00:00
Michael Ratcliffe 3133e874e5 Bug 1771608 - Eliminate mozilla/reject-osfile eslint warning in devTools code r=devtools-reviewers,perftest-reviewers,jdescottes,sparky
## Removed Some Osfile.jsm and ChromeUtils Dependencies

```diff
-  const { OS } = require("resource://gre/modules/osfile.jsm");

And / Or

-  const ChromeUtils = require("ChromeUtils");
```

- devtools/client/memory/actions/io.js
- devtools/client/memory/utils.js
- devtools/client/netmonitor/src/har/har-menu-utils.js
- devtools/client/responsive/test/browser/browser_screenshot_button.js
- devtools/client/shared/remote-debugging/adb/adb-binary.js
- devtools/client/shared/screenshot.js
- devtools/client/styleeditor/StyleEditorUI.jsm
- devtools/client/styleeditor/StyleSheetEditor.jsm
- devtools/client/webconsole/components/Input/JSTerm.js
- devtools/client/webconsole/test/browser/stub-generator-helpers.js
- devtools/server/actors/heap-snapshot-file.js
- devtools/server/actors/storage.js
- devtools/server/tests/xpcshell/test_MemoryActor_saveHeapSnapshot_01.js
- devtools/server/tests/xpcshell/test_MemoryActor_saveHeapSnapshot_02.js
- devtools/server/tests/xpcshell/test_MemoryActor_saveHeapSnapshot_03.js
- devtools/shared/DevToolsUtils.js
- devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js
- devtools/shared/tests/xpcshell/test_fetch-file.js
- testing/talos/talos/tests/devtools/addon/content/tests/toolbox/screenshot.js

## IOUtils.read()

```diff
-  OS.File.read(path);
+  IOUtils.read(path);
```

- devtools/client/aboutdebugging/test/browser/helper-real-usb.js
- devtools/client/netmonitor/src/har/har-menu-utils.js
- devtools/client/shared/remote-debugging/adb/adb-binary.js
- devtools/client/styleeditor/StyleSheetEditor.jsm
- devtools/client/webconsole/components/Input/JSTerm.js
- devtools/client/webconsole/test/browser/browser_jsterm_file_load_save_keyboard_shortcut.js
- devtools/client/webconsole/test/browser/browser_webconsole_context_menu_export_console_output.js
- devtools/shared/DevToolsUtils.js

## IOUtils.write()

```diff
-  OS.File.writeAtomic(filePath, fileContent);
+  IOUtils.write(filePath, fileContent);
```

- devtools/client/webconsole/test/browser/stub-generator-helpers.js
- devtools/shared/DevToolsUtils.js
- devtools/shared/tests/xpcshell/test_fetch-file.js

## PathUtils.split()

```diff
-  OS.Path.split(path);
+  PathUtils.split(path);
```

- devtools/client/styleeditor/StyleSheetEditor.jsm

## PathUtils.join()

```diff
-  OS.Path.join(path, filename);
+  PathUtils.join(path, filename);
```

NOTE: If `filename` is an absolute path then `OS.Path` will ignore `path` and use `filename` but `PathUtils` will try to concatenate both paths. If filename can be an absolute path we need to use `PathUtils.isAbsolute()` and `PathUtils.joinRelative()` to make our desired behaviour explicit.

- devtools/client/debugger/test/mochitest/browser_dbg-chrome-create.js
- devtools/client/shared/remote-debugging/adb/adb-binary.js
- devtools/client/styleeditor/StyleSheetEditor.jsm
- devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js

## PathUtils.isAbsolute() and PathUtils.joinRelative()

```diff
-  filename = OS.Path.join(path, filename);
+  filename = PathUtils.isAbsolute(filename)
+    ? filename
+    : PathUtils.joinRelative(path, filename);
```

- devtools/client/shared/screenshot.js

## IOUtils.remove()

```diff
-  OS.File.remove(filePath);
+  IOUtils.remove(filePath);
```

- devtools/client/framework/test/browser_toolbox_screenshot_tool.js
- devtools/client/responsive/test/browser/browser_screenshot_button.js
- devtools/client/responsive/test/browser/browser_screenshot_button_warning.js
- devtools/client/shared/test/shared-head.js
- devtools/client/webconsole/test/browser/browser_console_screenshot.js
- devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_file.js
- devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_fixed_header.js
- devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_selector.js
- testing/talos/talos/tests/devtools/addon/content/tests/toolbox/screenshot.js

## PathUtils.toFileURI()

```diff
-  OS.Path.toFileURI(filePath);
+  PathUtils.toFileURI(filePath);
```

- devtools/client/framework/test/browser_toolbox_screenshot_tool.js
- devtools/client/responsive/test/browser/browser_screenshot_button.js
- devtools/client/shared/test/shared-head.js
- devtools/client/webconsole/test/browser/browser_console_screenshot.js
- devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_file.js
- devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_fixed_header.js
- devtools/client/webconsole/test/browser/browser_jsterm_screenshot_command_selector.js

## PathUtils.filename()

```diff
-  OS.Path.basename(path),
+  PathUtils.filename(path),
```

- devtools/client/memory/actions/io.js
- devtools/client/memory/utils.js
- devtools/client/styleeditor/StyleEditorUI.jsm
- devtools/client/styleeditor/StyleSheetEditor.jsm

## IOUtils.copy()

```diff
-  OS.File.copy(path, dest);
+  IOUtils.copy(path, dest);
```

- devtools/client/memory/actions/io.js

## IOUtils.stat()

```diff
-  OS.File.stat(filePath);
+  IOUtils.stat(filePath);
```

The objects that these `stat()` versions return differ from one another. This hasn't made much difference to the codebase but our changed usage is included here for completeness:

```diff
-      this._fileModDate = info.lastModificationDate.getTime();
+      this._fileModDate = info.lastModified;
```

- devtools/client/memory/test/browser/browser_memory_transferHeapSnapshot_e10s_01.js
- devtools/client/memory/test/xpcshell/head.js
- devtools/client/memory/test/xpcshell/test_action-export-snapshot.js
- devtools/client/styleeditor/StyleSheetEditor.jsm
- devtools/server/actors/heap-snapshot-file.js
- devtools/server/tests/xpcshell/test_MemoryActor_saveHeapSnapshot_01.js
- devtools/server/tests/xpcshell/test_MemoryActor_saveHeapSnapshot_02.js
- devtools/server/tests/xpcshell/test_MemoryActor_saveHeapSnapshot_03.js
- devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js

## IOUtils.setPermissions

```diff
-  OS.File.setPermissions(filePath, { unixMode: 0o744 });
+  IOUtils.setPermissions(filePath, 0o744);
```

- devtools/client/shared/remote-debugging/adb/adb-binary.js

## IOUtils.makeDirectory

```diff
-  OS.File.makeDir(path);
+  IOUtils.makeDirectory(path);
```

- devtools/client/shared/remote-debugging/adb/adb-binary.js

## IOUtils.exists

```diff
-  OS.File.exists(path);
+  IOUtils.exists(path);
```

- devtools/client/shared/remote-debugging/adb/adb-binary.js
- devtools/client/shared/screenshot.js
- devtools/client/webconsole/test/browser/browser_jsterm_file_load_save_keyboard_shortcut.js
- devtools/client/webconsole/test/browser/browser_webconsole_context_menu_export_console_output.js

## PathUtils.profileDir, PathUtils.localProfileDir and PathUtils.tempDir

```diff
-    const profileDir = OS.Constants.Path.profileDir;
+    const profileDir = PathUtils.profileDir;
```

We can reduce reliance on `Osfile.jsm` in another bug bug this is a small step in that direction.

- devtools/client/shared/remote-debugging/adb/adb-binary.js
- devtools/server/actors/storage.js
- devtools/shared/heapsnapshot/HeapSnapshotFileUtils.js

## IOUtils.getChildren(storagePath)

`IOUtils` does not have a direct equivalent of `OS.File.DirectoryIterator()` so we need to iterate more explicitely using `IOUtils.getChildren()`.

```diff
- async findStorageTypePaths(storagePath) {
-   const iterator = new OS.File.DirectoryIterator(storagePath);
-   const typePaths = [];
-
-   await iterator.forEach(entry => {
-     if (entry.isDir) {
-       typePaths.push(entry.path);
-     }
-   });
-
-   iterator.close();
-   return typePaths;
- }

+ async findStorageTypePaths(storagePath) {
+   const children = await IOUtils.getChildren(storagePath);
+   const typePaths = [];
+
+   for (const path of children) {
+     const exists = await IOUtils.exists(path);
+     if (!exists) {
+       continue;
+     }
+
+     const stats = await IOUtils.stat(path);
+     if (stats.type === "directory") {
+       typePaths.push(path);
+     }
+   }
+
+   return typePaths;
+ }

```

- devtools/server/actors/storage.js

## Misc

Made `IOUtils` and `PathUtils` available to DevTools modules.

```diff
   HeapSnapshot,
+  IOUtils,
   L10nRegistry,
   Localization,
   NamedNodeMap,
   NodeFilter,
+  PathUtils,
   StructuredCloneHolder,
   TelemetryStopwatch,
```

- devtools/shared/loader/builtin-modules.js

Differential Revision: https://phabricator.services.mozilla.com/D147589
2022-06-02 21:13:56 +00:00
Jonathan Kew 7973e4e6c3 Bug 1771609 - patch 1 - Add a simple perf test for nsLineIterator performance on large blocks. r=perftest-reviewers,emilio,sparky
This uses selection-modification APIs to move up and down by lines in a large text block,
which relies on the block frame's nsILineIterator.

In my local m-c trunk build on macOS, this testcase currently reports times of around 1800ms.
Once the patch in this bug is applied, that drops to around 1300ms.

Differential Revision: https://phabricator.services.mozilla.com/D147577
2022-06-01 17:39:04 +00:00
Jonathan Kew 9fbe563a70 Bug 1765093 - Add perf tests for SVG text based on the testcase here. r=perftest-reviewers,emilio,sparky
Differential Revision: https://phabricator.services.mozilla.com/D145727
2022-05-07 13:12:00 +00:00
Cristian Tuns f1a3cc8348 Backed out 4 changesets (bug 1765093) for causing web-platform-test failures on boundary-shaping-010.html CLOSED TREE
Backed out changeset 4f24833ac254 (bug 1765093)
Backed out changeset 6e5b336588d1 (bug 1765093)
Backed out changeset 17d5218d84b7 (bug 1765093)
Backed out changeset bbc194412080 (bug 1765093)
2022-05-06 17:08:52 -04:00
Jonathan Kew 2923fa9995 Bug 1765093 - Add perf tests for SVG text based on the testcase here. r=perftest-reviewers,emilio,sparky
Differential Revision: https://phabricator.services.mozilla.com/D145727
2022-05-06 17:47:24 +00:00
Tooru Fujisawa 3adaeb29bb Bug 1765167 - Part 9: Stop using Cu.import in testing/. r=webdriver-reviewers,perftest-reviewers,whimboo,sparky,mossop
Differential Revision: https://phabricator.services.mozilla.com/D144102
2022-05-03 06:32:32 +00:00
Julian Descottes 7ae3393b2f Bug 1762837 - [devtols] Update DAMP docs to suggest --suite instead of --activeTests r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D143981
2022-04-19 11:56:45 +00:00
Calixte d9394d9f9b Bug 857031 - Add a performance test for the rendering of a pdf with a lot of image masks r=pdfjs-reviewers,perftest-reviewers,marco,sparky DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D143618
2022-04-13 20:10:11 +00:00
Nicolas Chevobbe d3fafa3308 Bug 1762922 - [devtools] Don't gargageCollect between log-in-loop-content-process tests. r=jdescottes,perftest-reviewers,sparky.
This makes `damp-webconsole` job run faster, with the test variance still looking
good enough.
If we see that we get unstable numbers at some point, we'll evaluate other options
to minimize the job duration.

Differential Revision: https://phabricator.services.mozilla.com/D142916
2022-04-06 12:57:46 +00:00
Julian Descottes 10b2ca6c71 Bug 1762611 - [devtools] Load devtools DAMP modules using resource scheme r=perftest-reviewers,ochameau,Gijs,sparky
Differential Revision: https://phabricator.services.mozilla.com/D142750
2022-04-06 12:41:00 +00:00
Mark Banner f3012297a4 Bug 1762601 - Migrate all of devtools from Cu.import to ChromeUtils.import. r=jdescottes,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D142693
2022-04-04 13:41:02 +00:00
Alexandre Poirot 09193bfe86 Bug 1419327 - [devtools] Run DAMP test against a document specific to the netmonitor. r=nchevobbe,perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D142432
2022-04-04 11:25:10 +00:00
Nicolas Chevobbe 5732b915bf Bug 1759666 - [devtools] Add type-specific console.log content process damp test. r=perftest-reviewers,ochameau,AlexandruIonescu.
Differential Revision: https://phabricator.services.mozilla.com/D140978
2022-04-01 13:03:55 +00:00
Julian Descottes a9a941a43f Bug 1749928 - [devtools] Split DevTools DAMP test suite in several chunks r=perftest-reviewers,sparky,nchevobbe,ochameau
Depends on D141966

Split DAMP in 3 explicit sub-suites: damp-inspector, damp-webconsole, damp-other

Locally you can still run any DAMP subtest with --suite=damp

Differential Revision: https://phabricator.services.mozilla.com/D137655
2022-03-31 13:54:05 +00:00
Nicolas Chevobbe bc289477e0 Bug 1761190 - [devtools] Make DAMP console test compatible with virtualization patch. r=ochameau,perftest-reviewers,sparky.
console.compicated is modified so we only display error messages, which it's less
likely new ones will be displayed, unlike warning messages. We're also waiting
for the stacktrace of errors to be displayed to have more stable data.

Differential Revision: https://phabricator.services.mozilla.com/D141935
2022-03-31 08:23:42 +00:00
Marian-Vasile Laza 2719b0d9cf Backed out 2 changesets (bug 1749928) for causing webgl failures. CLOSED TREE
Backed out changeset d654d3fcfa8e (bug 1749928)
Backed out changeset 49e91c2434f7 (bug 1749928)
2022-03-30 11:18:07 -07:00
Julian Descottes b1d70ee7bd Bug 1749928 - [devtools] Split DevTools DAMP test suite in several chunks r=perftest-reviewers,sparky,nchevobbe,ochameau
Depends on D141966

Split DAMP in 3 explicit sub-suites: damp-inspector, damp-webconsole, damp-other

Locally you can still run any DAMP subtest with --suite=damp

Differential Revision: https://phabricator.services.mozilla.com/D137655
2022-03-30 16:53:09 +00:00
smolnar e8a0c58bd0 Backed out 3 changesets (bug 1759666, bug 1760541, bug 1760540) for causing talos damp failures. CLOSED TREE
Backed out changeset ec2f5253456e (bug 1759666)
Backed out changeset d0c9fc3a8d87 (bug 1760541)
Backed out changeset 30f81a7041c7 (bug 1760540)
2022-03-22 23:45:28 +02:00
Nicolas Chevobbe 151983da17 Bug 1759666 - [devtools] Add type-specific console.log content process damp test. r=perftest-reviewers,ochameau,AlexandruIonescu.
Differential Revision: https://phabricator.services.mozilla.com/D140978
2022-03-22 17:23:49 +00:00
andrej 70ddc4bbbc Bug 1753735 - Review and update Talos test owners r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D141607
2022-03-22 12:26:03 +00:00
Mark Banner 2d563feacc Bug 1758476 - Remove some unnecessary uses of the target object argument to ChromeUtils.import. r=mossop,webdriver-reviewers,perftest-reviewers,robwu,whimboo,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140518
2022-03-17 22:13:08 +00:00
Cristian Tuns e8374bd569 Backed out changeset 528295e7cb0c (bug 1758476) for causing tabswitch failures CLOSED TREE 2022-03-14 12:27:48 -04:00
Mark Banner 0ce30e3008 Bug 1758476 - Remove some unnecessary uses of the target object argument to ChromeUtils.import. r=mossop,webdriver-reviewers,perftest-reviewers,robwu,whimboo,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D140518
2022-03-14 10:19:40 +00:00
Mark Banner 8bb4667fae Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-11 16:41:29 +00:00
Alexandre Poirot a736d67240 Bug 1754407 - [devtools] Use a distinct reducer for source text content and make source objects immutables. r=perftest-reviewers,devtools-reviewers,bomsy,AlexandruIonescu
This helps working on debugger performance as source objects are now immutable
and so won't trigger selector updates.

This also stop updating the object/map that contains all the text contents.

Differential Revision: https://phabricator.services.mozilla.com/D138261
2022-03-11 10:23:33 +00:00
smolnar e89faa903f Backed out changeset 5018856d8fee (bug 1758474) for causing node eslint failure. CLOSED TREE 2022-03-10 11:58:45 +02:00
Mark Banner fe937b78bd Bug 1758474 - Implement an ESLint rule to disallow passing {} as the target parameter for ChromeUtils.import. r=Gijs,mossop,perftest-reviewers,preferences-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D140517
2022-03-10 09:25:28 +00:00
Florian Quèze 4f67f6d902 Bug 1755559 - remove the obsolete 'threads' profiler feature from automated performance tests, r=mstange,perftest-reviewers,sparky.
Differential Revision: https://phabricator.services.mozilla.com/D140541
2022-03-09 19:28:44 +00:00