Update test cases to pass with current generation.
This commit is contained in:
Родитель
a7b1f0b476
Коммит
ca6725b21a
|
@ -1,7 +1,7 @@
|
|||
public interface IAudioListener {
|
||||
}
|
||||
|
||||
[Export("AudioListener", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("AudioListener", typeof(JSObject))]
|
||||
public sealed class AudioListener : JSObject
|
||||
{
|
||||
internal AudioListener (int handle) : base (handle) {}
|
||||
|
|
|
@ -11,7 +11,7 @@ public interface IAudioListener {
|
|||
void SetVelocity(double x, double y, double z);
|
||||
}
|
||||
|
||||
[Export("AudioListener", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("AudioListener", typeof(JSObject))]
|
||||
public sealed class AudioListener : JSObject
|
||||
{
|
||||
internal AudioListener (int handle) : base (handle) {}
|
||||
|
|
|
@ -13,7 +13,7 @@ public interface IErrorEvent : IEvent {
|
|||
void InitErrorEvent(string typeArg, bool canBubbleArg, bool cancelableArg, string messageArg, string filenameArg, double linenoArg);
|
||||
}
|
||||
|
||||
[Export("ErrorEvent", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("ErrorEvent", typeof(JSObject))]
|
||||
public sealed class ErrorEvent : JSObject {
|
||||
internal ErrorEvent (int handle) : base (handle) {}
|
||||
|
||||
|
@ -137,7 +137,7 @@ public interface IEvent {
|
|||
double CapturingPhase { get; }
|
||||
}
|
||||
|
||||
[Export("Event", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("Event", typeof(JSObject))]
|
||||
public sealed class Event : JSObject {
|
||||
internal Event (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ public interface IURL {
|
|||
string ToString();
|
||||
}
|
||||
|
||||
[Export("URL", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("URL", typeof(JSObject))]
|
||||
public sealed class Url : JSObject {
|
||||
internal URL (int handle) : base (handle) {}
|
||||
|
||||
|
@ -109,7 +109,7 @@ public interface IURLSearchParams {
|
|||
void Set(string name, string value);
|
||||
}
|
||||
|
||||
[Export("URLSearchParams", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("URLSearchParams", typeof(JSObject))]
|
||||
public sealed class UrlSearchParams : JSObject {
|
||||
internal URLSearchParams (int handle) : base (handle) {}
|
||||
|
||||
|
@ -183,7 +183,7 @@ public interface IBlob {
|
|||
IBlob Slice(double start, double end, string contentType);
|
||||
}
|
||||
|
||||
[Export("Blob", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("Blob", typeof(JSObject))]
|
||||
public sealed class Blob : JSObject {
|
||||
internal Blob (int handle) : base (handle) {}
|
||||
|
||||
|
@ -226,7 +226,7 @@ public interface IWindow
|
|||
IBlob IBlob { get; set; }
|
||||
}
|
||||
|
||||
[Export("Window", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("Window", typeof(JSObject))]
|
||||
public sealed class Window : JSObject {
|
||||
internal Window (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System;
|
||||
using Mono.WebAssembly;
|
||||
using WebAssembly;
|
||||
|
||||
namespace Hello.World
|
||||
{
|
||||
|
@ -33,7 +33,7 @@ public interface IURL {
|
|||
string ToString();
|
||||
}
|
||||
|
||||
[Export("URL", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("URL", typeof(JSObject))]
|
||||
public sealed class Url : JSObject {
|
||||
internal URL (int handle) : base (handle) {}
|
||||
|
||||
|
@ -112,7 +112,7 @@ public interface IURLSearchParams {
|
|||
void Set(string name, string value);
|
||||
}
|
||||
|
||||
[Export("URLSearchParams", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("URLSearchParams", typeof(JSObject))]
|
||||
public sealed class UrlSearchParams : JSObject {
|
||||
internal URLSearchParams (int handle) : base (handle) {}
|
||||
|
||||
|
@ -186,7 +186,7 @@ public interface IBlob {
|
|||
IBlob Slice(double start, double end, string contentType);
|
||||
}
|
||||
|
||||
[Export("Blob", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("Blob", typeof(JSObject))]
|
||||
public sealed class Blob : JSObject {
|
||||
internal Blob (int handle) : base (handle) {}
|
||||
|
||||
|
@ -229,7 +229,7 @@ public interface IWindow
|
|||
IBlob IBlob { get; set; }
|
||||
}
|
||||
|
||||
[Export("Window", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("Window", typeof(JSObject))]
|
||||
public sealed class Window : JSObject {
|
||||
internal Window (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
public interface IAudioListener {
|
||||
}
|
||||
[Export("AudioListener", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("AudioListener", typeof(JSObject))]
|
||||
public sealed class AudioListener : JSObject
|
||||
{
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ public interface IFileList {
|
|||
File this[double index] { get; set; }
|
||||
}
|
||||
|
||||
[Export("FileList", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("FileList", typeof(JSObject))]
|
||||
public sealed class FileList : JSObject {
|
||||
internal FileList (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
} // Trailing comment of interface defintion.
|
||||
|
||||
// This is a leading comment
|
||||
[Export("AudioListener", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("AudioListener", typeof(JSObject))]
|
||||
public sealed class AudioListener : JSObject
|
||||
{ // Here is another comment
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ public interface IErrorEventInit {
|
|||
public interface IErrorEvent {
|
||||
}
|
||||
|
||||
[Export("ErrorEvent", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("ErrorEvent", typeof(JSObject))]
|
||||
public sealed class ErrorEvent : JSObject {
|
||||
internal ErrorEvent (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ public interface IEventTarget {
|
|||
void RemoveEventListener(string type, DOMEventHandler listener, object options);
|
||||
}
|
||||
|
||||
[Export("EventTarget", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("EventTarget", typeof(JSObject))]
|
||||
public sealed class EventTarget : JSObject {
|
||||
internal EventTarget (int handle) : base (handle) {}
|
||||
|
||||
|
@ -137,7 +137,7 @@ public interface IWindow : IEventTarget, IGlobalEventHandlers {
|
|||
|
||||
}
|
||||
|
||||
[Export("Window", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("Window", typeof(JSObject))]
|
||||
public sealed class Window : JSObject {
|
||||
internal Window (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ public interface IAudioListener {
|
|||
void SetVelocity(double x, double y, double z);
|
||||
}
|
||||
|
||||
[Export("AudioListener", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("AudioListener", typeof(JSObject))]
|
||||
public sealed class AudioListener : JSObject
|
||||
{
|
||||
internal AudioListener (int handle) : base (handle) {}
|
||||
|
|
|
@ -5,7 +5,7 @@ public interface IAudioListener {
|
|||
double SpeedOfSound { get; set; }
|
||||
}
|
||||
|
||||
[Export("AudioListener", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("AudioListener", typeof(JSObject))]
|
||||
public sealed class AudioListener : JSObject
|
||||
{
|
||||
internal AudioListener (int handle) : base (handle) {}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
public interface IRTCSrtpSdesTransport {
|
||||
}
|
||||
|
||||
[Export("RTCSrtpSdesTransport", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("RTCSrtpSdesTransport", typeof(JSObject))]
|
||||
public sealed class RtcSrtpSdesTransport : JSObject {
|
||||
internal RTCSrtpSdesTransport (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
public interface IPerformanceNavigation {
|
||||
}
|
||||
|
||||
[Export("PerformanceNavigation", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("PerformanceNavigation", typeof(JSObject))]
|
||||
public sealed class PerformanceNavigation : JSObject {
|
||||
internal PerformanceNavigation (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public interface IURL {
|
|||
string ToString();
|
||||
}
|
||||
|
||||
[Export("URL", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("URL", typeof(JSObject))]
|
||||
public sealed class Url : JSObject {
|
||||
internal URL (int handle) : base (handle) {}
|
||||
|
||||
|
@ -107,7 +107,7 @@ public interface IURLSearchParams {
|
|||
void Set(string name, string value);
|
||||
}
|
||||
|
||||
[Export("URLSearchParams", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("URLSearchParams", typeof(JSObject))]
|
||||
public sealed class UrlSearchParams : JSObject {
|
||||
internal URLSearchParams (int handle) : base (handle) {}
|
||||
|
||||
|
@ -181,7 +181,7 @@ public interface IBlob {
|
|||
IBlob Slice(double start, double end, string contentType);
|
||||
}
|
||||
|
||||
[Export("Blob", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("Blob", typeof(JSObject))]
|
||||
public sealed class Blob : JSObject {
|
||||
internal Blob (int handle) : base (handle) {}
|
||||
|
||||
|
@ -224,7 +224,7 @@ public interface IWindow
|
|||
IBlob IBlob { get; set; }
|
||||
}
|
||||
|
||||
[Export("Window", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("Window", typeof(JSObject))]
|
||||
public sealed class Window : JSObject {
|
||||
internal Window (int handle) : base (handle) {}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ interface EventTarget {
|
|||
void removeEventListener(string type, DOMEventHandler listener, object options);
|
||||
}
|
||||
|
||||
[Export("EventTarget", typeof(Mono.WebAssembly.JSObject))]
|
||||
[Export("EventTarget", typeof(JSObject))]
|
||||
public sealed class EventTarget : JSObject {
|
||||
internal EventTarget (int handle) : base (handle) {}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче