Bug 1188115: Expose IDBCursorWithValue in workers. r=baku

This commit is contained in:
Kyle Huey 2015-07-28 15:59:55 -07:00
parent cd23534f39
commit 9f729a1eb8
4 changed files with 5 additions and 16 deletions

View File

@ -39,6 +39,7 @@ interface IDBCursor {
IDBRequest delete ();
};
[Exposed=(Window,Worker)]
interface IDBCursorWithValue : IDBCursor {
[Throws]
readonly attribute any value;

View File

@ -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!

View File

@ -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!

View File

@ -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