Add crash test expectations for tests regressed by r138729
The failure is tracked by the bug 106042.

* platform/mac-wk2/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
webkit fails IETC column-width-negative-001.htm
https://bugs.webkit.org/show_bug.cgi?id=84778

Patch by Uday Kiran <udaykiran@motorola.com> on 2013-01-03
Reviewed by Tony Chang.

Source/WebCore:

CSS3 multicolumn 'column-width' property value must be greater than zero.
http://dev.w3.org/csswg/css3-multicol/#column-width

Test: fast/multicol/column-width-zero.html
Negative value test covered by ietestcenter/css3/multicolumn/column-width-negative-001.htm

* css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): Check for value greater than zero while parsing.

LayoutTests:

New test for multicolumn 'column-width' property with zero value.
Enable IETC column-width-negative test.

* fast/multicol/column-width-zero-expected.txt: Added.
* fast/multicol/column-width-zero.html: Added.
* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
No way to obtain a DOMNode given a JS wrapper for a Node
https://bugs.webkit.org/show_bug.cgi?id=106033

Source/WebCore: 

Reviewed by Sam Weinig.

Test: TestWebKitAPI/Tests/mac/DOMNodeFromJSObject.mm.

* bindings/objc/DOM.mm:
(+[DOMNode _nodeFromJSWrapper:]): Added. If the given JSObjectRef is a wrapper for a Node,
returns the Objective-C wrapper for that node. Note that Objective-C wrappers are always
for the main world, regardless of which world the given JS wrapper comes from.
* bindings/objc/DOMPrivate.h: Added declaration of the above.

Tools: 

Added a test for +[DOMNode _nodeFromJSWrapper:].

Reviewed by Sam Weinig.

* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/mac/DOMNodeFromJSObject.mm: Added.
(TestWebKitAPI):
(TestWebKitAPI::TEST):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
css3/filters/effect-invert.html is flaky/has incorrect image output on Win

Unreviewed gardening. Marked this as [ Failure Pass ] for Win7 and
as [ Failure ] for XP.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed debug buildfix after r138723.

* WebProcess/qt/QtBuiltinBundle.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Setting webaudio/automatic-pull-node.html to
[ Timeout Pass ] for XP.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt][WK2] Unreviewed gardening, skip a new crashing test to paint the bots green.

* platform/qt-5.0-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Ensure autorelease pool exists when calling WKNSProcessInfoProcessAssertionWithTypes on Mac
https://bugs.webkit.org/show_bug.cgi?id=105674

Patch by Kiran Muppala <cmuppala@apple.com> on 2013-01-03
Reviewed by Sam Weinig.

The function WKNSProcessInfoProcessAssertionWithTypes returns a autoreleased object and since,
it is called during process initialization prior to the runloop being started in PluginProcess
and SharedWorkerProcess, an autorelease pool must be explictly created.

* PluginProcess/mac/PluginProcessMainMac.mm:
(WebKit::PluginProcessMain): Enclose process initialization code in an @autoreleasepool block.
* SharedWorkerProcess/mac/SharedWorkerProcessMainMac.mm:
(WebKit::SharedWorkerProcessMain): Ditto.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138752 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Disable an intermittently failing unit test for now.
The failure is tracked by the bug 106051.

* TestWebKitAPI/Tests/mac/MemoryCachePruneWithinResourceLoadDelegate.mm:
(TestWebKitAPI::TEST):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Mutation Observers] prevent delivery while recipient context is suspended
https://bugs.webkit.org/show_bug.cgi?id=105810

Reviewed by Adam Barth.

Source/WebCore:

Test: inspector/debugger/mutation-observer-suspend-while-paused.html

* dom/MutationObserver.cpp:
(WebCore::suspendedMutationObservers):
(WebCore):
(WebCore::MutationObserver::canDeliver):
(WebCore::MutationObserver::deliver):
(WebCore::MutationObserver::deliverAllMutations):
* dom/MutationObserver.h:

LayoutTests:

* inspector/debugger/mutation-observer-suspend-while-paused-expected.txt: Added.
* inspector/debugger/mutation-observer-suspend-while-paused.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Regions] Don't apply region flow to fullscreen video playing
https://bugs.webkit.org/show_bug.cgi?id=102388

Reviewed by David Hyatt.

In case of full screen video playing we want to watch the video full screen without applying the region flow.

