[BlackBerry] WebPage::touchEvent() should use Platform::TouchEvent's toString() for debugging.
https://bugs.webkit.org/show_bug.cgi?id=91002

Patch by Pawel Chomicki <pchomicki@rim.com> on 2012-07-12
Reviewed by Antonio Gomes.
Reviewed internally by Genevieve Mak.

Updated DEBUG_TOUCH_EVENTS section of touchEvent method to utilize
Platform::TouchEvent's toString method.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::touchEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: Remove resources panel edited resources search support.
https://bugs.webkit.org/show_bug.cgi?id=91101

Reviewed by Pavel Feldman.

* inspector/front-end/ResourcesPanel.js:
(WebInspector.ResourcesPanel.prototype.performSearch.callback):
(WebInspector.ResourcesPanel.prototype.performSearch):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Remove a large number of empty directories.

* platform/chromium-win-vista: Removed.
* platform/chromium-win-vista/canvas: Removed.
* platform/chromium-win-vista/canvas/philip: Removed.
* platform/chromium-win-vista/canvas/philip/tests: Removed.
* platform/chromium-win-vista/compositing: Removed.
* platform/chromium-win-vista/compositing/geometry: Removed.
* platform/chromium-win-vista/compositing/overflow: Removed.
* platform/chromium-win-vista/compositing/shadows: Removed.
* platform/chromium-win-vista/css1: Removed.
* platform/chromium-win-vista/css1/font_properties: Removed.
* platform/chromium-win-vista/css1/text_properties: Removed.
* platform/chromium-win-vista/css1/units: Removed.
* platform/chromium-win-vista/css2.1: Removed.
* platform/chromium-win-vista/css3: Removed.
* platform/chromium-win-vista/css3/selectors3: Removed.
* platform/chromium-win-vista/css3/selectors3/html: Removed.
* platform/chromium-win-vista/css3/selectors3/xhtml: Removed.
* platform/chromium-win-vista/css3/selectors3/xml: Removed.
* platform/chromium-win-vista/editing: Removed.
* platform/chromium-win-vista/editing/inserting: Removed.
* platform/chromium-win-vista/editing/pasteboard: Removed.
* platform/chromium-win-vista/editing/style: Removed.
* platform/chromium-win-vista/fast: Removed.
* platform/chromium-win-vista/fast/backgrounds: Removed.
* platform/chromium-win-vista/fast/backgrounds/repeat: Removed.
* platform/chromium-win-vista/fast/backgrounds/size: Removed.
* platform/chromium-win-vista/fast/block: Removed.
* platform/chromium-win-vista/fast/block/positioning: Removed.
* platform/chromium-win-vista/fast/box-shadow: Removed.
* platform/chromium-win-vista/fast/canvas: Removed.
* platform/chromium-win-vista/fast/canvas/webgl: Removed.
* platform/chromium-win-vista/fast/compact: Removed.
* platform/chromium-win-vista/fast/css: Removed.
* platform/chromium-win-vista/fast/dom: Removed.
* platform/chromium-win-vista/fast/dom/Document: Removed.
* platform/chromium-win-vista/fast/dom/HTMLAnchorElement: Removed.
* platform/chromium-win-vista/fast/dom/HTMLMeterElement: Removed.
* platform/chromium-win-vista/fast/dom/HTMLProgressElement: Removed.
* platform/chromium-win-vista/fast/forms: Removed.
* platform/chromium-win-vista/fast/inline: Removed.
* platform/chromium-win-vista/fast/inline-block: Removed.
* platform/chromium-win-vista/fast/js: Removed.
* platform/chromium-win-vista/fast/media: Removed.
* platform/chromium-win-vista/fast/multicol: Removed.
* platform/chromium-win-vista/fast/multicol/vertical-rl: Removed.
* platform/chromium-win-vista/fast/parser: Removed.
* platform/chromium-win-vista/fast/repaint: Removed.
* platform/chromium-win-vista/fast/replaced: Removed.
* platform/chromium-win-vista/fast/sub-pixel: Removed.
* platform/chromium-win-vista/fast/sub-pixel/selection: Removed.
* platform/chromium-win-vista/fast/table: Removed.
* platform/chromium-win-vista/fast/text: Removed.
* platform/chromium-win-vista/fast/text/international: Removed.
* platform/chromium-win-vista/fast/text/whitespace: Removed.
* platform/chromium-win-vista/fast/writing-mode: Removed.
* platform/chromium-win-vista/http: Removed.
* platform/chromium-win-vista/http/tests: Removed.
* platform/chromium-win-vista/http/tests/appcache: Removed.
* platform/chromium-win-vista/http/tests/loading: Removed.
* platform/chromium-win-vista/http/tests/media: Removed.
* platform/chromium-win-vista/http/tests/misc: Removed.
* platform/chromium-win-vista/http/tests/multipart: Removed.
* platform/chromium-win-vista/http/tests/security: Removed.
* platform/chromium-win-vista/http/tests/security/aboutBlank: Removed.
* platform/chromium-win-vista/media: Removed.
* platform/chromium-win-vista/platform: Removed.
* platform/chromium-win-vista/platform/chromium: Removed.
* platform/chromium-win-vista/platform/chromium/compositing: Removed.
* platform/chromium-win-vista/platform/chromium/fast: Removed.
* platform/chromium-win-vista/platform/chromium/fast/text: Removed.
* platform/chromium-win-vista/platform/chromium/virtual: Removed.
* platform/chromium-win-vista/platform/chromium/virtual/gpu: Removed.
* platform/chromium-win-vista/platform/chromium/virtual/gpu/fast: Removed.
* platform/chromium-win-vista/platform/chromium/virtual/gpu/fast/canvas: Removed.
* platform/chromium-win-vista/svg: Removed.
* platform/chromium-win-vista/svg/W3C-I18N: Removed.
* platform/chromium-win-vista/svg/W3C-SVG-1.1: Removed.
* platform/chromium-win-vista/svg/W3C-SVG-1.1-SE: Removed.
* platform/chromium-win-vista/svg/as-image: Removed.
* platform/chromium-win-vista/svg/as-object: Removed.
* platform/chromium-win-vista/svg/batik: Removed.
* platform/chromium-win-vista/svg/batik/paints: Removed.
* platform/chromium-win-vista/svg/batik/text: Removed.
* platform/chromium-win-vista/svg/carto.net: Removed.
* platform/chromium-win-vista/svg/css: Removed.
* platform/chromium-win-vista/svg/custom: Removed.
* platform/chromium-win-vista/svg/dynamic-updates: Removed.
* platform/chromium-win-vista/svg/filters: Removed.
* platform/chromium-win-vista/svg/hixie: Removed.
* platform/chromium-win-vista/svg/hixie/intrinsic: Removed.
* platform/chromium-win-vista/svg/in-html: Removed.
* platform/chromium-win-vista/svg/stroke: Removed.
* platform/chromium-win-vista/svg/text: Removed.
* platform/chromium-win-vista/svg/zoom: Removed.
* platform/chromium-win-vista/svg/zoom/page: Removed.
* platform/chromium-win-vista/tables: Removed.
* platform/chromium-win-vista/tables/mozilla: Removed.
* platform/chromium-win-vista/tables/mozilla/bugs: Removed.
* platform/chromium-win-vista/tables/mozilla/marvin: Removed.
* platform/chromium-win-vista/tables/mozilla_expected_failures: Removed.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs: Removed.
* platform/chromium-win-vista/tables/mozilla_expected_failures/core: Removed.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin: Removed.
* platform/chromium-win-vista/tables/mozilla_expected_failures/other: Removed.
* platform/chromium-win-vista/transforms: Removed.
* platform/chromium-win-vista/transforms/2d: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Enable building APKs for TestWebKitAPI and webkit_unit_tests
https://bugs.webkit.org/show_bug.cgi?id=90989

