diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-01-03 21:42:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-03 21:42:13 -0500 |
commit | afa1b85766caeb55254b739529aef205f04d3585 (patch) | |
tree | 6f433ae0ac28d2c8f70ce55351d4063784c88d6a /components/script/dom/htmlaudioelement.rs | |
parent | de50b4142b364f76d50f2bc43d4db030450bfdce (diff) | |
parent | 0692a26bccc5cca59f2646500010d008988d74f5 (diff) | |
download | servo-afa1b85766caeb55254b739529aef205f04d3585.tar.gz servo-afa1b85766caeb55254b739529aef205f04d3585.zip |
Auto merge of #25426 - kunalmohan:25149-EventOrigin, r=jdm
Remove `origin` parameter from `Worker::handle_message`
<!-- Please describe your changes on the following line: -->
Test in `workers/interfaces/DedicatedWorkerGlobalScope/postMessage/message-event.html` was failing because worker.onmessage was seeing non-empty event.origin. Removing `origin` parameter from `Worker::handle_message` and sending `None` to `MessageEvent::dispatch_jsval` solves the issue.
r?@jdm
---
<!-- 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 #25149 (GitHub issue number if applicable)
<!-- 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. -->
Diffstat (limited to 'components/script/dom/htmlaudioelement.rs')
0 files changed, 0 insertions, 0 deletions