Index: test/inspector/debugger/framework-break.js |
diff --git a/test/inspector/debugger/framework-break.js b/test/inspector/debugger/framework-break.js |
index 44ae680a68d5c73a4feda52a75c788d56b56a48b..e6526c3efd6b3afaa205994c122a20f20e6ed193 100644 |
--- a/test/inspector/debugger/framework-break.js |
+++ b/test/inspector/debugger/framework-break.js |
@@ -98,11 +98,13 @@ InspectorTest.runTestSuite([ |
.then(() => InspectorTest.log('> all frames in framework:')) |
.then( |
() => Protocol.Runtime.evaluate( |
- {expression: 'throwUncaughtError()//# sourceURL=framework.js'})) |
+ {expression: 'setTimeout(\'throwUncaughtError()//# sourceURL=framework.js\', 0)//# sourceURL=framework.js'})) |
.then(() => InspectorTest.log('> mixed, top frame in framework:')) |
+ .then(() => Protocol.Runtime.evaluate({ expression: "new Promise(resolve => setTimeout(resolve, 0))", awaitPromise: true})) |
.then( |
() => Protocol.Runtime.evaluate( |
- {expression: 'throwUncaughtError()//# sourceURL=user.js'})) |
+ {expression: 'setTimeout(\'throwUncaughtError()//# sourceURL=user.js\', 0)'})) |
+ .then(() => Protocol.Runtime.evaluate({ expression: "new Promise(resolve => setTimeout(resolve, 0))", awaitPromise: true})) |
.then(() => Protocol.Debugger.setPauseOnExceptions({state: 'none'})) |
.then(next); |
}, |