Intermittent script_scheduling/106.html | scheduler: stylesheets blocking scripts - assert_true: Delayed by 893ms expected > 1000ms expected true got false

NEW
Unassigned

Status

()

Core
DOM
P5
normal
3 years ago
11 months ago

People

(Reporter: RyanVM, Unassigned)

Tracking

({intermittent-failure})

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
I have no idea what component this should go in. Please move it wherever seems best.
Flags: needinfo?(james)
(Reporter)

Updated

3 years ago
Component: Marionette → web-platform-tests
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Component: web-platform-tests → DOM
Flags: needinfo?(james)
Product: Testing → Core
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
This test is fundamentally racy as far as I can tell: it's assuming that whatever clock is used by Date.now() and whatever clock is used by the server (which presumably implements the "pipe=trickle" bits) are the same clock.  There's nothing that requires them to be the same clock, so they can run at different speeds, as far as I can tell...
Flags: needinfo?(james)
Yes, I guess the assumption is that they will run at close enough to the same speed that the test works. Evidently that's not always the case. Do you have a suggested alternate approach to test the same thing?
Flags: needinfo?(james)
Have the server send the stylesheet slowly and check that when the script runs the last rule in the sheet has been received (e.g. via getComputedStyle)?
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)

Comment 47

2 years ago
Bulk assigning P3 to all open intermittent bugs without a priority set in Firefox components per bug 1298978.
Priority: -- → P3
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.