WebKit-https.git
7 years agoGet rid of the 10ms delay between test executions
fpizlo@apple.com [Thu, 11 Apr 2013 20:01:55 +0000 (20:01 +0000)]
Get rid of the 10ms delay between test executions
https://bugs.webkit.org/show_bug.cgi?id=114458
<rdar://problem/13631112>

Reviewed by Darin Adler and Geoffrey Garen.

More details on this in the bug. Long story short, I don't know why the 10ms delay is
there, and it appears to be the root of some noisyness and unreliability in the results.
Removing it makes results more consistent, which is a good thing.

* resources/driver-TEMPLATE.html:

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

7 years ago[BlackBerry] Initial scale changes depending on the order of page navigations
zhajiang@rim.com [Thu, 11 Apr 2013 19:56:36 +0000 (19:56 +0000)]
[BlackBerry] Initial scale changes depending on the order of page navigations
https://bugs.webkit.org/show_bug.cgi?id=114448

Patch by Jacky Jiang <zhajiang@rim.com>.
Reviewed by Rob Buis.

PR: 323941
During page transitions, absoluteVisibleOverflowSize() and contentsSize()
in fixedLayoutSize() were based on the old page when we just started or
committed provisinal load. In that case, fixedLayoutSize() is very old
page dependent and can cause inconsistent behaviors. For example, if
the old page contents width is 4000, we will get DEFAULT_MAX_LAYOUT_WIDTH 1024
as the new page's fixedLayoutSize; however, we will get 768 if we
navigate to the new page directly.
To fix that, return default layout size if the page doesn't have
virtual viewport and m_loadState is Provisional.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::fixedLayoutSize):

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

7 years agoDefault Implementation of toString for NPObject shouldn't return NPClass & NPObject...
commit-queue@webkit.org [Thu, 11 Apr 2013 19:37:22 +0000 (19:37 +0000)]
Default Implementation of toString for NPObject shouldn't return NPClass & NPObject address as String
https://bugs.webkit.org/show_bug.cgi?id=114450

Patch by Arunprasad Rajkumar <arunprasadr@nds.com> on 2013-04-11
Reviewed by Anders Carlsson.

* bridge/c/c_instance.cpp:
(JSC::Bindings::CInstance::stringValue):

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

7 years agoREGRESSION (142152): ensure we skip past out-of-flow objects when detecting whitespac...
robert@webkit.org [Thu, 11 Apr 2013 19:17:12 +0000 (19:17 +0000)]
REGRESSION (142152): ensure we skip past out-of-flow objects when detecting whitespace to ignore after leading empty inlines
https://bugs.webkit.org/show_bug.cgi?id=114311

Reviewed by Emil A Eklund.

Source/WebCore:

When we hit an empty inline in line layout and try to detect whether it has any whitespace after it that we ought to ignore, then
we need to skip past out-of-flow and floating objects when looking for that whitespace. Failure to do so will result in us
adding the width from the first space we encounter to our line width and over-estimating the real width of the line.

We're hitting this bug now because we have broadened the category of empty inlines that get lineboxes so we go into line layout
and have to deal with them and their subsequent whitespace there. Previously this sort of whitespace would have been simply
consumed by |skipLeadingWhitespace|.

Test: fast/inline/out-of-flow-objects-and-whitespace-after-empty-inline.html

* rendering/RenderBlockLineLayout.cpp:
(WebCore::shouldSkipWhitespaceAfterStartObject):

LayoutTests:

* fast/inline/out-of-flow-objects-and-whitespace-after-empty-inline-expected.txt: Added.
* fast/inline/out-of-flow-objects-and-whitespace-after-empty-inline.html: Added.

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

7 years agoRemove myself from watchlists.
ojan@chromium.org [Thu, 11 Apr 2013 19:14:01 +0000 (19:14 +0000)]
Remove myself from watchlists.
* Scripts/webkitpy/common/config/watchlist:

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

7 years agoAutocorrected text doesn't have a marker of type autocorrected
rniwa@webkit.org [Thu, 11 Apr 2013 18:56:16 +0000 (18:56 +0000)]
Autocorrected text doesn't have a marker of type autocorrected
https://bugs.webkit.org/show_bug.cgi?id=114337

Reviewed by Darin Adler.

Source/WebCore:

The bug was caused by markAndReplaceFor's text replacement errornously assuming that there are
no other text checking result starting at the same offset. That resulted in us adjusting location
offsets of the subsequent results pointing at the replaced text, hit an assertion, and blow up.

Fixed the bug by skipping all remaining results for the replaced text since they're no longer
applicable.

Tests: Existing autocorection tests have been updated to assert new behavior.

* editing/Editor.cpp:
(WebCore::Editor::markAndReplaceFor):

LayoutTests:

Updated tests to assert the existence of "autocorrected" markers.

* platform/mac/editing/spelling/click-autocorrected-word-expected.png:
* platform/mac/editing/spelling/click-autocorrected-word-expected.txt:
* platform/mac/editing/spelling/click-autocorrected-word.html:
* platform/mac/editing/spelling/delete-into-autocorrected-word-expected.png:
* platform/mac/editing/spelling/delete-into-autocorrected-word-expected.txt:
* platform/mac/editing/spelling/delete-into-autocorrected-word.html:
* platform/mac/editing/spelling/forward-delete-into-autocorrected-word-expected.png:
* platform/mac/editing/spelling/forward-delete-into-autocorrected-word-expected.txt:
* platform/mac/editing/spelling/forward-delete-into-autocorrected-word.html:
* platform/mac/editing/spelling/move-cursor-to-autocorrected-word-expected.png:
* platform/mac/editing/spelling/move-cursor-to-autocorrected-word-expected.txt:
* platform/mac/editing/spelling/move-cursor-to-autocorrected-word.html:
* platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.png:
* platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word-expected.txt:
* platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word.html:

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

7 years ago[CSS Shaders] Parse the geometry descriptor
michelangelo@webkit.org [Thu, 11 Apr 2013 18:54:09 +0000 (18:54 +0000)]
[CSS Shaders] Parse the geometry descriptor
https://bugs.webkit.org/show_bug.cgi?id=110815

Source/WebCore:

Added initial parsing for the "geometry" descriptor, as per specification:
https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#geometry
This descriptor allows to specify the mesh geometry for custom filters.

Reviewed by Dirk Schulze.

Tests: css3/filters/custom-with-at-rule-syntax/parsing-geometry-property-invalid.html
       css3/filters/custom-with-at-rule-syntax/parsing-geometry-property-valid.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseGeometry): New method that parses the geometry
descriptor (grid()).
(WebCore):
* css/CSSParser.h:
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in: Added conditional "geometry" property.
* css/CSSValueKeywords.in: Added conditional "attached" value keyword; detached
was already there.

LayoutTests:

Positive and negative parsing tests for the "geometry" descriptor as
per specification:
https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#geometry

Reviewed by Dirk Schulze.

* css3/filters/custom-with-at-rule-syntax/parsing-geometry-property-invalid-expected.txt: Added.
* css3/filters/custom-with-at-rule-syntax/parsing-geometry-property-invalid.html: Added.
* css3/filters/custom-with-at-rule-syntax/parsing-geometry-property-valid-expected.txt: Added.
* css3/filters/custom-with-at-rule-syntax/parsing-geometry-property-valid.html: Added.
* css3/filters/custom-with-at-rule-syntax/script-tests/parsing-geometry-property-invalid.js: Added.
(testInvalidGeometryProperty):
* css3/filters/custom-with-at-rule-syntax/script-tests/parsing-geometry-property-valid.js: Added.
(testGeometryProperty):

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

7 years agoMake StorageAreaMap dispatch session storage events
andersca@apple.com [Thu, 11 Apr 2013 18:43:40 +0000 (18:43 +0000)]
Make StorageAreaMap dispatch session storage events
https://bugs.webkit.org/show_bug.cgi?id=114454

Reviewed by Beth Dakin.

Source/WebCore:

Export storage symbols and headers needed by WebKit2.

* WebCore.exp.in:
* WebCore.xcodeproj/project.pbxproj:

Source/WebKit2:

* WebProcess/Storage/StorageAreaMap.cpp:
(WebKit::StorageAreaMap::dispatchStorageEvent):
Depending on the storage area type, call dispatchSessionStorageEvent or dispatchLocalStorageEvent.

(WebKit::StorageAreaMap::dispatchSessionStorageEvent):
Enumerate all the frames in our page and dispatch the event to the relevant ones.

(WebKit::StorageAreaMap::dispatchLocalStorageEvent):
Add empty stub for now.

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

7 years agoUnreviewed.
zandobersek@gmail.com [Thu, 11 Apr 2013 18:39:06 +0000 (18:39 +0000)]
Unreviewed.

* Source/autotools/symbols.filter: Stop exporting redundant symbols.

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

7 years agoUnreviewed GTK gardening.
zandobersek@gmail.com [Thu, 11 Apr 2013 18:27:00 +0000 (18:27 +0000)]
Unreviewed GTK gardening.

* platform/gtk/TestExpectations: Removing expectations for a bunch of tests that are passing.

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

7 years agoBuild fix. Don't hard-code queues.webkit.org at least during the transition.
rniwa@webkit.org [Thu, 11 Apr 2013 18:19:12 +0000 (18:19 +0000)]
Build fix. Don't hard-code queues.webkit.org at least during the transition.

* QueueStatusServer/templates/statusbubble.html:

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

7 years agoImplement more logic in StorageAreaMap
andersca@apple.com [Thu, 11 Apr 2013 17:44:17 +0000 (17:44 +0000)]
Implement more logic in StorageAreaMap
https://bugs.webkit.org/show_bug.cgi?id=114451

Reviewed by Alexey Proskuryakov.

* Platform/CoreIPC/HandleMessage.h:
(CoreIPC::callMemberFunction):
Add new overload.

* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::StorageArea::addListener):
(WebKit::StorageManager::StorageArea::removeListener):
These take storage map IDs.

(WebKit::StorageManager::StorageArea::setItem):
Rename storageAreaID to sourceStorageAreaID.

(WebKit::StorageManager::StorageArea::dispatchEvents):
Remove the code that would not dispatch to the source connection, there may still be storage areas interested in those events.

(WebKit::StorageManager::setItem):
This now takes the source storage area ID.

(WebKit::StorageManager::findStorageArea):
This takes a storage map ID.

* UIProcess/Storage/StorageManager.messages.in:
SetItem now takes the source storage area ID as well.

* WebProcess/Storage/StorageAreaImpl.cpp:
(WebKit::StorageAreaImpl::setItem):
Pass the source frame to StorageAreaMap::setItem.

* WebProcess/Storage/StorageAreaMap.cpp:
(WebKit::StorageAreaMap::StorageAreaMap):
Send CreateStorageMap and add the object as a message receiver.

(WebKit::StorageAreaMap::~StorageAreaMap):
Send DestroyStorageMap and remove the object as a message receiver.

(WebKit::StorageAreaMap::length):
(WebKit::StorageAreaMap::key):
(WebKit::StorageAreaMap::item):
(WebKit::StorageAreaMap::contains):
Load values and forward calls to the storage map.

(WebKit::StorageAreaMap::setItem):
This now takes the source frame as well. Update the local storage map and send a SetItem message.

(WebKit::StorageAreaMap::loadValuesIfNeeded):
Get the values from the storage manager.

(WebKit::StorageAreaMap::dispatchStorageEvent):
This now takes the source storage area ID.

* WebProcess/Storage/StorageAreaMap.messages.in:
DispatchStorageEvent now takes the source storage area ID.

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

7 years agoWeb/Plugin process deadlock initializing async plugins.
beidson@apple.com [Thu, 11 Apr 2013 17:18:07 +0000 (17:18 +0000)]
Web/Plugin process deadlock initializing async plugins.
<rdar://problem/13525232> and https://bugs.webkit.org/show_bug.cgi?id=114217

Rubberstamped by Anders Carlsson.

Rollout r147953 and r147968 as we identified other causes for this.

Source/WebKit2:

* PluginProcess/WebProcessConnection.cpp:
(WebKit::WebProcessConnection::createPluginAsynchronously):
* WebProcess/Plugins/PluginProxy.messages.in:

LayoutTests:

* platform/mac-wk2/TestExpectations:

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

7 years ago[WK2] Run toString & valueOf LayoutTests for WebKit2 also
commit-queue@webkit.org [Thu, 11 Apr 2013 17:02:44 +0000 (17:02 +0000)]
[WK2] Run toString & valueOf LayoutTests for WebKit2 also
https://bugs.webkit.org/show_bug.cgi?id=114433

Patch by Arunprasad Rajkumar <arunprasadr@nds.com> on 2013-04-11
Reviewed by Anders Carlsson.

* platform/wk2/TestExpectations:

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

7 years agoUse webkit-queues.appspot.com instead of webkit-commit-queue.appspot.com
rniwa@webkit.org [Thu, 11 Apr 2013 16:55:47 +0000 (16:55 +0000)]
Use webkit-queues.appspot.com instead of webkit-commit-queue.appspot.com
https://bugs.webkit.org/show_bug.cgi?id=114397

Reviewed by Benjamin Poulain.

Reland the patch since Alan appears to have finished the migration.

* Scripts/webkitpy/common/net/statusserver.py:
(StatusServer):

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

7 years agohandleMouseMoveEvent should let hit-testing hit-test scrollbars
allan.jensen@digia.com [Thu, 11 Apr 2013 16:52:29 +0000 (16:52 +0000)]
handleMouseMoveEvent should let hit-testing hit-test scrollbars
https://bugs.webkit.org/show_bug.cgi?id=114430

Reviewed by Antonio Gomes.

Allow hit-testing to hit-test frame scrollbars so handleMouseMoveEvent
does not have to do it itself.

* page/EventHandler.cpp:
(WebCore::EventHandler::handleMouseMoveEvent):

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

7 years ago[Gtk] Combo boxes should be arrow-out-of-able similar to list boxes when caret-browsi...
commit-queue@webkit.org [Thu, 11 Apr 2013 16:38:32 +0000 (16:38 +0000)]
[Gtk] Combo boxes should be arrow-out-of-able similar to list boxes when caret-browsing is enabled.
https://bugs.webkit.org/show_bug.cgi?id=76796

Patch by Brian Holt <brian.holt@samsung.com> on 2013-04-11
Reviewed by Chris Fleizach.

Source/WebCore:

When using caret-browsing with the right and left arrows, the
behaviour of menuLists should be the same as listBoxes. This means
not default-handling the event and passing it up the stack instead.

* html/HTMLSelectElement.cpp:
(WebCore::HTMLSelectElement::menuListDefaultEventHandler):

Tools:

Make the Gtk window for the DRT a toplevel so that it gets the
focus from the window manager when the test starts.

* DumpRenderTree/gtk/DumpRenderTree.cpp:
(main):

LayoutTests:

Adding a new test to verify that it is possible to arrow out of
combo boxes when caret browsing is enabled. Updated failing tests
to reflect changed accessibility events in the DRT.

* platform/gtk/accessibility/aria-slider-required-attributes-expected.txt: Updated.
* platform/gtk/accessibility/caret-browsing-select-focus-expected.txt: Added.
* platform/gtk/accessibility/caret-browsing-select-focus.html: Added.
* platform/gtk/accessibility/combo-box-collapsed-selection-changed-expected.txt: Updated.

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

7 years agoRemove some ResourceHandle.h includes
ap@apple.com [Thu, 11 Apr 2013 16:32:24 +0000 (16:32 +0000)]
Remove some ResourceHandle.h includes
https://bugs.webkit.org/show_bug.cgi?id=114416

