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

Issue 138723006: Ensure that dart:js does not attempt to load cached proxies from prototypes. (Closed)

Created:
6 years, 10 months ago by Vyacheslav Egorov (Chromium)
Modified:
6 years, 10 months ago
Reviewers:
justinfagnani
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Ensure that dart:js does not attempt to load cached proxies from prototypes. dart:js caches proxies on the object itself thus it must guard loading cached proxy from the object with a hasOwnProperty check. R=justinfagnani@google.com BUG=dart:16199 Committed: https://code.google.com/p/dart/source/detail?r=32244

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -2 lines) Patch
M sdk/lib/js/dart2js/js_dart2js.dart View 3 chunks +9 lines, -2 lines 0 comments Download
M tests/html/js_test.dart View 1 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Vyacheslav Egorov (Chromium)
6 years, 10 months ago (2014-01-31 20:11:39 UTC) #1
justinfagnani
On 2014/01/31 20:11:39, Vyacheslav Egorov wrote: LGTM Thanks for this fix! Can you either add ...
6 years, 10 months ago (2014-01-31 20:27:36 UTC) #2
Vyacheslav Egorov (Chromium)
Thanks for the review. Test added for JS->Dart case, I don't think Dart->JS can occur ...
6 years, 10 months ago (2014-02-03 12:58:13 UTC) #3
Vyacheslav Egorov (Chromium)
6 years, 10 months ago (2014-02-03 13:01:33 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r32244 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698