haikuwebkit/LayoutTests/storage/indexeddb/unprefix-expected.txt

19 lines
509 B
Plaintext
Raw Permalink Normal View History

Unprefix IndexedDB https://bugs.webkit.org/show_bug.cgi?id=96548 Reviewed by Adam Barth. Source/WebCore: We are largely compatible with the FF implementation and the w3c test suite submitted by MS. The w3c test suite doesn't yet check for lack of prefix; this is mostly to signal to devs that we think our implementation is stable. This patch uses the new FeatureObserver to get data about prefixed vs unprefixed usage. Tests: storage/indexeddb/unprefix-workers.html storage/indexeddb/unprefix.html * Modules/indexeddb/DOMWindowIndexedDatabase.cpp: (WebCore::DOMWindowIndexedDatabase::indexedDB): * Modules/indexeddb/DOMWindowIndexedDatabase.h: (DOMWindowIndexedDatabase): * Modules/indexeddb/DOMWindowIndexedDatabase.idl: * Modules/indexeddb/WorkerContextIndexedDatabase.cpp: (WebCore::WorkerContextIndexedDatabase::indexedDB): * Modules/indexeddb/WorkerContextIndexedDatabase.h: (WorkerContextIndexedDatabase): * Modules/indexeddb/WorkerContextIndexedDatabase.idl: * bindings/generic/RuntimeEnabledFeatures.h: Making the auxiliary objects RuntimeEnabled didn't make much sense as they are useless without the factory, so always enable them. (WebCore::RuntimeEnabledFeatures::indexedDBEnabled): * bindings/scripts/CodeGeneratorGObject.pm: (SkipAttribute): * page/FeatureObserver.h: LayoutTests: * storage/indexeddb/resources/unprefix.js: Added. (test): * storage/indexeddb/unprefix-expected.txt: Added. * storage/indexeddb/unprefix-workers-expected.txt: Added. * storage/indexeddb/unprefix-workers.html: Added. * storage/indexeddb/unprefix.html: Added. Canonical link: https://commits.webkit.org/115413@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@129385 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2012-09-24 17:17:22 +00:00
Check that IDBFactory is available through the prefixed or unprefixed entry point.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS String(self.indexedDB) is "[object IDBFactory]"
PASS IDBCursor is non-null.
PASS IDBDatabase is non-null.
PASS IDBFactory is non-null.
PASS IDBIndex is non-null.
PASS IDBKeyRange is non-null.
PASS IDBObjectStore is non-null.
PASS IDBRequest is non-null.
PASS IDBTransaction is non-null.
PASS successfullyParsed is true
TEST COMPLETE