Reviewed by Ryosuke Niwa.

Source/WebCore:

* loader/CrossOriginAccessControl.h:
* loader/CrossOriginPreflightResultCache.h:
These files don't need ResourceHandle.h, just ResourceHandleTypes.h.

* loader/TextTrackLoader.cpp:
* loader/ThreadableLoader.h:
* loader/appcache/ApplicationCacheGroup.h:
* loader/cache/MemoryCache.h:
* loader/mac/ResourceLoaderMac.mm:
* page/Settings.cpp:
* platform/network/AuthenticationChallengeBase.cpp:
* platform/network/cf/CookieJarCFNet.cpp:
* platform/network/cf/ResourceRequestCFNet.cpp:
* xml/XSLTProcessorLibxslt.cpp:
* xml/parser/XMLDocumentParser.cpp:
* xml/parser/XMLDocumentParserLibxml2.cpp:
Just straightforward removal of includes.

Source/WebKit2:

* WebProcess/Network/NetworkProcessConnection.cpp: Added an include that is now
necessary.

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

7 years agoUse CSS4 image-rendering to determing image scaling quality
allan.jensen@digia.com [Thu, 11 Apr 2013 16:19:39 +0000 (16:19 +0000)]
Use CSS4 image-rendering to determing image scaling quality
https://bugs.webkit.org/show_bug.cgi?id=113405

Reviewed by Simon Fraser.

Source/WebCore:

Implement the new CSS4 image-rendering property values.

Image scaling now uses low-quality (pixelated) scaling for
crisp-edges, pixelated and optimizeSpeed values, and always
use high quality (smooth) scaling for -webkit-smooth and
optimizeQuality. The latter can be used to disable low quality
scaling during CSS animations or live resizing.

The new values are protected with a new CSS4_IMAGES feature, but
the crisp-edge value has been introduced before to displace the
deprecated -webkit-optimize-contrast value, and optimizeSpeed
and optimizeQuality values are supported for SVG compatibility.

* css/CSSParser.cpp:
(WebCore::isValidKeywordPropertyAndValue):
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator EImageRendering):
* css/CSSValueKeywords.in:
* rendering/RenderBoxModelObject.cpp:
(WebCore::ImageQualityController::shouldPaintAtLowQuality):
* rendering/RenderHTMLCanvas.cpp:
(WebCore::RenderHTMLCanvas::paintReplaced):
* rendering/style/RenderStyleConstants.h:

Tools:

Introduce new flag to enable experimental support for CSS4 Images.

* Scripts/webkitperl/FeatureList.pm:

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

7 years agoAdded UNLIKELY() suggested in https://bugs.webkit.org/show_bug.cgi?id=114366
msaboff@apple.com [Thu, 11 Apr 2013 16:19:35 +0000 (16:19 +0000)]
Added UNLIKELY() suggested in https://bugs.webkit.org/show_bug.cgi?id=114366
after checking in the original change.

Rubber-stamped by Jessie Berlin.

* dfg/DFGOperations.cpp:

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

7 years agoBuild fix: use of uninitialized variable in ScrollingStateTree
commit-queue@webkit.org [Thu, 11 Apr 2013 16:02:20 +0000 (16:02 +0000)]
Build fix: use of uninitialized variable in ScrollingStateTree
https://bugs.webkit.org/show_bug.cgi?id=114443

Patch by Adenilson Cavalcanti <cavalcantii@gmail.com> on 2013-04-11
Reviewed by Anders Carlsson.

Initialize pointer to zero before use, fixes build.
No new tests, no changes on behavior.

* page/scrolling/ScrollingStateTree.cpp:
(WebCore::ScrollingStateTree::attachNode):

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

7 years ago[CSS Shaders] Parse mix descriptor
krit@webkit.org [Thu, 11 Apr 2013 15:55:25 +0000 (15:55 +0000)]
[CSS Shaders] Parse mix descriptor
https://bugs.webkit.org/show_bug.cgi?id=114414

Reviewed by Antti Koivisto.

Source/WebCore:

Add support for the 'mix' descriptor in the filter at-rule to support blend modes
and composite operators in CSS Shaders.
Each pixel in the fragment shader will be blended and composited with the
backdrop by taking these values into account.

https://dvcs.w3.org/hg/FXTF/raw-file/tip/filters/index.html#custom-filter-mix

Tests: css3/filters/custom-with-at-rule-syntax/parsing-mix-property-invalid.html
       css3/filters/custom-with-at-rule-syntax/parsing-mix-property-valid.html

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
* css/CSSParser.cpp: Added 'mix' property and fail parsing if not inside
    of an @filter rule.
(WebCore::CSSParser::parseValue):
(WebCore::CSSParser::parseFilterRuleMix): New helper function to verify
    values.
(WebCore):
* css/CSSParser.h:
* css/CSSProperty.cpp:
(WebCore::CSSProperty::isInheritedProperty):
* css/CSSPropertyNames.in: Added new property name 'mix'.
* css/StyleResolver.cpp:
(WebCore::StyleResolver::applyProperty):

LayoutTests:

Tests for the 'mix' descriptor on @filter rule.

* css3/filters/custom-with-at-rule-syntax/parsing-mix-property-invalid-expected.txt: Added.
* css3/filters/custom-with-at-rule-syntax/parsing-mix-property-invalid.html: Added.
* css3/filters/custom-with-at-rule-syntax/parsing-mix-property-valid-expected.txt: Added.
* css3/filters/custom-with-at-rule-syntax/parsing-mix-property-valid.html: Added.
* css3/filters/custom-with-at-rule-syntax/script-tests/parsing-mix-property-invalid.js: Added.
(testInvalidMixProperty):
* css3/filters/custom-with-at-rule-syntax/script-tests/parsing-mix-property-valid.js: Added.
(testMixProperty):

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

7 years ago[Qt][Mac] Linking fails with Qt 5.1
abecsi@webkit.org [Thu, 11 Apr 2013 15:09:53 +0000 (15:09 +0000)]
[Qt][Mac] Linking fails with Qt 5.1
https://bugs.webkit.org/show_bug.cgi?id=114435

Reviewed by Tor Arne Vestbø.

Qt 5.1 enables C++11 by default when using clang on Mac
and links against the libc++ standard library. As a result
building the QtWebKit shared library fails when linking
agains the ANGLE intermediate static library because libc++
misses some symbols needed by ANGLE.
Disable C++11 for the ANGLE intermediate library to fix the build.

* ANGLE.pri:

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

7 years agoParent box with background-size auto and gradient image does not get properly repaint...
commit-queue@webkit.org [Thu, 11 Apr 2013 14:51:08 +0000 (14:51 +0000)]
Parent box with background-size auto and gradient image does not get properly repainted when child box is resized.
https://bugs.webkit.org/show_bug.cgi?id=114424

Source/WebCore:

Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-11
Reviewed by Antti Koivisto.

Initiate full repaint on fill layer, when the image is generated and the background
property defines auto size.
http://www.w3.org/TR/css3-background/#background-size
'If the image has neither an intrinsic width nor an intrinsic height, its size is determined as for 'contain'.'

Extended fast/repaint/background-shorthand-with-gradient-and-height-changes.html
to cover this case too.

* rendering/RenderObject.cpp:
(WebCore::mustRepaintFillLayers):

LayoutTests:

Patch by Zalan Bujtas <zalan@apple.com> on 2013-04-11
Reviewed by Antti Koivisto.

* fast/repaint/background-shorthand-with-gradient-and-height-changes-expected.txt:
* fast/repaint/background-shorthand-with-gradient-and-height-changes.html:

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

7 years ago[GTK][AC] use a smart pointer for GList and ClutterCanvas
commit-queue@webkit.org [Thu, 11 Apr 2013 14:42:14 +0000 (14:42 +0000)]
[GTK][AC] use a smart pointer for GList and ClutterCanvas
https://bugs.webkit.org/show_bug.cgi?id=114057

Patch by ChangSeok Oh <changseok.oh@collabora.com> on 2013-04-11
Reviewed by Gustavo Noronha Silva.

We can make simple code & prevent possible memory leak by using a proper smart pointer.
Especially if we get children by clutter_actor_get_children, we should free it after using.

No functionality changed.

* platform/graphics/clutter/GraphicsLayerActor.cpp:
(graphicsLayerActorUpdateTexture):
(graphicsLayerActorRemoveAll):

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

7 years ago[BlackBerry][CSS Filters] Blur filter fails to recompute blur size when layer size...
anilsson@rim.com [Thu, 11 Apr 2013 14:36:22 +0000 (14:36 +0000)]
[BlackBerry][CSS Filters] Blur filter fails to recompute blur size when layer size changes
https://bugs.webkit.org/show_bug.cgi?id=114272

Reviewed by Rob Buis.

Blur appeared blocky or pixelated when surface changed size after
creating the filter actions. The initial image size was used to
determine the blur size (expressed in texture coordinate system).
Fixed by recomputing the blur size when the surface size changes, using
a new Uniform1f subclass that can use a functor to compute the uniform
value per-frame.

This fixes css3/filters/effect-blur-hw.html. This can only be verified
by manual inspection because the BlackBerry port is not currently using
pixel tests.

PR 323730

* platform/graphics/blackberry/LayerFilterRenderer.cpp:
(WebCore):
(SurfaceFunctor):
(WebCore::SurfaceFunctor::SurfaceFunctor):
(InverseSurfaceWidth):
(WebCore::InverseSurfaceWidth::InverseSurfaceWidth):
(WebCore::InverseSurfaceWidth::operator()):
(InverseSurfaceHeight):
(WebCore::InverseSurfaceHeight::InverseSurfaceHeight):
(WebCore::LayerFilterRenderer::actionsForOperations):
* platform/graphics/blackberry/LayerFilterRenderer.h:
(Uniform1f):
(WebCore):
(Uniform1fWithFunctor):
(WebCore::Uniform1fWithFunctor::create):
(WebCore::Uniform1fWithFunctor::Uniform1fWithFunctor):
(WebCore::Uniform1fWithFunctor::apply):
(WebCore::Uniform1f::createWithFunctor):

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

7 years ago[BlackBerry] Accelerated compositing debug rectangle incorrectly drawn for layers...
anilsson@rim.com [Thu, 11 Apr 2013 14:28:00 +0000 (14:28 +0000)]
[BlackBerry] Accelerated compositing debug rectangle incorrectly drawn for layers with surfaces
https://bugs.webkit.org/show_bug.cgi?id=114275

Reviewed by Carlos Garcia Campos.

The drawDebugBorder method was updated to mirror the logic in
compositeLayersRecursive, i.e. if we're compositing a surface to the
screen, use the transformed bounds stored in the surface. The bounds
stored in the layer should only be used when drawing the layer to the
surface.

Speaking of which, also update the code to skip border drawing when
drawing a layer to a surface. Drawing the borders inside the surface
would only result in messing up the surface contents, especially when
CSS filters like blur were the reason for having a surface in the first
place - the border would be blurred and hard to discern.

Only manually testable, the debug border is disabled during layout
tests.

PR 323746

* platform/graphics/blackberry/LayerRenderer.cpp:
(WebCore::LayerRenderer::drawDebugBorder):
* platform/graphics/blackberry/LayerRendererSurface.cpp:
(WebCore::LayerRendererSurface::drawRect):
(WebCore::LayerRendererSurface::transformedBounds): Added.
(WebCore):
* platform/graphics/blackberry/LayerRendererSurface.h:
(LayerRendererSurface):

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

7 years ago[BlackBerry] Compiler warning in LayerWebKitThread.cpp
anilsson@rim.com [Thu, 11 Apr 2013 14:27:14 +0000 (14:27 +0000)]
[BlackBerry] Compiler warning in LayerWebKitThread.cpp
https://bugs.webkit.org/show_bug.cgi?id=114277

Reviewed by Carlos Garcia Campos.

All the relevant WTF::Vector APIs use size_t, storing the position in
an int resulted in a compiler warning. Fixed by switching to size_t.

No change in behavior, no new tests.

PR 323753

* platform/graphics/blackberry/LayerWebKitThread.cpp:
(WebCore::LayerWebKitThread::remove):
(WebCore::LayerWebKitThread::replaceSublayer):

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

7 years ago[CoordinatedGraphics] Use ScrollingStateTree to handle fixed elements positioning...
mikhail.pozdnyakov@intel.com [Thu, 11 Apr 2013 13:16:20 +0000 (13:16 +0000)]
[CoordinatedGraphics] Use ScrollingStateTree to handle fixed elements positioning while scrolling
https://bugs.webkit.org/show_bug.cgi?id=114353

Reviewed by Noam Rosenthal.

ScrollingCoordinatorCoordinatedGraphics should implement threaded scrolling interface and
re-use threaded scrolling approach (ScrollingStateTree and ViewportConstraints) to handle
fixed/sticky elements positioning while scrolling. The rationals are below.

Before the change ScrollingCoordinatorCoordinatedGraphics was implementing Chromium-specific
interface which is going to be removed eventually as there is no ScrollingCoordinatorChromium
existing.

