Skip to content

Commit

Permalink
[GTK] Enable IndexedDB
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=98932

Reviewed by Žan Doberšek.

.:

* Source/cmake/OptionsGTK.cmake: Enable DATABASE_PROCESS and INDEXED_DATABASE.
* Source/cmake/WebKitFeatures.cmake: Add ENABLE_DATABASE_PROCESS.

Tools:

* Scripts/webkitperl/FeatureList.pm: Enable IndexedDB for the GTK port.

LayoutTests:

* platform/gtk/TestExpectations: Update IndexedDB test expectations.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@179107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
carlosgc@webkit.org committed Jan 26, 2015
1 parent c28fda6 commit c17b8a4
Show file tree
Hide file tree
Showing 7 changed files with 136 additions and 7 deletions.
10 changes: 10 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
2015-01-25 Carlos Garcia Campos <cgarcia@igalia.com>

[GTK] Enable IndexedDB
https://bugs.webkit.org/show_bug.cgi?id=98932

Reviewed by Žan Doberšek.

* Source/cmake/OptionsGTK.cmake: Enable DATABASE_PROCESS and INDEXED_DATABASE.
* Source/cmake/WebKitFeatures.cmake: Add ENABLE_DATABASE_PROCESS.

2015-01-23 Carlos Garcia Campos <cgarcia@igalia.com>

[GTK] Add initial database process support
Expand Down
9 changes: 9 additions & 0 deletions LayoutTests/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2015-01-25 Carlos Garcia Campos <cgarcia@igalia.com>

[GTK] Enable IndexedDB
https://bugs.webkit.org/show_bug.cgi?id=98932

Reviewed by Žan Doberšek.

* platform/gtk/TestExpectations: Update IndexedDB test expectations.

2015-01-25 Daniel Bates <dabates@apple.com>

