Skip to content

Update checking origin trustworthy align to spec - #26111

Merged
bors-servo merged 1 commit into
servo:masterfrom
CYBAI:fix-origin-trustworthy
Apr 13, 2020
Merged

bors-servo merged 1 commit into
servo:masterfrom
CYBAI:fix-origin-trustworthy

Conversation

@CYBAI

@CYBAI CYBAI commented Apr 4, 2020

Copy link
Copy Markdown
Member

While reading the spec of Is origin potentially trustworthy?, I found our second step is wrong; then, I found Josh said we didn't check it with https because we didn't support https in tests yet (#13574 (comment)).

IIRC, we've supported https wpt tests now so it might be fine to change it to align with spec.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes OR
  • These changes do not require tests because ___

@highfive

highfive commented Apr 4, 2020

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

@highfive

highfive commented Apr 4, 2020

Copy link
Copy Markdown

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 4, 2020
@CYBAI

CYBAI commented Apr 4, 2020

Copy link
Copy Markdown
Member Author

@bors-servo try=wpt

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 860b766 with merge bb6d83e...

bors-servo added a commit that referenced this pull request Apr 4, 2020
Update checking origin trustworthy align to spec

While reading the [spec of ` Is origin potentially trustworthy? `](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy), I found our second step is wrong; then, I found Josh said we didn't check it with `https` because we didn't support https in tests yet (#13574 (comment)).

IIRC, we've supported https wpt tests now so it might be fine to change it to align with spec.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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. -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Apr 4, 2020
@jdm

jdm commented Apr 6, 2020

Copy link
Copy Markdown
Member

We can avoid those failures by renaming tests/wpt/mozilla/tests/mozilla/service-workers/service-worker-registration.html to service-worker-registration.https.html and running ./mach update-manifest.

@jdm jdm added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. and removed S-awaiting-review There is new code that needs to be reviewed. labels Apr 6, 2020
@CYBAI

CYBAI commented Apr 7, 2020

Copy link
Copy Markdown
Member Author

We can avoid those failures by renaming tests/wpt/mozilla/tests/mozilla/service-workers/service-worker-registration.html to service-worker-registration.https.html and running ./mach update-manifest.

Ah, good point! Thanks for pointing that out! Will do that!

@CYBAI
CYBAI force-pushed the fix-origin-trustworthy branch from 860b766 to 49bf790 Compare April 11, 2020 03:03
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Apr 11, 2020
@CYBAI

CYBAI commented Apr 11, 2020

Copy link
Copy Markdown
Member Author

@bors-servo try=wpt

bors-servo added a commit that referenced this pull request Apr 11, 2020
Update checking origin trustworthy align to spec

While reading the [spec of ` Is origin potentially trustworthy? `](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy), I found our second step is wrong; then, I found Josh said we didn't check it with `https` because we didn't support https in tests yet (#13574 (comment)).

IIRC, we've supported https wpt tests now so it might be fine to change it to align with spec.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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. -->
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 49bf790 with merge 79bf321...

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added the S-tests-failed The changes caused existing tests to fail. label Apr 11, 2020
@CYBAI
CYBAI force-pushed the fix-origin-trustworthy branch from 49bf790 to 203afdb Compare April 11, 2020 14:28
@highfive highfive removed the S-tests-failed The changes caused existing tests to fail. label Apr 11, 2020
@CYBAI
CYBAI force-pushed the fix-origin-trustworthy branch from 203afdb to 079f5f0 Compare April 11, 2020 15:02
@CYBAI

CYBAI commented Apr 11, 2020

Copy link
Copy Markdown
Member Author

@bors-servo try=wpt

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 079f5f0 with merge ab56ca0...

bors-servo added a commit that referenced this pull request Apr 11, 2020
Update checking origin trustworthy align to spec

While reading the [spec of ` Is origin potentially trustworthy? `](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy), I found our second step is wrong; then, I found Josh said we didn't check it with `https` because we didn't support https in tests yet (#13574 (comment)).

IIRC, we've supported https wpt tests now so it might be fine to change it to align with spec.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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. -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-taskcluster
State: approved= try=True

@jdm

jdm commented Apr 11, 2020

Copy link
Copy Markdown
Member

Needs a ./mach update-manifest.

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 99a8ea2 with merge e3e01ba...

bors-servo added a commit that referenced this pull request Apr 13, 2020
Update checking origin trustworthy align to spec

While reading the [spec of ` Is origin potentially trustworthy? `](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy), I found our second step is wrong; then, I found Josh said we didn't check it with `https` because we didn't support https in tests yet (#13574 (comment)).

IIRC, we've supported https wpt tests now so it might be fine to change it to align with spec.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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. -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Apr 13, 2020
@CYBAI

CYBAI commented Apr 13, 2020

Copy link
Copy Markdown
Member Author

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 99a8ea2 with merge fa0395f...

bors-servo added a commit that referenced this pull request Apr 13, 2020
Update checking origin trustworthy align to spec

While reading the [spec of ` Is origin potentially trustworthy? `](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy), I found our second step is wrong; then, I found Josh said we didn't check it with `https` because we didn't support https in tests yet (#13574 (comment)).

IIRC, we've supported https wpt tests now so it might be fine to change it to align with spec.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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. -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Apr 13, 2020
@CYBAI

CYBAI commented Apr 13, 2020

Copy link
Copy Markdown
Member Author

hmm, I've noticed we won't only run the failed jobs recently 🤔

@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Apr 13, 2020
@CYBAI

CYBAI commented Apr 13, 2020

Copy link
Copy Markdown
Member Author

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 99a8ea2 with merge 29c3a17...

bors-servo added a commit that referenced this pull request Apr 13, 2020
Update checking origin trustworthy align to spec

While reading the [spec of ` Is origin potentially trustworthy? `](https://w3c.github.io/webappsec-secure-contexts/#is-origin-trustworthy), I found our second step is wrong; then, I found Josh said we didn't check it with `https` because we didn't support https in tests yet (#13574 (comment)).

IIRC, we've supported https wpt tests now so it might be fine to change it to align with spec.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- 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. -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Apr 13, 2020
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Apr 13, 2020
@CYBAI

CYBAI commented Apr 13, 2020

Copy link
Copy Markdown
Member Author

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 99a8ea2 with merge 8cc619c...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Apr 13, 2020
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing 8cc619c to master...

@bors-servo
bors-servo merged commit 8cc619c into servo:master Apr 13, 2020
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 13, 2020
@CYBAI
CYBAI deleted the fix-origin-trustworthy branch April 13, 2020 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants