[Chromium] Unreviewed gardening.  Remove a now-passing test from TestExpectations.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove SVGShadowText class
https://bugs.webkit.org/show_bug.cgi?id=103088

Reviewed by Ryosuke Niwa.

Remove SVGShadowText class and merge the little functionality it has to Text.

* dom/Text.cpp:
(WebCore):
(WebCore::isSVGShadowText):
        
    Figure out if we are a SVGShadowText from the context.

(WebCore::isSVGText):
(WebCore::Text::createRenderer):
(WebCore::Text::recalcTextStyle):
        
    Factor SVG special case testing to functions.

* dom/Text.h:
(Text):

    Get rid of the now unnecessary willRecalcTextStyle mechanism.

* svg/SVGTRefElement.cpp:
(WebCore):
(WebCore::SVGTRefElement::updateReferencedText):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] fix DOMWrapperWorld destructor
https://bugs.webkit.org/show_bug.cgi?id=103066

Patch by Dan Carney <dcarney@google.com> on 2012-11-22
Reviewed by Jochen Eisinger.

DOMWrapperWorld had a workaround in place during deletion.
This patch brings it in line with WebKit standards.

No new tests: refactor.

* bindings/v8/DOMWrapperWorld.cpp:
(WebCore::DOMWrapperWorld::~DOMWrapperWorld):
(WebCore::DOMWrapperWorld::ensureIsolatedWorld):
* bindings/v8/DOMWrapperWorld.h:
(DOMWrapperWorld):
(WebCore::DOMWrapperWorld::isolatedWorldDOMDataStore):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviwed gardening. Updated test expectations for failure
in complex-joining-using-gpos.html
https://bugs.webkit.org/show_bug.cgi?id=101377

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove 'module' from IDL parser
https://bugs.webkit.org/show_bug.cgi?id=102670

Reviewed by Adam Barth.

The Web IDL spec no longer supports 'module'. We already removed
'module's from WebKit IDL files. So this patch removes 'module'
from the IDL parser.

No tests. No change in behavior.

* bindings/scripts/IDLParser.pm:
(Parse):
(parseDefinitionOld):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening: Updated test expectations for MountainLion crash in
media/video-preload.html.
https://bugs.webkit.org/show_bug.cgi?id=103093

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
max-height property not respected in case of tables
https://bugs.webkit.org/show_bug.cgi?id=98633

Patch by Pravin D <pravind.2k4@gmail.com> on 2012-11-22
Reviewed by Julien Chaffraix.

Source/WebCore:

The max-height property determines the maximum computed height an element can have. In case of tables
the computed height was not being limited by the max-height property. The current patch fixes the same.

Test: fast/table/css-table-max-height.html

* rendering/RenderTable.cpp:
(WebCore::RenderTable::convertStyleLogicalHeightToComputedHeight):
  Helper function to compute height from the given style height.
  This function handles style height of type fixed, percent and viewport percent.
  As height of type 'calculated' gets internally resolved to either fixed or percent
  there is no special handling required for the same.

(WebCore):
(WebCore::RenderTable::layout):
  Logic to compute the logical height of an element such that it does not exceed the max-height value given that
  min-width < Content height < max-height, when min-height < max-height.
  However max-height value is not respected if either min-height > max-height or Content height > max-height.

* rendering/RenderTable.h:
(RenderTable):
  Function definition for the newly add function convertStyleLogicalHeightToComputedHeight().

LayoutTests:

* fast/table/css-table-max-height-expected.txt: Added.
* fast/table/css-table-max-height.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Test expectations update after enabling Skia changes.

Unreviewed expectations update.

Final rebaselines. These tests did not get correctly rebased the first time through.

