Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FileSystem, FileWriter API to web.jsx #260

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions idl2jsx/build.pl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
'url-whatwg; http://url.spec.whatwg.org/', # e.g. URLUtils
'html5; http://www.w3.org/TR/html5/single-page.html',
'FileAPI; http://www.w3.org/TR/2012/WD-FileAPI-20121025/',
'FileWriterAPI; http://www.w3.org/TR/2012/WD-file-writer-api-20120417/',
'FileSystemAPI; http://www.w3.org/TR/2012/WD-file-system-api-20120417/',

"webaudio; http://www.w3.org/TR/2012/WD-webaudio-20121213/",
"touch-events; http://www.w3.org/TR/touch-events/",
Expand Down
9 changes: 9 additions & 0 deletions idl2jsx/idl2jsx.pl
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@
# http://www.w3.org/TR/file-system-api/
'FileCallback' => 'function(:File):void',

# http://www.w3.org/TR/2012/WD-file-system-api-20120417/
'FileSystemCallback' => 'function(filesystem:FileSystem):void',
'EntryCallback' => 'function(entry:Entry):void',
'EntriesCallback' => 'function(entries:Entry[]):void',
'MetadataCallback' => 'function(metadata:Metadata):void',
'FileWriterCallback' => 'function(fileWriter:FileWriter):void',
'VoidCallback' => 'function():void',
'ErrorCallback' => 'function(err:DOMError):void',

# http://www.w3.org/TR/2012/WD-mediacapture-streams-20120628/#dictionary-mediatrackconstraints-members
# http://datatracker.ietf.org/doc/draft-burnett-rtcweb-constraints-registry/
'MediaTrackConstraintSet' => 'Map.<variant>',
Expand Down
1,419 changes: 1,419 additions & 0 deletions idl2jsx/spec/FileSystemAPI

Large diffs are not rendered by default.

1,036 changes: 1,036 additions & 0 deletions idl2jsx/spec/FileWriterAPI

Large diffs are not rendered by default.

656 changes: 433 additions & 223 deletions idl2jsx/spec/cssom

Large diffs are not rendered by default.

165 changes: 124 additions & 41 deletions idl2jsx/spec/cssom-view

Large diffs are not rendered by default.

313 changes: 300 additions & 13 deletions lib/js/js/web.jsx

Large diffs are not rendered by default.

272 changes: 241 additions & 31 deletions t/lib/010.web.jsx

Large diffs are not rendered by default.