Right now browser_bug666317.js expects an image discard notification to be sent within one event loop turn after sending a memory pressure event. Empirically, it sometimes takes a little longer, which causes intermittent failures in this test, especially after bug 1117607. We can make this test more reliable by just waiting for the discard event, instead of spinning the event loop once and then checking synchronously. This change may allow this test to finally be turned on for e10s, but I have not checked that yet. We can try it in a followup.
Created attachment 8632183 [details] [diff] [review] Make browser_bug666317.js wait for the discard event instead of expecting it at a precise time Here's the patch. Hopefully this will finally make this test reliable.
Attachment #8632183 - Flags: review?(tnikkel)
Attachment #8632183 - Flags: review?(tnikkel) → review+
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox42: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in before you can comment on or make changes to this bug.