aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/script_msg.rs
Commit message (Collapse)AuthorAgeFilesLines
* Fix media session action handlingFernando Jiménez Moreno2019-11-201-1/+1
|
* Default media session actionsFernando Jiménez Moreno2019-11-201-1/+1
|
* Format code and fix rebase errorsFernando Jiménez Moreno2019-11-201-1/+3
|
* Move active media session logic to constellationFernando Jiménez Moreno2019-11-201-1/+2
|
* Introduce embedder MediaSessionEvent and move active session to ServoFernando Jiménez Moreno2019-11-201-4/+0
|
* Register media instance with session and prepare communication with embedderFernando Jiménez Moreno2019-11-201-0/+5
|
* Auto merge of #24664 - gterzian:fix_port_transfer, r=jdmbors-servo2019-11-181-0/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix loophole in messageport transfer <!-- 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: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #24600 (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. -->
| * fix complete messageport transferGregory Terzian2019-11-151-0/+14
| |
* | Fix some warnings new in Rust NightlySimon Sapin2019-11-081-2/+2
|/
* continue messageport, transferable, postmessage optionsGregory Terzian2019-10-191-5/+34
|
* begin messageport, transferable objects, implKeith Yeung2019-10-191-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Accept transfer argument for StructuredCloneData::write Allow structured clone reads to return a boolean Add Transferable trait Add basic skeletons to MessagePort Implement transfer and transfer-receiving steps on MessagePort Use transfer and transfer_receive in StructuredClone callbacks Implement MessageChannel Freeze the array object for the MessageEvent ports attribute Implement transfer argument on window.postMessage Use ReentrantMutex instead for MessagePortInternal Accept origin as a parameter in dispatch_jsval Fix BorrowMut crash with pending_port_message Detach port on closure and check for detached during transfer Enable webmessaging tests fix webidl fix
* Update euclid.Emilio Cobos Álvarez2019-07-231-3/+7
| | | | | | | | 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 #23368 - gterzian:clean_up_navigation, r=asajeffreybors-servo2019-07-181-4/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-181-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | WebRender units are no longer reexported.Patrick Walton2019-07-091-1/+1
| |
* | Remove clipboard handling from constellation, and remove ScriptMessage for ↵Michal Mieczkowski2019-06-131-6/+0
|/ | | | getting/setting clipboard
* Auto merge of #23135 - maharsh312:master, r=jdmbors-servo2019-05-131-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create CanvasRect for OffscreenCanvas <!-- Please describe your changes on the following line: --> Created CanvasRect fot OffscreenCanvas and Updated Testcases --- <!-- 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 - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (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/23135) <!-- Reviewable:end -->
| * Changes for sender recieverMaharsh2019-05-091-1/+1
| |
* | Update SetCursor behaviorPaul Rouget2019-04-251-4/+1
| |
* | Implementing the builder pattern for RequestInitLucas Fantacuci2019-04-101-2/+2
|/
* Remove SetVisible message from iframeAron Zwaan2019-03-121-3/+0
|
* Fix servo build and rustfmt recent changes.Emilio Cobos Álvarez2019-01-201-3/+2
| | | | | We need to introduce another Cursor enum that is specific to embedder_traits and that layout converts to to avoid dependency hell.
* Suppress iframe size messages from layout that include unchanged sizes.Josh Matthews2019-01-141-1/+20
|
* Provide the source window as part of postMessage events.Josh Matthews2019-01-071-2/+11
|
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-1/+1
|
* Update webrenderManish Goregaokar2018-11-271-4/+4
|
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Reorder importsPyfisch2018-11-061-3/+3
|
* Sort `use` statementsSimon Sapin2018-11-061-1/+1
|
* `cargo fix --edition`Simon Sapin2018-11-061-9/+9
|
* Add lots of derived Debug implsAlan Jeffrey2018-10-291-4/+4
|
* Make HTMLCanvasElement::get_size return a Size2D<u32>Anthony Ramine2018-10-021-1/+1
| | | | The changes keep trickling down.
* Create ScriptMsg::GetBrowsingContextInfomandreyel2018-09-141-6/+7
|
* Format components/script_traitschansuke2018-09-131-4/+20
|
* implement opener, disowningGregory Terzian2018-08-111-1/+5
|
* implement window.open, create auxiliary browsing contextGregory Terzian2018-08-111-0/+4
|
* Track hash changes in session historyConnor Brewster2018-07-211-0/+3
| | | | Notify history changed on pushState and scroll to frag
* improve spec compliance of window.closeGregory Terzian2018-06-041-3/+3
|
* move msg to embedder_traits, use in script, handle send error in embedderGregory Terzian2018-05-231-35/+4
|
* Cleanup constellation debug messagesConnor Brewster2018-05-181-0/+71
|
* Auto merge of #20615 - KiChjang:window-indexed-getter, r=emiliobors-servo2018-05-171-0/+2
|\ | | | | | | | | | | | | | | | | | | | | Implement window indexed getter Fixes #4589. <!-- 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/20615) <!-- Reviewable:end -->
| * Add a new RPC call for getting a child browsing context IDKeith Yeung2018-04-301-0/+2
| |
* | Auto merge of #20329 - gterzian:before_unload, r=cbrewsterbors-servo2018-05-071-0/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement beforeunload event and infrastructure <!-- Please describe your changes on the following line: --> Implementation of: 1. https://html.spec.whatwg.org/multipage/#prompt-to-unload-a-document, and 2. https://html.spec.whatwg.org/multipage/#unload-a-document --- <!-- 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 #10787 and fix #20485 and fix #20588 and fix #20496 (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/20329) <!-- Reviewable:end -->
| * | beforeunload and unload infrastructureGregory Terzian2018-05-051-0/+2
| |/
* | Auto merge of #20743 - paulrouget:rmFwdEvent, r=emiliobors-servo2018-05-031-3/+0
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove useless message <!-- 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 - [ ] 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/20743) <!-- Reviewable:end -->
| * Remove useless messagePaul Rouget2018-05-031-3/+0
| |
* | Auto merge of #20671 - cbrewster:history_url, r=asajeffreybors-servo2018-04-301-2/+2
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make session history aware of URLs <!-- 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 build-geckolib` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (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/20671) <!-- Reviewable:end -->
| * Make session history aware of URLsConnor Brewster2018-04-241-2/+2
| |
* | Notify the embedder when it should display or hide an IMEFabrice Desré2018-04-211-1/+5
|/
* Implement history stateConnor Brewster2018-04-161-1/+5
|