IndexedDB: Throw native TypeErrors per spec
https://bugs.webkit.org/show_bug.cgi?id=91679

Reviewed by Kentaro Hara.

Source/WebCore:

Per the IDB spec, the advance(), openCursor(), openKeyCursor() and transaction()
methods supposed to throw true native JavaScript TypeError objects as exceptions
rather than DOMException objects. Implement this by adding a special DOMException
code that is tested for in the binding layer.

Tests: storage/indexeddb/cursor-advance.html
       storage/indexeddb/index-basics.html
       storage/indexeddb/index-basics-workers.html
       storage/indexeddb/objectstore-cursor.html
       storage/indexeddb/transaction-basics.html

* Modules/indexeddb/IDBCursor.cpp: Use the new DOMException code.
(WebCore::IDBCursor::advance):
(WebCore::IDBCursor::stringToDirection):
(WebCore::IDBCursor::directionToString):
* Modules/indexeddb/IDBDatabase.cpp: Ditto.
(WebCore::IDBDatabase::setVersion):
* Modules/indexeddb/IDBDatabaseException.cpp: Remove temporary cruft/mark as legacy.
(WebCore):
* Modules/indexeddb/IDBDatabaseException.h: Ditto.
* Modules/indexeddb/IDBDatabaseException.idl: Ditto.
* Modules/indexeddb/IDBFactory.cpp: Use the new DOMException code.
(WebCore::IDBFactory::open):
(WebCore::IDBFactory::deleteDatabase):
* Modules/indexeddb/IDBObjectStore.cpp:
(WebCore::IDBObjectStore::createIndex): Use the new DOMException code.
* Modules/indexeddb/IDBTransaction.cpp: Use the new DOMException code.
(WebCore::IDBTransaction::stringToMode):
(WebCore::IDBTransaction::modeToString):
* bindings/js/JSDOMBinding.cpp:
(WebCore::setDOMException): Intercept new DOMException code, throw native TypeError.
* bindings/v8/V8Proxy.cpp:
(WebCore::V8Proxy::setDOMException): Ditto.
* dom/ExceptionCode.h: Add new DOMException code.

LayoutTests:

* storage/indexeddb/cursor-advance-expected.txt:
* storage/indexeddb/index-basics-expected.txt:
* storage/indexeddb/index-basics-workers-expected.txt:
* storage/indexeddb/objectstore-cursor-expected.txt:
* storage/indexeddb/resources/cursor-advance.js:
(testBadAdvance.advanceBadly):
(testBadAdvance):
* storage/indexeddb/resources/index-basics.js:
(openKeyCursor):
(openObjectCursor):
* storage/indexeddb/resources/objectstore-cursor.js:
(deleteExisting):
* storage/indexeddb/resources/transaction-basics.js:
(testInvalidMode):
* storage/indexeddb/transaction-basics-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: CPU bars are not cleared along with the rest of the timeline panel
https://bugs.webkit.org/show_bug.cgi?id=91753

Reviewed by Pavel Feldman.

- remove early bail-outs in  refreshMainThreadBars; let it run to clear bars for the non-existent / invisible events;

* inspector/front-end/TimelinePanel.js:
(WebInspector.TimelinePanel.prototype._refreshMainThreadBars):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening.  Update chromium expectations after r123067.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening.  Update chromium-mac results after r123053.

* platform/chromium-mac/fast/inline/002-expected.txt: Added.
* platform/chromium-mac/fast/table/table-display-types-strict-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123115 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK gardening.

Use the WONTFIX modifier for failing tests that the GTK port is not able to pass
due to unsupportable features or specific nature of the tests. The WONTFIX tests
are placed at the top of the 'Expected failures' section in the TestExpectations
file.

For starters the list contains the harness test for reftests mismatch, the tests
that utilize the modal dialog (which won't be supported in WebKit1) and various
V8 and Mac-specific tests

* platform/gtk/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use native (non-cygwin) binaries for perl, gperf, and bison in Chromium
https://bugs.webkit.org/show_bug.cgi?id=91667

Patch by Scott Graham <scottmg@chromium.org> on 2012-07-19
Reviewed by Kentaro Hara.

Using native tools instead of cygwin version improves build time
performance by roughly 50% (on top of previous cl-instead-of-gcc
change).

No new tests.

* WebCore.gyp/WebCore.gyp:
* WebCore.gyp/scripts/rule_bison.py:
* bindings/scripts/preprocessor.pm:
(applyPreprocessor):
* make-hash-tools.pl:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] [Part 3] platform/qt/css1 tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91132

Batch of expected result files reviewed. It comprises
/LayoutTests/platform/qt/css1/[color_and_background, conformance] directories

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-19
Reviewed by Simon Hausmann.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt/css1/color_and_background/background-expected.png:
* platform/qt/css1/color_and_background/background-expected.txt:
* platform/qt/css1/color_and_background/background_attachment-expected.png:
* platform/qt/css1/color_and_background/background_attachment-expected.txt:
* platform/qt/css1/color_and_background/background_color-expected.png:
* platform/qt/css1/color_and_background/background_color-expected.txt:
* platform/qt/css1/color_and_background/background_image-expected.png:
* platform/qt/css1/color_and_background/background_image-expected.txt:
* platform/qt/css1/color_and_background/background_position-expected.png:
* platform/qt/css1/color_and_background/background_position-expected.txt:
* platform/qt/css1/color_and_background/background_repeat-expected.png:
* platform/qt/css1/color_and_background/background_repeat-expected.txt:
* platform/qt/css1/color_and_background/color-expected.png:
* platform/qt/css1/color_and_background/color-expected.txt:
* platform/qt/css1/conformance/forward_compatible_parsing-expected.png:
* platform/qt/css1/conformance/forward_compatible_parsing-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123118 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] platform/qt/editing/execCommand tests needs update after rebaseline and new testfonts (37)
https://bugs.webkit.org/show_bug.cgi?id=91246

Reviewed by Ryosuke Niwa.

Removing left-over skipped tests.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123119 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r123036.
http://trac.webkit.org/changeset/123036
https://bugs.webkit.org/show_bug.cgi?id=91555

Triggers some DCHECKs in Chromium browser_tests

* public/WebTextInputType.h:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::textInputType):

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