Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Auto merge of #24137 - gterzian:fix_error_throwing_on_unknown_js_arg, r=jdm | bors-servo | 2019-09-05 | 1 | -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 argument | Gregory Terzian | 2019-09-05 | 1 | -1/+1 |
| | | |||||
* | | Add [Default] toJSON() to performance interfaces | Kagami Sascha Rosylight | 2019-09-01 | 1 | -4/+9 |
|/ | |||||
* | Upgrade to rustc 1.39.0-nightly (f7af19c27 2019-08-15) | Simon Sapin | 2019-08-23 | 1 | -3/+3 |
| | |||||
* | Auto merge of #23844 - saschanaz:tojson, r=Manishearth | bors-servo | 2019-08-20 | 1 | -2/+87 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 scoping | Kagami Sascha Rosylight | 2019-07-25 | 1 | -8/+1 |
| | | |||||
| * | use SafeJSContext | Kagami Sascha Rosylight | 2019-07-25 | 1 | -4/+4 |
| | | |||||
| * | Merge branch 'master' into tojson | Kagami Sascha Rosylight | 2019-07-25 | 1 | -187/+197 |
| |\ | |||||
| * | | Support default toJSON in WebIDL | Kagami Sascha Rosylight | 2019-07-24 | 1 | -2/+94 |
| | | | |||||
* | | | Use safe JSContext in callbacks | marmeladema | 2019-08-09 | 1 | -6/+6 |
| | | | |||||
* | | | Use safe JSContext as first argument for throw_dom_exception | marmeladema | 2019-08-09 | 1 | -5/+5 |
| | | | |||||
* | | | Remove usage of various unsafe keyword | marmeladema | 2019-08-09 | 1 | -14/+15 |
| | | | |||||
* | | | Use safe JSContext when possible in interface.rs | marmeladema | 2019-08-09 | 1 | -9/+9 |
| | | | |||||
* | | | Use safe JSContext in compartments | marmeladema | 2019-08-09 | 1 | -1/+1 |
| | | | |||||
* | | | Don't mark new methods as unsafe in code generation | marmeladema | 2019-08-09 | 1 | -14/+16 |
| | | | |||||
* | | | Remove some usage of unsafe code in Promise | marmeladema | 2019-08-09 | 1 | -1/+1 |
| | | | |||||
* | | | Upgrade to rustc 1.38.0-nightly (dddb7fca0 2019-07-30) | Simon Sapin | 2019-07-31 | 1 | -2/+2 |
| | | | |||||
* | | | Generate apis.html and css-properties.json for docs as part of crates’ ↵ | Simon Sapin | 2019-07-30 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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). | ||||
* | | | Update SpiderMonkey bindings for Windows arm64 crash fix. | Josh Matthews | 2019-07-25 | 1 | -13/+16 |
| |/ |/| | |||||
* | | Convert CGTraitInterface to use safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -3/+3 |
| | | |||||
* | | Convert internal methods to handle safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -136/+144 |
| | | |||||
* | | Callbacks now uses safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -4/+4 |
| | | |||||
* | | DefineDOMInterfaceMethod now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -5/+5 |
| | | | | | | | | as first argument. | ||||
* | | GetPerInterfaceObject methods now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -8/+8 |
| | | | | | | | | as first argument. | ||||
* | | CreateInterfaceObjects now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -29/+29 |
| | | | | | | | | as first argument. | ||||
* | | Wrap(Global)Method now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -22/+23 |
| | | | | | | | | as first argument. | ||||
* | | ConstructorEnabled now takes a SafeJSContext instead of a JSContext | marmeladema | 2019-07-24 | 1 | -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 ↵ | sreeise | 2019-07-14 | 1 | -8/+20 |
| | | | | members/partial interfaces | ||||
* | Require default dictionary value for optional dicts | Kagami Sascha Rosylight | 2019-07-12 | 1 | -5/+11 |
| | |||||
* | Implement DOMPoint.fromPoint | Kagami Sascha Rosylight | 2019-07-06 | 1 | -1/+2 |
| | |||||
* | Upgrade to Spidermonkey 67. | Josh Matthews | 2019-06-26 | 1 | -14/+9 |
| | |||||
* | Make tidy happy | Bastien Orivel | 2019-05-25 | 1 | -8/+20 |
| | |||||
* | Add support for attributes to the inCompartments binding parameter | Bastien Orivel | 2019-05-25 | 1 | -3/+6 |
| | |||||
* | Add an inCompartments config for bindings | Bastien Orivel | 2019-05-24 | 1 | -4/+11 |
| | |||||
* | Update to SpiderMonkey 66. | Josh Matthews | 2019-05-10 | 1 | -19/+18 |
| | |||||
* | #8539 Config preferences backend restructure | Peter Hall | 2019-03-20 | 1 | -2/+3 |
| | |||||
* | Simplify RootedReference and make it specifically about slicesIt's now ↵ | Anthony Ramine | 2019-03-11 | 1 | -1/+1 |
| | | | | called DomSlice<T>. | ||||
* | Don't use RootedReference for Option<T> in codegen anymore | Anthony Ramine | 2019-03-10 | 1 | -2/+4 |
| | |||||
* | Remove most RootedReference uses | Anthony Ramine | 2019-03-10 | 1 | -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 MediaStreamConstraints | Manish Goregaokar | 2019-03-04 | 1 | -1/+9 |
| | |||||
* | Add aspect/frameRate/sampleRate parameters | Manish Goregaokar | 2019-03-04 | 1 | -0/+1 |
| | |||||
* | Update WebIDL.py to 4166cae81546 | Manish Goregaokar | 2019-03-04 | 1 | -17/+9 |
| | | | | | | https://hg.mozilla.org/integration/autoland/rev/4166cae81546f54accae807413f806d20bf30920 Pulls in changes from https://bugzilla.mozilla.org/show_bug.cgi?id=1359269 | ||||
* | Update bool pattern matching into if-else | Piotr Szpetkowski | 2019-01-30 | 1 | -5/+2 |
| | |||||
* | Update to new JS runtime creation APIs. | Josh Matthews | 2019-01-15 | 1 | -5/+4 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Switch most crates to the 2018 edition | Simon Sapin | 2018-11-06 | 1 | -4/+8 |
| | |||||
* | Use 2018-style paths in generated DOM bindings | Simon Sapin | 2018-11-06 | 1 | -143/+143 |
| | |||||
* | Handle default empty sequence values | Keith Yeung | 2018-11-01 | 1 | -15/+18 |
| | |||||
* | Make expectionCode of Promise have newline character automatically | CYBAI | 2018-10-18 | 1 | -1/+1 |
| | | | | | | | | | In the `fill` method, it will check if the exception code is empty string or has newline character in the end of string or not. However, we didn't do any change to exceptionCode when type is Promise. Thus, we add the newline character to make it pass the checking in `fill` method. See more detail from the log of IRC: https://mozilla.logbot.info/servo/20180501#c14692647 | ||||
* | Upgrade to rustc 1.31.0-nightly (8c4ad4e9e 2018-10-04) | Simon Sapin | 2018-10-05 | 1 | -1/+8 |
| | | | | CC https://github.com/rust-lang/rust/issues/54846 |