Unreviewed, rolling out r143936.
http://trac.webkit.org/changeset/143936
https://bugs.webkit.org/show_bug.cgi?id=110789

Causes webkit_unit_tests failures on android dbg (Requested by
vollick on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-25

Source/WebCore:

* platform/image-decoders/gif/GIFImageDecoder.cpp:
(WebCore::GIFImageDecoder::GIFImageDecoder):
(WebCore::GIFImageDecoder::setData):
(WebCore::GIFImageDecoder::frameCount):
(WebCore::GIFImageDecoder::decodingHalted):
(WebCore):
(WebCore::GIFImageDecoder::haveDecodedRow):
(WebCore::GIFImageDecoder::decode):
* platform/image-decoders/gif/GIFImageDecoder.h:
(GIFImageDecoder):
* platform/image-decoders/gif/GIFImageReader.cpp:
(GIFImageReader::doLZW):
(GIFImageReader::read):
* platform/image-decoders/gif/GIFImageReader.h:
(GIFFrameContext):
(GIFFrameContext::GIFFrameContext):
(GIFFrameContext::~GIFFrameContext):
(GIFImageReader::GIFImageReader):
(GIFImageReader::~GIFImageReader):
(GIFImageReader):
(GIFImageReader::globalColormap):
(GIFImageReader::globalColormapSize):

Source/WebKit/chromium:

* WebKit.gyp:
* WebKit.gypi:
* tests/GIFImageDecoderTest.cpp: Removed.
* tests/data/broken.gif: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143972 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Build fix for gtk2-based library.

Reviewed by Martin Robinson.

* platform/gtk/WidgetRenderingContext.cpp: move gtk2 check to after the config.h
include, which is the one that includes autotoolsconfig.h, where the gtk2 define
lives.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed build fix after r143965.

* bindings/scripts/CodeGeneratorV8.pm:
(GenerateOverloadedConstructorCallback):
* bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
(WebCore::TestOverloadedConstructorsV8Internal::constructor):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Move html5lib/run-test* into html5lib/generated in preparation for generating these harnesses
https://bugs.webkit.org/show_bug.cgi?id=110795

Reviewed by Ojan Vafai.

* html5lib/generated/run-template-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-template.html: Added.
* html5lib/generated/run-tests1-expected.txt: Renamed from LayoutTests/html5lib/run-test7-expected.txt.
* html5lib/generated/run-tests1.html: Added.
* html5lib/generated/run-tests10-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests10.html: Added.
* html5lib/generated/run-tests11-expected.txt: Renamed from LayoutTests/html5lib/run-test11-expected.txt.
* html5lib/generated/run-tests11.html: Added.
* html5lib/generated/run-tests12-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests12.html: Added.
* html5lib/generated/run-tests14-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests14.html: Added.
* html5lib/generated/run-tests15-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests15.html: Added.
* html5lib/generated/run-tests16-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests16.html: Added.
* html5lib/generated/run-tests17-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests17.html: Added.
* html5lib/generated/run-tests18-expected.txt: Renamed from LayoutTests/html5lib/run-test18-expected.txt.
* html5lib/generated/run-tests18.html: Added.
* html5lib/generated/run-tests19-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests19.html: Added.
* html5lib/generated/run-tests2-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests2.html: Added.
* html5lib/generated/run-tests20-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests20.html: Added.
* html5lib/generated/run-tests21-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests21.html: Added.
* html5lib/generated/run-tests22-expected.txt: Renamed from LayoutTests/html5lib/run-test10-expected.txt.
* html5lib/generated/run-tests22.html: Added.
* html5lib/generated/run-tests23-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests23.html: Added.
* html5lib/generated/run-tests24-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests24.html: Added.
* html5lib/generated/run-tests25-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests25.html: Added.
* html5lib/generated/run-tests26-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests26.html: Added.
* html5lib/generated/run-tests3-expected.txt: Renamed from LayoutTests/html5lib/run-test14-expected.txt.
* html5lib/generated/run-tests3.html: Added.
* html5lib/generated/run-tests4-expected.txt: Renamed from LayoutTests/html5lib/run-test12-expected.txt.
* html5lib/generated/run-tests4.html: Added.
* html5lib/generated/run-tests5-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests5.html: Added.
* html5lib/generated/run-tests6-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests6.html: Added.
* html5lib/generated/run-tests7-expected.txt: Renamed from LayoutTests/html5lib/run-test1-expected.txt.
* html5lib/generated/run-tests7.html: Added.
* html5lib/generated/run-tests8-expected.txt: Copied from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests8.html: Added.
* html5lib/generated/run-tests9-expected.txt: Renamed from LayoutTests/html5lib/run-template-expected.txt.
* html5lib/generated/run-tests9.html: Added.
* html5lib/run-template.html: Removed.
* html5lib/run-test1.html: Removed.
* html5lib/run-test10.html: Removed.
* html5lib/run-test11.html: Removed.
* html5lib/run-test12.html: Removed.
* html5lib/run-test14.html: Removed.
* html5lib/run-test15-expected.txt: Removed.
* html5lib/run-test15.html: Removed.
* html5lib/run-test16-expected.txt: Removed.
* html5lib/run-test16.html: Removed.
* html5lib/run-test17-expected.txt: Removed.
* html5lib/run-test17.html: Removed.
* html5lib/run-test18.html: Removed.
* html5lib/run-test19-expected.txt: Removed.
* html5lib/run-test19.html: Removed.
* html5lib/run-test2-expected.txt: Removed.
* html5lib/run-test2.html: Removed.
* html5lib/run-test20-expected.txt: Removed.
* html5lib/run-test20.html: Removed.
* html5lib/run-test21-expected.txt: Removed.
* html5lib/run-test21.html: Removed.
* html5lib/run-test22-expected.txt: Removed.
* html5lib/run-test22.html: Removed.
* html5lib/run-test23-expected.txt: Removed.
* html5lib/run-test23.html: Removed.
* html5lib/run-test24-expected.txt: Removed.
* html5lib/run-test24.html: Removed.
* html5lib/run-test25-expected.txt: Removed.
* html5lib/run-test25.html: Removed.
* html5lib/run-test26-expected.txt: Removed.
* html5lib/run-test26.html: Removed.
* html5lib/run-test3-expected.txt: Removed.
* html5lib/run-test3.html: Removed.
* html5lib/run-test4-expected.txt: Removed.
* html5lib/run-test4.html: Removed.
* html5lib/run-test5-expected.txt: Removed.
* html5lib/run-test5.html: Removed.
* html5lib/run-test6-expected.txt: Removed.
* html5lib/run-test6.html: Removed.
* html5lib/run-test7.html: Removed.
* html5lib/run-test8-expected.txt: Removed.
* html5lib/run-test8.html: Removed.
* html5lib/run-test9-expected.txt: Removed.
* html5lib/run-test9.html: Removed.
* platform/chromium/TestExpectations:
* platform/chromium/html5lib/generated/run-tests1-expected.txt: Renamed from LayoutTests/platform/chromium/html5lib/run-test7-expected.txt.
* platform/chromium/html5lib/generated/run-tests18-expected.txt: Renamed from LayoutTests/platform/chromium/html5lib/run-test18-expected.txt.
* platform/chromium/html5lib/generated/run-tests7-expected.txt: Renamed from LayoutTests/platform/chromium/html5lib/run-test1-expected.txt.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac/TestExpectations:
* platform/qt/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a new pluginDidFail callback that takes a WKDictionary of plug-in information
https://bugs.webkit.org/show_bug.cgi?id=110793
<rdar://problem/13265303>

Reviewed by Sam Weinig.

Source/WebKit2:

Add a new pluginDidFail callback that takes a WKDictionaryRef and also pass in the
frame and page URLs.

* UIProcess/API/C/WKPage.h:
* UIProcess/WebLoaderClient.cpp:
(WebKit::pluginInformationDictionary):
(WebKit::WebLoaderClient::didFailToInitializePlugin):
(WebKit::WebLoaderClient::didBlockInsecurePluginVersion):
(WebKit::WebLoaderClient::pluginLoadPolicy):
* UIProcess/WebLoaderClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didFailToInitializePlugin):
(WebKit::WebPageProxy::didBlockInsecurePluginVersion):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::didFailToInitializePlugin):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::createJavaAppletWidget):
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::createPlugin):