Tested by existing manual tests (fixed-position.html for example.

* CMakeLists.txt:
* Target.pri:
    Included ScrollingStateTree files.

* page/scrolling/ScrollingStateFixedNode.cpp:
* page/scrolling/ScrollingStateFixedNode.h:
* page/scrolling/ScrollingStateNode.cpp:
* page/scrolling/ScrollingStateNode.h:
* page/scrolling/ScrollingStateScrollingNode.cpp:
* page/scrolling/ScrollingStateScrollingNode.h:
* page/scrolling/ScrollingStateStickyNode.cpp:
* page/scrolling/ScrollingStateStickyNode.h:
* page/scrolling/ScrollingStateTree.cpp:
* page/scrolling/ScrollingStateTree.h:
    Removed ENABLE(THREADED_SCROLLING) code guards.

* page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp:
(WebCore::ScrollingCoordinatorCoordinatedGraphics::ScrollingCoordinatorCoordinatedGraphics):
(WebCore::ScrollingCoordinatorCoordinatedGraphics::~ScrollingCoordinatorCoordinatedGraphics):
(WebCore):
(WebCore::ScrollingCoordinatorCoordinatedGraphics::attachToStateTree):
(WebCore::ScrollingCoordinatorCoordinatedGraphics::detachFromStateTree):
(WebCore::ScrollingCoordinatorCoordinatedGraphics::clearStateTree):
(WebCore::ScrollingCoordinatorCoordinatedGraphics::updateViewportConstrainedNode):
* page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.h:
    ScrollingCoordinatorCoordinatedGraphics is using threaded scrolling approach to handle fixed
    elements positioning while scrolling.

(WebCore):
(ScrollingCoordinatorCoordinatedGraphics):
* page/scrolling/coordinatedgraphics/ScrollingStateNodeCoordinatedGraphics.cpp: Added.
(WebCore):
(WebCore::ScrollingStateNode::platformScrollLayer):
(WebCore::ScrollingStateNode::setScrollPlatformLayer):
(WebCore::ScrollingStateNode::setScrollLayer):
* page/scrolling/coordinatedgraphics/ScrollingStateScrollingNodeCoordinatedGraphics.cpp: Added.
(WebCore):
(WebCore::ScrollingStateScrollingNode::counterScrollingPlatformLayer):
(WebCore::ScrollingStateScrollingNode::setCounterScrollingLayer):

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

7 years ago[Qt] Unreviewed gardening. Remove platform specific expected after r148195.
zarvai@inf.u-szeged.hu [Thu, 11 Apr 2013 12:49:34 +0000 (12:49 +0000)]
[Qt] Unreviewed gardening. Remove platform specific expected after r148195.

* platform/qt/fast/events/backspace-navigates-back-expected.txt: Removed.

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

7 years ago[Qt] EventHandler should handle Space and BackSpace
allan.jensen@digia.com [Thu, 11 Apr 2013 11:46:18 +0000 (11:46 +0000)]
[Qt] EventHandler should handle Space and BackSpace
https://bugs.webkit.org/show_bug.cgi?id=114428

Reviewed by Jocelyn Turcotte.

Source/WebCore:

Enable default space-handling for Qt.

* page/EventHandler.cpp:

Source/WebKit/qt:

Remove our own handling of space and backspace.

* WebCoreSupport/QWebPageAdapter.cpp:
(QWebPageAdapter::handleScrolling):
* WidgetApi/qwebpage.cpp:
(QWebPagePrivate::keyPressEvent):

Source/WebKit2:

Remove our own handling of space and backspace.

* WebProcess/WebPage/qt/WebPageQt.cpp:
(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

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

7 years agoIconDatabase: Simplify boolean logic in assertion.
rakuco@webkit.org [Thu, 11 Apr 2013 11:37:53 +0000 (11:37 +0000)]
IconDatabase: Simplify boolean logic in assertion.
https://bugs.webkit.org/show_bug.cgi?id=114425

Reviewed by Andreas Kling.

Follow-up to r148097; drop the overzealous use of !! to turn a
PassRefPtr into a boolean.

* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::updateIconRecord):

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

7 years ago[Qt] Unreviewed gardending. Greening bots.
zarvai@inf.u-szeged.hu [Thu, 11 Apr 2013 11:28:13 +0000 (11:28 +0000)]
[Qt] Unreviewed gardending. Greening bots.

* platform/qt-5.0-wk1/loader/go-back-cached-main-resource-expected.txt: Rebaselining after r148182.
* platform/qt-5.0-wk2/loader/go-back-cached-main-resource-expected.txt: Rebaselining after r148182.
* platform/qt/TestExpectations:

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

7 years ago[BlackBerry] LayerTexture refactoring
anilsson@rim.com [Thu, 11 Apr 2013 11:11:44 +0000 (11:11 +0000)]
[BlackBerry] LayerTexture refactoring
https://bugs.webkit.org/show_bug.cgi?id=114276

Reviewed by Carlos Garcia Campos.

Source/WebCore:

Remove the GpuHandle and HostType typedefs from LayerTexture, they
don't make any sense now that we removed the Skia code paths. With Skia
they used to be an OpenGL texture ID and an SkBitmap respectively, but
now it's just BlackBerry::Platform::Graphics::Buffer all around.

This allows us to rename textureId() into buffer() which is more to the
point. The texture ID concept is now up for grabs and can be used to
consolidate all the various code for extracting an OpenGL texture from
a BlackBerry::Platform::Graphics::Buffer. This opportunity is seized in
LayerTexture::platformTexture(), a name which makes more sense than
textureId() for anyone familiar with the GraphicsContext3D code. We can
also leverage the Platform3DObject typedef to avoid including gl2.h.

The vertex attribute state was getting trampled when interacting with
BlackBerry::Platform::Graphics in the LayerFilterRenderer. Some
additional GL state save/restore incantations when accessing the OpenGL
texture for a LayerTexture in the new LayerTexture::platformTexture()
method fixes various CSS Filters test cases.

Since we removed the Skia integration from LayerTiler, nobody cares
about the dirty rect, tile rect or opaqueness of the tile contents. So
remove those parameters from the updateContents code path.

No change in behavior except for fixing CSS Filters tests like
css3/filters/effect-blur-hw.html. This can only be verified by manually
looking at the tests, we don't have pixel test support to catch this
kind of regression.

PR 322882

* platform/graphics/blackberry/LayerCompositingThread.cpp:
(WebCore::LayerCompositingThread::drawSurface):
* platform/graphics/blackberry/LayerFilterRenderer.cpp:
(WebCore::LayerFilterRenderer::ping):
(WebCore::LayerFilterRenderer::pong):
(WebCore::LayerFilterRenderer::pushSnapshot):
(WebCore::LayerFilterRenderer::popSnapshot):
(WebCore::LayerFilterRenderer::applyActions):
* platform/graphics/blackberry/LayerRenderer.cpp:
(WebCore::LayerRenderer::useSurface):
* platform/graphics/blackberry/LayerTexture.cpp:
(WebCore::LayerTexture::LayerTexture):
(WebCore::LayerTexture::updateContents):
(WebCore::LayerTexture::setContentsToColor):
(WebCore::LayerTexture::protect):
(WebCore::LayerTexture::platformTexture):
(WebCore):
* platform/graphics/blackberry/LayerTexture.h:
(WebCore::LayerTexture::isDirty):
(WebCore::LayerTexture::buffer):
(LayerTexture):
(WebCore::LayerTexture::setBuffer):
* platform/graphics/blackberry/LayerTile.cpp:
(WebCore::LayerTile::setContents):
(WebCore::LayerTile::updateContents):
* platform/graphics/blackberry/LayerTile.h:
(WebCore::LayerTile::hasTexture):
(LayerTile):
* platform/graphics/blackberry/LayerTiler.cpp:
(WebCore::LayerTiler::updateTextureContentsIfNeeded):
(WebCore::LayerTiler::uploadTexturesIfNeeded):
(WebCore::LayerTiler::performTileJob):
(WebCore::LayerTiler::drawTile):
* platform/graphics/blackberry/LayerTiler.h:
(WebCore::LayerTiler::TextureJob::TextureJob):
(WebCore::LayerTiler::TextureJob::setContents):
(WebCore::LayerTiler::TextureJob::updateContents):
(TextureJob):
(LayerTiler):
* platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
(WebCore::TextureCacheCompositingThread::createBuffer):
(WebCore::TextureCacheCompositingThread::collectGarbage):
(WebCore::TextureCacheCompositingThread::install):
(WebCore::TextureCacheCompositingThread::resizeTexture):
(WebCore::TextureCacheCompositingThread::evict):
(WebCore::TextureCacheCompositingThread::textureForContents):
(WebCore::TextureCacheCompositingThread::updateContents):
* platform/graphics/blackberry/TextureCacheCompositingThread.h:
(TextureCacheCompositingThread):
(WebCore::TextureCacheCompositingThread::ZombieTexture::ZombieTexture):
(ZombieTexture):

Source/WebKit/blackberry:

Adapt to the LayerTexture refactoring down in WebCore.

PR 322882

* Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::drawTextures):

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

7 years agoRemove code for Chromium from wkbuild.py
rniwa@webkit.org [Thu, 11 Apr 2013 10:00:33 +0000 (10:00 +0000)]
Remove code for Chromium from wkbuild.py
https://bugs.webkit.org/show_bug.cgi?id=114423

Reviewed by Benjamin Poulain.

* BuildSlaveSupport/build.webkit.org-config/wkbuild.py:
(_should_file_trigger_build):
* BuildSlaveSupport/build.webkit.org-config/wkbuild_unittest.py:
(ShouldBuildTest):

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

7 years ago[BlackBerry] RenderThemeBlackBerry: upstream missing code
commit-queue@webkit.org [Thu, 11 Apr 2013 09:49:05 +0000 (09:49 +0000)]
[BlackBerry] RenderThemeBlackBerry: upstream missing code
https://bugs.webkit.org/show_bug.cgi?id=114343

Patch by Alberto Garcia <agarcia@igalia.com> on 2013-04-11
Reviewed by Xan Lopez.

Add implementations of sliderTickSize() and
sliderTickOffsetFromTrackCenter(), as well as a missing header.

* platform/blackberry/RenderThemeBlackBerry.cpp:
(WebCore):
(WebCore::RenderThemeBlackBerry::sliderTickSize):
(WebCore::RenderThemeBlackBerry::sliderTickOffsetFromTrackCenter):
* platform/blackberry/RenderThemeBlackBerry.h:
(RenderThemeBlackBerry):

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

7 years agoHitTestRequest::AllowFrameScrollbars does not test main frame scrollbar
allan.jensen@digia.com [Thu, 11 Apr 2013 09:17:33 +0000 (09:17 +0000)]
HitTestRequest::AllowFrameScrollbars does not test main frame scrollbar
https://bugs.webkit.org/show_bug.cgi?id=112563

Reviewed by Antonio Gomes.

Move the frame scrollbar testing from RenderPart to RenderView, so that it is
tested by all frame and not just child frames. At the same time remove the
main frame test from the one current callsite using the option.

Tested by fast/events/touch/gesture/gesture-scrollbar.html.

* page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureEvent):
* rendering/RenderPart.cpp:
(WebCore::RenderPart::nodeAtPoint):
* rendering/RenderView.cpp:
(WebCore::RenderView::hitTest):

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

7 years agoUnreviewed, update my IRC nickname.
philn@webkit.org [Thu, 11 Apr 2013 09:09:07 +0000 (09:09 +0000)]
Unreviewed, update my IRC nickname.

* Scripts/webkitpy/common/config/committers.py: I no longer use philn-tp.

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

7 years agoIncorrect evaluation of resolution media queries
commit-queue@webkit.org [Thu, 11 Apr 2013 09:00:22 +0000 (09:00 +0000)]
Incorrect evaluation of resolution media queries
https://bugs.webkit.org/show_bug.cgi?id=114029

Patch by Rune Lillesveen <rune@opera.com> on 2013-04-11
Reviewed by Kenneth Rohde Christiansen.

.:

Removed setResolutionOverride from exports.

* Source/autotools/symbols.filter:

Source/WebCore:

The implementation used the physical resolution to evaluate the
resolution media features. Changed to use the actual CSS resolution,
also known as the device-pixel-ratio, instead. Unified the code for
evaluating the resolution and device-pixel-ratio media features.

No new tests, covered by existing tests.

* WebCore.exp.in:
* css/CSSPrimitiveValue.h:
(WebCore::CSSPrimitiveValue::isResolution):
* css/MediaQueryEvaluator.cpp:
(WebCore::evalResolution):
(WebCore::device_pixel_ratioMediaFeatureEval):
(WebCore::resolutionMediaFeatureEval):
* page/Screen.cpp:
* page/Screen.h:
* page/Settings.cpp:
(WebCore):
* page/Settings.h:
(Settings):
* testing/InternalSettings.cpp:
(WebCore::InternalSettings::Backup::Backup):
(WebCore::InternalSettings::Backup::restoreTo):
* testing/InternalSettings.h:
(Backup):
(InternalSettings):
* testing/InternalSettings.idl:

Source/WebKit:

Removed setResolutionOverride from exports.

* WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:

Source/WebKit/win:

Removed setResolutionOverride from exports.

* WebKit.vcproj/WebKitExports.def.in:

LayoutTests:

Modified tests to change CSS resolution instead of physical resolution.

* fast/media/mq-resolution.html:

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

7 years agoRemove the rest of Chromium code from webkitpy
rniwa@webkit.org [Thu, 11 Apr 2013 08:46:28 +0000 (08:46 +0000)]
Remove the rest of Chromium code from webkitpy
https://bugs.webkit.org/show_bug.cgi?id=114420

Reviewed by Benjamin Poulain.

* Scripts/webkitpy/common/config/urls.py:
(view_revision_url):
* Scripts/webkitpy/common/host.py:
(Host._engage_awesome_locale_hacks):
(Host.initialize_scm):
(Host):
* Scripts/webkitpy/common/host_mock.py:
(MockHost.__init__):
(MockHost.checkout):
* Scripts/webkitpy/common/net/buildbot/chromiumbuildbot.py: Removed.
* Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
(JSONResultsGeneratorBase._insert_generic_metadata):
* Scripts/webkitpy/layout_tests/models/test_expectations.py:
(TestExpectationParser._tokenize_line):
* Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py:
(ExpectationSyntaxTests.test_bare_name_and_bugs):
(ExpectationSyntaxTests.test_warnings):
* Scripts/webkitpy/layout_tests/port/base.py:
(Port.skips_perf_test):
(Port.path_to_test_expectations_file):
(Port._port_flag_for_scripts):
* Scripts/webkitpy/style/checkers/cpp.py:
(check_function_definition):
(check_include_line):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(OrderOfIncludesTest.test_check_wtf_includes):
(WebKitStyleTest.test_webkit_export_check):
* Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
(TestExpectationsTestCase.test_valid_expectations):
* Scripts/webkitpy/tool/bot/irc_command.py:
(Rollout.execute):
* Scripts/webkitpy/tool/bot/irc_command_unittest.py:
(IRCCommandTest.test_whois):
* Scripts/webkitpy/tool/bot/ircbot_unittest.py:
(IRCBotTest.test_help):
* Scripts/webkitpy/tool/commands/sheriffbot_unittest.py:
(SheriffBotTest.test_command_aliases):

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

7 years agoroll-chromium-deps doesn't roll DEPS
rniwa@webkit.org [Thu, 11 Apr 2013 08:29:35 +0000 (08:29 +0000)]
roll-chromium-deps doesn't roll DEPS
https://bugs.webkit.org/show_bug.cgi?id=114421

Reviewed by Antti Koivisto.

Roll DEPS. Rolling DEPS. Rolled DEPS.

* Scripts/webkitpy/tool/bot/irc_command.py:
(RollChromiumDEPS.execute):

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

7 years ago[webkitpy] Remove lingering return_exit_code usage in scm_mock and rebaselineserver.
glenn@skynav.com [Thu, 11 Apr 2013 08:27:06 +0000 (08:27 +0000)]
[webkitpy] Remove lingering return_exit_code usage in scm_mock and rebaselineserver.
https://bugs.webkit.org/show_bug.cgi?id=114418

Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/common/checkout/scm/scm_mock.py:
(MockSCM.add): Remove optional remove_exit_code argument.
(MockSCM.add_list): Remove optional remove_exit_code argument and return value.
* Scripts/webkitpy/tool/servers/rebaselineserver.py:
(_rebaseline_test): Use ScriptError to capture SCM.add() failure and exit code.
(_move_test_baselines): Use ScriptError to capture SCM.add() failure and exit code.

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

7 years agoFrameLoaderClient::assignIdentifierToInitialRequest() not called for the main resourc...
carlosgc@webkit.org [Thu, 11 Apr 2013 08:25:51 +0000 (08:25 +0000)]
FrameLoaderClient::assignIdentifierToInitialRequest() not called for the main resource when loaded from the memory cache
https://bugs.webkit.org/show_bug.cgi?id=112418

Source/WebCore:

Reviewed by Darin Adler.

When the main resource is loaded from the memory cache the
response is not added to the ResponseVector of the document
loader, so that when committing the provisional load the remaining
delegate messages are not called because the ResponseVector of the
document loader is empty. When the main resource is loaded from
the memory cache, there's no resource loader, and the client is
notified about the response received using
ResourceLoadNotifier::dispatchDidReceiveResponse() directly
instead of ResourceLoadNotifier::didReceiveResponse() which is the
one adding the response to the ResponseVector of the document
loader. So, the problem can be fixed by adding the response to the
ResponseVector before calling dispatchDidReceiveResponse() when
loading the main resource without a resource loade

Test: loader/go-back-cached-main-resource.html

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::responseReceived):

LayoutTests:

