Browse Source

wasmjob: added job_web unit generate source files

mattias 3 years ago
parent
commit
57bb610f3c

+ 8 - 0
demo/wasienv/dom/job_web.pas

@@ -1,3 +1,11 @@
+{
+  This file was autogenerated with the webidl2pas tool.
+  webidl2pas -f wasmjob -i job_web.webidl --typealiases=@job_webalias.txt --globals=@job_webglobals.txt
+
+  job_web.webidl was concatenated from webidls from
+  https://hg.mozilla.org/mozilla-central/raw-file/tip/dom/webidl/
+  Changes are marked with "Mattias"
+}
 unit JOB_Web;
 
 {$MODE ObjFPC}

+ 17 - 0
demo/wasienv/dom/job_webalias.txt

@@ -0,0 +1,17 @@
+Object=IJSObject
+Set=IJSSet
+Map=IJSMap
+Function=IJSFunction
+Date=IJSDate
+RegExp=IJSRegExp
+String=IJSString
+Array=IJSArray
+ArrayBuffer=IJSArrayBuffer
+TypedArray=IJSTypedArray
+BufferSource=IJSBufferSource
+DataView=IJSDataView
+JSON=IJSJSON
+Error=IJSError
+Promise=IJSPromise
+TextEncoder=IJSTextEncode
+TextDecoder=IJSTextDecoder

+ 2 - 0
demo/wasienv/dom/job_webglobals.txt

@@ -0,0 +1,2 @@
+JSDocument=Document,document
+JSWindow=Window,window