摘要: File Interface A File object in JavaScript references an actual file in the local filesystem. This File object inherits all properties and methods fro 阅读全文
posted @ 2016-04-27 21:21 RachelChen 阅读(718) 评论(0) 推荐(0) 编辑
摘要: What is a Blob? A blob object represents a chuck of bytes that holds data of a file. But a blob is not a reference to a actual file, it may seem like 阅读全文
posted @ 2016-04-27 18:51 RachelChen 阅读(6053) 评论(0) 推荐(1) 编辑
摘要: webworker标准包含两部分:worker对象和WorkerGlobalScope(用来表示新创建的Worker的全局对象,也是worker线程内部使用的对象) worker对象 创建一个新的worker,只需要使用Worker()构造函数,并将指定在Worker中运行的JavaScript脚本 阅读全文
posted @ 2016-04-27 17:33 RachelChen 阅读(731) 评论(0) 推荐(0) 编辑
摘要: widnow.postMessage()方法允许安全的跨域传输。 Syntax The dispatched event 其他的窗口可以通过以下代码来监听被发送的信息: 被发送的信息的属性如下: Security concerns 如果你不想接受到其他网站的信息,不要在message对象上增加任何监 阅读全文
posted @ 2016-04-27 16:40 RachelChen 阅读(2628) 评论(0) 推荐(0) 编辑
摘要: The geolocation object geolocation API建立在navigator.geolocation 上。 如果对象存在,才可以使用定位服务。 Note: 在Firefox24以及更加老的版本中,"geolocation" in navigator 总是返回true不管是否可 阅读全文
posted @ 2016-04-27 13:40 RachelChen 阅读(572) 评论(0) 推荐(0) 编辑