IndexedDB: last setVersion excision batch
https://bugs.webkit.org/show_bug.cgi?id=102713

Reviewed by Tony Chang.

* storage/indexeddb/resources/setversion-blocked-by-versionchange-close-in-blocked.js: Removed.
  The crucial part of this test was a connection closing itself in its
  blocked callback. This is no longer possible as there's now only a
  handle to the connection after the blocked event is dealt with.

* storage/indexeddb/resources/setversion-blocked-by-versionchange-close.js:
  This test exposes a cascade of errors. h2's should receive 0 blocked
  errors. Instead it receives 2.

* storage/indexeddb/resources/setversion-blocked.js: Removed.
  Tests the same thing as set_version_blocked.

* storage/indexeddb/resources/setversion-not-blocked.js:
  Now h2 is the version change connection and h1 is the blocker.

* storage/indexeddb/setversion-blocked-by-versionchange-close-in-blocked.html: Removed.
* storage/indexeddb/setversion-blocked.html: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [JSC] worker debugger shouldn't stop for "willExecuteProgram" instruction
https://bugs.webkit.org/show_bug.cgi?id=102637

Patch by Peter Wang <peter.wang@torchmobile.com.cn> on 2012-11-19
Reviewed by Timothy Hatcher.

Override the interface "willExecuteProgram" to let WorkerScriptDebugServer to avoid to stop for it.

No new DRT test case. Sorry, so far it seems impossible to write a case to controle the popupped
worker inspector window.

* bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::createCallFrame):
(WebCore::ScriptDebugServer::callEvent):
(WebCore::ScriptDebugServer::willExecuteProgram):
* bindings/js/ScriptDebugServer.h:
(ScriptDebugServer):
* bindings/js/WorkerScriptDebugServer.cpp:
(WebCore::WorkerScriptDebugServer::willExecuteProgram):
(WebCore):
* bindings/js/WorkerScriptDebugServer.h:
(WorkerScriptDebugServer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CMake] Create JavaScriptCore ForwardingHeaders
https://bugs.webkit.org/show_bug.cgi?id=92665

Reviewed by Brent Fulgham.

When using CMake to build the Windows port, we need
to generate the forwarding headers with it too.

* CMakeLists.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB: Complex series of opens/deleteDatabase fails an ASSERT
https://bugs.webkit.org/show_bug.cgi?id=101810

Reviewed by Tony Chang.

Source/WebCore:

Tests - storage/indexeddb/deletedatabase-delayed-by-versionchange.html

* Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
(WebCore::IDBDatabaseBackendImpl::processPendingCalls):
The condition tested by this assert is a valid state.

LayoutTests:

Removed use of setVersion. Surprisingly straightforward conversion
given how gnarly this test is.

* storage/indexeddb/deletedatabase-delayed-by-versionchange-expected.txt:
* storage/indexeddb/resources/deletedatabase-delayed-by-versionchange.js:
(h1OpenSuccess.h1.onversionchange):
(h1OpenSuccess.request.onsuccess.h2OpenSuccess.h2.onversionchange):
(h1OpenSuccess.request.onsuccess.h2OpenSuccess.request.onsuccess):
(h1OpenSuccess.request.onsuccess.h2OpenSuccess.request.onblocked.h3Blocked.request.onsuccess):
(h1OpenSuccess.request.onsuccess.h2OpenSuccess.request.onblocked):
(h1OpenSuccess.request.onsuccess.h2OpenSuccess.request.onupgradeneeded.h3OnUpgradeneeded.transaction.oncomplete):
(h1OpenSuccess.request.onsuccess.h2OpenSuccess.request.onupgradeneeded):
(h1OpenSuccess.request.onsuccess):
(h1OpenSuccess):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135226 268f45cc-cd09-0410-ab3c-d52691b4dbfc