Tools:

Update for WebKit2 API changes.

* MiniBrowser/mac/WK2BrowserWindowController.m:
(-[WK2BrowserWindowController awakeFromNib]):
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::createWebViewWithOptions):

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

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didBlockInsecurePluginVersion):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make ninja the default w/ build-webkit --chromium on windows.
https://bugs.webkit.org/show_bug.cgi?id=110731

Unreviewed - TBR'ing thakis :).

* Scripts/update-webkit-chromium:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143978 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Page::m_isInWindow is uninitialized
https://bugs.webkit.org/show_bug.cgi?id=110807

Reviewed by Simon Fraser.

Ideally m_isInWindow and m_isOnscreen would default to false, and be flipped to true
when the Page is put in-window or on-screen. However, only the Mac port seems to ever
call setIsInWindow/didMoveOnscreen. So, we have to default to true and flip it to false
immediately after construction on Mac.

This is just matching the behaviour of the existing m_isOnscreen.

* page/Page.cpp:
(WebCore::Page::Page): Initialize m_isInWindow to true.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143979 268f45cc-cd09-0410-ab3c-d52691b4dbfc
nrwt: reenable multiple http shards on chromium win
https://bugs.webkit.org/show_bug.cgi?id=110814

Reviewed by Tony Chang.

The underlying bug in DumpRenderTree that was causing us to look for a
pac file and timeout under load was fixed a while ago.

* Scripts/webkitpy/layout_tests/port/chromium_win.py:
(ChromiumWinPort.relative_test_filename):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Safari shows empty window and paints webpage in full-screen background
https://bugs.webkit.org/show_bug.cgi?id=103712

Reviewed by Darin Adler.

When canceling full screen mode due to a provisional load, exit normally instead of closing the
full screen window controller. Additionally, to ensure full screen is cancelled when the enclosing
frame around a full screen iframe is navigated, check to see if the navigating document contains
a full screen element, rather than checking whether the document itself is full screen.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143981 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Full screen mode should not exit when application resigns active state.
https://bugs.webkit.org/show_bug.cgi?id=106129

Reviewed by Darin Adler.

Now that full screen windows get their own full screen space, there is no reason to exit full
screen mode when the application resigns active state. Instead, the windowserver will bring the
space containing the newly active application to the foreground. The user can then swipe back
to the full screen space (or use Mission Control) to get back to the full screen window.

* UIProcess/mac/WKFullScreenWindowController.mm:
(-[WKFullScreenWindowController windowDidLoad]): Remove the applicationDidResignActive: notification from WKFullScreenWindowController.

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