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

Unified Diff: pkg/dev_compiler/lib/js/legacy/dart_sdk.js

Issue 2659063002: Fix DOM constructors in inline JS (Closed)
Patch Set: Created 3 years, 11 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:
Download patch
Index: pkg/dev_compiler/lib/js/legacy/dart_sdk.js
diff --git a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
index ababd631e1c11d9edc512a7e64f75113db5b26c0..a2d403e1d822c48e52e31a93797f4fa5743e3b16 100644
--- a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
+++ b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
@@ -2117,7 +2117,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart._trackCall = function(obj) {
if (!dart.trackProfile) return;
let actual = dart.getReifiedType(obj);
- let stackStr = new Error().stack;
+ let stackStr = new self.Error().stack;
let stack = stackStr[dartx.split]('\n at ');
let src = '';
for (let i = 2; i < dart.notNull(stack[dartx.length]); ++i) {
@@ -2600,7 +2600,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.isNamedConstructor = Symbol("isNamedConstructor");
dart.defineLazy(dart, {
get _lazyJSTypes() {
- return new Map();
+ return new self.Map();
},
set _lazyJSTypes(_) {}
});
@@ -2793,9 +2793,9 @@ dart_library.library('dart_sdk', null, /* Imports */[
constructors: () => ({new: dart.definiteFunctionType(dart.AbstractFunctionType, [])}),
fields: () => ({[_stringValue]: core.String})
});
- dart._fnTypeNamedArgMap = new Map();
- dart._fnTypeArrayArgMap = new Map();
- dart._fnTypeTypeMap = new Map();
+ dart._fnTypeNamedArgMap = new self.Map();
+ dart._fnTypeArrayArgMap = new self.Map();
+ dart._fnTypeTypeMap = new self.Map();
dart._fnTypeSmallMap = [new Map(), new Map(), new Map()];
const _process = Symbol('_process');
dart.FunctionType = class FunctionType extends dart.AbstractFunctionType {
@@ -3096,8 +3096,8 @@ dart_library.library('dart_sdk', null, /* Imports */[
})();
dart._stack = null;
dart._value = Symbol("_value");
- dart.constants = new Map();
- dart.constantLists = new Map();
+ dart.constants = new self.Map();
+ dart.constantLists = new self.Map();
dart.JsIterator = class JsIterator {
constructor(dartIterator) {
this.dartIterator = dartIterator;
@@ -9765,7 +9765,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return _isolate_helper.IsolateNatives.computeThisScriptFromTrace();
}
static computeThisScriptFromTrace() {
- let stack = new Error().stack;
+ let stack = new self.Error().stack;
if (stack == null) {
stack = (function() {
try {
@@ -9778,10 +9778,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
if (stack == null) dart.throw(new core.UnsupportedError('No stack trace'));
}
let pattern = null, matches = null;
- pattern = new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m");
+ pattern = new self.RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m");
matches = stack.match(pattern);
if (matches != null) return matches[1];
- pattern = new RegExp("^[^@]*@(.*):[0-9]*$", "m");
+ pattern = new self.RegExp("^[^@]*@(.*):[0-9]*$", "m");
matches = stack.match(pattern);
if (matches != null) return matches[1];
dart.throw(new core.UnsupportedError(dart.str`Cannot extract URI from "${stack}"`));
@@ -9972,7 +9972,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
}
static _spawnWorker(functionName, uri, args, message, isSpawnUri, startPaused, replyPort, onError) {
if (uri == null) uri = _isolate_helper.IsolateNatives.thisScript;
- let worker = new Worker(uri);
+ let worker = new self.Worker(uri);
let onerrorTrampoline = (function(f, u, c) {
return function(e) {
return f(e, u, c);
@@ -11765,7 +11765,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
if (dart.test(isUtc)) {
value = Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds);
} else {
- value = new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf();
+ value = new self.Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf();
}
if (dart.test(value[dartx.isNaN]) || dart.notNull(value) < -MAX_MILLISECONDS_SINCE_EPOCH || dart.notNull(value) > MAX_MILLISECONDS_SINCE_EPOCH) {
return null;
@@ -11774,7 +11774,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return value;
}
static patchUpY2K(value, years, isUtc) {
- let date = new Date(value);
+ let date = new self.Date(value);
if (dart.test(isUtc)) {
date.setUTCFullYear(years);
} else {
@@ -12852,7 +12852,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return table.has(key);
}
[_newHashTable]() {
- return new Map();
+ return new self.Map();
}
}
return Es6LinkedHashMap;
@@ -13456,7 +13456,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
}
} else {
let quoted = _js_helper.quoteStringForRegExp(pattern);
- let replacer = new RegExp(quoted, 'g');
+ let replacer = new self.RegExp(quoted, 'g');
return _js_helper.stringReplaceJS(receiver, replacer, replacement);
}
} else if (_js_helper.JSSyntaxRegExp.is(pattern)) {
@@ -16334,13 +16334,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
return this.setUint8.apply(this, args);
}
static _create1(arg) {
- return new DataView(new ArrayBuffer(arg));
+ return new self.DataView(new ArrayBuffer(arg));
}
static _create2(arg1, arg2) {
- return new DataView(arg1, arg2);
+ return new self.DataView(arg1, arg2);
}
static _create3(arg1, arg2, arg3) {
- return new DataView(arg1, arg2, arg3);
+ return new self.DataView(arg1, arg2, arg3);
}
};
_native_typed_data.NativeByteData[dart.implements] = () => [typed_data.ByteData];
@@ -24185,7 +24185,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
let VTobool = () => (VTobool = dart.constFn(dart.definiteFunctionType(core.bool, [V])))();
class _Es6LinkedIdentityHashMap extends collection._LinkedIdentityHashMap$(K, V) {
new() {
- this[_map$0] = new Map();
+ this[_map$0] = new self.Map();
this[_modifications$] = 0;
super.new();
}
@@ -29454,7 +29454,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
if (!(typeof length == 'number') || dart.notNull(length) < 0) {
dart.throw(new core.ArgumentError(dart.str`Length must be a non-negative integer: ${length}`));
}
- list = _interceptors.JSArray.markFixedList(new Array(length));
+ list = _interceptors.JSArray.markFixedList(new self.Array(length));
}
return JSArrayOfE().typed(list);
}
@@ -34444,7 +34444,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
}
static get current() {
if (Error.captureStackTrace != null) {
- let error = new Error();
+ let error = new self.Error();
Error.captureStackTrace(error);
return _js_helper.getTraceFromException(error);
}
@@ -53028,12 +53028,12 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.fn(js._wrapToDartHelper, dynamicToObject());
dart.defineLazy(js, {
get _dartProxies() {
- return new WeakMap();
+ return new self.WeakMap();
}
});
dart.defineLazy(js, {
get _jsProxies() {
- return new WeakMap();
+ return new self.WeakMap();
}
});
js._putIfAbsent = function(weakMap, o, getValue) {
@@ -55635,10 +55635,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.Event._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new Event(type, eventInitDict);
+ return new self.Event(type, eventInitDict);
}
static _create_2(type) {
- return new Event(type);
+ return new self.Event(type);
}
get [dartx.bubbles]() {
return this.bubbles;
@@ -55750,10 +55750,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return indexed_db.VersionChangeEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new IDBVersionChangeEvent(type, eventInitDict);
+ return new self.IDBVersionChangeEvent(type, eventInitDict);
}
static _create_2(type) {
- return new IDBVersionChangeEvent(type);
+ return new self.IDBVersionChangeEvent(type);
}
get [dartx.dataLoss]() {
return this.dataLoss;
@@ -58345,10 +58345,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.AnimationEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new AnimationEvent(type, eventInitDict);
+ return new self.AnimationEvent(type, eventInitDict);
}
static _create_2(type) {
- return new AnimationEvent(type);
+ return new self.AnimationEvent(type);
}
get [dartx.animationName]() {
return this.animationName;
@@ -58390,10 +58390,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.AnimationPlayerEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new AnimationPlayerEvent(type, eventInitDict);
+ return new self.AnimationPlayerEvent(type, eventInitDict);
}
static _create_2(type) {
- return new AnimationPlayerEvent(type);
+ return new self.AnimationPlayerEvent(type);
}
get [dartx.currentTime]() {
return this.currentTime;
@@ -58630,10 +58630,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.ApplicationCacheErrorEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new ApplicationCacheErrorEvent(type, eventInitDict);
+ return new self.ApplicationCacheErrorEvent(type, eventInitDict);
}
static _create_2(type) {
- return new ApplicationCacheErrorEvent(type);
+ return new self.ApplicationCacheErrorEvent(type);
}
get [dartx.message]() {
return this.message;
@@ -59211,10 +59211,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.AudioElement._create_2();
}
static _create_1(src) {
- return new Audio(src);
+ return new self.Audio(src);
}
static _create_2() {
- return new Audio();
+ return new self.Audio();
}
created() {
super.created();
@@ -59334,10 +59334,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.AutocompleteErrorEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new AutocompleteErrorEvent(type, eventInitDict);
+ return new self.AutocompleteErrorEvent(type, eventInitDict);
}
static _create_2(type) {
- return new AutocompleteErrorEvent(type);
+ return new self.AutocompleteErrorEvent(type);
}
get [dartx.reason]() {
return this.reason;
@@ -59485,10 +59485,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.BeforeInstallPromptEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new BeforeInstallPromptEvent(type, eventInitDict);
+ return new self.BeforeInstallPromptEvent(type, eventInitDict);
}
static _create_2(type) {
- return new BeforeInstallPromptEvent(type);
+ return new self.BeforeInstallPromptEvent(type);
}
get [dartx.platforms]() {
return this.platforms;
@@ -61059,7 +61059,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.CircularGeofencingRegion._create_1(init_1);
}
static _create_1(init) {
- return new CircularGeofencingRegion(init);
+ return new self.CircularGeofencingRegion(init);
}
get [dartx.latitude]() {
return this.latitude;
@@ -61221,10 +61221,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.CloseEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new CloseEvent(type, eventInitDict);
+ return new self.CloseEvent(type, eventInitDict);
}
static _create_2(type) {
- return new CloseEvent(type);
+ return new self.CloseEvent(type);
}
get [dartx.code]() {
return this.code;
@@ -61305,10 +61305,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.UIEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new UIEvent(type, eventInitDict);
+ return new self.UIEvent(type, eventInitDict);
}
static _create_2(type) {
- return new UIEvent(type);
+ return new self.UIEvent(type);
}
get [_charCode]() {
return this.charCode;
@@ -61387,10 +61387,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.CompositionEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new CompositionEvent(type, eventInitDict);
+ return new self.CompositionEvent(type, eventInitDict);
}
static _create_2(type) {
- return new CompositionEvent(type);
+ return new self.CompositionEvent(type);
}
get [dartx.data]() {
return this.data;
@@ -61429,7 +61429,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.CompositorProxy._create_1(element, attributeArray);
}
static _create_1(element, attributeArray) {
- return new CompositorProxy(element, attributeArray);
+ return new self.CompositorProxy(element, attributeArray);
}
get [dartx.opacity]() {
return this.opacity;
@@ -61495,7 +61495,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.CompositorWorker._create_1(scriptUrl);
}
static _create_1(scriptUrl) {
- return new CompositorWorker(scriptUrl);
+ return new self.CompositorWorker(scriptUrl);
}
[dartx.postMessage](message, transfer) {
if (transfer === void 0) transfer = null;
@@ -69119,10 +69119,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.CustomEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new CustomEvent(type, eventInitDict);
+ return new self.CustomEvent(type, eventInitDict);
}
static _create_2(type) {
- return new CustomEvent(type);
+ return new self.CustomEvent(type);
}
get [_detail]() {
return html_common.convertNativeToDart_SerializedScriptValue(this[_get__detail]);
@@ -69437,10 +69437,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.DefaultSessionStartEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new DefaultSessionStartEvent(type, eventInitDict);
+ return new self.DefaultSessionStartEvent(type, eventInitDict);
}
static _create_2(type) {
- return new DefaultSessionStartEvent(type);
+ return new self.DefaultSessionStartEvent(type);
}
get [dartx.session]() {
return this.session;
@@ -69590,10 +69590,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.DeviceLightEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new DeviceLightEvent(type, eventInitDict);
+ return new self.DeviceLightEvent(type, eventInitDict);
}
static _create_2(type) {
- return new DeviceLightEvent(type);
+ return new self.DeviceLightEvent(type);
}
get [dartx.value]() {
return this.value;
@@ -71096,10 +71096,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.DomError._create_2(name);
}
static _create_1(name, message) {
- return new DOMError(name, message);
+ return new self.DOMError(name, message);
}
static _create_2(name) {
- return new DOMError(name);
+ return new self.DOMError(name);
}
get [dartx.message]() {
return this.message;
@@ -71482,10 +71482,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.throw(new core.ArgumentError("Incorrect number or type of arguments"));
}
static _create_1() {
- return new DOMMatrix();
+ return new self.DOMMatrix();
}
static _create_2(other) {
- return new DOMMatrix(other);
+ return new self.DOMMatrix(other);
}
get [dartx.a]() {
return this.a;
@@ -71693,7 +71693,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.DomParser._create_1();
}
static _create_1() {
- return new DOMParser();
+ return new self.DOMParser();
}
[dartx.parseFromString](...args) {
return this.parseFromString.apply(this, args);
@@ -71723,7 +71723,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.DomPointReadOnly._create_1(x, y, z, w);
}
static _create_1(x, y, z, w) {
- return new DOMPointReadOnly(x, y, z, w);
+ return new self.DOMPointReadOnly(x, y, z, w);
}
get [dartx.w]() {
return this.w;
@@ -71794,22 +71794,22 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.throw(new core.ArgumentError("Incorrect number or type of arguments"));
}
static _create_1(point_OR_x) {
- return new DOMPoint(point_OR_x);
+ return new self.DOMPoint(point_OR_x);
}
static _create_2() {
- return new DOMPoint();
+ return new self.DOMPoint();
}
static _create_3(point_OR_x) {
- return new DOMPoint(point_OR_x);
+ return new self.DOMPoint(point_OR_x);
}
static _create_4(point_OR_x, y) {
- return new DOMPoint(point_OR_x, y);
+ return new self.DOMPoint(point_OR_x, y);
}
static _create_5(point_OR_x, y, z) {
- return new DOMPoint(point_OR_x, y, z);
+ return new self.DOMPoint(point_OR_x, y, z);
}
static _create_6(point_OR_x, y, z, w) {
- return new DOMPoint(point_OR_x, y, z, w);
+ return new self.DOMPoint(point_OR_x, y, z, w);
}
static get supported() {
return !!window.DOMPoint || !!window.WebKitPoint;
@@ -71942,7 +71942,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.DomRectReadOnly._create_1(x, y, width, height);
}
static _create_1(x, y, width, height) {
- return new DOMRectReadOnly(x, y, width, height);
+ return new self.DOMRectReadOnly(x, y, width, height);
}
get [dartx.bottom]() {
return this.bottom;
@@ -73007,10 +73007,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.ErrorEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new ErrorEvent(type, eventInitDict);
+ return new self.ErrorEvent(type, eventInitDict);
}
static _create_2(type) {
- return new ErrorEvent(type);
+ return new self.ErrorEvent(type);
}
get [dartx.colno]() {
return this.colno;
@@ -73074,10 +73074,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.EventSource._create_2(url);
}
static _create_1(url, eventSourceInitDict) {
- return new EventSource(url, eventSourceInitDict);
+ return new self.EventSource(url, eventSourceInitDict);
}
static _create_2(url) {
- return new EventSource(url);
+ return new self.EventSource(url);
}
get [dartx.readyState]() {
return this.readyState;
@@ -73199,10 +73199,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.ExtendableEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new ExtendableEvent(type, eventInitDict);
+ return new self.ExtendableEvent(type, eventInitDict);
}
static _create_2(type) {
- return new ExtendableEvent(type);
+ return new self.ExtendableEvent(type);
}
[dartx.waitUntil](...args) {
return this.waitUntil.apply(this, args);
@@ -73234,7 +73234,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.FederatedCredential._create_1(data_1);
}
static _create_1(data) {
- return new FederatedCredential(data);
+ return new self.FederatedCredential(data);
}
get [dartx.protocol]() {
return this.protocol;
@@ -73274,10 +73274,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.FetchEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new FetchEvent(type, eventInitDict);
+ return new self.FetchEvent(type, eventInitDict);
}
static _create_2(type) {
- return new FetchEvent(type);
+ return new self.FetchEvent(type);
}
get [dartx.isReload]() {
return this.isReload;
@@ -73421,10 +73421,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.File._create_2(fileBits, fileName);
}
static _create_1(fileBits, fileName, options) {
- return new File(fileBits, fileName, options);
+ return new self.File(fileBits, fileName, options);
}
static _create_2(fileBits, fileName) {
- return new File(fileBits, fileName);
+ return new self.File(fileBits, fileName);
}
get [dartx.lastModified]() {
return this.lastModified;
@@ -73648,7 +73648,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.FileReader._create_1();
}
static _create_1() {
- return new FileReader();
+ return new self.FileReader();
}
get [dartx.error]() {
return this.error;
@@ -73932,10 +73932,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.FocusEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new FocusEvent(type, eventInitDict);
+ return new self.FocusEvent(type, eventInitDict);
}
static _create_2(type) {
- return new FocusEvent(type);
+ return new self.FocusEvent(type);
}
get [dartx.relatedTarget]() {
return html$._convertNativeToDart_EventTarget(this[_get_relatedTarget]);
@@ -73983,10 +73983,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.FontFace._create_2(family, source);
}
static _create_1(family, source, descriptors) {
- return new FontFace(family, source, descriptors);
+ return new self.FontFace(family, source, descriptors);
}
static _create_2(family, source) {
- return new FontFace(family, source);
+ return new self.FontFace(family, source);
}
get [dartx.family]() {
return this.family;
@@ -74157,10 +74157,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.FormData._create_2();
}
static _create_1(form) {
- return new FormData(form);
+ return new self.FormData(form);
}
static _create_2() {
- return new FormData();
+ return new self.FormData();
}
static get supported() {
return !!window.FormData;
@@ -74451,10 +74451,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.GamepadEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new GamepadEvent(type, eventInitDict);
+ return new self.GamepadEvent(type, eventInitDict);
}
static _create_2(type) {
- return new GamepadEvent(type);
+ return new self.GamepadEvent(type);
}
get [dartx.gamepad]() {
return this.gamepad;
@@ -75301,7 +75301,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
let oldUrl = opts && 'oldUrl' in opts ? opts.oldUrl : null;
let newUrl = opts && 'newUrl' in opts ? opts.newUrl : null;
let options = dart.map({canBubble: canBubble, cancelable: cancelable, oldURL: oldUrl, newURL: newUrl}, core.String, core.Object);
- return new HashChangeEvent(type, html_common.convertDartToNative_Dictionary(options));
+ return new self.HashChangeEvent(type, html_common.convertDartToNative_Dictionary(options));
}
static _(type, eventInitDict) {
if (eventInitDict === void 0) eventInitDict = null;
@@ -75312,10 +75312,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.HashChangeEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new HashChangeEvent(type, eventInitDict);
+ return new self.HashChangeEvent(type, eventInitDict);
}
static _create_2(type) {
- return new HashChangeEvent(type);
+ return new self.HashChangeEvent(type);
}
static get supported() {
return html_common.Device.isEventTypeSupported('HashChangeEvent');
@@ -75390,16 +75390,16 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.throw(new core.ArgumentError("Incorrect number or type of arguments"));
}
static _create_1() {
- return new Headers();
+ return new self.Headers();
}
static _create_2(input) {
- return new Headers(input);
+ return new self.Headers(input);
}
static _create_3(input) {
- return new Headers(input);
+ return new self.Headers(input);
}
static _create_4(input) {
- return new Headers(input);
+ return new self.Headers(input);
}
};
dart.setSignature(html$.Headers, {
@@ -76081,7 +76081,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
if (method == null) {
method = 'GET';
}
- let xhr = new XDomainRequest();
+ let xhr = new self.XDomainRequest();
xhr.open(method, url);
xhr.onload = _js_helper.convertDartClosureToJS(dynamicTodynamic())(dart.fn(e => {
let response = xhr.responseText;
@@ -76135,7 +76135,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.HttpRequest._create_1();
}
static _create_1() {
- return new XMLHttpRequest();
+ return new self.XMLHttpRequest();
}
get [dartx.readyState]() {
return this.readyState;
@@ -76420,13 +76420,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.throw(new core.ArgumentError("Incorrect number or type of arguments"));
}
static _create_1(data_OR_sw, sh_OR_sw) {
- return new ImageData(data_OR_sw, sh_OR_sw);
+ return new self.ImageData(data_OR_sw, sh_OR_sw);
}
static _create_2(data_OR_sw, sh_OR_sw) {
- return new ImageData(data_OR_sw, sh_OR_sw);
+ return new self.ImageData(data_OR_sw, sh_OR_sw);
}
static _create_3(data_OR_sw, sh_OR_sw, sh) {
- return new ImageData(data_OR_sw, sh_OR_sw, sh);
+ return new self.ImageData(data_OR_sw, sh_OR_sw, sh);
}
get [dartx.data]() {
return this.data;
@@ -76625,10 +76625,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.InputDevice._create_2();
}
static _create_1(deviceInitDict) {
- return new InputDevice(deviceInitDict);
+ return new self.InputDevice(deviceInitDict);
}
static _create_2() {
- return new InputDevice();
+ return new self.InputDevice();
}
get [dartx.firesTouchEvents]() {
return this.firesTouchEvents;
@@ -78346,10 +78346,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.KeyboardEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new KeyboardEvent(type, eventInitDict);
+ return new self.KeyboardEvent(type, eventInitDict);
}
static _create_2(type) {
- return new KeyboardEvent(type);
+ return new self.KeyboardEvent(type);
}
get [dartx.altKey]() {
return this.altKey;
@@ -78447,13 +78447,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.throw(new core.ArgumentError("Incorrect number or type of arguments"));
}
static _create_1(target, keyframes) {
- return new KeyframeEffect(target, keyframes);
+ return new self.KeyframeEffect(target, keyframes);
}
static _create_2(target, keyframes, timing) {
- return new KeyframeEffect(target, keyframes, timing);
+ return new self.KeyframeEffect(target, keyframes, timing);
}
static _create_3(target, keyframes, timing) {
- return new KeyframeEffect(target, keyframes, timing);
+ return new self.KeyframeEffect(target, keyframes, timing);
}
};
dart.setSignature(html$.KeyframeEffect, {
@@ -78993,7 +78993,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MediaController._create_1();
}
static _create_1() {
- return new MediaController();
+ return new self.MediaController();
}
get [dartx.buffered]() {
return this.buffered;
@@ -79159,10 +79159,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MediaEncryptedEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MediaEncryptedEvent(type, eventInitDict);
+ return new self.MediaEncryptedEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MediaEncryptedEvent(type);
+ return new self.MediaEncryptedEvent(type);
}
get [dartx.initData]() {
return this.initData;
@@ -79272,10 +79272,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MediaKeyEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MediaKeyEvent(type, eventInitDict);
+ return new self.MediaKeyEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MediaKeyEvent(type);
+ return new self.MediaKeyEvent(type);
}
get [dartx.defaultUrl]() {
return this.defaultURL;
@@ -79337,10 +79337,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MediaKeyMessageEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MediaKeyMessageEvent(type, eventInitDict);
+ return new self.MediaKeyMessageEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MediaKeyMessageEvent(type);
+ return new self.MediaKeyMessageEvent(type);
}
get [dartx.message]() {
return this.message;
@@ -79603,10 +79603,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MediaQueryListEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MediaQueryListEvent(type, eventInitDict);
+ return new self.MediaQueryListEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MediaQueryListEvent(type);
+ return new self.MediaQueryListEvent(type);
}
get [dartx.matches]() {
return this.matches;
@@ -79643,7 +79643,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MediaSession._create_1();
}
static _create_1() {
- return new MediaSession();
+ return new self.MediaSession();
}
[dartx.activate](...args) {
return this.activate.apply(this, args);
@@ -79682,7 +79682,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MediaSource._create_1();
}
static _create_1() {
- return new MediaSource();
+ return new self.MediaSource();
}
static get supported() {
return !!window.MediaSource;
@@ -79771,13 +79771,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
dart.throw(new core.ArgumentError("Incorrect number or type of arguments"));
}
static _create_1() {
- return new MediaStream();
+ return new self.MediaStream();
}
static _create_2(stream_OR_tracks) {
- return new MediaStream(stream_OR_tracks);
+ return new self.MediaStream(stream_OR_tracks);
}
static _create_3(stream_OR_tracks) {
- return new MediaStream(stream_OR_tracks);
+ return new self.MediaStream(stream_OR_tracks);
}
get [dartx.active]() {
return this.active;
@@ -79895,10 +79895,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MediaStreamEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MediaStreamEvent(type, eventInitDict);
+ return new self.MediaStreamEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MediaStreamEvent(type);
+ return new self.MediaStreamEvent(type);
}
static get supported() {
return html_common.Device.isEventTypeSupported('MediaStreamEvent');
@@ -80243,7 +80243,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
source = html$.window;
}
if (!dart.test(html_common.Device.isIE)) {
- return new MessageEvent(type, {bubbles: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, ports: messagePorts});
+ return new self.MessageEvent(type, {bubbles: canBubble, cancelable: cancelable, data: data, origin: origin, lastEventId: lastEventId, source: source, ports: messagePorts});
}
let event = html$.MessageEvent._check(html$.document[_createEvent]("MessageEvent"));
event[_initMessageEvent](type, canBubble, cancelable, data, origin, lastEventId, source, messagePorts);
@@ -80264,10 +80264,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MessageEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MessageEvent(type, eventInitDict);
+ return new self.MessageEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MessageEvent(type);
+ return new self.MessageEvent(type);
}
get [dartx.lastEventId]() {
return this.lastEventId;
@@ -80575,10 +80575,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MidiConnectionEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MIDIConnectionEvent(type, eventInitDict);
+ return new self.MIDIConnectionEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MIDIConnectionEvent(type);
+ return new self.MIDIConnectionEvent(type);
}
get [dartx.port]() {
return this.port;
@@ -80712,10 +80712,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MidiMessageEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MIDIMessageEvent(type, eventInitDict);
+ return new self.MIDIMessageEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MIDIMessageEvent(type);
+ return new self.MIDIMessageEvent(type);
}
get [dartx.data]() {
return this.data;
@@ -80982,10 +80982,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.MouseEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new MouseEvent(type, eventInitDict);
+ return new self.MouseEvent(type, eventInitDict);
}
static _create_2(type) {
- return new MouseEvent(type);
+ return new self.MouseEvent(type);
}
get [dartx.altKey]() {
return this.altKey;
@@ -82182,10 +82182,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.Notification._create_2(title);
}
static _create_1(title, options) {
- return new Notification(title, options);
+ return new self.Notification(title, options);
}
static _create_2(title) {
- return new Notification(title);
+ return new self.Notification(title);
}
static get supported() {
return !!window.Notification;
@@ -82314,10 +82314,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.NotificationEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new NotificationEvent(type, eventInitDict);
+ return new self.NotificationEvent(type, eventInitDict);
}
static _create_2(type) {
- return new NotificationEvent(type);
+ return new self.NotificationEvent(type);
}
get [dartx.notification]() {
return this.notification;
@@ -82597,19 +82597,19 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.OptionElement._create_5();
}
static _create_1(data, value, defaultSelected, selected) {
- return new Option(data, value, defaultSelected, selected);
+ return new self.Option(data, value, defaultSelected, selected);
}
static _create_2(data, value, defaultSelected) {
- return new Option(data, value, defaultSelected);
+ return new self.Option(data, value, defaultSelected);
}
static _create_3(data, value) {
- return new Option(data, value);
+ return new self.Option(data, value);
}
static _create_4(data) {
- return new Option(data);
+ return new self.Option(data);
}
static _create_5() {
- return new Option();
+ return new self.Option();
}
created() {
this[dartx.defaultSelected] = null;
@@ -82814,10 +82814,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.PageTransitionEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new PageTransitionEvent(type, eventInitDict);
+ return new self.PageTransitionEvent(type, eventInitDict);
}
static _create_2(type) {
- return new PageTransitionEvent(type);
+ return new self.PageTransitionEvent(type);
}
get [dartx.persisted]() {
return this.persisted;
@@ -82932,13 +82932,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.PasswordCredential._create_3(id, password);
}
static _create_1(id, password, name, iconURL) {
- return new PasswordCredential(id, password, name, iconURL);
+ return new self.PasswordCredential(id, password, name, iconURL);
}
static _create_2(id, password, name) {
- return new PasswordCredential(id, password, name);
+ return new self.PasswordCredential(id, password, name);
}
static _create_3(id, password) {
- return new PasswordCredential(id, password);
+ return new self.PasswordCredential(id, password);
}
get [dartx.formData]() {
return this.formData;
@@ -83488,7 +83488,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.PeriodicSyncEvent._create_1(type, init_1);
}
static _create_1(type, init) {
- return new PeriodicSyncEvent(type, init);
+ return new self.PeriodicSyncEvent(type, init);
}
get [dartx.registration]() {
return this.registration;
@@ -83851,10 +83851,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.PointerEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new PointerEvent(type, eventInitDict);
+ return new self.PointerEvent(type, eventInitDict);
}
static _create_2(type) {
- return new PointerEvent(type);
+ return new self.PointerEvent(type);
}
get [dartx.height]() {
return this.height;
@@ -83919,10 +83919,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.PopStateEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new PopStateEvent(type, eventInitDict);
+ return new self.PopStateEvent(type, eventInitDict);
}
static _create_2(type) {
- return new PopStateEvent(type);
+ return new self.PopStateEvent(type);
}
get [dartx.state]() {
return html_common.convertNativeToDart_SerializedScriptValue(this[_get_state]);
@@ -84239,10 +84239,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.ProgressEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new ProgressEvent(type, eventInitDict);
+ return new self.ProgressEvent(type, eventInitDict);
}
static _create_2(type) {
- return new ProgressEvent(type);
+ return new self.ProgressEvent(type);
}
get [dartx.lengthComputable]() {
return this.lengthComputable;
@@ -84288,10 +84288,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.PromiseRejectionEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new PromiseRejectionEvent(type, eventInitDict);
+ return new self.PromiseRejectionEvent(type, eventInitDict);
}
static _create_2(type) {
- return new PromiseRejectionEvent(type);
+ return new self.PromiseRejectionEvent(type);
}
get [dartx.promise]() {
return this.promise;
@@ -84332,10 +84332,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.PushEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new PushEvent(type, eventInitDict);
+ return new self.PushEvent(type, eventInitDict);
}
static _create_2(type) {
- return new PushEvent(type);
+ return new self.PushEvent(type);
}
get [dartx.data]() {
return this.data;
@@ -84426,7 +84426,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.PushMessageData._create_1(message);
}
static _create_1(message) {
- return new PushMessageData(message);
+ return new self.PushMessageData(message);
}
[dartx.arrayBuffer](...args) {
return this.arrayBuffer.apply(this, args);
@@ -84823,10 +84823,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.RelatedEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new RelatedEvent(type, eventInitDict);
+ return new self.RelatedEvent(type, eventInitDict);
}
static _create_2(type) {
- return new RelatedEvent(type);
+ return new self.RelatedEvent(type);
}
get [dartx.relatedTarget]() {
return html$._convertNativeToDart_EventTarget(this[_get_relatedTarget]);
@@ -85094,7 +85094,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.RtcDtmfToneChangeEvent._create_1(type, eventInitDict_1);
}
static _create_1(type, eventInitDict) {
- return new RTCDTMFToneChangeEvent(type, eventInitDict);
+ return new self.RTCDTMFToneChangeEvent(type, eventInitDict);
}
get [dartx.tone]() {
return this.tone;
@@ -85895,31 +85895,31 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.ScrollState._create_9();
}
static _create_1(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase, isBeginning, isEnding) {
- return new ScrollState(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase, isBeginning, isEnding);
+ return new self.ScrollState(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase, isBeginning, isEnding);
}
static _create_2(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase, isBeginning) {
- return new ScrollState(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase, isBeginning);
+ return new self.ScrollState(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase, isBeginning);
}
static _create_3(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase) {
- return new ScrollState(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase);
+ return new self.ScrollState(deltaX, deltaY, deltaGranularity, velocityX, velocityY, inInertialPhase);
}
static _create_4(deltaX, deltaY, deltaGranularity, velocityX, velocityY) {
- return new ScrollState(deltaX, deltaY, deltaGranularity, velocityX, velocityY);
+ return new self.ScrollState(deltaX, deltaY, deltaGranularity, velocityX, velocityY);
}
static _create_5(deltaX, deltaY, deltaGranularity, velocityX) {
- return new ScrollState(deltaX, deltaY, deltaGranularity, velocityX);
+ return new self.ScrollState(deltaX, deltaY, deltaGranularity, velocityX);
}
static _create_6(deltaX, deltaY, deltaGranularity) {
- return new ScrollState(deltaX, deltaY, deltaGranularity);
+ return new self.ScrollState(deltaX, deltaY, deltaGranularity);
}
static _create_7(deltaX, deltaY) {
- return new ScrollState(deltaX, deltaY);
+ return new self.ScrollState(deltaX, deltaY);
}
static _create_8(deltaX) {
- return new ScrollState(deltaX);
+ return new self.ScrollState(deltaX);
}
static _create_9() {
- return new ScrollState();
+ return new self.ScrollState();
}
get [dartx.deltaGranularity]() {
return this.deltaGranularity;
@@ -86012,10 +86012,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.SecurityPolicyViolationEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new SecurityPolicyViolationEvent(type, eventInitDict);
+ return new self.SecurityPolicyViolationEvent(type, eventInitDict);
}
static _create_2(type) {
- return new SecurityPolicyViolationEvent(type);
+ return new self.SecurityPolicyViolationEvent(type);
}
get [dartx.blockedUri]() {
return this.blockedURI;
@@ -86553,10 +86553,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.ServicePortConnectEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new ServicePortConnectEvent(type, eventInitDict);
+ return new self.ServicePortConnectEvent(type, eventInitDict);
}
static _create_2(type) {
- return new ServicePortConnectEvent(type);
+ return new self.ServicePortConnectEvent(type);
}
get [dartx.origin]() {
return this.origin;
@@ -86719,10 +86719,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.ServiceWorkerMessageEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new ServiceWorkerMessageEvent(type, eventInitDict);
+ return new self.ServiceWorkerMessageEvent(type, eventInitDict);
}
static _create_2(type) {
- return new ServiceWorkerMessageEvent(type);
+ return new self.ServiceWorkerMessageEvent(type);
}
get [dartx.lastEventId]() {
return this.lastEventId;
@@ -87034,10 +87034,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.SharedWorker._create_2(scriptURL);
}
static _create_1(scriptURL, name) {
- return new SharedWorker(scriptURL, name);
+ return new self.SharedWorker(scriptURL, name);
}
static _create_2(scriptURL) {
- return new SharedWorker(scriptURL);
+ return new self.SharedWorker(scriptURL);
}
get [dartx.port]() {
return this.port;
@@ -87393,7 +87393,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.SpeechGrammar._create_1();
}
static _create_1() {
- return new SpeechGrammar();
+ return new self.SpeechGrammar();
}
get [dartx.src]() {
return this.src;
@@ -87442,7 +87442,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.SpeechGrammarList._create_1();
}
static _create_1() {
- return new SpeechGrammarList();
+ return new self.SpeechGrammarList();
}
get [dartx.length]() {
return this.length;
@@ -87752,10 +87752,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.SpeechRecognitionError._create_2(type);
}
static _create_1(type, initDict) {
- return new SpeechRecognitionError(type, initDict);
+ return new self.SpeechRecognitionError(type, initDict);
}
static _create_2(type) {
- return new SpeechRecognitionError(type);
+ return new self.SpeechRecognitionError(type);
}
get [dartx.error]() {
return this.error;
@@ -87799,10 +87799,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.SpeechRecognitionEvent._create_2(type);
}
static _create_1(type, initDict) {
- return new SpeechRecognitionEvent(type, initDict);
+ return new self.SpeechRecognitionEvent(type, initDict);
}
static _create_2(type) {
- return new SpeechRecognitionEvent(type);
+ return new self.SpeechRecognitionEvent(type);
}
get [dartx.emma]() {
return this.emma;
@@ -87978,10 +87978,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.SpeechSynthesisUtterance._create_2();
}
static _create_1(text) {
- return new SpeechSynthesisUtterance(text);
+ return new self.SpeechSynthesisUtterance(text);
}
static _create_2() {
- return new SpeechSynthesisUtterance();
+ return new self.SpeechSynthesisUtterance();
}
get [dartx.lang]() {
return this.lang;
@@ -88356,10 +88356,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.StorageEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new StorageEvent(type, eventInitDict);
+ return new self.StorageEvent(type, eventInitDict);
}
static _create_2(type) {
- return new StorageEvent(type);
+ return new self.StorageEvent(type);
}
get [dartx.key]() {
return this.key;
@@ -88544,7 +88544,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.SyncEvent._create_1(type, init_1);
}
static _create_1(type, init) {
- return new SyncEvent(type, init);
+ return new self.SyncEvent(type, init);
}
get [dartx.registration]() {
return this.registration;
@@ -90172,10 +90172,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.TrackDefault._create_2(type, language, label, kinds_1);
}
static _create_1(type, language, label, kinds, byteStreamTrackID) {
- return new TrackDefault(type, language, label, kinds, byteStreamTrackID);
+ return new self.TrackDefault(type, language, label, kinds, byteStreamTrackID);
}
static _create_2(type, language, label, kinds) {
- return new TrackDefault(type, language, label, kinds);
+ return new self.TrackDefault(type, language, label, kinds);
}
get [dartx.byteStreamTrackID]() {
return this.byteStreamTrackID;
@@ -90228,10 +90228,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.TrackDefaultList._create_2();
}
static _create_1(trackDefaults) {
- return new TrackDefaultList(trackDefaults);
+ return new self.TrackDefaultList(trackDefaults);
}
static _create_2() {
- return new TrackDefaultList();
+ return new self.TrackDefaultList();
}
get [dartx.length]() {
return this.length;
@@ -90365,10 +90365,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.TrackEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new TrackEvent(type, eventInitDict);
+ return new self.TrackEvent(type, eventInitDict);
}
static _create_2(type) {
- return new TrackEvent(type);
+ return new self.TrackEvent(type);
}
get [dartx.track]() {
return this.track;
@@ -90405,10 +90405,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.TransitionEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new TransitionEvent(type, eventInitDict);
+ return new self.TransitionEvent(type, eventInitDict);
}
static _create_2(type) {
- return new TransitionEvent(type);
+ return new self.TransitionEvent(type);
}
get [dartx.elapsedTime]() {
return this.elapsedTime;
@@ -90979,10 +90979,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.VRFieldOfView._create_2();
}
static _create_1(fov) {
- return new VRFieldOfView(fov);
+ return new self.VRFieldOfView(fov);
}
static _create_2() {
- return new VRFieldOfView();
+ return new self.VRFieldOfView();
}
get [dartx.downDegrees]() {
return this.downDegrees;
@@ -91375,7 +91375,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.VttCue._create_1(startTime, endTime, text);
}
static _create_1(startTime, endTime, text) {
- return new VTTCue(startTime, endTime, text);
+ return new self.VTTCue(startTime, endTime, text);
}
get [dartx.align]() {
return this.align;
@@ -91468,7 +91468,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.VttRegion._create_1();
}
static _create_1() {
- return new VTTRegion();
+ return new self.VTTRegion();
}
get [dartx.height]() {
return this.height;
@@ -91600,10 +91600,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.WebSocket._create_2(url);
}
static _create_1(url, protocols) {
- return new WebSocket(url, protocols);
+ return new self.WebSocket(url, protocols);
}
static _create_2(url) {
- return new WebSocket(url);
+ return new self.WebSocket(url);
}
static get supported() {
return typeof window.WebSocket != "undefined";
@@ -91761,7 +91761,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
if (view == null) {
view = html$.window;
}
- return new WheelEvent(type, html_common.convertDartToNative_Dictionary(options));
+ return new self.WheelEvent(type, html_common.convertDartToNative_Dictionary(options));
}
static _(type, eventInitDict) {
if (eventInitDict === void 0) eventInitDict = null;
@@ -91772,10 +91772,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.WheelEvent._create_2(type);
}
static _create_1(type, eventInitDict) {
- return new WheelEvent(type, eventInitDict);
+ return new self.WheelEvent(type, eventInitDict);
}
static _create_2(type) {
- return new WheelEvent(type);
+ return new self.WheelEvent(type);
}
get [_deltaX]() {
return this.deltaX;
@@ -93368,7 +93368,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.Worker._create_1(scriptUrl);
}
static _create_1(scriptUrl) {
- return new Worker(scriptUrl);
+ return new self.Worker(scriptUrl);
}
static get supported() {
return typeof window.Worker != "undefined";
@@ -93523,7 +93523,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.XPathEvaluator._create_1();
}
static _create_1() {
- return new XPathEvaluator();
+ return new self.XPathEvaluator();
}
[dartx.createExpression](...args) {
return this.createExpression.apply(this, args);
@@ -93683,7 +93683,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.XmlSerializer._create_1();
}
static _create_1() {
- return new XMLSerializer();
+ return new self.XMLSerializer();
}
[dartx.serializeToString](...args) {
return this.serializeToString.apply(this, args);
@@ -93717,7 +93717,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$.XsltProcessor._create_1();
}
static _create_1() {
- return new XSLTProcessor();
+ return new self.XSLTProcessor();
}
static get supported() {
return !!window.XSLTProcessor;
@@ -94179,19 +94179,19 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$._DomRect._create_5();
}
static _create_1(x, y, width, height) {
- return new DOMRect(x, y, width, height);
+ return new self.DOMRect(x, y, width, height);
}
static _create_2(x, y, width) {
- return new DOMRect(x, y, width);
+ return new self.DOMRect(x, y, width);
}
static _create_3(x, y) {
- return new DOMRect(x, y);
+ return new self.DOMRect(x, y);
}
static _create_4(x) {
- return new DOMRect(x);
+ return new self.DOMRect(x);
}
static _create_5() {
- return new DOMRect();
+ return new self.DOMRect();
}
get [dartx.height]() {
return this.height;
@@ -94256,7 +94256,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$._FileReaderSync._create_1();
}
static _create_1() {
- return new FileReaderSync();
+ return new self.FileReaderSync();
}
};
dart.setSignature(html$._FileReaderSync, {
@@ -94587,10 +94587,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$._Request._create_2(input);
}
static _create_1(input, requestInitDict) {
- return new Request(input, requestInitDict);
+ return new self.Request(input, requestInitDict);
}
static _create_2(input) {
- return new Request(input);
+ return new self.Request(input);
}
get [dartx.context]() {
return this.context;
@@ -94652,13 +94652,13 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$._Response._create_3();
}
static _create_1(body, responseInitDict) {
- return new Response(body, responseInitDict);
+ return new self.Response(body, responseInitDict);
}
static _create_2(body) {
- return new Response(body);
+ return new self.Response(body);
}
static _create_3() {
- return new Response();
+ return new self.Response();
}
};
dart.setSignature(html$._Response, {
@@ -94847,10 +94847,10 @@ dart_library.library('dart_sdk', null, /* Imports */[
return html$._WebKitCSSMatrix._create_2();
}
static _create_1(cssValue) {
- return new WebKitCSSMatrix(cssValue);
+ return new self.WebKitCSSMatrix(cssValue);
}
static _create_2() {
- return new WebKitCSSMatrix();
+ return new self.WebKitCSSMatrix();
}
};
dart.setSignature(html$._WebKitCSSMatrix, {
@@ -99371,7 +99371,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
};
dart.fn(html_common.convertNativeToDart_DateTime, dynamicToDateTime());
html_common.convertDartToNative_DateTime = function(date) {
- return new Date(date.millisecondsSinceEpoch);
+ return new self.Date(date.millisecondsSinceEpoch);
};
dart.fn(html_common.convertDartToNative_DateTime, DateTimeTodynamic());
html_common.convertDartToNative_PrepareForStructuredClone = function(value) {
@@ -99394,7 +99394,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return map[key] = value;
}
newJsList(length) {
- return new Array(length);
+ return new self.Array(length);
}
cloneNotRequired(e) {
return _native_typed_data.NativeByteBuffer.is(e) || _native_typed_data.NativeTypedData.is(e);
@@ -99413,7 +99413,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
super.new();
}
newJsList(length) {
- return new Array(length);
+ return new self.Array(length);
}
newDartList(length) {
return this.newJsList(length);
@@ -107795,7 +107795,7 @@ dart_library.library('dart_sdk', null, /* Imports */[
return web_audio.OfflineAudioContext._create_1(numberOfChannels, numberOfFrames, sampleRate);
}
static _create_1(numberOfChannels, numberOfFrames, sampleRate) {
- return new OfflineAudioContext(numberOfChannels, numberOfFrames, sampleRate);
+ return new self.OfflineAudioContext(numberOfChannels, numberOfFrames, sampleRate);
}
};
dart.setSignature(web_audio.OfflineAudioContext, {

Powered by Google App Engine
This is Rietveld 408576698