diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-17 07:26:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-17 07:26:16 -0500 |
commit | 0c9d0eb68575f20a8239bac8204f8e25de0f61d2 (patch) | |
tree | 85d97c6aea8332ac541912a616d824ed5e9f6976 /components/script/dom/window.rs | |
parent | fb9f3273426020691f658f08e4f4b754cc40dcd6 (diff) | |
parent | 4d3379392d3d79c78fa68b0831d3f94d9da949c5 (diff) | |
download | servo-0c9d0eb68575f20a8239bac8204f8e25de0f61d2.tar.gz servo-0c9d0eb68575f20a8239bac8204f8e25de0f61d2.zip |
Auto merge of #11716 - izgzhen:impl-blob-url-dom, r=Manishearth
Implement Blob URL's DOM interfaces
r? @Manishearth
Implement the two functions in `URL` to create/revoke Blob URLs, and related code to approximate our proposed design to make things work together.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #10539, related to #11131
<!-- Either: -->
- [x] There are tests for these changes OR
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11716)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 486ad45bde4..03fbe2b2a2b 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -3,7 +3,6 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ use app_units::Au; -use blob_url_store::BlobURLStore; use devtools_traits::{ScriptToDevtoolsControlMsg, TimelineMarker, TimelineMarkerType, WorkerId}; use dom::bindings::callback::ExceptionHandling; use dom::bindings::cell::DOMRefCell; @@ -167,9 +166,6 @@ pub struct Window { scheduler_chan: IpcSender<TimerEventRequest>, timers: OneshotTimers, - /// Blob URL store - blob_url_store: DOMRefCell<BlobURLStore>, - next_worker_id: Cell<WorkerId>, /// For sending messages to the memory profiler. @@ -1641,7 +1637,6 @@ impl Window { console: Default::default(), crypto: Default::default(), navigator: Default::default(), - blob_url_store: DOMRefCell::new(BlobURLStore::new()), image_cache_thread: image_cache_thread, mem_profiler_chan: mem_profiler_chan, time_profiler_chan: time_profiler_chan, |