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

Issue 10534130: Wrap Location object on Firefox. (Closed)

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

Description

Wrap Location object on Firefox. This is a fix for Issue 3152. https://code.google.com/p/dart/issues/detail?id=3152 Committed: https://code.google.com/p/dart/source/detail?r=8635

Patch Set 1 : #

Total comments: 3

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+273 lines, -2 lines) Patch
M lib/dom/scripts/systemhtml.py View 1 chunk +2 lines, -0 lines 0 comments Download
M lib/dom/templates/html/frog/html_frog.darttemplate View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M lib/dom/templates/html/frog/impl_Window.darttemplate View 1 1 chunk +53 lines, -0 lines 0 comments Download
M lib/html/frog/html_frog.dart View 3 chunks +126 lines, -2 lines 0 comments Download
A lib/html/src/frog_LocationWrapper.dart View 1 1 chunk +73 lines, -0 lines 0 comments Download
A tests/html/location_test.dart View 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
sra1
8 years, 6 months ago (2012-06-13 04:15:28 UTC) #1
vsm
8 years, 6 months ago (2012-06-13 04:34:02 UTC) #2
lgtm

https://chromiumcodereview.appspot.com/10534130/diff/6007/lib/dom/templates/h...
File lib/dom/templates/html/frog/impl_Window.darttemplate (right):

https://chromiumcodereview.appspot.com/10534130/diff/6007/lib/dom/templates/h...
lib/dom/templates/html/frog/impl_Window.darttemplate:19: void set
location(Location value) => _set_location(value);
This was probably broken before, but the setter should allow a string here and
below.

https://chromiumcodereview.appspot.com/10534130/diff/6007/lib/dom/templates/h...
lib/dom/templates/html/frog/impl_Window.darttemplate:48: _protect_location()
native 'location';
Is this used?

https://chromiumcodereview.appspot.com/10534130/diff/6007/lib/html/src/frog_L...
File lib/html/src/frog_LocationWrapper.dart (right):

https://chromiumcodereview.appspot.com/10534130/diff/6007/lib/html/src/frog_L...
lib/html/src/frog_LocationWrapper.dart:16: // TODO(sra): Replace all the _set
and _get calls 'JS' forms.
calls *with* 'JS'

Powered by Google App Engine
This is Rietveld 408576698