servo/components/script
Emilio Cobos Álvarez 46bf5d61f0
Bug 1355343: Take all the snapshots into account. r=bholley
I've chosen this approach mainly because there's no other good way to guarantee
the model is correct than holding the snapshots alive until a style refresh.

What I tried before this (storing them in a sort of "immutable element data") is
a pain, since we call into style from the frame constructor and other content
notifications, which makes keeping track of which snapshots should be cleared an
which shouldn't an insane task.

Ideally we'd have a single entry-point for style, but that's not the case right
now, and changing that requires pretty non-trivial changes to the frame
constructor.

MozReview-Commit-ID: FF1KWZv2iBM
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-05-10 12:05:39 +02:00
..
docs Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
dom Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
task_source
body.rs
build.rs Fix hardcoded path to link.exe 2017-02-03 13:33:37 +01:00
Cargo.toml Auto merge of #16706 - alicemaz:master, r=nox 2017-05-04 06:08:37 -05:00
clipboard_provider.rs
CMakeLists.txt
devtools.rs Added some same-origin-domain checks. 2017-03-14 14:36:03 -05:00
document_loader.rs Remove mutability requirement from fetch_async_background. 2017-02-28 10:23:23 -05:00
fetch.rs Remove all internal mutability from Request 2017-04-03 12:39:07 +02:00
layout_image.rs Make image cache per-document rather than global 2017-03-27 19:54:13 +02:00
layout_wrapper.rs Bug 1355343: Take all the snapshots into account. r=bholley 2017-05-10 12:05:39 +02:00
lib.rs Upgrade to html5ever 0.16 2017-05-02 19:24:28 +02:00
mem.rs
microtask.rs Generalize promise job queue into solitary microtask queue. 2017-02-01 12:54:33 -05:00
network_listener.rs Separate the async bluetooth handling from networking code. 2016-12-21 14:52:39 +01:00
script_runtime.rs Update rust-mozjs to master. 2017-03-31 14:40:38 -04:00
script_thread.rs added origin to globalscope 2017-04-24 13:15:42 +01:00
serviceworker_manager.rs Removed util. 2016-12-14 18:04:37 -06:00
serviceworkerjob.rs Remove incorrect uses of asynchronous tasks from ServiceWorker job queue. 2017-02-01 12:54:33 -05:00
stylesheet_loader.rs Fix up script and layout. 2017-05-02 17:35:45 -07:00
test.rs Added compiletest to verify TrustedPromise does not implement Clone 2017-01-22 20:12:07 +00:00
textinput.rs Auto merge of #15822 - charlesvdv:unicode-panic, r=emilio 2017-04-16 15:08:59 -05:00
timers.rs Terminate timer scheduler thread during shutdown 2017-03-30 14:27:40 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Update Hyper and OpenSSL 2017-03-31 16:32:21 +02:00