Bug 1540269 [wpt PR 15901] - Update interfaces/wasm-js-api.idl, a=testonly
authorautofoolip <auto@foolip.org>
Thu, 18 Apr 2019 11:56:28 +0000
changeset 529936 69629bad403373bfadedb49b203fd74e81a46a3f
parent 529935 3705d8d5562dd9e8a3699b6cba06a657407b1074
child 529937 542bb660c551711cea59b2e7948aea5c8ff89c29
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1540269, 15901
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1540269 [wpt PR 15901] - Update interfaces/wasm-js-api.idl, a=testonly Automatic update from web-platform-tests Update interfaces/wasm-js-api.idl (#15901) Source: https://github.com/tidoust/reffy-reports/blob/19a80a9/whatwg/idl/wasm-js-api.idl Build: https://travis-ci.org/tidoust/reffy-reports/builds/507115788 -- wpt-commits: 84a6893e80ada56d07ff7063aac6284ea00189e1 wpt-pr: 15901
testing/web-platform/tests/interfaces/wasm-js-api.idl
--- a/testing/web-platform/tests/interfaces/wasm-js-api.idl
+++ b/testing/web-platform/tests/interfaces/wasm-js-api.idl
@@ -77,18 +77,25 @@ dictionary TableDescriptor {
 [LegacyNamespace=WebAssembly, Constructor(TableDescriptor descriptor), Exposed=(Window,Worker,Worklet)]
 interface Table {
   unsigned long grow([EnforceRange] unsigned long delta);
   Function? get([EnforceRange] unsigned long index);
   void set([EnforceRange] unsigned long index, Function? value);
   readonly attribute unsigned long length;
 };
 
+enum ValueType {
+  "i32",
+  "i64",
+  "f32",
+  "f64"
+};
+
 dictionary GlobalDescriptor {
-  required USVString value;
+  required ValueType value;
   boolean mutable = false;
 };
 
 [LegacyNamespace=WebAssembly, Constructor(GlobalDescriptor descriptor, optional any v), Exposed=(Window,Worker,Worklet)]
 interface Global {
   any valueOf();
   attribute any value;
 };