Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent failure in /_mozilla/mozilla/task_queue_throttling.any.html #22519

Open
jdm opened this issue Dec 21, 2018 · 1 comment
Open

Intermittent failure in /_mozilla/mozilla/task_queue_throttling.any.html #22519

jdm opened this issue Dec 21, 2018 · 1 comment
Labels
I-intermittent Problem reproduces intermittently.

Comments

@jdm
Copy link
Member

jdm commented Dec 21, 2018

{
    "status": "FAIL", 
    "group": "default", 
    "message": "assert_true: expected true got false", 
    "stack": "perf_observer@http://web-platform.test:8000/_mozilla/mozilla/task_queue_throttling.any.js:11:5\nTest.prototype.step@http://web-platform.test:8000/resources/testharness.js:1566:20\nTest.prototype.step_func_done/<@http://web-platform.test:8000/resources/testharness.js:1606:17\n", 
    "subtest": "Throttling the performance timeline task queue.", 
    "test": "/_mozilla/mozilla/task_queue_throttling.any.html", 
    "line": 173699, 
    "action": "test_result", 
    "expected": "PASS"
}

@jdm jdm added the I-intermittent Problem reproduces intermittently. label Dec 21, 2018
@gterzian
Copy link
Member

gterzian commented Dec 21, 2018

This looks like the same as #21552

Problem I think is that when the results of the file reading in parallel are "slow" to be enqueued as tasks, we don't get the throttling since the tasks haven't been enqueued yet, and the performance timeline task ends-up being run first...

The solution would be somehow ensure, perhaps by using something else than a file reader, that tasks meant to 'fill-up' the queue are indeed enqueued by the next iteration of the event-loop(and not later).

The solution should preferably work both in workers and browsing-contexts event-loops...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-intermittent Problem reproduces intermittently.
Projects
None yet
Development

No branches or pull requests

2 participants