servo/components/script
bors-servo c212234258 Auto merge of #13508 - tschneidereit:fix-sh-methods-codegen, r=emilio
Fix codegen for iterable's forEach method

<!-- Please describe your changes on the following line: -->

---
<!-- 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 #13451 (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. -->

The `forEach` method installed on iterable DOM interfaces uses SpiderMonkey's self-hosted implementation of `Array.prototype.forEach`, but it has the wrong value for `nargs`, causing failing asserts in debug and wrong behavior in release builds.

Fixes #13451

<!-- 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/13508)
<!-- Reviewable:end -->
2016-09-29 20:21:32 -05:00
..
docs
dom Auto merge of #13508 - tschneidereit:fix-sh-methods-codegen, r=emilio 2016-09-29 20:21:32 -05:00
parse Reorder use statements 2016-09-09 04:55:19 +02:00
task_source Implement file reading task source 2016-07-14 13:27:42 -04:00
bluetooth_blacklist.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
body.rs impl Body mixin for dom::Response and dom::Request 2016-09-28 22:10:53 -07:00
build.rs Native MSVC windows build, convert to cmake 2016-08-17 09:50:51 -04:00
Cargo.toml Implement binding support for returning and accepting Promises in WebIDL. 2016-09-22 16:16:48 -04:00
clipboard_provider.rs Remove ConstellationChan. 2016-05-19 17:13:44 +02:00
CMakeLists.txt Fix doc build by resurrecting generation of supported DOM APIs.h 2016-09-24 15:06:06 -04:00
devtools.rs Reorder use statements 2016-09-09 04:55:19 +02:00
document_loader.rs Use fetch infrastructure to load external scripts 2016-09-21 11:50:55 -07:00
fetch.rs Implement the Fetch method 2016-09-29 08:19:41 -07:00
layout_wrapper.rs Filter non-element / non-text nodes in LayoutIterator. 2016-09-21 11:43:52 -07:00
lib.rs Implement the Fetch method 2016-09-29 08:19:41 -07:00
mem.rs Bump heapsize to 0.3 2016-02-13 11:13:19 +01:00
network_listener.rs Reorder use statements 2016-09-09 04:55:19 +02:00
origin.rs Reorder use statements 2016-09-09 04:55:19 +02:00
script_runtime.rs Support promises in workers. 2016-09-22 16:16:55 -04:00
script_thread.rs Support promises in workers. 2016-09-22 16:16:55 -04:00
serviceworker_manager.rs make structured clone an enum 2016-09-15 11:32:55 +05:30
textinput.rs Implement minlength for text inputs 2016-09-21 07:54:39 -05:00
timers.rs Support an equivalent of Trusted<T> for Rc<Promise> objects named TrustedPromise. 2016-09-22 16:16:59 -04:00
unpremultiplytable.rs
webdriver_handlers.rs Use fn pipeline_id consistently, not fn pipeline 2016-09-13 15:17:40 -04:00