Closed Bug 1899341 Opened 6 months ago Closed 4 months ago

Intermittent devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js | single tracking bug

Categories

(DevTools :: Inspector: Rules, defect, P5)

defect

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jdescottes)

References

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [stockwell disable-recommended])

Attachments

(2 files)

Filed by: ncsoregi [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=459944061&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/LZnGvEq_TOepE568c6xoTQ/runs/0/artifacts/public/logs/live_backing.log


[task 2024-05-28T13:36:33.716Z] 13:36:33     INFO - TEST-PASS | devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js | Rule with span selector exists. - 
[task 2024-05-28T13:36:33.717Z] 13:36:33     INFO - Buffered messages finished
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - TEST-UNEXPECTED-FAIL | devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js | Last rule name is font-weight - Got "nullfont-weight", expected "font-weight"
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - Stack trace:
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - chrome://mochikit/content/browser-test.js:test_is:1620
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js:checkModifiedElement:80
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - chrome://mochitests/content/browser/devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js:null:36
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - chrome://mochikit/content/browser-test.js:handleTask:1139
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1211
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1353
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1128
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2024-05-28T13:36:33.718Z] 13:36:33     INFO - TEST-PASS | devtools/client/inspector/rules/test/browser_rules_add-rule-then-property-edit-selector.js | Last rule value is bold -
Duplicate of this bug: 1899343

The issue here is that we are trying to update a rule for a stylesheet, but we didn't receive the stylesheet yet due to resource throttling.
We have the following sync getter on stylerule front: https://searchfox.org/mozilla-central/rev/f3e4b33a6122ce63bf81ae8c30cc5ac37458864b/devtools/client/fronts/style-rule.js#129-135

But nothing in our implementation waits for the stylesheet resource to be received.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d6d9f4be2fe3 [devtools] Fix browser_rules_add-rule-then-property-edit-selector.js intermittent r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/8e356799bea3 [devtools] Avoid null indentation from getDefaultIndentation when parentStyleSheet is missing r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: