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
implements NavigatorLanguage #10009
implements NavigatorLanguage #10009
Conversation
Tidy is a little grumpy:
|
e0d17e2
to
ef35923
Compare
@@ -7554,9 +7551,6 @@ | |||
[SharedWorker interface: attribute onerror] | |||
expected: FAIL | |||
|
|||
[WorkerNavigator interface: attribute language] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am surprised by this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, i see. So this need not change here. Okay.
ef35923
to
58c4eb8
Compare
@bors-servo: r+ |
📌 Commit 58c4eb8 has been approved by |
implements NavigatorLanguage For #9992 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10009) <!-- Reviewable:end -->
💔 Test failed - mac-rel-wpt |
|
First test case, was resolved by removing the entry from interfaces.html.ini. But am not sure of what to do of this second failing case. If i add
|
That's odd; I can't think of any reason that would happen. Did you uncomment http://mxr.mozilla.org/servo/source/components/script/dom/webidls/WorkerNavigator.webidl#10 as well? |
Yes, i did. |
Does the test use postMessage? Looking at the test file, the comment at the top says postMessage(navigator.language). |
Workers support postMessage. |
☔ The latest upstream changes (presumably #9838) made this pull request unmergeable. Please resolve the merge conflicts. |
58c4eb8
to
48959a0
Compare
@@ -72,5 +72,9 @@ impl NavigatorMethods for Navigator { | |||
// https://webbluetoothcg.github.io/web-bluetooth/#dom-navigator-bluetooth | |||
fn Bluetooth(&self) -> Root<Bluetooth> { | |||
self.bluetooth.or_init(|| Bluetooth::new(self.global().r())) | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rebase error; the } is missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, my bad. Fixing it. Btw, i got to know a lot, from this PR. :)
48959a0
to
0c3454b
Compare
@bors-servo: r+ |
📌 Commit 0c3454b has been approved by |
implements NavigatorLanguage Fixes #9992 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10009) <!-- Reviewable:end -->
💔 Test failed - mac-rel-wpt |
|
0c3454b
to
33308e4
Compare
While we're having you jump through hoops, the spec changed |
33308e4
to
facf591
Compare
Thanks! @bors-servo r+ |
📌 Commit facf591 has been approved by |
implements NavigatorLanguage Fixes #9992 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10009) <!-- Reviewable:end -->
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-unit, mac-rel-css, mac-rel-wpt, status-appveyor |
Fixes #9992
This change is