Patch by Manuel Rego Casasnovas <rego@igalia.com> on 2013-04-11
Reviewed by Darin Adler.

* loader/go-back-cached-main-resource-expected.txt: Added.
* loader/go-back-cached-main-resource.html: Added.
* loader/resources/first-page.html: Added.
* loader/resources/other-page.html: Added.
* platform/gtk-wk1/loader/go-back-cached-main-resource-expected.txt: Added.
* platform/wk2/loader/go-back-cached-main-resource-expected.txt: Added.

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

7 years agoFix roll-chromium-deps and hi.
rniwa@webkit.org [Thu, 11 Apr 2013 07:45:34 +0000 (07:45 +0000)]
Fix roll-chromium-deps and hi.

* Scripts/webkitpy/tool/bot/irc_command.py:
(Hi.execute):
(RollChromiumDEPS.execute):

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

7 years agoRemove webkitpy code to roll Chromium DEPS
rniwa@webkit.org [Thu, 11 Apr 2013 07:40:29 +0000 (07:40 +0000)]
Remove webkitpy code to roll Chromium DEPS
https://bugs.webkit.org/show_bug.cgi?id=114415

Reviewed by Benjamin Poulain.

Removed the code to roll Chromium DEPS in WebKit.

* Scripts/webkitpy/common/checkout/checkout.py:
(Checkout.bug_id_for_this_commit):
* Scripts/webkitpy/common/checkout/checkout_mock.py:
(MockCheckout.commit_message_for_this_commit):
* Scripts/webkitpy/common/checkout/checkout_unittest.py:
(CheckoutTest.test_suggested_reviewers):
* Scripts/webkitpy/common/checkout/deps.py: Removed.
* Scripts/webkitpy/common/checkout/deps_mock.py: Removed.
* Scripts/webkitpy/tool/bot/irc_command.py:
(RollChromiumDEPS): Teach webkitbot a sense of humor.
(RollChromiumDEPS.execute):
* Scripts/webkitpy/tool/bot/irc_command_unittest.py:
(IRCCommandTest.test_create_bug):
* Scripts/webkitpy/tool/bot/ircbot_unittest.py:
(IRCBotTest.test_revert):
* Scripts/webkitpy/tool/bot/sheriff.py:
(Sheriff.post_rollout_patch):
* Scripts/webkitpy/tool/commands/__init__.py:
* Scripts/webkitpy/tool/commands/roll.py: Removed.
* Scripts/webkitpy/tool/commands/roll_unittest.py: Removed.
* Scripts/webkitpy/tool/steps/__init__.py:
* Scripts/webkitpy/tool/steps/preparechangelogfordepsroll.py: Removed.
* Scripts/webkitpy/tool/steps/updatechromiumdeps.py: Removed.
* Scripts/webkitpy/tool/steps/updatechromiumdeps_unittest.py: Removed.

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

7 years agoUnreviewed Qt buildfixes after r148147, r148148 and r148154.
ossy@webkit.org [Thu, 11 Apr 2013 07:20:28 +0000 (07:20 +0000)]
Unreviewed Qt buildfixes after r148147, r148148 and r148154.

* DerivedSources.pri:
* Target.pri:

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

7 years ago[webkitpy] SVNTest fails four tests when using subversion client 1.7 or later
glenn@skynav.com [Thu, 11 Apr 2013 07:03:40 +0000 (07:03 +0000)]
[webkitpy] SVNTest fails four tests when using subversion client 1.7 or later
https://bugs.webkit.org/show_bug.cgi?id=114386

Reviewed by Benjamin Poulain.

Subversion client 1.7 uses a new locking scheme that invalidates the technique used
in test_svn_lock(), so skip that test for 1.7 (or later) until a new technique
can be implemented. Further, 1.7 changed svn add to not add intermediate directories
by default and to return exit code 1 if a file/dir had already been added.

* Scripts/webkitpy/common/checkout/scm/scm_unittest.py:
(test_svn_lock): Skip body of test if subversion client 1.7 or later.
* Scripts/webkitpy/common/checkout/scm/svn.py:
(SVN.add_list): Use --parents option and handle exit code 1 if subversion client 1.7 or later.

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

7 years agoUnreviewed GTK build fix, fixing the WebKit2 build.
zandobersek@gmail.com [Thu, 11 Apr 2013 06:29:53 +0000 (06:29 +0000)]
Unreviewed GTK build fix, fixing the WebKit2 build.

* GNUmakefile.list.am:

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

7 years ago Remove some includes of CachedImage.h
ap@apple.com [Thu, 11 Apr 2013 06:22:14 +0000 (06:22 +0000)]
    Remove some includes of CachedImage.h
        https://bugs.webkit.org/show_bug.cgi?id=114411

        Reviewed by Dan Bernstein.

        * css/CSSCrossfadeValue.h: Initializing CachedResourceHandle with 0 requires a
        definition of a class it holds, but default construction does not.

        * rendering/RenderImageResource.cpp:
        * rendering/RenderImageResource.h:
        Moved definitions of virtual functions to a .cpp file. There is no win from having
        them inline, and now we don't need CachedImage.h in the header.

        * bindings/js/JSNodeCustom.cpp:
        * dom/Clipboard.cpp:
        (WebCore::Clipboard::Clipboard):
        * platform/mac/ClipboardMac.h:
        * rendering/InlineFlowBox.cpp:
        * rendering/RenderBox.cpp:
        * rendering/RenderListItem.cpp:
        * rendering/RenderListMarker.cpp:
        * rendering/RenderTableCol.cpp:
        * rendering/RenderTableRow.cpp:
        * rendering/RenderTableSection.cpp:
        * svg/graphics/SVGImageCache.cpp:
        Removed unnecessary includes.

        * platform/mac/PasteboardMac.mm:
        * rendering/RenderSnapshottedPlugIn.cpp:
        Added ones where they are now necessary.

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

7 years agoUnreviewed.
zandobersek@gmail.com [Thu, 11 Apr 2013 06:19:55 +0000 (06:19 +0000)]
Unreviewed.

* GNUmakefile.am: Removing extra whitespace that's producing warnings.

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

7 years ago[webkitpy] Remove unused return_exit_code argument and returned values from SCM....
glenn@skynav.com [Thu, 11 Apr 2013 06:04:31 +0000 (06:04 +0000)]
[webkitpy] Remove unused return_exit_code argument and returned values from SCM.{add,add_list}
https://bugs.webkit.org/show_bug.cgi?id=114410

Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/common/checkout/scm/git.py:
(Git.add_list): Remove optional return_exit_code argument. Remove return value.
* Scripts/webkitpy/common/checkout/scm/scm.py:
(SCM.add): Remove optional return_exit_code argument.
(SCM.add_list): Remove optional return_exit_code argument.
* Scripts/webkitpy/common/checkout/scm/svn.py:
(SVN.add_list): Remove optional return_exit_code argument. Remove return value.

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

7 years agoAllow direct compositing of background images
commit-queue@webkit.org [Thu, 11 Apr 2013 05:47:44 +0000 (05:47 +0000)]
Allow direct compositing of background images
https://bugs.webkit.org/show_bug.cgi?id=108203

Patch by No'am Rosenthal <noam@webkit.org> on 2013-04-10
Reviewed by Simon Fraser.

Source/WebCore:

Use setContentsToImage for background images, if the GraphicsLayer has only a background
bitmap image and nothing else. Compute the contentsRect/contentsTileRect from the box model.
Added new properties to GraphicsLayer, contentsTilePhase and contentsTileSize, which controls the "single tile rect",
which allows us to compute the pattern-space transform of a tile, thus allowing background-size
and other characteristics of background images.

This feature is explicitly disabled when there is any composition with a background color or if
there are several background images, as in that case having a single backing store has some
advantages over directly compositing in hardware.

Currently, this feature is disabled for all ports, allowing ports to implement their backend
and decide when to enable it.

Note that RenderBoxModelObject::getGeometryForBackgroundImage crops the contents rect to the
area that contains the tiles, which allows us to assume full tiling in GraphicsLayer.
In this way contentsTileSize/Phase is equivalent to GraphicsContext::drawTiledImage.

Tests: compositing/patterns/direct-pattern-compositing-add-text.html
       compositing/patterns/direct-pattern-compositing-change.html
       compositing/patterns/direct-pattern-compositing-contain.html
       compositing/patterns/direct-pattern-compositing-cover.html
       compositing/patterns/direct-pattern-compositing-load.html
       compositing/patterns/direct-pattern-compositing-padding.html
       compositing/patterns/direct-pattern-compositing-position.html
       compositing/patterns/direct-pattern-compositing-rotation.html
       compositing/patterns/direct-pattern-compositing-size.html
       compositing/patterns/direct-pattern-compositing.html

* platform/graphics/GraphicsLayer.h:
(GraphicsLayer):
(WebCore::GraphicsLayer::setContentsTileSize):
(WebCore::GraphicsLayer::setContentsTilePhase):
(WebCore::GraphicsLayer::contentsTileSize):
(WebCore::GraphicsLayer::contentsTilePhase):
(WebCore::GraphicsLayer::supportsContentsTiling):
        Add a contentsTileRect property that enables tile-repeat of background images.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::imageChanged):
        Pass background image changes to the layer backing.

* rendering/RenderBoxModelObject.cpp:
* rendering/RenderBoxModelObject.h:
(WebCore::RenderBoxModelObject::getGeometryForBackgroundImage):
        Expose a function that performs the geometry calculations needed to determine
        the tileRect for a background image. This function is also responsible
        for cropping the contentsRect to fit the area that is drawn into.

