Closed Bug 1777253 Opened 3 years ago Closed 3 years ago

Switching between "Parent Process Only" and "Multiprocess" in the iframe picker duplicates existing content resources

Categories

(DevTools :: Framework, defect, P2)

defect

Tracking

(firefox-esr91 unaffected, firefox-esr102 unaffected, firefox102 unaffected, firefox103 wontfix, firefox104 wontfix, firefox105 fixed)

RESOLVED FIXED
105 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- unaffected
firefox102 --- unaffected
firefox103 --- wontfix
firefox104 --- wontfix
firefox105 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Steps to reproduce

  1. Go to data:text/html,<meta charset=utf8><script>console.log("Hello", new Date())</script>
  2. Open the Browser Toolbox and go to the console
  3. Enable "Show Content Messages" in the settings panel
  4. In the console input, enter "Hello", so it only shows this message
  5. Clear the console output
  6. Reload the tab from the main firefox window
  7. Switch back and forth between Mutliprocess and Parent Process Only a few times

Expected results

The "Hello" log is only displayed once

Actual results

The log gets duplicated each time we re-enable "Multiprocess"


My hunch is that when watching everything, we're getting the existing resources as well, which gets added back to their panel (at least for the console)

This get much more visible when we add the scope UI in the Browser Console (https://phabricator.services.mozilla.com/D150576)

Set release status flags based on info from the regressing bug 1770363

:ochameau, since you are the author of the regressor, bug 1770363, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(poirot.alex)

It think that will be fixed by bug 1772347

Flags: needinfo?(poirot.alex)

(In reply to Alexandre Poirot [:ochameau] from comment #3)

It think that will be fixed by bug 1772347

I pulled the patch queue on this bug and I'm still seeing the issue, so it might be something else

Oh yes, sorry, I read too quickly, I missed it was about resources and not targets....

(In reply to Nicolas Chevobbe [:nchevobbe] from comment #0)

My hunch is that when watching everything, we're getting the existing resources as well, which gets added back to their panel (at least for the console)

This actually relates to bug 1775503.
There is two parts on that netmonitor bug:

  • stop listening for content process requests (unrelated to this console bug)
  • we do not clear requests from content processes when moving to parent process only (this relates to this bug)

The beginning of the trouble might rather be that the console doesn't remove content process messages when moving to parent process?
We probably need a common behavior across panels.

Idealy, it would be nice if the toolbox scope was similar to a filter. And toggling between the two would allow filtering out/in resources recorded in the past. This question especially applies to the netmonitor where past request would be lost if we clear anything.
But may be that would be easier as a first step: clear all tools when toggling the scope ?
Filtering out content process target resources might require some significant work specific in each panel...

Severity: -- → S3
Priority: -- → P2

I have a WIP where I remove the messages from content when the pref is flipped, I'll polish it up and add test for it

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Depends on: 1781726

Comment on attachment 9287057 [details]
Bug 1777253 - [devtools] Pass an isModeSwitching property to onTargetDestroyed callback param when switching modes. r=jdescottes.

Revision D152758 was moved to bug 1781726. Setting attachment 9287057 [details] to obsolete.

Attachment #9287057 - Attachment is obsolete: true
Attachment #9285844 - Attachment description: Bug 1777253 - [devtools] Remove content messages from console on scope change. r=ochameau. → Bug 1777253 - [devtools] Remove content messages from console when switching to parent process only mode. r=jdescottes.
Blocks: 1782453
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dbd68a657d6f [devtools] Remove content messages from console when switching to parent process only mode. r=jdescottes.

Backed out for causing devtools failures on browser_console_modes.js

Failure line: TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_console_modes.js | Uncaught exception in test - at chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1057 - Error: Failed waitFor():

Push with failures

Failure log

Backout link

[task 2022-08-01T07:32:55.467Z] 07:32:55     INFO - TEST-START | devtools/client/webconsole/test/browser/browser_console_modes.js
[task 2022-08-01T07:32:55.542Z] 07:32:55     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f720b848000 == 2 [pid = 3236] [id = 17]
[task 2022-08-01T07:32:55.542Z] 07:32:55     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f7226a92300) [pid = 3236] [serial = 41] [outer = 0]
[task 2022-08-01T07:32:55.544Z] 07:32:55     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 5 (7f720b848400) [pid = 3236] [serial = 42] [outer = 7f7226a92300]
[task 2022-08-01T07:32:55.554Z] 07:32:55     INFO - GECKO(3108) | [Child 3201, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-01T07:32:55.627Z] 07:32:55     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 6 (7f720b847400) [pid = 3236] [serial = 43] [outer = 7f7226a92300]
[task 2022-08-01T07:32:55.958Z] 07:32:55     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f0475773400 == 10 [pid = 3108] [id = 35]
[task 2022-08-01T07:32:55.960Z] 07:32:55     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 24 (7f047cca6180) [pid = 3108] [serial = 75] [outer = 0]
[task 2022-08-01T07:32:55.961Z] 07:32:55     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 25 (7f04781ad000) [pid = 3108] [serial = 76] [outer = 7f047cca6180]
[task 2022-08-01T07:32:56.031Z] 07:32:56     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 26 (7f04781b2c00) [pid = 3108] [serial = 77] [outer = 7f047cca6180]
[task 2022-08-01T07:32:56.173Z] 07:32:56     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/base/nsContentUtils.cpp:4190
[task 2022-08-01T07:32:56.365Z] 07:32:56     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f047da77400 == 11 [pid = 3108] [id = 36]
[task 2022-08-01T07:32:56.366Z] 07:32:56     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 27 (7f047cca42b0) [pid = 3108] [serial = 78] [outer = 0]
[task 2022-08-01T07:32:56.367Z] 07:32:56     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 28 (7f047da79c00) [pid = 3108] [serial = 79] [outer = 7f047cca42b0]
[task 2022-08-01T07:32:56.389Z] 07:32:56     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:180
[task 2022-08-01T07:32:56.390Z] 07:32:56     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/dom/security/nsCSPService.cpp:190
[task 2022-08-01T07:32:56.463Z] 07:32:56     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f720b851400) [pid = 3236] [serial = 38] [outer = 0] [url = data:text/html;charset=utf-8,<!DOCTYPE html>Top-level await Browser Console test]
[task 2022-08-01T07:32:56.464Z] 07:32:56     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f720b846800 == 1 [pid = 3236] [id = 16] [url = about:blank]
[task 2022-08-01T07:32:56.580Z] 07:32:56     INFO - GECKO(3108) | [Child 3201: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7fe9dae97000) [pid = 3201] [serial = 42] [outer = 0] [url = about:blank]
[task 2022-08-01T07:32:56.649Z] 07:32:56     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1234
[task 2022-08-01T07:32:57.157Z] 07:32:57     INFO - GECKO(3108) | [Child 3236, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-01T07:32:57.240Z] 07:32:57     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 27 (7f047cca3600) [pid = 3108] [serial = 65] [outer = 0] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:32:57.241Z] 07:32:57     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 26 (7f047cca56a0) [pid = 3108] [serial = 62] [outer = 0] [url = about:devtools-toolbox]
[task 2022-08-01T07:32:57.778Z] 07:32:57     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: NS_ENSURE_SUCCESS(mStatus, *this) failed with result 0x804B000A (NS_ERROR_MALFORMED_URI): file /builds/worker/workspace/obj-build/dist/include/nsIURIMutator.h:549
[task 2022-08-01T07:32:58.100Z] 07:32:58     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f048169d400 == 12 [pid = 3108] [id = 37]
[task 2022-08-01T07:32:58.104Z] 07:32:58     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 27 (7f047cca56a0) [pid = 3108] [serial = 80] [outer = 0]
[task 2022-08-01T07:32:58.105Z] 07:32:58     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 28 (7f04816a5400) [pid = 3108] [serial = 81] [outer = 7f047cca56a0]
[task 2022-08-01T07:32:58.120Z] 07:32:58     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: Failed to retarget HTML data delivery to the parser thread.: file /builds/worker/checkouts/gecko/parser/html/nsHtml5StreamParser.cpp:1234
[task 2022-08-01T07:32:58.304Z] 07:32:58     INFO - GECKO(3108) | [GLX] window 22002c6 has VisualID 0x41
[task 2022-08-01T07:32:58.310Z] 07:32:58     INFO - GECKO(3108) | [Parent 3108, Renderer] WARNING: robust_buffer_access_behavior marked as unsupported: file /builds/worker/checkouts/gecko/gfx/gl/GLContextFeatures.cpp:632
[task 2022-08-01T07:32:58.311Z] 07:32:58     INFO - GECKO(3108) | [Parent 3108, Renderer] WARNING: Robustness supported, strategy is not LOSE_CONTEXT_ON_RESET!: file /builds/worker/checkouts/gecko/gfx/gl/GLContext.cpp:995
[task 2022-08-01T07:32:58.312Z] 07:32:58     INFO - GECKO(3108) | [Parent 3108, Renderer] WARNING: robustness marked as unsupported: file /builds/worker/checkouts/gecko/gfx/gl/GLContextFeatures.cpp:632
[task 2022-08-01T07:32:58.318Z] 07:32:58     INFO - GECKO(3108) | [2022-08-01T07:32:58Z WARN  webrender::device::gl] Missing optimized shader source for gpu_cache_update
[task 2022-08-01T07:32:58.358Z] 07:32:58     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-01T07:32:58.470Z] 07:32:58     INFO - GECKO(3108) | [2022-08-01T07:32:58Z WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2022-08-01T07:32:58.472Z] 07:32:58     INFO - GECKO(3108) | [2022-08-01T07:32:58Z WARN  webrender::device::gl] Cropping texture upload Box2D((0, 0), (0, 1)) to None
[task 2022-08-01T07:33:00.191Z] 07:33:00     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f0475778400 == 11 [pid = 3108] [id = 34] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:00.202Z] 07:33:00     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 27 (7f04781a7400) [pid = 3108] [serial = 66] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:00.203Z] 07:33:00     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 26 (7f047781ac00) [pid = 3108] [serial = 64] [outer = 0] [url = about:devtools-toolbox]
[task 2022-08-01T07:33:00.208Z] 07:33:00     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f0475771c00 == 10 [pid = 3108] [id = 31] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:00.209Z] 07:33:00     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f0477818800 == 9 [pid = 3108] [id = 33] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:00.210Z] 07:33:00     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f0475775000 == 8 [pid = 3108] [id = 32] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:00.595Z] 07:33:00     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f720b848400) [pid = 3236] [serial = 42] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:00.812Z] 07:33:00     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f7226a926a0) [pid = 3236] [serial = 39] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:01.701Z] 07:33:01     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 25 (7f047cca4f60) [pid = 3108] [serial = 71] [outer = 0] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:01.703Z] 07:33:01     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (7f047cca49f0) [pid = 3108] [serial = 67] [outer = 0] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:01.705Z] 07:33:01     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (7f047cca4820) [pid = 3108] [serial = 69] [outer = 0] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:07.544Z] 07:33:07     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f720b846c00) [pid = 3236] [serial = 40] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:07.870Z] 07:33:07     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (7f0475775400) [pid = 3108] [serial = 68] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:07.872Z] 07:33:07     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 21 (7f0477819000) [pid = 3108] [serial = 72] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:07.872Z] 07:33:07     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 20 (7f047781bc00) [pid = 3108] [serial = 70] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:07.873Z] 07:33:07     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 19 (7f04781ad000) [pid = 3108] [serial = 76] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:09.966Z] 07:33:09     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 18 (7f047cca5de0) [pid = 3108] [serial = 73] [outer = 0] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:10.309Z] 07:33:10     INFO - TEST-INFO | started process screentopng
[task 2022-08-01T07:33:10.638Z] 07:33:10     INFO - TEST-INFO | screentopng: exit 0
<...>
[task 2022-08-01T07:33:10.659Z] 07:33:10     INFO - Toolbox opened and focused
[task 2022-08-01T07:33:10.660Z] 07:33:10     INFO - Buffered messages logged at 07:33:02
[task 2022-08-01T07:33:10.661Z] 07:33:10     INFO - Console message: [JavaScript Warning: "The Web Console logging API (console.log, console.info, console.warn, console.error) has been disabled by a script on this page."]
[task 2022-08-01T07:33:10.661Z] 07:33:10     INFO - Buffered messages logged at 07:33:03
[task 2022-08-01T07:33:10.662Z] 07:33:10     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_console_modes.js | ChromeDebugToolbar is displayed when the Browser Console has fission support - 
[task 2022-08-01T07:33:10.662Z] 07:33:10     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_console_modes.js | Show content messages menu item isn't displayed when Browser Console has Fission support - 
[task 2022-08-01T07:33:10.663Z] 07:33:10     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_console_modes.js | Browser Console window has expected title - 
[task 2022-08-01T07:33:10.664Z] 07:33:10     INFO - Buffered messages finished
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - TEST-UNEXPECTED-FAIL | devtools/client/webconsole/test/browser/browser_console_modes.js | Uncaught exception in test - at chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1057 - Error: Failed waitFor():  
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - Failed condition: () =>
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO -       hud.ui.outputNode.querySelector(".webconsole-evaluation-selector-button") 
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - Exception Message:  - timed out after 500 tries.
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - Stack trace:
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - waitFor@chrome://mochitests/content/browser/devtools/client/shared/test/shared-head.js:1057:11
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - async*checkMessages@chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_console_modes.js:110:45
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - async*@chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/browser_console_modes.js:47:9
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - Async*handleTask@chrome://mochikit/content/browser-test.js:1001:26
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1073:18
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1208:14
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:990:14
[task 2022-08-01T07:33:10.666Z] 07:33:10     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1038:13
[task 2022-08-01T07:33:10.667Z] 07:33:10     INFO - Leaving test bound 
[task 2022-08-01T07:33:10.668Z] 07:33:10     INFO - Clear the browser console output
[task 2022-08-01T07:33:10.668Z] 07:33:10     INFO - Browser console cleared
[task 2022-08-01T07:33:10.669Z] 07:33:10     INFO - Wait for all Browser Console targets to be attached
[task 2022-08-01T07:33:10.670Z] 07:33:10     INFO - Waiting 1 seconds.
[task 2022-08-01T07:33:10.670Z] 07:33:10     INFO - Close the Browser Console
[task 2022-08-01T07:33:10.671Z] 07:33:10     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1600
[task 2022-08-01T07:33:10.719Z] 07:33:10     INFO - GECKO(3108) | console.warn: "Exception in clearMessagesCache" (new Error("Connection closed, pending request to server27.conn0.workerDescriptor23/console2, type clearMessagesCacheAsync failed\n\nRequest stack:\nrequest@resource://devtools/shared/protocol/Front.js:293:14\ngenerateRequestMethods/</frontProto[name]@resource://devtools/shared/protocol/Front/FrontClassWithSpec.js:49:19\nclearMessagesCache@resource://devtools/client/webconsole/webconsole-ui.js:254:28\n", "resource://devtools/shared/protocol/Front.js", 107))
[task 2022-08-01T07:33:10.721Z] 07:33:10     INFO - Browser Console closed
[task 2022-08-01T07:33:10.752Z] 07:33:10     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1600
[task 2022-08-01T07:33:12.511Z] 07:33:12     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 17 (7f0477819800) [pid = 3108] [serial = 74] [outer = 0] [url = about:blank]
[task 2022-08-01T07:33:12.543Z] 07:33:12     INFO - Removing tab.
[task 2022-08-01T07:33:12.545Z] 07:33:12     INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2022-08-01T07:33:12.581Z] 07:33:12     INFO - Got event: 'TabClose' on [object XULElement].
[task 2022-08-01T07:33:12.607Z] 07:33:12     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:162
[task 2022-08-01T07:33:12.607Z] 07:33:12     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: '!inner', file /builds/worker/checkouts/gecko/dom/ipc/jsactor/JSWindowActorProtocol.cpp:162
[task 2022-08-01T07:33:12.615Z] 07:33:12     INFO - Tab removed and finished closing
[task 2022-08-01T07:33:12.632Z] 07:33:12     INFO - GECKO(3108) | [Parent 3108, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-01T07:33:12.634Z] 07:33:12     INFO - GECKO(3108) | console.warn: "IGNORED REDUX ACTION:" "AUTOCOMPLETE_CLEAR"
[task 2022-08-01T07:33:12.646Z] 07:33:12     INFO - GECKO(3108) | [Parent 3108, Compositor] WARNING: Possibly dropping task posted to updater thread: file /builds/worker/checkouts/gecko/gfx/layers/apz/src/APZUpdater.cpp:371
[task 2022-08-01T07:33:12.764Z] 07:33:12     INFO - GECKO(3108) | JavaScript error: , line 0: NotFoundError: No such JSWindowActor 'DevToolsFrame'
[task 2022-08-01T07:33:12.787Z] 07:33:12     INFO - GECKO(3108) | [Parent 3108: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f047da77400 == 7 [pid = 3108] [id = 36] [url = chrome://devtools/content/webconsole/index.html]
[task 2022-08-01T07:33:12.813Z] 07:33:12     INFO - Console message: [JavaScript Error: "NotFoundError: No such JSWindowActor 'DevToolsFrame'"]
[task 2022-08-01T07:33:12.817Z] 07:33:12     INFO - TEST-PASS | devtools/client/webconsole/test/browser/browser_console_modes.js | The main process DevToolsServer has no pending connection when the test ends - 
[task 2022-08-01T07:33:12.840Z] 07:33:12     INFO - GECKO(3108) | MEMORY STAT | vsize 3804MB | residentFast 645MB | heapAllocated 277MB
[task 2022-08-01T07:33:12.842Z] 07:33:12     INFO - TEST-OK | devtools/client/webconsole/test/browser/browser_console_modes.js | took 17375ms
[task 2022-08-01T07:33:12.854Z] 07:33:12     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f720b846000 == 2 [pid = 3236] [id = 18]
[task 2022-08-01T07:33:12.856Z] 07:33:12     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f7226a926a0) [pid = 3236] [serial = 44] [outer = 0]
[task 2022-08-01T07:33:12.857Z] 07:33:12     INFO - GECKO(3108) | [Child 3236: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 4 (7f720b846400) [pid = 3236] [serial = 45] [outer = 7f7226a926a0]
[task 2022-08-01T07:33:12.880Z] 07:33:12     INFO - GECKO(3108) | [Child 3201, Main Thread] WARNING: '!CanHandleWith(aPresContext)', file /builds/worker/checkouts/gecko/dom/events/IMEStateManager.cpp:498
[task 2022-08-01T07:33:12.940Z] 07:33:12     INFO - checking window state
[task 2022-08-01T07:33:13.063Z] 07:33:13     INFO - TEST-START | devtools/client/webconsole/test/browser/browser_console_nsiconsolemessage.js
Flags: needinfo?(nchevobbe)

I'll have a look

Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2ce94a77d2e8 [devtools] Remove content messages from console when switching to parent process only mode. r=jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 105 Branch

The patch landed in nightly and beta is affected.
:nchevobbe, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox104 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(nchevobbe)

The feature is only exposed in Nightly at the moment, so no need to uplift it

Flags: needinfo?(nchevobbe)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: