diff --git a/dom/webidl/IDBCursor.webidl b/dom/webidl/IDBCursor.webidl index b195ea3a805..20ed4550d34 100644 --- a/dom/webidl/IDBCursor.webidl +++ b/dom/webidl/IDBCursor.webidl @@ -39,6 +39,7 @@ interface IDBCursor { IDBRequest delete (); }; +[Exposed=(Window,Worker)] interface IDBCursorWithValue : IDBCursor { [Throws] readonly attribute any value; diff --git a/dom/workers/test/serviceworkers/test_serviceworker_interfaces.js b/dom/workers/test/serviceworkers/test_serviceworker_interfaces.js index 09c8100b661..a742963591c 100644 --- a/dom/workers/test/serviceworkers/test_serviceworker_interfaces.js +++ b/dom/workers/test/serviceworkers/test_serviceworker_interfaces.js @@ -131,6 +131,8 @@ var interfaceNamesInGlobalScope = "Headers", // IMPORTANT: Do not change this list without review from a DOM peer! "IDBCursor", +// IMPORTANT: Do not change this list without review from a DOM peer! + "IDBCursorWithValue", // IMPORTANT: Do not change this list without review from a DOM peer! "IDBDatabase", // IMPORTANT: Do not change this list without review from a DOM peer! diff --git a/dom/workers/test/test_worker_interfaces.js b/dom/workers/test/test_worker_interfaces.js index 3b6bfc6b682..88ed6d7ac39 100644 --- a/dom/workers/test/test_worker_interfaces.js +++ b/dom/workers/test/test_worker_interfaces.js @@ -123,6 +123,8 @@ var interfaceNamesInGlobalScope = "Headers", // IMPORTANT: Do not change this list without review from a DOM peer! "IDBCursor", +// IMPORTANT: Do not change this list without review from a DOM peer! + "IDBCursorWithValue", // IMPORTANT: Do not change this list without review from a DOM peer! "IDBDatabase", // IMPORTANT: Do not change this list without review from a DOM peer! diff --git a/testing/web-platform/meta/IndexedDB/interfaces.worker.js.ini b/testing/web-platform/meta/IndexedDB/interfaces.worker.js.ini index 7a5477f39d7..6b87d141aa6 100644 --- a/testing/web-platform/meta/IndexedDB/interfaces.worker.js.ini +++ b/testing/web-platform/meta/IndexedDB/interfaces.worker.js.ini @@ -2,19 +2,3 @@ type: testharness [WorkerUtils interface: attribute indexedDB] expected: FAIL - - [IDBCursorWithValue interface: existence and properties of interface object] - expected: FAIL - - [IDBCursorWithValue interface object length] - expected: FAIL - - [IDBCursorWithValue interface: existence and properties of interface prototype object] - expected: FAIL - - [IDBCursorWithValue interface: existence and properties of interface prototype object's "constructor" property] - expected: FAIL - - [IDBCursorWithValue interface: attribute value] - expected: FAIL -