Rebaseline tests listed in Mac TestExpectations as needing new baselines, other than those that
are failing ref tests.

Removed relevant lines from TestExpectations.

Carry along some new image results for the directories which were rebaselined.

Rubber-stamped by Tim Horton

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Try to find ninja if it's not in the path already
https://bugs.webkit.org/show_bug.cgi?id=100988

Reviewed by Ryosuke Niwa.

Similar to the gclient detection logic in update-webkit-chromium

* Scripts/webkitdirs.pm:
(buildChromiumNinja):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Add a prompt to enable global location services
https://bugs.webkit.org/show_bug.cgi?id=100992

PR 227897

Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-11-01
Reviewed by Rob Buis.

Adding a dialog to let the user know location services isn't enabled.
Currently, the browser app does not check whether the global setting for
location service is enabled. This patch adds a dialog to allow the user
to open the settings app and change that setting. This infobar will only
show once per session. If the user fails to turn on location services after
the first prompt, all geolocation requests will automatically fail.

Also, adapting GeolocationClientBlackBerry to the removal of GeoTracker.
The class now talks directly to the geo handler singleton.

* Api/WebPageClient.h:
* WebCoreSupport/GeolocationClientBlackBerry.cpp:
(GeolocationClientBlackBerry::GeolocationClientBlackBerry):
(GeolocationClientBlackBerry::geolocationDestroyed):
(GeolocationClientBlackBerry::startUpdating):
(GeolocationClientBlackBerry::stopUpdating):
(GeolocationClientBlackBerry::requestPermission):
(GeolocationClientBlackBerry::setEnableHighAccuracy):
* WebCoreSupport/GeolocationClientBlackBerry.h:
(WebCore::GeolocationClientBlackBerry::requiresHighAccuracy):
(GeolocationClientBlackBerry):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix assertion failure in RenderGeometryMap::absoluteRect when frame scale != 1.0
https://bugs.webkit.org/show_bug.cgi?id=100912

Patch by Tien-Ren Chen <trchen@chromium.org> on 2012-11-01
Reviewed by Simon Fraser.

Frame scale will add transformation to RenderView, so fixed position doesn't
get propagated up to the viewport by RenderGeometryMap. This is handled
correctly in RenderView::mapLocalToContainer, causing the assertion to fail.
This patch corrects RenderGeometryMap::mapToAbsolute to handle the RenderView
transformation case.

A layout test is added to catch this issue. The test will crash debug build
without this patch.

Source/WebCore:

Test: compositing/geometry/fixed-position-composited-page-scale-scroll.html

* rendering/RenderGeometryMap.cpp:
(WebCore::RenderGeometryMap::mapToAbsolute):

LayoutTests:

* compositing/geometry/fixed-position-composited-page-scale-scroll-expected.txt: Added.
* compositing/geometry/fixed-position-composited-page-scale-scroll.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
XSS blocker false positive when page contains <iframe src="">
https://bugs.webkit.org/show_bug.cgi?id=93416

Reviewed by Adam Barth.

Source/WebCore:

Treat src="" and src="about:blank" as safe resources even if they appear
in the query parameters.

Tests: http/tests/security/xssAuditor/iframe-injection-allowed-2.html
       http/tests/security/xssAuditor/iframe-injection-allowed-3.html
       http/tests/security/xssAuditor/iframe-injection-allowed.html

* html/parser/XSSAuditor.cpp:
(WebCore::XSSAuditor::isLikelySafeResource):

LayoutTests:

* http/tests/security/xssAuditor/iframe-injection-allowed-2-expected.txt: Added.
* http/tests/security/xssAuditor/iframe-injection-allowed-2.html: Added.
* http/tests/security/xssAuditor/iframe-injection-allowed-3-expected.txt: Added.
* http/tests/security/xssAuditor/iframe-injection-allowed-3.html: Added.
* http/tests/security/xssAuditor/iframe-injection-allowed-expected.txt: Added.
* http/tests/security/xssAuditor/iframe-injection-allowed.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Reformat the annotationStyle initializer to appease update-webkit-localizable-strings.

Rubber-stamped by Dan Bernstein.

* WebProcess/Plugins/PDF/PDFPlugin.mm:

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