Reviewed by Adam Barth.

Add dependencies on the webkit_unit_tests_apk and TestWebKitAPI_apk
targets for Android, making sure that we're generating the packages.

* All.gyp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move nodesFromRect tests to separate sub-directory.
https://bugs.webkit.org/show_bug.cgi?id=90986

Reviewed by Antonio Gomes.

Moving all nodesFromRect based tests to separate sub-directory will make it easier to test or skip them collectively.

* fast/dom/nodesFromRect/nodesFromRect-basic-expected.txt: Renamed from LayoutTests/fast/dom/nodesFromRect-basic-expected.txt.
* fast/dom/nodesFromRect/nodesFromRect-basic.html: Renamed from LayoutTests/fast/dom/nodesFromRect-basic.html.
* fast/dom/nodesFromRect/nodesFromRect-culled-inlines-expected.txt: Renamed from LayoutTests/fast/dom/nodesFromRect-culled-inlines-expected.txt.
* fast/dom/nodesFromRect/nodesFromRect-culled-inlines.html: Renamed from LayoutTests/fast/dom/nodesFromRect-culled-inlines.html.
* fast/dom/nodesFromRect/nodesFromRect-inner-documents-expected.txt: Renamed from LayoutTests/fast/dom/nodesFromRect-inner-documents-expected.txt.
* fast/dom/nodesFromRect/nodesFromRect-inner-documents.html: Renamed from LayoutTests/fast/dom/nodesFromRect-inner-documents.html.
* fast/dom/nodesFromRect/nodesFromRect-links-and-text-expected.txt: Renamed from LayoutTests/fast/dom/nodesFromRect-links-and-text-expected.txt.
* fast/dom/nodesFromRect/nodesFromRect-links-and-text.html: Renamed from LayoutTests/fast/dom/nodesFromRect-links-and-text.html.
* fast/dom/nodesFromRect/nodesFromRect-svg-expected.txt: Renamed from LayoutTests/fast/dom/nodesFromRect-svg-expected.txt.
* fast/dom/nodesFromRect/nodesFromRect-svg.html: Renamed from LayoutTests/fast/dom/nodesFromRect-svg.html.
* fast/dom/nodesFromRect/nodesFromRect-table-expected.txt: Renamed from LayoutTests/fast/dom/nodesFromRect-table-expected.txt.
* fast/dom/nodesFromRect/nodesFromRect-table.html: Renamed from LayoutTests/fast/dom/nodesFromRect-table.html.
* fast/dom/nodesFromRect/resources/nodesFromRect.css: Renamed from LayoutTests/fast/dom/resources/nodesFromRect.css.
* fast/dom/nodesFromRect/resources/nodesFromRect.js: Renamed from LayoutTests/fast/dom/resources/nodesFromRect.js.
* media/nodesFromRect-shadowContent.html:
* platform/chromium/TestExpectations:
* platform/win/Skipped:
* platform/wincairo/Skipped:
* platform/wk2/Skipped:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Build fix for r122462.

