Closed
Bug 1257488
Opened 9 years ago
Closed 9 years ago
Fix test_offline_gzip.html to work on e10s
Categories
(Core :: Networking: Cache, defect)
Core
Networking: Cache
Tracking
()
RESOLVED
FIXED
mozilla48
People
(Reporter: gsvelto, Assigned: gsvelto)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-active])
Attachments
(1 file)
10.36 KB,
patch
|
mayhemer
:
review+
|
Details | Diff | Splinter Review |
As per title.
Assignee | ||
Comment 1•9 years ago
|
||
This is my first attempt at fixing/rewriting a mochitest so I might have gotten some things wrong. It seems to work fine on both regular and e10s modes though so hopefully it's not too bad :)
Attachment #8731672 -
Flags: review?(honzab.moz)
Updated•9 years ago
|
Blocks: e10s-tests
Comment 2•9 years ago
|
||
Can you please describe more in detail what the patch exactly does and change? Will help with review.
Flags: needinfo?(gsvelto)
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Honza Bambas (:mayhemer) from comment #2)
> Can you please describe more in detail what the patch exactly does and
> change? Will help with review.
Right, sorry about that. So the original test used the SpecialPowers API to grab hold of the browser window and allow the test to store local data by clicking on the appropriate button and by setting the offline-apps.allow_by_default preference. None of this action are allowed in e10s mode (IIRC they would happen in the content process while they need to happen in the parent one) and neither is the permission management done in the cleanup procedure. So I've modified the test to be a mochitest-browser test and split the operations appropriately between the parent and the content processes. Note that I've removed the part where we click the "Allow" dialog button because setting the offline-apps.allow_by_default pref makes it redundant.
Flags: needinfo?(gsvelto)
Comment 4•9 years ago
|
||
Comment on attachment 8731672 [details] [diff] [review]
[PATCH] Fix test_gzip_offline.html to work with e10s enabled
Review of attachment 8731672 [details] [diff] [review]:
-----------------------------------------------------------------
My r+ depends on a green try run (I don't see any in the bug..)
Attachment #8731672 -
Flags: review?(honzab.moz) → review+
Comment 5•9 years ago
|
||
I just backed out my patch for bug 621158 because of this test, so if they land together they will likely work. I can do a trypush tomorrow if nobody has beaten me to it. :-)
Blocks: 621158
Assignee | ||
Comment 6•9 years ago
|
||
Thanks Honza, the try run is here: https://treeherder.mozilla.org/#/jobs?repo=try&revision=76890c0b8394
I'll land as soon as it turns green.
Comment 8•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox48:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
You need to log in
before you can comment on or make changes to this bug.
Description
•