Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix panic on vimeo.com #26943

Merged
merged 1 commit into from Jun 17, 2020
Merged

Fix panic on vimeo.com #26943

merged 1 commit into from Jun 17, 2020

Conversation

@jdm
Copy link
Member

jdm commented Jun 16, 2020

The only time we end up enqueuing a promise reaction job with a null incumbent global argument is when SpiderMonkey does some weird stuff behind the scenes for its JS Debugger support (based on https://searchfox.org/mozilla-central/rev/2c1092dc68c63f7bad6da6a03c5883a5ab5ff2ca/js/src/builtin/Promise.cpp#3168). This commit works around that case and adds a regression test so we don't forget about that in the future.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #26930
  • There are tests for these changes
@highfive
Copy link

highfive commented Jun 16, 2020

Heads up! This PR modifies the following files:

@jdm
Copy link
Member Author

jdm commented Jun 16, 2020

@highfive highfive assigned Manishearth and unassigned ferjm Jun 16, 2020
@Manishearth
Copy link
Member

Manishearth commented Jun 16, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jun 16, 2020

📌 Commit 2e4cee9 has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Jun 16, 2020

Testing commit 2e4cee9 with merge 318e4e1...

bors-servo added a commit that referenced this pull request Jun 16, 2020
Fix panic on vimeo.com

The only time we end up enqueuing a promise reaction job with a null incumbent global argument is when SpiderMonkey does some weird stuff behind the scenes for its JS Debugger support (based on https://searchfox.org/mozilla-central/rev/2c1092dc68c63f7bad6da6a03c5883a5ab5ff2ca/js/src/builtin/Promise.cpp#3168). This commit works around that case and adds a regression test so we don't forget about that in the future.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26930
- [x] There are tests for these changes
@bors-servo
Copy link
Contributor

bors-servo commented Jun 16, 2020

💔 Test failed - status-taskcluster

@jdm
Copy link
Member Author

jdm commented Jun 17, 2020

@bors-servo
Copy link
Contributor

bors-servo commented Jun 17, 2020

Testing commit 2e4cee9 with merge 6d9b2ee...

@bors-servo
Copy link
Contributor

bors-servo commented Jun 17, 2020

☀️ Test successful - status-taskcluster
Approved by: Manishearth
Pushing 6d9b2ee to master...

@bors-servo bors-servo merged commit 6d9b2ee into servo:master Jun 17, 2020
2 checks passed
2 checks passed
Community-TC (pull_request) TaskGroup: success
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

5 participants
You can’t perform that action at this time.