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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-expressions-origin.js

Issue 1770263002: Devtools: resolve expressions in minified scripts with sourcemaps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 9 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/inspector/sources/debugger/resources/resolve-expressions-origin.js
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-expressions-origin.js b/third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-expressions-origin.js
new file mode 100644
index 0000000000000000000000000000000000000000..1a70a743cad45b127779bcad409b1ee023190544
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-expressions-origin.js
@@ -0,0 +1,18 @@
+function foo(parameter1, parameter2)
+{
+ var object = new ClassA();
+ object.prop1 = parameter1;
+ this.prop2 = parameter2;
+ object["prop3"] = "property";
+ debugger;
+ return object.prop1 + this.prop2;
+}
+
+function testFunction()
+{
+ foo.call({}, "param1", "param2");
+}
+
+function ClassA()
+{
+}

Powered by Google App Engine
This is Rietveld 408576698