aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Update Player instantiator APIVíctor Manuel Jáquez Leal2019-05-021-1/+14
| | | | | | | | | | | | Now servo/media player requires a new parameter for its creator, which is a trait object that provides the GL parameters needed for setup the generation of frames as GL textures. This patch provides a dummy GL context trait object where the code path will go to the default of raw frames. Webaudio test expectation also were changed, adding two new failing tests.
* StereoPannerNode DOMMaria Sable2019-04-306-2/+153
|
* Auto merge of #23289 - CYBAI:regex-1.1, r=jdmbors-servo2019-04-291-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update regex to 1.1 I just found the `aho-corasick` dependency is still `0.6.9` and then I found `regex` depends on it. I remember there's a rewrite of `aho-corasick` at BurntSushi/aho-corasick@e8493baf54d0685d35c2e0a3bf4104717bdf0bd2 to improve itself. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because it just updates `regex` crate <!-- 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/23289) <!-- Reviewable:end -->
| * Update regex to 1.1CYBAI2019-04-291-1/+1
| |
* | Auto merge of #23253 - BartGitHub:refactor-promise-compartment, r=jdmbors-servo2019-04-2927-95/+301
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor promise compartment <!-- Please describe your changes on the following line: --> This PR adds a mechanism to verify that certain code is executed inside a ```JSAutoCompartment```, and applies this to the ```Promise::new_in_current_compartment``` constructor. r? @jdm --- <!-- 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 #23167 <!-- Either: --> - [x] These changes do not require tests because they do not change existing functionality. <!-- 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/23253) <!-- Reviewable:end -->
| * | Create new compartment in Promise constructorAron Zwaan2019-04-291-3/+5
| | |
| * | Pass InCompartment by valueAron Zwaan2019-04-2526-50/+52
| | |
| * | Add proof parameter to Promise::new_in_current_compartmentAron Zwaan2019-04-2425-95/+263
| | |
| * | Add proof that code is executed in compartmentAron Zwaan2019-04-242-0/+34
| | |
* | | Auto merge of #23236 - swarnimarun:loop_patch, r=ferjmbors-servo2019-04-292-7/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- 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 #22290 <!-- Either: --> - [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/23236) <!-- Reviewable:end -->
| * | | Implement HTMLMediaElement.loop AttributeSwarnim Arun2019-04-262-7/+6
| | | |
* | | | Auto merge of #22743 - ferjm:shadowdom, r=emiliobors-servo2019-04-2956-640/+1788
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial ShadowDOM support This is just an early WIP, not to take it very seriously yet. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [x] These changes fix #22719 - [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/22743) <!-- Reviewable:end -->
| * | | Set self as containing_shadow_root for shadow rootsFernando Jiménez Moreno2019-04-292-8/+3
| | | |
| * | | Final nits; fix custom elements rare data usage; s/owner_s_r/containing_s_rFernando Jiménez Moreno2019-04-295-88/+94
| | | | | | | | | | | | | | | | | | | | Clarify special case for containing_shadow_root and add it to layout accessor
| * | | Do not lazy initialize RareData on its gettersFernando Jiménez Moreno2019-04-264-109/+101
| | | |
| * | | Move StylesheetSetRef to scriptFernando Jiménez Moreno2019-04-265-3/+75
| | | |
| * | | Rename shadow_root_from_node to containing_shadow_rootFernando Jiménez Moreno2019-04-262-4/+4
| | | |
| * | | Rename StylesheetSet to StylesheetSetRefFernando Jiménez Moreno2019-04-263-9/+9
| | | |
| * | | Set dirty descendants flag only for elementsFernando Jiménez Moreno2019-04-261-1/+3
| | | |
| * | | Set dirty descendants if node is connectedFernando Jiménez Moreno2019-04-262-15/+9
| | | |
| * | | Make Node and Element rare_data an OptionFernando Jiménez Moreno2019-04-265-58/+125
| | | |
| * | | Optimize Node::GetRootNodeFernando Jiménez Moreno2019-04-261-3/+9
| | | |
| * | | Merge Node::shadow_including_inclusive_ancestors into inclusive_ancestorsFernando Jiménez Moreno2019-04-269-59/+95
| | | |
| * | | Make devtools find node by unique id function include shadow treesFernando Jiménez Moreno2019-04-261-1/+1
| | | |
| * | | Minor tweaks: rename composed_parent_node_ref, remove or update outdated ↵Fernando Jiménez Moreno2019-04-265-38/+22
| | | | | | | | | | | | | | | | comments...
| * | | Tweak list of shadow roots attached to docFernando Jiménez Moreno2019-04-262-9/+10
| | | |
| * | | Set IS_CONNECTED flag on host and children instead of on containing shadow rootFernando Jiménez Moreno2019-04-261-1/+1
| | | |
| * | | Add custom elements related stuff into ElementRareDataFernando Jiménez Moreno2019-04-265-34/+54
| | | |
| * | | Move mutation observers list to NodeRareDataFernando Jiménez Moreno2019-04-262-8/+7
| | | |
| * | | Introduce NodeRareData and ElementRareDataFernando Jiménez Moreno2019-04-264-17/+46
| | | |
| * | | Introduce BindContext with in_doc and connected flagsFernando Jiménez Moreno2019-04-2621-84/+105
| | | | | | | | | | | | | | | | Fix some is_in_doc -> is_connected mistakes
| * | | Register named elements in either the document or shadow treeFernando Jiménez Moreno2019-04-265-60/+127
| | | |
| * | | Document owner_shadow_rootFernando Jiménez Moreno2019-04-262-7/+10
| | | |
| * | | Do not store composed parent nodeFernando Jiménez Moreno2019-04-261-24/+23
| | | |
| * | | Make StyleSheetListOwner an enum instead of a trait objectFernando Jiménez Moreno2019-04-267-134/+177
| | | |
| * | | Make StylesheetSet an enum instead of a trait objectFernando Jiménez Moreno2019-04-263-13/+12
| | | |
| * | | Do not send RemoveStyleSheet message for shadow rootsFernando Jiménez Moreno2019-04-262-6/+6
| | | |
| * | | Relax attachShadow restrictions for user agent widgetsFernando Jiménez Moreno2019-04-261-2/+11
| | | |
| * | | Add invalidate_stylesheets to StyleSheetsListOwner traitFernando Jiménez Moreno2019-04-266-35/+17
| | | |
| * | | Make StyleSheetListOwner implement JSTraceableFernando Jiménez Moreno2019-04-262-3/+2
| | | |
| * | | Introduce ShadowIncluding enum for tree traversalsFernando Jiménez Moreno2019-04-2614-50/+58
| | | |
| * | | Flush shadow roots stylesheets only if they changedFernando Jiménez Moreno2019-04-262-0/+32
| | | |
| * | | Remove IS_CONNECTED flag when node is removed from the docFernando Jiménez Moreno2019-04-261-0/+1
| | | |
| * | | Do not set dirty out-of-doc nodesFernando Jiménez Moreno2019-04-262-2/+2
| | | |
| * | | Fix the way the IS_CONNECTED flag is setFernando Jiménez Moreno2019-04-263-16/+13
| | | |
| * | | Fix formatting issuesFernando Jiménez Moreno2019-04-262-9/+10
| | | |
| * | | Return composed parent node. Fixes style sharing panicsFernando Jiménez Moreno2019-04-261-1/+1
| | | |
| * | | Retarget result of shadowRoot.element(s)FromPointFernando Jiménez Moreno2019-04-263-10/+30
| | | |
| * | | Fix Document.Element(s)FromPointFernando Jiménez Moreno2019-04-261-1/+1
| | | |
| * | | Do not add shadow tree styles to stylistFernando Jiménez Moreno2019-04-262-8/+9
| | | |