| Index: third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html
|
| index 315739195b43f38eaa093439193d4e9c6bd9c5c6..b45d79837829afe3061913faea0d978ed4a053b4 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/extensions/extensions-resources.html
|
| @@ -5,12 +5,15 @@
|
| <script src="../../http/tests/inspector/extensions-test.js"></script>
|
| <script src="../../http/tests/inspector/debugger-test.js"></script>
|
| <script type="text/javascript">
|
| -function loadFrame(callback)
|
| +function loadFrame()
|
| {
|
| + var callback;
|
| + var promise = new Promise((fulfill) => callback = fulfill);
|
| var iframe = document.createElement("iframe");
|
| iframe.src = "resources/subframe.html";
|
| iframe.addEventListener("load", callback);
|
| document.body.appendChild(iframe);
|
| + return promise;
|
| }
|
|
|
| function logMessage()
|
|
|