diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-09-29 20:21:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-29 20:21:32 -0500 |
commit | c212234258524af4cd7346b5ee1224a94ebedca9 (patch) | |
tree | eb82d62034ac2a583caebfecf91b114302393662 /components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py | |
parent | c9442346d3b454d9cbfcbd76d887e4f22f942531 (diff) | |
parent | 9a8f5200473310ed7229bdd3bb2c5fdf768c67fa (diff) | |
download | servo-c212234258524af4cd7346b5ee1224a94ebedca9.tar.gz servo-c212234258524af4cd7346b5ee1224a94ebedca9.zip |
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 -->
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_deduplicate.py')
0 files changed, 0 insertions, 0 deletions