aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
* Fix insert-adjacent errorGuillaume Gomez2016-06-231-2/+2
|
* Wrap executions of Rust code called from JS in catch_unwind. Propagate the ↵Josh Matthews2016-06-224-11/+58
| | | | interrupted panic to the origin of the JS execution via TLS before resuming. Fix #6462.
* Avoid an unnecessary panic when the script task deals with a GC after the ↵Josh Matthews2016-06-221-1/+3
| | | | layout thread is unreachable.
* Add a manual test for panicking while JS stack frames exist.Josh Matthews2016-06-222-0/+4
|
* Auto merge of #11789 - Coder206:uri, r=asajeffreybors-servo2016-06-202-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | URI to URL <!-- 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 - [x] These changes fix #11450 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes (Windows 10 was never able to run them...) <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11789) <!-- Reviewable:end -->
| * URI to URLPatrick Trottier2016-06-202-3/+3
| | | | | | | | trying to pass test - uri
* | Auto merge of #11530 - jdm:sigsegv, r=metajackbors-servo2016-06-202-0/+14
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtain backtraces automatically from segfaults <!-- Please describe your changes on the following line: --> This enables more meaningful output from observing hard crashes outside of GDB through the judicious use of a SIGSEGV signal handler. --- <!-- 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 #9371 (github issue number if applicable). - [X] There are tests for these changes OR <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11530) <!-- Reviewable:end -->
| * Add a test that forces a crash. This makes it easy to manually check the ↵Josh Matthews2016-06-202-0/+14
| | | | | | | | output of a segfault with a complicated backtrace; the actual automation doesn't help us except to verify that the crash continues to happen as excepted.
* | Auto merge of #11544 - jdm:privatebrowsing, r=asajeffreybors-servo2016-06-203-2/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement private browsing for mozbrowser <!-- Please describe your changes on the following line: --> Support the `mozprivatebrowsing` attribute on mozbrowser iframes. This separates the non-private and private sessions in terms of cookies, HSTS lists, cached HTTP credentials, HTTP connection pools, and web storage. The private session is shared between all private mozbrowsers, and lasts until shutdown. --- <!-- 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] There are tests for these changes <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11544) <!-- Reviewable:end -->
| * | Propagate privacy information of iframes to corresponding pipelines. Make ↵Sagar Muchhal2016-06-203-2/+20
| |/ | | | | | | | | | | iframes of differing privacy values be considered cross-origin. Make the constellation hand out separate private and public channels for the pipeline content to communicate with the resource thread as necessary.
* | Auto merge of #11754 - Ms2ger:wrapper-traits-prep2, r=noxbors-servo2016-06-2016-365/+1108
|\ \ | | | | | | | | | | | | | | | | | | | | | Move ServoLayoutNode and related structs to script. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11754) <!-- Reviewable:end -->
| * | Move CSSErrorReporter to script_layout_interface.Ms2ger2016-06-204-46/+3
| | |
| * | Move the remainder of layout_interface into script_layout_interface.Ms2ger2016-06-209-170/+17
| | |
| * | Move is_image_data to script_layout_interface.Ms2ger2016-06-202-7/+0
| | |
| * | Remove unused re-exports from layout_interface.Ms2ger2016-06-202-17/+9
| | |
| * | Move LayoutRPC to script_layout_interface.Ms2ger2016-06-203-88/+7
| | |
| * | Move TrustedNodeAddress to script_layout_interface.Ms2ger2016-06-205-18/+7
| | |
| * | Move ServoLayoutNode and related structs to script.Ms2ger2016-06-203-0/+999
| | |
| * | Introduce LayoutJS<Node>::opaque() to replace ↵Ms2ger2016-06-201-0/+9
| | | | | | | | | | | | OpaqueNodeMethods::from_jsmanaged().
| * | Move HTMLCanvasData to script_layout_interface.Ms2ger2016-06-203-9/+3
| | |
| * | Introduce LayoutNodeType and LayoutElementType enums.Ms2ger2016-06-201-2/+56
| | |
| * | Move OpaqueStyleAndLayoutData to script_layout_interface.Ms2ger2016-06-205-14/+6
| | |
| * | Make OpaqueStyleAndLayoutData::dispose a method on Node.Ms2ger2016-06-201-10/+8
| |/
* / Implement filter for file-type input's accept attributeZhen Zhang2016-06-203-7/+22
|/
* Update string_cache to v0.2.20Keith Yeung2016-06-201-1/+1
|
* Auto merge of #11768 - achals:blob-string, r=Ms2gerbors-servo2016-06-175-14/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Blob::{new, new_inherited} to take Strings <!-- 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 - [X] These changes fix #11762. <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because no logic changes, only interface changes. <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11768) <!-- Reviewable:end -->
| * Update Blob::{new, new_inherited} to take StringsAchal Shah2016-06-175-14/+13
| |
* | Auto merge of #11716 - izgzhen:impl-blob-url-dom, r=Manishearthbors-servo2016-06-177-71/+100
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Blob URL's DOM interfaces r? @Manishearth Implement the two functions in `URL` to create/revoke Blob URLs, and related code to approximate our proposed design to make things work together. <!-- 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 - [x] These changes fix part of #10539, related to #11131 <!-- Either: --> - [x] There are tests for these changes OR <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11716) <!-- Reviewable:end -->
| * | Implement Blob URL's DOM interfacesZhen Zhang2016-06-177-71/+100
| | |
* | | Auto merge of #11769 - splav:master, r=jdmbors-servo2016-06-171-6/+0
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused XHR method <!-- Please describe your changes on the following line: --> Remove unused XHR method. --- <!-- 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 #11760 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because it is a cleanup <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11769) <!-- Reviewable:end -->
| * | Remove unused XHR methodAlexandrov Sergey2016-06-171-6/+0
| |/
* | Auto merge of #11506 - nox:slither, r=emiliobors-servo2016-06-173-24/+15
|\ \ | |/ |/| | | | | | | | | | | Make canvas send their data themselves to other canvas <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11506) <!-- Reviewable:end -->
| * Make canvas send their data themselves to other canvasAnthony Ramine2016-06-163-24/+15
| |
* | Auto merge of #10225 - jmr0:visibility_api, r=jdmbors-servo2016-06-165-14/+168
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement non-visible pipeline and iframe visibility methods This addresses #9566 and a good part of #9751, specifically: * Pipeline has a notion of visibility * IFrame setVisible/getVisible interface with IFrame's pipeline visibility * IFrame mozbrowservisibilitychange responds to changes in visibility * Pipeline visibility is used to limit animations (requestAnimationFrame does not tick animations when hidden) and to increase timer intervals (currently set to a minimum of 1 second while hidden) Absent for now are any changes to the Document API and general implementation of the Page Visibility API, since the more interesting parts require knowledge of whether the user agent is minimized, OS screen locked, etc. cc @paulrouget @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10225) <!-- Reviewable:end -->
| * Implement non-visible pipeline and iframe visibility methodsjmr02016-06-155-14/+168
| |
* | Auto merge of #11697 - mrmiywj:form-index-getter, r=Ms2gerbors-servo2016-06-152-1/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | indexed getter of form elements <!-- 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 - [X] These changes fix #11405 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11697) <!-- Reviewable:end -->
| * | indexed getter of form elementsmrmiywj2016-06-142-1/+8
| | |
* | | Auto merge of #11745 - servo:rustup, r=mbrubeckbors-servo2016-06-141-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update to rustc 2016-06-14. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11745) <!-- Reviewable:end -->
| * | | Update to rustc 2016-06-14.Ms2ger2016-06-151-3/+3
| | | |
* | | | Auto merge of #11717 - izgzhen:filepicker, r=Manishearthbors-servo2016-06-141-4/+13
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add filepicker Add file picker based on tinyfiledialog to the file manager implementation. Changes: - [x] Add the picker invocation code - [x] Rewrite unit test to accommodate the change - [x] Patch up `htmlinputelement` to make things work <!-- 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 - [x] These changes are related to #11131. <!-- Either: --> - [x] There are tests for these changes OR <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11717) <!-- Reviewable:end -->
| * | | filepickerZhen Zhang2016-06-141-4/+13
| | | |
* | | | Replace RefCell in SCRIPT_THREAD_ROOT with CellDarin Minamoto2016-06-121-10/+10
| | | |
* | | | Auto merge of #11720 - canaltinova:sandbox, r=noxbors-servo2016-06-112-13/+12
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the type of HTMLIFrameElement.sandbox <!-- 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 - [X] These changes fix #11598 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11720) <!-- Reviewable:end -->
| * | | Add Sandbox field to HTMLIFrameElementNazım Can Altınova2016-06-112-9/+8
| | | |
| * | | Change sandbox to sandbox_allowance in HTMLIFrameElementNazım Can Altınova2016-06-111-4/+4
| | | |
* | | | Auto merge of #11556 - Manishearth:make-fetch-happen, r=jdmbors-servo2016-06-119-694/+166
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make fetch happen <!-- Please describe your changes on the following line: --> Moves XHR over to the fetch backend. Previous PR: https://github.com/servo/servo/pull/114 --- <!-- 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 (Will fix later) <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11556) <!-- Reviewable:end -->
| * | | Review fixesManish Goregaokar2016-06-114-502/+6
| | | |
| * | | Test fixes; update for changes in specManish Goregaokar2016-06-102-15/+72
| | | |
| * | | Re-add support for fetching chunks (and thus xhr download progress)Manish Goregaokar2016-06-101-19/+7
| | | |
| * | | Test fixes:Manish Goregaokar2016-06-101-7/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Hack to stop hitting unreachable on referer - add fetch_done to make sync work - Make datauris work by setting the response URI, spec bug - Allow for empty bodies - Make request bodies work (pass to http, fix fencepost in iter count)