Source/WebCore: 

Test: fast/regions/full-screen-video-from-region.html

* dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded): Don't move full screen video playing to FlowThread.

LayoutTests: 

* fast/regions/full-screen-video-from-region-expected.txt: Added.
* fast/regions/full-screen-video-from-region.html: Added.
* platform/chromium-mac/fast/regions/full-screen-video-from-region-expected.png: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[HTMLTemplateElement] When adopting a template element, also adopt its content into the appropriate document
https://bugs.webkit.org/show_bug.cgi?id=106039

Reviewed by Eric Seidel.

Source/WebCore:

Implements the approach discussed in the spec bug:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20129

Test: fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html

* html/HTMLTemplateElement.cpp:
(WebCore::HTMLTemplateElement::didMoveToNewDocument):
* html/HTMLTemplateElement.h:
(HTMLTemplateElement):

LayoutTests:

* fast/dom/HTMLTemplateElement/ownerDocument-adoptNode-expected.txt: Added.
* fast/dom/HTMLTemplateElement/ownerDocument-adoptNode.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Body background with background-attachment:fixed stays in place during rubber-banding
https://bugs.webkit.org/show_bug.cgi?id=67894

Reviewed by Beth Dakin.

Use FrameView::scrollOffsetForFixedPosition() to compute the location of the rect
used to position fixed backgrounds, since it takes rubber-banding into account.

No test because rubber-banding isn't testtable in layout tests.

* rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::calculateBackgroundImageGeometry):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
https://bugs.webkit.org/show_bug.cgi?id=105475
Nested fixed position elements incorrectly repositioned on scrolling

Reviewed by Simon Fraser.

Source/WebCore: 

The fix here is to ensure that the ScrollingTree reflects the same hierarchy as 
the GraphicsLayer tree. And from there, we can correctly calculate the offset for 
nested objects by keeping track of a cumulative delta that parents have been moved 
by.

We already had to fix this same bug in ScrollingStateNode::removeChild(). The 
index can be notFound when you are removing a grandchild.
* page/scrolling/ScrollingTreeNode.cpp:
(WebCore::ScrollingTreeNode::removeChild):

parentScrollPositionDidChange() now takes a second parameter that represents the 
delta that parent graphicsLayers have been moved by.
* page/scrolling/ScrollingTreeNode.h:
(ScrollingTreeNode):
* page/scrolling/ScrollingTreeScrollingNode.h:
* page/scrolling/mac/ScrollingTreeFixedNode.h:
(ScrollingTreeFixedNode):

attachToStateTree() now handles re-parenting.
* page/scrolling/mac/ScrollingCoordinatorMac.mm:
(WebCore::ScrollingCoordinatorMac::attachToStateTree):

Properly adjust by and compute the new parameter cumulativeDelta. Adjusting by 
this will prevent fixed children of fixed objects from moving when they are not 
supposed to.
* page/scrolling/mac/ScrollingTreeFixedNode.mm:
(WebCore::ScrollingTreeFixedNode::parentScrollPositionDidChange):

Give parentScrollPositionDidChange() an initial delta of (0,0).
* page/scrolling/mac/ScrollingTreeScrollingNodeMac.mm:
(WebCore::ScrollingTreeScrollingNodeMac::setScrollLayerPosition):

Properly adjust by and compute the new parameter cumulativeDelta. This math is 
actually not quite right for sticky yet as the FIXME indicates. 
* page/scrolling/mac/ScrollingTreeStickyNode.h:
(ScrollingTreeStickyNode):
* page/scrolling/mac/ScrollingTreeStickyNode.mm:
(WebCore::ScrollingTreeStickyNode::parentScrollPositionDidChange):

Re-named attachToScrollingCoordinator() to attachToScrollingCoordinatorWithParent 
to make it clear that the node may already be attached, but it may need to be re-
parented.
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::attachToScrollingCoordinatorWithParent):
* rendering/RenderLayerBacking.h:
(RenderLayerBacking):
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateBacking):

Always call attachToScrollingCoordinatorWithParent() in case the fixed node has 
been re-parented.
(WebCore::RenderLayerCompositor::registerOrUpdateViewportConstrainedLayer):

LayoutTests: 

