aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #11214 - farodin91:windowproxy, r=jdmbors-servo2016-06-103-10/+24
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support WindowProxy return values in bindings 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 --faster` does not report any errors - [x] These changes fix #10965 (github issue number if applicable). Either: - [ ] 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/11214) <!-- Reviewable:end -->
| * Support WindowProxy return values in bindingsJansen Jan2016-06-093-10/+24
| | | | | | | | unscopable
* | Add unit testing to file manager; Replace uuid by stringified version in ↵Zhen Zhang2016-06-101-0/+2
|/ | | | FileManagerThreadMsg
* Auto merge of #11656 - Ms2ger:reduce-dom-exposure, r=noxbors-servo2016-06-071-7/+0
|\ | | | | | | | | | | | | | | Reduce the amount of dom code used outside the script crate. <!-- 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/11656) <!-- Reviewable:end -->
| * Remove unused ByteString::bytes() and its unit test.Ms2ger2016-06-071-7/+0
| |
* | Auto merge of #11620 - nox:unscopable, r=Ms2gerbors-servo2016-06-072-15/+66
|\ \ | | | | | | | | | | | | | | | | | | | | | Implement [Unscopable] (fixes #11583) <!-- 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/11620) <!-- Reviewable:end -->
| * | Implement [Unscopable] (fixes #11583)Anthony Ramine2016-06-072-15/+66
| |/
* / Make report_pending_exception unsafeAnthony Ramine2016-06-071-6/+4
|/
* Move LengthOrPercentageOrAuto to style::attr.Ms2ger2016-06-061-2/+1
|
* removed unused importsConnor Brewster2016-06-021-2/+1
|
* Clean up DOMManipulationTaskSourceKeith Yeung2016-06-021-2/+2
|
* implement related sw interface and register methodRahul Sharma2016-06-022-2/+6
|
* Auto merge of #11522 - nox:root-ref, r=jdmbors-servo2016-06-012-29/+17
|\ | | | | | | | | | | | | | | Remove all uses of &Root<T> <!-- 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/11522) <!-- Reviewable:end -->
| * Avoid a literal "&Root<T>" in its PartialEq implAnthony Ramine2016-05-311-1/+1
| |
| * Cleanup RootCollection methodsAnthony Ramine2016-05-311-18/+15
| | | | | | | | | | The methods `root` and `unroot` should both be unsafe and take a `*const Reflector`.
| * Remove JS::from_rootedAnthony Ramine2016-05-312-10/+1
| |
* | Add file backend support for Blob and relatedZhen Zhang2016-06-011-5/+16
|/ | | | | | | | Changes include: - Add BlobImpl to Blob, and related caching mechanism - Expose ResourceThreads to document_loader, workerglobalscope, worker, and global - Fix encode_multipart_form_data - Other small fixes to accommodate the above changes
* Auto merge of #11465 - nox:open, r=jdmbors-servo2016-05-271-1/+1
|\ | | | | | | | | | | | | | | Implement window.openURLInDefaultBrowser() (fixes #11292) <!-- 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/11465) <!-- Reviewable:end -->
| * Initialise reflector earlier for globalsAnthony Ramine2016-05-271-1/+1
| | | | | | | | This allows us to use global_root_from_object in the context of a Condition.
* | Remove the LayoutChan type.Ms2ger2016-05-271-2/+1
| | | | | | | | It is a pointless abstraction.
* | Auto merge of #11329 - c-rhodes:11320, r=jdmbors-servo2016-05-271-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report use statements that use {} with only one entry 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 --faster` does not report any errors - [X ] These changes fix #11320 (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/11329) <!-- Reviewable:end -->
| * Report use statements that use {} with only one entryCullen Rhodes2016-05-271-1/+1
| |
* | Auto merge of #11308 - nox:guarded, r=jdmbors-servo2016-05-277-167/+168
|\ \ | |/ |/| | | | | | | | | | | | | | | | | Implement [Func] First part of #11292, this just includes support of `[Func]`. <!-- 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/11308) <!-- Reviewable:end -->
| * Clean up the functions to retrieve a global root from JS objectsAnthony Ramine2016-05-272-27/+22
| |
| * Implement [Func]Anthony Ramine2016-05-273-7/+16
| |
| * Rename receiver to global in bindings::interfaceAnthony Ramine2016-05-261-8/+8
| |
| * Remove some 'static lifetimes from bindings::interfaceAnthony Ramine2016-05-261-18/+18
| |
| * Make define_constants privateAnthony Ramine2016-05-261-1/+4
| |
| * Remove utils::Prefable in favour of guard::GuardAnthony Ramine2016-05-265-61/+91
| |
| * Remove Prefable::terminator 🤖Anthony Ramine2016-05-263-17/+17
| |
| * Simplify how Prefable arrays are passed in bindings::interfaceAnthony Ramine2016-05-262-26/+19
| |
| * Use itertools.groupby in generatePrefableArrayAnthony Ramine2016-05-261-26/+8
| |
| * Make MemberCondition a function returning a plain stringAnthony Ramine2016-05-261-22/+11
| |
* | Record the frame type (IFrame or MozBrowserIFrame) in the pipeline.Alan Jeffrey2016-05-261-2/+2
|/
* Move DOMString back to scriptAnthony Ramine2016-05-246-23/+215
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Auto merge of #11225 - izgzhen:patch-input-element-file, r=Manishearthbors-servo2016-05-231-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement file related functionalities in htmlinputelement and related - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes is related to #11131 - [x] These changes do not require tests because it is a partial implementation 1. Improve the `filemanager_thread` by adding type string and create `SelectedFile` 2. Fill several gaps in `htmlinputelement` implementation related to file type 3. Improve the `File` interface to accommodate the above changes 4. Integrate changes introduced by PR #11189 <!-- 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/11225) <!-- Reviewable:end -->
| * Implement file-type functionalities in htmlinputelement and relatedZhen Zhang2016-05-231-1/+2
| | | | | | | | | | | | | | | | Changes include: - Implement file selection and other DOM behaviours in htmlinputelement - Integrate IpcSender<FileManagerThreadMsg> into ResourceThreads - Improve filemanager_thread, including adding type_string field to SelectedFile - Improve interfaces in FileList/File/Blob to accommodate the above changes
* | adding interface for custom responsesRahul Sharma2016-05-201-2/+10
|/
* Implement trait-based ResourceThreads and clean up related naming issuesZhen Zhang2016-05-201-4/+4
| | | | | | | | | | Changes include: - Introduce an IpcSend trait to abstract over a collection of IpcSenders - Implement ResourceThreads collection to abstract the resource-related sub threads across the component - Rename original ResourceThread and ControlMsg into an unifed CoreResource__ to accommodate above changes and avoid confusions
* Remove ConstellationChan.Ms2ger2016-05-192-19/+4
| | | | | | It's a pointless abstraction that propagates the obsolete chan terminology, swaps the order in which the sender and receiver are returned, and hides a source of panics.
* Auto merge of #10776 - dzbarsky:getVertexAttrib, r=emiliobors-servo2016-05-181-0/+9
|\ | | | | | | | | | | | | | | Implement GetVertexAttrib <!-- 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/10776) <!-- Reviewable:end -->
| * Implement GetVertexAttribDavid Zbarsky2016-05-121-0/+9
| |
* | Auto merge of #11239 - jdm:time-profile, r=noxbors-servo2016-05-181-1/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add timeline markers for HTTP requests, JS evaluation, and HTML parsing. 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 (didn't try to compile past a rustc upgrade on airplane wifi) - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes fix #11218 (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [X] These changes do not require tests because we don't have testing infrastructure for profiling. 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/11239) <!-- Reviewable:end -->
| * | Add timeline markers for HTTP requests, JS evaluation, and HTML parsing.Josh Matthews2016-05-181-1/+9
| | |
* | | Auto merge of #11244 - Ms2ger:catch-panics-workers, r=noxbors-servo2016-05-181-1/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Report panics in web worker threads. 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 --faster` does not report any errors - [ ] These changes fix #11234 (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/11244) <!-- Reviewable:end -->
| * | | Report panics in web worker threads.Ms2ger2016-05-181-1/+9
| |/ /
* / / Update the WebIDL parserAnthony Ramine2016-05-186-55/+244
|/ /
* | Auto merge of #10190 - Ms2ger:framechain, r=jdmbors-servo2016-05-172-19/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove JS_SaveFrameChain and JS_RestoreFrameChain calls. They were cargo-culted from Gecko, where they haven't been necessary for a while either. <!-- 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/10190) <!-- Reviewable:end -->
| * | Stop re-rooting CallSetup::exception_compartment.Ms2ger2016-05-171-2/+1
| | |
| * | Remove JS_SaveFrameChain and JS_RestoreFrameChain calls.Ms2ger2016-05-172-18/+4
| | | | | | | | | | | | | | | They were cargo-culted from Gecko, where they haven't been necessary for a while either.