* rendering/RenderLayerBacking.h:
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::contentChanged):
(WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
(WebCore::RenderLayerBacking::updateDirectlyCompositedContents):
(WebCore::RenderLayerBacking::resetContentsRect):
(WebCore::hasBoxDecorationsOrBackgroundImage):
(WebCore::RenderLayerBacking::updateDirectlyCompositedBackgroundColor):
(WebCore::canCreateTiledImage):
(WebCore::RenderLayerBacking::updateDirectlyCompositedBackgroundImage):
(WebCore::backgroundRectForBox):
        Allow background images to be directly composited if conditions allow (see bug description).

LayoutTests:

Added several ref-tests as preparation for supporting direct compositing of background
images.

* compositing/patterns/direct-pattern-compositing-add-text-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-add-text.html: Added.
* compositing/patterns/direct-pattern-compositing-change-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-change.html: Added.
* compositing/patterns/direct-pattern-compositing-contain-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-contain.html: Added.
* compositing/patterns/direct-pattern-compositing-cover-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-cover.html: Added.
* compositing/patterns/direct-pattern-compositing-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-load-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-load.html: Added.
* compositing/patterns/direct-pattern-compositing-padding-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-padding.html: Added.
* compositing/patterns/direct-pattern-compositing-position-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-position.html: Added.
* compositing/patterns/direct-pattern-compositing-size-expected.html: Added.
* compositing/patterns/direct-pattern-compositing-size.html: Added.
* compositing/patterns/direct-pattern-compositing.html: Added.

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

7 years agoRemove myself from the watchlists, I'm getting too much bug mail. :)
eric@webkit.org [Thu, 11 Apr 2013 04:59:06 +0000 (04:59 +0000)]
Remove myself from the watchlists, I'm getting too much bug mail. :)

* Scripts/webkitpy/common/config/watchlist:

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

7 years agoReplace ENABLE_LEGACY_WEB_AUDIO preprocessor statements in IDL files with Conditional...
paroga@webkit.org [Thu, 11 Apr 2013 03:53:24 +0000 (03:53 +0000)]
Replace ENABLE_LEGACY_WEB_AUDIO preprocessor statements in IDL files with Conditional attribute
https://bugs.webkit.org/show_bug.cgi?id=114351

Reviewed by Ryosuke Niwa.

The Conditional attribute does not need a preprocessor, which is source of much pain on native windows.

* Modules/webaudio/AudioBufferSourceNode.idl:
* Modules/webaudio/AudioContext.idl:
* Modules/webaudio/AudioParam.idl:
* Modules/webaudio/OscillatorNode.idl:

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

7 years ago[WK2] Build warning in didReceiveMessage() generated by messages.py
gyuyoung.kim@samsung.com [Thu, 11 Apr 2013 03:23:26 +0000 (03:23 +0000)]
[WK2] Build warning in didReceiveMessage() generated by messages.py
https://bugs.webkit.org/show_bug.cgi?id=112513

Reviewed by Anders Carlsson.

Legacy receiver makes -Wunused-parameter build warnings. This patch is to fix them.

* Scripts/webkit2/messages.py:
(generate_message_handler):

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

7 years agoReplace ENABLE_DIRECTORY_UPLOAD preprocessor statements in IDL files with Conditional...
paroga@webkit.org [Thu, 11 Apr 2013 03:21:28 +0000 (03:21 +0000)]
Replace ENABLE_DIRECTORY_UPLOAD preprocessor statements in IDL files with Conditional attribute
https://bugs.webkit.org/show_bug.cgi?id=114350

Reviewed by Ryosuke Niwa.

The Conditional attribute does not need a preprocessor, which is source of much pain on native windows.

* fileapi/File.idl:

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

7 years agoUnify JSC Parser's error and error message
benjamin@webkit.org [Thu, 11 Apr 2013 03:17:08 +0000 (03:17 +0000)]
Unify JSC Parser's error and error message
https://bugs.webkit.org/show_bug.cgi?id=114363

Reviewed by Geoffrey Garen.

The parser kept the error state over two attributes:
error and errorMessage. They were changed in sync,
but had some discrepancy (for example, the error message
was always defined to something).

This patch unifies the two. There is an error if
if the error message is non-null or if the parsing finished
before the end.

This also gets rid of the allocation of the error message
when instantiating a parser.

* parser/Parser.cpp:
(JSC::::Parser):
(JSC::::parseInner):
(JSC::::parseSourceElements):
(JSC::::parseVarDeclaration):
(JSC::::parseConstDeclaration):
(JSC::::parseForStatement):
(JSC::::parseSwitchStatement):
(JSC::::parsePrimaryExpression):
* parser/Parser.h:
(JSC::Parser::updateErrorMessage):
(JSC::Parser::updateErrorWithNameAndMessage):
(JSC::Parser::hasError):
(Parser):

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

7 years ago[WTF] Get rid of truncated thread name warnings for non-Windows platforms
thiago.santos@intel.com [Thu, 11 Apr 2013 03:12:14 +0000 (03:12 +0000)]
[WTF] Get rid of truncated thread name warnings for non-Windows platforms
https://bugs.webkit.org/show_bug.cgi?id=114266

Reviewed by Ryosuke Niwa.

Hide the annoying message from ports that are not really interested
about it.

* wtf/Threading.cpp:
(WTF::createThread):

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

7 years ago[CMAKE] Build fix after StorageArea refactoring
ryuan.choi@samsung.com [Thu, 11 Apr 2013 01:59:39 +0000 (01:59 +0000)]
[CMAKE] Build fix after StorageArea refactoring
https://bugs.webkit.org/show_bug.cgi?id=114398

Unreviewed build fix.

Change StorageAreaImpl.messages.in with StorageAreaMap.messages.in.
Add StorageAreaMap.cpp in CMakeLists.txt.

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-04-10

* CMakeLists.txt:

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

7 years agoUnreviewed, rolling out r148158.
rniwa@webkit.org [Thu, 11 Apr 2013 01:36:29 +0000 (01:36 +0000)]
Unreviewed, rolling out r148158.
http://trac.webkit.org/changeset/148158
https://bugs.webkit.org/show_bug.cgi?id=114405

We need to migrate status data (Requested by rniwa on
#webkit).

* Scripts/webkitpy/common/net/statusserver.py:
(StatusServer):

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

7 years agoCleanup local variables in Editor::markAndReplaceFor
rniwa@webkit.org [Thu, 11 Apr 2013 01:27:26 +0000 (01:27 +0000)]
Cleanup local variables in Editor::markAndReplaceFor
https://bugs.webkit.org/show_bug.cgi?id=114383

Reviewed by Enrica Casucci.

Added resultEndLocation, which is the sum of resultLocation and resultLength.

Also replaced ambiguousBoundaryOffset by useAmbiguousBoundaryOffset since the ambiguous offset is always
selectionOffset -1 to avoid the extra house keeping and obnoxious -1 check.

* editing/Editor.cpp:
(WebCore::Editor::markAndReplaceFor):

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

7 years agoSet trap is not being called for API objects
oliver@apple.com [Thu, 11 Apr 2013 01:25:33 +0000 (01:25 +0000)]
Set trap is not being called for API objects
https://bugs.webkit.org/show_bug.cgi?id=114403

Reviewed by Anders Carlsson.

Intercept putByIndex on the callback object and add tests
to make sure we don't regress in future.

* API/JSCallbackObject.h:
(JSCallbackObject):
* API/JSCallbackObjectFunctions.h:
(JSC::::putByIndex):
(JSC):
* API/tests/testapi.c:
(PropertyCatchalls_setProperty):
* API/tests/testapi.js:

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

7 years agoMake StorageAreaImpl a wrapper around StorageAreaMap
andersca@apple.com [Thu, 11 Apr 2013 01:22:52 +0000 (01:22 +0000)]
Make StorageAreaImpl a wrapper around StorageAreaMap
https://bugs.webkit.org/show_bug.cgi?id=114404

Reviewed by Oliver Hunt.

Prepare for moving all the code that deals with local storage values to StorageAreaMap,
and make StorageAreaImpl a dumb wrapper that simply calls through to the map.

* WebProcess/Storage/StorageAreaImpl.cpp:
(WebKit::StorageAreaImpl::create):
(WebKit::StorageAreaImpl::StorageAreaImpl):
(WebKit::StorageAreaImpl::~StorageAreaImpl):
(WebKit::StorageAreaImpl::storageType):
(WebKit::StorageAreaImpl::length):
(WebKit::StorageAreaImpl::key):
(WebKit::StorageAreaImpl::getItem):
(WebKit::StorageAreaImpl::setItem):
(WebKit::StorageAreaImpl::contains):
* WebProcess/Storage/StorageAreaImpl.h:
(WebKit::StorageAreaImpl::storageAreaID):
* WebProcess/Storage/StorageAreaMap.cpp:
(WebKit::generateStorageMapID):
(WebKit::StorageAreaMap::create):
(WebKit::StorageAreaMap::StorageAreaMap):
(WebKit::StorageAreaMap::storageType):
(WebKit::StorageAreaMap::length):
(WebKit::StorageAreaMap::key):
(WebKit::StorageAreaMap::item):
(WebKit::StorageAreaMap::setItem):
(WebKit::StorageAreaMap::contains):
(WebKit::StorageAreaMap::didSetItem):
(WebKit::StorageAreaMap::dispatchStorageEvent):
* WebProcess/Storage/StorageAreaMap.h:
* WebProcess/Storage/StorageNamespaceImpl.cpp:
(WebKit::StorageNamespaceImpl::storageArea):
* WebProcess/Storage/StorageNamespaceImpl.h:
(StorageNamespaceImpl):

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

7 years agoRename StorageManager messages to refer to the StorageMap instead of the StorageArea
andersca@apple.com [Thu, 11 Apr 2013 01:03:03 +0000 (01:03 +0000)]
Rename StorageManager messages to refer to the StorageMap instead of the StorageArea
https://bugs.webkit.org/show_bug.cgi?id=114401

Reviewed by Ryosuke Niwa.

* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::createStorageMap):
(WebKit::StorageManager::destroyStorageMap):
(WebKit::StorageManager::setItem):
* UIProcess/Storage/StorageManager.h:
* UIProcess/Storage/StorageManager.messages.in:
* WebProcess/Storage/StorageAreaImpl.cpp:
(WebKit::StorageAreaImpl::StorageAreaImpl):
(WebKit::StorageAreaImpl::~StorageAreaImpl):

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

7 years agoMass remove all the empty directories
benjamin@webkit.org [Thu, 11 Apr 2013 00:20:36 +0000 (00:20 +0000)]
Mass remove all the empty directories

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-04-10
Rubberstamped by Ryosuke Niwa.

PerformanceTests:

* Bindings/resources: Removed.

Source/JavaScriptCore:

* qt/api: Removed.
* qt/benchmarks/qscriptengine: Removed.
* qt/benchmarks/qscriptvalue: Removed.
* qt/tests/qscriptengine: Removed.
* qt/tests/qscriptstring: Removed.
* qt/tests/qscriptvalue: Removed.
* qt/tests/qscriptvalueiterator: Removed.

Source/ThirdParty/ANGLE:

* src/libGLESv2/geometry: Removed.

Source/WebCore:

* Modules/intents: Removed.
* Modules/protocolhandler: Removed.
* Modules/speech/mac: Removed.
* accessibility/efl: Removed.
* accessibility/gtk: Removed.
* bridge/jni/jsc: Removed.
* editing/android: Removed.
* editing/gtk: Removed.
* history/android: Removed.
* page/android: Removed.
* platform/android: Removed.
* platform/clutter: Removed.
* platform/graphics/blackberry/skia: Removed.
* platform/graphics/harfbuzz/ng: Removed.
* platform/graphics/pango: Removed.
* platform/image-decoders/cg: Removed.
* platform/image-decoders/qt: Removed.
* platform/network/android: Removed.
* platform/network/soup/cache/webkit: Removed.
* platform/text/android: Removed.
* platform/text/wince: Removed.
* platform/track: Removed.

Source/WebKit/efl:

* DefaultTheme/widget/button: Removed.
* DefaultTheme/widget/check: Removed.
* DefaultTheme/widget/combo: Removed.
* DefaultTheme/widget/entry: Removed.
* DefaultTheme/widget/file: Removed.
* DefaultTheme/widget/mediacontrol/fullscreenbutton: Removed.
* DefaultTheme/widget/mediacontrol/mutebutton: Removed.
* DefaultTheme/widget/mediacontrol/playpausebutton: Removed.
* DefaultTheme/widget/mediacontrol/seekbackwardbutton: Removed.
* DefaultTheme/widget/mediacontrol/seekforwardbutton: Removed.
* DefaultTheme/widget/mediacontrol/togglecaptionsbutton: Removed.
* DefaultTheme/widget/progressbar: Removed.
* DefaultTheme/widget/radio: Removed.
* DefaultTheme/widget/scrollbar: Removed.
* DefaultTheme/widget/search/cancel: Removed.
* DefaultTheme/widget/search/decoration: Removed.
* DefaultTheme/widget/search/field: Removed.
* DefaultTheme/widget/slider: Removed.
* DefaultTheme/widget/spinner: Removed.

Source/WebKit/gtk:

* gyp: Removed.
* po: Removed.

Source/WebKit/mac:

* ForwardingHeaders/wtf/unicode/icu: Removed.

Source/WebKit/qt:

* tests/qdeclarativewebview/resources: Removed.

Source/WebKit2:

* Platform/CoreIPC/gtk: Removed.
* Platform/CoreIPC/qt: Removed.
* PluginProcess/EntryPoint/mac/XPCService/PluginService.32: Removed.
* PluginProcess/EntryPoint/mac/XPCService/PluginService.64: Removed.
* PluginProcess/gtk: Removed.
* Shared/API/c/win: Removed.
* Shared/Plugins/Netscape/win: Removed.
* Shared/cg/win: Removed.
* Shared/win: Removed.
* UIProcess/API/C/win: Removed.
* UIProcess/API/gtk/webkit: Removed.
* UIProcess/Launcher/win: Removed.
* UIProcess/Plugins/gtk: Removed.
* UIProcess/Plugins/win: Removed.
* UIProcess/texmap: Removed.
* UIProcess/win: Removed.
* WebProcess/Authentication/mac: Removed.
* WebProcess/Cookies/efl: Removed.
* WebProcess/Cookies/gtk: Removed.
* WebProcess/Downloads/cf/win: Removed.
* WebProcess/Downloads/cfnet: Removed.
* WebProcess/Downloads/curl: Removed.
* WebProcess/Downloads/efl: Removed.
* WebProcess/Downloads/gtk: Removed.
* WebProcess/Downloads/mac: Removed.
* WebProcess/Downloads/qt: Removed.
* WebProcess/Downloads/soup: Removed.
* WebProcess/FullScreen/gtk: Removed.
* WebProcess/FullScreen/mac: Removed.
* WebProcess/FullScreen/qt: Removed.
* WebProcess/FullScreen/win: Removed.
* WebProcess/InjectedBundle/API/c/win: Removed.
* WebProcess/InjectedBundle/win: Removed.
* WebProcess/KeyValueStorage: Removed.
* WebProcess/Network/CustomProtocols/mac: Removed.
* WebProcess/Plugins/Netscape/gtk: Removed.
* WebProcess/Plugins/Netscape/win: Removed.
* WebProcess/WebCoreSupport/win: Removed.
* WebProcess/WebPage/LayerTreeCoordinator: Removed.
* WebProcess/WebPage/ca/mac: Removed.
* WebProcess/WebPage/ca/win: Removed.
* WebProcess/WebPage/win: Removed.
* WebProcess/win: Removed.
* qt/Resources: Removed.

Source/WTF:

* wtf/qt/compat: Removed.
* wtf/unicode/glib: Removed.
* wtf/unicode/qt4: Removed.
* wtf/unicode/wince: Removed.

Tools:

* BuildSlaveSupport/gtk/crashmon/log: Removed.
* BuildSlaveSupport/gtk/xvfb/log: Removed.
* DumpRenderTree/ForwardingHeaders/wtf: Removed.
* DumpRenderTree/unix/TestNetscapePlugin/ForwardingHeaders/WebKit: Removed.
* MiniBrowser/gtk/WebBundle: Removed.
* MiniBrowser/win: Removed.
* QtTestPlatformPlugin/mac: Removed.
* Scripts/webkitpy/tool/bot/testdata: Removed.
* Scripts/webkitpy/tool/commands/data/rebaselineserver: Removed.
* efl/ImageDiff: Removed.
* iExploder/htdocs: Removed.
* iExploder/iexploder-1.7.2/output: Removed.
* iExploder/tools: Removed.
* qmake/config.tests/libexecdir: Removed.
* qmake/config.tests/libjpeg: Removed.
* qmake/config.tests/libpng: Removed.

WebKitLibraries:

* win/bin: Removed.
* win/lib/WebKitSystemInterface: Removed.

LayoutTests:

* css2.1/reference: Removed.
* css3/flexbox/script-tests: Removed.
* css3/viewport-relative-lengths: Removed.
* editing/deleting/resources: Removed.
* editing/inserting/resources: Removed.
* editing/style/resources: Removed.
* editing/text-iterator/resources: Removed.
* fast/dom/CSSStyleDeclaration/resources: Removed.
* fast/dom/EntityReference/resources: Removed.
* fast/dom/HTMLFontElement/resources: Removed.
* fast/dom/HTMLFormElement/resources: Removed.
* fast/dom/HTMLSelectElement/resources: Removed.
* fast/dom/HTMLTableElement/resources: Removed.
* fast/dom/HTMLTableRowElement/resources: Removed.
* fast/dom/HTMLTableSectionElement/resources: Removed.
* fast/dom/MediaStream/script-tests: Removed.
* fast/dom/Node/resources: Removed.
* fast/dom/Proximity: Removed.
* fast/dom/Selection/resources: Removed.
* fast/dom/Text/resources: Removed.
* fast/events/spatial-navigation/resources: Removed.
* fast/events/transformaction: Removed.
* fast/forms/script-tests: Removed.
* fast/loading/resources: Removed.
* fast/mutation: Removed.
* fast/regex/resources: Removed.
* fast/speech/script-tests: Removed.
* fast/xhtmlmp: Removed.
* http/tests/inspector/resources/compiler-source-mapping-provider: Removed.
* http/tests/media/media-source/webm: Removed.
* http/tests/w3c/webperf/approved/navigation-timing/html5: Removed.
* http/tests/w3c/webperf/submission/resource-timing/html: Removed.
* http/tests/w3c/webperf/submission/user-timing: Removed.
* http/tests/xhtmlmp: Removed.
* http/tests/xmlhttprequest/web-apps/recursion: Removed.
* inspector/performance/resources: Removed.
* inspector/protocol/resources: Removed.
* inspector/resources: Removed.
* media/track/captions: Removed.
* platform/efl-wk1/dom/xhtml/level3/core: Removed.
* platform/efl-wk1/fast/dom/DOMException: Removed.
* platform/efl-wk1/mathml/presentation: Removed.
* platform/efl-wk1/svg/dynamic-updates: Removed.
* platform/efl-wk2/dom/xhtml/level3/core: Removed.
* platform/efl-wk2/fast/block/basic: Removed.
* platform/efl-wk2/fast/dom/DOMException: Removed.
* platform/efl-wk2/fast/frames: Removed.
* platform/efl-wk2/http/tests/loading: Removed.
* platform/efl/fast/css3-text-decoration/repaint: Removed.
* platform/efl/fast/dom/HTMLTemplateElement: Removed.
* platform/efl/fast/files: Removed.
* platform/efl/fast/forms/mailto: Removed.
* platform/efl/fast/innerHTML: Removed.
* platform/efl/fast/viewport: Removed.
* platform/efl/inspector/editor: Removed.
* platform/gtk/css3/calc: Removed.
* platform/gtk/editing/pasteboard/resources: Removed.
* platform/gtk/fast/innerHTML: Removed.
* platform/gtk/fast/js/regress: Removed.
* platform/gtk/fast/viewport: Removed.
* platform/gtk/http/tests/webarchive: Removed.
* platform/gtk/http/tests/websocket/tests: Removed.
* platform/gtk/ietestcenter/css3/grid: Removed.
* platform/gtk/platform/gtk/fonts: Removed.
* platform/gtk/sputnik/Unicode/Unicode_510: Removed.
* platform/gtk/svg/hittest: Removed.
* platform/gtk/tables/hittesting: Removed.
* platform/mac-future/accessibility: Removed.
* platform/mac-lion/animations: Removed.
* platform/mac-lion/compositing/visible-rect: Removed.
* platform/mac-lion/css1/units: Removed.
* platform/mac-lion/css3/selectors3: Removed.
* platform/mac-lion/editing/execCommand: Removed.
* platform/mac-lion/editing/inserting: Removed.
* platform/mac-lion/editing/pasteboard: Removed.
* platform/mac-lion/fast/block/float: Removed.
* platform/mac-lion/fast/block/margin-collapse: Removed.
* platform/mac-lion/fast/frames: Removed.
* platform/mac-lion/fast/inline: Removed.
* platform/mac-lion/fast/layers: Removed.
* platform/mac-lion/fast/lists: Removed.
* platform/mac-lion/fast/overflow: Removed.
* platform/mac-lion/fast/text/basic: Removed.
* platform/mac-lion/ietestcenter/css3: Removed.
* platform/mac-lion/tables/mozilla: Removed.
* platform/mac-lion/transforms: Removed.
* platform/mac-snowleopard/css3/filters/custom: Removed.
* platform/mac-snowleopard/fast/canvas/webgl: Removed.
* platform/mac-snowleopard/fast/html: Removed.
* platform/mac-snowleopard/fast/loader: Removed.
* platform/mac-snowleopard/fast/regions: Removed.
* platform/mac-snowleopard/http/tests/media: Removed.
* platform/mac-snowleopard/mathml/presentation: Removed.
* platform/mac-snowleopard/sputnik/Unicode/Unicode_510: Removed.
* platform/mac-snowleopard/svg/batik/filters: Removed.
* platform/mac-snowleopard/svg/batik/masking: Removed.
* platform/mac-snowleopard/svg/batik/text: Removed.
* platform/mac-wk2/compositing/geometry: Removed.
* platform/mac-wk2/compositing/iframes: Removed.
* platform/mac-wk2/css3/filters/custom: Removed.
* platform/mac-wk2/fast/css: Removed.
* platform/mac-wk2/fast/dynamic: Removed.
* platform/mac-wk2/fast/harness: Removed.
* platform/mac-wk2/fast/multicol/vertical-rl: Removed.
* platform/mac-wk2/http/tests/appcache: Removed.
* platform/mac-wk2/http/tests/inspector: Removed.
* platform/mac-wk2/http/tests/misc: Removed.
* platform/mac-wk2/mathml: Removed.
* platform/mac-wk2/media: Removed.
* platform/mac-wk2/platform/mac/accessibility: Removed.
* platform/mac-wk2/tables/mozilla: Removed.
* platform/mac/css3/calc: Removed.
* platform/mac/css3/filters/custom: Removed.
* platform/mac/dom/xhtml/level2/html: Removed.
* platform/mac/fast/dom/shadow: Removed.
* platform/mac/fast/files: Removed.
* platform/mac/fast/forms/label: Removed.
* platform/mac/fast/innerHTML: Removed.
* platform/mac/fast/inspector: Removed.
* platform/mac/http/tests/xmlhttprequest/web-apps: Removed.
* platform/mac/inspector/console: Removed.
* platform/mac/inspector/debugger: Removed.
* platform/mac/inspector/extensions: Removed.
* platform/mac/platform/mac-wk2/tiled-drawing/fixed-background: Removed.
* platform/mac/platform/mac-wk2/tiled-drawing/sticky: Removed.
* platform/mac/sputnik/Unicode/Unicode_510: Removed.
* platform/mac/svg/animations: Removed.
* platform/mac/tables/mozilla/images: Removed.
* platform/mac/tiled-drawing/fixed: Removed.
* platform/mac/tiled-drawing/fixed-background: Removed.
* platform/mac/tiled-drawing/sticky: Removed.
* platform/qt-5.0-wk1/compositing/backing: Removed.
* platform/qt-5.0-wk1/compositing/filters: Removed.
* platform/qt-5.0-wk1/compositing/images: Removed.
* platform/qt-5.0-wk1/compositing/masks: Removed.
* platform/qt-5.0-wk1/compositing/rtl: Removed.
* platform/qt-5.0-wk1/compositing/tiling: Removed.
* platform/qt-5.0-wk1/compositing/visibility: Removed.
* platform/qt-5.0-wk1/css3/filters: Removed.
* platform/qt-5.0-wk1/editing/inserting: Removed.
* platform/qt-5.0-wk1/fast/dom/Window: Removed.
* platform/qt-5.0-wk2/compositing/backing: Removed.
* platform/qt-5.0-wk2/compositing/shadows: Removed.
* platform/qt-5.0-wk2/css1/basic: Removed.
* platform/qt-5.0-wk2/css1/box_properties: Removed.
* platform/qt-5.0-wk2/fast/block/basic: Removed.
* platform/qt-5.0-wk2/fast/block/float: Removed.
* platform/qt-5.0-wk2/fast/block/margin-collapse: Removed.
* platform/qt-5.0-wk2/fast/block/positioning/auto: Removed.
* platform/qt-5.0-wk2/fast/dom/HTMLHeadElement: Removed.
* platform/qt-5.0-wk2/fast/dom/HTMLTableElement: Removed.
* platform/qt-5.0-wk2/fast/dom/HTMLTextAreaElement: Removed.
* platform/qt-5.0-wk2/fast/dom/Window: Removed.
* platform/qt-5.0-wk2/fast/dynamic: Removed.
* platform/qt-5.0-wk2/fast/forms/datalist: Removed.
* platform/qt-5.0-wk2/fast/forms/mailto: Removed.
* platform/qt-5.0-wk2/fast/forms/number: Removed.
* platform/qt-5.0-wk2/fast/frames: Removed.
* platform/qt-5.0-wk2/fast/html: Removed.
* platform/qt-5.0-wk2/fast/images/png-suite: Removed.
* platform/qt-5.0-wk2/fast/inline: Removed.
* platform/qt-5.0-wk2/fast/lists: Removed.
* platform/qt-5.0-wk2/fast/multicol/span: Removed.
* platform/qt-5.0-wk2/fast/multicol/vertical-lr: Removed.
* platform/qt-5.0-wk2/fast/parser: Removed.
* platform/qt-5.0-wk2/fast/text/international: Removed.
* platform/qt-5.0-wk2/fullscreen/fullscreen: Removed.
* platform/qt-5.0-wk2/http/tests/websocket/test/hybi: Removed.
* platform/qt-5.0-wk2/platform/qt/plugins: Removed.
* platform/qt-5.0-wk2/svg/dom: Removed.
* platform/qt-5.0/animations: Removed.
* platform/qt-5.0/css1/text_properties: Removed.
* platform/qt-5.0/css2.1/20110323: Removed.
* platform/qt-5.0/editing/deleting: Removed.
* platform/qt-5.0/editing/inserting: Removed.
* platform/qt-5.0/editing/pasteboard: Removed.
* platform/qt-5.0/fast/borders: Removed.
* platform/qt-5.0/fast/css: Removed.
* platform/qt-5.0/fast/dom/DeviceMotion: Removed.
* platform/qt-5.0/fast/dom/DeviceOrientation: Removed.
* platform/qt-5.0/fast/dom/HTMLProgressElement: Removed.
* platform/qt-5.0/fast/dom/HTMLTextAreaElement: Removed.
* platform/qt-5.0/fast/dynamic: Removed.
* platform/qt-5.0/fast/html: Removed.
* platform/qt-5.0/fast/inline: Removed.
* platform/qt-5.0/fast/js: Removed.
* platform/qt-5.0/fast/multicol: Removed.
* platform/qt-5.0/fast/parser: Removed.
* platform/qt-5.0/fast/repaint: Removed.
* platform/qt-5.0/fast/replaced: Removed.
* platform/qt-5.0/fast/table/border-collapsing: Removed.
* platform/qt-5.0/fast/writing-mode: Removed.
* platform/qt-5.0/fast/xsl: Removed.
* platform/qt-5.0/svg/as-background-image: Removed.
* platform/qt-5.0/svg/custom: Removed.
* platform/qt-5.0/svg/hixie/intrinsic: Removed.
* platform/qt-5.0/svg/text: Removed.
* platform/qt-5.0/svg/wicd: Removed.
* platform/qt-5.0/svg/zoom/page: Removed.
* platform/qt-5.0/tables/mozilla/bugs: Removed.
* platform/qt-5.0/transitions: Removed.
* platform/qt-arm/fast/block: Removed.
* platform/qt-arm/fast/dom: Removed.
* platform/qt-arm/transforms: Removed.
* platform/qt-linux/fast/css: Removed.
* platform/qt-mac/editing: Removed.
* platform/qt-mac/fast/block/float: Removed.
* platform/qt-mac/plugins: Removed.
* platform/qt-win/fast/events: Removed.
* platform/qt.5-0/fast/text/whitespace: Removed.
* platform/qt/compositing/tiling: Removed.
* platform/qt/fast/css/dumpAsText: Removed.
* platform/qt/fast/encoding/dumpAsText: Removed.
* platform/qt/fast/forms/mailto: Removed.
* platform/qt/fast/innerHTML: Removed.
* platform/qt/fast/inspector: Removed.
* platform/qt/fast/js/regress: Removed.
* platform/qt/fast/media/w3c: Removed.
* platform/qt/http/tests/plugins: Removed.
* platform/qt/http/tests/security/aboutBlank: Removed.
* platform/qt/http/tests/security/cookies: Removed.
* platform/qt/http/tests/security/mixedContent: Removed.
* platform/qt/http/tests/security/xssAuditor: Removed.
* platform/qt/http/tests/xmlhttprequest/workers: Removed.
* platform/qt/inspector/console: Removed.
* platform/qt/inspector/debugger: Removed.
* platform/qt/inspector/extensions: Removed.
* platform/qt/mathml/presentation: Removed.
* platform/qt/scrollingcoordinator: Removed.
* platform/qt/svg/hixie/error/dumpAsText: Removed.
* platform/qt/tables/mozilla/images: Removed.
* platform/qt/traversal: Removed.
* platform/win-7sp0/fast/harness: Removed.
* platform/win-wk2/css2.1: Removed.
* platform/win-wk2/editing/deleting: Removed.
* platform/win-wk2/editing/selection: Removed.
* platform/win-wk2/fast/css: Removed.
* platform/win-wk2/fast/forms: Removed.
* platform/win-wk2/fast/repaint: Removed.
* platform/win-wk2/fast/ruby: Removed.
* platform/win-wk2/fast/text/international: Removed.
* platform/win-wk2/http/tests/inspector-enabled: Removed.
* platform/win-wk2/http/tests/security: Removed.
* platform/win-wk2/http/tests/uri: Removed.
* platform/win-wk2/media: Removed.
* platform/win-wk2/platform/win/inverted-colors: Removed.
* platform/win-wk2/platform/win/plugins: Removed.
* platform/win-wk2/plugins/npruntime: Removed.
* platform/win-wk2/svg/W3C-I18N: Removed.
* platform/win-wk2/svg/W3C-SVG-1.1-SE: Removed.
* platform/win-wk2/svg/text: Removed.
* platform/win-wk2/svg/zoom/page: Removed.
* platform/win/canvas/philip/tests: Removed.
* platform/win/compositing/geometry: Removed.
* platform/win/compositing/overflow: Removed.
* platform/win/editing/style: Removed.
* platform/win/editing/undo: Removed.
* platform/win/fast/block/basic: Removed.
* platform/win/fast/css/getComputedStyle: Removed.
* platform/win/fast/css3-text-decoration/getComputedStyle: Removed.
* platform/win/fast/dom/Element: Removed.
* platform/win/fast/dom/HTMLTextAreaElement: Removed.
* platform/win/fast/dom/Window: Removed.
* platform/win/fast/events/resources: Removed.
* platform/win/fast/frames/seamless: Removed.
* platform/win/fast/layers: Removed.
* platform/win/fast/loader: Removed.
* platform/win/fast/overflow: Removed.
* platform/win/fast/parser: Removed.
* platform/win/fast/table: Removed.
* platform/win/fast/transforms: Removed.
* platform/win/inspector/debugger: Removed.
* platform/win/platform/win/accessibility: Removed.
* platform/win/tables/mozilla/bugs: Removed.
* platform/win/tables/mozilla/other: Removed.
* platform/win/tables/mozilla_expected_failures/bugs: Removed.
* platform/wk2/tables/mozilla/bugs: Removed.
* pointer-lock/resources: Removed.
* storage/indexeddb/script-tests: Removed.
* svg/dom/SVGStyleElement/resources: Removed.
* webintents/resources: Removed.

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

7 years agoUse webkit-queeus.appspot.com instead of webkit-commit-queue.appspot.com
rniwa@webkit.org [Thu, 11 Apr 2013 00:15:13 +0000 (00:15 +0000)]
Use webkit-queeus.appspot.com instead of webkit-commit-queue.appspot.com
https://bugs.webkit.org/show_bug.cgi?id=114397

Reviewed by Benjamin Poulain.

* Scripts/webkitpy/common/net/statusserver.py:
(StatusServer):

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

7 years ago[CMAKE] Build fix after r148147, r148148
ryuan.choi@samsung.com [Thu, 11 Apr 2013 00:10:18 +0000 (00:10 +0000)]
[CMAKE] Build fix after r148147, r148148
https://bugs.webkit.org/show_bug.cgi?id=114395

Unreviewed build fix.

Use StorageAreaImpl, StorageNamespaceImpl instead of StorageAreaProxy, StorageNamespaceProxy.

Patch by Jaehun Lim <ljaehun.lim@samsung.com> on 2013-04-10

* CMakeLists.txt:

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

7 years agoMake old EWS bubbles less opaque to disambiguate two set of bubbles.
rniwa@webkit.org [Thu, 11 Apr 2013 00:09:34 +0000 (00:09 +0000)]
Make old EWS bubbles less opaque to disambiguate two set of bubbles.

Rubber-stamped by Benjamin Poulain.

* code-review.js:
* template/en/custom/attachment/edit.html.tmpl:
* template/en/custom/attachment/list.html.tmpl:
* template/en/custom/attachment/reviewform.html.tmpl:

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

7 years agoLog when the animation timer fires
simon.fraser@apple.com [Thu, 11 Apr 2013 00:04:06 +0000 (00:04 +0000)]
Log when the animation timer fires
https://bugs.webkit.org/show_bug.cgi?id=114393

Reviewed by Dean Jackson.

Logging to the Animations log channel when the updateAnimationTimer
fires is useful, because it indicates whether we're running
software animations.

* page/animation/AnimationController.cpp:
(WebCore::AnimationControllerPrivate::updateAnimationTimer):

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

7 years agoAdd a stubbed out StorageAreaMap class
andersca@apple.com [Thu, 11 Apr 2013 00:02:01 +0000 (00:02 +0000)]
Add a stubbed out StorageAreaMap class
https://bugs.webkit.org/show_bug.cgi?id=114392

Reviewed by Andreas Kling.

The intention is that StorageAreaMap is going to take over responsibility for storing the storage values in the
web process, as well as dispatching events. A StorageAreaMap will be shared between multiple StorageAreaImpl objects,
for example if multiple frames with the same origin use local storage.

* DerivedSources.make:
* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::StorageArea::dispatchEvents):
(WebKit::StorageManager::setItem):
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/Storage/StorageAreaImpl.cpp:
(WebKit::StorageAreaImpl::StorageAreaImpl):
(WebKit::StorageAreaImpl::~StorageAreaImpl):
* WebProcess/Storage/StorageAreaMap.cpp: Added.
(WebKit):
(WebKit::StorageAreaMap::create):
(WebKit::StorageAreaMap::StorageAreaMap):
(WebKit::StorageAreaMap::~StorageAreaMap):
(WebKit::StorageAreaMap::didSetItem):
(WebKit::StorageAreaMap::dispatchStorageEvent):
* WebProcess/Storage/StorageAreaMap.h: Added.
(WebKit):
(StorageAreaMap):
* WebProcess/Storage/StorageAreaMap.messages.in: Renamed from Source/WebKit2/WebProcess/Storage/StorageAreaImpl.messages.in.

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

