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

Issue 12184013: Update status file, and file bug for FF that returns JS functions when calling document.createEleme… (Closed)

Created:
7 years, 10 months ago by ngeoffray
Modified:
7 years, 10 months ago
Reviewers:
kasperl, blois
CC:
reviews_dartlang.org, sra1, blois
Visibility:
Public.

Description

Update status file, and file bug for FF that returns JS functions when calling document.createElement. Committed: https://code.google.com/p/dart/source/detail?r=18049

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M tests/html/html.status View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 4 (0 generated)
ngeoffray
7 years, 10 months ago (2013-02-04 14:14:33 UTC) #1
kasperl
LGTM.
7 years, 10 months ago (2013-02-04 14:16:31 UTC) #2
blois
https://codereview.chromium.org/12184013/diff/1/tests/html/html.status File tests/html/html.status (right): https://codereview.chromium.org/12184013/diff/1/tests/html/html.status#newcode279 tests/html/html.status:279: element_types_test/constructors: Fail # Issue 8293 These changes are because ...
7 years, 10 months ago (2013-02-04 19:03:22 UTC) #3
ngeoffray
7 years, 10 months ago (2013-02-04 20:04:22 UTC) #4
Message was sent while issue was closed.
https://codereview.chromium.org/12184013/diff/1/tests/html/html.status
File tests/html/html.status (right):

https://codereview.chromium.org/12184013/diff/1/tests/html/html.status#newcod...
tests/html/html.status:279: element_types_test/constructors: Fail # Issue 8293
On 2013/02/04 19:03:22, blois wrote:
> These changes are because in dart2js Element.isTagSupported is now dropping an
> 'is' check and returning true when it should not. I'd prefer to fix that
> instead.

So the problem lies in the type annotation of the JS call in
_ElementFactoryProvider::createElementTag. Since it says that it returns an
Element, if you do an 'is' check on it with Element, dart2js compiles that to
true.

Powered by Google App Engine
This is Rietveld 408576698