From 220a471b149c6dbeaeee4af44f3a122d66f719e9 Mon Sep 17 00:00:00 2001 From: cdeler Date: Sat, 5 Jan 2019 22:20:25 +0300 Subject: [PATCH 1/4] implemented missed constructor for DOMException; fixed the tests expectations --- components/script/dom/domexception.rs | 123 +++++--- .../script/dom/webidls/DOMException.webidl | 6 +- ...MException-constructor-behavior.any.js.ini | 186 ------------ .../DOMException-custom-bindings.any.js.ini | 30 -- tests/wpt/metadata/WebIDL/interfaces.html.ini | 270 ------------------ 5 files changed, 95 insertions(+), 520 deletions(-) diff --git a/components/script/dom/domexception.rs b/components/script/dom/domexception.rs index 6f35b23f7a8..b5b0ca5a8c4 100644 --- a/components/script/dom/domexception.rs +++ b/components/script/dom/domexception.rs @@ -5,6 +5,7 @@ use crate::dom::bindings::codegen::Bindings::DOMExceptionBinding; use crate::dom::bindings::codegen::Bindings::DOMExceptionBinding::DOMExceptionConstants; use crate::dom::bindings::codegen::Bindings::DOMExceptionBinding::DOMExceptionMethods; +use crate::dom::bindings::error::Error; use crate::dom::bindings::reflector::{reflect_dom_object, Reflector}; use crate::dom::bindings::root::DomRoot; use crate::dom::bindings::str::DOMString; @@ -38,43 +39,46 @@ pub enum DOMErrorName { NotReadableError = DOMExceptionConstants::NOT_READABLE_ERR, } +impl DOMErrorName { + pub fn from(s: &DOMString) -> Option { + match s.as_ref() { + "IndexSizeError" => Some(DOMErrorName::IndexSizeError), + "HierarchyRequestError" => Some(DOMErrorName::HierarchyRequestError), + "WrongDocumentError" => Some(DOMErrorName::WrongDocumentError), + "InvalidCharacterError" => Some(DOMErrorName::InvalidCharacterError), + "NoModificationAllowedError" => Some(DOMErrorName::NoModificationAllowedError), + "NotFoundError" => Some(DOMErrorName::NotFoundError), + "NotSupportedError" => Some(DOMErrorName::NotSupportedError), + "InUseAttributeError" => Some(DOMErrorName::InUseAttributeError), + "InvalidStateError" => Some(DOMErrorName::InvalidStateError), + "SyntaxError" => Some(DOMErrorName::SyntaxError), + "InvalidModificationError" => Some(DOMErrorName::InvalidModificationError), + "NamespaceError" => Some(DOMErrorName::NamespaceError), + "InvalidAccessError" => Some(DOMErrorName::InvalidAccessError), + "SecurityError" => Some(DOMErrorName::SecurityError), + "NetworkError" => Some(DOMErrorName::NetworkError), + "AbortError" => Some(DOMErrorName::AbortError), + "TypeMismatchError" => Some(DOMErrorName::TypeMismatchError), + "QuotaExceededError" => Some(DOMErrorName::QuotaExceededError), + "TimeoutError" => Some(DOMErrorName::TimeoutError), + "InvalidNodeTypeError" => Some(DOMErrorName::InvalidNodeTypeError), + "DataCloneError" => Some(DOMErrorName::DataCloneError), + "NotReadableError" => Some(DOMErrorName::NotReadableError), + _ => None, + } + } +} + #[dom_struct] pub struct DOMException { reflector_: Reflector, - code: DOMErrorName, + message: DOMString, + name: DOMString, } impl DOMException { - fn new_inherited(code: DOMErrorName) -> DOMException { - DOMException { - reflector_: Reflector::new(), - code: code, - } - } - - pub fn new(global: &GlobalScope, code: DOMErrorName) -> DomRoot { - reflect_dom_object( - Box::new(DOMException::new_inherited(code)), - global, - DOMExceptionBinding::Wrap, - ) - } -} - -impl DOMExceptionMethods for DOMException { - // https://heycam.github.io/webidl/#dfn-DOMException - fn Code(&self) -> u16 { - self.code as u16 - } - - // https://heycam.github.io/webidl/#idl-DOMException-error-names - fn Name(&self) -> DOMString { - DOMString::from(format!("{:?}", self.code)) - } - - // https://heycam.github.io/webidl/#error-names - fn Message(&self) -> DOMString { - let message = match self.code { + fn get_error_data_by_code(code: DOMErrorName) -> (DOMString, DOMString) { + let message = match &code { DOMErrorName::IndexSizeError => "The index is not in the allowed range.", DOMErrorName::HierarchyRequestError => { "The operation would yield an incorrect node tree." @@ -105,11 +109,64 @@ impl DOMExceptionMethods for DOMException { DOMErrorName::NotReadableError => "The I/O read operation failed.", }; - DOMString::from(message) + ( + DOMString::from(message), + DOMString::from(format!("{:?}", code)), + ) + } + + fn new_inherited(message_: DOMString, name_: DOMString) -> DOMException { + DOMException { + reflector_: Reflector::new(), + message: message_, + name: name_, + } + } + + pub fn new(global: &GlobalScope, code: DOMErrorName) -> DomRoot { + let (message, name) = DOMException::get_error_data_by_code(code); + + reflect_dom_object( + Box::new(DOMException::new_inherited(message, name)), + global, + DOMExceptionBinding::Wrap, + ) + } + + pub fn Constructor( + global: &GlobalScope, + message: DOMString, + name: DOMString, + ) -> Result, Error> { + Ok(reflect_dom_object( + Box::new(DOMException::new_inherited(message, name)), + global, + DOMExceptionBinding::Wrap, + )) + } +} + +impl DOMExceptionMethods for DOMException { + // https://heycam.github.io/webidl/#dfn-DOMException + fn Code(&self) -> u16 { + match DOMErrorName::from(&self.name) { + Some(code) => code as u16, + None => 0 as u16, + } + } + + // https://heycam.github.io/webidl/#idl-DOMException-error-names + fn Name(&self) -> DOMString { + self.name.clone() + } + + // https://heycam.github.io/webidl/#error-names + fn Message(&self) -> DOMString { + self.message.clone() } // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-error.prototype.tostring fn Stringifier(&self) -> DOMString { - DOMString::from(format!("{}: {}", self.Name(), self.Message())) + DOMString::from(format!("{}: {}", self.name, self.message)) } } diff --git a/components/script/dom/webidls/DOMException.webidl b/components/script/dom/webidls/DOMException.webidl index e2f95cbdda1..d9ec6f4dc84 100644 --- a/components/script/dom/webidls/DOMException.webidl +++ b/components/script/dom/webidls/DOMException.webidl @@ -7,7 +7,11 @@ * https://heycam.github.io/webidl/#es-DOMException-constructor-object */ -[ExceptionClass, Exposed=(Window,Worker)] +[ + ExceptionClass, + Exposed=(Window,Worker), + Constructor(optional DOMString message="", optional DOMString name="Error") +] interface DOMException { const unsigned short INDEX_SIZE_ERR = 1; const unsigned short DOMSTRING_SIZE_ERR = 2; // historical diff --git a/tests/wpt/metadata/WebIDL/ecmascript-binding/es-exceptions/DOMException-constructor-behavior.any.js.ini b/tests/wpt/metadata/WebIDL/ecmascript-binding/es-exceptions/DOMException-constructor-behavior.any.js.ini index aac790394bf..ff79a876e0a 100644 --- a/tests/wpt/metadata/WebIDL/ecmascript-binding/es-exceptions/DOMException-constructor-behavior.any.js.ini +++ b/tests/wpt/metadata/WebIDL/ecmascript-binding/es-exceptions/DOMException-constructor-behavior.any.js.ini @@ -1,197 +1,11 @@ [DOMException-constructor-behavior.any.worker.html] type: testharness - [new DOMException()] - expected: FAIL - - [new DOMException(): inherited-ness] - expected: FAIL - - [new DOMException(null)] - expected: FAIL - - [new DOMException(undefined)] - expected: FAIL - - [new DOMException(undefined): inherited-ness] - expected: FAIL - - [new DOMException("foo")] - expected: FAIL - - [new DOMException("foo"): inherited-ness] - expected: FAIL - - [new DOMException("bar", undefined)] - expected: FAIL - - [new DOMException("bar", "NotSupportedError")] - expected: FAIL - - [new DOMException("bar", "NotSupportedError"): inherited-ness] - expected: FAIL - - [new DOMException("bar", "foo")] - expected: FAIL - - [new DOMexception("msg", "IndexSizeError")] - expected: FAIL - - [new DOMexception("msg", "HierarchyRequestError")] - expected: FAIL - - [new DOMexception("msg", "WrongDocumentError")] - expected: FAIL - - [new DOMexception("msg", "InvalidCharacterError")] - expected: FAIL - - [new DOMexception("msg", "NoModificationAllowedError")] - expected: FAIL - - [new DOMexception("msg", "NotFoundError")] - expected: FAIL - - [new DOMexception("msg", "NotSupportedError")] - expected: FAIL - - [new DOMexception("msg", "InUseAttributeError")] - expected: FAIL - - [new DOMexception("msg", "InvalidStateError")] - expected: FAIL - - [new DOMexception("msg", "SyntaxError")] - expected: FAIL - - [new DOMexception("msg", "InvalidModificationError")] - expected: FAIL - - [new DOMexception("msg", "NamespaceError")] - expected: FAIL - - [new DOMexception("msg", "InvalidAccessError")] - expected: FAIL - - [new DOMexception("msg", "SecurityError")] - expected: FAIL - - [new DOMexception("msg", "NetworkError")] - expected: FAIL - - [new DOMexception("msg", "AbortError")] - expected: FAIL - [new DOMexception("msg", "URLMismatchError")] expected: FAIL - [new DOMexception("msg", "QuotaExceededError")] - expected: FAIL - - [new DOMexception("msg", "TimeoutError")] - expected: FAIL - - [new DOMexception("msg", "InvalidNodeTypeError")] - expected: FAIL - - [new DOMexception("msg", "DataCloneError")] - expected: FAIL - [DOMException-constructor-behavior.any.html] type: testharness - [new DOMException()] - expected: FAIL - - [new DOMException(): inherited-ness] - expected: FAIL - - [new DOMException(null)] - expected: FAIL - - [new DOMException(undefined)] - expected: FAIL - - [new DOMException(undefined): inherited-ness] - expected: FAIL - - [new DOMException("foo")] - expected: FAIL - - [new DOMException("foo"): inherited-ness] - expected: FAIL - - [new DOMException("bar", undefined)] - expected: FAIL - - [new DOMException("bar", "NotSupportedError")] - expected: FAIL - - [new DOMException("bar", "NotSupportedError"): inherited-ness] - expected: FAIL - - [new DOMException("bar", "foo")] - expected: FAIL - - [new DOMexception("msg", "IndexSizeError")] - expected: FAIL - - [new DOMexception("msg", "HierarchyRequestError")] - expected: FAIL - - [new DOMexception("msg", "WrongDocumentError")] - expected: FAIL - - [new DOMexception("msg", "InvalidCharacterError")] - expected: FAIL - - [new DOMexception("msg", "NoModificationAllowedError")] - expected: FAIL - - [new DOMexception("msg", "NotFoundError")] - expected: FAIL - - [new DOMexception("msg", "NotSupportedError")] - expected: FAIL - - [new DOMexception("msg", "InUseAttributeError")] - expected: FAIL - - [new DOMexception("msg", "InvalidStateError")] - expected: FAIL - - [new DOMexception("msg", "SyntaxError")] - expected: FAIL - - [new DOMexception("msg", "InvalidModificationError")] - expected: FAIL - - [new DOMexception("msg", "NamespaceError")] - expected: FAIL - - [new DOMexception("msg", "InvalidAccessError")] - expected: FAIL - - [new DOMexception("msg", "SecurityError")] - expected: FAIL - - [new DOMexception("msg", "NetworkError")] - expected: FAIL - - [new DOMexception("msg", "AbortError")] - expected: FAIL - [new DOMexception("msg", "URLMismatchError")] expected: FAIL - [new DOMexception("msg", "QuotaExceededError")] - expected: FAIL - - [new DOMexception("msg", "TimeoutError")] - expected: FAIL - - [new DOMexception("msg", "InvalidNodeTypeError")] - expected: FAIL - - [new DOMexception("msg", "DataCloneError")] - expected: FAIL - diff --git a/tests/wpt/metadata/WebIDL/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.js.ini b/tests/wpt/metadata/WebIDL/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.js.ini index 0cdcdc1a133..42a98e14b09 100644 --- a/tests/wpt/metadata/WebIDL/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.js.ini +++ b/tests/wpt/metadata/WebIDL/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.js.ini @@ -1,20 +1,5 @@ [DOMException-custom-bindings.any.worker.html] type: testharness - [message property descriptor] - expected: FAIL - - [name property descriptor] - expected: FAIL - - [code property descriptor] - expected: FAIL - - [code property is not affected by shadowing the name property] - expected: FAIL - - [Object.prototype.toString behavior is like other interfaces] - expected: FAIL - [Inherits its toString() from Error.prototype] expected: FAIL @@ -24,21 +9,6 @@ [DOMException-custom-bindings.any.html] type: testharness - [message property descriptor] - expected: FAIL - - [name property descriptor] - expected: FAIL - - [code property descriptor] - expected: FAIL - - [code property is not affected by shadowing the name property] - expected: FAIL - - [Object.prototype.toString behavior is like other interfaces] - expected: FAIL - [Inherits its toString() from Error.prototype] expected: FAIL diff --git a/tests/wpt/metadata/WebIDL/interfaces.html.ini b/tests/wpt/metadata/WebIDL/interfaces.html.ini index 666a8ee2ae3..4f9c2929fb5 100644 --- a/tests/wpt/metadata/WebIDL/interfaces.html.ini +++ b/tests/wpt/metadata/WebIDL/interfaces.html.ini @@ -1,275 +1,5 @@ [interfaces.html] type: testharness - [DOMException must be primary interface of new DOMException()] - expected: FAIL - - [Stringification of new DOMException()] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "name" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "message" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "code" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "INDEX_SIZE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "DOMSTRING_SIZE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "HIERARCHY_REQUEST_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "WRONG_DOCUMENT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "INVALID_CHARACTER_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "NO_DATA_ALLOWED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "NOT_FOUND_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "NOT_SUPPORTED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "INVALID_STATE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "SYNTAX_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "INVALID_MODIFICATION_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "NAMESPACE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "INVALID_ACCESS_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "VALIDATION_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "TYPE_MISMATCH_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "SECURITY_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "NETWORK_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "ABORT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "URL_MISMATCH_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "QUOTA_EXCEEDED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "TIMEOUT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "INVALID_NODE_TYPE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException() must inherit property "DATA_CLONE_ERR" with the proper type] - expected: FAIL - - [DOMException must be primary interface of new DOMException("my message")] - expected: FAIL - - [Stringification of new DOMException("my message")] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "name" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "message" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "code" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "INDEX_SIZE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "DOMSTRING_SIZE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "HIERARCHY_REQUEST_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "WRONG_DOCUMENT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "INVALID_CHARACTER_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "NO_DATA_ALLOWED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "NOT_FOUND_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "NOT_SUPPORTED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "INVALID_STATE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "SYNTAX_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "INVALID_MODIFICATION_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "NAMESPACE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "INVALID_ACCESS_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "VALIDATION_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "TYPE_MISMATCH_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "SECURITY_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "NETWORK_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "ABORT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "URL_MISMATCH_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "QUOTA_EXCEEDED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "TIMEOUT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "INVALID_NODE_TYPE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message") must inherit property "DATA_CLONE_ERR" with the proper type] - expected: FAIL - - [DOMException must be primary interface of new DOMException("my message", "myName")] - expected: FAIL - - [Stringification of new DOMException("my message", "myName")] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "name" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "message" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "code" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "INDEX_SIZE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "DOMSTRING_SIZE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "HIERARCHY_REQUEST_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "WRONG_DOCUMENT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_CHARACTER_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "NO_DATA_ALLOWED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "NO_MODIFICATION_ALLOWED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "NOT_FOUND_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "NOT_SUPPORTED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "INUSE_ATTRIBUTE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_STATE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "SYNTAX_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_MODIFICATION_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "NAMESPACE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_ACCESS_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "VALIDATION_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "TYPE_MISMATCH_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "SECURITY_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "NETWORK_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "ABORT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "URL_MISMATCH_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "QUOTA_EXCEEDED_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "TIMEOUT_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "INVALID_NODE_TYPE_ERR" with the proper type] - expected: FAIL - - [DOMException interface: new DOMException("my message", "myName") must inherit property "DATA_CLONE_ERR" with the proper type] - expected: FAIL - [WebIDL IDL tests] expected: FAIL From e30f48f3c81cbec068404a5ccceb4d741ae82228 Mon Sep 17 00:00:00 2001 From: cdeler Date: Wed, 20 Mar 2019 13:19:00 +0300 Subject: [PATCH 2/4] #22412 fixed PR issues - fixed wpt tests expectations --- tests/wpt/metadata/WebIDL/interfaces.html.ini | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/wpt/metadata/WebIDL/interfaces.html.ini b/tests/wpt/metadata/WebIDL/interfaces.html.ini index 4f9c2929fb5..069188041bd 100644 --- a/tests/wpt/metadata/WebIDL/interfaces.html.ini +++ b/tests/wpt/metadata/WebIDL/interfaces.html.ini @@ -1,5 +1,3 @@ [interfaces.html] type: testharness - [WebIDL IDL tests] - expected: FAIL From 18fe57256201607d2e6bcf450dbf06e9d4082242 Mon Sep 17 00:00:00 2001 From: cdeler Date: Wed, 20 Mar 2019 16:56:55 +0300 Subject: [PATCH 3/4] #22412 updated bluetooth tests expectations --- .../characteristic/characteristicProperties.https.html.ini | 3 +++ .../getDescriptor/gen-characteristic-is-removed.https.html.ini | 3 +++ .../gen-descriptor-get-same-object.https.html.ini | 3 +++ .../getDescriptor/gen-service-is-removed.https.html.ini | 3 +++ .../gen-characteristic-is-removed-with-uuid.https.html.ini | 3 +++ .../gen-characteristic-is-removed.https.html.ini | 3 +++ .../gen-descriptor-get-same-object.https.html.ini | 3 +++ .../gen-service-is-removed-with-uuid.https.html.ini | 3 +++ .../getDescriptors/gen-service-is-removed.https.html.ini | 3 +++ .../notifications/characteristic-is-removed.https.html.ini | 3 +++ .../notifications/service-is-removed.https.html.ini | 3 +++ .../readValue/add-multiple-event-listeners.https.html.ini | 3 +++ .../readValue/characteristic-is-removed.https.html.ini | 3 +++ .../characteristic/readValue/event-is-fired.https.html.ini | 3 +++ .../readValue/gen-characteristic-is-removed.https.html.ini | 3 +++ .../characteristic/readValue/read-succeeds.https.html.ini | 3 +++ .../characteristic/readValue/read-updates-value.https.html.ini | 3 +++ .../characteristic/readValue/service-is-removed.https.html.ini | 3 +++ .../service-same-from-2-characteristics.https.html.ini | 3 +++ .../characteristic/service-same-object.https.html.ini | 3 +++ .../gen-characteristic-is-removed.https.html.ini | 3 +++ .../writeValue/characteristic-is-removed.https.html.ini | 3 +++ .../writeValue/gen-characteristic-is-removed.https.html.ini | 3 +++ .../writeValue/service-is-removed.https.html.ini | 3 +++ .../characteristic/writeValue/write-succeeds.https.html.ini | 3 +++ .../descriptor/readValue/gen-service-is-removed.https.html.ini | 3 +++ .../descriptor/readValue/read-succeeds.https.html.ini | 3 +++ .../writeValue/gen-service-is-removed.https.html.ini | 3 +++ .../gattserverdisconnected-event/disconnected.https.html.ini | 3 +++ .../disconnected_gc.https.html.ini | 3 +++ .../one-event-per-disconnection.https.html.ini | 3 +++ .../reconnect-during-disconnected-event.https.html.ini | 3 +++ .../metadata/bluetooth/idl/idl-BluetoothDevice.https.html.ini | 3 +++ .../acceptAllDevices/device-with-empty-name.https.html.ini | 3 +++ .../acceptAllDevices/device-with-name.https.html.ini | 3 +++ .../acceptAllDevices/optional-services-missing.https.html.ini | 3 +++ .../acceptAllDevices/optional-services-present.https.html.ini | 3 +++ .../requestDevice/blocklisted-service-in-filter.https.html.ini | 3 +++ .../blocklisted-service-in-optionalServices.https.html.ini | 3 +++ .../device-name-longer-than-29-bytes.https.html.ini | 3 +++ .../canonicalizeFilter/empty-filter.https.html.ini | 3 +++ .../canonicalizeFilter/empty-filters-member.https.html.ini | 3 +++ .../canonicalizeFilter/empty-namePrefix.https.html.ini | 3 +++ .../canonicalizeFilter/empty-services-member.https.html.ini | 3 +++ .../filters-xor-acceptAllDevices.https.html.ini | 3 +++ .../max-length-exceeded-name-unicode.https.html.ini | 3 +++ .../canonicalizeFilter/max-length-exceeded-name.https.html.ini | 3 +++ .../max-length-exceeded-namePrefix-unicode.https.html.ini | 3 +++ .../max-length-exceeded-namePrefix.https.html.ini | 3 +++ .../canonicalizeFilter/max-length-name-unicode.https.html.ini | 3 +++ .../canonicalizeFilter/max-length-name.https.html.ini | 3 +++ .../max-length-namePrefix-unicode.https.html.ini | 3 +++ .../canonicalizeFilter/max-length-namePrefix.https.html.ini | 3 +++ .../unicode-valid-length-name-name.https.html.ini | 3 +++ .../unicode-valid-length-name-namePrefix.https.html.ini | 3 +++ .../wrong-service-in-optionalServices-member.https.html.ini | 3 +++ .../wrong-service-in-services-member.https.html.ini | 3 +++ .../requestDevice/cross-origin-iframe.sub.https.html.ini | 3 +++ .../bluetooth/requestDevice/discovery-succeeds.https.html.ini | 3 +++ .../requestDevice/doesnt-consume-user-gesture.https.html.ini | 3 +++ .../bluetooth/requestDevice/filter-matches.https.html.ini | 3 +++ .../bluetooth/requestDevice/le-not-supported.https.html.ini | 3 +++ .../name-empty-device-from-name-empty-filter.https.html.ini | 3 +++ .../requestDevice/not-processing-user-gesture.https.html.ini | 3 +++ .../bluetooth/requestDevice/radio-not-present.https.html.ini | 3 +++ .../bluetooth/requestDevice/request-from-iframe.https.html.ini | 3 +++ .../requestDevice/request-from-sandboxed-iframe.https.html.ini | 3 +++ .../bluetooth/requestDevice/same-device.https.html.ini | 3 +++ .../requestDevice/single-filter-single-service.https.html.ini | 3 +++ .../server/connect/connection-succeeds.https.html.ini | 3 +++ .../garbage-collection-ran-during-success.https.html.ini | 3 +++ .../server/connect/get-same-gatt-server.https.html.ini | 3 +++ .../bluetooth/server/device-same-object.https.html.ini | 3 +++ .../server/disconnect/connect-disconnect-twice.https.html.ini | 3 +++ .../bluetooth/server/disconnect/detach-gc.https.html.ini | 3 +++ .../server/disconnect/disconnect-twice-in-a-row.https.html.ini | 3 +++ .../bluetooth/server/disconnect/gc-detach.https.html.ini | 3 +++ .../gen-disconnect-called-before.https.html.ini | 3 +++ .../gen-disconnect-called-during-error.https.html.ini | 3 +++ .../gen-disconnect-called-during-success.https.html.ini | 3 +++ .../gen-disconnect-invalidates-objects.https.html.ini | 3 +++ .../getPrimaryService/gen-disconnected-device.https.html.ini | 3 +++ ...covery-complete-no-permission-absent-service.https.html.ini | 3 +++ .../gen-discovery-complete-service-not-found.https.html.ini | 3 +++ .../gen-garbage-collection-ran-during-error.https.html.ini | 3 +++ .../gen-garbage-collection-ran-during-success.https.html.ini | 3 +++ ...gen-get-different-service-after-reconnection.https.html.ini | 3 +++ .../getPrimaryService/gen-get-same-object.https.html.ini | 3 +++ .../getPrimaryService/gen-invalid-service-name.https.html.ini | 3 +++ .../gen-no-permission-absent-service.https.html.ini | 3 +++ .../gen-no-permission-for-any-service.https.html.ini | 3 +++ .../gen-no-permission-present-service.https.html.ini | 3 +++ .../getPrimaryService/gen-service-not-found.https.html.ini | 3 +++ .../server/getPrimaryService/service-found.https.html.ini | 3 +++ .../two-iframes-from-same-origin.https.html.ini | 3 +++ .../blocklisted-services-with-uuid.https.html.ini | 3 +++ .../getPrimaryServices/blocklisted-services.https.html.ini | 3 +++ .../server/getPrimaryServices/correct-services.https.html.ini | 3 +++ .../gen-disconnect-called-before-with-uuid.https.html.ini | 3 +++ .../gen-disconnect-called-before.https.html.ini | 3 +++ ...gen-disconnect-called-during-error-with-uuid.https.html.ini | 3 +++ .../gen-disconnect-called-during-error.https.html.ini | 3 +++ ...n-disconnect-called-during-success-with-uuid.https.html.ini | 3 +++ .../gen-disconnect-called-during-success.https.html.ini | 3 +++ ...gen-disconnect-invalidates-objects-with-uuid.https.html.ini | 3 +++ .../gen-disconnect-invalidates-objects.https.html.ini | 3 +++ .../gen-disconnected-device-with-uuid.https.html.ini | 3 +++ .../getPrimaryServices/gen-disconnected-device.https.html.ini | 3 +++ ...plete-no-permission-absent-service-with-uuid.https.html.ini | 3 +++ ...scovery-complete-service-not-found-with-uuid.https.html.ini | 3 +++ ...arbage-collection-ran-during-error-with-uuid.https.html.ini | 3 +++ .../gen-garbage-collection-ran-during-error.https.html.ini | 3 +++ ...bage-collection-ran-during-success-with-uuid.https.html.ini | 3 +++ .../gen-garbage-collection-ran-during-success.https.html.ini | 3 +++ ...fferent-service-after-reconnection-with-uuid.https.html.ini | 3 +++ ...gen-get-different-service-after-reconnection.https.html.ini | 3 +++ .../gen-get-same-object-with-uuid.https.html.ini | 3 +++ .../getPrimaryServices/gen-get-same-object.https.html.ini | 3 +++ .../getPrimaryServices/gen-invalid-service-name.https.html.ini | 3 +++ .../gen-no-permission-absent-service-with-uuid.https.html.ini | 3 +++ .../gen-no-permission-for-any-service-with-uuid.https.html.ini | 3 +++ .../gen-no-permission-for-any-service.https.html.ini | 3 +++ .../gen-no-permission-present-service-with-uuid.https.html.ini | 3 +++ .../gen-service-not-found-with-uuid.https.html.ini | 3 +++ .../getPrimaryServices/services-found-with-uuid.https.html.ini | 3 +++ .../server/getPrimaryServices/services-found.https.html.ini | 3 +++ .../getPrimaryServices/services-not-found.https.html.ini | 3 +++ .../service/device-same-from-2-services.https.html.ini | 3 +++ .../bluetooth/service/device-same-object.https.html.ini | 3 +++ .../getCharacteristic/characteristic-found.https.html.ini | 3 +++ .../gen-blocklisted-characteristic.https.html.ini | 3 +++ .../gen-characteristic-not-found.https.html.ini | 3 +++ .../gen-garbage-collection-ran-during-error.https.html.ini | 3 +++ .../getCharacteristic/gen-get-same-object.https.html.ini | 3 +++ .../gen-invalid-characteristic-name.https.html.ini | 3 +++ .../getCharacteristic/gen-reconnect-during.https.html.ini | 3 +++ .../getCharacteristic/gen-service-is-removed.https.html.ini | 3 +++ .../blocklisted-characteristics.https.html.ini | 3 +++ .../characteristics-found-with-uuid.https.html.ini | 3 +++ .../getCharacteristics/characteristics-found.https.html.ini | 3 +++ .../characteristics-not-found.https.html.ini | 3 +++ .../gen-blocklisted-characteristic-with-uuid.https.html.ini | 3 +++ .../gen-characteristic-not-found-with-uuid.https.html.ini | 3 +++ ...arbage-collection-ran-during-error-with-uuid.https.html.ini | 3 +++ .../gen-garbage-collection-ran-during-error.https.html.ini | 3 +++ .../gen-get-same-object-with-uuid.https.html.ini | 3 +++ .../getCharacteristics/gen-get-same-object.https.html.ini | 3 +++ .../gen-invalid-characteristic-name.https.html.ini | 3 +++ .../gen-reconnect-during-with-uuid.https.html.ini | 3 +++ .../getCharacteristics/gen-reconnect-during.https.html.ini | 3 +++ .../gen-service-is-removed-with-uuid.https.html.ini | 3 +++ .../getCharacteristics/gen-service-is-removed.https.html.ini | 3 +++ 152 files changed, 456 insertions(+) diff --git a/tests/wpt/metadata/bluetooth/characteristic/characteristicProperties.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/characteristicProperties.https.html.ini index bb2daa871ee..b77fec84a90 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/characteristicProperties.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/characteristicProperties.https.html.ini @@ -2,3 +2,6 @@ [characteristicProperties] expected: FAIL + [HeartRate device properties] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-characteristic-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-characteristic-is-removed.https.html.ini index 76853b6afdd..a650cb56431 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-characteristic-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-characteristic-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-characteristic-is-removed] expected: FAIL + [Characteristic gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-descriptor-get-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-descriptor-get-same-object.https.html.ini index fc1ea85d101..6b9c9782f4d 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-descriptor-get-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-descriptor-get-same-object.https.html.ini @@ -2,3 +2,6 @@ [gen-descriptor-get-same-object] expected: FAIL + [Calls to getDescriptor should return the same object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-service-is-removed.https.html.ini index 738cad7bfa1..d995d2f64ba 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/getDescriptor/gen-service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-service-is-removed] expected: FAIL + [Service is removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed-with-uuid.https.html.ini index f170e59fe89..27a34b84520 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-characteristic-is-removed-with-uuid] expected: FAIL + [Characteristic gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.https.html.ini index 76853b6afdd..a650cb56431 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-characteristic-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-characteristic-is-removed] expected: FAIL + [Characteristic gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-descriptor-get-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-descriptor-get-same-object.https.html.ini index fc1ea85d101..98afda58e17 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-descriptor-get-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-descriptor-get-same-object.https.html.ini @@ -2,3 +2,6 @@ [gen-descriptor-get-same-object] expected: FAIL + [Calls to getDescriptors should return the same object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-service-is-removed-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-service-is-removed-with-uuid.https.html.ini index eee54b49a46..5f40bc92676 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-service-is-removed-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-service-is-removed-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-service-is-removed-with-uuid] expected: FAIL + [Service is removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-service-is-removed.https.html.ini index 738cad7bfa1..d995d2f64ba 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/getDescriptors/gen-service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-service-is-removed] expected: FAIL + [Service is removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/notifications/characteristic-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/notifications/characteristic-is-removed.https.html.ini index 49a96755d23..6a890b73513 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/notifications/characteristic-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/notifications/characteristic-is-removed.https.html.ini @@ -2,3 +2,6 @@ [characteristic-is-removed] expected: FAIL + [Characteristic is removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/notifications/service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/notifications/service-is-removed.https.html.ini index a511593af0b..4b24ac6f4db 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/notifications/service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/notifications/service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [service-is-removed] expected: FAIL + [Service is removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/readValue/add-multiple-event-listeners.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/readValue/add-multiple-event-listeners.https.html.ini index 9daa4c83943..c9a0b924ebb 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/readValue/add-multiple-event-listeners.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/readValue/add-multiple-event-listeners.https.html.ini @@ -2,3 +2,6 @@ [add-multiple-event-listeners] expected: FAIL + [Add multiple event listeners then readValue().] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/readValue/characteristic-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/readValue/characteristic-is-removed.https.html.ini index 49a96755d23..725643f787a 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/readValue/characteristic-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/readValue/characteristic-is-removed.https.html.ini @@ -2,3 +2,6 @@ [characteristic-is-removed] expected: FAIL + [Characteristic gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/readValue/event-is-fired.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/readValue/event-is-fired.https.html.ini index b348cdfef86..95f62867dc5 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/readValue/event-is-fired.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/readValue/event-is-fired.https.html.ini @@ -2,3 +2,6 @@ [event-is-fired] expected: FAIL + [Reading a characteristic should fire an event.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/readValue/gen-characteristic-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/readValue/gen-characteristic-is-removed.https.html.ini index 76853b6afdd..a650cb56431 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/readValue/gen-characteristic-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/readValue/gen-characteristic-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-characteristic-is-removed] expected: FAIL + [Characteristic gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/readValue/read-succeeds.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/readValue/read-succeeds.https.html.ini index 22e45a0625a..48de96177d6 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/readValue/read-succeeds.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/readValue/read-succeeds.https.html.ini @@ -2,3 +2,6 @@ [read-succeeds] expected: FAIL + [A read request succeeds and returns the characteristic's value.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/readValue/read-updates-value.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/readValue/read-updates-value.https.html.ini index 2a89c643290..9927b3eef84 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/readValue/read-updates-value.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/readValue/read-updates-value.https.html.ini @@ -2,3 +2,6 @@ [read-updates-value] expected: FAIL + [Succesful read should update characteristic.value] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/readValue/service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/readValue/service-is-removed.https.html.ini index a511593af0b..c3c9e3019ac 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/readValue/service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/readValue/service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [service-is-removed] expected: FAIL + [Service gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/service-same-from-2-characteristics.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/service-same-from-2-characteristics.https.html.ini index d5b6f7852ed..c667d3de812 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/service-same-from-2-characteristics.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/service-same-from-2-characteristics.https.html.ini @@ -2,3 +2,6 @@ [service-same-from-2-characteristics] expected: FAIL + [Same parent service returned from multiple characteristics.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/service-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/service-same-object.https.html.ini index e333c042635..ab080911b19 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/service-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/service-same-object.https.html.ini @@ -2,3 +2,6 @@ [service-same-object] expected: FAIL + [[SameObject\] test for BluetoothRemoteGATTCharacteristic service.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/startNotifications/gen-characteristic-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/startNotifications/gen-characteristic-is-removed.https.html.ini index 76853b6afdd..a650cb56431 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/startNotifications/gen-characteristic-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/startNotifications/gen-characteristic-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-characteristic-is-removed] expected: FAIL + [Characteristic gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/writeValue/characteristic-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/writeValue/characteristic-is-removed.https.html.ini index 49a96755d23..725643f787a 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/writeValue/characteristic-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/writeValue/characteristic-is-removed.https.html.ini @@ -2,3 +2,6 @@ [characteristic-is-removed] expected: FAIL + [Characteristic gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/writeValue/gen-characteristic-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/writeValue/gen-characteristic-is-removed.https.html.ini index 76853b6afdd..a650cb56431 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/writeValue/gen-characteristic-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/writeValue/gen-characteristic-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-characteristic-is-removed] expected: FAIL + [Characteristic gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/writeValue/service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/writeValue/service-is-removed.https.html.ini index a511593af0b..c3c9e3019ac 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/writeValue/service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/writeValue/service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [service-is-removed] expected: FAIL + [Service gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/characteristic/writeValue/write-succeeds.https.html.ini b/tests/wpt/metadata/bluetooth/characteristic/writeValue/write-succeeds.https.html.ini index b244da0d185..0c5d0d65535 100644 --- a/tests/wpt/metadata/bluetooth/characteristic/writeValue/write-succeeds.https.html.ini +++ b/tests/wpt/metadata/bluetooth/characteristic/writeValue/write-succeeds.https.html.ini @@ -2,3 +2,6 @@ [write-succeeds] expected: FAIL + [A regular write request to a writable characteristic should succeed.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/descriptor/readValue/gen-service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/descriptor/readValue/gen-service-is-removed.https.html.ini index 738cad7bfa1..f8deb5d090d 100644 --- a/tests/wpt/metadata/bluetooth/descriptor/readValue/gen-service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/descriptor/readValue/gen-service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-service-is-removed] expected: FAIL + [Service gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/descriptor/readValue/read-succeeds.https.html.ini b/tests/wpt/metadata/bluetooth/descriptor/readValue/read-succeeds.https.html.ini index 22e45a0625a..60ff62b1e9a 100644 --- a/tests/wpt/metadata/bluetooth/descriptor/readValue/read-succeeds.https.html.ini +++ b/tests/wpt/metadata/bluetooth/descriptor/readValue/read-succeeds.https.html.ini @@ -2,3 +2,6 @@ [read-succeeds] expected: FAIL + [A read request succeeds and returns the descriptor's value.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/descriptor/writeValue/gen-service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/descriptor/writeValue/gen-service-is-removed.https.html.ini index 738cad7bfa1..f8deb5d090d 100644 --- a/tests/wpt/metadata/bluetooth/descriptor/writeValue/gen-service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/descriptor/writeValue/gen-service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-service-is-removed] expected: FAIL + [Service gets removed. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/disconnected.https.html.ini b/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/disconnected.https.html.ini index 4161fec0671..91823dfe1ff 100644 --- a/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/disconnected.https.html.ini +++ b/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/disconnected.https.html.ini @@ -2,3 +2,6 @@ [disconnected] expected: FAIL + [A device disconnecting while connected should fire the gattserverdisconnected event.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/disconnected_gc.https.html.ini b/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/disconnected_gc.https.html.ini index bd2b37f28cc..745d70a78f2 100644 --- a/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/disconnected_gc.https.html.ini +++ b/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/disconnected_gc.https.html.ini @@ -2,3 +2,6 @@ [disconnected_gc] expected: FAIL + [A device disconnecting after the BluetoothDevice object has been GC'ed should not access freed memory.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/one-event-per-disconnection.https.html.ini b/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/one-event-per-disconnection.https.html.ini index 908211d6f38..8f350cf8d5d 100644 --- a/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/one-event-per-disconnection.https.html.ini +++ b/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/one-event-per-disconnection.https.html.ini @@ -2,3 +2,6 @@ [one-event-per-disconnection] expected: FAIL + [If a site disconnects from a device while the platform is disconnecting that device, only one gattserverdisconnected event should fire.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/reconnect-during-disconnected-event.https.html.ini b/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/reconnect-during-disconnected-event.https.html.ini index 5d0eadca8b7..d66dbfb3ed7 100644 --- a/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/reconnect-during-disconnected-event.https.html.ini +++ b/tests/wpt/metadata/bluetooth/device/gattserverdisconnected-event/reconnect-during-disconnected-event.https.html.ini @@ -2,3 +2,6 @@ [reconnect-during-disconnected-event] expected: FAIL + [A device that reconnects during the gattserverdisconnected event should still receive gattserverdisconnected events after re-connection.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/idl/idl-BluetoothDevice.https.html.ini b/tests/wpt/metadata/bluetooth/idl/idl-BluetoothDevice.https.html.ini index 6d51d84121c..8258a20c563 100644 --- a/tests/wpt/metadata/bluetooth/idl/idl-BluetoothDevice.https.html.ini +++ b/tests/wpt/metadata/bluetooth/idl/idl-BluetoothDevice.https.html.ini @@ -2,3 +2,6 @@ [idl-BluetoothDevice] expected: FAIL + [BluetoothDevice attributes.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.https.html.ini index a21629dde48..cfb571394e5 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/device-with-empty-name.https.html.ini @@ -2,3 +2,6 @@ [device-with-empty-name] expected: FAIL + [Device with empty name and no UUIDs nearby. Should be found if acceptAllDevices is true.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/device-with-name.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/device-with-name.https.html.ini index b1bdbb39962..6618c8f028f 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/device-with-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/device-with-name.https.html.ini @@ -2,3 +2,6 @@ [device-with-name] expected: FAIL + [A device with name and no UUIDs nearby. Should be found if acceptAllDevices is true.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.https.html.ini index ed390dd2ce0..22d9c39c62a 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/optional-services-missing.https.html.ini @@ -2,3 +2,6 @@ [optional-services-missing] expected: FAIL + [requestDevice called with acceptAllDevices: true and with no optionalServices. Should not get access to any services.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/optional-services-present.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/optional-services-present.https.html.ini index 97a395ec3e2..8650b67a680 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/optional-services-present.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/acceptAllDevices/optional-services-present.https.html.ini @@ -2,3 +2,6 @@ [optional-services-present] expected: FAIL + [requestDevice called with acceptAllDevices: true and with optionalServices. Should get access to services.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/blocklisted-service-in-filter.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/blocklisted-service-in-filter.https.html.ini index aa9b59801cc..98e7b2df417 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/blocklisted-service-in-filter.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/blocklisted-service-in-filter.https.html.ini @@ -2,3 +2,6 @@ [blocklisted-service-in-filter] expected: FAIL + [Reject with SecurityError if requesting a blocklisted service.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/blocklisted-service-in-optionalServices.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/blocklisted-service-in-optionalServices.https.html.ini index 3ffac806014..f035b87e2d2 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/blocklisted-service-in-optionalServices.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/blocklisted-service-in-optionalServices.https.html.ini @@ -2,3 +2,6 @@ [blocklisted-service-in-optionalServices] expected: FAIL + [Blocklisted UUID in optionalServices is removed and access not granted.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.https.html.ini index 8de71b7c2db..ac12bfc3df3 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/device-name-longer-than-29-bytes.https.html.ini @@ -2,3 +2,6 @@ [device-name-longer-than-29-bytes] expected: FAIL + [A device name between 29 and 248 bytes is valid.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-filter.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-filter.https.html.ini index 6209c98739b..eebd3ad178d 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-filter.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-filter.https.html.ini @@ -2,3 +2,6 @@ [empty-filter] expected: FAIL + [A filter must restrict the devices in some way.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.https.html.ini index 5e7664b4c58..15470ba2a03 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-filters-member.https.html.ini @@ -2,3 +2,6 @@ [empty-filters-member] expected: FAIL + [An empty |filters| member should result in a TypeError] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.https.html.ini index 9c2e6d5b821..cd3b383bb76 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-namePrefix.https.html.ini @@ -2,3 +2,6 @@ [empty-namePrefix] expected: FAIL + [requestDevice with empty namePrefix. Should reject with TypeError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.https.html.ini index d97928b68b0..ff5d686f863 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/empty-services-member.https.html.ini @@ -2,3 +2,6 @@ [empty-services-member] expected: FAIL + [Services member must contain at least one service.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.https.html.ini index 13725209140..cdb8097fbcc 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/filters-xor-acceptAllDevices.https.html.ini @@ -2,3 +2,6 @@ [filters-xor-acceptAllDevices] expected: FAIL + [RequestDeviceOptions should have exactly one of 'filters' or 'acceptAllDevices:true'. Reject with TypeError if not.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name-unicode.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name-unicode.https.html.ini index e3f865dc303..a2d000bf52b 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name-unicode.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name-unicode.https.html.ini @@ -2,3 +2,6 @@ [max-length-exceeded-name-unicode] expected: FAIL + [Unicode string with utf8 representation longer than 248 bytes in 'name' must throw TypeError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name.https.html.ini index 05ca26c4fd4..58b315c0d0e 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-name.https.html.ini @@ -2,3 +2,6 @@ [max-length-exceeded-name] expected: FAIL + [A device name longer than 248 must reject.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix-unicode.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix-unicode.https.html.ini index b5f46437af9..52e43ea3088 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix-unicode.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix-unicode.https.html.ini @@ -2,3 +2,6 @@ [max-length-exceeded-namePrefix-unicode] expected: FAIL + [Unicode string with utf8 representation longer than 248 bytes in 'namePrefix' must throw NotFoundError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix.https.html.ini index 98a4049aed6..d74d9075dad 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-exceeded-namePrefix.https.html.ini @@ -2,3 +2,6 @@ [max-length-exceeded-namePrefix] expected: FAIL + [A device name prefix longer than 248 must reject.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-name-unicode.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-name-unicode.https.html.ini index cbac64a677f..d16a17c39c0 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-name-unicode.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-name-unicode.https.html.ini @@ -2,3 +2,6 @@ [max-length-name-unicode] expected: FAIL + [A unicode device name of 248 bytes is valid.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-name.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-name.https.html.ini index 9f5e19da248..ed4637e4188 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-name.https.html.ini @@ -2,3 +2,6 @@ [max-length-name] expected: FAIL + [A device name of 248 bytes is valid.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-namePrefix-unicode.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-namePrefix-unicode.https.html.ini index d301c6ebecb..20561e5402c 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-namePrefix-unicode.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-namePrefix-unicode.https.html.ini @@ -2,3 +2,6 @@ [max-length-namePrefix-unicode] expected: FAIL + [A unicode device namePrefix of 248 bytes is valid.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-namePrefix.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-namePrefix.https.html.ini index 9610907cbed..985a338e2c9 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-namePrefix.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/max-length-namePrefix.https.html.ini @@ -2,3 +2,6 @@ [max-length-namePrefix] expected: FAIL + [A device namePrefix of 248 bytes is valid.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.https.html.ini index b76ff16cd7a..a839ef2b6e2 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-name.https.html.ini @@ -2,3 +2,6 @@ [unicode-valid-length-name-name] expected: FAIL + [A name containing unicode characters whose utf8 length is less than 30 must not throw an error.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-namePrefix.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-namePrefix.https.html.ini index 8b44efed3e3..10bedc32a18 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-namePrefix.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/unicode-valid-length-name-namePrefix.https.html.ini @@ -2,3 +2,6 @@ [unicode-valid-length-name-namePrefix] expected: FAIL + [A namePrefix containing unicode characters whose utf8 length is less than 30 must not throw an error.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.https.html.ini index 67b7584ade0..d324a80d86b 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-optionalServices-member.https.html.ini @@ -2,3 +2,6 @@ [wrong-service-in-optionalServices-member] expected: FAIL + [Invalid optional service must reject the promise.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.https.html.ini index f70deecfb2a..3a5c4f7d9ea 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/wrong-service-in-services-member.https.html.ini @@ -2,3 +2,6 @@ [wrong-service-in-services-member] expected: FAIL + [Invalid service must reject the promise.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/cross-origin-iframe.sub.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/cross-origin-iframe.sub.https.html.ini index 6e6aaae853b..29d0d4ee266 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/cross-origin-iframe.sub.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/cross-origin-iframe.sub.https.html.ini @@ -2,3 +2,6 @@ [cross-origin-iframe] expected: FAIL + [Request device from a unique origin. Should reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/discovery-succeeds.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/discovery-succeeds.https.html.ini index 5efe82745cb..caa388b2fc4 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/discovery-succeeds.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/discovery-succeeds.https.html.ini @@ -2,3 +2,6 @@ [discovery-succeeds] expected: FAIL + [Discover a device using alias, name, or UUID.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/doesnt-consume-user-gesture.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/doesnt-consume-user-gesture.https.html.ini index 1a3f7513953..dd7999a0b96 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/doesnt-consume-user-gesture.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/doesnt-consume-user-gesture.https.html.ini @@ -2,3 +2,6 @@ [doesnt-consume-user-gesture] expected: FAIL + [requestDevice calls do not consume user gestures.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/filter-matches.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/filter-matches.https.html.ini index 6d881b44656..d3e17827b76 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/filter-matches.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/filter-matches.https.html.ini @@ -2,3 +2,6 @@ [filter-matches] expected: FAIL + [Matches a filter if all present members match.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/le-not-supported.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/le-not-supported.https.html.ini index 490255baae8..72bd48d1c79 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/le-not-supported.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/le-not-supported.https.html.ini @@ -2,3 +2,6 @@ [le-not-supported] expected: FAIL + [Reject with NotFoundError if Bluetooth is not supported.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/name-empty-device-from-name-empty-filter.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/name-empty-device-from-name-empty-filter.https.html.ini index f126133537d..05f9956d911 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/name-empty-device-from-name-empty-filter.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/name-empty-device-from-name-empty-filter.https.html.ini @@ -2,3 +2,6 @@ [name-empty-device-from-name-empty-filter] expected: FAIL + [An empty name device can be obtained by empty name filter.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/not-processing-user-gesture.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/not-processing-user-gesture.https.html.ini index 234921ef9db..6fabb80e712 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/not-processing-user-gesture.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/not-processing-user-gesture.https.html.ini @@ -2,3 +2,6 @@ [not-processing-user-gesture] expected: FAIL + [Requires a user gesture.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/radio-not-present.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/radio-not-present.https.html.ini index dbc6f6a537e..6ee20a55bf1 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/radio-not-present.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/radio-not-present.https.html.ini @@ -2,3 +2,6 @@ [radio-not-present] expected: FAIL + [Reject with NotFoundError if there is no BT radio present.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/request-from-iframe.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/request-from-iframe.https.html.ini index 9ca9433a69b..be28ab305be 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/request-from-iframe.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/request-from-iframe.https.html.ini @@ -2,3 +2,6 @@ [request-from-iframe] expected: FAIL + [Concurrent requestDevice calls in iframes work.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/request-from-sandboxed-iframe.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/request-from-sandboxed-iframe.https.html.ini index c79073e504f..6de0b03777b 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/request-from-sandboxed-iframe.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/request-from-sandboxed-iframe.https.html.ini @@ -2,3 +2,6 @@ [request-from-sandboxed-iframe] expected: FAIL + [Request device from a unique origin. Should reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/same-device.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/same-device.https.html.ini index dfd64800e86..00627264f27 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/same-device.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/same-device.https.html.ini @@ -2,3 +2,6 @@ [same-device] expected: FAIL + [Returned device should always be the same.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/requestDevice/single-filter-single-service.https.html.ini b/tests/wpt/metadata/bluetooth/requestDevice/single-filter-single-service.https.html.ini index 82f54044d69..acb115ffdc6 100644 --- a/tests/wpt/metadata/bluetooth/requestDevice/single-filter-single-service.https.html.ini +++ b/tests/wpt/metadata/bluetooth/requestDevice/single-filter-single-service.https.html.ini @@ -2,3 +2,6 @@ [single-filter-single-service] expected: FAIL + [Simple filter selects matching device.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/connect/connection-succeeds.https.html.ini b/tests/wpt/metadata/bluetooth/server/connect/connection-succeeds.https.html.ini index 37cfa118d48..bbc3397e400 100644 --- a/tests/wpt/metadata/bluetooth/server/connect/connection-succeeds.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/connect/connection-succeeds.https.html.ini @@ -2,3 +2,6 @@ [connection-succeeds] expected: FAIL + [Device will connect] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/connect/garbage-collection-ran-during-success.https.html.ini b/tests/wpt/metadata/bluetooth/server/connect/garbage-collection-ran-during-success.https.html.ini index e38c2136d5a..c4098b21bfd 100644 --- a/tests/wpt/metadata/bluetooth/server/connect/garbage-collection-ran-during-success.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/connect/garbage-collection-ran-during-success.https.html.ini @@ -2,3 +2,6 @@ [garbage-collection-ran-during-success] expected: FAIL + [Garbage Collection ran during a connect call that succeeds. Should not crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/connect/get-same-gatt-server.https.html.ini b/tests/wpt/metadata/bluetooth/server/connect/get-same-gatt-server.https.html.ini index 9023656f2cc..57386ca1602 100644 --- a/tests/wpt/metadata/bluetooth/server/connect/get-same-gatt-server.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/connect/get-same-gatt-server.https.html.ini @@ -2,3 +2,6 @@ [get-same-gatt-server] expected: FAIL + [Multiple connects should return the same gatt object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/device-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/server/device-same-object.https.html.ini index da236d91d04..f74ca2cfa4e 100644 --- a/tests/wpt/metadata/bluetooth/server/device-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/device-same-object.https.html.ini @@ -2,3 +2,6 @@ [device-same-object] expected: FAIL + [[SameObject\] test for BluetoothRemoteGATTServer's device.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/disconnect/connect-disconnect-twice.https.html.ini b/tests/wpt/metadata/bluetooth/server/disconnect/connect-disconnect-twice.https.html.ini index 28052713259..11f14cde22e 100644 --- a/tests/wpt/metadata/bluetooth/server/disconnect/connect-disconnect-twice.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/disconnect/connect-disconnect-twice.https.html.ini @@ -2,3 +2,6 @@ [connect-disconnect-twice] expected: FAIL + [Connect + Disconnect twice still results in 'connected' being false.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/disconnect/detach-gc.https.html.ini b/tests/wpt/metadata/bluetooth/server/disconnect/detach-gc.https.html.ini index f3a4e2c95ea..f0c286abf3b 100644 --- a/tests/wpt/metadata/bluetooth/server/disconnect/detach-gc.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/disconnect/detach-gc.https.html.ini @@ -2,3 +2,6 @@ [detach-gc] expected: FAIL + [Detach frame then garbage collect. We shouldn't crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/disconnect/disconnect-twice-in-a-row.https.html.ini b/tests/wpt/metadata/bluetooth/server/disconnect/disconnect-twice-in-a-row.https.html.ini index 728cc3d8b26..9f211db9e02 100644 --- a/tests/wpt/metadata/bluetooth/server/disconnect/disconnect-twice-in-a-row.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/disconnect/disconnect-twice-in-a-row.https.html.ini @@ -2,3 +2,6 @@ [disconnect-twice-in-a-row] expected: FAIL + [Calling disconnect twice in a row still results in 'connected' being false.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/disconnect/gc-detach.https.html.ini b/tests/wpt/metadata/bluetooth/server/disconnect/gc-detach.https.html.ini index 1eb098f3b1d..c8663a063fd 100644 --- a/tests/wpt/metadata/bluetooth/server/disconnect/gc-detach.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/disconnect/gc-detach.https.html.ini @@ -2,3 +2,6 @@ [gc-detach] expected: FAIL + [Garbage collect then detach frame. We shouldn't crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.html.ini index f2f19ae5ce0..4367b4ced41 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-before.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-before] expected: FAIL + [disconnect() called before getPrimaryService. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-during-error.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-during-error.https.html.ini index 9fbdcbe4130..4a0ee16baa0 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-during-error.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-during-error.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-during-error] expected: FAIL + [disconnect() called during a getPrimaryService call that fails. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-during-success.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-during-success.https.html.ini index 2b6394ef7dc..e0971500f79 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-during-success.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-called-during-success.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-during-success] expected: FAIL + [disconnect() called during a getPrimaryService call that succeeds. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.html.ini index 2ec02262e11..c3dbd3e93c6 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnect-invalidates-objects.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-invalidates-objects] expected: FAIL + [Calls on services after we disconnect and connect again. Should reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnected-device.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnected-device.https.html.ini index e3d83e16a0c..983b9ba6a47 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnected-device.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-disconnected-device.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnected-device] expected: FAIL + [getPrimaryService called before connecting. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-discovery-complete-no-permission-absent-service.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-discovery-complete-no-permission-absent-service.https.html.ini index c31b03f764b..2a64e4eb15c 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-discovery-complete-no-permission-absent-service.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-discovery-complete-no-permission-absent-service.https.html.ini @@ -2,3 +2,6 @@ [gen-discovery-complete-no-permission-absent-service] expected: FAIL + [Request for absent service without permission. Should Reject with SecurityError even if services have been discovered already.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-discovery-complete-service-not-found.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-discovery-complete-service-not-found.https.html.ini index 90fbf9170bb..5ee3d4d08ed 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-discovery-complete-service-not-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-discovery-complete-service-not-found.https.html.ini @@ -2,3 +2,6 @@ [gen-discovery-complete-service-not-found] expected: FAIL + [Request for absent service. Must reject with NotFoundError even when the services have previously been discovered.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-error.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-error.https.html.ini index 1c6e0d9f728..8884456603e 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-error.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-error.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-error] expected: FAIL + [Garbage Collection ran during a getPrimaryService call that failed. Should not crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-success.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-success.https.html.ini index 66b8524c142..1c9b3ff8ee3 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-success.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-garbage-collection-ran-during-success.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-success] expected: FAIL + [Garbage Collection ran during a getPrimaryService call that succeeds. Should not crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-get-different-service-after-reconnection.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-get-different-service-after-reconnection.https.html.ini index 61b25c4e300..0884dca32e3 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-get-different-service-after-reconnection.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-get-different-service-after-reconnection.https.html.ini @@ -2,3 +2,6 @@ [gen-get-different-service-after-reconnection] expected: FAIL + [Calls to getPrimaryService after a disconnection should return a different object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-get-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-get-same-object.https.html.ini index d3bd637316f..86d1c89298f 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-get-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-get-same-object.https.html.ini @@ -2,3 +2,6 @@ [gen-get-same-object] expected: FAIL + [Calls to getPrimaryService should return the same object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-invalid-service-name.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-invalid-service-name.https.html.ini index fa22d496e07..799edaf0117 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-invalid-service-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-invalid-service-name.https.html.ini @@ -2,3 +2,6 @@ [gen-invalid-service-name] expected: FAIL + [Wrong Service name. Reject with TypeError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-absent-service.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-absent-service.https.html.ini index ba26ef1e32e..878fb76fa26 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-absent-service.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-absent-service.https.html.ini @@ -2,3 +2,6 @@ [gen-no-permission-absent-service] expected: FAIL + [Request for absent service without permission. Reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-for-any-service.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-for-any-service.https.html.ini index fdfd0401b6b..ef5e8fdf00e 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-for-any-service.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-for-any-service.https.html.ini @@ -2,3 +2,6 @@ [gen-no-permission-for-any-service] expected: FAIL + [Request for present service without permission to access any service. Reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-present-service.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-present-service.https.html.ini index 90f174c82eb..30c4534d957 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-present-service.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-no-permission-present-service.https.html.ini @@ -2,3 +2,6 @@ [gen-no-permission-present-service] expected: FAIL + [Request for present service without permission. Reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-service-not-found.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-service-not-found.https.html.ini index ac4049c03c2..a743063c02d 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-service-not-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/gen-service-not-found.https.html.ini @@ -2,3 +2,6 @@ [gen-service-not-found] expected: FAIL + [Request for absent service. Reject with NotFoundError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/service-found.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/service-found.https.html.ini index 33f5e4283b0..2aedd521672 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/service-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/service-found.https.html.ini @@ -2,3 +2,6 @@ [service-found] expected: FAIL + [Request for service. Should return right service] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.https.html.ini index 1e6707acb6b..08ae7f2ab99 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryService/two-iframes-from-same-origin.https.html.ini @@ -2,3 +2,6 @@ [two-iframes-from-same-origin] expected: FAIL + [Two iframes in the same origin should be able to access each other's services] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/blocklisted-services-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/blocklisted-services-with-uuid.https.html.ini index 256675838dc..11126277213 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/blocklisted-services-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/blocklisted-services-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [blocklisted-services-with-uuid] expected: FAIL + [Request for services. Does not return blocklisted service.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/blocklisted-services.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/blocklisted-services.https.html.ini index 4fedf931576..97f2e146183 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/blocklisted-services.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/blocklisted-services.https.html.ini @@ -2,3 +2,6 @@ [blocklisted-services] expected: FAIL + [Request for services. Does not return blocklisted service.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/correct-services.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/correct-services.https.html.ini index d93f381f87a..4edc30fba3b 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/correct-services.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/correct-services.https.html.ini @@ -2,3 +2,6 @@ [correct-services] expected: FAIL + [Find correct services with UUID.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.html.ini index 937ebf36d1e..7a9216933cf 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-before-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-before-with-uuid] expected: FAIL + [disconnect() called before getPrimaryServices. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.html.ini index f2f19ae5ce0..c1e879f40c5 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-before.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-before] expected: FAIL + [disconnect() called before getPrimaryServices. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error-with-uuid.https.html.ini index 861f5cb7800..7102692e860 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-during-error-with-uuid] expected: FAIL + [disconnect() called during a getPrimaryServices call that fails. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error.https.html.ini index 9fbdcbe4130..3e609502144 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-error.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-during-error] expected: FAIL + [disconnect() called during a getPrimaryServices call that fails. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success-with-uuid.https.html.ini index fae360f7c1f..bf83e253a71 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-during-success-with-uuid] expected: FAIL + [disconnect() called during a getPrimaryServices call that succeeds. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success.https.html.ini index 2b6394ef7dc..bd959fc3d95 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-called-during-success.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-called-during-success] expected: FAIL + [disconnect() called during a getPrimaryServices call that succeeds. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.html.ini index ced68ad089b..4ee6dc4860f 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-invalidates-objects-with-uuid] expected: FAIL + [Calls on services after we disconnect and connect again. Should reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.html.ini index 2ec02262e11..c3dbd3e93c6 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnect-invalidates-objects.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnect-invalidates-objects] expected: FAIL + [Calls on services after we disconnect and connect again. Should reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.html.ini index 5164ecac898..dc4fe48e962 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnected-device-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnected-device-with-uuid] expected: FAIL + [getPrimaryServices called before connecting. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.html.ini index e3d83e16a0c..e834054eceb 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-disconnected-device.https.html.ini @@ -2,3 +2,6 @@ [gen-disconnected-device] expected: FAIL + [getPrimaryServices called before connecting. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-discovery-complete-no-permission-absent-service-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-discovery-complete-no-permission-absent-service-with-uuid.https.html.ini index ebd0b81033c..96eab7ab8e1 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-discovery-complete-no-permission-absent-service-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-discovery-complete-no-permission-absent-service-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-discovery-complete-no-permission-absent-service-with-uuid] expected: FAIL + [Request for absent service without permission. Should Reject with SecurityError even if services have been discovered already.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-discovery-complete-service-not-found-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-discovery-complete-service-not-found-with-uuid.https.html.ini index 7fcd3096912..1930e14d8da 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-discovery-complete-service-not-found-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-discovery-complete-service-not-found-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-discovery-complete-service-not-found-with-uuid] expected: FAIL + [Request for absent service. Must reject with NotFoundError even when the services have previously been discovered.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error-with-uuid.https.html.ini index d4f5ce5894e..60df3cece81 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-error-with-uuid] expected: FAIL + [Garbage Collection ran during a getPrimaryServices call that failed. Should not crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error.https.html.ini index 1c6e0d9f728..a6036d8a943 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-error.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-error] expected: FAIL + [Garbage Collection ran during a getPrimaryServices call that failed. Should not crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success-with-uuid.https.html.ini index ed09ccf5139..f4667dd2fb0 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-success-with-uuid] expected: FAIL + [Garbage Collection ran during a getPrimaryServices call that succeeds. Should not crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success.https.html.ini index 66b8524c142..51b38a3caf8 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-garbage-collection-ran-during-success.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-success] expected: FAIL + [Garbage Collection ran during a getPrimaryServices call that succeeds. Should not crash.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection-with-uuid.https.html.ini index 257b9bbcb04..17eeb986032 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-get-different-service-after-reconnection-with-uuid] expected: FAIL + [Calls to getPrimaryServices after a disconnection should return a different object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection.https.html.ini index 61b25c4e300..ae5f3a432dc 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-different-service-after-reconnection.https.html.ini @@ -2,3 +2,6 @@ [gen-get-different-service-after-reconnection] expected: FAIL + [Calls to getPrimaryServices after a disconnection should return a different object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-same-object-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-same-object-with-uuid.https.html.ini index aa005e8e973..0ac8bca1ce0 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-same-object-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-same-object-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-get-same-object-with-uuid] expected: FAIL + [Calls to getPrimaryServices should return the same object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-same-object.https.html.ini index d3bd637316f..a9649b73eb0 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-get-same-object.https.html.ini @@ -2,3 +2,6 @@ [gen-get-same-object] expected: FAIL + [Calls to getPrimaryServices should return the same object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-invalid-service-name.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-invalid-service-name.https.html.ini index fa22d496e07..799edaf0117 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-invalid-service-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-invalid-service-name.https.html.ini @@ -2,3 +2,6 @@ [gen-invalid-service-name] expected: FAIL + [Wrong Service name. Reject with TypeError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-absent-service-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-absent-service-with-uuid.https.html.ini index 16879e5767b..93d1649cb63 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-absent-service-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-absent-service-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-no-permission-absent-service-with-uuid] expected: FAIL + [Request for absent service without permission. Reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service-with-uuid.https.html.ini index 3c373494901..d666e6340bb 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-no-permission-for-any-service-with-uuid] expected: FAIL + [Request for present service without permission to access any service. Reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service.https.html.ini index fdfd0401b6b..ef5e8fdf00e 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-for-any-service.https.html.ini @@ -2,3 +2,6 @@ [gen-no-permission-for-any-service] expected: FAIL + [Request for present service without permission to access any service. Reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-present-service-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-present-service-with-uuid.https.html.ini index ef88235dacd..df91b8d5757 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-present-service-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-no-permission-present-service-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-no-permission-present-service-with-uuid] expected: FAIL + [Request for present service without permission. Reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-service-not-found-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-service-not-found-with-uuid.https.html.ini index 8ac31d7a12c..9450308cef6 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-service-not-found-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/gen-service-not-found-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-service-not-found-with-uuid] expected: FAIL + [Request for absent service. Reject with NotFoundError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-found-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-found-with-uuid.https.html.ini index 00fa7646101..bf415bf4cc9 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-found-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-found-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [services-found-with-uuid] expected: FAIL + [Request for services. Should return right number of services.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-found.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-found.https.html.ini index 25a510f83a9..3c962ff5b8e 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-found.https.html.ini @@ -2,3 +2,6 @@ [services-found] expected: FAIL + [Find all services in a device.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-not-found.https.html.ini b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-not-found.https.html.ini index d16fe1ea9b3..12da24c18f1 100644 --- a/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-not-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/server/getPrimaryServices/services-not-found.https.html.ini @@ -2,3 +2,6 @@ [services-not-found] expected: FAIL + [Request for services in a device with no services. Reject with NotFoundError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/device-same-from-2-services.https.html.ini b/tests/wpt/metadata/bluetooth/service/device-same-from-2-services.https.html.ini index 9f275f817b7..e9fc7c8d89e 100644 --- a/tests/wpt/metadata/bluetooth/service/device-same-from-2-services.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/device-same-from-2-services.https.html.ini @@ -2,3 +2,6 @@ [device-same-from-2-services] expected: FAIL + [Same parent device returned from multiple services.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/device-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/service/device-same-object.https.html.ini index da236d91d04..e8c0b2e6a31 100644 --- a/tests/wpt/metadata/bluetooth/service/device-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/device-same-object.https.html.ini @@ -2,3 +2,6 @@ [device-same-object] expected: FAIL + [[SameObject\] test for BluetoothRemoteGATTService device.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristic/characteristic-found.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristic/characteristic-found.https.html.ini index 3500b6905e3..82e8bddfe85 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristic/characteristic-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristic/characteristic-found.https.html.ini @@ -2,3 +2,6 @@ [characteristic-found] expected: FAIL + [Request for characteristic. Should return right characteristic.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-blocklisted-characteristic.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-blocklisted-characteristic.https.html.ini index 6bd6a9df412..b98a3d2d335 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-blocklisted-characteristic.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-blocklisted-characteristic.https.html.ini @@ -2,3 +2,6 @@ [gen-blocklisted-characteristic] expected: FAIL + [Serial Number String characteristic is blocklisted. Should reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-characteristic-not-found.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-characteristic-not-found.https.html.ini index 9976b222144..7c2e99fde49 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-characteristic-not-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-characteristic-not-found.https.html.ini @@ -2,3 +2,6 @@ [gen-characteristic-not-found] expected: FAIL + [Request for absent characteristics with UUID. Reject with NotFoundError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-garbage-collection-ran-during-error.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-garbage-collection-ran-during-error.https.html.ini index 1c6e0d9f728..751d6957b72 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-garbage-collection-ran-during-error.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-garbage-collection-ran-during-error.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-error] expected: FAIL + [Garbage Collection ran during getCharacteristic call that fails. Should not crash] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-get-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-get-same-object.https.html.ini index d3bd637316f..4b8d6f48bbe 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-get-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-get-same-object.https.html.ini @@ -2,3 +2,6 @@ [gen-get-same-object] expected: FAIL + [Calls to getCharacteristic should return the same object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-invalid-characteristic-name.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-invalid-characteristic-name.https.html.ini index 76912765793..98c8f20911c 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-invalid-characteristic-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-invalid-characteristic-name.https.html.ini @@ -2,3 +2,6 @@ [gen-invalid-characteristic-name] expected: FAIL + [Wrong Characteristic name. Reject with TypeError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-reconnect-during.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-reconnect-during.https.html.ini index 2c712c7d8cf..fda3bac9937 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-reconnect-during.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-reconnect-during.https.html.ini @@ -2,3 +2,6 @@ [gen-reconnect-during] expected: FAIL + [disconnect() and connect() called during getCharacteristic. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-service-is-removed.https.html.ini index 738cad7bfa1..b32f45a846d 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristic/gen-service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-service-is-removed] expected: FAIL + [Service is removed before getCharacteristic call. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/blocklisted-characteristics.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/blocklisted-characteristics.https.html.ini index c7990b03694..0d49986b655 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/blocklisted-characteristics.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/blocklisted-characteristics.https.html.ini @@ -2,3 +2,6 @@ [blocklisted-characteristics] expected: FAIL + [The Device Information service is composed of blocklisted characteristics so we shouldn't find any.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-found-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-found-with-uuid.https.html.ini index 7a48c93f4c4..38a927be4a2 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-found-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-found-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [characteristics-found-with-uuid] expected: FAIL + [Find characteristics with UUID in service.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-found.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-found.https.html.ini index 8ec8109f0fc..2c984d51bd4 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-found.https.html.ini @@ -2,3 +2,6 @@ [characteristics-found] expected: FAIL + [Find all characteristics in a service.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-not-found.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-not-found.https.html.ini index 6d33e7a6c96..c16eb2281ab 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-not-found.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/characteristics-not-found.https.html.ini @@ -2,3 +2,6 @@ [characteristics-not-found] expected: FAIL + [Request for absent characteristics. Reject with NotFoundError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-blocklisted-characteristic-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-blocklisted-characteristic-with-uuid.https.html.ini index d881ac887dd..52605c25732 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-blocklisted-characteristic-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-blocklisted-characteristic-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-blocklisted-characteristic-with-uuid] expected: FAIL + [Serial Number String characteristic is blocklisted. Should reject with SecurityError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-characteristic-not-found-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-characteristic-not-found-with-uuid.https.html.ini index 81ef54bf8bd..68519b26e8f 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-characteristic-not-found-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-characteristic-not-found-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-characteristic-not-found-with-uuid] expected: FAIL + [Request for absent characteristics with UUID. Reject with NotFoundError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error-with-uuid.https.html.ini index d4f5ce5894e..6fcbe1d9086 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-error-with-uuid] expected: FAIL + [Garbage Collection ran during getCharacteristics call that fails. Should not crash] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error.https.html.ini index 1c6e0d9f728..9a97687193a 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-garbage-collection-ran-during-error.https.html.ini @@ -2,3 +2,6 @@ [gen-garbage-collection-ran-during-error] expected: FAIL + [Garbage Collection ran during getCharacteristics call that fails. Should not crash] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-get-same-object-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-get-same-object-with-uuid.https.html.ini index aa005e8e973..aac6b3ca559 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-get-same-object-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-get-same-object-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-get-same-object-with-uuid] expected: FAIL + [Calls to getCharacteristics should return the same object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-get-same-object.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-get-same-object.https.html.ini index d3bd637316f..9cada5d2c09 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-get-same-object.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-get-same-object.https.html.ini @@ -2,3 +2,6 @@ [gen-get-same-object] expected: FAIL + [Calls to getCharacteristics should return the same object.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-invalid-characteristic-name.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-invalid-characteristic-name.https.html.ini index 76912765793..98c8f20911c 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-invalid-characteristic-name.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-invalid-characteristic-name.https.html.ini @@ -2,3 +2,6 @@ [gen-invalid-characteristic-name] expected: FAIL + [Wrong Characteristic name. Reject with TypeError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-reconnect-during-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-reconnect-during-with-uuid.https.html.ini index ed245ca6e23..aa75f29a453 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-reconnect-during-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-reconnect-during-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-reconnect-during-with-uuid] expected: FAIL + [disconnect() and connect() called during getCharacteristics. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-reconnect-during.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-reconnect-during.https.html.ini index 2c712c7d8cf..d5e991efe1d 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-reconnect-during.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-reconnect-during.https.html.ini @@ -2,3 +2,6 @@ [gen-reconnect-during] expected: FAIL + [disconnect() and connect() called during getCharacteristics. Reject with NetworkError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-service-is-removed-with-uuid.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-service-is-removed-with-uuid.https.html.ini index eee54b49a46..82b2cbe6030 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-service-is-removed-with-uuid.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-service-is-removed-with-uuid.https.html.ini @@ -2,3 +2,6 @@ [gen-service-is-removed-with-uuid] expected: FAIL + [Service is removed before getCharacteristics call. Reject with InvalidStateError.] + expected: FAIL + diff --git a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-service-is-removed.https.html.ini b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-service-is-removed.https.html.ini index 738cad7bfa1..995f220166b 100644 --- a/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-service-is-removed.https.html.ini +++ b/tests/wpt/metadata/bluetooth/service/getCharacteristics/gen-service-is-removed.https.html.ini @@ -2,3 +2,6 @@ [gen-service-is-removed] expected: FAIL + [Service is removed before getCharacteristics call. Reject with InvalidStateError.] + expected: FAIL + From 76fed04f6b6d5ee311614f3d187e7e76cc2770b5 Mon Sep 17 00:00:00 2001 From: cdeler Date: Wed, 20 Mar 2019 22:36:02 +0300 Subject: [PATCH 4/4] #22412 disabled /bluetooth/requestDevice/canonicalizeFilter wpt tests due to #23066 --- .../bluetooth/requestDevice/canonicalizeFilter/__dir__.ini | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/__dir__.ini diff --git a/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/__dir__.ini b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/__dir__.ini new file mode 100644 index 00000000000..22af3fbe970 --- /dev/null +++ b/tests/wpt/metadata/bluetooth/requestDevice/canonicalizeFilter/__dir__.ini @@ -0,0 +1,2 @@ +prefs: ["dom.bluetooth.enabled:true"] +disabled: "#23066"