aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #23837 - cburgos:bugfix/link_called-update, r=jdmbors-servo2019-07-241-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | update link_called when link function called. <!-- Please describe your changes on the following line: --> On call of WebGLProgram::link update link_called to true --- <!-- 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 #23722 (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/23837) <!-- Reviewable:end -->
| * update link_called when link function called.Christopher Burgos2019-07-231-0/+1
| |
* | Modify *::get_cx methods to return a safe JSContext instead of a raw onemarmeladema2019-07-2443-321/+306
| |
* | Convert CGTraitInterface to use safe JSContext instead of raw JSContextmarmeladema2019-07-2443-529/+444
| |
* | Convert internal methods to handle safe JSContext instead of raw JSContextmarmeladema2019-07-244-139/+151
| |
* | Callbacks now uses safe JSContext instead of raw JSContextmarmeladema2019-07-245-18/+27
| |
* | DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-243-8/+9
| | | | | | | | as first argument.
* | GetPerInterfaceObject methods now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-242-10/+11
| | | | | | | | as first argument.
* | CreateInterfaceObjects now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-29/+29
| | | | | | | | as first argument.
* | Wrap(Global)Method now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-2410-37/+55
| | | | | | | | as first argument.
* | ConstructorEnabled now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-2/+3
| | | | | | | | | | a first argument. The function cannot be made safe because of call to unsafe function is_exposed_in.
* | Add safe JSontext wrapper around unsafe RawJSContextmarmeladema2019-07-241-0/+19
| |
* | Rename JSContext from js::jsapi to RawJSContextmarmeladema2019-07-241-10/+10
| |
* | Auto merge of #23745 - ↵bors-servo2019-07-233-6/+61
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | georgeroman:implement_get_element_property_wd_command, r=jdm Implement GetElementProperty wd command <!-- 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 <!-- 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/23745) <!-- Reviewable:end -->
| * | Implement GetElementProperty WebDriver commandGeorge Roman2019-07-232-1/+49
| | |
| * | Check existence of property in get_property_jsvalGeorge Roman2019-07-231-5/+12
| | |
* | | Update euclid.Emilio Cobos Álvarez2019-07-2334-153/+167
| | | | | | | | | | | | | | | | | | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* | | Auto merge of #23820 - ↵bors-servo2019-07-232-0/+145
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | georgeroman:link_text_selectors_for_find_element_wd_commands, r=jdm Implement Link and PartialLink text selectors for FindElement and related WebDriver commands <!-- 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 <!-- 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/23820) <!-- Reviewable:end -->
| * | | Implement link and partial link text selectors for FindElement and related ↵George Roman2019-07-232-0/+145
| | | | | | | | | | | | | | | | WebDriver commands
* | | | Auto merge of #23814 - Manishearth:events, r=asajeffreybors-servo2019-07-2314-72/+294
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partial support for events in WebXR Needs https://github.com/servo/webxr/pull/20 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/23814) <!-- Reviewable:end -->
| * | | Support XRTest.disconnectAllDevices()Manish Goregaokar2019-07-233-3/+51
| | | |
| * | | Make use of ended flag, get rid of XRLayerManish Goregaokar2019-07-229-64/+52
| | | |
| * | | Support end events and end()Manish Goregaokar2019-07-223-9/+57
| | | |
| * | | Add XRSessionEventManish Goregaokar2019-07-223-0/+94
| | | |
| * | | Attach XR event callbacksManish Goregaokar2019-07-221-1/+45
| |/ /
* | | Auto merge of #23774 - sreeise:media_fragment_parser, r=ferjmbors-servo2019-07-235-11/+406
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Media fragment parser <!-- Please describe your changes on the following line: --> Media fragment parser for audio and video. --- <!-- 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 #22366 (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/23774) <!-- Reviewable:end -->
| * | | Media fragment parsersreeise2019-07-225-11/+406
| | | |
* | | | 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
| | | |