* fast/replaced/border-radius-clip-expected.png: Added.
* fast/text/line-initial-and-final-swashes-expected.txt: Added.
* platform/chromium-linux-x86/fast/replaced/border-radius-clip-expected.txt: Added.
* platform/chromium-linux/fast/replaced/border-radius-clip-expected.png:
* platform/chromium-linux/fast/replaced/border-radius-clip-expected.txt: Added.
* platform/chromium-linux/transforms/3d/hit-testing/backface-hit-test-expected.png:
* platform/chromium-linux/transforms/3d/hit-testing/backface-no-transform-hit-test-expected.png:
* platform/chromium-mac-lion/fast/block/basic/fieldset-stretch-to-legend-expected.png: Added.
* platform/chromium-mac-lion/fast/css/color-correction-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/color-correction-on-background-image-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/color-correction-on-backgrounds-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/color-correction-on-box-shadow-expected.png: Added.
* platform/chromium-mac-lion/fast/css/color-correction-on-box-shadow-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/color-correction-on-text-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/color-correction-on-text-shadow-expected.png: Added.
* platform/chromium-mac-lion/fast/css/color-correction-on-text-shadow-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/color-correction-untagged-images-expected.txt: Added.
* platform/chromium-mac-lion/fast/css/font-smoothing-expected.txt: Added.
* platform/chromium-mac-lion/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-mac-lion/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-mac-lion/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-mac-lion/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-mac-lion/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-mac-lion/fast/images/object-image-expected.png: Added.
* platform/chromium-mac-lion/fast/repaint/body-background-image-expected.png: Added.
* platform/chromium-mac-lion/fast/repaint/body-background-image-expected.txt: Added.
* platform/chromium-mac-lion/fast/repaint/overflow-outline-repaint-expected.txt: Added.
* platform/chromium-mac-lion/fast/text/atsui-pointtooffset-calls-cg-expected.txt: Added.
* platform/chromium-mac-lion/fast/text/atsui-rtl-override-selection-expected.txt: Added.
* platform/chromium-mac-lion/fast/text/font-initial-expected.png: Added.
* platform/chromium-mac-lion/fast/text/font-initial-expected.txt: Added.
* platform/chromium-mac-lion/fast/text/line-initial-and-final-swashes-expected.png: Added.
* platform/chromium-mac-lion/platform/chromium/virtual/deferred/fast/images/object-image-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/block/basic/fieldset-stretch-to-legend-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-background-image-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-backgrounds-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-box-shadow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-box-shadow-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-text-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-text-shadow-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-on-text-shadow-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/color-correction-untagged-images-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/css/font-smoothing-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/repaint/body-background-image-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/body-background-image-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/repaint/overflow-outline-repaint-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/text/atsui-pointtooffset-calls-cg-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/text/atsui-rtl-override-selection-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/text/font-initial-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/text/font-initial-expected.txt: Added.
* platform/chromium-mac-snowleopard/fast/text/line-initial-and-final-swashes-expected.png: Added.
* platform/chromium-mac/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/chromium-mac/fast/css/color-correction-expected.txt: Added.
* platform/chromium-mac/fast/css/color-correction-on-background-image-expected.txt: Added.
* platform/chromium-mac/fast/css/color-correction-on-backgrounds-expected.txt: Added.
* platform/chromium-mac/fast/css/color-correction-on-box-shadow-expected.png: Added.
* platform/chromium-mac/fast/css/color-correction-on-box-shadow-expected.txt: Added.
* platform/chromium-mac/fast/css/color-correction-on-text-expected.txt: Added.
* platform/chromium-mac/fast/css/color-correction-on-text-shadow-expected.png: Added.
* platform/chromium-mac/fast/css/color-correction-on-text-shadow-expected.txt: Added.
* platform/chromium-mac/fast/css/color-correction-untagged-images-expected.txt: Added.
* platform/chromium-mac/fast/css/font-smoothing-expected.txt: Added.
* platform/chromium-mac/fast/history/visited-link-background-color-expected.png: Added.
* platform/chromium-mac/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-mac/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-mac/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-mac/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-mac/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-mac/fast/images/object-image-expected.png: Added.
* platform/chromium-mac/fast/repaint/body-background-image-expected.png: Added.
* platform/chromium-mac/fast/repaint/body-background-image-expected.txt: Added.
* platform/chromium-mac/fast/repaint/overflow-outline-repaint-expected.txt: Added.
* platform/chromium-mac/fast/text/atsui-pointtooffset-calls-cg-expected.txt: Added.
* platform/chromium-mac/fast/text/atsui-rtl-override-selection-expected.txt: Added.
* platform/chromium-mac/fast/text/font-initial-expected.png: Added.
* platform/chromium-mac/fast/text/font-initial-expected.txt: Added.
* platform/chromium-mac/fast/text/line-initial-and-final-swashes-expected.png: Added.
* platform/chromium-mac/fast/text/midword-break-before-surrogate-pair-2-expected.png: Added.
* platform/chromium-mac/platform/chromium/virtual/deferred/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/deferred/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-mac/platform/chromium/virtual/deferred/fast/images/object-image-expected.png: Added.
* platform/chromium-win-xp/fast/replaced/border-radius-clip-expected.txt: Added.
* platform/chromium-win/fast/block/basic/fieldset-stretch-to-legend-expected.png:
* platform/chromium-win/fast/css/color-correction-expected.png: Added.
* platform/chromium-win/fast/css/color-correction-on-background-image-expected.png: Added.
* platform/chromium-win/fast/css/color-correction-on-backgrounds-expected.png: Added.
* platform/chromium-win/fast/css/color-correction-on-box-shadow-expected.png: Added.
* platform/chromium-win/fast/css/color-correction-on-text-expected.png: Added.
* platform/chromium-win/fast/css/color-correction-on-text-shadow-expected.png: Added.
* platform/chromium-win/fast/css/color-correction-untagged-images-expected.png: Added.
* platform/chromium-win/fast/css/font-smoothing-expected.png:
* platform/chromium-win/fast/history/visited-link-background-color-expected.png: Added.
* platform/chromium-win/fast/images/object-image-expected.png: Added.
* platform/chromium-win/fast/repaint/body-background-image-expected.png: Added.
* platform/chromium-win/fast/replaced/border-radius-clip-expected.png:
* platform/chromium-win/fast/replaced/border-radius-clip-expected.txt:
* platform/chromium-win/fast/text/atsui-pointtooffset-calls-cg-expected.png:
* platform/chromium-win/fast/text/atsui-rtl-override-selection-expected.png:
* platform/chromium-win/fast/text/font-initial-expected.png: Added.
* platform/chromium-win/fast/text/line-initial-and-final-swashes-expected.txt: Added.
* platform/chromium-win/fast/text/midword-break-before-surrogate-pair-2-expected.png: Added.
* platform/chromium-win/platform/chromium/virtual/deferred/fast/images/object-image-expected.png: Added.
* platform/chromium/fast/canvas/canvas-scale-strokePath-shadow-expected.txt: Removed.
* platform/chromium/fast/css/color-correction-expected.png: Removed.
* platform/chromium/fast/css/color-correction-on-background-image-expected.png: Removed.
* platform/chromium/fast/css/color-correction-on-backgrounds-expected.png: Removed.
* platform/chromium/fast/css/color-correction-on-box-shadow-expected.png: Removed.
* platform/chromium/fast/css/color-correction-on-text-expected.png: Removed.
* platform/chromium/fast/css/color-correction-on-text-shadow-expected.png: Removed.
* platform/chromium/fast/css/color-correction-untagged-images-expected.png: Removed.
* platform/chromium/fast/history/visited-link-background-color-expected.png: Removed.
* platform/chromium/fast/images/imagemap-circle-focus-ring-expected.png: Removed.
* platform/chromium/fast/images/imagemap-focus-ring-outline-color-expected.png: Removed.
* platform/chromium/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Removed.
* platform/chromium/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Removed.
* platform/chromium/fast/images/imagemap-polygon-focus-ring-expected.png: Removed.
* platform/chromium/fast/images/object-image-expected.png: Removed.
* platform/chromium/fast/repaint/body-background-image-expected.png: Removed.
* platform/chromium/fast/replaced/border-radius-clip-expected.png: Removed.
* platform/chromium/fast/text/font-initial-expected.png: Removed.
* platform/chromium/fast/text/line-initial-and-final-swashes-expected.png: Removed.
* platform/chromium/fast/text/line-initial-and-final-swashes-expected.txt: Removed.
* platform/chromium/fast/text/midword-break-before-surrogate-pair-2-expected.png: Removed.
* platform/mac/fast/replaced/border-radius-clip-expected.png: Removed.
* platform/mac/fast/text/line-initial-and-final-swashes-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][WK2] Buildfix when ENABLE_NETSCAPE_PLUGIN_API is disabled
https://bugs.webkit.org/show_bug.cgi?id=103044

Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-11-22
Reviewed by Kentaro Hara.

