aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Moar detach shadow improvementsFernando Jiménez Moreno2019-07-222-51/+43
|
* More detach shadow changesFernando Jiménez Moreno2019-07-224-9/+18
|
* Detach shadow clean upFernando Jiménez Moreno2019-07-224-60/+71
|
* Remove extra hash-map lookup unregistering media controlsFernando Jiménez Moreno2019-07-221-2/+2
|
* Remove unused ShadowRoot constructor argumentFernando Jiménez Moreno2019-07-222-12/+4
|
* Only allow UA widgets as children of media elementsFernando Jiménez Moreno2019-07-222-7/+1
| | | | Do not allow pseudo-elements for replaced elements
* Implement method to remove media controlsFernando Jiménez Moreno2019-07-223-6/+24
|
* Revert changes to load media styles as UA stylesFernando Jiménez Moreno2019-07-222-29/+3
| | | | Revert changes to set chrome url of user agent widget styles
* Do not try to render controls if they are already renderedFernando Jiménez Moreno2019-07-221-4/+4
|
* Do not render controls until we have metadataFernando Jiménez Moreno2019-07-221-0/+9
|
* Expose HTMLMediaElement.controlsFernando Jiménez Moreno2019-07-222-1/+6
|
* Anchor controls inside bottom of video elementFernando Jiménez Moreno2019-07-221-2/+0
|
* Media UI basic functionalityFernando Jiménez Moreno2019-07-224-7/+41
|
* Barebones media UIFernando Jiménez Moreno2019-07-227-25/+148
|
* Implement tag name selector for FindElementsFromElement WebDriver commandGeorge Roman2019-07-212-2/+33
|
* Implement tag name selector for FindElementFromElement WebDriver commandGeorge Roman2019-07-212-0/+29
|
* Implement tag name selector for FindElements WebDriver commandGeorge Roman2019-07-212-0/+27
|
* Implement tag name selector for FindElement WebDriver commandGeorge Roman2019-07-212-0/+27
|
* Auto merge of #23812 - tdelacour:ISSUE-21257, r=jdmbors-servo2019-07-202-4/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ISSUE-21257: set redirectEnd on PerformanceResourceTiming <!-- Please describe your changes on the following line: --> Added the appropriate attribute and setters. Included a Timer struct with a `Drop` function to set this value to zero in error cases. Set the value to `responseEnd` on success. Eliminated tests that now pass. --- <!-- 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 #21257 (GitHub issue number if applicable) <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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/23812) <!-- Reviewable:end -->
| * ISSUE-21257: set redirectEnd on PerformanceResourceTimingThomas Delacour2019-07-192-4/+7
| |
* | Auto merge of #23797 - asajeffrey:webxr-framebuffer, r=Manishearthbors-servo2019-07-1910-54/+158
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added framebuffer and related attributes to XRWebGLLayer <!-- Please describe your changes on the following line: --> Implement the `framebuffer` attribute of `XRWebGLLayer`. --- <!-- 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 have 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/23797) <!-- Reviewable:end -->
| * Decoupled DOMErrorName from legacy error codesAlan Jeffrey2019-07-182-10/+6
| |
| * Dead code eliminationAlan Jeffrey2019-07-181-4/+0
| |
| * Added framebuffer and related attributes to XRWebGLLayerAlan Jeffrey2019-07-189-44/+156
| |
* | Auto merge of #23368 - gterzian:clean_up_navigation, r=asajeffreybors-servo2019-07-187-138/+275
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean-up navigation <!-- Please describe your changes on the following line: --> 1. Navigation as a result of following a hyperlink should be done in a task: https://html.spec.whatwg.org/multipage/links.html#following-hyperlinks:dom-manipulation-task-source 2. The javascript url navigation should also be done in a task: https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigating-across-documents:dom-manipulation-task-source 3. In `window.load_url`, it seems there is no need to send a message to the script-thread(the entirety of `load_url` should instead be done in a task when appropriate), so we can just do that last part "sync" by calling a method on the script, which will send a message to the constellation(for the parallel navigation steps), or queue task(for the JS navigation), as appropriate. 4. Separate the "normal" navigation flow from the handling of "navigate an iframe" message from constellation, since doing everything in one method as was previously done with `handle_navigate`, is confusing. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- 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/23368) <!-- Reviewable:end -->
| * clean-up navigationGregory Terzian2019-07-187-138/+275
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | security: check target and source origin before executing JS url implement replacement-enabled flag as a HistoryEntryReplacement enum add source origin string on loaddata add LoadOrigin iframe: remove optional load-data auxiliaries: add load-data into info constellation: remove url from Pipeline::new check load origin: link to whatwg issue switch loadorigin toplevel to constellation
* | Auto merge of #23726 - servo:rustup, r=emiliobors-servo2019-07-172-4/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade to rustc 1.38.0-nightly (4b65a86eb 2019-07-15) <del>This uses `MaybeUninit` in Stylo. `MaybeUninit` is stable in Rust 1.36.0, which Firefox [plans](https://wiki.mozilla.org/Rust_Update_Policy_for_Firefox) to require on 2019-06-18.</del> Update: `MaybeUninit` in Stylo removed from this PR, after https://github.com/rust-lang/rust/pull/62599. <!-- 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/23726) <!-- Reviewable:end -->
| * | Remove uses of mem::uninitializedSimon Sapin2019-07-172-4/+6
| | |
* | | Auto merge of #23786 - Manishearth:xr-wpt, r=asajeffreybors-servo2019-07-178-17/+42
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable XR WPT tests This enables the tests. Most still fail, I plan to go through the failures more soon. xrFrame_getPose's failure seems to indicate we have broken matrix math. I'm not sure what, the bug seems to not come from a simple matrix inversion/ordering mishap. This does add empty stubs for session ending since the test infra relies on these existing for almost every test (https://github.com/servo/servo/issues/23788). We will need to add support for this from the webxr repo side. We also need to add support for user activation (https://github.com/servo/servo/issues/23787). r? @asajeffrey <!-- 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/23786) <!-- Reviewable:end -->
| * | | Unset active bool on XRFrameManish Goregaokar2019-07-161-1/+1
| | | |
| * | | add XREye.noneManish Goregaokar2019-07-162-2/+2
| | | |
| * | | Add stubs for session start/endManish Goregaokar2019-07-164-2/+18
| | | |
| * | | Update xr.requestSession() argumentsManish Goregaokar2019-07-162-11/+12
| | | |
| * | | Add simulateUserActivationManish Goregaokar2019-07-162-1/+9
| |/ /
* / / Dirty the canvas when WebXR draws to its GL contextAlan Jeffrey2019-07-161-3/+17
|/ /
* | Auto merge of #23203 - iulianR:22828, r=jdmbors-servo2019-07-155-0/+75
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement PerformanceNavigation interface <!-- Please describe your changes on the following line: --> This is my first attempt. Please let me know if I should change anything. --- <!-- 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 #22828 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because **not sure** <!-- 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/23203) <!-- Reviewable:end -->
| * | Implement PerformanceNavigation interfaceIulian Gabriel Radu2019-06-265-0/+75
| | |
* | | Change bindings generation to make Exposed annotation aware of ↵sreeise2019-07-1415-25/+118
| | | | | | | | | | | | members/partial interfaces
* | | Make GL/GLES decisions based on the API in use.Josh Matthews2019-07-128-21/+42
| | |
* | | Auto merge of #23516 - pcwalton:webrenderup, r=pcwalton,jdmbors-servo2019-07-122-2/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Upgrade WebRender This is against an old Servo because I can't build current Servo due to compile errors in RNG crates. I verified that it starts up. --- <!-- 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 #23516 - [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/23516) <!-- Reviewable:end -->
| * | | WebRender units are no longer reexported.Patrick Walton2019-07-092-2/+3
| | | |
* | | | Require default dictionary value for optional dictsKagami Sascha Rosylight2019-07-1269-94/+101
| | | |
* | | | Sync WebIDL.py with geckoKagami Sascha Rosylight2019-07-1235-221/+727
| | | |
* | | | Error on invalid rotation values in XRRigidTransform constructorManish Goregaokar2019-07-111-0/+6
| | | |
* | | | Add active and animationFrame flags to XRFrameManish Goregaokar2019-07-112-1/+26
| | | |
* | | | Remove session deactivationManish Goregaokar2019-07-111-5/+0
| | | |
* | | | Hook input code into new webxr crateManish Goregaokar2019-07-115-55/+54
| | | |
* | | | Update test API, hook it up to webxr mockingManish Goregaokar2019-07-114-56/+132
| | | |
* | | | Add a viewer typed reference spaceManish Goregaokar2019-07-114-23/+21
| | | |
* | | | Clean up vrdisplay, set active immersive session correctlyManish Goregaokar2019-07-114-151/+17
| | | |