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

Unified Diff: sdk/lib/html/src/dart2js_LocationWrapper.dart

Issue 11363199: Fixing location APIs in checked mode. On Firefox, these setters are returning the String value whic… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/src/dart2js_LocationWrapper.dart
diff --git a/sdk/lib/html/src/dart2js_LocationWrapper.dart b/sdk/lib/html/src/dart2js_LocationWrapper.dart
index 6401a6da9f9dfb948516edb96e97439aaf8562d2..8c7e9441ebf5022052fad109f9b94fe154e6b649 100644
--- a/sdk/lib/html/src/dart2js_LocationWrapper.dart
+++ b/sdk/lib/html/src/dart2js_LocationWrapper.dart
@@ -20,39 +20,54 @@ class _LocationWrapper implements LocalLocation {
// String hash;
String get hash => _get(_ptr, 'hash');
- void set hash(String value) => _set(_ptr, 'hash', value);
+ void set hash(String value) {
+ _set(_ptr, 'hash', value);
+ }
// String host;
String get host => _get(_ptr, 'host');
- void set host(String value) => _set(_ptr, 'host', value);
+ void set host(String value) {
+ _set(_ptr, 'host', value);
+ }
// String hostname;
String get hostname => _get(_ptr, 'hostname');
- void set hostname(String value) => _set(_ptr, 'hostname', value);
+ void set hostname(String value) {
+ _set(_ptr, 'hostname', value);
+ }
// String href;
String get href => _get(_ptr, 'href');
- void set href(String value) => _set(_ptr, 'href', value);
+ void set href(String value) {
+ _set(_ptr, 'href', value);
+ }
// final String origin;
String get origin => _get(_ptr, 'origin');
// String pathname;
String get pathname => _get(_ptr, 'pathname');
- void set pathname(String value) => _set(_ptr, 'pathname', value);
+ void set pathname(String value) {
+ _set(_ptr, 'pathname', value);
+ }
// String port;
String get port => _get(_ptr, 'port');
- void set port(String value) => _set(_ptr, 'port', value);
+ void set port(String value) {
+ _set(_ptr, 'port', value);
+ }
// String protocol;
String get protocol => _get(_ptr, 'protocol');
- void set protocol(String value) => _set(_ptr, 'protocol', value);
+ void set protocol(String value) {
+ _set(_ptr, 'protocol', value);
+ }
// String search;
String get search => _get(_ptr, 'search');
- void set search(String value) => _set(_ptr, 'search', value);
-
+ void set search(String value) {
+ _set(_ptr, 'search', value);
+ }
void assign(String url) => JS('void', '#.assign(#)', _ptr, url);
« no previous file with comments | « sdk/lib/html/dart2js/html_dart2js.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698