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

Unified Diff: lib/src/runner/browser/static/host.dart.js

Issue 1080103002: Add support for running tests on Dartium. (Closed) Base URL: git@github.com:dart-lang/test@wip.dartium
Patch Set: . Created 5 years, 8 months 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
Index: lib/src/runner/browser/static/host.dart.js
diff --git a/lib/src/runner/browser/static/host.dart.js b/lib/src/runner/browser/static/host.dart.js
index 3a15fee6b3b285ec8c31d8cb9eb50189b811daee..6e95c638bc7db6d5f2f9b7dd14c28d22f73307cc 100644
--- a/lib/src/runner/browser/static/host.dart.js
+++ b/lib/src/runner/browser/static/host.dart.js
@@ -1,4 +1,4 @@
-// Generated by dart2js, the Dart to JavaScript compiler version: 1.10.0-edge.44826.
+// Generated by dart2js, the Dart to JavaScript compiler version: 1.10.0-edge.45075.
// The code supports the following hooks:
// dartPrint(message):
// if this function is defined it is called instead of the Dart [print]
@@ -61,7 +61,7 @@ $ = Isolate.$isolateProperties;
$.functionThatReturnsNull = function() {
};
;
-function setupProgram(programData) {
+function setupProgram(programData, typesOffset) {
"use strict";
function generateAccessor(fieldDescriptor, accessors, cls) {
var fieldInformation = fieldDescriptor.split("-");
@@ -223,7 +223,8 @@ function setupProgram(programData) {
var prototype = constructor.prototype;
prototype.constructor = constructor;
prototype.$isObject = constructor;
- prototype.$deferredAction = markerFun;
+ prototype.$deferredAction = function() {
+ };
return;
}
finishClass(superclass);
@@ -232,6 +233,8 @@ function setupProgram(programData) {
superConstructor = existingIsolateProperties[superclass];
var constructor = allClasses[cls];
var prototype = inheritFrom(constructor, superConstructor);
+ if (mixinPrototype)
+ prototype.$deferredAction = mixinDeferredActionHelper(mixinPrototype, prototype);
if (Object.prototype.hasOwnProperty.call(prototype, "%")) {
var nativeSpec = prototype["%"].split(";");
if (nativeSpec[0]) {
@@ -255,34 +258,49 @@ function setupProgram(programData) {
init.leafTags[tags[i]] = false;
}
}
- if (constructor.prototype.$deferredAction)
- finishAddStubsHelper(constructor.prototype);
+ prototype.$deferredAction();
}
- if (prototype.$isInterceptor && constructor.prototype.$deferredAction)
- finishAddStubsHelper(constructor.prototype);
+ if (prototype.$isInterceptor)
+ prototype.$deferredAction();
}
var properties = Object.keys(processedClasses.pending);
for (var i = 0; i < properties.length; i++)
finishClass(properties[i]);
}
- function finishAddStubsHelper(prototype) {
- var prototype = prototype || this;
- var object;
- while (prototype.$deferredAction != markerFun) {
- if (prototype.hasOwnProperty("$deferredAction")) {
+ function finishAddStubsHelper() {
+ var prototype = this;
+ while (!prototype.hasOwnProperty("$deferredAction"))
+ prototype = prototype.__proto__;
+ delete prototype.$deferredAction;
+ var properties = Object.keys(prototype);
+ for (var index = 0; index < properties.length; index++) {
+ var property = properties[index];
+ var firstChar = property.charCodeAt(0);
+ var elem;
+ if (property !== "^" && property !== "$reflectable" && firstChar !== 43 && firstChar !== 42 && (elem = prototype[property]) != null && elem.constructor === Array && property !== "<>")
+ addStubs(prototype, elem, property, false, []);
+ }
+ convertToFastObject(prototype);
+ prototype = prototype.__proto__;
+ prototype.$deferredAction();
+ }
+ function mixinDeferredActionHelper(mixinPrototype, targetPrototype) {
+ var chain;
+ if (targetPrototype.hasOwnProperty("$deferredAction"))
+ chain = targetPrototype.$deferredAction;
+ return function foo() {
+ var prototype = this;
+ while (!prototype.hasOwnProperty("$deferredAction"))
+ prototype = prototype.__proto__;
+ if (chain)
+ prototype.$deferredAction = chain;
+ else {
delete prototype.$deferredAction;
- var properties = Object.keys(prototype);
- for (var index = 0; index < properties.length; index++) {
- var property = properties[index];
- var firstChar = property.charCodeAt(0);
- var elem;
- if (property !== "^" && property !== "$reflectable" && firstChar !== 43 && firstChar !== 42 && (elem = prototype[property]) != null && elem.constructor === Array && property !== "<>")
- addStubs(prototype, elem, property, false, []);
- }
convertToFastObject(prototype);
}
- prototype = prototype.__proto__;
- }
+ mixinPrototype.$deferredAction();
+ prototype.$deferredAction();
+ };
}
function processClassData(cls, descriptor, processedClasses) {
descriptor = convertToSlowObject(descriptor);
@@ -413,6 +431,8 @@ function setupProgram(programData) {
var optionalParametersAreNamed = (optionalParameterInfo & 1) === 1;
var isIntercepted = requiredParameterCount + optionalParameterCount != funcs[0].length;
var functionTypeIndex = array[2];
+ if (typeof functionTypeIndex == "number")
+ array[2] = functionTypeIndex + typesOffset;
var unmangledNameIndex = 2 * optionalParameterCount + requiredParameterCount + 3;
if (getterStubName) {
f = tearOff(funcs, array, isStatic, name, isIntercepted);
@@ -730,17 +750,12 @@ var dart = [
return this.setRange$4($receiver, start, end, iterable, 0);
},
indexOf$2: function(receiver, element, start) {
- var i, t1;
+ var i;
if (start >= receiver.length)
return -1;
- if (start < 0)
- start = 0;
- for (i = start; t1 = receiver.length, i < t1; ++i) {
- if (i < 0)
- return H.ioore(receiver, i);
+ for (i = start; i < receiver.length; ++i)
if (J.$eq(receiver[i], element))
return i;
- }
return -1;
},
indexOf$1: function($receiver, element) {
@@ -765,12 +780,13 @@ var dart = [
toList$1$growable: function(receiver, growable) {
var t1;
if (growable)
- return H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(receiver, 0)]);
+ t1 = H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(receiver, 0)]);
else {
t1 = H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(receiver, 0)]);
t1.fixed$length = Array;
- return t1;
+ t1 = t1;
}
+ return t1;
},
toList$0: function($receiver) {
return this.toList$1$growable($receiver, true);
@@ -1119,6 +1135,8 @@ var dart = [
return new H.CodeUnits(receiver);
},
indexOf$2: function(receiver, pattern, start) {
+ if (typeof start !== "number" || Math.floor(start) !== start)
+ throw H.wrapException(P.ArgumentError$(start));
if (start < 0 || start > receiver.length)
throw H.wrapException(P.RangeError$range(start, 0, receiver.length, null, null));
return receiver.indexOf(pattern, start);
@@ -1522,7 +1540,7 @@ var dart = [
t1 = [];
this.doneHandlers = t1;
}
- if (J.contains$1$asx(t1, responsePort))
+ if ((t1 && C.JSArray_methods).contains$1(t1, responsePort))
return;
this.doneHandlers.push(responsePort);
},
@@ -1530,7 +1548,7 @@ var dart = [
var t1 = this.doneHandlers;
if (t1 == null)
return;
- J.remove$1$ax(t1, responsePort);
+ (t1 && C.JSArray_methods).remove$1(t1, responsePort);
},
setErrorsFatal$2: function(authentification, errorsAreFatal) {
if (!this.terminateCapability.$eq(0, authentification))
@@ -4047,7 +4065,7 @@ var dart = [
},
$isRegExp: 1,
static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitive, global) {
- var m, i, g, regexp, errorMessage;
+ var m, i, g, regexp;
H.checkString(source);
m = multiLine ? "m" : "";
i = caseSensitive ? "" : "i";
@@ -4061,8 +4079,7 @@ var dart = [
}();
if (regexp instanceof RegExp)
return regexp;
- errorMessage = String(regexp);
- throw H.wrapException(P.FormatException$("Illegal RegExp pattern: " + source + ", " + errorMessage, null, null));
+ throw H.wrapException(P.FormatException$("Illegal RegExp pattern (" + String(regexp) + ")", source, null));
}}
},
_MatchImplementation: {
@@ -5418,14 +5435,6 @@ var dart = [
this.listen$4$cancelOnError$onDone$onError(new P.Stream_toList_closure(this, result), true, new P.Stream_toList_closure0(result, future), future.get$_completeError());
return future;
},
- get$first: function(_) {
- var t1, future;
- t1 = {};
- future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [H.getRuntimeTypeArgument(this, "Stream", 0)]);
- t1._captured_subscription_0 = null;
- t1._captured_subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_first_closure(t1, this, future), true, new P.Stream_first_closure0(future), future.get$_completeError());
- return future;
- },
get$last: function(_) {
var t1, future;
t1 = {};
@@ -5452,7 +5461,7 @@ var dart = [
},
$signature: function() {
return H.computeSignature(function(T) {
- return {func: "", args: [T]};
+ return {func: 1, args: [T]};
}, this._async$_captured_this_1, "Stream");
}
},
@@ -5482,7 +5491,7 @@ var dart = [
},
$signature: function() {
return H.computeSignature(function(T) {
- return {func: "", args: [T]};
+ return {func: 1, args: [T]};
}, this._async$_captured_this_1, "Stream");
}
},
@@ -5534,7 +5543,7 @@ var dart = [
},
$signature: function() {
return H.computeSignature(function(T) {
- return {func: "", args: [T]};
+ return {func: 1, args: [T]};
}, this._async$_captured_this_0, "Stream");
}
},
@@ -5544,32 +5553,6 @@ var dart = [
this._captured_future_3._complete$1(this._captured_result_2);
}
},
- Stream_first_closure: {
- "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_future_2",
- call$1: function(value) {
- P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captured_future_2, value);
- },
- $signature: function() {
- return H.computeSignature(function(T) {
- return {func: "", args: [T]};
- }, this._async$_captured_this_1, "Stream");
- }
- },
- Stream_first_closure0: {
- "^": "Closure:0;_captured_future_3",
- call$0: function() {
- var e, s, t1, exception;
- try {
- t1 = H.IterableElementError_noElement();
- throw H.wrapException(t1);
- } catch (exception) {
- t1 = H.unwrapException(exception);
- e = t1;
- s = H.getTraceFromException(exception);
- P._completeWithErrorCallback(this._captured_future_3, e, s);
- }
- }
- },
Stream_last_closure: {
"^": "Closure;_async$_box_0,_async$_captured_this_1",
call$1: function(value) {
@@ -5579,7 +5562,7 @@ var dart = [
},
$signature: function() {
return H.computeSignature(function(T) {
- return {func: "", args: [T]};
+ return {func: 1, args: [T]};
}, this._async$_captured_this_1, "Stream");
}
},
@@ -5713,7 +5696,7 @@ var dart = [
this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null));
}, "call$1", "get$_async$_add", 2, 0, function() {
return H.computeSignature(function(T) {
- return {func: "", void: true, args: [T]};
+ return {func: 1, void: true, args: [T]};
}, this.$receiver, "_StreamController");
}],
_addError$2: [function(error, stackTrace) {
@@ -6376,7 +6359,7 @@ var dart = [
this._stream._handleData$2(data, this);
}, "call$1", "get$_handleData", 2, 0, function() {
return H.computeSignature(function(S, T) {
- return {func: "", void: true, args: [S]};
+ return {func: 1, void: true, args: [S]};
}, this.$receiver, "_ForwardingStreamSubscription");
}],
_handleError$2: [function(error, stackTrace) {
@@ -7804,8 +7787,6 @@ var dart = [
var i;
if (startIndex >= this.get$length(receiver))
return -1;
- if (startIndex < 0)
- startIndex = 0;
for (i = startIndex; i < this.get$length(receiver); ++i)
if (J.$eq(this.$index(receiver, i), element))
return i;
@@ -9645,49 +9626,51 @@ var dart = [
if (scheme === "https")
return 443;
return 0;
- }, Uri_parse: function(uri) {
+ }, Uri_parse: function(uri, start, end) {
var t1, pathStart, state, t2, i, t3, $char, index, t4, path, numberSignIndex, query, fragment;
t1 = {};
- t1._captured_scheme_0 = "";
- t1._captured_userinfo_1 = "";
- t1._captured_host_2 = null;
- t1._captured_port_3 = null;
- t1._captured_index_4 = 0;
- t1._captured_char_5 = -1;
- t2 = J.getInterceptor$asx(uri);
- i = 0;
+ t1._captured_end_0 = end;
+ t1._captured_scheme_1 = "";
+ t1._captured_userinfo_2 = "";
+ t1._captured_host_3 = null;
+ t1._captured_port_4 = null;
+ t1._captured_end_0 = J.get$length$asx(uri);
+ t1._captured_index_5 = start;
+ t1._captured_char_6 = -1;
+ t2 = J.getInterceptor$s(uri);
+ i = start;
while (true) {
- t3 = t2.get$length(uri);
+ t3 = t1._captured_end_0;
if (typeof t3 !== "number")
return H.iae(t3);
if (!(i < t3)) {
- pathStart = 0;
+ pathStart = start;
state = 0;
break;
}
$char = t2.codeUnitAt$1(uri, i);
- t1._captured_char_5 = $char;
+ t1._captured_char_6 = $char;
if ($char === 63 || $char === 35) {
- pathStart = 0;
+ pathStart = start;
state = 0;
break;
}
if ($char === 47) {
- state = i === 0 ? 2 : 1;
- pathStart = 0;
+ state = i === start ? 2 : 1;
+ pathStart = start;
break;
}
if ($char === 58) {
- if (i === 0)
- P.Uri__fail(uri, 0, "Invalid empty scheme");
- t1._captured_scheme_0 = P.Uri__makeScheme(uri, i);
+ if (i === start)
+ P.Uri__fail(uri, start, "Invalid empty scheme");
+ t1._captured_scheme_1 = P.Uri__makeScheme(uri, start, i);
++i;
- if (i === uri.length) {
- t1._captured_char_5 = -1;
+ if (i === t1._captured_end_0) {
+ t1._captured_char_6 = -1;
state = 0;
} else {
$char = C.JSString_methods.codeUnitAt$1(uri, i);
- t1._captured_char_5 = $char;
+ t1._captured_char_6 = $char;
if ($char === 63 || $char === 35)
state = 0;
else
@@ -9697,67 +9680,75 @@ var dart = [
break;
}
++i;
- t1._captured_char_5 = -1;
+ t1._captured_char_6 = -1;
}
- t1._captured_index_4 = i;
+ t1._captured_index_5 = i;
if (state === 2) {
index = i + 1;
- t1._captured_index_4 = index;
- if (index === t2.get$length(uri)) {
- t1._captured_char_5 = -1;
+ t1._captured_index_5 = index;
+ if (index === t1._captured_end_0) {
+ t1._captured_char_6 = -1;
state = 0;
} else {
- $char = t2.codeUnitAt$1(uri, t1._captured_index_4);
- t1._captured_char_5 = $char;
+ $char = t2.codeUnitAt$1(uri, t1._captured_index_5);
+ t1._captured_char_6 = $char;
if ($char === 47) {
- ++t1._captured_index_4;
+ t1._captured_index_5 = J.$add$ns(t1._captured_index_5, 1);
new P.Uri_parse_parseAuth(t1, uri, -1).call$0();
- pathStart = t1._captured_index_4;
+ pathStart = t1._captured_index_5;
}
- t3 = t1._captured_char_5;
+ t3 = t1._captured_char_6;
state = t3 === 63 || t3 === 35 || t3 === -1 ? 0 : 1;
}
}
if (state === 1)
- while (true) {
- t3 = ++t1._captured_index_4;
- t4 = t2.get$length(uri);
- if (typeof t4 !== "number")
- return H.iae(t4);
- if (!(t3 < t4))
- break;
- $char = t2.codeUnitAt$1(uri, t1._captured_index_4);
- t1._captured_char_5 = $char;
+ for (; index = J.$add$ns(t1._captured_index_5, 1), t1._captured_index_5 = index, J.$lt$n(index, t1._captured_end_0);) {
+ $char = t2.codeUnitAt$1(uri, t1._captured_index_5);
+ t1._captured_char_6 = $char;
if ($char === 63 || $char === 35)
break;
- t1._captured_char_5 = -1;
+ t1._captured_char_6 = -1;
}
- t3 = t1._captured_scheme_0;
- t4 = t1._captured_host_2;
- path = P.Uri__makePath(uri, pathStart, t1._captured_index_4, null, t4 != null, t3 === "file");
- t3 = t1._captured_char_5;
+ t3 = t1._captured_scheme_1;
+ t4 = t1._captured_host_3;
+ path = P.Uri__makePath(uri, pathStart, t1._captured_index_5, null, t4 != null, t3 === "file");
+ t3 = t1._captured_char_6;
if (t3 === 63) {
- numberSignIndex = t2.indexOf$2(uri, "#", t1._captured_index_4 + 1);
- t3 = t1._captured_index_4;
- if (numberSignIndex < 0) {
- query = P.Uri__makeQuery(uri, t3 + 1, t2.get$length(uri), null);
+ i = J.$add$ns(t1._captured_index_5, 1);
+ while (true) {
+ t3 = J.getInterceptor$n(i);
+ if (!t3.$lt(i, t1._captured_end_0)) {
+ numberSignIndex = -1;
+ break;
+ }
+ if (t2.codeUnitAt$1(uri, i) === 35) {
+ numberSignIndex = i;
+ break;
+ }
+ i = t3.$add(i, 1);
+ }
+ t2 = J.getInterceptor$n(numberSignIndex);
+ t3 = t2.$lt(numberSignIndex, 0);
+ t4 = t1._captured_index_5;
+ if (t3) {
+ query = P.Uri__makeQuery(uri, J.$add$ns(t4, 1), t1._captured_end_0, null);
fragment = null;
} else {
- query = P.Uri__makeQuery(uri, t3 + 1, numberSignIndex, null);
- fragment = P.Uri__makeFragment(uri, numberSignIndex + 1, t2.get$length(uri));
+ query = P.Uri__makeQuery(uri, J.$add$ns(t4, 1), numberSignIndex, null);
+ fragment = P.Uri__makeFragment(uri, t2.$add(numberSignIndex, 1), t1._captured_end_0);
}
} else {
- fragment = t3 === 35 ? P.Uri__makeFragment(uri, t1._captured_index_4 + 1, t2.get$length(uri)) : null;
+ fragment = t3 === 35 ? P.Uri__makeFragment(uri, J.$add$ns(t1._captured_index_5, 1), t1._captured_end_0) : null;
query = null;
}
- t2 = t1._captured_scheme_0;
- t3 = t1._captured_userinfo_1;
- return new P.Uri(t1._captured_host_2, t1._captured_port_3, path, t2, t3, query, fragment, null, null);
+ t2 = t1._captured_scheme_1;
+ t3 = t1._captured_userinfo_2;
+ return new P.Uri(t1._captured_host_3, t1._captured_port_4, path, t2, t3, query, fragment, null, null);
}, Uri__fail: function(uri, index, message) {
throw H.wrapException(P.FormatException$(message, uri, index));
}, Uri_Uri: function(fragment, host, path, pathSegments, port, query, queryParameters, scheme, userInfo) {
var isFile, t1;
- scheme = P.Uri__makeScheme(scheme, scheme.length);
+ scheme = P.Uri__makeScheme(scheme, 0, scheme.length);
userInfo = P.Uri__makeUserInfo(userInfo, 0, userInfo.length);
host = P.Uri__makeHost(host, 0, host == null ? 0 : J.get$length$asx(host), false);
query = P.Uri__makeQuery(query, 0, 0, queryParameters);
@@ -9777,7 +9768,7 @@ var dart = [
}, Uri_base: function() {
var uri = H.Primitives_currentUri();
if (uri != null)
- return P.Uri_parse(uri);
+ return P.Uri_parse(uri, 0, null);
throw H.wrapException(P.UnsupportedError$("'Uri.base' is not supported"));
}, Uri__checkNonWindowsPathReservedCharacters: function(segments, argumentError) {
segments.forEach$1(segments, new P.Uri__checkNonWindowsPathReservedCharacters_closure(argumentError));
@@ -9846,44 +9837,35 @@ var dart = [
return;
return port;
}, Uri__makeHost: function(host, start, end, strictIPv6) {
- var t1, i;
+ var t1, t2, i;
if (host == null)
return;
- if (start === end)
+ t1 = J.getInterceptor(start);
+ if (t1.$eq(start, end))
return "";
if (J.getInterceptor$s(host).codeUnitAt$1(host, start) === 91) {
- t1 = J.getInterceptor$n(end);
- if (C.JSString_methods.codeUnitAt$1(host, t1.$sub(end, 1)) !== 93)
+ t2 = J.getInterceptor$n(end);
+ if (C.JSString_methods.codeUnitAt$1(host, t2.$sub(end, 1)) !== 93)
P.Uri__fail(host, start, "Missing end `]` to match `[` in host");
- P.Uri_parseIPv6Address(host, start + 1, t1.$sub(end, 1));
+ P.Uri_parseIPv6Address(host, t1.$add(start, 1), t2.$sub(end, 1));
return C.JSString_methods.substring$2(host, start, end).toLowerCase();
}
- if (!strictIPv6) {
- if (typeof end !== "number")
- return H.iae(end);
- i = start;
- for (; i < end; ++i)
+ if (!strictIPv6)
+ for (i = start; t1 = J.getInterceptor$n(i), t1.$lt(i, end); i = t1.$add(i, 1))
if (C.JSString_methods.codeUnitAt$1(host, i) === 58) {
P.Uri_parseIPv6Address(host, start, end);
return "[" + host + "]";
}
- }
return P.Uri__normalizeRegName(host, start, end);
}, Uri__normalizeRegName: function(host, start, end) {
- var index, sectionStart, buffer, isNormalized, $char, replacement, t1, slice, sourceLength, tail;
- if (typeof end !== "number")
- return H.iae(end);
- index = start;
- sectionStart = index;
- buffer = null;
- isNormalized = true;
- for (; index < end;) {
+ var index, sectionStart, buffer, isNormalized, t1, $char, replacement, t2, slice, sourceLength, tail;
+ for (index = start, sectionStart = index, buffer = null, isNormalized = true; t1 = J.getInterceptor$n(index), t1.$lt(index, end);) {
$char = C.JSString_methods.codeUnitAt$1(host, index);
if ($char === 37) {
replacement = P.Uri__normalizeEscape(host, index, true);
- t1 = replacement == null;
- if (t1 && isNormalized) {
- index += 3;
+ t2 = replacement == null;
+ if (t2 && isNormalized) {
+ index = t1.$add(index, 3);
continue;
}
if (buffer == null)
@@ -9892,8 +9874,8 @@ var dart = [
if (!isNormalized)
slice = slice.toLowerCase();
buffer._contents = buffer._contents + slice;
- if (t1) {
- replacement = C.JSString_methods.substring$2(host, index, index + 3);
+ if (t2) {
+ replacement = C.JSString_methods.substring$2(host, index, t1.$add(index, 3));
sourceLength = 3;
} else if (replacement === "%") {
replacement = "%25";
@@ -9901,42 +9883,42 @@ var dart = [
} else
sourceLength = 3;
buffer._contents += replacement;
- index += sourceLength;
+ index = t1.$add(index, sourceLength);
sectionStart = index;
isNormalized = true;
} else {
if ($char < 127) {
- t1 = $char >>> 4;
- if (t1 >= 8)
- return H.ioore(C.List_qNA, t1);
- t1 = (C.List_qNA[t1] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
+ t2 = $char >>> 4;
+ if (t2 >= 8)
+ return H.ioore(C.List_qNA, t2);
+ t2 = (C.List_qNA[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
} else
- t1 = false;
- if (t1) {
+ t2 = false;
+ if (t2) {
if (isNormalized && 65 <= $char && 90 >= $char) {
if (buffer == null)
buffer = new P.StringBuffer("");
- if (sectionStart < index) {
- t1 = C.JSString_methods.substring$2(host, sectionStart, index);
- buffer._contents = buffer._contents + t1;
+ if (J.$lt$n(sectionStart, index)) {
+ t2 = C.JSString_methods.substring$2(host, sectionStart, index);
+ buffer._contents = buffer._contents + t2;
sectionStart = index;
}
isNormalized = false;
}
- ++index;
+ index = t1.$add(index, 1);
} else {
if ($char <= 93) {
- t1 = $char >>> 4;
- if (t1 >= 8)
- return H.ioore(C.List_2Vk, t1);
- t1 = (C.List_2Vk[t1] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
+ t2 = $char >>> 4;
+ if (t2 >= 8)
+ return H.ioore(C.List_2Vk, t2);
+ t2 = (C.List_2Vk[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
} else
- t1 = false;
- if (t1)
+ t2 = false;
+ if (t2)
P.Uri__fail(host, index, "Invalid character");
else {
- if (($char & 64512) === 55296 && index + 1 < end) {
- tail = C.JSString_methods.codeUnitAt$1(host, index + 1);
+ if (($char & 64512) === 55296 && J.$lt$n(t1.$add(index, 1), end)) {
+ tail = C.JSString_methods.codeUnitAt$1(host, t1.$add(index, 1));
if ((tail & 64512) === 56320) {
$char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0;
sourceLength = 2;
@@ -9951,7 +9933,7 @@ var dart = [
slice = slice.toLowerCase();
buffer._contents = buffer._contents + slice;
buffer._contents += P.Uri__escapeChar($char);
- index += sourceLength;
+ index = t1.$add(index, sourceLength);
sectionStart = index;
}
}
@@ -9959,27 +9941,27 @@ var dart = [
}
if (buffer == null)
return C.JSString_methods.substring$2(host, start, end);
- if (sectionStart < end) {
+ if (J.$lt$n(sectionStart, end)) {
slice = C.JSString_methods.substring$2(host, sectionStart, end);
buffer._contents += !isNormalized ? slice.toLowerCase() : slice;
}
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
- }, Uri__makeScheme: function(scheme, end) {
+ }, Uri__makeScheme: function(scheme, start, end) {
var firstCodeUnit, allLowercase, t1, i, codeUnit;
- if (J.$eq(end, 0))
+ if (start === end)
return "";
- firstCodeUnit = J.getInterceptor$s(scheme).codeUnitAt$1(scheme, 0);
+ firstCodeUnit = J.getInterceptor$s(scheme).codeUnitAt$1(scheme, start);
allLowercase = firstCodeUnit >= 97;
if (!(allLowercase && firstCodeUnit <= 122))
t1 = firstCodeUnit >= 65 && firstCodeUnit <= 90;
else
t1 = true;
if (!t1)
- P.Uri__fail(scheme, 0, "Scheme not starting with alphabetic character");
+ P.Uri__fail(scheme, start, "Scheme not starting with alphabetic character");
if (typeof end !== "number")
return H.iae(end);
- i = 0;
+ i = start;
for (; i < end; ++i) {
codeUnit = C.JSString_methods.codeUnitAt$1(scheme, i);
if (codeUnit < 128) {
@@ -9994,7 +9976,7 @@ var dart = [
if (codeUnit < 97 || codeUnit > 122)
allLowercase = false;
}
- scheme = C.JSString_methods.substring$2(scheme, 0, end);
+ scheme = C.JSString_methods.substring$2(scheme, start, end);
return !allLowercase ? scheme.toLowerCase() : scheme;
}, Uri__makeUserInfo: function(userInfo, start, end) {
return P.Uri__normalize(userInfo, start, end, C.List_gRj);
@@ -10048,26 +10030,26 @@ var dart = [
return $char - 48;
return ($char | 32) - 87;
}, Uri__normalizeEscape: function(source, index, lowerCase) {
- var t1, firstDigit, secondDigit, value;
- t1 = index + 2;
- if (t1 >= source.length)
+ var t1, firstDigit, secondDigit, value, t2;
+ t1 = J.getInterceptor$ns(index);
+ if (J.$ge$n(t1.$add(index, 2), source.length))
return "%";
- firstDigit = C.JSString_methods.codeUnitAt$1(source, index + 1);
- secondDigit = C.JSString_methods.codeUnitAt$1(source, t1);
+ firstDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 1));
+ secondDigit = C.JSString_methods.codeUnitAt$1(source, t1.$add(index, 2));
if (!P.Uri__isHexDigit(firstDigit) || !P.Uri__isHexDigit(secondDigit))
return "%";
value = P.Uri__hexValue(firstDigit) * 16 + P.Uri__hexValue(secondDigit);
if (value < 127) {
- t1 = C.JSInt_methods._shrOtherPositive$1(value, 4);
- if (t1 >= 8)
- return H.ioore(C.List_nxB, t1);
- t1 = (C.List_nxB[t1] & C.JSInt_methods._shlPositive$1(1, value & 15)) !== 0;
+ t2 = C.JSInt_methods._shrOtherPositive$1(value, 4);
+ if (t2 >= 8)
+ return H.ioore(C.List_nxB, t2);
+ t2 = (C.List_nxB[t2] & C.JSInt_methods._shlPositive$1(1, value & 15)) !== 0;
} else
- t1 = false;
- if (t1)
+ t2 = false;
+ if (t2)
return H.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);
if (firstDigit >= 97 || secondDigit >= 97)
- return C.JSString_methods.substring$2(source, index, index + 3).toUpperCase();
+ return C.JSString_methods.substring$2(source, index, t1.$add(index, 3)).toUpperCase();
return;
}, Uri__escapeChar: function($char) {
var codeUnits, flag, encodedBytes, t1, index, $byte, t2, t3;
@@ -10113,29 +10095,23 @@ var dart = [
}
return P.String_String$fromCharCodes(codeUnits, 0, null);
}, Uri__normalize: function(component, start, end, charTable) {
- var t1, index, sectionStart, buffer, $char, t2, replacement, sourceLength, tail;
- if (typeof end !== "number")
- return H.iae(end);
- t1 = J.getInterceptor$s(component);
- index = start;
- sectionStart = index;
- buffer = null;
- for (; index < end;) {
+ var t1, index, sectionStart, buffer, t2, $char, t3, replacement, sourceLength, tail;
+ for (t1 = J.getInterceptor$s(component), index = start, sectionStart = index, buffer = null; t2 = J.getInterceptor$n(index), t2.$lt(index, end);) {
$char = t1.codeUnitAt$1(component, index);
if ($char < 127) {
- t2 = $char >>> 4;
- if (t2 >= 8)
- return H.ioore(charTable, t2);
- t2 = (charTable[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
+ t3 = $char >>> 4;
+ if (t3 >= 8)
+ return H.ioore(charTable, t3);
+ t3 = (charTable[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
} else
- t2 = false;
- if (t2)
- ++index;
+ t3 = false;
+ if (t3)
+ index = t2.$add(index, 1);
else {
if ($char === 37) {
replacement = P.Uri__normalizeEscape(component, index, false);
if (replacement == null) {
- index += 3;
+ index = t2.$add(index, 3);
continue;
}
if ("%" === replacement) {
@@ -10145,21 +10121,20 @@ var dart = [
sourceLength = 3;
} else {
if ($char <= 93) {
- t2 = $char >>> 4;
- if (t2 >= 8)
- return H.ioore(C.List_2Vk, t2);
- t2 = (C.List_2Vk[t2] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
+ t3 = $char >>> 4;
+ if (t3 >= 8)
+ return H.ioore(C.List_2Vk, t3);
+ t3 = (C.List_2Vk[t3] & C.JSInt_methods._shlPositive$1(1, $char & 15)) !== 0;
} else
- t2 = false;
- if (t2) {
+ t3 = false;
+ if (t3) {
P.Uri__fail(component, index, "Invalid character");
replacement = null;
sourceLength = null;
} else {
- if (($char & 64512) === 55296) {
- t2 = index + 1;
- if (t2 < end) {
- tail = C.JSString_methods.codeUnitAt$1(component, t2);
+ if (($char & 64512) === 55296)
+ if (J.$lt$n(t2.$add(index, 1), end)) {
+ tail = C.JSString_methods.codeUnitAt$1(component, t2.$add(index, 1));
if ((tail & 64512) === 56320) {
$char = (65536 | ($char & 1023) << 10 | tail & 1023) >>> 0;
sourceLength = 2;
@@ -10167,25 +10142,23 @@ var dart = [
sourceLength = 1;
} else
sourceLength = 1;
- } else
+ else
sourceLength = 1;
replacement = P.Uri__escapeChar($char);
}
}
if (buffer == null)
buffer = new P.StringBuffer("");
- t2 = C.JSString_methods.substring$2(component, sectionStart, index);
- buffer._contents = buffer._contents + t2;
+ t3 = C.JSString_methods.substring$2(component, sectionStart, index);
+ buffer._contents = buffer._contents + t3;
buffer._contents += H.S(replacement);
- if (typeof sourceLength !== "number")
- return H.iae(sourceLength);
- index += sourceLength;
+ index = t2.$add(index, sourceLength);
sectionStart = index;
}
}
if (buffer == null)
return t1.substring$2(component, start, end);
- if (sectionStart < end)
+ if (J.$lt$n(sectionStart, end))
buffer._contents += t1.substring$2(component, sectionStart, end);
t1 = buffer._contents;
return t1.charCodeAt(0) == 0 ? t1 : t1;
@@ -10210,32 +10183,24 @@ var dart = [
error.call$1("address is too short");
parts = [];
partStart = start;
- i = start;
- wildcardSeen = false;
- while (true) {
- t1 = end;
- if (typeof t1 !== "number")
- return H.iae(t1);
- if (!(i < t1))
- break;
+ for (i = start, wildcardSeen = false; t1 = J.getInterceptor$n(i), t1.$lt(i, end); i = J.$add$ns(i, 1))
if (J.codeUnitAt$1$s(host, i) === 58) {
- if (i === start) {
- ++i;
+ if (t1.$eq(i, start)) {
+ i = t1.$add(i, 1);
if (J.codeUnitAt$1$s(host, i) !== 58)
error.call$2("invalid start colon.", i);
partStart = i;
}
- if (i === partStart) {
+ t1 = J.getInterceptor(i);
+ if (t1.$eq(i, partStart)) {
if (wildcardSeen)
error.call$2("only one wildcard `::` is allowed", i);
J.add$1$ax(parts, -1);
wildcardSeen = true;
} else
J.add$1$ax(parts, parseHex.call$2(partStart, i));
- partStart = i + 1;
+ partStart = t1.$add(i, 1);
}
- ++i;
- }
if (J.get$length$asx(parts) === 0)
error.call$1("too few parts");
atEnd = J.$eq(partStart, end);
@@ -10409,50 +10374,50 @@ var dart = [
Uri_parse_parseAuth: {
"^": "Closure:1;_box_0,_captured_uri_1,_captured_EOI_2",
call$0: function() {
- var t1, t2, t3, authStart, $char, lastColon, lastAt, char0, endBracket, hostEnd, hostStart, i, portNumber, digit;
+ var t1, authStart, t2, $char, lastColon, lastAt, char0, endBracket, hostEnd, t3, hostStart, i, portNumber, digit;
t1 = this._box_0;
- t2 = this._captured_uri_1;
- t3 = J.getInterceptor$asx(t2);
- if (t1._captured_index_4 === t3.get$length(t2)) {
- t1._captured_char_5 = this._captured_EOI_2;
+ if (J.$eq(t1._captured_index_5, t1._captured_end_0)) {
+ t1._captured_char_6 = this._captured_EOI_2;
return;
}
- authStart = t1._captured_index_4;
- t1._captured_char_5 = t3.codeUnitAt$1(t2, authStart);
- for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; t1._captured_index_4 < t2.length;) {
- char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_4);
- t1._captured_char_5 = char0;
+ authStart = t1._captured_index_5;
+ t2 = this._captured_uri_1;
+ t1._captured_char_6 = J.getInterceptor$s(t2).codeUnitAt$1(t2, authStart);
+ for ($char = this._captured_EOI_2, lastColon = -1, lastAt = -1; J.$lt$n(t1._captured_index_5, t1._captured_end_0);) {
+ char0 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_5);
+ t1._captured_char_6 = char0;
if (char0 === 47 || char0 === 63 || char0 === 35)
break;
if (char0 === 64) {
- lastAt = t1._captured_index_4;
+ lastAt = t1._captured_index_5;
lastColon = -1;
} else if (char0 === 58)
- lastColon = t1._captured_index_4;
+ lastColon = t1._captured_index_5;
else if (char0 === 91) {
- endBracket = C.JSString_methods.indexOf$2(t2, "]", t1._captured_index_4 + 1);
+ endBracket = C.JSString_methods.indexOf$2(t2, "]", J.$add$ns(t1._captured_index_5, 1));
if (endBracket === -1) {
- t1._captured_index_4 = t2.length;
- t1._captured_char_5 = $char;
+ t1._captured_index_5 = t1._captured_end_0;
+ t1._captured_char_6 = $char;
lastColon = -1;
break;
} else
- t1._captured_index_4 = endBracket;
+ t1._captured_index_5 = endBracket;
lastColon = -1;
}
- ++t1._captured_index_4;
- t1._captured_char_5 = $char;
- }
- hostEnd = t1._captured_index_4;
- if (lastAt >= 0) {
- t1._captured_userinfo_1 = P.Uri__makeUserInfo(t2, authStart, lastAt);
- hostStart = lastAt + 1;
+ t1._captured_index_5 = J.$add$ns(t1._captured_index_5, 1);
+ t1._captured_char_6 = $char;
+ }
+ hostEnd = t1._captured_index_5;
+ t3 = J.getInterceptor$n(lastAt);
+ if (t3.$ge(lastAt, 0)) {
+ t1._captured_userinfo_2 = P.Uri__makeUserInfo(t2, authStart, lastAt);
+ hostStart = t3.$add(lastAt, 1);
} else
hostStart = authStart;
- if (lastColon >= 0) {
- i = lastColon + 1;
- if (i < t1._captured_index_4)
- for (portNumber = 0; i < t1._captured_index_4; ++i) {
+ t3 = J.getInterceptor$n(lastColon);
+ if (t3.$ge(lastColon, 0)) {
+ if (J.$lt$n(t3.$add(lastColon, 1), t1._captured_index_5))
+ for (i = t3.$add(lastColon, 1), portNumber = 0; t3 = J.getInterceptor$n(i), t3.$lt(i, t1._captured_index_5); i = t3.$add(i, 1)) {
digit = C.JSString_methods.codeUnitAt$1(t2, i);
if (48 > digit || 57 < digit)
P.Uri__fail(t2, i, "Invalid port number");
@@ -10460,12 +10425,12 @@ var dart = [
}
else
portNumber = null;
- t1._captured_port_3 = P.Uri__makePort(portNumber, t1._captured_scheme_0);
+ t1._captured_port_4 = P.Uri__makePort(portNumber, t1._captured_scheme_1);
hostEnd = lastColon;
}
- t1._captured_host_2 = P.Uri__makeHost(t2, hostStart, hostEnd, true);
- if (t1._captured_index_4 < t2.length)
- t1._captured_char_5 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_4);
+ t1._captured_host_3 = P.Uri__makeHost(t2, hostStart, hostEnd, true);
+ if (J.$lt$n(t1._captured_index_5, t1._captured_end_0))
+ t1._captured_char_6 = C.JSString_methods.codeUnitAt$1(t2, t1._captured_index_5);
}
},
Uri__checkNonWindowsPathReservedCharacters_closure: {
@@ -10655,9 +10620,6 @@ var dart = [
},
BodyElement: {
"^": "HtmlElement;",
- get$onLoad: function(receiver) {
- return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "load", false), [null]);
- },
$isInterceptor: 1,
"%": "HTMLBodyElement"
},
@@ -10749,9 +10711,6 @@ var dart = [
toString$0: function(receiver) {
return receiver.localName;
},
- get$onLoad: function(receiver) {
- return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, "load", false), [null]);
- },
$isElement: 1,
$isNode: 1,
$isObject: 1,
@@ -10759,7 +10718,7 @@ var dart = [
"%": ";Element"
},
EmbedElement: {
- "^": "HtmlElement;src}",
+ "^": "HtmlElement;src%",
"%": "HTMLEmbedElement"
},
ErrorEvent: {
@@ -10842,18 +10801,18 @@ var dart = [
$isEfficientLength: 1
},
IFrameElement: {
- "^": "HtmlElement;src}",
+ "^": "HtmlElement;src%",
get$contentWindow: function(receiver) {
return W._convertNativeToDart_Window(receiver.contentWindow);
},
"%": "HTMLIFrameElement"
},
ImageElement: {
- "^": "HtmlElement;src}",
+ "^": "HtmlElement;src%",
"%": "HTMLImageElement"
},
InputElement: {
- "^": "HtmlElement;src}",
+ "^": "HtmlElement;src%",
$isInterceptor: 1,
"%": "HTMLInputElement"
},
@@ -10874,7 +10833,7 @@ var dart = [
"%": "Location"
},
MediaElement: {
- "^": "HtmlElement;error=,src}",
+ "^": "HtmlElement;error=,src%",
"%": "HTMLAudioElement|HTMLMediaElement|HTMLVideoElement"
},
MediaKeyEvent: {
@@ -11005,7 +10964,7 @@ var dart = [
"%": "PushEvent"
},
ScriptElement: {
- "^": "HtmlElement;src}",
+ "^": "HtmlElement;src%",
"%": "HTMLScriptElement"
},
SelectElement: {
@@ -11013,7 +10972,7 @@ var dart = [
"%": "HTMLSelectElement"
},
SourceElement: {
- "^": "HtmlElement;src}",
+ "^": "HtmlElement;src%",
"%": "HTMLSourceElement"
},
SpeechRecognitionError: {
@@ -11025,7 +10984,7 @@ var dart = [
"%": "TextEvent"
},
TrackElement: {
- "^": "HtmlElement;src}",
+ "^": "HtmlElement;src%",
"%": "HTMLTrackElement"
},
UIEvent: {
@@ -11142,9 +11101,6 @@ var dart = [
return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError);
}
},
- _ElementEventStreamImpl: {
- "^": "_EventStream;_html$_target,_eventType,_useCapture"
- },
_EventStreamSubscription: {
"^": "StreamSubscription;_pauseCount,_html$_target,_eventType,_html$_onData,_useCapture",
cancel$0: function() {
@@ -11803,7 +11759,7 @@ var dart = [
member = H.stringReplaceAllUnchecked(t2, "<anonymous closure>", "<fn>");
if (2 >= t1.length)
return H.ioore(t1, 2);
- uri = P.Uri_parse(t1[2]);
+ uri = P.Uri_parse(t1[2], 0, null);
if (3 >= t1.length)
return H.ioore(t1, 3);
lineAndColumn = J.split$1$s(t1[3], ":");
@@ -11832,14 +11788,14 @@ var dart = [
}, Frame__uriOrPathToUri: function(uriOrPath) {
var t1 = J.getInterceptor$asx(uriOrPath);
if (t1.contains$1(uriOrPath, $.get$Frame__uriRegExp()) === true)
- return P.Uri_parse(uriOrPath);
+ return P.Uri_parse(uriOrPath, 0, null);
else if (t1.contains$1(uriOrPath, $.get$Frame__windowsRegExp()) === true)
return P.Uri_Uri$file(uriOrPath, true);
else if (t1.startsWith$1(uriOrPath, "/"))
return P.Uri_Uri$file(uriOrPath, false);
if (C.JSString_methods.contains$1(uriOrPath, "\\"))
return $.get$windows().toUri$1(uriOrPath);
- return P.Uri_parse(uriOrPath);
+ return P.Uri_parse(uriOrPath, 0, null);
}}
},
Frame_Frame$parseV8_parseLocation: {
@@ -12112,7 +12068,7 @@ var dart = [
t1 = $.get$Style_platform();
t2 = $.get$Style_url();
if (t1 == null ? t2 == null : t1 === t2) {
- t1 = P.Uri_parse(".");
+ t1 = P.Uri_parse(".", 0, null);
targetScheme = t1.scheme;
if (targetScheme.length !== 0) {
if (t1._host != null) {
@@ -12680,10 +12636,10 @@ var dart = [
return uri.toString$0(0);
},
relativePathToUri$1: function(path) {
- return P.Uri_parse(path);
+ return P.Uri_parse(path, 0, null);
},
absolutePathToUri$1: function(path) {
- return P.Uri_parse(path);
+ return P.Uri_parse(path, 0, null);
}
}
}],
@@ -12933,7 +12889,7 @@ var dart = [
}, "call$0", "main$closure", 0, 0, 1],
_connectToServer: function() {
var currentUrl, t1, webSocket, inputController, outputController;
- currentUrl = P.Uri_parse(window.location.href);
+ currentUrl = P.Uri_parse(window.location.href, 0, null);
t1 = currentUrl._queryParameters;
if (t1 == null) {
t1 = currentUrl._query;
@@ -12949,15 +12905,15 @@ var dart = [
return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)]));
},
_connectToIframe: function(url) {
- var iframe, t1, inputController, outputController;
+ var iframe, inputController, outputController, t1;
iframe = document.createElement("iframe", null);
- t1 = J.getInterceptor$x(iframe);
- t1.set$src(iframe, url);
+ J.set$src$x(iframe, url);
document.body.appendChild(iframe);
inputController = P.StreamController_StreamController(null, null, null, null, true, null);
outputController = P.StreamController_StreamController(null, null, null, null, true, null);
- t1 = t1.get$onLoad(iframe);
- t1.get$first(t1).then$1(new R._connectToIframe_closure(iframe, inputController, outputController));
+ t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [null]);
+ H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(new R._connectToIframe_closure(iframe, inputController)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0();
+ H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).listen$1(new R._connectToIframe_closure0(iframe));
return H.setRuntimeTypeInfo(new A._StreamChannel(H.setRuntimeTypeInfo(new P._ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])), [null]);
},
main_closure: {
@@ -13003,37 +12959,31 @@ var dart = [
}
},
_connectToIframe_closure: {
- "^": "Closure:2;_captured_iframe_0,_captured_inputController_1,_captured_outputController_2",
- call$1: function(_) {
- var t1, t2;
- t1 = this._captured_iframe_0;
- J.postMessage$2$x(J.get$contentWindow$x(t1), P.LinkedHashMap_LinkedHashMap$_literal(["command", "connect"], null, null), J.get$origin$x(window.location));
- t2 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [null]);
- H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t2._html$_target, t2._eventType, W._wrapZone(new R._connectToIframe__closure(t1, this._captured_inputController_1)), t2._useCapture), [H.getTypeArgumentByIndex(t2, 0)])._tryResume$0();
- H.setRuntimeTypeInfo(new P._ControllerStream(this._captured_outputController_2), [null]).listen$1(new R._connectToIframe__closure0(t1));
- }
- },
- _connectToIframe__closure: {
- "^": "Closure:2;_captured_iframe_3,_captured_inputController_4",
+ "^": "Closure:2;_captured_iframe_0,_captured_inputController_1",
call$1: function(message) {
- var t1, t2;
+ var t1, t2, t3;
t1 = J.getInterceptor$x(message);
- if (t1.get$origin(message) !== J.get$origin$x(window.location))
+ t2 = t1.get$origin(message);
+ t3 = window.location;
+ if (t2 !== (t3 && C.Location_methods).get$origin(t3))
return;
- if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), this._captured_iframe_3.src))
+ if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this._captured_iframe_0)))
return;
message.stopPropagation();
- t1 = this._captured_inputController_4;
+ t1 = this._captured_inputController_1;
t2 = J.$index$asx(P.convertNativeToDart_AcceptStructuredClone(message.data, true), "data");
if (t1._state >= 4)
H.throwExpression(t1._badEventState$0());
t1._async$_add$1(t2);
}
},
- _connectToIframe__closure0: {
- "^": "Closure:2;_captured_iframe_5",
+ _connectToIframe_closure0: {
+ "^": "Closure:2;_captured_iframe_2",
call$1: function(message) {
- return J.postMessage$2$x(W._convertNativeToDart_Window(this._captured_iframe_5.contentWindow), message, J.get$origin$x(window.location));
+ var t1, t2;
+ t1 = J.get$contentWindow$x(this._captured_iframe_2);
+ t2 = window.location;
+ return J.postMessage$2$x(t1, message, (t2 && C.Location_methods).get$origin(t2));
}
}
},
@@ -13232,7 +13182,7 @@ var dart = [
t1 = match._match;
if (1 >= t1.length)
return H.ioore(t1, 1);
- uri = P.Uri_parse(t1[1]);
+ uri = P.Uri_parse(t1[1], 0, null);
if (uri.scheme === "") {
t2 = $.get$context();
t3 = t2.fromUri$1(uri);
@@ -13281,7 +13231,7 @@ var dart = [
t1 = frame.get$library();
t2 = $.get$_terseRegExp();
H.checkString("");
- return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, "")), null, null, frame.member);
+ return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0, null), null, null, frame.member);
}
},
Trace_toString_closure0: {
@@ -13298,7 +13248,7 @@ var dart = [
}
}],
];
-setupProgram(dart);
+setupProgram(dart, 0);
// getInterceptor methods
J.getInterceptor = function(receiver) {
if (typeof receiver == "number") {
@@ -13394,6 +13344,11 @@ J.$eq = function(receiver, a0) {
return a0 != null && receiver === a0;
return J.getInterceptor(receiver).$eq(receiver, a0);
};
+J.$ge$n = function(receiver, a0) {
+ if (typeof receiver == "number" && typeof a0 == "number")
+ return receiver >= a0;
+ return J.getInterceptor$n(receiver).$ge(receiver, a0);
+};
J.$gt$n = function(receiver, a0) {
if (typeof receiver == "number" && typeof a0 == "number")
return receiver > a0;
@@ -13477,12 +13432,12 @@ J.get$location$x = function(receiver) {
J.get$message$x = function(receiver) {
return J.getInterceptor$x(receiver).get$message(receiver);
};
-J.get$origin$x = function(receiver) {
- return J.getInterceptor$x(receiver).get$origin(receiver);
-};
J.get$parent$x = function(receiver) {
return J.getInterceptor$x(receiver).get$parent(receiver);
};
+J.get$src$x = function(receiver) {
+ return J.getInterceptor$x(receiver).get$src(receiver);
+};
J.get$start$x = function(receiver) {
return J.getInterceptor$x(receiver).get$start(receiver);
};
@@ -13498,9 +13453,6 @@ J.postMessage$2$x = function(receiver, a0, a1) {
J.print$1$x = function(receiver, a0) {
return J.getInterceptor$x(receiver).print$1(receiver, a0);
};
-J.remove$1$ax = function(receiver, a0) {
- return J.getInterceptor$ax(receiver).remove$1(receiver, a0);
-};
J.replaceAll$2$s = function(receiver, a0, a1) {
return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1);
};
@@ -13510,6 +13462,9 @@ J.replaceFirst$2$s = function(receiver, a0, a1) {
J.send$1$x = function(receiver, a0) {
return J.getInterceptor$x(receiver).send$1(receiver, a0);
};
+J.set$src$x = function(receiver, value) {
+ return J.getInterceptor$x(receiver).set$src(receiver, value);
+};
J.skip$1$ax = function(receiver, a0) {
return J.getInterceptor$ax(receiver).skip$1(receiver, a0);
};
@@ -13549,6 +13504,7 @@ C.JSInt_methods = J.JSInt.prototype;
C.JSNull_methods = J.JSNull.prototype;
C.JSNumber_methods = J.JSNumber.prototype;
C.JSString_methods = J.JSString.prototype;
+C.Location_methods = W.Location.prototype;
C.NativeUint8List_methods = H.NativeUint8List.prototype;
C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
@@ -13763,26 +13719,30 @@ $.Device__isIE = null;
$.Device__isFirefox = null;
$.Device__isWebKit = null;
$.Device__cachedCssPrefix = null;
-Isolate.$lazy("IsolateNatives_thisScript", "get$IsolateNatives_thisScript", function() {
+(function(lazies) {
+ var descriptorLength = 4;
+ for (var i = 0; i < lazies.length; i += descriptorLength) {
+ var fieldName = lazies[i];
+ var getterName = lazies[i + 1];
+ var lazyValue = lazies[i + 2];
+ var staticName = lazies[i + 3];
+ Isolate.$lazy(fieldName, getterName, lazyValue, staticName);
+ }
+})(["IsolateNatives_thisScript", "get$IsolateNatives_thisScript", function() {
return H.IsolateNatives_computeThisScript();
-}, "thisScript");
-Isolate.$lazy("IsolateNatives_workerIds", "get$IsolateNatives_workerIds", function() {
+}, "thisScript", "IsolateNatives_workerIds", "get$IsolateNatives_workerIds", function() {
return new P.Expando(null);
-}, "workerIds");
-Isolate.$lazy("TypeErrorDecoder_noSuchMethodPattern", "get$TypeErrorDecoder_noSuchMethodPattern", function() {
+}, "workerIds", "TypeErrorDecoder_noSuchMethodPattern", "get$TypeErrorDecoder_noSuchMethodPattern", function() {
return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({toString: function() {
return "$receiver$";
}}));
-}, "noSuchMethodPattern");
-Isolate.$lazy("TypeErrorDecoder_notClosurePattern", "get$TypeErrorDecoder_notClosurePattern", function() {
+}, "noSuchMethodPattern", "TypeErrorDecoder_notClosurePattern", "get$TypeErrorDecoder_notClosurePattern", function() {
return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({$method$: null, toString: function() {
return "$receiver$";
}}));
-}, "notClosurePattern");
-Isolate.$lazy("TypeErrorDecoder_nullCallPattern", "get$TypeErrorDecoder_nullCallPattern", function() {
+}, "notClosurePattern", "TypeErrorDecoder_nullCallPattern", "get$TypeErrorDecoder_nullCallPattern", function() {
return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(null));
-}, "nullCallPattern");
-Isolate.$lazy("TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorDecoder_nullLiteralCallPattern", function() {
+}, "nullCallPattern", "TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorDecoder_nullLiteralCallPattern", function() {
return H.TypeErrorDecoder_extractPattern(function() {
var $argumentsExpr$ = '$arguments$';
try {
@@ -13791,11 +13751,9 @@ Isolate.$lazy("TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorDecoder_n
return e.message;
}
}());
-}, "nullLiteralCallPattern");
-Isolate.$lazy("TypeErrorDecoder_undefinedCallPattern", "get$TypeErrorDecoder_undefinedCallPattern", function() {
+}, "nullLiteralCallPattern", "TypeErrorDecoder_undefinedCallPattern", "get$TypeErrorDecoder_undefinedCallPattern", function() {
return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(void 0));
-}, "undefinedCallPattern");
-Isolate.$lazy("TypeErrorDecoder_undefinedLiteralCallPattern", "get$TypeErrorDecoder_undefinedLiteralCallPattern", function() {
+}, "undefinedCallPattern", "TypeErrorDecoder_undefinedLiteralCallPattern", "get$TypeErrorDecoder_undefinedLiteralCallPattern", function() {
return H.TypeErrorDecoder_extractPattern(function() {
var $argumentsExpr$ = '$arguments$';
try {
@@ -13804,11 +13762,9 @@ Isolate.$lazy("TypeErrorDecoder_undefinedLiteralCallPattern", "get$TypeErrorDeco
return e.message;
}
}());
-}, "undefinedLiteralCallPattern");
-Isolate.$lazy("TypeErrorDecoder_nullPropertyPattern", "get$TypeErrorDecoder_nullPropertyPattern", function() {
+}, "undefinedLiteralCallPattern", "TypeErrorDecoder_nullPropertyPattern", "get$TypeErrorDecoder_nullPropertyPattern", function() {
return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(null));
-}, "nullPropertyPattern");
-Isolate.$lazy("TypeErrorDecoder_nullLiteralPropertyPattern", "get$TypeErrorDecoder_nullLiteralPropertyPattern", function() {
+}, "nullPropertyPattern", "TypeErrorDecoder_nullLiteralPropertyPattern", "get$TypeErrorDecoder_nullLiteralPropertyPattern", function() {
return H.TypeErrorDecoder_extractPattern(function() {
try {
null.$method$;
@@ -13816,11 +13772,9 @@ Isolate.$lazy("TypeErrorDecoder_nullLiteralPropertyPattern", "get$TypeErrorDecod
return e.message;
}
}());
-}, "nullLiteralPropertyPattern");
-Isolate.$lazy("TypeErrorDecoder_undefinedPropertyPattern", "get$TypeErrorDecoder_undefinedPropertyPattern", function() {
+}, "nullLiteralPropertyPattern", "TypeErrorDecoder_undefinedPropertyPattern", "get$TypeErrorDecoder_undefinedPropertyPattern", function() {
return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(void 0));
-}, "undefinedPropertyPattern");
-Isolate.$lazy("TypeErrorDecoder_undefinedLiteralPropertyPattern", "get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() {
+}, "undefinedPropertyPattern", "TypeErrorDecoder_undefinedLiteralPropertyPattern", "get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() {
return H.TypeErrorDecoder_extractPattern(function() {
try {
(void 0).$method$;
@@ -13828,159 +13782,64 @@ Isolate.$lazy("TypeErrorDecoder_undefinedLiteralPropertyPattern", "get$TypeError
return e.message;
}
}());
-}, "undefinedLiteralPropertyPattern");
-Isolate.$lazy("_AsyncRun_scheduleImmediateClosure", "get$_AsyncRun_scheduleImmediateClosure", function() {
+}, "undefinedLiteralPropertyPattern", "_AsyncRun_scheduleImmediateClosure", "get$_AsyncRun_scheduleImmediateClosure", function() {
return P._AsyncRun__initializeScheduleImmediate();
-}, "scheduleImmediateClosure");
-Isolate.$lazy("Future__nullFuture", "get$Future__nullFuture", function() {
+}, "scheduleImmediateClosure", "Future__nullFuture", "get$Future__nullFuture", function() {
return P._Future$immediate(null, null);
-}, "_nullFuture");
-Isolate.$lazy("_RootZone__rootMap", "get$_RootZone__rootMap", function() {
+}, "_nullFuture", "_RootZone__rootMap", "get$_RootZone__rootMap", function() {
return P.HashMap_HashMap(null, null, null, null, null);
-}, "_rootMap");
-Isolate.$lazy("IterableBase__toStringVisiting", "get$IterableBase__toStringVisiting", function() {
+}, "_rootMap", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisiting", function() {
return [];
-}, "_toStringVisiting");
-Isolate.$lazy("_vmFrame", "get$_vmFrame", function() {
+}, "_toStringVisiting", "_vmFrame", "get$_vmFrame", function() {
return P.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$", true, false);
-}, "_vmFrame");
-Isolate.$lazy("_v8Frame", "get$_v8Frame", function() {
+}, "_vmFrame", "_v8Frame", "get$_v8Frame", function() {
return P.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$", true, false);
-}, "_v8Frame");
-Isolate.$lazy("_v8UrlLocation", "get$_v8UrlLocation", function() {
+}, "_v8Frame", "_v8UrlLocation", "get$_v8UrlLocation", function() {
return P.RegExp_RegExp("^(.*):(\\d+):(\\d+)$", true, false);
-}, "_v8UrlLocation");
-Isolate.$lazy("_v8EvalLocation", "get$_v8EvalLocation", function() {
+}, "_v8UrlLocation", "_v8EvalLocation", "get$_v8EvalLocation", function() {
return P.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$", true, false);
-}, "_v8EvalLocation");
-Isolate.$lazy("_firefoxSafariFrame", "get$_firefoxSafariFrame", function() {
+}, "_v8EvalLocation", "_firefoxSafariFrame", "get$_firefoxSafariFrame", function() {
return P.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$", true, false);
-}, "_firefoxSafariFrame");
-Isolate.$lazy("_friendlyFrame", "get$_friendlyFrame", function() {
+}, "_firefoxSafariFrame", "_friendlyFrame", "get$_friendlyFrame", function() {
return P.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d]\\S*)$", true, false);
-}, "_friendlyFrame");
-Isolate.$lazy("_asyncBody", "get$_asyncBody", function() {
+}, "_friendlyFrame", "_asyncBody", "get$_asyncBody", function() {
return P.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>", true, false);
-}, "_asyncBody");
-Isolate.$lazy("_initialDot", "get$_initialDot", function() {
+}, "_asyncBody", "_initialDot", "get$_initialDot", function() {
return P.RegExp_RegExp("^\\.", true, false);
-}, "_initialDot");
-Isolate.$lazy("Frame__uriRegExp", "get$Frame__uriRegExp", function() {
+}, "_initialDot", "Frame__uriRegExp", "get$Frame__uriRegExp", function() {
return P.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://", true, false);
-}, "_uriRegExp");
-Isolate.$lazy("Frame__windowsRegExp", "get$Frame__windowsRegExp", function() {
+}, "_uriRegExp", "Frame__windowsRegExp", "get$Frame__windowsRegExp", function() {
return P.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)", true, false);
-}, "_windowsRegExp");
-Isolate.$lazy("windows", "get$windows", function() {
+}, "_windowsRegExp", "windows", "get$windows", function() {
return F.Context_Context(null, $.get$Style_windows());
-}, "windows");
-Isolate.$lazy("context", "get$context", function() {
+}, "windows", "context", "get$context", function() {
return new F.Context($.get$Style_platform(), null);
-}, "context");
-Isolate.$lazy("Style_posix", "get$Style_posix", function() {
+}, "context", "Style_posix", "get$Style_posix", function() {
return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true, false), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, false), null);
-}, "posix");
-Isolate.$lazy("Style_windows", "get$Style_windows", function() {
+}, "posix", "Style_windows", "get$Style_windows", function() {
return new T.WindowsStyle("windows", "\\", C.List_WnV, P.RegExp_RegExp("[/\\\\]", true, false), P.RegExp_RegExp("[^/\\\\]$", true, false), P.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true, false), P.RegExp_RegExp("^[/\\\\](?![/\\\\])", true, false));
-}, "windows");
-Isolate.$lazy("Style_url", "get$Style_url", function() {
+}, "windows", "Style_url", "get$Style_url", function() {
return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, false), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/", true, false));
-}, "url");
-Isolate.$lazy("Style_platform", "get$Style_platform", function() {
+}, "url", "Style_platform", "get$Style_platform", function() {
return S.Style__getPlatformStyle();
-}, "platform");
-Isolate.$lazy("_terseRegExp", "get$_terseRegExp", function() {
+}, "platform", "_terseRegExp", "get$_terseRegExp", function() {
return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false);
-}, "_terseRegExp");
-Isolate.$lazy("_v8Trace", "get$_v8Trace", function() {
+}, "_terseRegExp", "_v8Trace", "get$_v8Trace", function() {
return P.RegExp_RegExp("\\n ?at ", true, false);
-}, "_v8Trace");
-Isolate.$lazy("_v8TraceLine", "get$_v8TraceLine", function() {
+}, "_v8Trace", "_v8TraceLine", "get$_v8TraceLine", function() {
return P.RegExp_RegExp(" ?at ", true, false);
-}, "_v8TraceLine");
-Isolate.$lazy("_firefoxSafariTrace", "get$_firefoxSafariTrace", function() {
+}, "_v8TraceLine", "_firefoxSafariTrace", "get$_firefoxSafariTrace", function() {
return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true, true);
-}, "_firefoxSafariTrace");
-Isolate.$lazy("_friendlyTrace", "get$_friendlyTrace", function() {
+}, "_firefoxSafariTrace", "_friendlyTrace", "get$_friendlyTrace", function() {
return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true);
-}, "_friendlyTrace");
+}, "_friendlyTrace"]);
+;
+
+{
+ init.metadata = [null];
+ init.types = [{func: 1}, {func: 1, void: true}, {func: 1, args: [,]}, {func: 1, args: [, P.String]}, {func: 1, args: [P.String]}, {func: 1, args: [{func: 1, void: true}]}, {func: 1, void: true, args: [,], opt: [P.StackTrace]}, {func: 1, args: [,], opt: [,]}, {func: 1, ret: P.bool}, {func: 1, args: [P.bool]}, {func: 1, void: true, args: [P.Object], opt: [P.StackTrace]}, {func: 1, void: true, args: [P.Object, P.StackTrace]}, {func: 1, args: [, P.StackTrace]}, {func: 1, void: true, args: [, P.StackTrace]}, {func: 1, args: [P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, {func: 1}]}, {func: 1, args: [P.Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, {func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, {func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, args: [P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.Zone, named: {specification: P.ZoneSpecification, zoneValues: P.Map}}, {func: 1, args: [{func: 1}]}, {func: 1, args: [{func: 1, args: [,]},,]}, {func: 1, args: [{func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [{func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [{func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [{func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Object, P.StackTrace]}, {func: 1, void: true, args: [{func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.String]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, args: [,,]}, {func: 1, args: [P.String,,]}, {func: 1, ret: P.$int, args: [, P.$int]}, {func: 1, void: true, args: [P.$int, P.$int]}, {func: 1, args: [P.Symbol,,]}, {func: 1, ret: P.String, args: [P.$int]}, {func: 1, ret: P.bool, args: [P.$int]}, {func: 1, ret: P.$int, args: [,,]}, {func: 1, void: true, args: [P.String], opt: [,]}, {func: 1, ret: P.$int, args: [P.$int, P.$int]}, {func: 1, ret: P.$int, args: [,]}, {func: 1, args: [P.$int]}, {func: 1, args: [P.$int,,]}, {func: 1, void: true, args: [,]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, ret: {func: 1, args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, void: true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.bool, args: [,,]}, {func: 1, ret: P.Object, args: [,]}, {func: 1, ret: P.bool, args: [P.Object, P.Object]}, {func: 1, ret: P.$int, args: [P.Object]}, {func: 1, ret: P.String, args: [P.String]}, {func: 1, ret: P.num, args: [P.num, P.num]}];
+}
-init.metadata = [,
-];
-init.types = [{func: ""},
-{func: "", void: true},
-{func: "", args: [,]},
-{func: "", args: [, P.String]},
-{func: "", args: [P.String]},
-{func: "", args: [{func: "", void: true}]},
-{func: "", void: true, args: [,], opt: [P.StackTrace]},
-{func: "", args: [,], opt: [,]},
-{func: "", ret: P.bool},
-{func: "", args: [P.bool]},
-{func: "", void: true, args: [P.Object], opt: [P.StackTrace]},
-{func: "", void: true, args: [P.Object, P.StackTrace]},
-{func: "", args: [, P.StackTrace]},
-{func: "", void: true, args: [, P.StackTrace]},
-{func: "", args: [P.Zone,, P.StackTrace]},
-{func: "", args: [P.Zone, {func: ""}]},
-{func: "", args: [P.Zone, {func: "", args: [,]},,]},
-{func: "", args: [P.Zone, {func: "", args: [,,]},,,]},
-{func: "", ret: {func: ""}, args: [P.Zone, {func: ""}]},
-{func: "", ret: {func: "", args: [,]}, args: [P.Zone, {func: "", args: [,]}]},
-{func: "", ret: {func: "", args: [,,]}, args: [P.Zone, {func: "", args: [,,]}]},
-{func: "", ret: P.AsyncError, args: [P.Zone, P.Object, P.StackTrace]},
-{func: "", void: true, args: [P.Zone, {func: ""}]},
-{func: "", ret: P.Timer, args: [P.Zone, P.Duration, {func: "", void: true}]},
-{func: "", ret: P.Timer, args: [P.Zone, P.Duration, {func: "", void: true, args: [P.Timer]}]},
-{func: "", void: true, args: [P.Zone, P.String]},
-{func: "", ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]},
-{func: "", ret: P.Zone, named: {specification: P.ZoneSpecification, zoneValues: P.Map}},
-{func: "", args: [{func: ""}]},
-{func: "", args: [{func: "", args: [,]},,]},
-{func: "", args: [{func: "", args: [,,]},,,]},
-{func: "", ret: {func: ""}, args: [{func: ""}]},
-{func: "", ret: {func: "", args: [,]}, args: [{func: "", args: [,]}]},
-{func: "", ret: {func: "", args: [,,]}, args: [{func: "", args: [,,]}]},
-{func: "", ret: P.AsyncError, args: [P.Object, P.StackTrace]},
-{func: "", void: true, args: [{func: "", void: true}]},
-{func: "", ret: P.Timer, args: [P.Duration, {func: "", void: true}]},
-{func: "", ret: P.Timer, args: [P.Duration, {func: "", void: true, args: [P.Timer]}]},
-{func: "", void: true, args: [P.String]},
-{func: "", args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]},
-{func: "", args: [,,]},
-{func: "", args: [P.String,,]},
-{func: "", ret: P.$int, args: [, P.$int]},
-{func: "", void: true, args: [P.$int, P.$int]},
-{func: "", args: [P.Symbol,,]},
-{func: "", ret: P.String, args: [P.$int]},
-{func: "", ret: P.bool, args: [P.$int]},
-{func: "", ret: P.$int, args: [,,]},
-{func: "", void: true, args: [P.String], opt: [,]},
-{func: "", ret: P.$int, args: [P.$int, P.$int]},
-{func: "", ret: P.$int, args: [,]},
-{func: "", args: [P.$int]},
-{func: "", args: [P.$int,,]},
-{func: "", void: true, args: [,]},
-{func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]},
-{func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]},
-{func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,]},,]},
-{func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,,]},,,]},
-{func: "", ret: {func: ""}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]},
-{func: "", ret: {func: "", args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,]}]},
-{func: "", ret: {func: "", args: [,,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,,]}]},
-{func: "", ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]},
-{func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]},
-{func: "", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: "", void: true}]},
-{func: "", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: "", void: true, args: [P.Timer]}]},
-{func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]},
-{func: "", ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, P.Map]},
-{func: "", ret: P.bool, args: [,,]},
-{func: "", ret: P.Object, args: [,]},
-{func: "", ret: P.bool, args: [P.Object, P.Object]},
-{func: "", ret: P.$int, args: [P.Object]},
-{func: "", ret: P.String, args: [P.String]},
-{func: "", ret: P.num, args: [P.num, P.num]},
-];
$ = null;
Isolate = Isolate.$finishIsolateConstructor(Isolate);
$ = new Isolate();
@@ -13998,9 +13857,6 @@ function convertToSlowObject(properties) {
return properties;
}
;
-function markerFun() {
-}
-;
A = convertToFastObject(A);
B = convertToFastObject(B);
C = convertToFastObject(C);

Powered by Google App Engine
This is Rietveld 408576698