| Index: sdk/lib/html/dartium/html_dartium.dart
|
| diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
|
| index 7d5d233479d2842d0b99f5a4f6a3d0fb36d87fab..34d5da9a34fa3b208ff827a02edce207f7c57921 100644
|
| --- a/sdk/lib/html/dartium/html_dartium.dart
|
| +++ b/sdk/lib/html/dartium/html_dartium.dart
|
| @@ -10962,13 +10962,11 @@ class Event extends NativeFieldWrapperClass2 {
|
| var currentTarget = this.currentTarget;
|
| var target = this.target;
|
| var matchedTarget;
|
| - while (matchedTarget == null && target != currentTarget && target != null) {
|
| - if (target.matches(_selector)) {
|
| - matchedTarget = target;
|
| - }
|
| + do {
|
| + if (target.matches(_selector)) return target;
|
| target = target.parent;
|
| - }
|
| - return matchedTarget;
|
| + } while (target != null && target != currentTarget.parent);
|
| + throw new StateError('No selector matched for populating matchedTarget.');
|
| }
|
| // To suppress missing implicit constructor warnings.
|
| factory Event._() { throw new UnsupportedError("Not supported"); }
|
| @@ -34378,6 +34376,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");
|
| +};
|
| +
|
| class _Timer implements Timer {
|
| var _canceler;
|
|
|
|
|