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

Enable fake fillText API in nightly builds. #21826

Merged
merged 1 commit into from Oct 2, 2018
Merged

Enable fake fillText API in nightly builds. #21826

merged 1 commit into from Oct 2, 2018

Conversation

@jdm
Copy link
Member

jdm commented Sep 27, 2018

The three.js examples are really useful for checking Servo WebGL support, but if the fillText API is not available they only display a blank screen. I think it's worth lying to web content about this API in order to make it easy to make use of these examples without using local development builds.


This change is Reviewable

@jdm
Copy link
Member Author

jdm commented Sep 27, 2018

The other option would be enabling this fake API for all builds via prefs.json, not just nightly builds.

@jdm
Copy link
Member Author

jdm commented Sep 28, 2018

I changed my mind - it will possibly be even more confusing to have the examples work in nightly builds and not in local builds. I think we should just accept the fact that this API is required by high priority test files and enable it.

@SimonSapin
Copy link
Member

SimonSapin commented Sep 28, 2018

I’m not really happy with exposing non-implemented features, but I understand that this fixes an immediate problem.

r=me with an issue filed to track having a separate set of prefs for local and Nightly builds v.s. Release, or whatever we call the builds we ship to distributions like Play Store.

@jdm
Copy link
Member Author

jdm commented Sep 28, 2018

Filed #21837 and added it to the FxR 1.1 + Servo project taskboard.

@jdm
Copy link
Member Author

jdm commented Sep 28, 2018

@bors-servo r=SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Sep 28, 2018

📌 Commit c740773 has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Sep 28, 2018

Testing commit c740773 with merge d0a024c...

bors-servo added a commit that referenced this pull request Sep 28, 2018
Enable fake fillText API in nightly builds.

The [three.js examples](https://threejs.org/examples/) are really useful for checking Servo WebGL support, but if the fillText API is not available they only display a blank screen. I think it's worth lying to web content about this API in order to make it easy to make use of these examples without using local development builds.

<!-- 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/21826)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Sep 28, 2018

💔 Test failed - linux-rel-css

@jdm jdm force-pushed the jdm-patch-35 branch from c740773 to d80af44 Oct 2, 2018
@jdm
Copy link
Member Author

jdm commented Oct 2, 2018

@bors-servo r=SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

📌 Commit d80af44 has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

Testing commit d80af44 with merge d4036ae...

bors-servo added a commit that referenced this pull request Oct 2, 2018
Enable fake fillText API in nightly builds.

The [three.js examples](https://threejs.org/examples/) are really useful for checking Servo WebGL support, but if the fillText API is not available they only display a blank screen. I think it's worth lying to web content about this API in order to make it easy to make use of these examples without using local development builds.

<!-- 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/21826)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

💔 Test failed - linux-rel-css

@jdm jdm force-pushed the jdm-patch-35 branch from d80af44 to eff990a Oct 2, 2018
@jdm
Copy link
Member Author

jdm commented Oct 2, 2018

@bors-servo r=SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

📌 Commit eff990a has been approved by SimonSapin

@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

Testing commit eff990a with merge 1d8fbc9...

bors-servo added a commit that referenced this pull request Oct 2, 2018
Enable fake fillText API in nightly builds.

The [three.js examples](https://threejs.org/examples/) are really useful for checking Servo WebGL support, but if the fillText API is not available they only display a blank screen. I think it's worth lying to web content about this API in order to make it easy to make use of these examples without using local development builds.

<!-- 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/21826)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

💔 Test failed - linux-rel-wpt

@jdm jdm force-pushed the jdm-patch-35 branch from eff990a to c3c8aab Oct 2, 2018
@jdm
Copy link
Member Author

jdm commented Oct 2, 2018

@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

📌 Commit c3c8aab has been approved by jdm

@highfive highfive assigned jdm and unassigned SimonSapin Oct 2, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

Testing commit c3c8aab with merge 74ba683...

bors-servo added a commit that referenced this pull request Oct 2, 2018
Enable fake fillText API in nightly builds.

The [three.js examples](https://threejs.org/examples/) are really useful for checking Servo WebGL support, but if the fillText API is not available they only display a blank screen. I think it's worth lying to web content about this API in order to make it easy to make use of these examples without using local development builds.

<!-- 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/21826)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Oct 2, 2018

@bors-servo bors-servo merged commit c3c8aab into master Oct 2, 2018
2 of 3 checks passed
2 of 3 checks passed
continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@SimonSapin SimonSapin deleted the jdm-patch-35 branch Oct 10, 2018
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.

None yet

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