Check remaining occurrences of window.top that might fail with content frame
Categories
(DevTools :: General, task, P1)
Tracking
(firefox71 fixed)
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
(Whiteboard: dt-fission-m1)
Attachments
(4 files)
After Bug 1539979, the DevTools toolbox runs in a content frame.
One of the consequences is that we can no longer reach the topmost chrome frame using window.top.
We fixed all the spots that were detected by test failures, but there are probably other areas that are not tested but rely on window.top as well.
We recently had the following regression in the performance panel: https://bugzilla.mozilla.org/show_bug.cgi?id=1578373
The goal of this bug is to be more proactive and try to identify other potential regressions and fix them as soon as possible.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
Depends on D46957
| Assignee | ||
Comment 3•6 years ago
|
||
Depends on D46958
| Assignee | ||
Comment 4•6 years ago
|
||
Depends on D46959
For those tests, using win.top was the same as using win, and did not have any impact on the asserts performed in the test.
We could have left them around, but for completeness I prefer to remove them as well.
Comment 6•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/b4dca3917f04
https://hg.mozilla.org/mozilla-central/rev/6f09a19d3fa4
https://hg.mozilla.org/mozilla-central/rev/a7bbb75ce721
https://hg.mozilla.org/mozilla-central/rev/c62a28520dd6
Updated•5 years ago
|
Updated•4 years ago
|
Description
•