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

Don't panic if surfman initialization fails. #24859

Merged
merged 1 commit into from Nov 26, 2019
Merged

Conversation

@jdm
Copy link
Member

jdm commented Nov 25, 2019

Since WebGL is only one component of the web platform, there's no reason that failing to initialize surfman for webgl support should take down the entire browser.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #24642 (in that the browser will now start up) and fix #24627
  • These changes do not require tests because tests for graphics acceleration? don't make me laugh.
@highfive
Copy link

highfive commented Nov 25, 2019

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
@Manishearth
Copy link
Member

Manishearth commented Nov 26, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 26, 2019

📌 Commit 9d8b15f has been approved by Manishearth

@bors-servo
Copy link
Contributor

bors-servo commented Nov 26, 2019

Testing commit 9d8b15f with merge 04b2975...

bors-servo added a commit that referenced this pull request Nov 26, 2019
Don't panic if surfman initialization fails.

Since WebGL is only one component of the web platform, there's no reason that failing to initialize surfman for webgl support should take down the entire browser.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24642 (in that the browser will now start up) and fix #24627
- [x] These changes do not require tests because tests for graphics acceleration? don't make me laugh.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 26, 2019

💔 Test failed - status-taskcluster

@jdm
Copy link
Member Author

jdm commented Nov 26, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Nov 26, 2019

Testing commit 9d8b15f with merge 42003a9...

bors-servo added a commit that referenced this pull request Nov 26, 2019
Don't panic if surfman initialization fails.

Since WebGL is only one component of the web platform, there's no reason that failing to initialize surfman for webgl support should take down the entire browser.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24642 (in that the browser will now start up) and fix #24627
- [x] These changes do not require tests because tests for graphics acceleration? don't make me laugh.
@bors-servo
Copy link
Contributor

bors-servo commented Nov 26, 2019

☀️ Test successful - status-taskcluster
Approved by: Manishearth
Pushing 42003a9 to master...

@bors-servo bors-servo merged commit 9d8b15f into servo:master Nov 26, 2019
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
4 participants
You can’t perform that action at this time.