7 years agoBugzilla should show bubbles from webkit-queues.appspot.com
rniwa@webkit.org [Thu, 11 Apr 2013 00:00:32 +0000 (00:00 +0000)]
Bugzilla should show bubbles from webkit-queues.appspot.com
https://bugs.webkit.org/show_bug.cgi?id=114391

Reviewed by Benjamin Poulain.

Include iframe from webkit-queues.appspot.com as well as one for webkit-commit-queue.appspot.com.

* code-review.js:
* template/en/custom/attachment/edit.html.tmpl:
* template/en/custom/attachment/list.html.tmpl:
* template/en/custom/attachment/reviewform.html.tmpl:

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

7 years agoRemove abarth from watchlists
abarth@webkit.org [Wed, 10 Apr 2013 23:53:42 +0000 (23:53 +0000)]
Remove abarth from watchlists
https://bugs.webkit.org/show_bug.cgi?id=114390

Reviewed by Ryosuke Niwa.

I'm trying to cut down on the amount of bugmail I get so that I'll have
more of a chance to notice a piece of bugmail directed at me.

* Scripts/webkitpy/common/config/watchlist:

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

7 years agowebkit-test-results.appspot.com loads the dashboard for Chromium by default
rniwa@webkit.org [Wed, 10 Apr 2013 23:44:07 +0000 (23:44 +0000)]
webkit-test-results.appspot.com loads the dashboard for Chromium by default
https://bugs.webkit.org/show_bug.cgi?id=114381

