Closed Bug 1914850 Opened 1 month ago Closed 1 month ago

Add test for editing declaration of layer-imported stylesheet in Inspector

Categories

(DevTools :: Inspector: Rules, task)

task

Tracking

(firefox131 fixed)

RESOLVED FIXED
131 Branch
Tracking Status
firefox131 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

The Bug was fixed at platform level on Bug 1912996 and we should have a test covering it

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b622e2cb90ab [devtools] Add test for editing declaration of layer-imported stylesheet. r=devtools-reviewers,ochameau.

Backed out for causing mochitest failures on StyleSheet.cpp.

[task 2024-08-26T10:49:32.519Z] 10:49:32     INFO - TEST-START | devtools/client/inspector/rules/test/browser_rules_layer.js
[task 2024-08-26T10:49:32.620Z] 10:49:32     INFO - GECKO(2718) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4cw4zte5.mozrunner/runtests_leaks_tab_pid8048.log
[task 2024-08-26T10:49:32.734Z] 10:49:32     INFO - GECKO(2718) | [Child 8048, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-08-26T10:49:32.939Z] 10:49:32     INFO - GECKO(2718) | [Parent 2718, IPC I/O Parent] WARNING: [1.1]: GetUserData call for port 'E1752961B783C9C4.6FA4113030A846D' failed: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:424
[task 2024-08-26T10:49:33.017Z] 10:49:33     INFO - GECKO(2718) | [Child 2826: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f7c2f1a6400 == 2 [pid = 2826] [id = 54] [url = data:text/html,%0A%20%20%3C!DOCTYPE%20html%3E%0A%20%20%3Chtml%3E%0A%20%20%20%20%3Chead%3E%0A%20%20%20%20%20%20%3Clink%20href%3D%22http%3A%2F%2Flocalhost%3A42165%2Fstyle.css%22%20rel%3D%22stylesheet%22%20%2F%3E%0A%20%20%20%20%3C%2Fhead%3E%0A%20%20%20%20%3Cbody%3E%3C%2Fbody%3E%0A%20%20%3C%2Fhtml%3E%0A]
[task 2024-08-26T10:49:33.017Z] 10:49:33     INFO - GECKO(2718) | [Child 2826: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f7c2f1a5400 == 1 [pid = 2826] [id = 53] [url = about:blank]
[task 2024-08-26T10:49:33.022Z] 10:49:33     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: BounceTrackingState::OnDocumentStartRequest failed.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2612
[task 2024-08-26T10:49:33.212Z] 10:49:33     INFO - GECKO(2718) | [Child 8048: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f7c3116a000 == 1 [pid = 8048] [id = 0]
[task 2024-08-26T10:49:33.226Z] 10:49:33     INFO - GECKO(2718) | [Child 8048: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f7c4f290e00) [pid = 8048] [serial = 1] [outer = 0]
[task 2024-08-26T10:49:33.231Z] 10:49:33     INFO - GECKO(2718) | [Child 8048: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f7c3116cc00) [pid = 8048] [serial = 2] [outer = 7f7c4f290e00]
[task 2024-08-26T10:49:33.401Z] 10:49:33     INFO - GECKO(2718) | [Child 2826: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 6 (7f7c300bec00) [pid = 2826] [serial = 137] [outer = 0] [url = data:text/html,%0A%20%20%3C!DOCTYPE%20html%3E%0A%20%20%3Chtml%3E%0A%20%20%20%20%3Chead%3E%0A%20%20%20%20%20%20%3Clink%20href%3D%22http%3A%2F%2Flocalhost%3A42165%2Fstyle.css%22%20rel%3D%22stylesheet%22%20%2F%3E%0A%20%20%20%20%3C%2Fhead%3E%0A%20%20%20%20%3Cbody%3E%3C%2Fbody%3E%0A%20%20%3C%2Fhtml%3E%0A]
[task 2024-08-26T10:49:33.402Z] 10:49:33     INFO - GECKO(2718) | [Child 2826: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 5 (7f7c300c0000) [pid = 2826] [serial = 135] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:33.412Z] 10:49:33     INFO - GECKO(2718) | [Child 8048: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f7c31178000) [pid = 8048] [serial = 3] [outer = 7f7c4f290e00]
[task 2024-08-26T10:49:34.032Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f26d0f35400 == 7 [pid = 2718] [id = 199]
[task 2024-08-26T10:49:34.033Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 20 (7f26f760b200) [pid = 2718] [serial = 465] [outer = 0]
[task 2024-08-26T10:49:34.035Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 21 (7f26f88b1000) [pid = 2718] [serial = 466] [outer = 7f26f760b200]
[task 2024-08-26T10:49:34.086Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 22 (7f26f88af400) [pid = 2718] [serial = 467] [outer = 7f26f760b200]
[task 2024-08-26T10:49:34.459Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f26d0f41800 == 8 [pid = 2718] [id = 200]
[task 2024-08-26T10:49:34.460Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 23 (7f26f760e800) [pid = 2718] [serial = 468] [outer = 0]
[task 2024-08-26T10:49:34.461Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 24 (7f26f88b5c00) [pid = 2718] [serial = 469] [outer = 7f26f760e800]
[task 2024-08-26T10:49:34.473Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:182
[task 2024-08-26T10:49:34.473Z] 10:49:34     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/chrome/nsChromeProtocolHandler.cpp:73
[task 2024-08-26T10:49:35.068Z] 10:49:35     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f271f2d9400 == 9 [pid = 2718] [id = 201]
[task 2024-08-26T10:49:35.068Z] 10:49:35     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 25 (7f26f760de00) [pid = 2718] [serial = 470] [outer = 0]
[task 2024-08-26T10:49:35.068Z] 10:49:35     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 26 (7f271f2d7400) [pid = 2718] [serial = 471] [outer = 7f26f760de00]
[task 2024-08-26T10:49:35.079Z] 10:49:35     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:182
[task 2024-08-26T10:49:35.079Z] 10:49:35     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/chrome/nsChromeProtocolHandler.cpp:73
[task 2024-08-26T10:49:35.623Z] 10:49:35     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2024-08-26T10:49:35.628Z] 10:49:35     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2024-08-26T10:49:35.639Z] 10:49:35     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f26d0f38c00 == 8 [pid = 2718] [id = 196] [url = about:devtools-toolbox]
[task 2024-08-26T10:49:35.777Z] 10:49:35     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2024-08-26T10:49:35.785Z] 10:49:35     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2024-08-26T10:49:35.868Z] 10:49:35     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2024-08-26T10:49:36.075Z] 10:49:36     INFO - GECKO(2718) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4cw4zte5.mozrunner/runtests_leaks_tab_pid8082.log
[task 2024-08-26T10:49:36.109Z] 10:49:36     INFO - GECKO(2718) | [Child 8082, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-08-26T10:49:36.320Z] 10:49:36     INFO - GECKO(2718) | [Child 8082: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f7c3116fc00 == 1 [pid = 8082] [id = 0]
[task 2024-08-26T10:49:36.322Z] 10:49:36     INFO - GECKO(2718) | [Child 8082: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (7f7c4f28f800) [pid = 8082] [serial = 1] [outer = 0]
[task 2024-08-26T10:49:36.325Z] 10:49:36     INFO - GECKO(2718) | [Child 8082: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f7c3116d800) [pid = 8082] [serial = 2] [outer = 7f7c4f28f800]
[task 2024-08-26T10:49:36.343Z] 10:49:36     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: BounceTrackingState::OnDocumentStartRequest failed.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/netwerk/ipc/DocumentLoadListener.cpp:2612
[task 2024-08-26T10:49:36.572Z] 10:49:36     INFO - GECKO(2718) | [Child 8082: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f7c31174c00) [pid = 8082] [serial = 3] [outer = 7f7c4f28f800]
[task 2024-08-26T10:49:36.731Z] 10:49:36     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2024-08-26T10:49:36.740Z] 10:49:36     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2024-08-26T10:49:37.098Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f26f88a9000 == 9 [pid = 2718] [id = 202]
[task 2024-08-26T10:49:37.100Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 27 (7f2730c19c00) [pid = 2718] [serial = 472] [outer = 0]
[task 2024-08-26T10:49:37.103Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 28 (7f27237b7800) [pid = 2718] [serial = 473] [outer = 7f2730c19c00]
[task 2024-08-26T10:49:37.196Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 29 (7f27237b5800) [pid = 2718] [serial = 474] [outer = 7f2730c19c00]
[task 2024-08-26T10:49:37.591Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f27237b1800 == 10 [pid = 2718] [id = 203]
[task 2024-08-26T10:49:37.591Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 30 (7f2735b3b200) [pid = 2718] [serial = 475] [outer = 0]
[task 2024-08-26T10:49:37.592Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 31 (7f272633f800) [pid = 2718] [serial = 476] [outer = 7f2735b3b200]
[task 2024-08-26T10:49:37.604Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:182
[task 2024-08-26T10:49:37.604Z] 10:49:37     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/chrome/nsChromeProtocolHandler.cpp:73
[task 2024-08-26T10:49:38.639Z] 10:49:38     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f26f88a6400 == 11 [pid = 2718] [id = 204]
[task 2024-08-26T10:49:38.642Z] 10:49:38     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 32 (7f26f760d800) [pid = 2718] [serial = 477] [outer = 0]
[task 2024-08-26T10:49:38.642Z] 10:49:38     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 33 (7f26f88a9400) [pid = 2718] [serial = 478] [outer = 7f26f760d800]
[task 2024-08-26T10:49:38.656Z] 10:49:38     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file /builds/worker/checkouts/gecko/chrome/nsChromeRegistry.cpp:182
[task 2024-08-26T10:49:38.657Z] 10:49:38     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: 'NS_FAILED(rv)', file /builds/worker/checkouts/gecko/chrome/nsChromeProtocolHandler.cpp:73
[task 2024-08-26T10:49:38.791Z] 10:49:38     INFO - GECKO(2718) | [Child 2826: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 4 (7f7c2f1a8c00) [pid = 2826] [serial = 138] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:38.791Z] 10:49:38     INFO - GECKO(2718) | [Child 2826: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 3 (7f7c2f1a5800) [pid = 2826] [serial = 136] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:38.792Z] 10:49:38     INFO - GECKO(2718) | [Child 2826: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f7c2f1a3400) [pid = 2826] [serial = 139] [outer = 0] [url = data:text/html,%0A%20%20%3C!DOCTYPE%20html%3E%0A%20%20%3Chtml%3E%0A%20%20%20%20%3Chead%3E%0A%20%20%20%20%20%20%3Clink%20href%3D%22http%3A%2F%2Flocalhost%3A42165%2Fstyle.css%22%20rel%3D%22stylesheet%22%20%2F%3E%0A%20%20%20%20%3C%2Fhead%3E%0A%20%20%20%20%3Cbody%3E%3C%2Fbody%3E%0A%20%20%3C%2Fhtml%3E%0A]
[task 2024-08-26T10:49:39.236Z] 10:49:39     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2024-08-26T10:49:39.254Z] 10:49:39     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_GRIDS"
[task 2024-08-26T10:49:39.289Z] 10:49:39     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 32 (7f26f88b5000) [pid = 2718] [serial = 455] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:39.289Z] 10:49:39     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 31 (7f26d0f3a400) [pid = 2718] [serial = 453] [outer = 0] [url = about:devtools-toolbox]
[task 2024-08-26T10:49:39.289Z] 10:49:39     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 30 (7f26f88b2000) [pid = 2718] [serial = 459] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:39.342Z] 10:49:39     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2024-08-26T10:49:39.363Z] 10:49:39     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2024-08-26T10:49:39.534Z] 10:49:39     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "CLEAR_FLEXBOX"
[task 2024-08-26T10:49:39.709Z] 10:49:39     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_OFFSET_PARENT"
[task 2024-08-26T10:49:39.720Z] 10:49:39     INFO - GECKO(2718) | console.log: "[DISPATCH] action type:" "UPDATE_LAYOUT"
[task 2024-08-26T10:49:40.563Z] 10:49:40     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1657
[task 2024-08-26T10:49:40.703Z] 10:49:40     INFO - GECKO(2718) | [Child 2883: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f7c2f5c7000 == 0 [pid = 2883] [id = 55] [url = about:blank]
[task 2024-08-26T10:49:40.800Z] 10:49:40     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: NS_ENSURE_TRUE(mPresShell) failed: file /builds/worker/checkouts/gecko/layout/generic/nsFrameSelection.cpp:1657
[task 2024-08-26T10:49:41.024Z] 10:49:41     INFO - GECKO(2718) | [Child 2883: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f7c2ff7f400) [pid = 2883] [serial = 139] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:42.123Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 29 (7f26dfc09600) [pid = 2718] [serial = 458] [outer = 0] [url = about:devtools-toolbox]
[task 2024-08-26T10:49:42.123Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 28 (7f26f88aa400) [pid = 2718] [serial = 460] [outer = 0] [url = about:devtools-toolbox]
[task 2024-08-26T10:49:42.125Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 27 (7f26bfaf3e00) [pid = 2718] [serial = 463] [outer = 0] [url = chrome://devtools/content/inspector/markup/markup.xhtml]
[task 2024-08-26T10:49:42.128Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 26 (7f26f760c600) [pid = 2718] [serial = 461] [outer = 0] [url = chrome://devtools/content/inspector/index.xhtml]
[task 2024-08-26T10:49:42.131Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 25 (7f26f88b1000) [pid = 2718] [serial = 466] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:42.134Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 24 (7f26f88a7c00) [pid = 2718] [serial = 462] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:42.135Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 23 (7f26d0f39000) [pid = 2718] [serial = 464] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:42.165Z] 10:49:42     INFO - GECKO(2718) | console.warn: "Inspector destroyed while executing onReflow callback"
[task 2024-08-26T10:49:42.369Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f26f88a6400 == 10 [pid = 2718] [id = 204] [url = chrome://devtools/content/inspector/markup/markup.xhtml]
[task 2024-08-26T10:49:42.376Z] 10:49:42     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f27237b1800 == 9 [pid = 2718] [id = 203] [url = chrome://devtools/content/inspector/index.xhtml]
[task 2024-08-26T10:49:43.652Z] 10:49:43     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 22 (7f27237b7800) [pid = 2718] [serial = 473] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:43.673Z] 10:49:43     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f26f88a9000 == 8 [pid = 2718] [id = 202] [url = about:devtools-toolbox]
[task 2024-08-26T10:49:43.865Z] 10:49:43     INFO - GECKO(2718) | [Parent 2718, Main Thread] WARNING: Worker has already shut down!!!: file /builds/worker/checkouts/gecko/dom/workers/WorkerRunnable.cpp:178
[task 2024-08-26T10:49:43.873Z] 10:49:43     INFO - GECKO(2718) | JavaScript error: , line 0: NotFoundError: No such JSProcessActor 'DevToolsProcess'
[task 2024-08-26T10:49:43.876Z] 10:49:43     INFO - GECKO(2718) | JavaScript error: , line 0: NotFoundError: No such JSProcessActor 'DevToolsProcess'
[task 2024-08-26T10:49:43.878Z] 10:49:43     INFO - GECKO(2718) | JavaScript error: , line 0: NotFoundError: No such JSProcessActor 'DevToolsProcess'
[task 2024-08-26T10:49:43.882Z] 10:49:43     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f271f2d9400 == 7 [pid = 2718] [id = 201] [url = chrome://devtools/content/inspector/markup/markup.xhtml]
[task 2024-08-26T10:49:43.885Z] 10:49:43     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f26d0f41800 == 6 [pid = 2718] [id = 200] [url = chrome://devtools/content/inspector/index.xhtml]
[task 2024-08-26T10:49:43.966Z] 10:49:43     INFO - GECKO(2718) | [Parent 2718, IPC I/O Parent] WARNING: [1.1]: GetUserData call for port '59C32B7DCB34C43F.DC3D60A98AC5F606' failed: file /builds/worker/checkouts/gecko/ipc/glue/NodeController.cpp:424
[task 2024-08-26T10:49:44.029Z] 10:49:44     INFO - GECKO(2718) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4cw4zte5.mozrunner/runtests_leaks_tab_pid8120.log
[task 2024-08-26T10:49:44.102Z] 10:49:44     INFO - GECKO(2718) | [Child 8120, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-08-26T10:49:44.249Z] 10:49:44     INFO - GECKO(2718) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4cw4zte5.mozrunner/runtests_leaks_tab_pid8138.log
[task 2024-08-26T10:49:44.288Z] 10:49:44     INFO - GECKO(2718) | [Parent 2718: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f26d0f35400 == 5 [pid = 2718] [id = 199] [url = about:devtools-toolbox]
[task 2024-08-26T10:49:44.324Z] 10:49:44     INFO - GECKO(2718) | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmp4cw4zte5.mozrunner/runtests_leaks_tab_pid8148.log
[task 2024-08-26T10:49:44.360Z] 10:49:44     INFO - GECKO(2718) | [Child 8138, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-08-26T10:49:44.470Z] 10:49:44     INFO - GECKO(2718) | [Child 8148, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:757
[task 2024-08-26T10:49:44.489Z] 10:49:44     INFO - GECKO(2718) | [Child 8082: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f7c3116fc00 == 0 [pid = 8082] [id = 0] [url = https://example.com/document-builder.sjs?html=%0A%20%20%20%20%20%20%20%20%3Clink%20rel%3D%22stylesheet%22%20href%3D%22https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_layer_edit.css%22%3E%0A%20%20%20%20%20%20%20%20%3Ch1%3EEditing%20%40layer%20stylesheet%3C%2Fh1%3E%0A%20%20%20%20%20%20]
[task 2024-08-26T10:49:44.638Z] 10:49:44     INFO - GECKO(2718) | [Child 8048: Main Thread]: I/DocShellAndDOMWindowLeak --DOCSHELL 7f7c3116a000 == 0 [pid = 8048] [id = 0] [url = https://example.com/document-builder.sjs?html=%0A%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_anonymous_layer.css)%20layer%3B%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_named_layer.css)%20layer(importedLayer)%3B%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_no_layer.css)%3B%0A%0A%20%20%20%20%40layer%20myLayer%20%7B%0A%20%20%20%20%20%20h1%2C%20%5Btest-hint%3Dnamed-layer%5D%20%7B%0A%20%20%20%20%20%20%20%20background-color%3A%20tomato%3B%0A%20%20%20%20%20%20%20%20color%3A%20lightgreen%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20%40layer%20%7B%0A%20%20%20%20%20%20h1%2C%20%5Btest-hint%3Danonymous-layer%5D%20%7B%0A%20%20%20%20%20%20%20%20color%3A%20green%3B%0A%20%20%20%20%20%20%20%20fo]
[task 2024-08-26T10:49:44.639Z] 10:49:44     INFO - GECKO(2718) | [Child 8048: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 2 (7f7c3116cc00) [pid = 8048] [serial = 2] [outer = 0] [url = about:blank]
[task 2024-08-26T10:49:44.670Z] 10:49:44     INFO - GECKO(2718) | MEMORY STAT | vsize 12243MB | residentFast 797MB | heapAllocated 447MB
[task 2024-08-26T10:49:44.680Z] 10:49:44     INFO - TEST-OK | devtools/client/inspector/rules/test/browser_rules_layer.js | took 12160ms
[task 2024-08-26T10:49:44.692Z] 10:49:44     INFO - GECKO(2718) | [Child 2883: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 7f7c2f5c2800 == 1 [pid = 2883] [id = 56]
[task 2024-08-26T10:49:44.694Z] 10:49:44     INFO - GECKO(2718) | [Child 2883: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (7f7c2ff81400) [pid = 2883] [serial = 141] [outer = 0]
[task 2024-08-26T10:49:44.695Z] 10:49:44     INFO - GECKO(2718) | [Child 2883: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 3 (7f7c2f5c1800) [pid = 2883] [serial = 142] [outer = 7f7c2ff81400]
[task 2024-08-26T10:49:44.781Z] 10:49:44     INFO - GECKO(2718) | [8082] Assertion failure: mParentSheet->ChildSheets().Contains(this), at /builds/worker/checkouts/gecko/layout/style/StyleSheet.cpp:917
[task 2024-08-26T10:49:44.866Z] 10:49:44     INFO -  Initializing stack-fixing for the first stack frame, this may take a while...
[task 2024-08-26T10:50:14.067Z] 10:50:14     INFO - GECKO(2718) | #01: mozilla::StyleSheet::RemoveFromParent() [layout/style/StyleSheet.cpp:917]
[task 2024-08-26T10:50:14.068Z] 10:50:14     INFO - GECKO(2718) | #02: mozilla::dom::CSSImportRule::DropSheetReference() [layout/style/CSSImportRule.cpp:0]
[task 2024-08-26T10:50:14.069Z] 10:50:14     INFO - GECKO(2718) | #03: mozilla::ServoCSSRuleList::DropSheetReference() [layout/style/ServoCSSRuleList.cpp:179]
[task 2024-08-26T10:50:14.070Z] 10:50:14     INFO - GECKO(2718) | #04: mozilla::StyleSheet::cycleCollection::Unlink(void*) [layout/style/StyleSheet.cpp:274]
[task 2024-08-26T10:50:14.071Z] 10:50:14     INFO - GECKO(2718) | #05: nsCycleCollector::CollectWhite() [xpcom/base/nsCycleCollector.cpp:3274]
[task 2024-08-26T10:50:14.072Z] 10:50:14     INFO - GECKO(2718) | #06: nsCycleCollector::Collect(mozilla::CCReason, ccIsManual, JS::SliceBudget&, nsICycleCollectorListener*, bool) [xpcom/base/nsCycleCollector.cpp:3650]
[task 2024-08-26T10:50:14.073Z] 10:50:14     INFO - GECKO(2718) | #07: nsCycleCollector::ShutdownCollect() [xpcom/base/nsCycleCollector.cpp:3561]
[task 2024-08-26T10:50:14.074Z] 10:50:14     INFO - GECKO(2718) | #08: nsCycleCollector::Shutdown(bool) [xpcom/base/nsCycleCollector.cpp:3877]
[task 2024-08-26T10:50:14.077Z] 10:50:14     INFO - GECKO(2718) | #09: nsCycleCollector_shutdown(bool) [xpcom/base/nsCycleCollector.cpp:4208]
[task 2024-08-26T10:50:14.078Z] 10:50:14     INFO - GECKO(2718) | #10: mozilla::ShutdownXPCOM(nsIServiceManager*) [xpcom/build/XPCOMInit.cpp:731]
[task 2024-08-26T10:50:14.079Z] 10:50:14     INFO - GECKO(2718) | #11: XRE_InitChildProcess(int, char**, XREChildData const*) [toolkit/xre/nsEmbedFunctions.cpp:650]
[task 2024-08-26T10:50:14.192Z] 10:50:14     INFO - GECKO(2718) | #12: main [browser/app/nsBrowserApp.cpp:410]
[task 2024-08-26T10:50:14.337Z] 10:50:14     INFO - GECKO(2718) | #13: __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6 + 0x21b97]
[task 2024-08-26T10:50:14.337Z] 10:50:14     INFO - GECKO(2718) | #14: ??? [/builds/worker/workspace/build/application/firefox/firefox-bin + 0x3cae9]
[task 2024-08-26T10:50:14.337Z] 10:50:14     INFO - GECKO(2718) | #15: ??? (???:???)
[task 2024-08-26T10:50:14.337Z] 10:50:14     INFO - checking window state
[task 2024-08-26T10:50:14.343Z] 10:50:14     INFO - GECKO(2718) | [Child 8048: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 1 (7f7c31178000) [pid = 8048] [serial = 3] [outer = 0] [url = https://example.com/document-builder.sjs?html=%0A%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_anonymous_layer.css)%20layer%3B%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_named_layer.css)%20layer(importedLayer)%3B%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_no_layer.css)%3B%0A%0A%20%20%20%20%40layer%20myLayer%20%7B%0A%20%20%20%20%20%20h1%2C%20%5Btest-hint%3Dnamed-layer%5D%20%7B%0A%20%20%20%20%20%20%20%20background-color%3A%20tomato%3B%0A%20%20%20%20%20%20%20%20color%3A%20lightgreen%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20%40layer%20%7B%0A%20%20%20%20%20%20h1%2C%20%5Btest-hint%3Danonymous-layer%5D%20%7B%0A%20%20%20%20%20%20%20%20color%3A%20green%3B%0A%20%20%20%20%20%20%20%20fo]
[task 2024-08-26T10:50:14.343Z] 10:50:14     INFO - GECKO(2718) | [Child 8048: Main Thread]: I/DocShellAndDOMWindowLeak --DOMWINDOW == 0 (7f7c4f290e00) [pid = 8048] [serial = 1] [outer = 0] [url = https://example.com/document-builder.sjs?html=%0A%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_anonymous_layer.css)%20layer%3B%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_named_layer.css)%20layer(importedLayer)%3B%0A%20%20%20%20%40import%20url(https%3A%2F%2Fexample.com%2Fbrowser%2Fdevtools%2Fclient%2Finspector%2Frules%2Ftest%2Fdoc_imported_no_layer.css)%3B%0A%0A%20%20%20%20%40layer%20myLayer%20%7B%0A%20%20%20%20%20%20h1%2C%20%5Btest-hint%3Dnamed-layer%5D%20%7B%0A%20%20%20%20%20%20%20%20background-color%3A%20tomato%3B%0A%20%20%20%20%20%20%20%20color%3A%20lightgreen%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%0A%20%20%20%20%40layer%20%7B%0A%20%20%20%20%20%20h1%2C%20%5Btest-hint%3Danonymous-layer%5D%20%7B%0A%20%20%20%20%20%20%20%20color%3A%20green%3B%0A%20%20%20%20%20%20%20%20fo]
[task 2024-08-26T10:50:14.343Z] 10:50:14     INFO - TEST-START | devtools/client/inspector/rules/test/browser_rules_light_dark.js
Flags: needinfo?(nchevobbe)

Ah true, this needs Bug 1914449 to avoid hitting the assertion

Depends on: 1914449
Flags: needinfo?(nchevobbe)
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dc03e9ae7ef8 [devtools] Add test for editing declaration of layer-imported stylesheet. r=devtools-reviewers,ochameau.
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: