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

Unified Diff: pkg/dev_compiler/lib/js/common/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/amd/dart_sdk.js ('k') | pkg/dev_compiler/lib/js/es6/dart_sdk.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/lib/js/common/dart_sdk.js
diff --git a/pkg/dev_compiler/lib/js/common/dart_sdk.js b/pkg/dev_compiler/lib/js/common/dart_sdk.js
index 7d32f3c040af808190d71175153ca82fe66cd0e2..0ea12dc726362bef3c15c6e20f02f7c7e032750e 100644
--- a/pkg/dev_compiler/lib/js/common/dart_sdk.js
+++ b/pkg/dev_compiler/lib/js/common/dart_sdk.js
@@ -55634,10 +55634,10 @@
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;
@@ -58344,10 +58344,10 @@
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;
@@ -58389,10 +58389,10 @@
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;
@@ -58629,10 +58629,10 @@
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;
@@ -59333,10 +59333,10 @@
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;
@@ -59484,10 +59484,10 @@
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;
@@ -61058,7 +61058,7 @@
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;
@@ -61220,10 +61220,10 @@
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;
@@ -61304,10 +61304,10 @@
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;
@@ -61386,10 +61386,10 @@
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;
@@ -61428,7 +61428,7 @@
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;
@@ -61494,7 +61494,7 @@
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;
@@ -69118,10 +69118,10 @@
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]);
@@ -69436,10 +69436,10 @@
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;
@@ -69589,10 +69589,10 @@
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;
@@ -73006,10 +73006,10 @@
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;
@@ -73073,10 +73073,10 @@
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;
@@ -73198,10 +73198,10 @@
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);
@@ -73233,7 +73233,7 @@
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;
@@ -73273,10 +73273,10 @@
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;
@@ -73420,10 +73420,10 @@
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;
@@ -73647,7 +73647,7 @@
return html$.FileReader._create_1();
}
static _create_1() {
- return new FileReader();
+ return new self.FileReader();
}
get [dartx.error]() {
return this.error;
@@ -73931,10 +73931,10 @@
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]);
@@ -73982,10 +73982,10 @@
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;
@@ -74156,10 +74156,10 @@
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;
@@ -74450,10 +74450,10 @@
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;
@@ -75300,7 +75300,7 @@
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;
@@ -75311,10 +75311,10 @@
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');
@@ -75389,16 +75389,16 @@
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, {
@@ -76419,13 +76419,13 @@
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;
@@ -76624,10 +76624,10 @@
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;
@@ -78345,10 +78345,10 @@
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;
@@ -78446,13 +78446,13 @@
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, {
@@ -78992,7 +78992,7 @@
return html$.MediaController._create_1();
}
static _create_1() {
- return new MediaController();
+ return new self.MediaController();
}
get [dartx.buffered]() {
return this.buffered;
@@ -79158,10 +79158,10 @@
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;
@@ -79271,10 +79271,10 @@
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;
@@ -79336,10 +79336,10 @@
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;
@@ -79602,10 +79602,10 @@
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;
@@ -79642,7 +79642,7 @@
return html$.MediaSession._create_1();
}
static _create_1() {
- return new MediaSession();
+ return new self.MediaSession();
}
[dartx.activate](...args) {
return this.activate.apply(this, args);
@@ -79681,7 +79681,7 @@
return html$.MediaSource._create_1();
}
static _create_1() {
- return new MediaSource();
+ return new self.MediaSource();
}
static get supported() {
return !!window.MediaSource;
@@ -79770,13 +79770,13 @@
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;
@@ -79894,10 +79894,10 @@
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');
@@ -80242,7 +80242,7 @@
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);
@@ -80263,10 +80263,10 @@
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;
@@ -80981,10 +80981,10 @@
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;
@@ -82181,10 +82181,10 @@
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;
@@ -82313,10 +82313,10 @@
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;
@@ -82813,10 +82813,10 @@
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;
@@ -82931,13 +82931,13 @@
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;
@@ -83487,7 +83487,7 @@
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;
@@ -83850,10 +83850,10 @@
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;
@@ -83918,10 +83918,10 @@
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]);
@@ -84238,10 +84238,10 @@
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;
@@ -84287,10 +84287,10 @@
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;
@@ -84331,10 +84331,10 @@
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;
@@ -84425,7 +84425,7 @@
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);
@@ -84822,10 +84822,10 @@
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]);
@@ -85894,31 +85894,31 @@
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;
@@ -86011,10 +86011,10 @@
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;
@@ -86552,10 +86552,10 @@
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;
@@ -86718,10 +86718,10 @@
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;
@@ -87033,10 +87033,10 @@
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;
@@ -87392,7 +87392,7 @@
return html$.SpeechGrammar._create_1();
}
static _create_1() {
- return new SpeechGrammar();
+ return new self.SpeechGrammar();
}
get [dartx.src]() {
return this.src;
@@ -87441,7 +87441,7 @@
return html$.SpeechGrammarList._create_1();
}
static _create_1() {
- return new SpeechGrammarList();
+ return new self.SpeechGrammarList();
}
get [dartx.length]() {
return this.length;
@@ -87751,10 +87751,10 @@
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;
@@ -87798,10 +87798,10 @@
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;
@@ -87977,10 +87977,10 @@
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;
@@ -88355,10 +88355,10 @@
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;
@@ -88543,7 +88543,7 @@
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;
@@ -90171,10 +90171,10 @@
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;
@@ -90227,10 +90227,10 @@
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;
@@ -90364,10 +90364,10 @@
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;
@@ -90404,10 +90404,10 @@
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;
@@ -90978,10 +90978,10 @@
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;
@@ -91599,10 +91599,10 @@
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";
@@ -91760,7 +91760,7 @@
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;
@@ -91771,10 +91771,10 @@
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;
@@ -93367,7 +93367,7 @@
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";
@@ -93522,7 +93522,7 @@
return html$.XPathEvaluator._create_1();
}
static _create_1() {
- return new XPathEvaluator();
+ return new self.XPathEvaluator();
}
[dartx.createExpression](...args) {
return this.createExpression.apply(this, args);
@@ -107794,7 +107794,7 @@
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/amd/dart_sdk.js ('k') | pkg/dev_compiler/lib/js/es6/dart_sdk.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698