enum ProcessType has PluginProcess only if ENABLE(PLUGIN_PROCESS) is enabled.
So, guard PluginProcess with ENABLE(PLUGIN_PROCESS).

* UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
(WebKit::ProcessLauncher::launchProcess):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Return an accurate exit code when running Android suites, and wait after restarting adb as root
https://bugs.webkit.org/show_bug.cgi?id=103065

Reviewed by Dirk Pranke.

This addresses two further reliability issues in the Android test running
scripts. Firstly, the run_tests.py script needs to have the --exit_code
argument passed in order to return non-zero codes, which we need for the
build master to distinguish failures from successful runs.

Secondly, it modifies the layout test runner to briefly wait (through
the wait-for-device command) after requesting a device to switch to root
mode. Without this waiting period, commands might get lost and thereby
unexpectedly fail.

* Scripts/run-api-tests:
* Scripts/run-chromium-webkit-unit-tests:
* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidDriver._setup_test):
(ChromiumAndroidDriver._restart_adb_as_root):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Text Autosizing: Improve handling of nested comments on reddit.com
https://bugs.webkit.org/show_bug.cgi?id=102409

Patch by John Mellor <johnme@chromium.org> on 2012-11-22
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

No longer consider overflow != visible as requiring an independent
cluster. Some sites (e.g. reddit.com) wrap ordinary blocks (such as
comments) in overflow:hidden or overflow:auto, for various reasons
(like allowing it to be scrollable, or clipping an element that sticks
out). These reasons are not sufficient justification for a new cluster.

