aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
Commit message (Collapse)AuthorAgeFilesLines
* change function signature to get type name via intrinsicstoidiu2017-09-031-1/+2
|
* Add paint metrics to Performance Timeline APIFernando Jiménez Moreno2017-08-231-2/+20
|
* Wait for actual paint before setting paint related metricsFernando Jiménez Moreno2017-08-221-1/+3
|
* Performance Timeline APIFernando Jiménez Moreno2017-08-171-1/+15
|
* Improve WebGL architecture.Imanol Fernandez2017-08-151-3/+9
|
* Auto merge of #17425 - paulrouget:attach-pipeline-2, r=asajeffreybors-servo2017-08-151-30/+35
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleanup embedder/compositor/constellation/script messages Fix: #17226 #17200 #17201 This is work in progress. Some tests still fail. I'd like to get early feedback as it's a pretty large PR. There is nothing fundamentally new. Basically, I added TopLevelBrowsingContrextId to the relevant messages between the embedder, the compositor and the constellation, and enforced the PipelineId to be attached to each ScriptMsg (see #17201). I unaliased all the ScriptMsg. It was getting difficult to understand the nature of the message as ScriptMsg was used aliased CompositorMsg sometimes (CompositorMsg is an actually type of message already). I renamed constellation_chan to script_to_constellation_chan, again, for clarification. This cleanup code is necessary for #15934 and for tabs support. /cc @asajeffrey can I ask you to look at this? No need for a formal review, I need feedback at this stage. <!-- 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/17425) <!-- Reviewable:end -->
| * make use of ScriptToConstellationChanPaul Rouget2017-08-151-30/+35
| |
* | Handle exceptions during upgradesConnor Brewster2017-08-091-2/+4
| |
* | Add upgrade reactionConnor Brewster2017-08-091-2/+11
|/
* Implement basic Time To First Paint and First Contentful Paint PWMsFernando Jiménez Moreno2017-07-201-1/+5
|
* Auto merge of #17761 - cbrewster:ce_reactions, r=jdmbors-servo2017-07-181-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add [CEReactions] to webidls <!-- Please describe your changes on the following line: --> Relies on #17614 --- <!-- 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: --> - [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/17761) <!-- Reviewable:end -->
| * Implement CEReactions codegenConnor Brewster2017-07-181-0/+18
| |
* | Auto merge of #17735 - ferjm:navigationstart, r=jdmbors-servo2017-07-181-3/+11
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | Set navigation start value according to navigation timing spec - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #17651 <!-- 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/17735) <!-- Reviewable:end -->
| * Set navigation start value according to navigation timing specFernando Jiménez Moreno2017-07-181-3/+11
| |
* | Auto merge of #17614 - cbrewster:custom_element_reactions, r=jdmbors-servo2017-07-171-0/+24
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement custom element reactions <!-- Please describe your changes on the following line: --> Initial work for implementing custom element reactions: https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-reactions --- <!-- 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 #17433 (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/17614) <!-- Reviewable:end -->
| * Invoke backup element queue via a microtaskConnor Brewster2017-07-171-0/+9
| |
| * Support custom element callback reactionsConnor Brewster2017-07-171-0/+15
| |
* | Auto merge of #16508 - brainlessdeveloper:fetch-set-origin, r=asajeffreybors-servo2017-07-171-2/+8
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properly set origin of fetch requests <!-- Please describe your changes on the following line: --> These changes aim to fix #15247 --- <!-- 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 #15247 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes - [x] These changes do not require tests because cors is already tested with different origins These changes require changes in tests, but I need help with that (see comments below). <!-- 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/16508) <!-- Reviewable:end -->
| * Change RequestInit origin type to ImmutableOriginFausto Núñez Alberro2017-07-161-2/+8
| |
* | Implemented paint worklet properties.Alan Jeffrey2017-07-111-3/+12
|/
* WebVR 1.1 spec compatibilityImanol Fernandez2017-07-051-1/+0
|
* Implemented paint worklet rendering context.Alan Jeffrey2017-06-301-0/+22
|
* Bump serde to 1.0Bastien Orivel2017-06-161-1/+1
|
* Auto merge of #17323 - ibmandura:issue16057, r=jdmbors-servo2017-06-151-0/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid panic when reloading a page with mouse event handlers This PR fixes issue #16057, by nullifying `topmost_mouse_over_target` inside of the `handle_exit_pipeline_msg` method, in case owner document is the same as the pipeline document that is being destroyed. - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors Testing was done manually, by running `./mach run (-r|-d) "http://localhost:8000/minimal.html" `, where `minimal.html` contains `<div onmouseover="location.reload()" onmouseout="this.clientLeft">hi there</div>`. r?@jdm <!-- 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/17323) <!-- Reviewable:end -->
| * Fixing issue #16057budaim2017-06-141-0/+7
| |
* | Bump euclid to 0.14.Nicolas Silva2017-06-141-5/+3
|/
* Added Debug implementations.Alan Jeffrey2017-06-131-0/+3
|
* Redirect document loads manuallyNikhil Shagrithaya2017-05-311-29/+61
|
* Webdriver uses browsing context ids rather than pipeline ids.Alan Jeffrey2017-05-251-2/+2
|
* Added a TopLevelBrowsingContextId type.Alan Jeffrey2017-05-221-25/+53
|
* Auto merge of #16861 - gterzian:use_microtask_to_await_stable_state, r=jdmbors-servo2017-05-191-5/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use microtasks to await a stable state. <!-- Please describe your changes on the following line: --> @jdm @KiChjang First pass at using microtasks to await a stable state. I ran into all sorts of problems to get it to compile, I think it's mainly related to the fact that the microtasks are stored in a `Vec`, which meant the `Runnalbe.handler(self: Box<Self>)` couldn't be called while iterating over the Vec... It compiles now although I haven't run any tests. I'm assuming I'm missing something fundamental and was hoping my changes would highlight the problems I run into, and you had a better idea of how to implement this... Perhaps we shouldn't pass a `Runnable` to `await_stable_state` at all? --- <!-- 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 #15375 (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/16861) <!-- Reviewable:end -->
| * use microtasks to await a stable stateGregory Terzian2017-05-191-5/+2
| |
* | Implemented Houdini worklets.Alan Jeffrey2017-05-171-1/+27
|/
* Auto merge of #16883 - jdm:mutationobserver, r=jdmbors-servo2017-05-171-0/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mutation Observer API Rebased from #16668. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix (partially) #6633 - [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/16883) <!-- Reviewable:end -->
| * Mutation Observer APISumit2017-05-151-0/+26
| |
* | Renamed constellation::Frame to constellation::BrowsingContext.Alan Jeffrey2017-05-151-57/+67
|/
* Make methods storing layout-originating nodes unsafe.Josh Matthews2017-05-151-3/+5
|
* Root nodes for the duration of their CSS transitions.Josh Matthews2017-05-151-8/+39
| | | | | | | | This ensures that we can pass a node address as part of the asynchronous transition end notification, making it safe to fire the corresponding DOM event on the node from the script thread. Without explicitly rooting this node when the transition starts, we risk the node being GCed before the transition is complete.
* Auto merge of #16845 - asajeffrey:script-rename-browsing-contexts, r=jdmbors-servo2017-05-131-31/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed BrowsingContext to WindowProxy in script. <!-- Please describe your changes on the following line: --> Renamed `script::dom::BrowsingContext` to `script::dom::WindowProxy`. The browsing context is mostly maintained in the constellation, not in script. It would be nice to rename `constellation::Frame` to `constellation::BrowsingContext`, but that will be very confusing if there are two `BrowsingContext` types. --- <!-- 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 do not require tests because renamings aren't externally visible <!-- 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/16845) <!-- Reviewable:end -->
| * Renamed BrowsingContext to WindowProxy in script.Alan Jeffrey2017-05-121-31/+31
| |
* | Make non-initial about:blank loads asynchronousConnor Brewster2017-05-121-26/+28
|/ | | | | | | | | | | | | | | Don't update iframe pipeline until load completes To preserve the previous functionality of delaying load events when a new navigation is triggered, pending pipeline id represents the current pending load. The load event is only fired if the load message's pipeline id matches the pending pipeline id. Track frame size on Frame instead of Pipeline Disabled matchMedia test Track creator pipeline id
* added origin to globalscopeddh2017-04-241-0/+1
|
* Implement Gamepad APIImanol Fernandez2017-04-121-7/+7
|
* Implement basic interface for MutationObserver and MutationRecord.Sumit2017-04-051-0/+15
|
* Terminate timer scheduler thread during shutdownFernando Jiménez Moreno2017-03-301-2/+2
|
* Make image cache per-document rather than globalFernando Jiménez Moreno2017-03-271-8/+7
|
* Implement dissimilar-origin window.parent and window.top.Alan Jeffrey2017-03-171-24/+74
|
* Implement dissimilar-origin postMessage.Alan Jeffrey2017-03-151-2/+12
|
* Implement setter for document.domainAlan Jeffrey2017-03-151-1/+1
|
* Added some same-origin-domain checks.Alan Jeffrey2017-03-141-2/+9
|