Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/sourcemap-script.js

Issue 2832943002: DevTools: properly handle target suspension/resuming in NetworkProject (Closed)
Patch Set: add tests Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/sourcemap-script.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/sourcemap-script.js b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/sourcemap-script.js
index a3ea573f90fe8ee46cf2aa62c93932527893ee6a..95ec2eeb7ca152d017eabcea4669bfbb94f5e9e9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/sourcemap-script.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/bindings/resources/sourcemap-script.js
@@ -1,2 +1,7 @@
+window.foo = doFoo;
+
+function doFoo() {
+ console.log('foo');
+}
window.foo = console.log.bind(console, 'foo');
//# sourceMappingURL=sourcemap-script.js.map
dgozman 2017/05/05 06:10:54 Don't you have to change the map as well?
lushnikov 2017/05/05 20:58:26 The sourcemap has a single entry which maps the be

Powered by Google App Engine
This is Rietveld 408576698