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() |
+{ |
+} |