[iOS] Update expected results and test expectations
Expand Down
109 changes: 104 additions & 5 deletions LayoutTests/platform/gtk/TestExpectations
Original file line number Diff line number Diff line change
Expand Up @@ -2108,13 +2108,112 @@ webkit.org/b/107825 media/audio-delete-while-step-button-clicked.html [ Failure
webkit.org/b/107825 media/nodesFromRect-shadowContent.html [ Failure ]
webkit.org/b/107825 media/video-controls-fullscreen-volume.html [ Failure ]

# IndexedDB code is going through refactoring/refreshing, so the tests are quite unstable at this point.
webkit.org/b/107194 storage/indexeddb [ Skip ]
webkit.org/b/107194 http/tests/security/cross-origin-indexeddb-allowed.html [ Skip ]
webkit.org/b/107194 http/tests/security/cross-origin-indexeddb.html [ Skip ]
## IndexedDB related failures

# Blink tests with unexplained timeouts
storage/indexeddb/exceptions.html [ Skip ]
storage/indexeddb/transaction-basics.html [ Skip ]

# Blink tests with non-trivial text failures.
storage/indexeddb/create-object-store-options.html [ Skip ]
storage/indexeddb/cursor-advance.html [ Skip ]
storage/indexeddb/cursor-basics.html [ Skip ]
storage/indexeddb/cursor-continue.html [ Skip ]
storage/indexeddb/cursor-continue-validity.html [ Skip ]
storage/indexeddb/cursor-continueprimarykey.html [ Skip ]
storage/indexeddb/cursor-index-delete.html [ Skip ]
storage/indexeddb/cursor-key-order.html [ Skip ]
storage/indexeddb/cursor-leak.html [ Skip ] # Missing needed WKTR feature?
storage/indexeddb/cursor-overloads.html [ Skip ]
storage/indexeddb/cursor-primary-key-order.html [ Skip ]
storage/indexeddb/cursor-request-cycle.html [ Skip ] # Missing needed WKTR feature?
storage/indexeddb/cursor-update.html [ Skip ]
storage/indexeddb/data-corruption.html [ Skip ]
storage/indexeddb/database-close.html [ Skip ]
storage/indexeddb/database-quota.html [ Skip ]
storage/indexeddb/duplicates.html [ Skip ] # Difference between null + undefined
storage/indexeddb/events.html [ Skip ]
storage/indexeddb/factory-basics.html [ Skip ] # indexedDB.webkitGetDatabaseNames is missing)
storage/indexeddb/factory-cmp.html [ Skip ]
storage/indexeddb/get-keyrange.html [ Skip ]
storage/indexeddb/index-basics.html [ Skip ] # Difference between null + undefined
storage/indexeddb/index-duplicate-keypaths.html [ Skip ]
storage/indexeddb/index-multientry.html [ Skip ]
storage/indexeddb/index-population.html [ Skip ]
storage/indexeddb/index-unique.html [ Skip ]
storage/indexeddb/intversion-close-between-events.html [ Skip ]
storage/indexeddb/intversion-open-with-version.html [ Skip ] # INTMAX exposed to script as database version
storage/indexeddb/intversion-two-opens-no-versions.html [ Skip ] # INTMAX exposed to script as database version
storage/indexeddb/key-generator.html [ Skip ]
storage/indexeddb/key-type-binary.html [ Skip ]
storage/indexeddb/lazy-index-population.html [ Skip ]
storage/indexeddb/noblobs.html [ Skip ] # Missing DRT file/blob support
storage/indexeddb/objectstore-autoincrement.html [ Skip ]
storage/indexeddb/objectstore-keycursor.html [ Skip ]
storage/indexeddb/optional-arguments.html [ Skip ]
storage/indexeddb/request-leak.html [ Skip ] # Missing WKTR support? GC?
storage/indexeddb/setversion-blocked-by-versionchange-close.html [ Skip ]
storage/indexeddb/structured-clone.html [ Skip ] # Missing DRT file/blob support
storage/indexeddb/transaction-and-objectstore-calls.html [ Skip ]
storage/indexeddb/transaction-error.html [ Skip ]
storage/indexeddb/transaction-scope-sequencing.html [ Skip ]

# Blink tests that crash the WebProcess.
storage/indexeddb/cursor-cast.html [ Skip ]
storage/indexeddb/deleted-objects.html [ Skip ] # Crashes under WebCore::GetOperation::GetOperation
storage/indexeddb/metadata.html [ Skip ] # Crashes under IDBDatabaseBackend::createIndex
storage/indexeddb/persistence.html [ Skip ] # Crash under IDBDatabaseBackend::createObjectStore
storage/indexeddb/transaction-abort.html [ Skip ] # IDBTransactionBackend::start()
webkit.org/b/137314 storage/indexeddb/database-basics.html [ Pass Crash Timeout ] # IDBDatabaseBackend::createObjectStore()

# Blink tests that crash the WebProcess under IDBDatabase::dispatchEvent or IDBRequest::dispatchEvent (possibly all related).
storage/indexeddb/database-deletepending-flag.html [ Skip ]
storage/indexeddb/delete-in-upgradeneeded-close-in-open-success.html [ Skip ]
storage/indexeddb/delete-in-upgradeneeded-close-in-versionchange.html [ Skip ]
storage/indexeddb/deletedatabase-blocked.html [ Skip ]
storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange.html [ Skip ]
storage/indexeddb/deletedatabase-delayed-by-versionchange.html [ Skip ]
storage/indexeddb/deletedatabase-not-blocked.html [ Skip ]
storage/indexeddb/factory-deletedatabase.html [ Skip ]
storage/indexeddb/intversion-blocked.html [ Skip ]
storage/indexeddb/intversion-gated-on-delete.html [ Skip ]
storage/indexeddb/intversion-long-queue.html [ Skip ]
storage/indexeddb/intversion-open-in-upgradeneeded.html [ Skip ]
storage/indexeddb/intversion-pending-version-changes-ascending.html [ Skip ]
storage/indexeddb/intversion-pending-version-changes-descending.html [ Skip ]
storage/indexeddb/intversion-pending-version-changes-same.html [ Skip ]
storage/indexeddb/intversion-upgrades.html [ Skip ]
storage/indexeddb/objectstore-basics.html [ Skip ]
storage/indexeddb/setversion-not-blocked.html [ Skip ]

# Blink tests that crash the DatabaseProcess.
storage/indexeddb/createIndex-after-failure.html [ Skip ]
storage/indexeddb/deleteIndex.html [ Skip ] # Crashes under WebKit::UniqueIDBDatabase::deleteIndex
storage/indexeddb/open-ordering.html [ Skip ] # DatabaseProcessIDBConnection::GetOrEstablishIDBDatabaseMetadata
storage/indexeddb/transaction-coordination-within-database.html [ Skip ] # SQLiteTransaction::begin

# Blink tests that crash the DatabaseProcess under DatabaseProcessIDBConnection::deleteDatabase.
storage/indexeddb/database-closepending-flag.html [ Skip ]
storage/indexeddb/odd-strings.html [ Skip ]

# We don't currently support indexeddb in workers
storage/indexeddb/basics-workers.html [ Skip ]
storage/indexeddb/cursor-advance-workers.html [ Skip ]
storage/indexeddb/deletedatabase-delayed-by-open-and-versionchange-workers.html [ Skip ]
storage/indexeddb/dont-commit-on-blocked.html [ Skip ]
storage/indexeddb/factory-basics-workers.html [ Skip ]
storage/indexeddb/index-basics-workers.html [ Skip ]
storage/indexeddb/objectstore-basics-workers.html [ Skip ]
storage/indexeddb/open-twice-workers.html [ Skip ]
storage/indexeddb/pending-activity-workers.html [ Skip ]
storage/indexeddb/pending-version-change-on-exit.html [ Skip ]
storage/indexeddb/pending-version-change-stuck-works-with-terminate.html [ Skip ]
storage/indexeddb/pending-version-change-stuck.html [ Skip ]
storage/indexeddb/transaction-complete-workers.html [ Skip ]
storage/indexeddb/unprefix-workers.html [ Skip ]

webkit.org/b/107194 http/tests/security/cross-origin-worker-indexeddb-allowed.html [ Skip ]
webkit.org/b/107194 http/tests/security/cross-origin-worker-indexeddb.html [ Skip ]
webkit.org/b/107194 http/tests/security/no-indexeddb-from-sandbox.html [ Skip ]
webkit.org/b/107194 crypto/subtle/rsa-indexeddb.html [ Skip ]
webkit.org/b/107194 inspector-protocol/indexeddb/basics.html [ Skip ]

Expand Down
3 changes: 2 additions & 1 deletion Source/cmake/OptionsGTK.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FTPDIR OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_FULLSCREEN_API ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GAMEPAD OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_GAMEPAD_DEPRECATED OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INDEXED_DATABASE OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INDEXED_DATABASE ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INDEXED_DATABASE_IN_WORKERS OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_INPUT_TYPE_COLOR OFF)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_LEGACY_WEB_AUDIO OFF)
Expand Down Expand Up @@ -170,6 +170,7 @@ WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_VIEW_MODE_CSS_MEDIA ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_AUDIO ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_WEB_TIMING ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_XHR_TIMEOUT ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_DATABASE_PROCESS ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_NETWORK_PROCESS ON)
WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_THREADED_COMPOSITOR OFF)
WEBKIT_OPTION_END()
Expand Down
1 change: 1 addition & 0 deletions Source/cmake/WebKitFeatures.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ macro(WEBKIT_OPTION_BEGIN)
WEBKIT_OPTION_DEFINE(ENABLE_CURSOR_VISIBILITY "Toggle cursor visibility support" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_CUSTOM_SCHEME_HANDLER "Toggle Custom Scheme Handler support" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_DASHBOARD_SUPPORT "Toggle dashboard support" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_DATABASE_PROCESS "Toggle database process support in WebKit2" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_DATACUE_VALUE "Toggle datacue value support" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_DATALIST_ELEMENT "Toggle HTML5 datalist support" OFF)
WEBKIT_OPTION_DEFINE(ENABLE_DATA_TRANSFER_ITEMS "Toggle HTML5 data transfer items support" OFF)
Expand Down
9 changes: 9 additions & 0 deletions Tools/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2015-01-25 Carlos Garcia Campos <cgarcia@igalia.com>

[GTK] Enable IndexedDB
https://bugs.webkit.org/show_bug.cgi?id=98932

Reviewed by Žan Doberšek.

* Scripts/webkitperl/FeatureList.pm: Enable IndexedDB for the GTK port.

2015-01-25 Alexey Proskuryakov <ap@apple.com>

Would like leaks bot results at build.webkit.org/dashboard
Expand Down
2 changes: 1 addition & 1 deletion Tools/Scripts/webkitperl/FeatureList.pm
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ my @features = (
define => "ENABLE_ICONDATABASE", default => !isIOSWebKit(), value => \$icondatabaseSupport },

{ option => "indexed-database", desc => "Toggle Indexed Database support",
define => "ENABLE_INDEXED_DATABASE", default => 0, value => \$indexedDatabaseSupport },
define => "ENABLE_INDEXED_DATABASE", default => isGtk(), value => \$indexedDatabaseSupport },

{ option => "input-speech", desc => "Toggle Input Speech support",
define => "ENABLE_INPUT_SPEECH", default => 0, value => \$inputSpeechSupport },
Expand Down

0 comments on commit c17b8a4

Please sign in to comment.