Index: third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-this.js |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-this.js b/third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-this.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..73fdadafb2b31a7257618885f4300f2fca5cc9ab |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-this.js |
@@ -0,0 +1,17 @@ |
+var Foo = (function () { |
+ function Foo() { |
+ } |
+ Foo.prototype.bar = function () { |
+ var _this = this; |
+ var test = function () { |
+ console.log(_this); |
+ debugger; |
+ }; |
+ test(); |
+ }; |
+ return Foo; |
+}()); |
+function testFunction() { |
+ new Foo().bar(); |
+} |
+//# sourceMappingURL=resolve-this.js.map |