aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | Do not set metadata until we have enough dataFernando Jiménez Moreno2018-10-081-1/+1
| | | | |
| * | | | Set input sizeFernando Jiménez Moreno2018-10-081-1/+9
| | | | |
| * | | | Rustfmt and make tidy happyFernando Jiménez Moreno2018-10-083-36/+42
| | | | |
| * | | | Media element duration paramFernando Jiménez Moreno2018-10-083-10/+29
| | | | |
| * | | | videoWidth and videoHeight paramsFernando Jiménez Moreno2018-10-083-6/+68
| | | | |
| * | | | Cancel fetch in some media data processing stepsFernando Jiménez Moreno2018-10-081-3/+6
| | | | |
| * | | | Player pauseFernando Jiménez Moreno2018-10-081-2/+1
| | | | |
| * | | | Add show poster flagFernando Jiménez Moreno2018-10-081-5/+21
| | | | |
| * | | | Abort in-progress fetching process during load algorithmFernando Jimenez Moreno2018-10-081-5/+10
| | | | |
| * | | | Clarify some FIXMEs and bail out if we fail pushing data to playerFernando Jiménez Moreno2018-10-081-5/+14
| | | | |
| * | | | Revert import style formatFernando Jiménez Moreno2018-10-081-4/+2
| | | | |
| * | | | Move unsafe_no_jsmanaged_fields to traceFernando Jiménez Moreno2018-10-083-17/+9
| | | | |
| * | | | Do not share entire FrameRenderer with layout, only current frameFernando Jiménez Moreno2018-10-083-111/+78
| | | | |
| * | | | Player does not need to go inside a mutexed ArcFernando Jiménez Moreno2018-10-081-21/+13
| | | | |
| * | | | dom: add media_data() method to LayoutDom implementationVíctor Manuel Jáquez Leal2018-10-081-2/+14
| | | | |
| * | | | dom: media: implement LayoutHTMLMediaElementHelpers trait for LayoutDomVíctor Manuel Jáquez Leal2018-10-081-1/+19
| | | | |
| * | | | dom: framerenderer: implement HTMLMediaFrameSource trait for MediaFrameRendererVíctor Manuel Jáquez Leal2018-10-081-0/+12
| | | | |
| * | | | dom: add mediaframewebrendererVíctor Manuel Jáquez Leal2018-10-083-2/+100
| | | | |
| * | | | Provide webrender_api::RenderApiSender to ScriptThread and DOM WindowVíctor Manuel Jáquez Leal2018-10-082-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow the HTMLMediaElement later to get a handle to the RenderApi for rendering video frames. At a later time, all media handling should be moved to its own thread/process that is communicated with via IPC. At that point this can be removed again. Original-patch-by: Sebastian Dröge <sebastian@centricular.com>
| * | | | HACK: don't call media_source_failure_steps when eosVíctor Manuel Jáquez Leal2018-10-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Because gstreamer's appsrc queue might be big enough to swallow the whole video holding the metadata extraction until EOS.
| * | | | dom: htmlmediaelement: add initial player bitsVíctor Manuel Jáquez Leal2018-10-083-30/+101
| | | | | | | | | | | | | | | | | | | | Also removes the usage of audio-video-metadata crate (?)
| * | | | add a fixme message of not implemented modeVíctor Manuel Jáquez Leal2018-10-081-0/+1
| | | | |
| * | | | htmlmediaelement: typoVíctor Manuel Jáquez Leal2018-10-081-1/+1
| | | | |
* | | | | Auto merge of #21785 - sumit0190:new_markasdirty, r=jdmbors-servo2018-10-081-3/+7
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add framebuffer check for mark_as_dirty, #21691 <!-- Please describe your changes on the following line: --> Check `bound_framebuffer` in each `mark_as_dirty` call, so that we don't dirty the canvas if we don't have a bound framebuffer. --- <!-- 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 #21691 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because there isn't a direct way to test it (yet). <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21785) <!-- Reviewable:end -->
| * | | | Add framebuffer check for mark_as_dirty, #21691sumit01902018-09-241-3/+7
| | | | |
* | | | | Make `mach test-unit` not recompile components after `mach build`Simon Sapin2018-10-071-3/+0
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the `tests` feature flag of the `embedder_traits` crate caused it and every crate recursively depending on it to be built twice. This feature flag was used to provide a specific set of "resources" when running tests. Instead, this commits overrides the `main()` function of the test harness to change resources at runtime before running any test. This is done by adding a dependency that has `name = "test"` in its `[lib]` section of `Cargo.toml`. This overrides the crate found by `extern crate test;` in code generated by `rustc --test`.
* | | | Auto merge of #21868 - servo:webgl, r=jdmbors-servo2018-10-052-32/+94
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Improve ctx.putImageData <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21868) <!-- Reviewable:end -->
| * | | Improve gl.putImageDataAnthony Ramine2018-10-051-2/+28
| | | | | | | | | | | | | | | | | | | | This commit should allow us to send smaller blobs to the canvas thread, I made it into its own commit just to try=wpt.
| * | | Align canvas.putImageData with specAnthony Ramine2018-10-052-35/+22
| | | | | | | | | | | | | | | | The arguments are supposed to be long values, not floats.
| * | | Move canvas.putImageData checks to the DOM sideAnthony Ramine2018-10-051-11/+60
| | | |
* | | | Upgrade to rustc 1.31.0-nightly (8c4ad4e9e 2018-10-04)Simon Sapin2018-10-051-1/+8
|/ / / | | | | | | | | | CC https://github.com/rust-lang/rust/issues/54846
* | | Reindent the WebGL 2 case of canvas.toDataURLAnthony Ramine2018-10-031-6/+5
| | |
* | | Slightly clean up the final URL creation in canvas.toDataURLAnthony Ramine2018-10-031-13/+10
| | |
* | | Make HTMLCanvasElement::get_size return a Size2D<u32>Anthony Ramine2018-10-027-29/+31
| | | | | | | | | | | | The changes keep trickling down.
* | | Implement JSTraceable for Size2D<u32>Anthony Ramine2018-10-021-0/+7
| | |
* | | Implement JSTraceable for (A, B, C, D) instead of (T, T, T, T)Anthony Ramine2018-10-021-1/+7
| |/ |/|
* | script: Optionally store backtraces when throwing DOM exceptions.Josh Matthews2018-10-013-1/+32
| |
* | webgl: Add feature to store backtraces for each WebGL API call for easier ↵Josh Matthews2018-10-013-3/+29
| | | | | | | | debugging.
* | Auto merge of #21506 - ferjm:webaudio.wpts, r=Manishearthbors-servo2018-09-252-6/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some WebAudio WPTs - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21506) <!-- Reviewable:end -->
| * | Throw if time given to AudioScheduledSourceNode.stop is negativeFernando Jiménez Moreno2018-09-252-4/+8
| | |
| * | Use buffer_set flag for AudioBufferSourceNode buffer setterFernando Jiménez Moreno2018-09-251-2/+11
| | |
* | | Auto merge of #21757 - ferjm:offlineaudiocontext.constructor, r=jdmbors-servo2018-09-251-19/+17
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check constraints in both overloaded OfflineAudioContext constructors - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are WPTs tests for these changes and this should fix the remaining OfflineAudioContext failures. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21757) <!-- Reviewable:end -->
| * | Check constraints in both overloaded OfflineAudioContext constructorsFernando Jiménez Moreno2018-09-201-19/+17
| | |
* | | Auto merge of #21784 - servo:jdm-patch-33, r=noxbors-servo2018-09-231-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use standard buffer format for DEPTH_STENCIL This makes the Going Home title display for me on my Pixel 2. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21763 - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21784) <!-- Reviewable:end -->
| * | | webgl: Use standard texture format for WebGL-specific DEPTH_STENCIL format.Josh Matthews2018-09-211-3/+3
| | |/ | |/|
* / | webgl: Restore active texture if it's changed while deleting a texture.Josh Matthews2018-09-211-1/+1
|/ /
* | Auto merge of #21680 - paavininanda:relevant_mut, r=jdmbors-servo2018-09-203-11/+56
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding all the relevant mutations <!-- 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 a subset of #11416 <!-- Either: --> - [x] These changes do not require tests <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- 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="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21680) <!-- Reviewable:end -->
| * | Adding relevant mutations and new test resultspaavininanda2018-09-203-11/+56
| | |
* | | Auto merge of #21647 - AgustinCB:fix-space-leak-when-pipeline-is-closed, ↵bors-servo2018-09-201-4/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=asajeffrey Fix space leak when pipeline is closed Add a new control message to drop remove worklets. Implement `Drop` for `Worklet` and get the worklet thread pool. Use that pool to send `ExitWorklet` to all the threads with the id of the `Worklet` that it's dropping. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #17442 - [ ] There are tests for these changes OR - [x] These changes do not require tests because I don't know how to add a test for this :( If you consider this needs a test, could you point me out on how to write (and run!) one in this project? I gave this a couple tries, but I wasn't very successful. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21647) <!-- Reviewable:end -->
| * | | Fix space leak when pipeline is closedAgustin Chiappe Berrini2018-09-081-4/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new control message to drop remove worklets. Implement `Drop` for `Worklet` and get the worklet thread pool. Use that pool to send `ExitWorklet` to all the threads with the id of the `Worklet` that it's dropping.