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

Issue 10985089: Fix the type on a wrapped window (Closed)

Created:
8 years, 2 months ago by vsm
Modified:
8 years, 2 months ago
Reviewers:
sra, sra1
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix the type on a wrapped window Committed: https://code.google.com/p/dart/source/detail?r=13141

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add comment #

Patch Set 3 : Regen dart:html #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M lib/html/dart2js/html_dart2js.dart View 2 chunks +5 lines, -4 lines 0 comments Download
M lib/html/dartium/html_dartium.dart View 1 chunk +1 line, -2 lines 0 comments Download
M lib/html/src/dart2js_DOMImplementation.dart View 1 1 chunk +4 lines, -2 lines 0 comments Download
M tests/html/html.status View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
vsm
https://codereview.chromium.org/10985089/diff/1/lib/html/src/dart2js_DOMImplementation.dart File lib/html/src/dart2js_DOMImplementation.dart (right): https://codereview.chromium.org/10985089/diff/1/lib/html/src/dart2js_DOMImplementation.dart#newcode8 lib/html/src/dart2js_DOMImplementation.dart:8: var _window; This is a window to another frame. ...
8 years, 2 months ago (2012-09-28 21:02:42 UTC) #1
sra1
8 years, 2 months ago (2012-10-02 21:14:47 UTC) #2
lgtm

LGTM with comments

https://chromiumcodereview.appspot.com/10985089/diff/1/lib/html/src/dart2js_D...
File lib/html/src/dart2js_DOMImplementation.dart (right):

https://chromiumcodereview.appspot.com/10985089/diff/1/lib/html/src/dart2js_D...
lib/html/src/dart2js_DOMImplementation.dart:8: var _window;
On 2012/09/28 21:02:42, vsm wrote:
> This is a window to another frame.  It's proto is not patched accordingly, so
> dart2js doesn't recognize this as a _WindowImpl.  It was previously causing
> checked mode failures.

Say this in a comment.
"Declared var since Window from another frame has no Dart type."

Powered by Google App Engine
This is Rietveld 408576698