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

Issue 938413002: Work around Safari for-in bug. (Closed)

Created:
5 years, 10 months ago by ahe
Modified:
5 years, 10 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org, sra1, zarah
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 27

Patch Set 2 : Address Florian's comments. #

Total comments: 3

Patch Set 3 : Object.keys throws if given undefined :-( #

Patch Set 4 : JS foreign function doesn't support named arguments. #

Patch Set 5 : More issues discovered during testing. #

Total comments: 2

Patch Set 6 : Merged with r43958. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -33 lines) Patch
M dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart View 1 2 7 chunks +22 lines, -18 lines 0 comments Download
M dart/pkg/compiler/lib/src/js_emitter/old_emitter/reflection_data_parser.dart View 1 3 chunks +9 lines, -6 lines 0 comments Download
M dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M dart/sdk/lib/_internal/compiler/js_lib/js_names.dart View 1 2 3 4 5 1 chunk +1 line, -8 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
ahe
5 years, 10 months ago (2015-02-20 13:20:39 UTC) #2
ahe
I could reproduce the issue easily with tests/html/element_test.dart, with these changes I cannot. Diff of ...
5 years, 10 months ago (2015-02-20 13:23:44 UTC) #3
floitsch
LGTM. just nits. https://codereview.chromium.org/938413002/diff/1/dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://codereview.chromium.org/938413002/diff/1/dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode438 dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart:438: var members_length = members.length; No need ...
5 years, 10 months ago (2015-02-20 14:03:39 UTC) #4
floitsch
Still LGTM. thanks.
5 years, 10 months ago (2015-02-20 14:26:16 UTC) #7
floitsch
Still LGTM.
5 years, 10 months ago (2015-02-20 14:28:23 UTC) #10
ahe
Not sure if you actually reviewed the changes to js_mirrors.dart? https://codereview.chromium.org/938413002/diff/1/dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart File dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart (right): https://codereview.chromium.org/938413002/diff/1/dart/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart#newcode438 ...
5 years, 10 months ago (2015-02-20 14:32:16 UTC) #11
floitsch
https://codereview.chromium.org/938413002/diff/60001/dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart File dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart (right): https://codereview.chromium.org/938413002/diff/60001/dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart#newcode2239 dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart:2239: var properties = Object.keys(reflectee); On 2015/02/20 14:32:16, ahe wrote: ...
5 years, 10 months ago (2015-02-20 16:08:03 UTC) #13
ahe
https://codereview.chromium.org/938413002/diff/60001/dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart File dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart (right): https://codereview.chromium.org/938413002/diff/60001/dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart#newcode2239 dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart:2239: var properties = Object.keys(reflectee); On 2015/02/20 16:08:03, floitsch wrote: ...
5 years, 10 months ago (2015-02-20 18:05:19 UTC) #15
floitsch
https://chromiumcodereview.appspot.com/938413002/diff/120001/dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart File dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart (right): https://chromiumcodereview.appspot.com/938413002/diff/120001/dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart#newcode2239 dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart:2239: var properties = Object.keys(reflectee.constructor.prototype); Are you sure this is ...
5 years, 10 months ago (2015-02-23 14:14:27 UTC) #16
ahe
https://chromiumcodereview.appspot.com/938413002/diff/120001/dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart File dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart (right): https://chromiumcodereview.appspot.com/938413002/diff/120001/dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart#newcode2239 dart/sdk/lib/_internal/compiler/js_lib/js_mirrors.dart:2239: var properties = Object.keys(reflectee.constructor.prototype); On 2015/02/23 14:14:26, floitsch wrote: ...
5 years, 10 months ago (2015-02-23 15:04:45 UTC) #17
ahe
5 years, 10 months ago (2015-02-23 15:39:53 UTC) #18
Message was sent while issue was closed.
Committed patchset #6 (id:140001) manually as 43959 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698