Load error handling doesn't depend on browser features, so test it everywher
[#24901981]
This commit is contained in:
@@ -2018,8 +2018,6 @@ describe("Env integration", function() {
|
|||||||
env.execute();
|
env.execute();
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("In a browser", function() {
|
|
||||||
if (typeof document !== 'undefined') {
|
|
||||||
it('reports errors that occur during loading', function(done) {
|
it('reports errors that occur during loading', function(done) {
|
||||||
var global = {
|
var global = {
|
||||||
setTimeout: function(fn, delay) { setTimeout(fn, delay) },
|
setTimeout: function(fn, delay) { setTimeout(fn, delay) },
|
||||||
@@ -2053,7 +2051,6 @@ describe("Env integration", function() {
|
|||||||
|
|
||||||
env.execute();
|
env.execute();
|
||||||
});
|
});
|
||||||
}
|
|
||||||
|
|
||||||
describe('If suppressLoadErrors was called', function() {
|
describe('If suppressLoadErrors was called', function() {
|
||||||
it('does not report errors that occur during loading', function(done) {
|
it('does not report errors that occur during loading', function(done) {
|
||||||
@@ -2078,5 +2075,4 @@ describe("Env integration", function() {
|
|||||||
env.execute();
|
env.execute();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user