Closed Bug 1183581 Opened 9 years ago Closed 6 years ago

browser_storage_dynamic_windows.js IsSafeToRunScript errors when testing reload in E10S mode

Categories

(DevTools :: Storage Inspector, defect, P2)

defect

Tracking

(e10s+, firefox42 affected)

RESOLVED WONTFIX
Tracking Status
e10s + ---
firefox42 --- affected

People

(Reporter: miker, Assigned: miker)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This test has a testReload() method that fails on E10S builds.

Search for this bug number inside browser_storage_dynamic_windows.js to re-enable this section of the test and investigate.

I suspect that we are best to move the scripts from storage-dynamic-windows.html to fix this.
Summary: browser_storage_dynamic_windows.js IsSafeToRunScript errors when testing reload → browser_storage_dynamic_windows.js IsSafeToRunScript errors when testing reload in E10S mode
Priority: -- → P2
This has been quite a pain as fixing it with the way it currently runs results in intermittent oranges. The current test is very hard to follow and badly needs a rewrite... there is no need for it to be as complex as it currently is.
Assignee: nobody → mratcliffe
It turns out that the test is complicated for a reason. When the storage actor has changes they are passed as batched of added and deleted items. Because we use batches we need to catch all changes and build a picture of what the current state actually looks like.

The simple fact is that it is much simpler to test reloads in the client as the tablewidget takes care of this side so the tests are much simpler.

I will check if we test reloads in the frontend.
No, we don't test for reloads on the frontend either.

I am dropping this as other tasks have a higher priority.
Assignee: mratcliffe → nobody
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Has Regression Range: --- → no
OS: Unspecified → All
Hardware: Unspecified → All
When we reload the storage inspector is completely reinitialized so there is no need for this test. We could create a complex test specifically to test reloads but we can make much better use of man hours than that.
Status: ASSIGNED → RESOLVED
Has Regression Range: no → irrelevant
Has STR: --- → irrelevant
Closed: 6 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: