aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlvideoelement.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update servo-media with MediaElementAudioSourceNode engineFernando Jiménez Moreno2019-11-181-3/+3
|
* Auto merge of #24340 - jdm:image-cache-cors, r=Manishearthbors-servo2019-10-071-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow using CORS filtered image responses as WebGL textures More specifically, this makes the "is this image same origin?" check consider the CORS status of the original response, rather than relying on an overly-strict "is this image's response's URL same-origin with a particular global?" check. To do this, we make the image cache double keyed based on the requested URL as well as the requesting origin, and store the CORS status of the eventual response with the final image that eventually gets sent to the HTMLImageElement consumer. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24330 and fix #24368 - [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/24340) <!-- Reviewable:end -->
| * Support CORS attributes for image elements.Josh Matthews2019-10-041-0/+1
| |
| * Double key image cache by requesting origin, and store CORS status with ↵Josh Matthews2019-10-041-0/+1
| | | | | | | | cached images.
* | implement get_image_pixels() for video elementVíctor Manuel Jáquez Leal2019-10-041-0/+27
|/
* Implementing the builder pattern for RequestInitLucas Fantacuci2019-04-101-10/+7
|
* Terminate poster frame load blocker before blocking againFernando Jiménez Moreno2019-01-141-0/+1
|
* Make poster frame load blocker independent from media element's oneFernando Jiménez Moreno2019-01-141-1/+20
|
* Parse poster url relative to the node's documentFernando Jiménez Moreno2019-01-141-7/+1
|
* Reftest for video poster frameFernando Jiménez Moreno2019-01-111-0/+10
|
* Implement HTMLMediaElement poster attributeFernando Jiménez Moreno2019-01-111-3/+277
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-6/+6
|
* HTMLMediaElement - fire durationchange and resize iff something changesFernando Jiménez Moreno2018-10-301-0/+8
|
* Rustfmt and make tidy happyFernando Jiménez Moreno2018-10-081-2/+4
|
* Media element duration paramFernando Jiménez Moreno2018-10-081-0/+2
|
* videoWidth and videoHeight paramsFernando Jiménez Moreno2018-10-081-1/+31
|
* Format script componentchansuke2018-09-191-10/+19
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-2/+2
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Solving merge conficts related to the html5ever_atoms -> html5ever changeChristian Poveda2017-05-031-1/+1
|\
| * Upgrade to html5ever 0.16Simon Sapin2017-05-021-1/+1
| |
* | Changed all prefixes from DOMString to the atomic Prefix from html5everChristian Poveda2017-05-031-4/+3
|/
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Update to string-cache 0.3Simon Sapin2016-11-031-3/+3
|
* Most of the code refactoring needed to be done is done with this commit.Arthur Marble2016-09-181-4/+4
|
* Inline DOM element creation into box expressions in components/script/dom/Kuba Birecki2016-07-141-2/+3
|
* Move DOMString back to scriptAnthony Ramine2016-05-241-1/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Remove unnecessary conversion to/from DOMString for localName.Eli Friedman2015-12-021-2/+3
|
* Explicitly customise flags of new nodes where neededAnthony Ramine2015-10-151-2/+1
| | | | | | | Given codegen now generates the various TypeId enums, it seems pointless to still have to write their respective values in every DOM struct inheriting from Node just to set the initial IS_IN_DOC flag in Document and IN_ENABLED_STATE in form controls.
* Generate all Derived implementations in codegenAnthony Ramine2015-10-141-13/+1
|
* Generate the TypeId enums in codegenAnthony Ramine2015-10-141-6/+6
|
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-2/+0
| | | | closes #7357
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+1
|
* Upgrade to SM 39Michael Wu2015-06-191-3/+3
|
* Reduce max line length from 150 to 120 charactersCorey Farwell2015-05-241-2/+5
| | | | Part of https://github.com/servo/servo/issues/6041
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-1/+1
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Fix inheritance enums for htmlmediaelement and htmltablecellelementMegha Gupta2015-01-021-4/+7
|
* Add HTMLElementTypeId enum (fixes #3625)Megha Gupta2015-01-021-2/+3
|
* Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-6/+0
| | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-5/+5
|
* Use #[dom_struct] everywhereManish Goregaokar2014-10-161-3/+1
|
* Privatize EventTarget and EventListenerEntryTim Taubert2014-10-131-1/+1
|
* Privatize InheritTypesTim Taubert2014-10-131-1/+2
|
* Take the prefix from createElementNS into account for HTML elementsGilles Leblanc2014-10-061-4/+4
| | | | Fixes #3139
* Made some DOM fields private.ProgramFOX2014-09-261-1/+1
| | | | Relevant to #2242.
* Use JSTraceable everywhereManish Goregaokar2014-09-241-1/+1
|
* First steps of &JSRef -> JSRef conversionCameron Zwarich2014-09-191-2/+2
| | | | | | | | | Replace &JSRef with JSRef in the bulk of the generated code. This will remove a level of indirection throughout all DOM code. This patch doesn't change methods implemented on JSRef<T> to take `self` rather than `&self`, and it leaves a few other uses of &JSRef, but those changes can be made incrementally.
* Use #[must_root] for HTMLElementsManish Goregaokar2014-09-171-0/+2
|