diff --git a/test/html/load.html b/test/html/load.html index ab34f45..6842203 100644 --- a/test/html/load.html +++ b/test/html/load.html @@ -12,7 +12,13 @@ chai.assert.ok(s, 'load event target can be used to find element in import'); } } + + function importError(event) { + window.loadEvents++; + } + window.importLoaded = importLoaded; + window.importError = importError; })(); @@ -20,7 +26,11 @@ - + +
Test
@@ -28,9 +38,7 @@