diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-03-31 09:40:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-31 09:40:50 -0400 |
commit | 09271826f6a771cace1755dd18794d7085fccbd3 (patch) | |
tree | aa670b5cf3b5209417837f392c9bac394076060a /components/script/dom/node.rs | |
parent | 234c8557ed1fbdd57115c2dab4f2587fd257ee2b (diff) | |
parent | 018b23d43bc9c592f99bfbfb1f774ae337e11783 (diff) | |
download | servo-09271826f6a771cace1755dd18794d7085fccbd3.tar.gz servo-09271826f6a771cace1755dd18794d7085fccbd3.zip |
Auto merge of #26038 - CYBAI:mozjs-sourcetext, r=jdm
Use rust-mozjs exposed function to generate SourceText
With the exposed functions from mozjs, we can get rid of the `get_source_text` in `script_module`.
---
<!-- 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 do not require tests because it just tries to use exposed functions from mozjs to create `SourceText`
<!-- 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. -->
Diffstat (limited to 'components/script/dom/node.rs')
0 files changed, 0 insertions, 0 deletions