aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/testbinding.rs
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10348 Implement StringMozPreference, string preferences, WPT testsArnaud Marant2016-04-031-0/+3
| | | | I'm not exactly sure of the wanted semantics with boolean values.
* Allow setting preferences to false in WPT tests. closes #10161Awal Garg2016-03-261-0/+4
|
* Fixed compile error in generated code, when webidl constructors have same ↵Peter2016-03-031-0/+10
| | | | | | number of args Edited test webidl to show issue, and fix
* Fixing issue with uniontypes not created with primitive typeszakorgyula2016-02-181-3/+64
| | | | refer to #9531
* Fix #9508: Beautify our union enums constructorsAlexander Lopatin2016-02-071-13/+13
|
* webidl: Add test for interface and sequence in the same unionEmilio Cobos Álvarez2016-01-151-0/+2
|
* webidl: Add test for interface sequencesEmilio Cobos Álvarez2016-01-151-0/+4
| | | | | | Sequence interfaces return values worked before, but had no test. Sequence interface arguments didn't work until the previous commit.
* webidl: Implement sequences in unionsEmilio Cobos Álvarez2016-01-151-0/+7
| | | | Unblocks #9053
* codegen: Test WebIDL sequence argumentsEmilio Cobos Álvarez2016-01-121-0/+7
|
* Add global default method for Reflectable traitChad Kimes2016-01-111-6/+6
|
* Changed blob to use DataSlice with Arc in order to limit wasteful copying of ↵David Raifaizen2016-01-061-4/+4
| | | | byte vector
* Auto merge of #8147 - nox:weakref, r=Ms2gerbors-servo2015-11-131-0/+10
|\ | | | | | | | | | | | | | | Implement weak-referenceable JS-managed objects <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8147) <!-- Reviewable:end -->
| * Introduce trait WeakReferenceableAnthony Ramine2015-11-121-0/+10
| | | | | | | | This allows to take weak references of JS-managed DOM objects.
* | Properly handle variadic arguments preceded by default valuesAnthony Ramine2015-11-121-0/+1
|/ | | | I broke that in #8197.
* Support variadic interface arguments (fixes #8159)Anthony Ramine2015-11-111-3/+21
| | | | | We use a RootedVec value in codegen, of which we use the `r()` method to pass `&[&T]` to the interface methods.
* Do not import union constructors in dom::testbindingAnthony Ramine2015-11-111-23/+26
|
* Remove TestBinding::globalAnthony Ramine2015-11-111-10/+5
| | | | Use global_root_from_reflector() instead.
* Use DOMString::new() somewhat consistently.Ms2ger2015-11-041-11/+11
|
* merge from masterrohan.prinja2015-11-031-0/+4
|\
| * Support unions that contain USVStrings.Ms2ger2015-10-301-0/+4
| |
* | rearrange imports to be in alphabetical orderrohan.prinja2015-10-301-1/+1
| |
* | more refactoringrohan.prinja2015-10-301-1/+1
|/
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-1/+1
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-3/+1
| | | | This merges import blocks that were reported by tidy as unmerged.
* Add infrastructure for supporting dashed CSS property names on ↵Josh Matthews2015-08-281-0/+4
| | | | CSSStyleDeclaration.
* Make the traits for the IDL interfaces take &selfAnthony Ramine2015-08-271-291/+291
|
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-1/+0
| | | | closes #7357
* sort all usesJohann Tuffe2015-08-201-2/+2
|
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+1
|
* Add spec linksBogdan Cuza2015-07-281-0/+2
|
* Upgrade to SM 39Michael Wu2015-06-191-30/+31
|
* added TestBindingProxy.webidl and testbindingproxy.rs filesFrancesc Bautista2015-06-091-3/+2
| | | | | | | | added testbindingproxy to dom/mod.rs and fixed unused variable warning of testingbindingproxy.rs removed useless GlobalField, removed brackets use statements with only 1 element and changed the description of TestBindingProxy.webidl renamed reflector to reflector_ and removed unused import in testbinding.rs
* Generate forwarded settersAnthony Ramine2015-05-071-0/+1
|
* Fix generation of static JS methodsAnthony Ramine2015-04-251-4/+4
| | | | They now take a global argument.
* Implement support for object in IDL.Ms2ger2015-04-071-0/+13
|
* Introduce Finite<T: Float> for restricted values defined in WebIDL.Tetsuharu OHZEKI2015-03-251-26/+27
|
* Add bindings support for unrestricted float/double values.Tetsuharu OHZEKI2015-03-251-0/+26
|
* Implement USVString.Ms2ger2015-03-131-1/+15
|
* Add support for BinaryName attribute to servo's codegen (fixes #4435) r=jdmChris Manchester2015-02-271-0/+3
|
* Import the util crate as util rather than servo_util.Ms2ger2015-01-291-1/+1
| | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there.
* Move to to_owned rather than into_string.Ms2ger2015-01-201-8/+10
| | | | into_string has been removed from Rust.
* Fixes #4164 Make Constructor and new functions take GlobalRef by valueMatt McCoy2015-01-071-4/+4
|
* Rename GlobalRoot::root_ref() to GlobalRoot::r() for consistency.Ms2ger2015-01-011-4/+4
|
* Bug #1820, add the optional "type" parameter to BlobShing Lyu2015-01-011-4/+4
|
* auto merge of #4173 : Manishearth/servo/a-more-dom-struct, r=kmcallisterbors-servo2014-12-271-5/+0
|\ | | | | | | | | | | Now `#[dom_struct]` also generates Reflectable impls, and there's another lint to ensure that a DOM struct only contains one bare DOM field (as the first field) or a Reflector. A lot of this was generated by sed -- each autogenerated change has its own commit for easy review; these will be squashed later.
| * Remove manual impls of Reflectors (autogen)Manish Goregaokar2014-12-271-5/+0
| | | | | | | | | | | | | | | | | | Obtained via: `find . -maxdepth 1 -type f -print0 | xargs -0 sed -z -i "s/\\nimpl Reflectable for[^{]*{[^}]*}[^}]*}\\n//"` `find . -maxdepth 1 -type f -print0 |xargs -0 grep -lZ dom_struct | xargs -0 grep -LZ "reflector()\\|Reflector::new" |xargs -0 sed -z -i "s/use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object};/use dom::bindings::utils::reflect_dom_object;/"` followed by semi-automated removal of leftover imports
* | script: to_string() -> into_string()Manish Goregaokar2014-12-271-8/+8
|/
* Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.Ms2ger2014-12-171-4/+6
|
* Fixed codegen error regarding Uint8ClampedArrayEdit Balint2014-12-161-1/+2
|
* Issue #1820 - Improve the Blob implementationShing Lyu2014-12-091-4/+4
|