Unfortunately, the children were not really accurate before, and they are not 
really accurate now. It seems like the state tree is not fully up-to-date when the 
test is printing it. 
* platform/mac/tiled-drawing/fixed/nested-fixed-expected.txt:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove all traces of Windows from WebKit2 folder.
https://bugs.webkit.org/show_bug.cgi?id=105585.

Reviewed by Sam Weinig.

WebKitExportGenerator project needs to be moved out of the WebKit2/win folder and into WebKit/win.

* WebKit.vcproj/WebKit.def.in: Added.
* WebKit.vcproj/WebKit.sln:
* WebKit.vcproj/WebKit.vcproj:
* WebKit.vcproj/WebKitCFLite.vsprops: Added.
* WebKit.vcproj/WebKitExportGenerator.vcproj: Added.
* WebKit.vcproj/WebKitExportGeneratorBuildCmd.cmd: Added.
* WebKit.vcproj/WebKitExportGeneratorCommon.vsprops: Added.
* WebKit.vcproj/WebKitExportGeneratorDebug.vsprops: Added.
* WebKit.vcproj/WebKitExportGeneratorDebugAll.vsprops: Added.
* WebKit.vcproj/WebKitExportGeneratorDebugCairoCFLite.vsprops: Added.
* WebKit.vcproj/WebKitExportGeneratorPostBuild.cmd: Added.
* WebKit.vcproj/WebKitExportGeneratorPreBuild.cmd: Added.
* WebKit.vcproj/WebKitExportGeneratorProduction.vsprops: Added.
* WebKit.vcproj/WebKitExportGeneratorRelease.vsprops: Added.
* WebKit.vcproj/WebKitExportGeneratorReleaseCairoCFLite.vsprops: Added.
* WebKit.vcproj/WebKitLibCommon.vsprops:
* win: Removed.
* win/MainWin.cpp: Removed.
* win/WebKit2.def.in: Removed.
* win/WebKit2.make: Removed.
* win/WebKit2.rc: Removed.
* win/WebKit2.submit.sln: Removed.
* win/WebKit2.vcproj: Removed.
* win/WebKit2Apple.vsprops: Removed.
* win/WebKit2CFLite.vsprops: Removed.
* win/WebKit2Common.vsprops: Removed.
* win/WebKit2Debug.vsprops: Removed.
* win/WebKit2DebugAll.vsprops: Removed.
* win/WebKit2DebugCairoCFLite.vsprops: Removed.
* win/WebKit2DirectX.vsprops: Removed.
* win/WebKit2ExportGenerator.vcproj: Removed.
* win/WebKit2ExportGeneratorBuildCmd.cmd: Removed.
* win/WebKit2ExportGeneratorCommon.vsprops: Removed.
* win/WebKit2ExportGeneratorDebug.vsprops: Removed.
* win/WebKit2ExportGeneratorDebugAll.vsprops: Removed.
* win/WebKit2ExportGeneratorDebugCairoCFLite.vsprops: Removed.
* win/WebKit2ExportGeneratorPostBuild.cmd: Removed.
* win/WebKit2ExportGeneratorPreBuild.cmd: Removed.
* win/WebKit2ExportGeneratorProduction.vsprops: Removed.
* win/WebKit2ExportGeneratorRelease.vsprops: Removed.
* win/WebKit2ExportGeneratorReleaseCairoCFLite.vsprops: Removed.
* win/WebKit2Generated.make: Removed.
* win/WebKit2Generated.vcproj: Removed.
* win/WebKit2GeneratedCommon.vsprops: Removed.
* win/WebKit2Production.vsprops: Removed.
* win/WebKit2Release.vsprops: Removed.
* win/WebKit2ReleaseCairoCFLite.vsprops: Removed.
* win/WebKit2WebProcess.resources: Removed.
* win/WebKit2WebProcess.resources/Info.plist: Removed.
* win/WebKit2WebProcess.vcproj: Removed.
* win/WebKit2WebProcessCommon.vsprops: Removed.
* win/WebKit2WebProcessDebug.vsprops: Removed.
* win/WebKit2WebProcessDebugAll.vsprops: Removed.
* win/WebKit2WebProcessDebugCairoCFLite.vsprops: Removed.
* win/WebKit2WebProcessPostBuild.cmd: Removed.
* win/WebKit2WebProcessPreBuild.cmd: Removed.
* win/WebKit2WebProcessProduction.vsprops: Removed.
* win/WebKit2WebProcessRelease.vsprops: Removed.
* win/WebKit2WebProcessReleaseCairoCFLite.vsprops: Removed.
* win/WebKitPostBuild.cmd: Removed.
* win/WebKitPreBuild.cmd: Removed.
* win/WebKitPreLink.cmd: Removed.
* win/build-generated-files.sh: Removed.
* win/deleteButton.png: Removed.
* win/deleteButtonPressed.png: Removed.
* win/fsVideoAudioVolumeHigh.png: Removed.
* win/fsVideoAudioVolumeLow.png: Removed.
* win/fsVideoExitFullscreen.png: Removed.
* win/fsVideoPause.png: Removed.
* win/fsVideoPlay.png: Removed.
* win/missingImage.png: Removed.
* win/nullplugin.png: Removed.
* win/panEastCursor.png: Removed.
* win/panIcon.png: Removed.
* win/panNorthCursor.png: Removed.
* win/panNorthEastCursor.png: Removed.
* win/panNorthWestCursor.png: Removed.
* win/panSouthCursor.png: Removed.
* win/panSouthEastCursor.png: Removed.
* win/panSouthWestCursor.png: Removed.
* win/panWestCursor.png: Removed.
* win/resource.h: Removed.
* win/searchCancel.png: Removed.
* win/searchCancelPressed.png: Removed.
* win/searchMagnifier.png: Removed.
* win/searchMagnifierResults.png: Removed.
* win/textAreaResizeCorner.png: Removed.
* win/verticalTextCursor.png: Removed.
* win/xcopy.excludes: Removed.
* win/zoomInCursor.png: Removed.
* win/zoomOutCursor.png: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Adding cr-linux image baseline for
http://trac.webkit.org/changeset/138755

