Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html |
index 5e73f0f7ae5f16531fc3c1d7c0dfe1535b1d1592..a4ed4a8aadab656fde05897820aed9af8b3f1932 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/scripts-panel.html |
@@ -23,10 +23,10 @@ function test() |
function createContentProvider(url) |
{ |
var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, ""); |
- contentProvider.requestContent = function(callback) |
+ contentProvider.requestContent = function() |
{ |
InspectorTest.addResult("Source requested for " + url); |
- callback(""); |
+ return Promise.resolve(""); |
}; |
return contentProvider; |
} |