Files
firefox/devtools/client/webconsole/test
Sami Jaktholm 2c2157482a Bug 1270234 - Fix intermittent browser_bug664688_sandbox_update_after_navigation.js. r=bgrins
Page navigation triggers a chain of events that lead to the
console being cleared. If the stars are perfectly aligned,
the clear is triggered after |window.location.href| is executed
but before waitForMessages() looks at the existing messages
in the console. This causes the input line to be lost and
the test times out waiting for it.

These changes make the test to wait for the first clear to happen
before continuing the test.

MozReview-Commit-ID: LWuR8wxc5Lh
2016-07-30 13:35:36 +03:00
..
…