* platform/chromium-linux/fast/regions/full-screen-video-from-region-expected.png: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a failing test expectation for fast/inline/continuation-outlines-with-layers.html on Mac
and associate it with the bug 106064.
        
Also update Chromium test expectations to associate the failure with the bug 106064.
They were erroneously associated with resolved bugs.

* platform/chromium/TestExpectations:
* platform/mac/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Dashboard cleanup: remove usage of global g_defaultBuilderName
https://bugs.webkit.org/show_bug.cgi?id=106043

Use now public defaultBuilder() from the BuilderGroup, rather
than global variable.

Also eliminates the setup() and initBuilders() functions since we
no longer need to track the global.

Reviewed by Adam Barth.

* TestResultServer/static-dashboards/builders.js:
(BuilderGroup.prototype.defaultBuilder):
(BuilderGroup.prototype.master):
* TestResultServer/static-dashboards/dashboard_base.js:
(parseParameters):
* TestResultServer/static-dashboards/flakiness_dashboard.js:
(updateDefaultBuilderState):
* TestResultServer/static-dashboards/loader.js:
(.):
* TestResultServer/static-dashboards/loader_unittests.js:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DFG::ByteCodeCache serves little or no purpose ever since we decided to keep bytecode around permanently
https://bugs.webkit.org/show_bug.cgi?id=106058

Reviewed by Michael Saboff.
        
All baseline code blocks now always have bytecode, so the bytecode cache's ability to minimize the
number of times that the DFG produces bytecode sequences for code blocks is superfluous.

* GNUmakefile.list.am:
* JavaScriptCore.xcodeproj/project.pbxproj:
* dfg/DFGByteCodeCache.h: Removed.
* dfg/DFGByteCodeParser.cpp:
(ByteCodeParser):
(JSC::DFG::ByteCodeParser::handleInlining):
* runtime/Executable.cpp:
(JSC):
* runtime/Executable.h:
(FunctionExecutable):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION(r138729): crash and assertion failures in WebKit::WebProcess::plugInDidReceiveUserInteraction
https://bugs.webkit.org/show_bug.cgi?id=106042
<rdar://problem/12953469>

Reviewed by Brady Eidson.

Source/WebKit2:

The assertion is hit if plugin snapshotting is disabled, and the user interacts with a plug-in that
comes from an origin not found in the cached dictionary. The proper fix is to check for whether the
setting is enabled. Otherwise, that origin should be in the dictionary since the plugin is running.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::pluginDidReceiveUserInteraction): Check for the setting, and avoid the whole code
path if snapshotting is disabled.

LayoutTests:

* platform/mac-wk2/TestExpectations: Unskip the crashing tests.

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