aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/codegen
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #23987 - saschanaz:update-webidl, r=jdmbors-servo2019-09-2510-163/+758
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update WebIDL parser <!-- Please describe your changes on the following line: --> This includes IDL mixin support. --- <!-- 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 does not fix but helps #22539 / fixes #16244 <!-- Either: --> - [x] There are tests for these changes <!-- 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/23987) <!-- Reviewable:end -->
| * Update WebIDL parserKagami Sascha Rosylight2019-08-1610-163/+758
| |
* | Auto merge of #24137 - gterzian:fix_error_throwing_on_unknown_js_arg, r=jdmbors-servo2019-09-051-1/+1
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Codegen: throw type error when encountering an unknown argument <!-- Please describe your changes on the following line: --> FIX #24130 --- <!-- 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 #___ (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/24137) <!-- Reviewable:end -->
| * | codegen: throw type error when encountering an unknown argumentGregory Terzian2019-09-051-1/+1
| | |
* | | Add [Default] toJSON() to performance interfacesKagami Sascha Rosylight2019-09-011-4/+9
|/ /
* | Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15)Simon Sapin2019-08-231-3/+3
| |
* | Auto merge of #23844 - saschanaz:tojson, r=Manishearthbors-servo2019-08-202-2/+91
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support default toJSON in WebIDL <!-- Please describe your changes on the following line: --> Ported related lines from gecko. --- <!-- 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 #22781 <!-- Either: --> - [x] There are tests for these changes <!-- 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/23844) <!-- Reviewable:end -->
| * remove redundant extra scopingKagami Sascha Rosylight2019-07-251-8/+1
| |
| * use SafeJSContextKagami Sascha Rosylight2019-07-251-4/+4
| |
| * Merge branch 'master' into tojsonKagami Sascha Rosylight2019-07-251-187/+197
| |\
| * | Support default toJSON in WebIDLKagami Sascha Rosylight2019-07-242-2/+98
| | |
* | | Use safe JSContext in callbacksmarmeladema2019-08-091-6/+6
| | |
* | | Use safe JSContext as first argument for throw_dom_exceptionmarmeladema2019-08-091-5/+5
| | |
* | | Remove usage of various unsafe keywordmarmeladema2019-08-091-14/+15
| | |
* | | Use safe JSContext when possible in interface.rsmarmeladema2019-08-091-9/+9
| | |
* | | Use safe JSContext in compartmentsmarmeladema2019-08-091-1/+1
| | |
* | | Don't mark new methods as unsafe in code generationmarmeladema2019-08-091-14/+16
| | |
* | | Remove some usage of unsafe code in Promisemarmeladema2019-08-091-1/+1
| | |
* | | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30)Simon Sapin2019-07-311-2/+2
| | |
* | | Generate apis.html and css-properties.json for docs as part of crates’ ↵Simon Sapin2019-07-302-24/+20
| | | | | | | | | | | | | | | | | | | | | | | | build scripts … rather than as an extra step after `cargo doc`. This helps always using the correct set of CSS properties (for layout 2013 v.s. 2020).
* | | Auto-generate CSSStyleDeclaration.webidl for CSS properties based on the ↵Simon Sapin2019-07-292-3/+60
| | | | | | | | | | | | style crate
* | | Update SpiderMonkey bindings for Windows arm64 crash fix.Josh Matthews2019-07-251-13/+16
| |/ |/|
* | Convert CGTraitInterface to use safe JSContext instead of raw JSContextmarmeladema2019-07-241-3/+3
| |
* | Convert internal methods to handle safe JSContext instead of raw JSContextmarmeladema2019-07-241-136/+144
| |
* | Callbacks now uses safe JSContext instead of raw JSContextmarmeladema2019-07-241-4/+4
| |
* | DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-5/+5
| | | | | | | | as first argument.
* | GetPerInterfaceObject methods now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-8/+8
| | | | | | | | as first argument.
* | CreateInterfaceObjects now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-29/+29
| | | | | | | | as first argument.
* | Wrap(Global)Method now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-22/+23
| | | | | | | | as first argument.
* | ConstructorEnabled now takes a SafeJSContext instead of a JSContextmarmeladema2019-07-241-2/+3
|/ | | | | a first argument. The function cannot be made safe because of call to unsafe function is_exposed_in.
* Change bindings generation to make Exposed annotation aware of ↵sreeise2019-07-144-8/+53
| | | | members/partial interfaces
* Require default dictionary value for optional dictsKagami Sascha Rosylight2019-07-121-5/+11
|
* Sync WebIDL.py with geckoKagami Sascha Rosylight2019-07-1235-221/+727
|
* Implement DOMPoint.fromPointKagami Sascha Rosylight2019-07-061-1/+2
|
* Improve support for nested dictionariesManish Goregaokar2019-06-273-14/+2
|
* Upgrade to Spidermonkey 67.Josh Matthews2019-06-261-14/+9
|
* Make tidy happyBastien Orivel2019-05-251-8/+20
|
* Use the newly added inCompartments option everywhere it can beBastien Orivel2019-05-251-3/+82
|
* Add support for attributes to the inCompartments binding parameterBastien Orivel2019-05-252-4/+11
|
* Add an inCompartments config for bindingsBastien Orivel2019-05-243-4/+20
|
* Auto merge of #23363 - Darkspirit:https, r=jdmbors-servo2019-05-143-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More https * Disabled unused legacy TLS. It will be disabled for Nightly 72 or 73 in 5-7 months and ride the [trains](https://wiki.mozilla.org/Release_Management/Calendar). https://blog.mozilla.org/security/2018/10/15/removing-old-versions-of-tls/ * Updated MPL license in a few files. It would be nice if a new version of https://pypi.org/project/servo_tidy/ could be released to update WebRender as well. * Switched servo-deps.s3.amazonaws.com back to https. This was recently regressed by 10585be25c334bd15710d1a6d93391a9acb6d543 and fc28073dfba05cb2d3fda624c135b2125c1b90af. * Made https the default protocol for address bar on desktop. Press Ctrl+L on the Glutin port and enter `example.com`: Servo previously assumed you meant `http://example.com/`, now it is `https://example.com/`. --- - [x] `./mach build --release` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- 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/23363) <!-- Reviewable:end -->
| * Update MPL license to httpsJan Andre Ikenmeyer2019-05-103-3/+3
| |
* | Update to SpiderMonkey 66.Josh Matthews2019-05-101-19/+18
|/
* #8539 Config preferences backend restructurePeter Hall2019-03-201-2/+3
|
* Simplify RootedReference and make it specifically about slicesIt's now ↵Anthony Ramine2019-03-111-1/+1
| | | | called DomSlice<T>.
* Don't use RootedReference for Option<T> in codegen anymoreAnthony Ramine2019-03-101-2/+4
|
* Remove most RootedReference usesAnthony Ramine2019-03-101-1/+3
| | | | We can replace all uses of RootedReference for Option<T> by Option::deref calls.
* Add support for default dict values being boolean, use in MediaStreamConstraintsManish Goregaokar2019-03-041-1/+9
|
* Add aspect/frameRate/sampleRate parametersManish Goregaokar2019-03-041-0/+1
|
* Update WebIDL.py to 4166cae81546Manish Goregaokar2019-03-045-169/+466
| | | | | | https://hg.mozilla.org/integration/autoland/rev/4166cae81546f54accae807413f806d20bf30920 Pulls in changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1359269