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

Add tests for bluetooth interface #5219

Closed
wants to merge 5 commits into from

Conversation

LoonyBean
Copy link
Contributor

@jugglinmike
Copy link
Contributor

To start off on the right foot, maybe we should include an OWNERS file, too.

@LoonyBean
Copy link
Contributor Author

Me myself shouldn't be the owner of Bluetooth (as I work on interopability not Bluetooth), do you know who I should put as owners?
Thanks

@w3c-bots
Copy link

w3c-bots commented Mar 24, 2017

View the complete job log.

Firefox (nightly channel)

Testing web-platform-tests at revision 52cbcbc
Using browser at version BuildID 20170327110256; SourceStamp 9577ddeaafd85554c2a855f385a87472a089d5c0

@w3c-bots
Copy link

w3c-bots commented Mar 24, 2017

View the complete job log.

Chrome (unstable channel)

Testing web-platform-tests at revision 52cbcbc
Using browser at version 59.0.3047.0 dev

@jugglinmike
Copy link
Contributor

I do not. You might start by asking the specification editors if they'd like to help out.

To be clear: I'm not sure if this is strictly necessary. That said, it seems wise to designate an authority on this topic who can provide reviews before we commit to maintaining tests.

On a more technical note, it appears that the new file has trailing whitespace. This is causing the tests to fail.

Remove trailing white space
@w3c-bots
Copy link

w3c-bots commented Mar 24, 2017

These tests are now available on w3c-test.org

@LoonyBean
Copy link
Contributor Author

Thanks jugglinmike. I agree with you that we should add an OWNERS file, I will look into who to add.

<script>
test(function() {
assert_true('requestDevice' in navigator.bluetooth);
assert_equals(navigator.bluetooth.prototype.requestDevice.length, 0);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either navigator.bluetooth.requestDevice.length or Bluetooth.prototype.requestDevice.length.

@foolip
Copy link
Member

foolip commented Mar 28, 2017

The module owners in Blink are @jyasskin, @g-ortuno and @scheib. Are y'all interested in owning the wpt directory too?

@LoonyBean
Copy link
Contributor Author

Made changes based on review comments. PTAL

Copy link
Contributor

@jyasskin jyasskin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@g-ortuno, I assume this is compatible with our plans to upstream the layout tests from https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/bluetooth/?

bluetooth/OWNERS Outdated
@@ -0,0 +1,3 @@
@jyasskin,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be no commas in these files

@g-ortuno
Copy link
Contributor

Would it make sense to modify idl-Bluetooth.html or idl-NavigatorBluetooth.html to include the length check and then upstream that test?

@LoonyBean
Copy link
Contributor Author

LoonyBean commented Mar 28, 2017 via email

MXEBot pushed a commit to mirror/chromium that referenced this pull request Mar 29, 2017
Tests written in: web-platform-tests/wpt#5219

BUG=701562

Review-Url: https://codereview.chromium.org/2747813006
Cr-Commit-Position: refs/heads/master@{#460147}
@LoonyBean
Copy link
Contributor Author

Upstreaming the idl-Bluetooth.html at: https://codereview.chromium.org/2787103002/

@LoonyBean LoonyBean closed this Mar 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants