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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-this.js

Issue 1884213003: DevTools: teach SourceMapNamesResolver to resolve "this" object (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ids
Patch Set: fix tesst Created 4 years, 8 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 unified diff | Download patch
OLDNEW
(Empty)
1 var Foo = (function () {
2 function Foo() {
3 }
4 Foo.prototype.bar = function () {
5 var _this = this;
6 var test = function () {
7 console.log(_this);
8 debugger;
9 };
10 test();
11 };
12 return Foo;
13 }());
14 function testFunction() {
15 new Foo().bar();
16 }
17 //# sourceMappingURL=resolve-this.js.map
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698