Reviewed by Benjamin Poulain.

Changed the defaults.

* TestResultServer/static-dashboards/builders.js:
* TestResultServer/static-dashboards/dashboard_base.js:
(currentBuilderGroupCategory):

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

7 years agoInspector highlights are offset when the WKView has a header
bdakin@apple.com [Wed, 10 Apr 2013 23:25:53 +0000 (23:25 +0000)]
Inspector highlights are offset when the WKView has a header
https://bugs.webkit.org/show_bug.cgi?id=114389
-and corresponding-
<rdar://problem/13522434>

Reviewed by Sam Weinig.

rootViewToContents() and contentsToRootView() need to factor in the
headerHeight(), much like windowToContents() and contentsToWindow() do already.
* platform/ScrollView.cpp:
(WebCore::ScrollView::rootViewToContents):
(WebCore::ScrollView::contentsToRootView):

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

7 years agoRename StorageAreaProxy to StorageAreaImpl.
andersca@apple.com [Wed, 10 Apr 2013 23:22:02 +0000 (23:22 +0000)]
Rename StorageAreaProxy to StorageAreaImpl.

Rubber-stamped by Beth Dakin.

* DerivedSources.make:
* UIProcess/Storage/StorageManager.cpp:
(WebKit::StorageManager::StorageArea::dispatchEvents):
(WebKit::StorageManager::setItem):
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/Storage/StorageAreaImpl.cpp: Renamed from Source/WebKit2/WebProcess/Storage/StorageAreaProxy.cpp.
* WebProcess/Storage/StorageAreaImpl.h: Renamed from Source/WebKit2/WebProcess/Storage/StorageAreaProxy.h.
* WebProcess/Storage/StorageAreaImpl.messages.in: Renamed from Source/WebKit2/WebProcess/Storage/StorageAreaProxy.messages.in.
* WebProcess/Storage/StorageNamespaceImpl.cpp:
(WebKit::StorageNamespaceImpl::storageArea):
* WebProcess/Storage/StorageNamespaceImpl.h:
(WebKit):
(StorageNamespaceImpl):

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

7 years agoRename StorageNamespaceProxy to StorageNamespaceImpl.
andersca@apple.com [Wed, 10 Apr 2013 23:21:59 +0000 (23:21 +0000)]
Rename StorageNamespaceProxy to StorageNamespaceImpl.

Rubber-stamped by Beth Dakin.

* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/Storage/StorageAreaProxy.cpp:
(WebKit::StorageAreaProxy::create):
(WebKit::StorageAreaProxy::StorageAreaProxy):
* WebProcess/Storage/StorageAreaProxy.h:
(StorageAreaProxy):
* WebProcess/Storage/StorageNamespaceImpl.cpp: Renamed from Source/WebKit2/WebProcess/Storage/StorageNamespaceProxy.cpp.
* WebProcess/Storage/StorageNamespaceImpl.h: Renamed from Source/WebKit2/WebProcess/Storage/StorageNamespaceProxy.h.
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::sessionStorageNamespace):

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

7 years agoRemove Chromium EWS bots from the queue status server
rniwa@webkit.org [Wed, 10 Apr 2013 23:11:24 +0000 (23:11 +0000)]
Remove Chromium EWS bots from the queue status server
https://bugs.webkit.org/show_bug.cgi?id=113988

Reviewed by Benjamin Poulain.

Removed Chromium EWS bots. Also updated it to use webkit-queues.appspot.com.

* QueueStatusServer/app.yaml:
* QueueStatusServer/config/queues.py:
* QueueStatusServer/model/queues.py:
(Queue.short_name):
(Queue.display_name):
* QueueStatusServer/model/queues_unittest.py:
(QueueTest.test_short_name):
(QueueTest.test_display_name):
(QueueTest.test_name_with_underscores):
* QueueStatusServer/templates/activebots.html:

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

7 years agoFlesh out the Animations logging
simon.fraser@apple.com [Wed, 10 Apr 2013 22:47:07 +0000 (22:47 +0000)]
Flesh out the Animations logging
https://bugs.webkit.org/show_bug.cgi?id=114388

Reviewed by Dean Jackson.

Log state changes and transition/animation creation and destruction
to the Animations log channel.

* page/animation/AnimationBase.cpp:
(WebCore::nameForState):
(WebCore::AnimationBase::updateStateMachine):
(WebCore::AnimationBase::fireAnimationEventsIfNeeded):
(WebCore::AnimationBase::goIntoEndingOrLoopingState):
(WebCore::AnimationBase::freezeAtTime):
* page/animation/CompositeAnimation.cpp:
(WebCore::CompositeAnimation::updateTransitions):
(WebCore::CompositeAnimation::updateKeyframeAnimations):
* page/animation/KeyframeAnimation.h:
(WebCore::KeyframeAnimation::keyframes):
(KeyframeAnimation):

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

7 years ago <rdar://problem/13047266> External XML entities are not loaded with modern...
ap@apple.com [Wed, 10 Apr 2013 22:45:35 +0000 (22:45 +0000)]
    <rdar://problem/13047266> External XML entities are not loaded with modern libxml2
        https://bugs.webkit.org/show_bug.cgi?id=114377

        Reviewed by Darin Adler.

        Covered by http/tests/security/xss-DENIED-xml-external-entity.xhtml when using
        new enough libxml2.

        * xml/parser/XMLDocumentParserLibxml2.cpp:
        (WebCore::switchToUTF16): Added a FIXME with an idea for improvement.
        (WebCore::XMLParserContext::createStringParser): Apply XML_PARSE_NOENT in a non-hacky
        way, so that the new libxml2 check doesn't fail.
        (WebCore::XMLParserContext::createMemoryParser): Updated an unhelpful and incorrect
        comment (XML_PARSE_NODICT actually means "Do not reuse the context dictionary").

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

7 years ago[wk2] Un-pollute TCADA methods with "PageOverlayLayerMap::iterator end"
timothy_horton@apple.com [Wed, 10 Apr 2013 22:35:29 +0000 (22:35 +0000)]
[wk2] Un-pollute TCADA methods with "PageOverlayLayerMap::iterator end"
https://bugs.webkit.org/show_bug.cgi?id=114387

Reviewed by Simon Fraser.

* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
(WebKit::TiledCoreAnimationDrawingArea::paintContents):
(WebKit::TiledCoreAnimationDrawingArea::flushLayers):
(WebKit::TiledCoreAnimationDrawingArea::setExposedRect):
(WebKit::TiledCoreAnimationDrawingArea::mainFrameScrollabilityChanged):
(WebKit::TiledCoreAnimationDrawingArea::updateGeometry):
(WebKit::TiledCoreAnimationDrawingArea::setRootCompositingLayer):

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

7 years agoJSObject::getOwnNonIndexPropertyNames calculates numCacheableSlots incorrectly
mhahnenberg@apple.com [Wed, 10 Apr 2013 22:25:36 +0000 (22:25 +0000)]
JSObject::getOwnNonIndexPropertyNames calculates numCacheableSlots incorrectly
https://bugs.webkit.org/show_bug.cgi?id=114235

Reviewed by Filip Pizlo.

If the object doesn't have any properties but the prototype does, we'll assume those prototype properties are
accessible in the base object's backing store, which is bad.

Source/JavaScriptCore:

* runtime/JSObject.cpp:
(JSC::JSObject::getPropertyNames):
(JSC::JSObject::getOwnNonIndexPropertyNames):
* runtime/PropertyNameArray.h:
(JSC::PropertyNameArray::PropertyNameArray):
(JSC::PropertyNameArray::setNumCacheableSlotsForObject):
(JSC::PropertyNameArray::setBaseObject):
(PropertyNameArray):

LayoutTests:

* fast/js/get-by-pname-only-prototype-properties-expected.txt: Added.
* fast/js/get-by-pname-only-prototype-properties.html: Added.
* fast/js/script-tests/get-by-pname-only-prototype-properties.js: Added.
(foo):

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

7 years ago[wk2] REGRESSION: Find highlight does not update when the view is resized
timothy_horton@apple.com [Wed, 10 Apr 2013 22:18:49 +0000 (22:18 +0000)]
[wk2] REGRESSION: Find highlight does not update when the view is resized
https://bugs.webkit.org/show_bug.cgi?id=114382
<rdar://problem/13599797>

Reviewed by Simon Fraser.

Invalidate the page overlays from TiledCoreAnimationDrawingArea::updateGeometry.
This will have no effect if the page overlay hasn't previously asked to be painted
(as drawsContent will remain false on the layer).

* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
(TiledCoreAnimationDrawingArea): Add invalidateAllPageOverlays.
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::invalidateAllPageOverlays): Factor this out of didChangeScrollOffsetForAnyFrame.
(WebKit::TiledCoreAnimationDrawingArea::didChangeScrollOffsetForAnyFrame): Call invalidateAllPageOverlays.
(WebKit::TiledCoreAnimationDrawingArea::updateGeometry): Call invalidateAllPageOverlays.

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

7 years ago[Mac] in-band tracks sometimes not recognized
eric.carlson@apple.com [Wed, 10 Apr 2013 21:53:28 +0000 (21:53 +0000)]
[Mac] in-band tracks sometimes not recognized
https://bugs.webkit.org/show_bug.cgi?id=114380

Reviewed by Jer Noble.

No new tests, covered by existing in-band tests.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerItem): Don't call selectMediaOption,
    availableMediaCharacteristicsWithMediaSelectionOptions is unlikely to be loaded at this time.
(WebCore::MediaPlayerPrivateAVFoundationObjC::processTextTracks): Disable automatic text track
    selection.
(WebCore::assetMetadataKeyNames): Watch for the status of availableMediaCharacteristicsWithMediaSelectionOptions
    to change.

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

7 years ago[CSS Exclusions] Zoom causes shape-inside to fail when shape-padding is specified
hmuller@adobe.com [Wed, 10 Apr 2013 21:22:39 +0000 (21:22 +0000)]
[CSS Exclusions] Zoom causes shape-inside to fail when shape-padding is specified
https://bugs.webkit.org/show_bug.cgi?id=113730

Reviewed by Dirk Schulze.

Source/WebCore:

Snap computed margin and polygon boundaries to the LayoutUnit grid to ensure
that they fall within the shape's LayoutUnit bounding box.

Test: fast/exclusions/shape-inside/shape-inside-polygon-zoom.html

* rendering/ExclusionPolygon.cpp:
(WebCore::snapVerticesToLayoutUnitGrid): Convert the FloatPoint coordinates to LayoutUnits and then back to floats.
(WebCore::computeShapePaddingBounds): Now calls snapVerticesToLayoutUnitGrid() before creating a FloatPolygon.
(WebCore::computeShapeMarginBounds): Ditto.

LayoutTests:

Verify that content lays out within a padded shape-inside polygon when the
document has been zoomed.

* fast/exclusions/shape-inside/shape-inside-polygon-zoom-expected.html: Added.
* fast/exclusions/shape-inside/shape-inside-polygon-zoom.html: Added.

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

7 years agoOne more unreviewed buildfix after r148123.
ossy@webkit.org [Wed, 10 Apr 2013 21:11:23 +0000 (21:11 +0000)]
One more unreviewed buildfix after r148123.

* platform/graphics/filters/CustomFilterMeshGenerator.h:

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

7 years agoFindBanner matches are offset when the WKView has a header or footer
bdakin@apple.com [Wed, 10 Apr 2013 20:57:25 +0000 (20:57 +0000)]
FindBanner matches are offset when the WKView has a header or footer
https://bugs.webkit.org/show_bug.cgi?id=114314
-and corresponding-
<rdar://problem/13522434>

Reviewed by Simon Fraser.

Source/WebCore:

There were already a few places in the code where we needed to adjust the
scrollOffset() to pretend that (0,0) is that the top of the Document rather than
the top of the header. To fix the FindBanner issues, we need to know that version
of the offset in a few more places, so I added a function on ScrollView to fetch
it called scrollOffsetRelativeToDocument().

New function subtracts out the headerHeight() to treat the top of
the document as (0,0).
* WebCore.exp.in:
* platform/ScrollView.cpp:
(WebCore::ScrollView::scrollOffsetRelativeToDocument):

Use scrollOffsetRelativeToDocument() where we were previously making this
calculation. Also re-name an inaccurately named variable where we are actually
converting FROM a document offset to a ScrollableArea offset.
(WebCore::ScrollView::windowToContents):
* platform/ScrollView.h:
(ScrollView):

getRectToExpose needs to know about the actual visibleContentRect and the
visibleContentRect that is relative to the Document. So this
patch adds a new parameter to getRectToExpose for that purpose.
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::scrollRectToVisible):
(WebCore::RenderLayer::getRectToExpose):
* rendering/RenderLayer.h:

Source/WebKit2:

When calculating the matching rects, also adjust to the scroll offset that is
relative to the Document.
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::rectsForTextMatches):

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

7 years agowhen ARIA button contains a link, label text is ignored (affects main buttons on...
cfleizach@apple.com [Wed, 10 Apr 2013 20:45:43 +0000 (20:45 +0000)]
when ARIA button contains a link, label text is ignored (affects main buttons on m.facebook.com)
https://bugs.webkit.org/show_bug.cgi?id=113906

Reviewed by Tim Horton.

Source/WebCore:

If an element does not expose any children, then it's safe to include all of its sub children when determining
the visible text.
The bug is that all elements were ignoring focusable elements (like <a>) when determining visible children text

Test: accessibility/link-inside-button-accessible-text.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::shouldUseAccessiblityObjectInnerText):
* accessibility/AccessibilityNodeObject.h:
(AccessibilityNodeObject):
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::isDescendantOfBarrenParent):
(AccessibilityObject):

LayoutTests:

The static-text-role-uses-text-under-element.html relies on similar logic to this bug.

I realized that it was verifying the wrong thing and if we had looked closely at this layout test
we would have caught this regression earlier most likely.

* accessibility/link-inside-button-accessible-text-expected.txt: Added.
* accessibility/link-inside-button-accessible-text.html: Added.
* platform/mac/accessibility/static-text-role-uses-text-under-element-expected.txt:
* platform/mac/accessibility/static-text-role-uses-text-under-element.html:

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

7 years agoAX: Make sure all AX methods called from outside call prepareAccessibility
cfleizach@apple.com [Wed, 10 Apr 2013 20:38:25 +0000 (20:38 +0000)]
AX: Make sure all AX methods called from outside call prepareAccessibility
https://bugs.webkit.org/show_bug.cgi?id=113818

