Open Bug 1428240 Opened 2 years ago Updated 2 years ago

test_parseStyleSheetObservers.html fails when run by itself (such as in the Test Verify treeherder job)

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

People

(Reporter: heycam, Unassigned)

Details

TEST-UNEXPECTED-FAIL | layout/inspector/tests/chrome/test_parseStyleSheetObservers.html | Test 2: Got the style rule. - got false, expected true

I wonder if the test is accidentally getting StyleRuleAdded/Removed events for the SimpleTest/test.css style sheet (which, if this test was run later in a job, might load more quickly due to being cached).
> I wonder if the test is accidentally getting StyleRuleAdded/Removed events for the SimpleTest/test.css style

That should really be fully loaded before the script even runs...

Also, I'd think the "  await gotAllStyleRuleAddedEvents;" would not proceed until styleFirstAddProcessor returns true, so until foundImport gets set...
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.