Backed out 2 changesets (bug 1475440) for wpt failures on /IndexedDB/idlharness.any.sharedworker. CLOSED TREE

Backed out changeset 95bad29dc79e (bug 1475440)
Backed out changeset 281f85b1c106 (bug 1475440)
This commit is contained in:
Narcis Beleuzu 2018-07-25 06:39:01 +03:00
Родитель 217e32f696
Коммит feb72ad878
4 изменённых файлов: 43 добавлений и 62 удалений

Просмотреть файл

@ -1,15 +0,0 @@
[idlharness.any.sharedworker.html]
expected: ERROR
[idlharness.any.html]
[idlharness]
expected: FAIL
[idlharness.any.worker.html]
[idlharness]
expected: FAIL
[idlharness.https.any.serviceworker.html]
expected: TIMEOUT

Просмотреть файл

@ -309010,30 +309010,22 @@
{}
]
],
"IndexedDB/idlharness.any.js": [
[
"/IndexedDB/idlharness.any.html",
{}
],
[
"/IndexedDB/idlharness.any.sharedworker.html",
{}
],
[
"/IndexedDB/idlharness.any.worker.html",
{}
],
[
"/IndexedDB/idlharness.https.any.serviceworker.html",
{}
]
],
"IndexedDB/index_sort_order.htm": [
[
"/IndexedDB/index_sort_order.htm",
{}
]
],
"IndexedDB/interfaces.any.js": [
[
"/IndexedDB/interfaces.any.html",
{}
],
[
"/IndexedDB/interfaces.any.worker.html",
{}
]
],
"IndexedDB/interleaved-cursors-large.html": [
[
"/IndexedDB/interleaved-cursors-large.html",
@ -414627,14 +414619,14 @@
"03e244d70d286d726bf0a227bc36ef1b4d8bcc72",
"support"
],
"IndexedDB/idlharness.any.js": [
"dfc95449e452ba68e938247644494eeb9ac926e0",
"testharness"
],
"IndexedDB/index_sort_order.htm": [
"251a828d333bdd3face9d20a2a28ddf0c0ffeb49",
"testharness"
],
"IndexedDB/interfaces.any.js": [
"8405006e6c1bc5db4bf666b4ef18b808d3755aaa",
"testharness"
],
"IndexedDB/interleaved-cursors-common.js": [
"6744105fe1a15a91058e3e5993f8a1f88548e3a3",
"support"

Просмотреть файл

@ -1,25 +0,0 @@
// META: global=window,worker
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
idl_test(
['IndexedDB'],
['html', 'dom'],
idl_array => {
idl_array.add_objects({
IDBCursor: [],
IDBCursorWithValue: [],
IDBDatabase: [],
IDBFactory: [self.indexedDB],
IDBIndex: [],
IDBKeyRange: [IDBKeyRange.only(0)],
IDBObjectStore: [],
IDBOpenDBRequest: [],
IDBRequest: [],
IDBTransaction: [],
IDBVersionChangeEvent: ['new IDBVersionChangeEvent("type")'],
DOMStringList: [],
});
},
'IndexedDB interfaces'
);

Просмотреть файл

@ -0,0 +1,29 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
promise_test(async t => {
const srcs = ['html', 'dom', 'IndexedDB'];
const [html, dom, indexeddb] = await Promise.all(
srcs.map(i => fetch(`/interfaces/${i}.idl`).then(r => r.text())));
const idl_array = new IdlArray();
idl_array.add_idls(indexeddb);
idl_array.add_dependency_idls(html);
idl_array.add_dependency_idls(dom);
idl_array.add_objects({
IDBCursor: [],
IDBCursorWithValue: [],
IDBDatabase: [],
IDBFactory: [self.indexedDB],
IDBIndex: [],
IDBKeyRange: [IDBKeyRange.only(0)],
IDBObjectStore: [],
IDBOpenDBRequest: [],
IDBRequest: [],
IDBTransaction: [],
IDBVersionChangeEvent: ['new IDBVersionChangeEvent("type")'],
DOMStringList: [],
});
idl_array.test();
}, 'Test driver');