On reddit.com this means that comments will all get the same multiplier,
rather than being independently assigned a variety of multipliers based
on how much text each comment contains (etc), which significantly
improves the look.

Test: fast/text-autosizing/cluster-narrow-in-wide-ohidden.html

* rendering/TextAutosizer.cpp:
(WebCore::TextAutosizer::isAutosizingCluster):

LayoutTests:

Added test to confirm that overflow:hidden no longer triggers a cluster.

* fast/text-autosizing/cluster-narrow-in-wide-ohidden-expected.html: Added.
* fast/text-autosizing/cluster-narrow-in-wide-ohidden.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Guard against a lost focusedNode that input handler isn't yet informed of.
https://bugs.webkit.org/show_bug.cgi?id=103071

Reviewed by Rob Buis.

Fix potential for a crash if input mode is active but
we can't get a focusedNode.

Reviewed Internally by Gen Mak.

* WebKitSupport/SelectionHandler.cpp:
(BlackBerry::WebKit::SelectionHandler::setCaretPosition):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix the MIPS build after r135330
https://bugs.webkit.org/show_bug.cgi?id=102872

Patch by Balazs Kilvady <kilvadyb@homejinni.com> on 2012-11-22
Reviewed by Gavin Barraclough.

Revert/replace functions added to MIPS port.

* assembler/MIPSAssembler.h:
(JSC::MIPSAssembler::revertJumpToMove):
(MIPSAssembler):
(JSC::MIPSAssembler::replaceWithJump):
* assembler/MacroAssemblerMIPS.h:
(MacroAssemblerMIPS):
(JSC::MacroAssemblerMIPS::startOfBranchPtrWithPatchOnRegister):
(JSC::MacroAssemblerMIPS::revertJumpReplacementToBranchPtrWithPatch):
(JSC::MacroAssemblerMIPS::startOfPatchableBranchPtrWithPatchOnAddress):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-webkit-mask shorthand switches -webkit-mask-clip and -webkit-mask-origin values
https://bugs.webkit.org/show_bug.cgi?id=103083

