Bug 1127013 - Use unix file endings in mochitest-e10s-utils. r=jmaher

This commit is contained in:
Andrew McCreight 2015-01-30 10:59:02 -08:00
parent c7cd823e25
commit 2c8f67882a

View File

@ -1,11 +1,11 @@
// Utilities for running tests in an e10s environment.
function e10s_init() {
// Listen for an 'oop-browser-crashed' event and log it so people analysing
// test logs have a clue about what is going on.
window.addEventListener("oop-browser-crashed", (event) => {
let uri = event.target.currentURI;
Cu.reportError("remote browser crashed while on " +
(uri ? uri.spec : "<unknown>") + "\n");
}, true);
}
// Utilities for running tests in an e10s environment.
function e10s_init() {
// Listen for an 'oop-browser-crashed' event and log it so people analysing
// test logs have a clue about what is going on.
window.addEventListener("oop-browser-crashed", (event) => {
let uri = event.target.currentURI;
Cu.reportError("remote browser crashed while on " +
(uri ? uri.spec : "<unknown>") + "\n");
}, true);
}