Unreviewed update of test expectations.

Marking media/track/track-cue-rendering-snap-to-lines-not-set.html as
flaky again until WK89167 is fixed.

* platform/chromium/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[New Multicolumn] Implement column repainting.
https://bugs.webkit.org/show_bug.cgi?id=95593

Reviewed by Dan Bernstein.
        
Make the new columns repaint properly. Note this code is a significant improvement over the
old multicolumn code in that repaints are properly issued per-column, i.e., no more fuzzy
uniting of rects.

* rendering/RenderMultiColumnSet.cpp:
(WebCore::RenderMultiColumnSet::columnIndexAtOffset):
(WebCore):
(WebCore::RenderMultiColumnSet::repaintFlowThreadContent):
* rendering/RenderMultiColumnSet.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[DRT] Make simulating a web click on a notification a queued task
https://bugs.webkit.org/show_bug.cgi?id=95546
<rdar://problem/12214170>

Reviewed by Alexey Proskuryakov.

Making the web click happen asynchronously better mimics user interaction with the platform.

* DumpRenderTree/TestRunner.h: Add a flag that determines whether we have a pending notification click.
(TestRunner::hasPendingWebNotificationClick): Exposed so that dump() can check that the flag is
not set.
* DumpRenderTree/mac/DumpRenderTree.mm:
(dump): Assert that the flag is not set.
* DumpRenderTree/mac/TestRunnerMac.mm:
(TestRunner::simulateWebNotificationClick): Set the flag, then add a task to click the
notification. In the case where the block gets executed after the flag has been unset, we avoid
performing the click.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Tests] Add basic tests to http/tests/notifications
https://bugs.webkit.org/show_bug.cgi?id=95493
<rdar://problem/12209303>

Reviewed by Alexey Proskuryakov.

Source/WebKit2:

Simplify the passing of the permission policy to just a boolean instead of converting it
back and forth from the NotificationClient::Permission enum.

* WebProcess/InjectedBundle/API/c/WKBundlePrivate.h: Move the declaration to the section
of functions that are TestRunner SPI.
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::setWebNotificationPermission): Use a boolean.
* WebProcess/Notifications/NotificationPermissionRequestManager.cpp:
(WebKit::NotificationPermissionRequestManager::setPermissionLevelForTesting):
* WebProcess/Notifications/NotificationPermissionRequestManager.h:
(NotificationPermissionRequestManager):

* win/WebKit2.vcproj: Add WKNotificationPermissionRequest.{h,cpp}.
* win/WebKit2Generated.make: Export WKNotificationPermissionRequest.h.

Tools:

Add permission request support for WTR.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):
(WTR::TestController::decidePolicyForNotificationPermissionRequest): Always allow.
* WebKitTestRunner/TestController.h:
(TestController):

LayoutTests:

* http/tests/notifications/request-expected.txt: Added.
* http/tests/notifications/request.html: Added. This test requests permission. DRT/WTR
is expected to accept it, and we verify that both the parameter in the callback function,
and Notification.permission, are both set to "granted".
* http/tests/notifications/show-expected.txt: Added.
* http/tests/notifications/show.html: Added. This test checks that the various permission
APIs on TestRunner work.

Legacy analog to above tests.
* http/tests/notifications/legacy/request-expected.txt: Added.
* http/tests/notifications/legacy/request.html: Added.
* http/tests/notifications/legacy/show-expected.txt: Added.
* http/tests/notifications/legacy/show.html: Added.

* http/tests/resources/js-test-post-async.js: Added. This will be used for most tests since
the events are called asynchronously.
* http/tests/resources/js-test-pre.js: Updated from fast/js/resources.
* http/tests/resources/notifications-test-pre.js: Added. Adds a helper function to complete
the test, and defines the domain of http/tests.
(testCompleted):

Skip.
* platform/chromium/TestExpectations: Skip on Android. Filed 95506 to bring Chromium support.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/Skipped:
* platform/qt/Skipped: Filed 95507 to bring Qt support.
* platform/win/Skipped:
* platform/wincairo/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove extraneous includes (Node.h, Document.h, Element.h, RenderObject.h)
https://bugs.webkit.org/show_bug.cgi?id=95259

Patch by Nikhil Bhargava <nbhargava@google.com> on 2012-08-31
Reviewed by Sam Weinig.

Node.h, Document.h, Element.h, and RenderObject.h are four of the most
expensive headers to include. This patch removes them from many of the
places they are not needed. There is a minor compile-time performance
boost.

* dom/ElementShadow.h:
* dom/Range.h:
(WebCore):
* dom/TreeScopeAdopter.h:
(WebCore):
* editing/VisiblePosition.h:
(WebCore):
* html/HTMLCollection.h:
(WebCore):
* html/parser/HTMLElementStack.h:
* html/parser/HTMLTreeBuilder.h:
(WebCore):
* html/track/WebVTTParser.h:
(WebCore):
* inspector/InspectorCSSAgent.h:
(WebCore):
* inspector/InspectorInstrumentation.h:
(WebCore):
* inspector/InspectorOverlay.h:
* loader/ImageLoader.h:
* loader/TextTrackLoader.h:
(WebCore):
* platform/chromium/PopupListBox.cpp:
* platform/chromium/PopupListBox.h:
(WebCore):
* platform/graphics/MediaPlayer.h:
(WebCore):
* rendering/FilterEffectRenderer.h:
* rendering/InlineFlowBox.cpp:
* rendering/RenderCounter.cpp:
* rendering/RenderGeometryMap.h:
(WebCore):
* rendering/RenderInputSpeech.h:
(WebCore):
* rendering/RenderMediaControls.h:
(WebCore):
* rendering/RenderMediaControlsChromium.h:
(WebCore):
* rendering/RenderQuote.cpp:
* rendering/RenderQuote.h:
(WebCore):
* rendering/RenderScrollbar.h:
(WebCore):
* rendering/RenderText.h:
(WebCore):
* rendering/RenderTheme.h:
(WebCore):
* rendering/RenderThemeChromiumSkia.h:
(WebCore):
* rendering/svg/RenderSVGResourceMarker.h:
(WebCore):
* svg/graphics/filters/SVGFilterBuilder.h:
(WebCore):
* xml/NativeXPathNSResolver.h:
(WebCore):
(NativeXPathNSResolver):
(WebCore::NativeXPathNSResolver::create):
* xml/XPathStep.h:
(WebCore):
(XPath):
(Step):
(NodeTest):
(WebCore::XPath::Step::NodeTest::NodeTest):
(WebCore::XPath::Step::NodeTest::kind):
(WebCore::XPath::Step::NodeTest::data):
(WebCore::XPath::Step::NodeTest::namespaceURI):
(WebCore::XPath::Step::NodeTest::mergedPredicates):
(WebCore::XPath::Step::axis):
(WebCore::XPath::Step::nodeTest):
* xml/parser/NewXMLDocumentParser.cpp:
* xml/parser/NewXMLDocumentParser.h:
(WebCore):
* xml/parser/XMLToken.h:
* xml/parser/XMLTreeBuilder.cpp:
* xml/parser/XMLTreeBuilder.h:
(WebCore):

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