servo/components/script
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
..
dom auto merge of #5217 : zslayton/servo/master, r=jdm 2015-03-16 14:48:51 -06:00
parse Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
build.rs Upgrade to rustc ba2f13ef0 2015-02-04 2015-02-11 14:48:34 -08:00
Cargo.toml Move selector matching to an external library, for use outside Servo. 2015-02-23 16:29:34 +01:00
cors.rs Remove AccessControl header implementations in favor of hyper’s (fixes #5090) 2015-02-27 08:35:02 -08:00
devtools.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
layout_interface.rs Consider media attribute on link and style tags 2015-03-16 17:19:26 +02:00
lib.rs Move selector matching to an external library, for use outside Servo. 2015-02-23 16:29:34 +01:00
makefile.cargo Cargoify servo 2014-09-08 20:21:42 -06:00
page.rs Remove unused subpage field from page 2015-03-11 14:13:30 +10:00
script_task.rs Refactored optional argument "last_modified" for Document 2015-03-16 17:53:19 +01:00
tests.rs Use NonZero to reduce the size of DOM smart pointers (fixes #4502). 2015-01-30 22:18:22 +01:00
textinput.rs Use platform-sized integers for textinput.rs 2015-02-20 16:12:58 -05:00
timers.rs Derive Debug rather than the deprecated Show for TimerControlMsg. 2015-02-24 10:50:21 +01:00