servo/components/script/dom/bindings
bors-servo b8e87ea020 auto merge of #5217 : zslayton/servo/master, r=jdm
@jdm This initial version has a few outstanding issues that I wanted to invite input on. Specifically:

1. I had some difficulty finding a home for the `StorageType` enum. Structs defined outside of the `script` module don't seem to be able to use the `#[jstraceable]` annotation and the `net` module (where `StorageTask` lives) doesn't have access to `script`. Per Simon Sapin's suggestion, I worked around this temporarily by creating a `TraceableStorageType` stand-in struct that was traceable and which could be translated into a regular `StorageType` when being sent to the `StorageTask`. Unsure of the best way to resolve this hack. Thoughts?

2. Apart from the `Storage` constructor used in `Window::SessionStorage` and the new `Window::LocalStorage`, there's also a method called `Storage::Constructor`. I'm unclear on what (if anything) will actually invoke this, so I'm not sure which variant of `StorageType` to use here. I've temporarily created an `Unknown` variant of `StorageType` as a placeholder.

3. I discovered that the web platform tests directory's localStorage tests. Many of them now pass despite the configured expectation that they fail. However, several do not pass. Is there a good way for me to add debug logging or otherwise get a sense of which assertion failed / what went wrong?

Thanks for your continued help!
2015-03-16 14:48:51 -06:00
..
codegen Implement USVString. 2015-03-13 21:27:58 +01:00
callback.rs Rename GetContext to get_context. 2015-01-29 21:13:15 +01:00
cell.rs Replace borrow with borrow_for_gc_trace in JSTraceable::trace (Issue #4778). 2015-03-03 09:06:45 -05:00
conversions.rs Null-check the result of JS_GetStringCharsAndLength. 2015-03-13 21:27:58 +01:00
error.rs Add support for throwing TypeErrors from DOM implementations. 2015-02-28 18:20:42 +01:00
global.rs Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal. 2015-03-03 16:25:40 -05:00
js.rs Added type parameter to PartialEq on JSRef (fixes #5112, #3960) 2015-03-03 11:46:13 +08:00
mod.rs Document the DOM. 2015-02-05 14:41:12 +01:00
proxyhandler.rs Rename getOwnPropertyNames_ and enumerate_ to get_own_property_names and enumerate. 2015-01-29 17:28:07 +01:00
refcounted.rs Fixing Intermittent failure in pages with timers 2015-02-22 00:27:16 +05:30
str.rs Implement USVString. 2015-03-13 21:27:58 +01:00
structuredclone.rs auto merge of #4717 : Ms2ger/servo/doc-proxy, r=saneyuki 2015-01-28 01:48:52 -07:00
trace.rs localStorage shim, fixes #5195 2015-03-16 13:33:55 -07:00
utils.rs Fix #2108 by renaming unwrap functions to native_from_reflector 2015-03-12 19:15:12 +13:00