aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Hook webxr data into XRFrame/XRView/XRSpaceManish Goregaokar2019-07-1112-106/+110
| |
* | Remove old RAF codeManish Goregaokar2019-07-111-21/+0
| |
* | Trigger callbacks in RAFManish Goregaokar2019-07-113-21/+33
| |
* | Apply pending render states in RAFManish Goregaokar2019-07-112-4/+30
| |
* | Add actual frame request in rAFManish Goregaokar2019-07-111-4/+58
| |
* | Add basic rAF and cAF functions that do nothing with the callbacksManish Goregaokar2019-07-111-2/+19
| |
* | Fill in updateRenderState() stubsManish Goregaokar2019-07-113-10/+55
| |
* | Hook requestSession() into new XR crateManish Goregaokar2019-07-114-55/+83
| |
* | Hook supportsSession() into new xr crateManish Goregaokar2019-07-112-8/+62
| |
* | Expose webxr registry to windowManish Goregaokar2019-07-101-0/+9
|/
* Auto merge of #23711 - saschanaz:frompoint, r=Manishearthbors-servo2019-07-055-1/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement DOMPoint.fromPoint <!-- Please describe your changes on the following line: --> Implements DOMPoint.fromPoint and fixes codegen to use default value when an optional dictionary member got `undefined`. PS: The codegen change is about: ```webidl dictionary MyDictionary { optional short myMember = 0; short anotherMember; } [Exposed=Window, Constructor] interface MyInterface { void myMethod(optional MyDictionary myDict); }; ``` ```js // The following two must behave same new MyInterface().myMethod({ myMember: undefined, anotherMember = 0 }); new MyInterface().myMethod({ anotherMember = 0 }); ``` --- <!-- 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 #23710 <!-- Either: --> - [x] There are tests for these changes <!-- 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/23711) <!-- Reviewable:end -->
| * Implement DOMPoint.fromPointKagami Sascha Rosylight2019-07-065-1/+17
| |
* | AudioContext shutdownFernando Jiménez Moreno2019-07-051-0/+14
| |
* | Update servo media to include global mute supportFernando Jiménez Moreno2019-07-057-49/+150
| |
* | Auto merge of #23483 - ceyusa:player-context, r=jdmbors-servo2019-07-043-31/+196
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Media player rendering with GL textures These patches pass the application's OpenGL raw context and the its native display address to the media player, in order to create an internal wrapped context, thus it will generate video frames as textures. For now only EGL from glutin-based app and android are in place, though tested only in Linux glutin app. This PR also renders the generated frame textures by Servo/Media and renders them by using a thread that connects Webrenderer's ExternalImageHandler and each instantiated player. **By now, these patches, disable the WebGL rendering**. We need to provide a ExternalImageHandler demuxer. This PR depends on https://github.com/servo/media/pull/270 - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - This PR fixes #22300 and fixes #22920 In order to test it you must launch servo as `./mach run -- --pref media.glvideo.enabled [...]` <!-- 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/23483) <!-- Reviewable:end -->
| * Do not use WR external images if frames are not texturesFernando Jiménez Moreno2019-07-041-4/+4
| |
| * Fix typos, warnings and other nitsFernando Jiménez Moreno2019-07-043-45/+27
| |
| * Media crateFernando Jiménez Moreno2019-07-042-2/+2
| |
| * Handle WR's lock/unlock logic under FrameRendererVíctor Manuel Jáquez Leal2019-07-041-9/+89
| |
| * Add a task source for messages from GLPlayer threadVíctor Manuel Jáquez Leal2019-07-041-3/+26
| |
| * Add texture image in MediaFrameRendererVíctor Manuel Jáquez Leal2019-07-041-23/+26
| |
| * Register and unregister a player in GLPlayer threadVíctor Manuel Jáquez Leal2019-07-041-0/+33
| |
| * Define the channel type for player eventsVíctor Manuel Jáquez Leal2019-07-041-2/+2
| |
| * Ignore frame if it is a GL textureVíctor Manuel Jáquez Leal2019-07-041-16/+58
| | | | | | | | And mock what would be if we handle GL textures.
| * Add media (WindowGLContext) module in canvas_traitVíctor Manuel Jáquez Leal2019-07-042-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This module adds a structure (WindowGLContext) which holds the OpenGL parameters that are going to be used by servo-media player to render video frames using OpenGL. In order to fill this structure, three new methods were added to WindowMethods trait. In this patch only the Glutin-based implementation provides a simple boilerplate. The WindowGLContext is created in the entry point of libservo, when the application window is created, and later passed to the constellation, the pipeline and to the window element in dom, thus htmlmediaelement has a mean to obtain these parameters via its window.
| * Fix code styleVíctor Manuel Jáquez Leal2019-07-041-0/+1
| |
* | Auto merge of #23669 - georgeroman:more_array_like_types, r=ferjmbors-servo2019-07-041-6/+36
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for more array-like types in is_array_like <!-- 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 <!-- 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/23669) <!-- Reviewable:end -->
| * Add support for more array-like types in is_array_likeGeorge Roman2019-07-021-6/+36
| |
* | Auto merge of #23694 - saschanaz:rotate-fix, r=Manishearthbors-servo2019-07-031-7/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix DOMMatrix rotate test failure <!-- Please describe your changes on the following line: --> Rotation functions have been working backward because of https://github.com/servo/euclid/issues/354, so this temporarily fixes it. cc @Manishearth PS: How can I run bors-servo myself? --- <!-- 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 #23688 <!-- Either: --> - [x] There are tests for these changes OR <!-- 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/23694) <!-- Reviewable:end -->
| * | Fix DOMMatrix rotate test failureKagami Sascha Rosylight2019-07-031-7/+12
| | |
* | | Auto merge of #23654 - julientregoat:issue-23645, r=jdmbors-servo2019-07-032-4/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix panic when running test-background-fetch-permission.html <!-- Please describe your changes on the following line: --> * Propagate `Error::JSFailed` in `Permissions::create_descriptor` * In `Error::to_jsval`, only check if a JS exception is not pending if `self` is not `Error::JSFailed` --- <!-- 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 #23645 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it's a test runner, so by nature if the test runs the test runner is also working as expected. <!-- 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/23654) <!-- Reviewable:end -->
| * | | Propagate JSFailed error & conditionally execute initial assertion when ↵Julien Tregoat2019-07-032-4/+5
| |/ / | | | | | | | | | converting error to JS value.
* / / Use webxr IPC to get a WebXR device registry to each script threadAlan Jeffrey2019-07-031-0/+1
|/ /
* | Auto merge of #23685 - saschanaz:scalenonuniform, r=paulrougetbors-servo2019-07-032-0/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DOMMatrix.prototype.scaleNonUniform <!-- Please describe your changes on the following line: --> Implements `scaleNonUniform()` [per the spec](https://drafts.fxtf.org/geometry/#dom-dommatrixreadonly-scalenonuniform). --- <!-- 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 #23683 <!-- Either: --> - [x] There are tests for these changes <!-- 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/23685) <!-- Reviewable:end -->
| * | add link to the specKagami Sascha Rosylight2019-07-021-0/+1
| | |
| * | Add DOMMatrix.prototype.scaleNonUniformKagami Sascha Rosylight2019-07-022-0/+13
| | |
* | | Auto merge of #23676 - servo:check, r=Manishearthbors-servo2019-07-023-15/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Share more `./mach build` logic with mach check, doc, test-unit Fixes #23659 <!-- 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/23676) <!-- Reviewable:end -->
| * | | Remove `default-except-unstable`Simon Sapin2019-07-013-15/+9
| | |/ | |/| | | | | | | | | | … and use remaining unstable features unconditionally. This doesn’t actually change the set of crates that can build on the Stable channel.