servo/components/script/dom/bindings
Keith Yeung c3b17c1201 begin messageport, transferable objects, impl
Accept transfer argument for StructuredCloneData::write

Allow structured clone reads to return a boolean

Add Transferable trait

Add basic skeletons to MessagePort

Implement transfer and transfer-receiving steps on MessagePort

Use transfer and transfer_receive in StructuredClone callbacks

Implement MessageChannel

Freeze the array object for the MessageEvent ports attribute

Implement transfer argument on window.postMessage

Use ReentrantMutex instead for MessagePortInternal

Accept origin as a parameter in dispatch_jsval

Fix BorrowMut crash with pending_port_message

Detach port on closure and check for detached during transfer

Enable webmessaging tests

fix webidl

fix
2019-10-19 14:12:22 +08:00
..
codegen Support [LegacyWindowAlias] 2019-10-19 12:01:00 +09:00
callback.rs Use safe JSContext in callbacks 2019-08-09 00:43:29 +01:00
cell.rs Make use of RefCell::try_borrow_unguarded 2019-04-12 19:02:07 +02:00
constant.rs Use safe JSContext when possible in interface.rs 2019-08-09 00:43:24 +01:00
conversions.rs Check existence of property in get_property_jsval 2019-07-23 10:00:19 +03:00
error.rs Use safe JSContext as first argument for throw_dom_exception 2019-08-09 00:43:28 +01:00
guard.rs Use safe JSContext when possible in interface.rs 2019-08-09 00:43:24 +01:00
htmlconstructor.rs Remove usage of various unsafe keyword 2019-08-09 00:43:28 +01:00
inheritance.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
interface.rs Support [LegacyWindowAlias] 2019-10-19 12:01:00 +09:00
iterable.rs Remove some usage of unsafe code in iterator.rs 2019-08-09 00:02:09 +01:00
mod.rs begin messageport, transferable objects, impl 2019-10-19 14:12:22 +08:00
namespace.rs Use safe JSContext when possible in interface.rs 2019-08-09 00:43:24 +01:00
num.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
proxyhandler.rs Upgrade to Spidermonkey 67. 2019-06-26 18:10:46 -04:00
record.rs Support WebIDL record<> 2019-10-15 17:14:00 +09:00
refcounted.rs Remove now-unnecessary must_root and allow(unrooted_must_root) annotations 2019-01-04 15:05:07 -08:00
reflector.rs Modify *::get_cx methods to return a safe JSContext instead of a raw one 2019-07-24 09:53:10 +01:00
root.rs Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) 2019-07-31 13:34:01 +02:00
settings_stack.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
str.rs Support WebIDL record<> 2019-10-15 17:14:00 +09:00
structuredclone.rs begin messageport, transferable objects, impl 2019-10-19 14:12:22 +08:00
trace.rs Add simple implementation of content-security-policy on scripts / styles 2019-10-16 19:46:45 +00:00
transferable.rs begin messageport, transferable objects, impl 2019-10-19 14:12:22 +08:00
utils.rs DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContext 2019-07-24 08:18:22 +01:00
weakref.rs Update MPL license to https (part 3) 2018-11-19 14:47:12 +01:00
xmlname.rs Fix some new warnings 2019-06-22 14:59:09 +02:00