Chromium Code Reviews| Index: tools/dom/src/native_DOMImplementation.dart |
| diff --git a/tools/dom/src/native_DOMImplementation.dart b/tools/dom/src/native_DOMImplementation.dart |
| index 51e9ced95c1ea0a38a48bd490bae294c42ca8520..46b4e713cb24a87e3d976f32d9f332d1fb5d6573 100644 |
| --- a/tools/dom/src/native_DOMImplementation.dart |
| +++ b/tools/dom/src/native_DOMImplementation.dart |
| @@ -535,6 +535,13 @@ final _pureIsolatePrintClosure = (s) { |
| final _forwardingPrintClosure = _Utils.forwardingPrint; |
| +final _uriBaseClosure = () => Uri.parse(window.location.href); |
| + |
| +final _pureIsolateUriBaseClosure = () { |
| + throw new UnimplementedError("Uri.base on a background isolate " |
| + "is not supported in the browser"); |
|
siva
2013/10/28 18:44:51
Shouldn't we have some kind of base for this too m
vsm
2013/10/29 14:10:53
Any idea how I can get this base for a background
floitsch
2013/10/29 18:05:21
The spawnUri already comes with an initial message
|
| +}; |
| + |
| class _Timer implements Timer { |
| var _canceler; |