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

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

Issue 2659063002: Fix DOM constructors in inline JS (Closed)
Patch Set: restrict to containing extension class 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
« no previous file with comments | « pkg/dev_compiler/lib/js/es6/dart_sdk.js ('k') | pkg/dev_compiler/lib/src/compiler/code_generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f3f9d6bdc80cd0eac5f63cf7be23a2ee087e5c5f 100644
--- a/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
+++ b/pkg/dev_compiler/lib/js/legacy/dart_sdk.js
@@ -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;
@@ -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;
@@ -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;
@@ -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, {
@@ -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;
@@ -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;
@@ -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]);
@@ -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;
@@ -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);
@@ -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, {
« no previous file with comments | « pkg/dev_compiler/lib/js/es6/dart_sdk.js ('k') | pkg/dev_compiler/lib/src/compiler/code_generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698