-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Changes to DOM
Roger Wang edited this page Jan 28, 2014
·
6 revisions
The following changes to DOM is made to support native applications better:
Features marked with node only
means that only Node frames
can do this. Normal frames
still follow the W3C standard. For definition of Node frames
and Normal frames
, see Security
var f = new File('/path/to/file', 'name');
var files = new FileList();
files.append(f);
document.getElementById('input0').files = files;
A new attribute nwUserAgent
is added to the iframe
element. The value is used as the User-Agent
header from HTTP requests from that iframe, or its descendants.