Reviewed by Antti Koivisto.

Source/WebCore:

The order of CSSPropertyWebkitMaskOrigin and CSSPropertyWebkitMaskClip was not correct
for property value. Just changed the order in the property array to match behavior of
background and CSS Masking spec.

Test: fast/masking/parsing-mask.html

* css/StylePropertyShorthand.cpp:
(WebCore::webkitMaskShorthand):

LayoutTests:

Add parser tests for -webkit-mask property.

* fast/masking/parsing-mask-expected.txt: Added.
* fast/masking/parsing-mask.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove PLATFORM(HAIKU) leftovers code
https://bugs.webkit.org/show_bug.cgi?id=103086

Reviewed by Antti Koivisto.

* platform/PlatformWheelEvent.h:
(PlatformWheelEvent):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed.  Rolled DEPS.

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-11-22

* DEPS:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Update Web Notifications Implementation
https://bugs.webkit.org/show_bug.cgi?id=102621

Patch by Jeff Rogers <jrogers@rim.com> on 2012-11-22
Reviewed by George Staikos.

Source/WebKit:

Reviewed internally by George Staikos and Joe Mason.
Internal PR 172120
Add new Notification files and remove obsolete ones.

* PlatformBlackBerry.cmake:

Source/WebKit/blackberry:

Reviewed internally by George Staikos and Joe Mason
Internal PR 172120
Add new notifications implementation for the BlackBerry port. Rename
existing class to match Client naming. Adds NotificationManager
implementation for managing notifications and permissions, and logic
for passing the notifications to the platform provider.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
(BlackBerry::WebKit::WebPagePrivate::init):
(BlackBerry::WebKit::WebPage::updateNotificationPermission):
(WebKit):
(BlackBerry::WebKit::WebPage::notificationClicked):
(BlackBerry::WebKit::WebPage::notificationClosed):
(BlackBerry::WebKit::WebPage::notificationError):
(BlackBerry::WebKit::WebPage::notificationShown):
* Api/WebPage.h:
* Api/WebPageClient.h:
* Api/WebPage_p.h:
(WebPagePrivate):
(BlackBerry::WebKit::WebPagePrivate::notificationManager):
* WebCoreSupport/NotificationClientBlackBerry.cpp: Added.
(WebCore):
(WebCore::NotificationClientBlackBerry::NotificationClientBlackBerry):
(WebCore::NotificationClientBlackBerry::show):
(WebCore::NotificationClientBlackBerry::cancel):
(WebCore::NotificationClientBlackBerry::clearNotifications):
(WebCore::NotificationClientBlackBerry::notificationObjectDestroyed):
(WebCore::NotificationClientBlackBerry::notificationControllerDestroyed):
(WebCore::NotificationClientBlackBerry::requestPermission):
(WebCore::NotificationClientBlackBerry::cancelRequestsForPermission):
(WebCore::NotificationClientBlackBerry::checkPermission):
* WebCoreSupport/NotificationClientBlackBerry.h: Added.
(WebKit):
(WebCore):
(NotificationClientBlackBerry):
* WebCoreSupport/NotificationPresenterImpl.cpp: Removed.
* WebCoreSupport/NotificationPresenterImpl.h: Removed.
* WebKitSupport/NotificationManager.cpp: Added.
(WebKit):
(BlackBerry::WebKit::NotificationManager::NotificationManager):
(BlackBerry::WebKit::NotificationManager::~NotificationManager):
(BlackBerry::WebKit::NotificationManager::show):
(BlackBerry::WebKit::NotificationManager::cancel):
(BlackBerry::WebKit::NotificationManager::clearNotifications):
(BlackBerry::WebKit::NotificationManager::notificationObjectDestroyed):
(BlackBerry::WebKit::NotificationManager::requestPermission):
(BlackBerry::WebKit::NotificationManager::cancelRequestsForPermission):
(BlackBerry::WebKit::NotificationManager::checkPermission):
(BlackBerry::WebKit::NotificationManager::updatePermission):
(BlackBerry::WebKit::NotificationManager::notificationClicked):
(BlackBerry::WebKit::NotificationManager::notificationClosed):
(BlackBerry::WebKit::NotificationManager::notificationError):
(BlackBerry::WebKit::NotificationManager::notificationShown):
(BlackBerry::WebKit::NotificationManager::removeNotificationFromContextMap):
* WebKitSupport/NotificationManager.h: Added.
(WebKit):
(NotificationManager):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[V8] Make worker context prototype chain match other browsers
https://bugs.webkit.org/show_bug.cgi?id=103057