* platform/qt/MemoryUsageSupportQt.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB: Verify internal "delete pending" flag on database
https://bugs.webkit.org/show_bug.cgi?id=90995

Reviewed by Tony Chang.

Verify the behavior required by the spec that an open() following
a deleteDatabase() is delayed and returns a new database.

* storage/indexeddb/database-deletepending-flag-expected.txt: Added.
* storage/indexeddb/database-deletepending-flag.html: Added.
* storage/indexeddb/resources/database-deletepending-flag.js: Added.
(test):
(openConnection.request.onsuccess.request.onsuccess):
(openConnection.request.onsuccess):
(openConnection):
(testDatabaseDelete.connection.onversionchange):
(testDatabaseDelete.deleteRequest.onblocked):
(testDatabaseDelete.deleteRequest.onsuccess):
(testDatabaseDelete.openRequest.onsuccess):
(testDatabaseDelete):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebPage::executeJavaScriptFunction crashes when there is an exception
https://bugs.webkit.org/show_bug.cgi?id=91098
RIM PR #149294

When there is an exception currently the code tries to get the string of
the exception via JSValueToStringCopy to pass back, but this cases a
crash inside JavaScriptCore, so change it to simply return false and not
set the return value with the exception string.

Patch by Benjamin C Meyer <bmeyer@rim.com> on 2012-07-12
Reviewed by George Staikos.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPage::executeJavaScriptFunction):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium][Mac] r122400 broke 10.6 build
https://bugs.webkit.org/show_bug.cgi?id=91103

Patch by Robert Sesek <rsesek@chromium.org> on 2012-07-12
Reviewed by Tony Chang.

Use the right availability macros for forward-declaring methods and
defining constants.

* src/mac/WebInputEventFactory.mm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Implement web notifications support
https://bugs.webkit.org/show_bug.cgi?id=80702

Patch by Adenilson Cavalcanti <cavalcantii@gmail.com> on 2012-07-12
Reviewed by Noam Rosenthal.

Adding a new type of permission request for Desktop Notifications (plus required code
to register the handle for this requests).

* UIProcess/API/qt/qwebpermissionrequest.cpp:
(QWebPermissionRequestPrivate::QWebPermissionRequestPrivate):
(QWebPermissionRequestPrivate):
(QWebPermissionRequest::create):
(QWebPermissionRequest::QWebPermissionRequest):
(QWebPermissionRequest::setAllow):
* UIProcess/API/qt/qwebpermissionrequest_p.h:
* UIProcess/API/qt/tests/qmltests/WebView/tst_notification.qml: Added.
* UIProcess/API/qt/tests/qmltests/common/notification.html: Added.
* UIProcess/qt/QtWebPageUIClient.cpp:
(WebKit::QtWebPageUIClient::QtWebPageUIClient):
(WebKit::QtWebPageUIClient::policyForNotificationPermissionRequest):
(WebKit):
* UIProcess/qt/QtWebPageUIClient.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r122477.
http://trac.webkit.org/changeset/122477
https://bugs.webkit.org/show_bug.cgi?id=91103

Broke Chromium Mac build

* src/mac/WebInputEventFactory.mm:

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