aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Add support for OpenXR hololens backendManish Goregaokar2019-08-121-4/+0
|/ / / / / /
* | | | | | Update rand to 0.6Bastien Orivel2019-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I changed the isaac random to always be the 32 bits one because the 64 bits version doesn't work with ReseedingRng as it requires the generator's output to be u32 for some reasons. The other main change is that the reseed method doesn't exist anymore and now rand recreates a new generator when it needs to reseed so I had to add a new method for when we don't want a generator to be reseeded. Closes #23558
* | | | | | Add support for returning array-like types from the Execute(Async)Script wd ↵George Roman2019-08-101-1/+1
| |/ / / / |/| | | | | | | | | | | | | | command
* | | | | Use safe JSContext in callbacksmarmeladema2019-08-092-31/+27
| | | | |
* | | | | Use safe JSContext as first argument for throw_dom_exceptionmarmeladema2019-08-095-24/+28
| | | | |
* | | | | Remove usage of various unsafe keywordmarmeladema2019-08-092-15/+16
| | | | |
* | | | | Use safe JSContext when possible in interface.rsmarmeladema2019-08-096-180/+198
| | | | |
* | | | | Use safe JSContext in get_constructor_object_from_local_namemarmeladema2019-08-091-5/+5
| | | | |
* | | | | Use safe JSContext in MicrotaskQueuemarmeladema2019-08-091-12/+6
| | | | |
* | | | | Use safe JSContext in compartmentsmarmeladema2019-08-091-1/+1
| | | | |
* | | | | Remove some usage of unsafe code in iterator.rsmarmeladema2019-08-091-14/+14
| | | | |
* | | | | Remove some usage of unsafe code in AudioBuffermarmeladema2019-08-091-18/+19
| | | | |
* | | | | Remove some usage of unsafe code in Permissionsmarmeladema2019-08-092-37/+30
| | | | |
* | | | | Don't mark new methods as unsafe in code generationmarmeladema2019-08-091-14/+16
| | | | |
* | | | | Remove some usage of unsafe code in CustomElementRegistrymarmeladema2019-08-091-34/+28
| | | | |
* | | | | Remove some usage of unsafe code in FileReadermarmeladema2019-08-091-8/+6
| | | | |
* | | | | Remove some usage of unsafe code in XMLHttpRequestmarmeladema2019-08-091-21/+21
| | | | |
* | | | | Remove some usage of unsafe code in HTMLCanvasElementmarmeladema2019-08-091-33/+26
| | | | |
* | | | | Remove some usage of unsafe code in Historymarmeladema2019-08-091-10/+10
| | | | |
* | | | | Remove some usage of unsafe code in Promisemarmeladema2019-08-093-71/+66
| |/ / / |/| | |
* | | | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)Simon Sapin2019-07-3130-99/+110
| | | |
* | | | Auto merge of #23891 - gterzian:fix_raf_flodding, r=asajeffreybors-servo2019-07-301-3/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebXr: allow for only a single raf message, until callbacks execute <!-- Please describe your changes on the following line: --> See https://github.com/servo/webxr/issues/34 --- <!-- 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/23891) <!-- Reviewable:end -->
| * | | | allow for only a single raf message, until callbacks executeGregory Terzian2019-07-301-3/+17
| |/ / /
* | | | Auto merge of #23856 - servo:stylo-engines, r=noxbors-servo2019-07-304-500/+78
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020} Renaming the variable helped make sure I looked at every use. Also auto-generate relevant parts of `CSSStyleDeclaration.webidl`, to make libscript compile accordingly. <!-- 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/23856) <!-- Reviewable:end -->
| * | | Generate apis.html and css-properties.json for docs as part of crates’ ↵Simon Sapin2019-07-302-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build scripts … rather than as an extra step after `cargo doc`. This helps always using the correct set of CSS properties (for layout 2013 v.s. 2020).
| * | | Auto-generate CSSStyleDeclaration.webidl for CSS properties based on the ↵Simon Sapin2019-07-293-479/+61
| | | | | | | | | | | | | | | | style crate
* | | | Auto merge of #23839 - Manishearth:end-improve, r=asajeffreybors-servo2019-07-293-7/+37
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve session test lifecycle code Requires https://github.com/servo/webxr/pull/25 Fixes https://github.com/servo/servo/issues/23796, hopefully 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/23839) <!-- Reviewable:end -->
| * | | | Improve session test lifecycle codeManish Goregaokar2019-07-293-7/+37
| | | | |
* | | | | Auto merge of #23886 - servo:jdm-patch-46, r=asajeffreybors-servo2019-07-291-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid panic during shutdown when Blobs exist Observed when closing the UWP app when https://www.joshmatthews.net/demos/lamp.html is the active document. --- - [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 no real shutdown tests. <!-- 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/23886) <!-- Reviewable:end -->
| * | | | Don't panic if file manager thread is unreachable when cleaning up Blobs.Josh Matthews2019-07-291-1/+1
| |/ / /
* / / / Don't panic if WebGL thread can't be reached during finalization.Josh Matthews2019-07-298-43/+78
|/ / /
* | | Get XR sessions to track the draw texture, so we render the XR framebuffer ↵Alan Jeffrey2019-07-282-4/+20
| | | | | | | | | | | | rather than the default canvas framebuffer
* | | Replace use of callbacks in webxr by channelsAlan Jeffrey2019-07-264-86/+17
| | |
* | | Auto merge of #23777 - jdm:webgl-main-thread, r=asajeffreybors-servo2019-07-264-15/+123
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support running WebGL in its own thread or on the main thread. This is the final missing piece to support WebGL in ANGLE on Windows. ANGLE doesn't support multiple GL contexts on separate threads using the same underlying Direct3d device, so we need to process all GL operations for WebGL on the same thread as the compositor. These changes try to retain enough flexibility to support both approaches so we can get WebGL working on Windows ASAP. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23697 - [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/23777) <!-- Reviewable:end -->
| * | | Remove extra webgl message pumping thread.Josh Matthews2019-07-254-15/+123
| | | |
* | | | Auto merge of #23855 - sreeise:media_frag_string, r=ferjmbors-servo2019-07-262-30/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed DOMString usages to string in MediaFragmentParser <!-- Please describe your changes on the following line: --> Changed `DOMString` usages to `String`/`&str`. --- <!-- 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 #23834 (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/23855) <!-- Reviewable:end -->
| * | | | Changed DOMString usages to string in MediaFragmentParsersreeise2019-07-252-30/+15
| |/ / /
* / / / Update SpiderMonkey bindings for Windows arm64 crash fix.Josh Matthews2019-07-252-18/+23
|/ / /
* | | 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-2436-276/+259
| | |
* | | 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-244-17/+26
| | |
* | | DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-242-7/+8
| | | | | | | | | | | | 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.
* | Auto merge of #23745 - ↵bors-servo2019-07-231-5/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 -->