Reviewed by Darin Adler.

Make sure any calls that can be made from outside WebCore are protected with the
prepareAccessibility method.

* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper accessibilityMathRootIndexObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathRadicandObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathNumeratorObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathDenominatorObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathBaseObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathSubscriptObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathSuperscriptObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathUnderObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathOverObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathFencedOpenString]):
(-[WebAccessibilityObjectWrapper accessibilityMathFencedCloseString]):
(-[WebAccessibilityObjectWrapper accessibilityIsMathTopObject]):
(-[WebAccessibilityObjectWrapper accessibilityMathType]):

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

7 years agoRemove code duplicates from MacroAssemblerARM
paroga@webkit.org [Wed, 10 Apr 2013 20:30:19 +0000 (20:30 +0000)]
Remove code duplicates from MacroAssemblerARM
https://bugs.webkit.org/show_bug.cgi?id=104457

Reviewed by Oliver Hunt.

Reuse some existing methods to avoid duplicated code.

* assembler/MacroAssemblerARM.h:
(JSC::MacroAssemblerARM::store8):
(JSC::MacroAssemblerARM::store32):
(JSC::MacroAssemblerARM::swap):
(JSC::MacroAssemblerARM::add32):
(JSC::MacroAssemblerARM::sub32):

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

7 years agoUnreviewed buildfix after r148123.
ossy@webkit.org [Wed, 10 Apr 2013 20:21:02 +0000 (20:21 +0000)]
Unreviewed buildfix after r148123.

* inspector/InspectorInstrumentation.h:
(WebCore):

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

7 years agoChange all instances of test-results.appspot.com to webkit-test-results.appspot.com
ojan@chromium.org [Wed, 10 Apr 2013 20:05:48 +0000 (20:05 +0000)]
Change all instances of test-results.appspot.com to webkit-test-results.appspot.com
https://bugs.webkit.org/show_bug.cgi?id=114370

Reviewed by Ryosuke Niwa.

Finish the transition of WebKit over to it's own instance of the flakiness dashboard.
Unfortunately, there's no way to test this until this is committed and there is
a master restart.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/garden-o-matic.html:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/builders_unittests.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/notifications_unittests.js:
* BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/scripts/ui/results.js:
* TestResultServer/generate_builders_json.py:
* TestResultServer/static-dashboards/dashboard_base.js:
* TestResultServer/static-dashboards/loader.js:

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

7 years agoClicking on the volume slider of HTML5 elements is pausing sometimes
commit-queue@webkit.org [Wed, 10 Apr 2013 20:02:43 +0000 (20:02 +0000)]
Clicking on the volume slider of HTML5 elements is pausing sometimes
https://bugs.webkit.org/show_bug.cgi?id=112548

Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2013-04-10
Reviewed by Eric Carlson.

Source/WebCore:

Test: media/click-volume-bar-not-pausing.html

* html/shadow/MediaControlElementTypes.cpp:
(WebCore::MediaControlVolumeSliderElement::defaultEventHandler):
Calling the setDefaultHandled() method on the event prevents it
from being incorrectly propagated from the volume button up to the
MediaDocument.

LayoutTests:

Added test.

* media/click-volume-bar-not-pausing-expected.txt: Added.
* media/click-volume-bar-not-pausing.html: Added.

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

7 years agoDFG: Negative size for new Array() interpreted as large unsigned int
msaboff@apple.com [Wed, 10 Apr 2013 20:01:14 +0000 (20:01 +0000)]
DFG: Negative size for new Array() interpreted as large unsigned int
https://bugs.webkit.org/show_bug.cgi?id=114366

Reviewed by Oliver Hunt.

Source/JavaScriptCore:

Added new check in operationNewArrayWithSize() for a negative
size.  If size is negative throw a "RangeError: Array size is not a
small enough positive integer" exception.

* dfg/DFGOperations.cpp:

LayoutTests:

New test to make sure DFG generated code for new Array() with a
computed negative size throws an exception.

* fast/js/dfg-negative-array-size-expected.txt: Added.
* fast/js/dfg-negative-array-size.html: Added.
* fast/js/script-tests/dfg-negative-array-size.js: Added.

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

7 years ago[BlackBerry] Rename BlackBerry specific Texture class
anilsson@rim.com [Wed, 10 Apr 2013 19:56:23 +0000 (19:56 +0000)]
[BlackBerry] Rename BlackBerry specific Texture class
https://bugs.webkit.org/show_bug.cgi?id=95781

Reviewed by Rob Buis.

Texture was a bit too generic and prone to name conflicts. Renamed it
to LayerTexture.

Source/WebCore:

No change in behavior, no new tests.

PR 322882

* PlatformBlackBerry.cmake:
* platform/graphics/blackberry/LayerCompositingThread.cpp:
(WebCore::LayerCompositingThread::drawSurface):
(WebCore::LayerCompositingThread::contentsTexture):
* platform/graphics/blackberry/LayerCompositingThread.h:
(LayerCompositingThread):
* platform/graphics/blackberry/LayerCompositingThreadClient.h:
(WebCore):
(WebCore::LayerCompositingThreadClient::contentsTexture):
* platform/graphics/blackberry/LayerFilterRenderer.cpp:
(WebCore::LayerFilterRenderer::applyActions):
* platform/graphics/blackberry/LayerFilterRenderer.h:
(LayerFilterRenderer):
* platform/graphics/blackberry/LayerRendererSurface.h:
(WebCore::LayerRendererSurface::texture):
(LayerRendererSurface):
* platform/graphics/blackberry/LayerTexture.cpp: Renamed from Source/WebCore/platform/graphics/blackberry/Texture.cpp.
(WebCore):
(WebCore::LayerTexture::LayerTexture):
(WebCore::LayerTexture::~LayerTexture):
(WebCore::LayerTexture::updateContents):
(WebCore::LayerTexture::setContentsToColor):
(WebCore::LayerTexture::protect):
* platform/graphics/blackberry/LayerTexture.h: Renamed from Source/WebCore/platform/graphics/blackberry/Texture.h.
(WebCore):
(LayerTexture):
(WebCore::LayerTexture::create):
(WebCore::LayerTexture::textureId):
(WebCore::LayerTexture::isDirty):
(WebCore::LayerTexture::hasTexture):
(WebCore::LayerTexture::isColor):
(WebCore::LayerTexture::isOpaque):
(WebCore::LayerTexture::isProtected):
(WebCore::LayerTexture::protect):
(WebCore::LayerTexture::unprotect):
(WebCore::LayerTexture::size):
(WebCore::LayerTexture::width):
(WebCore::LayerTexture::height):
(WebCore::LayerTexture::bytesPerPixel):
(WebCore::LayerTexture::sizeInBytes):
(WebCore::LayerTexture::setTextureId):
(WebCore::LayerTexture::setSize):
* platform/graphics/blackberry/LayerTile.cpp:
(WebCore::LayerTile::setContents):
(WebCore::LayerTile::updateContents):
(WebCore::LayerTile::setTexture):
* platform/graphics/blackberry/LayerTile.h:
(WebCore::LayerTile::texture):
(LayerTile):
* platform/graphics/blackberry/LayerTiler.cpp:
(WebCore::LayerTiler::drawTile):
(WebCore::LayerTiler::contentsTexture):
* platform/graphics/blackberry/LayerTiler.h:
(LayerTiler):
(WebCore::LayerTiler::TextureJob::TextureJob):
(WebCore::LayerTiler::TextureJob::setContents):
(WebCore::LayerTiler::TextureJob::updateContents):
(TextureJob):
* platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
(WebCore::TextureProtector::TextureProtector):
(TextureProtector):
(WebCore::TextureCacheCompositingThread::allocateTextureId):
(WebCore::freeTextureId):
(WebCore::TextureCacheCompositingThread::textureResized):
(WebCore::TextureCacheCompositingThread::textureSizeInBytesChanged):
(WebCore::TextureCacheCompositingThread::textureDestroyed):
(WebCore::TextureCacheCompositingThread::install):
(WebCore::TextureCacheCompositingThread::resizeTexture):
(WebCore::TextureCacheCompositingThread::evict):
(WebCore::TextureCacheCompositingThread::textureAccessed):
(WebCore::TextureCacheCompositingThread::prune):
(WebCore::TextureCacheCompositingThread::textureForTiledContents):
(WebCore::TextureCacheCompositingThread::textureForColor):
(WebCore::TextureCacheCompositingThread::updateContents):
* platform/graphics/blackberry/TextureCacheCompositingThread.h:
(WebCore::TextureCacheCompositingThread::createTexture):
(TextureCacheCompositingThread):
(WebCore::TextureCacheCompositingThread::ZombieTexture::ZombieTexture):
(ZombieTexture):

Source/WebKit/blackberry:

PR 322882

* Api/WebOverlay.cpp:
(BlackBerry::WebKit::WebOverlayLayerCompositingThreadClient::uploadTexturesIfNeeded):
* Api/WebOverlay_p.h:
(WebOverlayLayerCompositingThreadClient):

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

7 years agoDisallow programmatic movement of the browser window while user gestures are in progress.
akling@apple.com [Wed, 10 Apr 2013 19:38:07 +0000 (19:38 +0000)]
Disallow programmatic movement of the browser window while user gestures are in progress.
<http://webkit.org/b/114271>
<rdar://problem/13226530>

Reviewed by Oliver Hunt.

* page/DOMWindow.cpp:
(WebCore::DOMWindow::moveBy):
(WebCore::DOMWindow::moveTo):
(WebCore::DOMWindow::resizeBy):
(WebCore::DOMWindow::resizeTo):

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

7 years agoWinCairo build fails to link.
commit-queue@webkit.org [Wed, 10 Apr 2013 19:33:39 +0000 (19:33 +0000)]
WinCairo build fails to link.
https://bugs.webkit.org/show_bug.cgi?id=114358

Patch by peavo@outlook.com <peavo@outlook.com> on 2013-04-10
Reviewed by Brent Fulgham.

Export the symbol WTF::MD5::checksum().

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreExports.def:
* JavaScriptCore.vcxproj/JavaScriptCoreExportGenerator/JavaScriptCoreExports.def.in:

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

7 years ago[Qt] Fix regression to test-webkitpy.
glenn@skynav.com [Wed, 10 Apr 2013 19:24:46 +0000 (19:24 +0000)]
[Qt] Fix regression to test-webkitpy.
https://bugs.webkit.org/show_bug.cgi?id=114368

Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/layout_tests/port/factory.py:
(PortFactory._default_port): Return qt-linux instead of chromium-linux as default port for linux/freebsd.
(PortFactory.get): Remove obsolete chromium port related code.
* Scripts/webkitpy/layout_tests/port/mac.py:
(MacPort.default_child_processes): Prevent type error if can't determine total memory.

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

7 years agoFixed build failure in Plugin.h: FloatPoint was not in namespace WebCore
commit-queue@webkit.org [Wed, 10 Apr 2013 19:18:46 +0000 (19:18 +0000)]
Fixed build failure in Plugin.h: FloatPoint was not in namespace WebCore

make[1]: *** Waiting for unfinished jobs....
In file included from Source/WebKit2/PluginProcess/PluginCreationParameters.h:31:0,
                 from Source/WebKit2/PluginProcess/PluginCreationParameters.cpp:27:
./Source/WebKit2/WebProcess/Plugins/Plugin.h:268:58: error: 'FloatPoint' in namespace 'WebCore' does not name a type
./Source/WebKit2/WebProcess/Plugins/Plugin.h:268:77: error: ISO C++ forbids declaration of 'parameter' with no type [-fpermissive]
cc1plus: warning: unrecognized command line option "-Wno-c++11-extensions" [enabled by default]
make[1]: *** [Source/WebKit2/PluginProcess/libwebkit2gtk_3_0_la-PluginCreationParameters.lo] Error 1

It now passes that make target.

https://bugs.webkit.org/show_bug.cgi?id=111862

Patch by Tobias Mueller <tobiasmue@gnome.org> on 2013-04-10
Reviewed by Darin Adler.

* WebProcess/Plugins/Plugin.h:
(WebCore): Added FloatPoint to the WebCore namespace

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

7 years agoRefactor Editor::markAndReplaceFor before fixing autocorrection bugs
rniwa@webkit.org [Wed, 10 Apr 2013 19:16:58 +0000 (19:16 +0000)]
Refactor Editor::markAndReplaceFor before fixing autocorrection bugs
https://bugs.webkit.org/show_bug.cgi?id=114344

Reviewed by Enrica Casucci.

This patch refactors Editor::markAndReplaceFor so that we can start fixing bugs in a sane state.
Extracted isAutomaticTextReplacementType and correctSpellcheckingPreservingTextCheckingParagraph,
and made convenience local variables const.

In particular, shouldMarkSpelling used to be assigned of false when shouldShowCorrectionPanel was true
in a middle of a function but this was removed in favor of explicitly checking this condition later
since shouldMarkSpelling was only referenced once after the assignment.

* editing/Editor.cpp:
(WebCore::isAutomaticTextReplacementType): Extracted.

(WebCore::correctSpellcheckingPreservingTextCheckingParagraph): Extracted.  Used highestAncestor
and rangeFromLocationAndLength to match the rest of the up-to-date editing code.

(WebCore::Editor::markAndReplaceFor): See above.

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

7 years agoRemove unneeded headers from FrameLoader.h
andersca@apple.com [Wed, 10 Apr 2013 19:11:20 +0000 (19:11 +0000)]
Remove unneeded headers from FrameLoader.h
https://bugs.webkit.org/show_bug.cgi?id=114223

Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

Update for WTF changes.

* bytecode/SpeculatedType.h:
* runtime/JSCJSValue.h:

Source/WebCore:

Remove unneeded headers from FrameLoader.h and add them back into the respective .cpp files where needed.

* dom/Document.cpp:
* history/CachedFrame.cpp:
* history/PageCache.cpp:
* inspector/InspectorResourceAgent.cpp:
* loader/DocumentLoader.cpp:
* loader/FrameLoader.cpp:
(WebCore::FrameLoader::FrameLoader):
(WebCore::FrameLoader::retryAfterFailedCacheOnlyMainResourceLoad):
* loader/FrameLoader.h:
(WebCore):
(WebCore::FrameLoader::policyChecker):
(WebCore::FrameLoader::history):
(WebCore::FrameLoader::icon):
* loader/MixedContentChecker.h:
* loader/icon/IconLoader.cpp:
* page/History.cpp:
* page/Page.cpp:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
* testing/Internals.cpp:

Source/WebKit/blackberry:

Include HistoryController.h from WebCore.

* WebCoreSupport/FrameLoaderClientBlackBerry.cpp:

Source/WebKit/mac:

Include HistoryController.h from WebCore.

* WebCoreSupport/WebFrameLoaderClient.mm:
* WebView/WebView.mm:

Source/WebKit/win:

Include HistoryController.h from WebCore.

* WebView.cpp:

Source/WebKit2:

Include HistoryController.h from WebCore.

* WebProcess/Plugins/PDF/SimplePDFPlugin.h:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
* WebProcess/WebPage/WebPage.cpp:

Source/WTF:

* wtf/Forward.h:
Add PrintStream.

* wtf/HashTable.h:
Don't include DataLog.h unless DUMP_HASHTABLE_STATS_PER_TABLE is 1.

Tools:

Add back headers implicitly included by other headers.

* WebKitTestRunner/WorkQueueManager.cpp:

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