mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 12:25:53 +00:00
Bug 1322746 - Add common func addLoadEvent to mochi-to-testcase.py.
MozReview-Commit-ID: 2I7qdlZ6Po6
This commit is contained in:
parent
532ff52f0b
commit
084999fc2a
@ -50,6 +50,10 @@ function todo(val, text) {
|
||||
debug(status + text);
|
||||
}
|
||||
|
||||
function addLoadEvent(func) {
|
||||
window.addEventListener('load', func, false);
|
||||
}
|
||||
|
||||
SimpleTest = {
|
||||
waitForExplicitFinish: function() {},
|
||||
finish: function() {},
|
||||
|
Loading…
Reference in New Issue
Block a user