aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/testbinding.rs
Commit message (Collapse)AuthorAgeFilesLines
* removed instances of -> () in existing codelucantrop2017-03-131-2/+2
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Add a object-in-union test.Ms2ger2017-02-161-0/+2
|
* Use RootedTraceableBox for unions.Ms2ger2017-02-161-1/+1
|
* Use RootedTraceableBox for dictionaries.Ms2ger2017-02-161-1/+2
|
* Use Heap for dictionary and union members.Ms2ger2017-02-161-4/+4
|
* Support dictionaries in unions.Ms2ger2017-01-201-0/+1
| | | | Fixes #11612.
* Implement the incumbent global.Ms2ger2017-01-171-0/+3
| | | | Fixes #10963.
* Implement the entry global.Ms2ger2017-01-061-0/+4
| | | | Partial fix for #10963.
* Removed util.Alan Jeffrey2016-12-141-1/+1
|
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-1/+1
| | | | Fixes https://github.com/servo/servo/issues/8473.
* script creates methods taking '*mut JSContext' unsafeAbelardo E. Mendoza2016-11-141-34/+52
| | | | rebase + marked the necessary new code as unsafe
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-13/+13
|
* Remove GlobalRoot and GlobalRefAnthony Ramine2016-10-061-2/+1
|
* Use global_scope_from_context in TestBinding::PromiseNativeHandlerAnthony Ramine2016-10-061-3/+3
|
* Remove Reflectable::globalAnthony Ramine2016-10-061-2/+2
|
* Make Promise::Reject and Resolve take a &GlobalScopeAnthony Ramine2016-10-061-2/+2
|
* Move timers to GlobalScopeAnthony Ramine2016-10-061-2/+4
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-18/+18
|
* Introduce GlobalScope::as_windowAnthony Ramine2016-10-061-1/+1
|
* Make Promise::new take a &GlobalScopeAnthony Ramine2016-10-061-4/+4
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-5/+5
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-10/+11
|
* Remove maybe_ prefix from Promise methods.Josh Matthews2016-09-221-6/+6
|
* Support an equivalent of Trusted<T> for Rc<Promise> objects named ↵Josh Matthews2016-09-221-1/+32
| | | | TrustedPromise.
* Add a simple API to reject promises with DOM error values.Josh Matthews2016-09-221-1/+5
|
* Create meaningful tests for native promise handlers.Josh Matthews2016-09-221-0/+8
|
* Add integration tests for interacting with promises from native code.Josh Matthews2016-09-221-4/+42
|
* Implement binding support for returning and accepting Promises in WebIDL.Josh Matthews2016-09-221-0/+17
|
* Implement the MozMap type.Ms2ger2016-09-211-0/+28
| | | | Fixes #13144.
* Properly generate typedef identities in unionsKeith Yeung2016-09-071-2/+5
|
* Compile WebIDL return type "object" to NonZero<*mut JSObject>Anthony Ramine2016-08-301-7/+8
|
* Improve some TestBinding methodsAnthony Ramine2016-08-301-4/+23
| | | | We make them return sensical things in a sensical way.
* bindings generator: support default ByteString values in dictionaryMalisa Smith2016-08-101-0/+3
|
* layout: Expand animation test mode to support not force-ticking layout.Emilio Cobos Álvarez2016-08-051-2/+2
|
* Union types now allow ByteStringMalisa Smith2016-07-211-0/+21
|
* Auto merge of #12541 - jdm:seqseq, r=noxbors-servo2016-07-211-1/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support sequences of sequences in generated bindings. This fixes a blocker for #11897. `unroll` recursively gets the inner type of any sequence type encountered, so it's inappropriate for codegen that only wants the immediate inner type. However, if a type identifies as a sequence and is nullable, we need to reach through the nullable wrapper first. Gecko does very similar things. --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #12528 (github issue number if applicable). - [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/12541) <!-- Reviewable:end -->
| * Support sequences of sequences in generated bindings.Josh Matthews2016-07-211-1/+12
| | | | | | | | unroll recursively gets the inner type of any sequence type encountered, so it's inappropriate for codegen that only wants the immediate inner type. However, if a type identifies as a sequence and is nullable, we need to reach through the nullable wrapper first. Gecko does very similar things.
* | style: Add a new Timer structure to the shared style context, and basic ↵Emilio Cobos Álvarez2016-07-201-0/+4
|/ | | | infrastructure for controlling animations.
* Remove DataSlice, fix #12249Zhen Zhang2016-07-051-5/+5
|
* Refactor `util::prefs` operations to be methods on static struct.Corey Farwell2016-07-021-3/+3
|
* Add a manual test for panicking while JS stack frames exist.Josh Matthews2016-06-221-0/+2
|
* Add a test that forces a crash. This makes it easy to manually check the ↵Josh Matthews2016-06-201-0/+9
| | | | 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.
* Update Blob::{new, new_inherited} to take StringsAchal Shah2016-06-171-5/+5
|
* Add file backend support for Blob and relatedZhen Zhang2016-06-011-6/+6
| | | | | | | | 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 #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
| |
* | Implement [Func]Anthony Ramine2016-05-271-1/+15
|/
* Move DOMString back to scriptAnthony Ramine2016-05-241-2/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* codegen: add tests for non-nullable non-required valuesEmilio Cobos Álvarez2016-05-131-2/+6
|