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

Issue 54913005: Fixing the BeforeUnloadEvent (Closed)

Created:
7 years, 1 month ago by blois
Modified:
7 years, 1 month ago
Reviewers:
vsm, Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fixing the BeforeUnloadEvent Basically the last Blink upgrade introduced the BeforeUnloadEvent which conflicted with our previous polyfill. Our definition was removed, but the suppression remained for Event.returnValue. The suppression is still needed since that's the incorrect type and on the wrong class, so I modified our metadata lookup to allow it to only target exact class matches (and not super classes). BUG= R=efortuna@google.com, vsm@google.com Committed: https://code.google.com/p/dart/source/detail?r=29752

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -35 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 2 chunks +9 lines, -2 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 4 chunks +12 lines, -23 lines 0 comments Download
M tools/dom/dom.json View 1 chunk +5 lines, -2 lines 0 comments Download
M tools/dom/scripts/htmlrenamer.py View 1 3 chunks +17 lines, -5 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Window.darttemplate View 4 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
blois
7 years, 1 month ago (2013-10-31 21:15:27 UTC) #1
blois
7 years, 1 month ago (2013-10-31 21:15:38 UTC) #2
Emily Fortuna
https://codereview.chromium.org/54913005/diff/30001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/54913005/diff/30001/sdk/lib/html/dart2js/html_dart2js.dart#newcode634 sdk/lib/html/dart2js/html_dart2js.dart:634: + String get returnValue => JS("String", "#.returnValue", this); can't ...
7 years, 1 month ago (2013-10-31 22:03:41 UTC) #3
blois
https://codereview.chromium.org/54913005/diff/30001/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/54913005/diff/30001/sdk/lib/html/dart2js/html_dart2js.dart#newcode634 sdk/lib/html/dart2js/html_dart2js.dart:634: + String get returnValue => JS("String", "#.returnValue", this); On ...
7 years, 1 month ago (2013-10-31 22:09:20 UTC) #4
vsm
lgtm https://codereview.chromium.org/54913005/diff/30001/tools/dom/scripts/htmlrenamer.py File tools/dom/scripts/htmlrenamer.py (right): https://codereview.chromium.org/54913005/diff/30001/tools/dom/scripts/htmlrenamer.py#newcode597 tools/dom/scripts/htmlrenamer.py:597: '!Event.returnValue', On 2013/10/31 22:09:21, blois wrote: > On ...
7 years, 1 month ago (2013-10-31 22:15:41 UTC) #5
blois
https://codereview.chromium.org/54913005/diff/30001/tools/dom/scripts/htmlrenamer.py File tools/dom/scripts/htmlrenamer.py (right): https://codereview.chromium.org/54913005/diff/30001/tools/dom/scripts/htmlrenamer.py#newcode597 tools/dom/scripts/htmlrenamer.py:597: '!Event.returnValue', On 2013/10/31 22:15:41, vsm wrote: > On 2013/10/31 ...
7 years, 1 month ago (2013-10-31 22:36:08 UTC) #6
Emily Fortuna
lgtm
7 years, 1 month ago (2013-10-31 22:36:42 UTC) #7
blois
7 years, 1 month ago (2013-11-01 16:17:50 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 manually as r29752 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698