Closed Bug 1474068 Opened 8 years ago Closed 8 years ago

[wpt-sync] Sync PR 11839 - Move [SecureContext] to NavigatorBluetooth

Categories

(Core :: DOM: Device Interfaces, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 11839 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/11839 Details from upstream follow. Reilly Grant <reillyg@chromium.org> wrote: > Move [SecureContext] to NavigatorBluetooth > > This change moves the [SecureContext] extended attribute from the > individual attributes on the Bluetooth interface to the entire partial > Navigator interface for Web Bluetooth. > > This has the practical effect of making the entire navigator.bluetooth > attribute undefined in in-secure contexts rather than only > navigator.bluetooth.requestDevice. > > Web Platform Tests are also updated to test access to this attribute > from both secure and in-secure contexts. > > Bug: 860798 > Change-Id: Ife32dcfe9d035613c41399d7189e087cdb9f54d6 > Reviewed-on: https://chromium-review.googlesource.com/1128248 > WPT-Export-Revision: a8dcaf5df68794a0089e2478971e3e5675ed6dfb
PR 11839 applied with additional changes from upstream: 1786c35108a4cc2bc1bc3c86615c72755d21fb05
Component: web-platform-tests → DOM: Device Interfaces
Product: Testing → Core
Ran 3 tests and 237 subtests OK : 3 PASS : 81 FAIL : 156 New tests that have failures or other problems: /bluetooth/idl/idl-NavigatorBluetooth.https.html navigator.bluetooth IDL test: FAIL /bluetooth/idl/idlharness.tentative.https.window.html Bluetooth interface object length: FAIL Bluetooth interface object name: FAIL Bluetooth interface: attribute onavailabilitychanged: FAIL Bluetooth interface: attribute oncharacteristicvaluechanged: FAIL Bluetooth interface: attribute ongattserverdisconnected: FAIL Bluetooth interface: attribute onserviceadded: FAIL Bluetooth interface: attribute onservicechanged: FAIL Bluetooth interface: attribute onserviceremoved: FAIL Bluetooth interface: attribute referringDevice: FAIL Bluetooth interface: existence and properties of interface object: FAIL Bluetooth interface: existence and properties of interface prototype object: FAIL Bluetooth interface: existence and properties of interface prototype object's "constructor" property: FAIL Bluetooth interface: existence and properties of interface prototype object's @@unscopables property: FAIL Bluetooth interface: operation getAvailability(): FAIL Bluetooth interface: operation requestDevice(RequestDeviceOptions): FAIL BluetoothAdvertisingEvent interface object length: FAIL BluetoothAdvertisingEvent interface object name: FAIL BluetoothAdvertisingEvent interface: attribute appearance: FAIL BluetoothAdvertisingEvent interface: attribute device: FAIL BluetoothAdvertisingEvent interface: attribute manufacturerData: FAIL BluetoothAdvertisingEvent interface: attribute name: FAIL BluetoothAdvertisingEvent interface: attribute rssi: FAIL BluetoothAdvertisingEvent interface: attribute serviceData: FAIL BluetoothAdvertisingEvent interface: attribute txPower: FAIL BluetoothAdvertisingEvent interface: attribute uuids: FAIL BluetoothAdvertisingEvent interface: existence and properties of interface object: FAIL BluetoothAdvertisingEvent interface: existence and properties of interface prototype object: FAIL BluetoothAdvertisingEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothAdvertisingEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothCharacteristicProperties interface object length: FAIL BluetoothCharacteristicProperties interface object name: FAIL BluetoothCharacteristicProperties interface: attribute authenticatedSignedWrites: FAIL BluetoothCharacteristicProperties interface: attribute broadcast: FAIL BluetoothCharacteristicProperties interface: attribute indicate: FAIL BluetoothCharacteristicProperties interface: attribute notify: FAIL BluetoothCharacteristicProperties interface: attribute read: FAIL BluetoothCharacteristicProperties interface: attribute reliableWrite: FAIL BluetoothCharacteristicProperties interface: attribute writableAuxiliaries: FAIL BluetoothCharacteristicProperties interface: attribute write: FAIL BluetoothCharacteristicProperties interface: attribute writeWithoutResponse: FAIL BluetoothCharacteristicProperties interface: existence and properties of interface object: FAIL BluetoothCharacteristicProperties interface: existence and properties of interface prototype object: FAIL BluetoothCharacteristicProperties interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothCharacteristicProperties interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothDevice interface object length: FAIL BluetoothDevice interface object name: FAIL BluetoothDevice interface: attribute gatt: FAIL BluetoothDevice interface: attribute id: FAIL BluetoothDevice interface: attribute name: FAIL BluetoothDevice interface: attribute oncharacteristicvaluechanged: FAIL BluetoothDevice interface: attribute ongattserverdisconnected: FAIL BluetoothDevice interface: attribute onserviceadded: FAIL BluetoothDevice interface: attribute onservicechanged: FAIL BluetoothDevice interface: attribute onserviceremoved: FAIL BluetoothDevice interface: attribute watchingAdvertisements: FAIL BluetoothDevice interface: existence and properties of interface object: FAIL BluetoothDevice interface: existence and properties of interface prototype object: FAIL BluetoothDevice interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothDevice interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothDevice interface: operation unwatchAdvertisements(): FAIL BluetoothDevice interface: operation watchAdvertisements(): FAIL BluetoothManufacturerDataMap interface object length: FAIL BluetoothManufacturerDataMap interface object name: FAIL BluetoothManufacturerDataMap interface: existence and properties of interface object: FAIL BluetoothManufacturerDataMap interface: existence and properties of interface prototype object: FAIL BluetoothManufacturerDataMap interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothManufacturerDataMap interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothPermissionResult interface object length: FAIL BluetoothPermissionResult interface object name: FAIL BluetoothPermissionResult interface: attribute devices: FAIL BluetoothPermissionResult interface: existence and properties of interface object: FAIL BluetoothPermissionResult interface: existence and properties of interface prototype object: FAIL BluetoothPermissionResult interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothPermissionResult interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothRemoteGATTCharacteristic interface object length: FAIL BluetoothRemoteGATTCharacteristic interface object name: FAIL BluetoothRemoteGATTCharacteristic interface: attribute oncharacteristicvaluechanged: FAIL BluetoothRemoteGATTCharacteristic interface: attribute properties: FAIL BluetoothRemoteGATTCharacteristic interface: attribute service: FAIL BluetoothRemoteGATTCharacteristic interface: attribute uuid: FAIL BluetoothRemoteGATTCharacteristic interface: attribute value: FAIL BluetoothRemoteGATTCharacteristic interface: existence and properties of interface object: FAIL BluetoothRemoteGATTCharacteristic interface: existence and properties of interface prototype object: FAIL BluetoothRemoteGATTCharacteristic interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothRemoteGATTCharacteristic interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothRemoteGATTCharacteristic interface: operation getDescriptor(BluetoothDescriptorUUID): FAIL BluetoothRemoteGATTCharacteristic interface: operation getDescriptors(BluetoothDescriptorUUID): FAIL BluetoothRemoteGATTCharacteristic interface: operation readValue(): FAIL BluetoothRemoteGATTCharacteristic interface: operation startNotifications(): FAIL BluetoothRemoteGATTCharacteristic interface: operation stopNotifications(): FAIL BluetoothRemoteGATTCharacteristic interface: operation writeValue(BufferSource): FAIL BluetoothRemoteGATTDescriptor interface object length: FAIL BluetoothRemoteGATTDescriptor interface object name: FAIL BluetoothRemoteGATTDescriptor interface: attribute characteristic: FAIL BluetoothRemoteGATTDescriptor interface: attribute uuid: FAIL BluetoothRemoteGATTDescriptor interface: attribute value: FAIL BluetoothRemoteGATTDescriptor interface: existence and properties of interface object: FAIL BluetoothRemoteGATTDescriptor interface: existence and properties of interface prototype object: FAIL BluetoothRemoteGATTDescriptor interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothRemoteGATTDescriptor interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothRemoteGATTDescriptor interface: operation readValue(): FAIL BluetoothRemoteGATTDescriptor interface: operation writeValue(BufferSource): FAIL BluetoothRemoteGATTServer interface object length: FAIL BluetoothRemoteGATTServer interface object name: FAIL BluetoothRemoteGATTServer interface: attribute connected: FAIL BluetoothRemoteGATTServer interface: attribute device: FAIL BluetoothRemoteGATTServer interface: existence and properties of interface object: FAIL BluetoothRemoteGATTServer interface: existence and properties of interface prototype object: FAIL BluetoothRemoteGATTServer interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothRemoteGATTServer interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothRemoteGATTServer interface: operation connect(): FAIL BluetoothRemoteGATTServer interface: operation disconnect(): FAIL BluetoothRemoteGATTServer interface: operation getPrimaryService(BluetoothServiceUUID): FAIL BluetoothRemoteGATTServer interface: operation getPrimaryServices(BluetoothServiceUUID): FAIL BluetoothRemoteGATTService interface object length: FAIL BluetoothRemoteGATTService interface object name: FAIL BluetoothRemoteGATTService interface: attribute device: FAIL BluetoothRemoteGATTService interface: attribute isPrimary: FAIL BluetoothRemoteGATTService interface: attribute oncharacteristicvaluechanged: FAIL BluetoothRemoteGATTService interface: attribute onserviceadded: FAIL BluetoothRemoteGATTService interface: attribute onservicechanged: FAIL BluetoothRemoteGATTService interface: attribute onserviceremoved: FAIL BluetoothRemoteGATTService interface: attribute uuid: FAIL BluetoothRemoteGATTService interface: existence and properties of interface object: FAIL BluetoothRemoteGATTService interface: existence and properties of interface prototype object: FAIL BluetoothRemoteGATTService interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothRemoteGATTService interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothRemoteGATTService interface: operation getCharacteristic(BluetoothCharacteristicUUID): FAIL BluetoothRemoteGATTService interface: operation getCharacteristics(BluetoothCharacteristicUUID): FAIL BluetoothRemoteGATTService interface: operation getIncludedService(BluetoothServiceUUID): FAIL BluetoothRemoteGATTService interface: operation getIncludedServices(BluetoothServiceUUID): FAIL BluetoothServiceDataMap interface object length: FAIL BluetoothServiceDataMap interface object name: FAIL BluetoothServiceDataMap interface: existence and properties of interface object: FAIL BluetoothServiceDataMap interface: existence and properties of interface prototype object: FAIL BluetoothServiceDataMap interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothServiceDataMap interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothUUID interface object length: FAIL BluetoothUUID interface object name: FAIL BluetoothUUID interface: existence and properties of interface object: FAIL BluetoothUUID interface: existence and properties of interface prototype object: FAIL BluetoothUUID interface: existence and properties of interface prototype object's "constructor" property: FAIL BluetoothUUID interface: existence and properties of interface prototype object's @@unscopables property: FAIL BluetoothUUID interface: operation canonicalUUID(unsigned long): FAIL BluetoothUUID interface: operation getCharacteristic([object Object],[object Object]): FAIL BluetoothUUID interface: operation getDescriptor([object Object],[object Object]): FAIL BluetoothUUID interface: operation getService([object Object],[object Object]): FAIL Navigator interface: attribute bluetooth: FAIL ValueEvent interface object length: FAIL ValueEvent interface object name: FAIL ValueEvent interface: attribute value: FAIL ValueEvent interface: existence and properties of interface object: FAIL ValueEvent interface: existence and properties of interface prototype object: FAIL ValueEvent interface: existence and properties of interface prototype object's "constructor" property: FAIL ValueEvent interface: existence and properties of interface prototype object's @@unscopables property: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a9e8dc98b587 [wpt PR 11839] - Move [SecureContext] to NavigatorBluetooth, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/c7b5c4abdee7 [wpt PR 11839] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.