Patch by Dan Carney <dcarney@google.com> on 2012-11-22
Reviewed by Adam Barth.

The following should be defined in a worker:
Object.getOwnPropertyDescriptor(this.__proto__, "postMessage")
It is currently undefined in chrome only. This patch fixes that.

No new tests. No change in functionality.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateImplementation):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Test expectations update after Skia changes.

* fast/repaint/line-flow-with-floats-in-regions-expected.png: Renamed from LayoutTests/platform/efl/fast/repaint/line-flow-with-floats-in-regions-expected.png.
* platform/chromium-linux-x86/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-linux-x86/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-linux-x86/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-linux-x86/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-linux-x86/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-linux-x86/platform/chromium/virtual/deferred/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-linux-x86/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-linux-x86/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-linux-x86/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-linux-x86/platform/chromium/virtual/deferred/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-linux/fast/css/color-correction-expected.png: Added.
* platform/chromium-linux/fast/css/color-correction-on-background-image-expected.png: Added.
* platform/chromium-linux/fast/css/color-correction-on-backgrounds-expected.png: Added.
* platform/chromium-linux/fast/css/color-correction-on-box-shadow-expected.png: Added.
* platform/chromium-linux/fast/css/color-correction-on-text-expected.png: Added.
* platform/chromium-linux/fast/css/color-correction-on-text-shadow-expected.png: Added.
* platform/chromium-linux/fast/css/color-correction-untagged-images-expected.png: Added.
* platform/chromium-linux/fast/css/font-smoothing-expected.png: Added.
* platform/chromium-linux/fast/history/visited-link-background-color-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/history/visited-link-background-color-expected.png.
* platform/chromium-linux/fast/images/imagemap-circle-focus-ring-expected.png: Added.
* platform/chromium-linux/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-linux/fast/images/imagemap-focus-ring-outline-color-expected.png: Added.
* platform/chromium-linux/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-linux/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
* platform/chromium-linux/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-linux/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Added.
* platform/chromium-linux/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-linux/fast/images/imagemap-polygon-focus-ring-expected.png: Added.
* platform/chromium-linux/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-linux/fast/text/atsui-pointtooffset-calls-cg-expected.png: Added.
* platform/chromium-linux/fast/text/atsui-rtl-override-selection-expected.png: Added.
* platform/chromium-linux/fast/text/line-initial-and-final-swashes-expected.png: Added.
* platform/chromium-linux/fast/text/midword-break-before-surrogate-pair-2-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/text/midword-break-before-surrogate-pair-2-expected.png.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-circle-focus-ring-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-polygon-focus-ring-expected.png: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-linux/platform/chromium/virtual/deferred/fast/images/object-image-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/text/midword-break-before-surrogate-pair-2-expected.png.
* platform/chromium-mac-lion/fast/repaint/line-flow-with-floats-in-regions-expected.png:
* platform/chromium-mac-lion/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-mac-lion/svg/batik/paints/gradientLimit-expected.png:
* platform/chromium-mac-lion/svg/batik/text/smallFonts-expected.png:
* platform/chromium-mac-lion/svg/batik/text/textDecoration-expected.png:
* platform/chromium-mac-lion/svg/batik/text/textEffect-expected.png:
* platform/chromium-mac-lion/svg/batik/text/textEffect2-expected.png:
* platform/chromium-mac-lion/svg/batik/text/textFeatures-expected.png:
* platform/chromium-mac-lion/svg/batik/text/textLayout-expected.png:
* platform/chromium-mac-lion/svg/batik/text/textLayout2-expected.png:
* platform/chromium-mac-lion/svg/batik/text/textProperties2-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/line-flow-with-floats-in-regions-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/paints/gradientLimit-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/smallFonts-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/textDecoration-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/textEffect-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/textEffect2-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/textFeatures-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/textLayout-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/textLayout2-expected.png:
* platform/chromium-mac-snowleopard/svg/batik/text/textProperties2-expected.png:
* platform/chromium-mac/fast/repaint/line-flow-with-floats-in-regions-expected.png:
* platform/chromium-mac/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-mac/svg/batik/paints/gradientLimit-expected.png:
* platform/chromium-mac/svg/batik/text/smallFonts-expected.png:
* platform/chromium-mac/svg/batik/text/textDecoration-expected.png:
* platform/chromium-mac/svg/batik/text/textEffect-expected.png:
* platform/chromium-mac/svg/batik/text/textEffect2-expected.png:
* platform/chromium-mac/svg/batik/text/textFeatures-expected.png:
* platform/chromium-mac/svg/batik/text/textLayout-expected.png:
* platform/chromium-mac/svg/batik/text/textLayout2-expected.png:
* platform/chromium-mac/svg/batik/text/textProperties2-expected.png:
* platform/chromium-win-xp/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-win-xp/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-win-xp/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-win-xp/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-win-xp/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-win-xp/platform/chromium/virtual/deferred/fast/images/imagemap-circle-focus-ring-expected.txt: Added.
* platform/chromium-win-xp/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/chromium-win-xp/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/chromium-win-xp/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/chromium-win-xp/platform/chromium/virtual/deferred/fast/images/imagemap-polygon-focus-ring-expected.txt: Added.
* platform/chromium-win/fast/images/imagemap-circle-focus-ring-expected.png: Added.
* platform/chromium-win/fast/images/imagemap-focus-ring-outline-color-expected.png: Added.
* platform/chromium-win/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
* platform/chromium-win/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Added.
* platform/chromium-win/fast/images/imagemap-polygon-focus-ring-expected.png: Added.
* platform/chromium-win/fast/repaint/line-flow-with-floats-in-regions-expected.png: Added.
* platform/chromium-win/fast/text/line-initial-and-final-swashes-expected.png: Added.
* platform/chromium-win/platform/chromium/virtual/deferred/fast/images/imagemap-circle-focus-ring-expected.png: Added.
* platform/chromium-win/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-expected.png: Added.
* platform/chromium-win/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
* platform/chromium-win/platform/chromium/virtual/deferred/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Added.
* platform/chromium-win/platform/chromium/virtual/deferred/fast/images/imagemap-polygon-focus-ring-expected.png: Added.
* platform/chromium-win/svg/batik/filters/filterRegions-expected.png:
* platform/chromium-win/svg/batik/paints/gradientLimit-expected.png:
* platform/chromium-win/svg/batik/text/smallFonts-expected.png:
* platform/chromium-win/svg/batik/text/textDecoration-expected.png:
* platform/chromium-win/svg/batik/text/textEffect-expected.png:
* platform/chromium-win/svg/batik/text/textEffect2-expected.png:
* platform/chromium-win/svg/batik/text/textFeatures-expected.png:
* platform/chromium-win/svg/batik/text/textLayout-expected.png:
* platform/chromium-win/svg/batik/text/textLayout2-expected.png:
* platform/chromium-win/svg/batik/text/textProperties2-expected.png:
* platform/chromium/TestExpectations:
* platform/chromium/fast/history/visited-link-background-color-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/history/visited-link-background-color-expected.png.
* platform/chromium/fast/repaint/line-flow-with-floats-in-regions-expected.png: Removed.
* platform/chromium/fast/text/midword-break-before-surrogate-pair-2-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/text/midword-break-before-surrogate-pair-2-expected.png.
* platform/efl-wk1/fast/css/font-smoothing-expected.png: Renamed from LayoutTests/platform/efl/fast/css/font-smoothing-expected.png.
* platform/efl-wk1/fast/history/visited-link-background-color-expected.png: Renamed from LayoutTests/platform/efl/fast/history/visited-link-background-color-expected.png.
* platform/efl-wk1/fast/images/imagemap-circle-focus-ring-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-circle-focus-ring-expected.png.
* platform/efl-wk1/fast/images/imagemap-focus-ring-outline-color-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-focus-ring-outline-color-expected.png.
* platform/efl-wk1/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png.
* platform/efl-wk1/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png.
* platform/efl-wk1/fast/images/imagemap-polygon-focus-ring-expected.png: Renamed from LayoutTests/platform/efl/fast/images/imagemap-polygon-focus-ring-expected.png.
* platform/efl-wk1/fast/text/atsui-pointtooffset-calls-cg-expected.png: Renamed from LayoutTests/platform/efl/fast/text/atsui-pointtooffset-calls-cg-expected.png.
* platform/efl-wk1/fast/text/atsui-rtl-override-selection-expected.png: Renamed from LayoutTests/platform/efl/fast/text/atsui-rtl-override-selection-expected.png.
* platform/efl-wk1/fast/text/line-initial-and-final-swashes-expected.png: Renamed from LayoutTests/platform/efl/fast/text/line-initial-and-final-swashes-expected.png.
* platform/efl-wk1/fast/text/line-initial-and-final-swashes-expected.txt: Renamed from LayoutTests/platform/efl/fast/text/line-initial-and-final-swashes-expected.txt.
* platform/efl-wk1/fast/text/midword-break-before-surrogate-pair-2-expected.png: Renamed from LayoutTests/platform/efl/fast/text/midword-break-before-surrogate-pair-2-expected.png.
* platform/efl-wk1/svg/batik/filters/filterRegions-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/filters/filterRegions-expected.png.
* platform/efl-wk1/svg/batik/text/smallFonts-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/text/smallFonts-expected.png.
* platform/efl-wk1/svg/batik/text/textDecoration-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/text/textDecoration-expected.png.
* platform/efl-wk1/svg/batik/text/textEffect-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/text/textEffect-expected.png.
* platform/efl-wk1/svg/batik/text/textEffect2-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/text/textEffect2-expected.png.
* platform/efl-wk1/svg/batik/text/textFeatures-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/text/textFeatures-expected.png.
* platform/efl-wk1/svg/batik/text/textLayout-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/text/textLayout-expected.png.
* platform/efl-wk1/svg/batik/text/textLayout2-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/text/textLayout2-expected.png.
* platform/efl-wk1/svg/batik/text/textProperties2-expected.png: Renamed from LayoutTests/platform/efl/svg/batik/text/textProperties2-expected.png.
* platform/gtk/fast/repaint/line-flow-with-floats-in-regions-expected.png: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
window is missing Touch and TouchList - touch event conformance test failure
https://bugs.webkit.org/show_bug.cgi?id=96295

Patch by Rick Byers <rbyers@chromium.org> on 2012-11-22
Reviewed by Adam Barth.

Source/WebCore:

Add Touch and TouchList constructors to window for ENABLE(TOUCH_EVENTS).

Tests: fast/js/global-constructors.html
       fast/events/touch/document-create-touch-list.html

* page/DOMWindow.idl:

LayoutTests:

* fast/events/touch/document-create-touch-list-expected.txt:
* fast/events/touch/script-tests/document-create-touch-list.js: Add instanceof checks
* platform/efl/fast/js/global-constructors-expected.txt: Add new expected constructors
* platform/qt-5.0/fast/js/global-constructors-expected.txt: Add new expected constructors
* platform/qt/fast/js/global-constructors-expected.txt: Add new expected constructors

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