<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[166977] trunk/Tools</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/166977">166977</a></dd>
<dt>Author</dt> <dd>mrobinson@webkit.org</dd>
<dt>Date</dt> <dd>2014-04-08 16:36:28 -0700 (Tue, 08 Apr 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>[GTK] Remove WebKit1 unit tests
https://bugs.webkit.org/show_bug.cgi?id=131359

Reviewed by Anders Carlsson.

Remove all WebKit1 GTK+ unit tests, in preparation for removing the WebKit1 port
entirely. We also remove the list of skipped WebKi1 tests from run-gtk-tests, as
they were inadvertently left in http://trac.webkit.org/changeset/166504.

* CMakeLists.txt: No longer load the WebKit1 unit test CMakeLists.txt file.
* Scripts/run-gtk-tests: Remove skipped WebKit1 unit tests.
* TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt: Removed.
* TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico: Removed.
* TestWebKitAPI/Tests/WebKitGtk/resources/test.html: Removed.
* TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg: Removed.
* TestWebKitAPI/Tests/WebKitGtk/resources/test.pdf: Removed.
* TestWebKitAPI/Tests/WebKitGtk/resources/test.txt: Removed.
* TestWebKitAPI/Tests/WebKitGtk/test_utils.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/test_utils.h: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testatk.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testatkroles.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testdomnode.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testdownload.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testglobals.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testloading.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebframe.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebresource.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwebview.c: Removed.
* TestWebKitAPI/Tests/WebKitGtk/testwindow.c: Removed.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkToolsCMakeListstxt">trunk/Tools/CMakeLists.txt</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsScriptsrungtktests">trunk/Tools/Scripts/run-gtk-tests</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtkCMakeListstxt">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtkresourcesblankico">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtkresourcestesthtml">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtkresourcestestogg">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtkresourcestestpdf">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.pdf</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtkresourcestesttxt">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.txt</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktest_utilsc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktest_utilsh">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.h</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestapplicationcachec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestatkc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestatkrolesc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatkroles.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestcontextmenuc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestcopyandpastec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestdomdocumentc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestdomdomwindowc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestdomnodec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomnode.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestdownloadc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestfavicondatabasec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestglobalsc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testglobals.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktesthittestresultc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktesthttpbackendc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestkeyeventsc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestloadingc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestmimehandlingc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestnetworkrequestc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestnetworkresponsec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebbackforwardlistc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebdatasourcec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebframec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebframe.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebhistoryitemc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebinspectorc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebplugindatabasec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebresourcec">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebsettingsc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwebviewc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c</a></li>
<li><a href="#trunkToolsTestWebKitAPITestsWebKitGtktestwindowc">trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwindow.c</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkToolsCMakeListstxt"></a>
<div class="modfile"><h4>Modified: trunk/Tools/CMakeLists.txt (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/CMakeLists.txt        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/CMakeLists.txt        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -21,9 +21,6 @@
</span><span class="cx">         add_subdirectory(MiniBrowser/gtk)
</span><span class="cx">         add_subdirectory(TestWebKitAPI/Tests/WebKit2Gtk)
</span><span class="cx">     endif ()
</span><del>-    if (ENABLE_WEBKIT)
-        add_subdirectory(TestWebKitAPI/Tests/WebKitGtk)
-    endif ()
</del><span class="cx">     add_subdirectory(DumpRenderTree/TestNetscapePlugIn)
</span><span class="cx"> elseif (&quot;${PORT}&quot; STREQUAL &quot;WinCE&quot;)
</span><span class="cx">     add_subdirectory(WinCELauncher)
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/ChangeLog        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,3 +1,53 @@
</span><ins>+2014-04-08  Martin Robinson  &lt;mrobinson@igalia.com&gt;
+
+        [GTK] Remove WebKit1 unit tests
+        https://bugs.webkit.org/show_bug.cgi?id=131359
+
+        Reviewed by Anders Carlsson.
+
+        Remove all WebKit1 GTK+ unit tests, in preparation for removing the WebKit1 port
+        entirely. We also remove the list of skipped WebKi1 tests from run-gtk-tests, as
+        they were inadvertently left in http://trac.webkit.org/changeset/166504.
+
+        * CMakeLists.txt: No longer load the WebKit1 unit test CMakeLists.txt file.
+        * Scripts/run-gtk-tests: Remove skipped WebKit1 unit tests.
+        * TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/resources/test.html: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/resources/test.pdf: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/resources/test.txt: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/test_utils.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/test_utils.h: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testatk.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testatkroles.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testdomnode.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testdownload.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testglobals.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testloading.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebframe.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebresource.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwebview.c: Removed.
+        * TestWebKitAPI/Tests/WebKitGtk/testwindow.c: Removed.
+
</ins><span class="cx"> 2014-04-08  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Unreviewed gardening (Take 2): Prevent users from attempting
</span></span></pre></div>
<a id="trunkToolsScriptsrungtktests"></a>
<div class="modfile"><h4>Modified: trunk/Tools/Scripts/run-gtk-tests (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/Scripts/run-gtk-tests        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/Scripts/run-gtk-tests        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -61,9 +61,6 @@
</span><span class="cx">     TEST_DIRS = [ &quot;WebKit2Gtk&quot;, &quot;WebKit2&quot;, &quot;JavaScriptCore&quot;, &quot;WTF&quot;, &quot;WebCore&quot;,  &quot;WebCoreGtk&quot; ]
</span><span class="cx"> 
</span><span class="cx">     SKIPPED = [
</span><del>-        SkippedTest(&quot;WebKitGtk/testwebinspector&quot;, &quot;/webkit/webinspector/close-and-inspect&quot;, &quot;Test is flaky in GTK Linux 32-bit Release bot&quot;, 82869),
-        SkippedTest(&quot;WebKitGtk/testwebresource&quot;, &quot;/webkit/webresource/loading&quot;, &quot;Test fails&quot;, 104689),
-        SkippedTest(&quot;WebKitGtk/testwebresource&quot;, &quot;/webkit/webresource/sub_resource_loading&quot;, &quot;Test fails in GTK Linux 64-bit Release bot&quot;, 82330),
</del><span class="cx">         SkippedTest(&quot;WebKit2Gtk/TestUIClient&quot;, &quot;/webkit2/WebKitWebView/mouse-target&quot;, &quot;Test times out after r150890&quot;, 117689),
</span><span class="cx">         SkippedTest(&quot;WebKit2Gtk/TestContextMenu&quot;, SkippedTest.ENTIRE_SUITE, &quot;Test times out after r150890&quot;, 117689),
</span><span class="cx">         SkippedTest(&quot;WebKit2Gtk/TestWebKitWebView&quot;, &quot;/webkit2/WebKitWebView/snapshot&quot;, &quot;Test fails&quot;, 120404),
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtkCMakeListstxt"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/CMakeLists.txt        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-add_definitions(-DTEST_PLUGIN_DIR=&quot;${CMAKE_LIBRARY_OUTPUT_DIRECTORY}&quot;)
-include_directories(
-    ${CMAKE_BINARY_DIR}
-    ${CMAKE_SOURCE_DIR}/Source
-    ${CMAKE_SOURCE_DIR}/Source/JavaScriptCore/ForwardingHeaders
-    ${CMAKE_SOURCE_DIR}/Source/WebKit/gtk
-    ${CMAKE_SOURCE_DIR}/Source/WebCore/platform/gtk
-    ${CMAKE_SOURCE_DIR}/Source/WebCore/platform
-    ${CMAKE_SOURCE_DIR}/Source/WTF
-    ${DERIVED_SOURCES_DIR}
-    ${DERIVED_SOURCES_WEBKITGTK_DIR}
-    ${GLIB_INCLUDE_DIRS}
-    ${GTK_INCLUDE_DIRS}
-    ${LIBSOUP_INCLUDE_DIRS}
-    ${X11_INCLUDE_DIR}
-)
-
-macro(ADD_WK1_TEST test_name)
-    add_executable(${test_name} ${ARGN})
-    target_link_libraries(${test_name}
-        JavaScriptCore
-        WebKit
-        ${GLIB_LIBRARIES}
-        ${GTK_LIBRARIES}
-        ${LIBSOUP_LIBRARIES}
-        ${X11_X11_LIB}
-    )
-    set_target_properties(${test_name} PROPERTIES
-        RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/TestWebKitAPI/WebKitGtk
-    )
-endmacro()
-
-ADD_WK1_TEST(testapplicationcache testapplicationcache.c)
-ADD_WK1_TEST(testatkroles testatkroles.c)
-ADD_WK1_TEST(testatk testatk.c)
-ADD_WK1_TEST(testcontextmenu testcontextmenu.c)
-ADD_WK1_TEST(testcopyandpaste testcopyandpaste.c ${WEBCORE_DIR}/platform/gtk/GtkVersioning.c)
-ADD_WK1_TEST(testdomdocument testdomdocument.c)
-ADD_WK1_TEST(testdomdomwindow testdomdomwindow.c)
-ADD_WK1_TEST(testdomnode testdomnode.c)
-ADD_WK1_TEST(testdownload testdownload.c)
-ADD_WK1_TEST(testfavicondatabase testfavicondatabase.c test_utils.c)
-ADD_WK1_TEST(testglobals testglobals.c)
-ADD_WK1_TEST(testhittestresult testhittestresult.c)
-ADD_WK1_TEST(testhttpbackend testhttpbackend.c)
-ADD_WK1_TEST(testkeyevents testkeyevents.c)
-ADD_WK1_TEST(testloading testloading.c)
-ADD_WK1_TEST(testmimehandling testmimehandling.c test_utils.c)
-ADD_WK1_TEST(testnetworkrequest testnetworkrequest.c)
-ADD_WK1_TEST(testnetworkresponse testnetworkresponse.c)
-ADD_WK1_TEST(testwebbackforwardlist testwebbackforwardlist.c)
-ADD_WK1_TEST(testwebdatasource testwebdatasource.c)
-ADD_WK1_TEST(testwebframe testwebframe.c)
-ADD_WK1_TEST(testwebhistoryitem testwebhistoryitem.c)
-ADD_WK1_TEST(testwebinspector testwebinspector.c test_utils.c)
-ADD_WK1_TEST(testwebplugindatabase testwebplugindatabase.c)
-ADD_WK1_TEST(testwebresource testwebresource.c)
-ADD_WK1_TEST(testwebsettings testwebsettings.c)
-ADD_WK1_TEST(testwebview testwebview.c test_utils.c)
-ADD_WK1_TEST(testwindow testwindow.c)
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtkresourcesblankico"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/blank.ico        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-\xB0( \xFF\xFF\xFF
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtkresourcestesthtml"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;&lt;title&gt;test&lt;/title&gt;&lt;/head&gt;
-&lt;body&gt;test&lt;/body&gt;
-&lt;/html&gt;&gt;&lt;/head&gt;
-&lt;body&gt;test&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtkresourcestestogg"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.ogg        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,341 +0,0 @@
</span><del>-OggSlrU,q\xA2vorbisD\xACq\xB8OggSlrD}g&gt;-\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFFvorbisXiph.Org libVorbis I 20090709vorbis)BCV1L ŀАU`$)\x93fI)\xA5\x94\xA1(y\x98\x94HI)\xA5\x94\xC50\x89\x98\x94\x89\xC5c\x8C1\xC6c\x8C1\xC6c\x8C 4d\x80(        \x8E\xA3\xE6Ij\xCE9g'\x8Er\xA09iN8\xA7 \x8AQ\xE09        \xC2\xF5&amp;cn\xA6\xB4\xA6kn\xCE)% -Y@H!\x85RH!\x85b\x88!\x86b\x88!\x87r\xC8!\xA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hh+rb\x8DP(\xAA@[Q\x80\xC1h:@\xA6\x91gɀX \xA2\xC0\x8A\x80\xD1V\xAC!XC E \xC1\x87$\xEA\xC6X\xB1E+B\x8DU\x9D\x82\x88Eg)؈\xAA\x80i) \xA0h\xC0&quot;\x88@\xD0!b\x8D&quot;\x8A\x8CBDa/\x80\x810\x8C`P\xC0\xC1\x96P\xE8\x9E(4\xD1\x9E \x8F\x8B&amp;F@X@ʝ\xB0\xCC&gt;:\xA6\xDA4k\xD5l\xD6a\xFA9\x87\x83\x80X\xDCŰO -[\x86\x8BUM;;\xD3P\x89\x8F\xCFb$\xD4ً\xAD\xA5\x95T,\xAD%h\xB6%\xAA\x96b-1\xED01uD\xC0\xC2B\xA5\xC4+\xB1\xB5\xD2j\x8D&quot;\xDBE         \x83\x96\xC0;        L\xCAS2\x90\xC0\xD8RY B\x93\x84\xC42\x82t\xD7j\xB5\xA8\xAFY\xC4 jY\xBA,\xB54\x97&quot;\xA3+\xF6(&lt;\x9Fd \xC5x'\xE9\xB8+\x800B\xB4Ɔh\x{134403}\xD0~\xBA\xEF\xB0\xC6\xE3\xC6\x8BF\xBDL\x9A؝\xB3\xC1\xB0
-TK\xC94bM:M\x84\x96\xAE\xB2\xA0\x9Dw-9N\xAA
-AB&quot;bC\xD4\xCCĭaw\xBA\xD9i\xBFͥ\xF1\xB2,\x93\xC5\xFEđ x\xAE6\xAD\xB0\x81H\xD5\xD1\xD2F\xAB
-\x88+iHQl\x8AeR\xD8\x800\x84\xC0%#.E\xDDD\xB7,\xE8]&quot;\xAA\xA0/@        &quot;@\x80@\xF4
-h\x85\xA3\xD3bĢS\xC5J\xC5`\xD0\x8A#\x8A
- -F\x80Z\x82\xAA*$p @\xE2C\xA2\xAA\xAA::\xC0\xC1@\xC7\xBEt\xC9\x91\xC0a1h\x8A&quot;\xC0\xE1\xCE        `\xB5\x99\xD89\xD3\xFCh\xBDY\xE8\xAC\xDF\xED~2\x83\x80X\xDC\xD5\xD6T[\x89,jcb\x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        l#\xFB]83\xC2ت$\xA2\xC7 M\x8B\xB8=
-\x8D\xBA\xBC.h_v\xE0\x86\x92\xF1\xEFr!\xB6M2\x98\x84\xA0\xEB\xC6x\x86\x81\x89\xC1Ne[\x89\xCAjOggS@Slr2
-\x98\x86\xFF\x80\xFF\x88\xFF|\xFF\x95\xFF\x91\xFF\x85\xFFy\xFF~\xFF\x82\xFF\x81\xFF_\xF7B\xF6k\x98\x81\x95\xEE&amp;\xC1\xF5\xBE\xC6\xE4\x80\x81@tX\xF1\xA2\x80\xB4\x82@ \x80\x88\x808Bx\x8026:E\xB0\x88\xE8X!UU(t \x84&quot;dm%
-\xC30ET\xB1.\x80 :T\xC0T (k\xC0\xE84\x88 U\x85Pl\xFD&quot;\x80G4ш\x93Q\xA4\xE5\xE0'`\x80U'\xDE7\xC4&amp;\x91\x80\xBE!\xD6\x88\xA3wU\x86\x92\x91\xBB2\x99m\xD4s\x9A\x8D\x9A\xDA~w\xB4;/&amp;v\xAAUkĈ\xB1`\x8CZ\x91D\xECj\xB1D[\x87\xA5\xD2sl\x90\xA5X#KKQLF@\xAFUR5ZQU        \xD1x
-\xAD\x93\xE2F\xC8\xB6-&quot;\xD8\x92        H\xB4p\x85ea\xF8\xAA[\xCDp1\x80\xB1%\xE1d:\xF1B\xBB4QH\x8D\x93x\xA1\x89&quot; \xD8.\xA9\xD7\xC5|\x95\x92\x97)B\x80;a5\x80\xA5R҆,5 E a\xA5BL\xA3+\xA1\x89\xC2\xC0\x85\x8E\xD55E5\x9E\xAC\\x8D'\xF0\xCD\xCC\xCCY\xCAc\x8A\xED\x86R`\xC2\x87mT\x99,֠Q\xBB\xB3\xB4\xA8T\xADUt\xA3iwH\xE1J3\xD8ϥ\x90X]P\xCD\x8F\xE6ι\xFC䡌X\xDEJ&amp;bX\x8BX@Е\xA5\xC1\xE8\\x80+\x85(9\x81h\xB0\xC8\x8B@\x80#ɂP - h,F@lTEG;*\x82\x85\x82\xF0&amp;  \x82A\x8CXWE\xC1\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8FL\xCFD\x8B\xA7GRS\xC0:X\xCBY -!\x89@\xB4        MkT@\x84\xD1J\xA0\xA4v&quot;\x9DJ\x80         (\xF4xKX\x82gx\xF9 \x82\x8C-^\xA3GTQ\xB0Z\xD5 {^`\x83&quot;\xB4\x86\xD8`a\x98\xA8\x82a -EE&quot;FU\x808\xC4B\x83\xADPT@\x805UD\xA6!\x9A\xC1\xE4#pb̀\xF8&quot;@V\xBA5\x9E(\xD45\x91\x8C\x87\xBAF\xA0\x92        \xC0\xE8\xCE6\x90l$\xDBȚ*\xE64\xABE\xD8tg.0 -f0;\xD5\xC18\xA7\xC5\xCE4RŰ        f\x82\xD5\xD1\xDE.5\xBC\xD5&amp;l\xB11\xED,L7\xACf[Zɜ\xC40K\\xE9\xD6\xD8P\xA9\xE0EDF\xA3j\xAC\x8D\x880\xB2\xDD#\xC0\xA1,(\xC5m\xA1*V \xA4f\x8A\xA1 ri\xA4 p̦jK\x84\xE3\xA6\xD3(C\xA4\x9AY# \x97\xF5y1n' \x84T-\x84\x99B\xC0(\xBAp\x99$\x806D*\xC1\xE4\x86r(̭\xE6-ժ1\xA0\xA1s\xB0\xD0&quot;[\xB8\x97\xE6\xA0\xA3*H\x9C9#E\x82r\xEC\x88N({J{jaR&amp;t8bzr\x89I(1\xCB\xC9\xDC\xBC\x90LA\xCC'\xF3S\xC8OggS@xlr\xF2\x88I%}\xFF\x86\xFF\x88\xFF\x88HKHHFHGVVZWWX[W]XU[VBLD\XS\xFFR\xFFX\x8Dc\xA0ȁ\x85\x94\xE9uH@\xC43:[\xB4+DG\x81Т\xB0 \xB0\x95\xCBzP@0h ݊\x80P\xA0E\xC1\x82\xC0\x88
-\x9A\x9C6\x82b\x83\xAB\xA0@\xAD\xD3,\x80F&quot;\xC6:@P\xB4\xC3 -B\xC0T\xC0\xA0\xA8b\x8D6\xAAV \xA0^\x81c&lt;\xCD\xF3\x9B\x87@N\xD1a \x81A@\xA3\xFE7\xA4\xC6#\x89d b\xCD\xE8oHMD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]\xAC\x8D=\x929(ݠH\x95J\xECb\xDFIn\x93\xD9;\xEF\x89\xA3pzgD[\xADm\xA9\x88S\xC4R\xB1\x981{q\xEC \xC5c#\x8E6V\xEC1\x89LDT\xBCkg\x8DsZ -;{;\xC3bU\xAB\xAD\x98^4b\xD5:RQT`KaX1 - 먀
-\x88`\x92_\xD0 AUa\x80\x94\x80t\x999\x91ܚ
-*\xC0\xA0\xA27*\x98        ,h\x85\xC0\xC8JnЀj\xC4`\xA3j\xADEK@\x98d&quot;K\xD6
-)\xACdr        \x90C\x95B@\xD96Y\x80%y\x89\xADІ0\x93\x86\xD0v\xB9T\x88\x91glK\x80h\xD9)\xEC\xC9MQ\xBEj@\x80
- 
- 2!\x88T-,#-2\xC1
-\xACZX5, -\xCB\xD1*\x86\x8A\xB8+\x8B\xACX\x93`\xB1\xB0@\xEDdL\xB6\x93\xC0`\xAD\xC0B\xED\xA2\x97&gt;\xF5\xA2\xC0\x88\xB08 \x8C\x8D\x93|\xC2        t\xFD\xFC-\xDBƺ2\x98+\xCE3DA@P\xAA\xF8\xC4 @\xC1h
-\x80\xD84(\xFE\xB8#\xA4\x81.\xAA)j\xC37\xEE\xE1aj\x86jt\xB4\xE1\xF0)\x91\xA1\xA8\x94@
-\xA9,j^QD\x90\x886\x87֪jS\xFA\xE9d\x9B\xA9؁\x80\xA7\xB8Ǩ\x92\xB6\xB58&gt;\x8AkQ\xA3\xD6z,6c\xA3\xB5\xE2$5\xAAZ&amp;فw\xE6\xB11D\xEC\xC5a`;\x92M*ni`\xA0\x92c\xF7\xC8j\xD1
-\x800hT\xF2\xD0\x8C@ &quot;\x8C\x96\xB4\xA8*RBP2V\x8CTibT \xA20\xA4d0\xA2]!=\xA2\xA8&quot;\xA3U,X˲X\xC45\xC2b\+\xB4\xDD\x94R&gt;ɽΤF2%&quot; 6`8\x89\x81\xEC\xA7b        p\x94\x80\xCB\x90Ȩ\x93\xB2\x86 \x95b)\xC4a`\xB1\xA6\x87\xE2\xBC8\x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( ۣ\x86X\xB1\xA6(`\x9A\xD0\x81p \xB1\x81CƘE@#  @\xB1\xA8B10\x80\x80\x8B`c\xDD
-`\x92\x85\x99
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtkresourcestestpdf"></a>
<div class="binary"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.pdf</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtkresourcestesttxt"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.txt (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.txt        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.txt        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-test
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktest_utilsc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Arno Renevier
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;test_utils.h&quot;
-
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-
-int testutils_relative_chdir(const gchar *targetFilename, const gchar *executablePath)
-{
-    /* user can set location of the webkit repository directory if it differs from build directory */
-    const gchar *repoPath = g_getenv(&quot;WEBKITREPODIR&quot;);
-    if (repoPath) {
-        if (g_chdir(repoPath))
-            return -1;
-    } else if (g_chdir(g_path_get_dirname(executablePath)))
-            return -1;
-
-    while (!g_file_test(targetFilename, G_FILE_TEST_EXISTS)) {
-        gchar *pathName;
-        if (g_chdir(&quot;..&quot;))
-            return -1;
-        g_assert(!g_str_equal((pathName = g_get_current_dir()), &quot;/&quot;));
-        g_free(pathName);
-    }
-
-    gchar *dirName = g_path_get_dirname(targetFilename);
-    if (g_chdir(dirName)) {
-        g_free(dirName);
-        return -1;
-    }
-
-    g_free(dirName);
-    return 0;
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktest_utilsh"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.h (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.h        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/test_utils.h        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-#include &lt;glib.h&gt;
-
-int testutils_relative_chdir(const gchar *targetFilename, const gchar *executablePath);
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestapplicationcachec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testapplicationcache.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-/*
- * Copyright (C) 2011 Lukasz Slachciak
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2,1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;glib.h&gt;
-#include &lt;glib/gprintf.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-static void test_application_cache_maximum_size()
-{
-    unsigned long long maxSize = 8192;
-    webkit_application_cache_set_maximum_size(maxSize);
-
-    // Creating a WebView - make sure that it didn't change anything
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    g_object_unref(webView);
-
-    g_assert(maxSize == webkit_application_cache_get_maximum_size());
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/application_cache/maximum_size&quot;,
-                    test_application_cache_maximum_size);
-
-    return g_test_run();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestatkc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatk.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,1476 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Igalia S.L.
- * Copyright (C) 2013 Samsung Electronics. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;locale.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-static const char* centeredContents = &quot;&lt;html&gt;&lt;body&gt;&lt;p style='text-align: center;'&gt;Short line&lt;/p&gt;&lt;p style='text-align: center;'&gt;Long-size line with some foo bar baz content&lt;/p&gt;&lt;p style='text-align: center;'&gt;Short line&lt;/p&gt;&lt;p style='text-align: center;'&gt;This is a multi-line paragraph&lt;br /&gt;where the first line&lt;br /&gt;is the biggest one&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* contents = &quot;&lt;html&gt;&lt;body&gt;&lt;p&gt;This is a test. This is the second sentence. And this the third.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* contentsInTableWithHeaders = &quot;&lt;html&gt;&lt;body&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;foo&lt;/th&gt;&lt;th&gt;bar&lt;/th&gt;&lt;th colspan='2'&gt;baz&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;qux&lt;/th&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;td&gt;3&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th rowspan='2'&gt;quux&lt;/th&gt;&lt;td&gt;4&lt;/td&gt;&lt;td&gt;5&lt;/td&gt;&lt;td&gt;6&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;6&lt;/td&gt;&lt;td&gt;7&lt;/td&gt;&lt;td&gt;8&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;corge&lt;/th&gt;&lt;td&gt;9&lt;/td&gt;&lt;td&gt;10&lt;/td&gt;&lt;td&gt;11&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;3&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* contentsWithExtraneousWhiteSpaces = &quot;&lt;html&gt;&lt;head&gt;&lt;body&gt;&lt;p&gt;This\n                          paragraph\n                                                      is\n                                                                                                                                                                                                                                                                                                                                                                            borked!&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* comboBoxSelector = &quot;&lt;html&gt;&lt;body&gt;&lt;select&gt;&lt;option selected value='foo'&gt;foo&lt;/option&gt;&lt;option value='bar'&gt;bar&lt;/option&gt;&lt;/select&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* embeddedObjects = &quot;&lt;html&gt;&lt;body&gt;&lt;p&gt;Choose: &lt;input value='foo' type='checkbox'/&gt;foo &lt;input value='bar' type='checkbox'/&gt;bar (pick one)&lt;/p&gt;&lt;p&gt;Choose: &lt;select name='foo'&gt;&lt;option&gt;bar&lt;/option&gt;&lt;option&gt;baz&lt;/option&gt;&lt;/select&gt; (pick one)&lt;/p&gt;&lt;p&gt;&lt;input name='foobarbutton' value='foobar' type='button'/&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* formWithTextInputs = &quot;&lt;html&gt;&lt;body&gt;&lt;form&gt;&lt;input type='text' name='entry' /&gt;&lt;input type='password' name='passwordEntry' /&gt;&lt;/form&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* hypertextAndHyperlinks = &quot;&lt;html&gt;&lt;body&gt;&lt;p&gt;A paragraph with no links at all&lt;/p&gt;&lt;p&gt;&lt;a href='http://foo.bar.baz/'&gt;A line&lt;/a&gt; with &lt;a href='http://bar.baz.foo/'&gt;a link in the middle&lt;/a&gt; as well as at the beginning and &lt;a href='http://baz.foo.bar/'&gt;at the end&lt;/a&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;List item with a &lt;span&gt;&lt;a href='http://foo.bar.baz/'&gt;link inside a span node&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* layoutAndDataTables = &quot;&lt;html&gt;&lt;body&gt;&lt;table&gt;&lt;tr&gt;&lt;th&gt;Odd&lt;/th&gt;&lt;th&gt;Even&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;foo&lt;/td&gt;&lt;td&gt;bar&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* linksWithInlineImages = &quot;&lt;html&gt;&lt;head&gt;&lt;style&gt;a.http:before {content: url(no-image.png);}&lt;/style&gt;&lt;body&gt;&lt;p&gt;&lt;a class='http' href='foo'&gt;foo&lt;/a&gt; bar baz&lt;/p&gt;&lt;p&gt;foo &lt;a class='http' href='bar'&gt;bar&lt;/a&gt; baz&lt;/p&gt;&lt;p&gt;foo bar &lt;a class='http' href='baz'&gt;baz&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* listsOfItems = &quot;&lt;html&gt;&lt;body&gt;&lt;ul&gt;&lt;li&gt;text only&lt;/li&gt;&lt;li&gt;&lt;a href='foo'&gt;link only&lt;/a&gt;&lt;/li&gt;&lt;li&gt;text and a &lt;a href='bar'&gt;link&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;text only&lt;/li&gt;&lt;li&gt;&lt;a href='foo'&gt;link only&lt;/a&gt;&lt;/li&gt;&lt;li&gt;text and a &lt;a href='bar'&gt;link&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* textForCaretBrowsing = &quot;&lt;html&gt;&lt;body&gt;&lt;h1&gt;A text header&lt;/h1&gt;&lt;p&gt;A paragraph &lt;a href='http://foo.bar.baz/'&gt;with a link&lt;/a&gt; in the middle&lt;/p&gt;&lt;ol&gt;&lt;li&gt;A list item&lt;/li&gt;&lt;li&gt;&lt;span style='display:block;'&gt;Block span in a list item&lt;/span&gt;&lt;span&gt;Inline span in a list item&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;a href='foo'&gt;&lt;span style='display:block;'&gt;Block span in a link in a list item&lt;/span&gt;&lt;span&gt;Inline span in a link in a list item&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;select&gt;&lt;option selected value='foo'&gt;An option in a combo box&lt;/option&gt;&lt;/select&gt;&lt;input type='text' name='foo' value='foo bar baz' /&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;a table cell&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;a href='foo'&gt;&lt;span style='display:block;'&gt;Block span in a link in a table cell&lt;/span&gt;&lt;span&gt;Inline span in a link in a table cell&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;span style='display:block;'&gt;Block span in a table cell&lt;/span&gt;&lt;span&gt;Inline span in a table cell&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;h4&gt;&lt;a href='foo'&gt;&lt;span style='display:block;'&gt;Block span in a link in a heading&lt;/span&gt;&lt;span&gt;Inline span in a link in a heading&lt;/span&gt;&lt;/h4&gt;&lt;h4&gt;&lt;span style='display:block;'&gt;Block span in a heading&lt;/span&gt;&lt;span&gt;Inline span in a heading&lt;/span&gt;&lt;/h4&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* textForSelections = &quot;&lt;html&gt;&lt;body&gt;&lt;p&gt;A paragraph with plain text&lt;/p&gt;&lt;p&gt;A paragraph with &lt;a href='http://webkit.org'&gt;a link&lt;/a&gt; in the middle&lt;/p&gt;&lt;ol&gt;&lt;li&gt;A list item&lt;/li&gt;&lt;/ol&gt;&lt;select&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static const char* textWithAttributes = &quot;&lt;html&gt;&lt;head&gt;&lt;style&gt;.st1 {font-family: monospace; color:rgb(120,121,122);} .st2 {text-decoration:underline; background-color:rgb(80,81,82);}&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;p style=\&quot;font-size:14; text-align:right;\&quot;&gt;This is the &lt;i&gt;first&lt;/i&gt;&lt;b&gt; sentence of this text.&lt;/b&gt;&lt;/p&gt;&lt;p class=\&quot;st1\&quot;&gt;This sentence should have an style applied &lt;span class=\&quot;st2\&quot;&gt;and this part should have another one&lt;/span&gt;.&lt;/p&gt;&lt;p&gt;x&lt;sub&gt;1&lt;/sub&gt;&lt;sup&gt;2&lt;/sup&gt;=x&lt;sub&gt;2&lt;/sub&gt;&lt;sup&gt;3&lt;/sup&gt;&lt;/p&gt;&lt;p style=\&quot;text-align:center;\&quot;&gt;This sentence is the &lt;strike&gt;last&lt;/strike&gt; one.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-static AtkObject* getWebAreaObject(WebKitWebView* webView)
-{
-    /* Manually spin the main context to make sure the accessible
-       objects are properly created before continuing. */
-    while (g_main_context_pending(0))
-        g_main_context_iteration(0, TRUE);
-
-    AtkObject* rootObject = gtk_widget_get_accessible(GTK_WIDGET(webView));
-    if (!rootObject)
-        return NULL;
-
-    AtkObject* webAreaObject = atk_object_ref_accessible_child(rootObject, 0);
-    if (!webAreaObject)
-        return NULL;
-
-    /* We don't need the extra ref here. */
-    g_object_unref(webAreaObject);
-
-    return webAreaObject;
-}
-
-static gchar* textCaretMovedResult = 0;
-
-static void textCaretMovedCallback(AtkText* text, gint pos, gpointer data)
-{
-    g_assert(ATK_IS_TEXT(text));
-
-    g_free(textCaretMovedResult);
-    AtkRole role = atk_object_get_role(ATK_OBJECT(text));
-    textCaretMovedResult = g_strdup_printf(&quot;|%s|%d|&quot;, atk_role_get_name(role), pos);
-}
-
-static void testWebkitAtkCaretOffsets()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, textForCaretBrowsing, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    AtkObject* header = atk_object_ref_accessible_child(object, 0);
-    g_assert(ATK_IS_TEXT(header));
-    g_signal_connect(header, &quot;text-caret-moved&quot;, G_CALLBACK(textCaretMovedCallback), 0);
-
-    /* It should be possible to place the caret inside a header. */
-    gboolean result = atk_text_set_caret_offset(ATK_TEXT(header), 5);
-    g_assert_cmpint(result, ==, TRUE);
-    gint offset = atk_text_get_caret_offset(ATK_TEXT(header));
-    g_assert_cmpint(offset, ==, 5);
-    g_assert_cmpstr(textCaretMovedResult, ==, &quot;|heading|5|&quot;);
-
-    AtkObject* paragraph = atk_object_ref_accessible_child(object, 1);
-    g_assert(ATK_IS_TEXT(paragraph));
-    g_signal_connect(paragraph, &quot;text-caret-moved&quot;, G_CALLBACK(textCaretMovedCallback), 0);
-
-    /* It should be possible to place the caret inside a paragraph and a link. */
-    result = atk_text_set_caret_offset(ATK_TEXT(paragraph), 5);
-    g_assert_cmpint(result, ==, TRUE);
-    offset = atk_text_get_caret_offset(ATK_TEXT(paragraph));
-    g_assert_cmpint(offset, ==, 5);
-    g_assert_cmpstr(textCaretMovedResult, ==, &quot;|paragraph|5|&quot;);
-
-    result = atk_text_set_caret_offset(ATK_TEXT(paragraph), 20);
-    g_assert_cmpint(result, ==, TRUE);
-    offset = atk_text_get_caret_offset(ATK_TEXT(paragraph));
-    g_assert_cmpint(offset, ==, 20);
-    g_assert_cmpstr(textCaretMovedResult, ==, &quot;|paragraph|20|&quot;);
-
-    result = atk_text_set_caret_offset(ATK_TEXT(paragraph), 30);
-    g_assert_cmpint(result, ==, TRUE);
-    offset = atk_text_get_caret_offset(ATK_TEXT(paragraph));
-    g_assert_cmpint(offset, ==, 30);
-    g_assert_cmpstr(textCaretMovedResult, ==, &quot;|paragraph|30|&quot;);
-
-    AtkObject* link = atk_object_ref_accessible_child(paragraph, 0);
-    g_assert(ATK_IS_TEXT(link));
-
-    result = atk_text_set_caret_offset(ATK_TEXT(link), 5);
-    g_assert_cmpint(result, ==, TRUE);
-    offset = atk_text_get_caret_offset(ATK_TEXT(link));
-    g_assert_cmpint(offset, ==, 5);
-    /* Positions inside links are reported relative to the paragraph. */
-    g_assert_cmpstr(textCaretMovedResult, ==, &quot;|paragraph|17|&quot;);
-
-    AtkObject* list = atk_object_ref_accessible_child(object, 2);
-    g_assert(ATK_OBJECT(list));
-    g_assert(atk_object_get_role(list) == ATK_ROLE_LIST);
-    g_assert_cmpint(atk_object_get_n_accessible_children(list), ==, 3);
-
-    AtkObject* listItem = atk_object_ref_accessible_child(list, 0);
-    listItem = atk_object_ref_accessible_child(list, 2);
-    g_assert(ATK_IS_TEXT(listItem));
-
-    /* It's not possible to place the caret inside an item's marker. */
-    result = atk_text_set_caret_offset(ATK_TEXT(listItem), 1);
-    g_assert_cmpint(result, ==, FALSE);
-
-    /* It should be possible to place the caret inside an item's text. */
-    result = atk_text_set_caret_offset(ATK_TEXT(listItem), 5);
-    g_assert_cmpint(result, ==, TRUE);
-    offset = atk_text_get_caret_offset(ATK_TEXT(listItem));
-    g_assert_cmpint(offset, ==, 5);
-
-    AtkObject* panel = atk_object_ref_accessible_child(object, 3);
-    g_assert(ATK_IS_OBJECT(panel));
-    g_assert(atk_object_get_role(panel) == ATK_ROLE_PANEL);
-
-    AtkObject* comboBox = atk_object_ref_accessible_child(panel, 0);
-    g_assert(ATK_IS_OBJECT(comboBox));
-    g_assert(atk_object_get_role(comboBox) == ATK_ROLE_COMBO_BOX);
-
-    AtkObject* menuPopup = atk_object_ref_accessible_child(comboBox, 0);
-    g_assert(ATK_IS_OBJECT(menuPopup));
-    g_assert(atk_object_get_role(menuPopup) == ATK_ROLE_MENU);
-
-    AtkObject* comboBoxOption = atk_object_ref_accessible_child(menuPopup, 0);
-    g_assert(ATK_IS_OBJECT(comboBoxOption));
-    g_assert(atk_object_get_role(comboBoxOption) == ATK_ROLE_MENU_ITEM);
-
-    /* It's not possible to place the caret inside an option for a combobox. */
-    result = atk_text_set_caret_offset(ATK_TEXT(comboBoxOption), 1);
-    g_assert_cmpint(result, ==, FALSE);
-
-    AtkObject* textEntry = atk_object_ref_accessible_child(panel, 1);
-    g_assert(ATK_IS_OBJECT(textEntry));
-    g_assert(atk_object_get_role(textEntry) == ATK_ROLE_ENTRY);
-
-    result = atk_text_set_caret_offset(ATK_TEXT(textEntry), 5);
-    g_assert_cmpint(result, ==, TRUE);
-    offset = atk_text_get_caret_offset(ATK_TEXT(textEntry));
-    g_assert_cmpint(offset, ==, 5);
-
-    AtkObject* table = atk_object_ref_accessible_child(object, 4);
-    g_assert(ATK_IS_OBJECT(table));
-    g_assert(atk_object_get_role(table) == ATK_ROLE_TABLE);
-    g_assert_cmpint(atk_object_get_n_accessible_children(table), ==, 4);
-
-    AtkObject* tableCell = atk_object_ref_accessible_child(table, 0);
-    g_assert(atk_object_get_role(tableCell) == ATK_ROLE_TABLE_CELL);
-    result = atk_text_set_caret_offset(ATK_TEXT(tableCell), 2);
-    g_assert_cmpint(result, ==, TRUE);
-    offset = atk_text_get_caret_offset(ATK_TEXT(tableCell));
-    g_assert_cmpint(offset, ==, 2);
-
-    g_free(textCaretMovedResult);
-
-    g_object_unref(paragraph);
-    g_object_unref(link);
-    g_object_unref(list);
-    g_object_unref(listItem);
-    g_object_unref(panel);
-    g_object_unref(comboBox);
-    g_object_unref(menuPopup);
-    g_object_unref(comboBoxOption);
-    g_object_unref(textEntry);
-    g_object_unref(table);
-    g_object_unref(tableCell);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, contentsWithExtraneousWhiteSpaces, 0, 0, 0);
-
-    /* Enable caret browsing. */
-    WebKitWebSettings* settings = webkit_web_view_get_settings(webView);
-    g_object_set(G_OBJECT(settings), &quot;enable-caret-browsing&quot;, TRUE, NULL);
-
-    /* Get to the inner AtkText object. */
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-    object = atk_object_ref_accessible_child(object, 0);
-    g_assert(object);
-
-    AtkText* textObject = ATK_TEXT(object);
-    g_assert(ATK_IS_TEXT(textObject));
-
-    gint characterCount = atk_text_get_character_count(textObject);
-    g_assert_cmpint(characterCount, ==, 25);
-
-    gboolean result = atk_text_set_caret_offset(textObject, characterCount - 1);
-    g_assert_cmpint(result, ==, TRUE);
-
-    gint caretOffset = atk_text_get_caret_offset(textObject);
-    g_assert_cmpint(caretOffset, ==, characterCount - 1);
-
-    result = atk_text_set_caret_offset(textObject, characterCount);
-    g_assert_cmpint(result, ==, TRUE);
-
-    caretOffset = atk_text_get_caret_offset(textObject);
-    g_assert_cmpint(caretOffset, ==, characterCount);
-
-    g_object_unref(object);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkComboBox()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, comboBoxSelector, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    AtkObject* formObject = atk_object_ref_accessible_child(object, 0);
-    g_assert(formObject);
-
-    AtkObject* comboBox = atk_object_ref_accessible_child(formObject, 0);
-    g_assert(ATK_IS_OBJECT(comboBox));
-
-    AtkObject* menuPopup = atk_object_ref_accessible_child(comboBox, 0);
-    g_assert(ATK_IS_OBJECT(menuPopup));
-
-    AtkObject* item1 = atk_object_ref_accessible_child(menuPopup, 0);
-    g_assert(ATK_IS_OBJECT(item1));
-
-    AtkObject* item2 = atk_object_ref_accessible_child(menuPopup, 1);
-    g_assert(ATK_IS_OBJECT(item2));
-
-    /* Check roles. */
-    g_assert(atk_object_get_role(comboBox) == ATK_ROLE_COMBO_BOX);
-    g_assert(atk_object_get_role(menuPopup) == ATK_ROLE_MENU);
-    g_assert(atk_object_get_role(item1) == ATK_ROLE_MENU_ITEM);
-    g_assert(atk_object_get_role(item2) == ATK_ROLE_MENU_ITEM);
-
-    /* Check the implementation of the AtkSelection interface. */
-    g_assert(ATK_IS_SELECTION(comboBox));
-    AtkSelection* atkSelection = ATK_SELECTION(comboBox);
-    g_assert_cmpint(atk_selection_get_selection_count(atkSelection), ==, 1);
-    g_assert(atk_selection_is_child_selected(atkSelection, 0));
-    g_assert(!atk_selection_is_child_selected(atkSelection, 1));
-    AtkObject* selectedItem = atk_selection_ref_selection(atkSelection, 0);
-    g_assert(selectedItem == item1);
-    g_object_unref(selectedItem);
-
-    /* Check that the menu popup has 0 links and doesn't crash from checking. */
-    gint nLinks = atk_hypertext_get_n_links(ATK_HYPERTEXT(menuPopup));
-    g_assert_cmpint(nLinks, ==, 0);
-
-    /* Check the implementations of the AtkAction interface. */
-    g_assert(ATK_IS_ACTION(comboBox));
-    AtkAction* atkAction = ATK_ACTION(comboBox);
-    g_assert_cmpint(atk_action_get_n_actions(atkAction), ==, 1);
-    g_assert(atk_action_do_action(atkAction, 0));
-
-    g_assert(ATK_IS_ACTION(menuPopup));
-    atkAction = ATK_ACTION(menuPopup);
-    g_assert_cmpint(atk_action_get_n_actions(atkAction), ==, 1);
-    g_assert(atk_action_do_action(atkAction, 0));
-
-    g_assert(ATK_IS_ACTION(item1));
-    atkAction = ATK_ACTION(item1);
-    g_assert_cmpint(atk_action_get_n_actions(atkAction), ==, 1);
-    g_assert(atk_action_do_action(atkAction, 0));
-
-    g_assert(ATK_IS_ACTION(item2));
-    atkAction = ATK_ACTION(item2);
-    g_assert_cmpint(atk_action_get_n_actions(atkAction), ==, 1);
-    g_assert(atk_action_do_action(atkAction, 0));
-
-    /* After selecting the second item, selection should have changed. */
-    g_assert_cmpint(atk_selection_get_selection_count(atkSelection), ==, 1);
-    g_assert(!atk_selection_is_child_selected(atkSelection, 0));
-    g_assert(atk_selection_is_child_selected(atkSelection, 1));
-    selectedItem = atk_selection_ref_selection(atkSelection, 0);
-    g_assert(selectedItem == item2);
-    g_object_unref(selectedItem);
-
-    g_object_unref(formObject);
-    g_object_unref(comboBox);
-    g_object_unref(menuPopup);
-    g_object_unref(item1);
-    g_object_unref(item2);
-    g_object_unref(webView);
-}
-
-static gchar* loadingEventsResult = 0;
-
-static void updateLoadingEventsResult(const gchar* signalName)
-{
-    g_assert(signalName);
-
-    gchar* previousResult = loadingEventsResult;
-    loadingEventsResult = g_strdup_printf(&quot;%s|%s&quot;, previousResult, signalName);
-    g_free(previousResult);
-}
-
-static gboolean documentLoadingEventCallback(GSignalInvocationHint *signalHint, guint numParamValues, const GValue *paramValues, gpointer data)
-{
-    // At least we should receive the instance emitting the signal.
-    if (numParamValues &lt; 1)
-        return TRUE;
-
-    GSignalQuery signal_query;
-    g_signal_query(signalHint-&gt;signal_id, &amp;signal_query);
-
-    updateLoadingEventsResult(signal_query.signal_name);
-    return TRUE;
-}
-
-static void testWebkitAtkDocumentLoadingEvents()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-
-    /* Connect globally to see those events during a future load. */
-    guint loadCompleteListenerId = atk_add_global_event_listener(documentLoadingEventCallback, &quot;ATK:AtkDocument:load-complete&quot;);
-
-    /* Do the load, so we can see those events happening. */
-    loadingEventsResult = g_strdup(&quot;&quot;);
-    webkit_web_view_load_string(webView, contents, 0, 0, 0);
-
-    /* Trigger the creation of the full accessibility hierarchy by
-       asking for the webArea object, so we can listen to events. */
-    getWebAreaObject(webView);
-
-    atk_remove_global_event_listener(loadCompleteListenerId);
-
-    g_assert_cmpstr(loadingEventsResult, ==, &quot;|load-complete&quot;);
-
-    g_free(loadingEventsResult);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkEmbeddedObjects()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, embeddedObjects, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    AtkText* paragraph1 = ATK_TEXT(atk_object_ref_accessible_child(object, 0));
-    g_assert(ATK_IS_TEXT(paragraph1));
-    g_assert(ATK_IS_HYPERTEXT(paragraph1));
-
-    gint nLinks = atk_hypertext_get_n_links(ATK_HYPERTEXT(paragraph1));
-    g_assert_cmpint(nLinks, ==, 2);
-
-    AtkHyperlink* hLink = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph1), 0);
-    g_assert(ATK_HYPERLINK(hLink));
-    AtkObject* hLinkObject = atk_hyperlink_get_object(hLink, 0);
-    g_assert(ATK_OBJECT(hLinkObject));
-    g_assert(atk_object_get_role(hLinkObject) == ATK_ROLE_CHECK_BOX);
-    g_assert_cmpint(atk_hyperlink_get_start_index(hLink), ==, 8);
-    g_assert_cmpint(atk_hyperlink_get_end_index(hLink), ==, 9);
-    g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink), ==, 1);
-    g_assert_cmpstr(atk_hyperlink_get_uri(hLink, 0), ==, 0);
-
-    AtkText* paragraph2 = ATK_TEXT(atk_object_ref_accessible_child(object, 1));
-    g_assert(ATK_IS_HYPERTEXT(paragraph2));
-
-    nLinks = atk_hypertext_get_n_links(ATK_HYPERTEXT(paragraph2));
-    g_assert_cmpint(nLinks, ==, 1);
-
-    hLink = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph2), 0);
-    g_assert(ATK_HYPERLINK(hLink));
-    hLinkObject = atk_hyperlink_get_object(hLink, 0);
-    g_assert(ATK_OBJECT(hLinkObject));
-    g_assert(atk_object_get_role(hLinkObject) == ATK_ROLE_COMBO_BOX);
-    g_assert_cmpint(atk_hyperlink_get_start_index(hLink), ==, 8);
-    g_assert_cmpint(atk_hyperlink_get_end_index(hLink), ==, 9);
-    g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink), ==, 1);
-    g_assert_cmpstr(atk_hyperlink_get_uri(hLink, 0), ==, 0);
-
-    AtkText* paragraph3 = ATK_TEXT(atk_object_ref_accessible_child(object, 2));
-    g_assert(ATK_IS_HYPERTEXT(paragraph3));
-
-    nLinks = atk_hypertext_get_n_links(ATK_HYPERTEXT(paragraph3));
-    g_assert_cmpint(nLinks, ==, 1);
-
-    hLink = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph3), 0);
-    g_assert(ATK_HYPERLINK(hLink));
-    hLinkObject = atk_hyperlink_get_object(hLink, 0);
-    g_assert(ATK_OBJECT(hLinkObject));
-    g_assert(atk_object_get_role(hLinkObject) == ATK_ROLE_PUSH_BUTTON);
-    g_assert_cmpint(atk_hyperlink_get_start_index(hLink), ==, 0);
-    g_assert_cmpint(atk_hyperlink_get_end_index(hLink), ==, 1);
-    g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink), ==, 1);
-    g_assert_cmpstr(atk_hyperlink_get_uri(hLink, 0), ==, 0);
-
-    g_object_unref(paragraph1);
-    g_object_unref(paragraph2);
-    g_object_unref(paragraph3);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkGetHeadersInTable()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, contentsInTableWithHeaders, 0, 0, 0);
-
-    AtkObject* axWebView = getWebAreaObject(webView);
-    g_assert(axWebView);
-
-    /* Check table with both column and row headers. */
-    AtkObject* table = atk_object_ref_accessible_child(axWebView, 0);
-    g_assert(table);
-    g_assert(atk_object_get_role(table) == ATK_ROLE_TABLE);
-
-    AtkObject* colHeader = atk_table_get_column_header(ATK_TABLE(table), 0);
-    g_assert(colHeader);
-    g_assert(atk_object_get_role(colHeader) == ATK_ROLE_TABLE_CELL);
-    g_assert(atk_object_get_index_in_parent(colHeader) == 0);
-
-    colHeader = atk_table_get_column_header(ATK_TABLE(table), 1);
-    g_assert(colHeader);
-    g_assert(atk_object_get_role(colHeader) == ATK_ROLE_TABLE_CELL);
-    g_assert(atk_object_get_index_in_parent(colHeader) == 1);
-
-    colHeader = atk_table_get_column_header(ATK_TABLE(table), 2);
-    g_assert(colHeader);
-    g_assert(atk_object_get_role(colHeader) == ATK_ROLE_TABLE_CELL);
-    g_assert(atk_object_get_index_in_parent(colHeader) == 2);
-
-    colHeader = atk_table_get_column_header(ATK_TABLE(table), 3);
-    g_assert(colHeader);
-    g_assert(atk_object_get_role(colHeader) == ATK_ROLE_TABLE_CELL);
-    g_assert(atk_object_get_index_in_parent(colHeader) == 2);
-
-    AtkObject* rowHeader = atk_table_get_row_header(ATK_TABLE(table), 0);
-    g_assert(rowHeader);
-    g_assert(atk_object_get_role(rowHeader) == ATK_ROLE_TABLE_CELL);
-    g_assert(atk_object_get_index_in_parent(rowHeader) == 0);
-
-    rowHeader = atk_table_get_row_header(ATK_TABLE(table), 1);
-    g_assert(rowHeader);
-    g_assert(atk_object_get_role(rowHeader) == ATK_ROLE_TABLE_CELL);
-    g_assert(atk_object_get_index_in_parent(rowHeader) == 3);
-
-    rowHeader = atk_table_get_row_header(ATK_TABLE(table), 2);
-    g_assert(rowHeader);
-    g_assert(atk_object_get_role(rowHeader) == ATK_ROLE_TABLE_CELL);
-    g_assert(atk_object_get_index_in_parent(rowHeader) == 7);
-
-    rowHeader = atk_table_get_row_header(ATK_TABLE(table), 3);
-    g_assert(rowHeader);
-    g_assert(atk_object_get_role(rowHeader) == ATK_ROLE_TABLE_CELL);
-    g_assert(atk_object_get_index_in_parent(rowHeader) == 7);
-
-    g_object_unref(table);
-
-    /* Check table with no headers at all. */
-    table = atk_object_ref_accessible_child(axWebView, 1);
-    g_assert(table);
-    g_assert(atk_object_get_role(table) == ATK_ROLE_TABLE);
-
-    colHeader = atk_table_get_column_header(ATK_TABLE(table), 0);
-    g_assert(colHeader == 0);
-
-    colHeader = atk_table_get_column_header(ATK_TABLE(table), 1);
-    g_assert(colHeader == 0);
-
-    rowHeader = atk_table_get_row_header(ATK_TABLE(table), 0);
-    g_assert(rowHeader == 0);
-
-    rowHeader = atk_table_get_row_header(ATK_TABLE(table), 1);
-    g_assert(rowHeader == 0);
-
-    g_object_unref(table);
-    g_object_unref(webView);
-}
-
-static gint compAtkAttribute(AtkAttribute* a1, AtkAttribute* a2)
-{
-    gint strcmpVal = g_strcmp0(a1-&gt;name, a2-&gt;name);
-    if (strcmpVal)
-        return strcmpVal;
-    return g_strcmp0(a1-&gt;value, a2-&gt;value);
-}
-
-static gint compAtkAttributeName(AtkAttribute* a1, AtkAttribute* a2)
-{
-    return g_strcmp0(a1-&gt;name, a2-&gt;name);
-}
-
-static gboolean atkAttributeSetAttributeNameHasValue(AtkAttributeSet* set, const gchar* attributeName, const gchar* value)
-{
-    AtkAttribute at;
-    at.name = (gchar*)attributeName;
-    GSList* element = g_slist_find_custom(set, &amp;at, (GCompareFunc)compAtkAttributeName);
-    return element &amp;&amp; !g_strcmp0(((AtkAttribute*)(element-&gt;data))-&gt;value, value);
-}
-
-static gboolean atkAttributeSetContainsAttributeName(AtkAttributeSet* set, const gchar* attributeName)
-{
-    AtkAttribute at;
-    at.name = (gchar*)attributeName;
-    return g_slist_find_custom(set, &amp;at, (GCompareFunc)compAtkAttributeName) ? true : false;
-}
-
-static gboolean atkAttributeSetAttributeHasValue(AtkAttributeSet* set, AtkTextAttribute attribute, const gchar* value)
-{
-    return atkAttributeSetAttributeNameHasValue(set, atk_text_attribute_get_name(attribute), value);
-}
-
-static gboolean atkAttributeSetAreEqual(AtkAttributeSet* set1, AtkAttributeSet* set2)
-{
-    if (!set1)
-        return !set2;
-
-    set1 = g_slist_sort(set1, (GCompareFunc)compAtkAttribute);
-    set2 = g_slist_sort(set2, (GCompareFunc)compAtkAttribute);
-
-    while (set1) {
-        if (!set2 || compAtkAttribute(set1-&gt;data, set2-&gt;data))
-            return FALSE;
-
-        set1 = set1-&gt;next;
-        set2 = set2-&gt;next;
-    }
-
-    return (!set2);
-}
-
-static void testWebkitAtkTextAttributes()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, textWithAttributes, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    AtkObject* child = atk_object_ref_accessible_child(object, 0);
-    g_assert(child &amp;&amp; ATK_IS_TEXT(child));
-    AtkText* childText = ATK_TEXT(child);
-
-    gint startOffset;
-    gint endOffset;
-    AtkAttributeSet* set1 = atk_text_get_run_attributes(childText, 0, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 12);
-    g_assert(atkAttributeSetAreEqual(set1, 0));
-
-    AtkAttributeSet* set2 = atk_text_get_run_attributes(childText, 15, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 12);
-    g_assert_cmpint(endOffset, ==, 17);
-    g_assert(atkAttributeSetAttributeHasValue(set2, ATK_TEXT_ATTR_STYLE, &quot;italic&quot;));
-
-    AtkAttributeSet* set3 = atk_text_get_run_attributes(childText, 17, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 17);
-    g_assert_cmpint(endOffset, ==, 40);
-    g_assert(atkAttributeSetAttributeHasValue(set3, ATK_TEXT_ATTR_WEIGHT, &quot;700&quot;));
-
-    AtkAttributeSet* set4 = atk_text_get_default_attributes(childText);
-    g_assert(atkAttributeSetAttributeHasValue(set4, ATK_TEXT_ATTR_STYLE, &quot;normal&quot;));
-    g_assert(atkAttributeSetAttributeHasValue(set4, ATK_TEXT_ATTR_JUSTIFICATION, &quot;right&quot;));
-    g_assert(atkAttributeSetAttributeHasValue(set4, ATK_TEXT_ATTR_SIZE, &quot;14&quot;));
-    atk_attribute_set_free(set1);
-    atk_attribute_set_free(set2);
-    atk_attribute_set_free(set3);
-    atk_attribute_set_free(set4);
-
-    g_object_unref(child);
-    child = atk_object_ref_accessible_child(object, 1);
-    g_assert(child &amp;&amp; ATK_IS_TEXT(child));
-    childText = ATK_TEXT(child);
-
-    set1 = atk_text_get_default_attributes(childText);
-    g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_FAMILY_NAME, &quot;monospace&quot;));
-    g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_STYLE, &quot;normal&quot;));
-    g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_STRIKETHROUGH, &quot;false&quot;));
-    g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_WEIGHT, &quot;400&quot;));
-    g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_FG_COLOR, &quot;120,121,122&quot;));
-
-    set2 = atk_text_get_run_attributes(childText, 43, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 43);
-    g_assert_cmpint(endOffset, ==, 80);
-    /* Checks that default attributes of text are not returned when called to atk_text_get_run_attributes. */
-    g_assert(!atkAttributeSetAttributeHasValue(set2, ATK_TEXT_ATTR_FG_COLOR, &quot;120,121,122&quot;));
-    g_assert(atkAttributeSetAttributeHasValue(set2, ATK_TEXT_ATTR_UNDERLINE, &quot;single&quot;));
-    g_assert(atkAttributeSetAttributeHasValue(set2, ATK_TEXT_ATTR_BG_COLOR, &quot;80,81,82&quot;));
-    atk_attribute_set_free(set1);
-    atk_attribute_set_free(set2);
-    g_object_unref(child);
-
-    child = atk_object_ref_accessible_child(object, 2);
-    g_assert(child &amp;&amp; ATK_IS_TEXT(child));
-    childText = ATK_TEXT(child);
-
-    set1 = atk_text_get_run_attributes(childText, 0, &amp;startOffset, &amp;endOffset);
-    set2 = atk_text_get_run_attributes(childText, 3, &amp;startOffset, &amp;endOffset);
-    g_assert(atkAttributeSetAreEqual(set1, set2));
-    atk_attribute_set_free(set2);
-
-    set2 = atk_text_get_run_attributes(childText, 1, &amp;startOffset, &amp;endOffset);
-    set3 = atk_text_get_run_attributes(childText, 5, &amp;startOffset, &amp;endOffset);
-    g_assert(atkAttributeSetAreEqual(set2, set3));
-    g_assert(!atkAttributeSetAreEqual(set1, set2));
-    atk_attribute_set_free(set3);
-
-    set3 = atk_text_get_run_attributes(childText, 2, &amp;startOffset, &amp;endOffset);
-    set4 = atk_text_get_run_attributes(childText, 6, &amp;startOffset, &amp;endOffset);
-    g_assert(atkAttributeSetAreEqual(set3, set4));
-    g_assert(!atkAttributeSetAreEqual(set1, set3));
-    g_assert(!atkAttributeSetAreEqual(set2, set3));
-    atk_attribute_set_free(set1);
-    atk_attribute_set_free(set2);
-    atk_attribute_set_free(set3);
-    atk_attribute_set_free(set4);
-    g_object_unref(child);
-
-    child = atk_object_ref_accessible_child(object, 3);
-    g_assert(child &amp;&amp; ATK_IS_TEXT(child));
-    childText = ATK_TEXT(child);
-    set1 = atk_text_get_run_attributes(childText, 24, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 21);
-    g_assert_cmpint(endOffset, ==, 25);
-    g_assert(atkAttributeSetAttributeHasValue(set1, ATK_TEXT_ATTR_STRIKETHROUGH, &quot;true&quot;));
-
-    set2 = atk_text_get_run_attributes(childText, 25, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 25);
-    g_assert_cmpint(endOffset, ==, 30);
-    g_assert(atkAttributeSetAreEqual(set2, 0));
-
-    set3 = atk_text_get_default_attributes(childText);
-    g_assert(atkAttributeSetAttributeHasValue(set3, ATK_TEXT_ATTR_JUSTIFICATION, &quot;center&quot;));
-    atk_attribute_set_free(set1);
-    atk_attribute_set_free(set2);
-    atk_attribute_set_free(set3);
-
-    g_object_unref(child);
-}
-
-static gchar* textSelectionChangedResult = 0;
-
-static void textSelectionChangedCallback(AtkText* text, gpointer data)
-{
-    g_assert(ATK_IS_TEXT(text));
-
-    g_free(textSelectionChangedResult);
-    AtkRole role = atk_object_get_role(ATK_OBJECT(text));
-    int startOffset = 0;
-    int endOffset = 0;
-    atk_text_get_selection(ATK_TEXT(text), 0, &amp;startOffset, &amp;endOffset);
-    textSelectionChangedResult = g_strdup_printf(&quot;|%s|%d|%d|&quot;, atk_role_get_name(role), startOffset, endOffset);
-}
-
-static void testWebkitAtkTextSelections()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, textForSelections, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    AtkText* paragraph1 = ATK_TEXT(atk_object_ref_accessible_child(object, 0));
-    g_assert(ATK_IS_TEXT(paragraph1));
-    g_signal_connect(paragraph1, &quot;text-selection-changed&quot;, G_CALLBACK(textSelectionChangedCallback), 0);
-
-    AtkText* paragraph2 = ATK_TEXT(atk_object_ref_accessible_child(object, 1));
-    g_assert(ATK_IS_TEXT(paragraph2));
-    g_signal_connect(paragraph2, &quot;text-selection-changed&quot;, G_CALLBACK(textSelectionChangedCallback), 0);
-
-    AtkText* link = ATK_TEXT(atk_object_ref_accessible_child(ATK_OBJECT(paragraph2), 0));
-    g_assert(ATK_IS_TEXT(link));
-
-    AtkObject* list = atk_object_ref_accessible_child(object, 2);
-    g_assert(ATK_OBJECT(list));
-
-    AtkText* listItem = ATK_TEXT(atk_object_ref_accessible_child(list, 0));
-    g_assert(ATK_IS_TEXT(listItem));
-
-    /* First paragraph (simple text). */
-
-    /* Basic initial checks. */
-    g_assert_cmpint(atk_text_get_n_selections(paragraph1), ==, 0);
-
-    gint startOffset;
-    gint endOffset;
-    gchar* selectedText = atk_text_get_selection(paragraph1, 0, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 0);
-    g_assert_cmpstr(selectedText, ==, 0);
-    g_free (selectedText);
-
-    /* Try removing a non existing (yet) selection. */
-    gboolean result = atk_text_remove_selection(paragraph1, 0);
-    g_assert(!result);
-
-    /* Try setting a 0-char selection. */
-    result = atk_text_set_selection(paragraph1, 0, 5, 5);
-    g_assert(result);
-
-    /* Make a selection and test it. */
-    result = atk_text_set_selection(paragraph1, 0, 5, 25);
-    g_assert(result);
-    g_assert_cmpint(atk_text_get_n_selections(paragraph1), ==, 1);
-    g_assert_cmpstr(textSelectionChangedResult, ==, &quot;|paragraph|5|25|&quot;);
-    selectedText = atk_text_get_selection(paragraph1, 0, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 5);
-    g_assert_cmpint(endOffset, ==, 25);
-    g_assert_cmpstr(selectedText, ==, &quot;agraph with plain te&quot;);
-    g_free (selectedText);
-
-    /* Try removing the selection from other AtkText object (should fail). */
-    result = atk_text_remove_selection(paragraph2, 0);
-    g_assert(!result);
-
-    /* Remove the selection and test everything again. */
-    result = atk_text_remove_selection(paragraph1, 0);
-    g_assert(result);
-    g_assert_cmpint(atk_text_get_n_selections(paragraph1), ==, 0);
-    selectedText = atk_text_get_selection(paragraph1, 0, &amp;startOffset, &amp;endOffset);
-    /* Now offsets should be the same, set to the last position of the caret. */
-    g_assert_cmpint(startOffset, ==, endOffset);
-    g_assert_cmpint(startOffset, ==, 25);
-    g_assert_cmpint(endOffset, ==, 25);
-    g_assert_cmpstr(selectedText, ==, 0);
-    g_free (selectedText);
-
-    /* Second paragraph (text + link + text). */
-
-    /* Set a selection partially covering the link and test it. */
-    result = atk_text_set_selection(paragraph2, 0, 7, 21);
-    g_assert(result);
-
-    /* Test the paragraph first. */
-    g_assert_cmpint(atk_text_get_n_selections(paragraph2), ==, 1);
-    selectedText = atk_text_get_selection(paragraph2, 0, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 7);
-    g_assert_cmpint(endOffset, ==, 21);
-    g_assert_cmpstr(selectedText, ==, &quot;raph with a li&quot;);
-    g_free (selectedText);
-
-    /* Now test just the link. */
-    g_assert_cmpint(atk_text_get_n_selections(link), ==, 1);
-    selectedText = atk_text_get_selection(link, 0, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 4);
-    g_assert_cmpstr(selectedText, ==, &quot;a li&quot;);
-    g_free (selectedText);
-
-    /* Make a selection after the link and check selection for the whole paragraph. */
-    result = atk_text_set_selection(paragraph2, 0, 27, 37);
-    g_assert(result);
-    g_assert_cmpint(atk_text_get_n_selections(paragraph2), ==, 1);
-    g_assert_cmpstr(textSelectionChangedResult, ==, &quot;|paragraph|27|37|&quot;);
-    selectedText = atk_text_get_selection(paragraph2, 0, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 27);
-    g_assert_cmpint(endOffset, ==, 37);
-    g_assert_cmpstr(selectedText, ==, &quot;the middle&quot;);
-    g_free (selectedText);
-
-    /* Remove selections and text everything again. */
-    result = atk_text_remove_selection(paragraph2, 0);
-    g_assert(result);
-    g_assert_cmpint(atk_text_get_n_selections(paragraph2), ==, 0);
-    selectedText = atk_text_get_selection(paragraph2, 0, &amp;startOffset, &amp;endOffset);
-    /* Now offsets should be the same (no selection). */
-    g_assert_cmpint(startOffset, ==, endOffset);
-    g_assert_cmpstr(selectedText, ==, 0);
-    g_free (selectedText);
-
-    g_assert_cmpint(atk_text_get_n_selections(link), ==, 0);
-    selectedText = atk_text_get_selection(link, 0, &amp;startOffset, &amp;endOffset);
-    /* Now offsets should be the same (no selection). */
-    g_assert_cmpint(startOffset, ==, endOffset);
-    g_assert_cmpstr(selectedText, ==, 0);
-    g_free (selectedText);
-
-    /* List item */
-
-    g_assert(atk_object_get_role(list) == ATK_ROLE_LIST);
-    g_assert_cmpint(atk_object_get_n_accessible_children(list), ==, 1);
-
-    /* It's not possible to select text inside an item's marker. */
-    result = atk_text_set_selection (listItem, 0, 0, 9);
-    g_assert(!result);
-    result = atk_text_set_selection (listItem, 0, 9, 1);
-    g_assert(!result);
-
-    /* It should be possible to select text inside an item's text. */
-    result = atk_text_set_selection (listItem, 0, 3, 9);
-    g_assert(result);
-
-    g_assert_cmpint(atk_text_get_n_selections(listItem), ==, 1);
-    selectedText = atk_text_get_selection(listItem, 0, &amp;startOffset, &amp;endOffset);
-    g_assert_cmpint(startOffset, ==, 3);
-    g_assert_cmpint(endOffset, ==, 9);
-    g_assert_cmpstr(selectedText, ==, &quot;A list&quot;);
-    g_free (selectedText);
-
-    g_free(textSelectionChangedResult);
-
-    g_object_unref(paragraph1);
-    g_object_unref(paragraph2);
-    g_object_unref(link);
-    g_object_unref(list);
-    g_object_unref(listItem);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkGetExtents()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, centeredContents, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    AtkText* shortText1 = ATK_TEXT(atk_object_ref_accessible_child(object, 0));
-    g_assert(ATK_IS_TEXT(shortText1));
-    AtkText* longText = ATK_TEXT(atk_object_ref_accessible_child(object, 1));
-    g_assert(ATK_IS_TEXT(longText));
-    AtkText* shortText2 = ATK_TEXT(atk_object_ref_accessible_child(object, 2));
-    g_assert(ATK_IS_TEXT(shortText2));
-    AtkText* multilineText = ATK_TEXT(atk_object_ref_accessible_child(object, 3));
-    g_assert(ATK_IS_TEXT(multilineText));
-
-    /* Start with window extents. */
-    AtkTextRectangle sline_window1, sline_window2, lline_window, mline_window;
-    atk_text_get_range_extents(shortText1, 0, 10, ATK_XY_WINDOW, &amp;sline_window1);
-    atk_text_get_range_extents(longText, 0, 44, ATK_XY_WINDOW, &amp;lline_window);
-    atk_text_get_range_extents(shortText2, 0, 10, ATK_XY_WINDOW, &amp;sline_window2);
-    atk_text_get_range_extents(multilineText, 0, 60, ATK_XY_WINDOW, &amp;mline_window);
-
-    /* Check vertical line position. */
-    g_assert_cmpint(sline_window1.y + sline_window1.height, &lt;=, lline_window.y);
-    g_assert_cmpint(lline_window.y + lline_window.height + sline_window2.height, &lt;=, mline_window.y);
-
-    /* Paragraphs 1 and 3 have identical text and alignment. */
-    g_assert_cmpint(sline_window1.x, ==, sline_window2.x);
-    g_assert_cmpint(sline_window1.width, ==, sline_window2.width);
-    g_assert_cmpint(sline_window1.height, ==, sline_window2.height);
-
-    /* All lines should be the same height; line 2 is the widest line. */
-    g_assert_cmpint(sline_window1.height, ==, lline_window.height);
-    g_assert_cmpint(sline_window1.width, &lt;, lline_window.width);
-
-    /* Make sure the character extents jive with the range extents. */
-    gint x;
-    gint y;
-    gint width;
-    gint height;
-
-    /* First paragraph (short text). */
-    atk_text_get_character_extents(shortText1, 0, &amp;x, &amp;y, &amp;width, &amp;height, ATK_XY_WINDOW);
-    g_assert_cmpint(x, ==, sline_window1.x);
-    g_assert_cmpint(y, ==, sline_window1.y);
-    g_assert_cmpint(height, ==, sline_window1.height);
-
-    atk_text_get_character_extents(shortText1, 9, &amp;x, &amp;y, &amp;width, &amp;height, ATK_XY_WINDOW);
-    g_assert_cmpint(x, ==, sline_window1.x + sline_window1.width - width);
-    g_assert_cmpint(y, ==, sline_window1.y);
-    g_assert_cmpint(height, ==, sline_window1.height);
-
-    /* Second paragraph (long text). */
-    atk_text_get_character_extents(longText, 0, &amp;x, &amp;y, &amp;width, &amp;height, ATK_XY_WINDOW);
-    g_assert_cmpint(x, ==, lline_window.x);
-    g_assert_cmpint(y, ==, lline_window.y);
-    g_assert_cmpint(height, ==, lline_window.height);
-
-    atk_text_get_character_extents(longText, 43, &amp;x, &amp;y, &amp;width, &amp;height, ATK_XY_WINDOW);
-    g_assert_cmpint(x, ==, lline_window.x + lline_window.width - width);
-    g_assert_cmpint(y, ==, lline_window.y);
-    g_assert_cmpint(height, ==, lline_window.height);
-
-    /* Third paragraph (short text). */
-    atk_text_get_character_extents(shortText2, 0, &amp;x, &amp;y, &amp;width, &amp;height, ATK_XY_WINDOW);
-    g_assert_cmpint(x, ==, sline_window2.x);
-    g_assert_cmpint(y, ==, sline_window2.y);
-    g_assert_cmpint(height, ==, sline_window2.height);
-
-    atk_text_get_character_extents(shortText2, 9, &amp;x, &amp;y, &amp;width, &amp;height, ATK_XY_WINDOW);
-    g_assert_cmpint(x, ==, sline_window2.x + sline_window2.width - width);
-    g_assert_cmpint(y, ==, sline_window2.y);
-    g_assert_cmpint(height, ==, sline_window2.height);
-
-    /* Four paragraph (3 lines multi-line text). */
-    atk_text_get_character_extents(multilineText, 0, &amp;x, &amp;y, &amp;width, &amp;height, ATK_XY_WINDOW);
-    g_assert_cmpint(x, ==, mline_window.x);
-    g_assert_cmpint(y, ==, mline_window.y);
-    g_assert_cmpint(3 * height, ==, mline_window.height);
-
-    atk_text_get_character_extents(multilineText, 59, &amp;x, &amp;y, &amp;width, &amp;height, ATK_XY_WINDOW);
-    /* Last line won't fill the whole width of the rectangle. */
-    g_assert_cmpint(x, &lt;=, mline_window.x + mline_window.width - width);
-    g_assert_cmpint(y, ==, mline_window.y + mline_window.height - height);
-    g_assert_cmpint(height, &lt;=, mline_window.height);
-
-    /* Check that extent for a full line are the same height than for
-       a partial section of the same line */
-    gint startOffset;
-    gint endOffset;
-
-#if !ATK_CHECK_VERSION(2, 10, 0)
-    gchar* text = atk_text_get_text_at_offset(multilineText, 0, ATK_TEXT_BOUNDARY_LINE_START, &amp;startOffset, &amp;endOffset);
-    g_free(text);
-#else
-    gchar* text = atk_text_get_string_at_offset(multilineText, 0, ATK_TEXT_GRANULARITY_LINE, &amp;startOffset, &amp;endOffset);
-    g_free(text);
-#endif
-
-    AtkTextRectangle fline_window;
-    AtkTextRectangle afline_window;
-    atk_text_get_range_extents(multilineText, startOffset, endOffset, ATK_XY_WINDOW, &amp;fline_window);
-    atk_text_get_range_extents(multilineText, startOffset, endOffset - 1, ATK_XY_WINDOW, &amp;afline_window);
-    g_assert_cmpint(fline_window.x, ==, afline_window.x);
-    g_assert_cmpint(fline_window.y, ==, afline_window.y);
-    g_assert_cmpint(fline_window.height, ==, afline_window.height);
-
-    g_object_unref(shortText1);
-    g_object_unref(shortText2);
-    g_object_unref(longText);
-    g_object_unref(multilineText);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkLayoutAndDataTables()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, layoutAndDataTables, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    /* Check the non-layout table (data table). */
-
-    AtkObject* table1 = atk_object_ref_accessible_child(object, 0);
-    g_assert(ATK_IS_TABLE(table1));
-    AtkAttributeSet* set1 = atk_object_get_attributes(table1);
-    g_assert(set1);
-    g_assert(!atkAttributeSetContainsAttributeName(set1, &quot;layout-guess&quot;));
-    atk_attribute_set_free(set1);
-
-    /* Check the layout table. */
-
-    AtkObject* table2 = atk_object_ref_accessible_child(object, 1);
-    g_assert(ATK_IS_TABLE(table2));
-    AtkAttributeSet* set2 = atk_object_get_attributes(table2);
-    g_assert(set2);
-    g_assert(atkAttributeSetContainsAttributeName(set2, &quot;layout-guess&quot;));
-    g_assert(atkAttributeSetAttributeNameHasValue(set2, &quot;layout-guess&quot;, &quot;true&quot;));
-    atk_attribute_set_free(set2);
-
-    g_object_unref(table1);
-    g_object_unref(table2);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkLinksWithInlineImages()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, linksWithInlineImages, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    /* First paragraph (link at the beginning). */
-    AtkObject* paragraph = atk_object_ref_accessible_child(object, 0);
-    g_assert(ATK_IS_TEXT(paragraph));
-    gint startOffset;
-    gint endOffset;
-
-#if !ATK_CHECK_VERSION(2, 10, 0)
-    gchar* text = atk_text_get_text_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_BOUNDARY_LINE_START, &amp;startOffset, &amp;endOffset);
-    g_assert(text);
-    g_assert_cmpstr(text, ==, &quot;foo bar baz&quot;);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 11);
-    g_free(text);
-#else
-    gchar* text = atk_text_get_string_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_GRANULARITY_LINE, &amp;startOffset, &amp;endOffset);
-    g_assert(text);
-    g_assert_cmpstr(text, ==, &quot;foo bar baz&quot;);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 11);
-    g_free(text);
-#endif
-
-    g_object_unref(paragraph);
-
-    /* Second paragraph (link in the middle). */
-    paragraph = atk_object_ref_accessible_child(object, 1);
-    g_assert(ATK_IS_TEXT(paragraph));
-
-#if !ATK_CHECK_VERSION(2, 10, 0)
-    text = atk_text_get_text_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_BOUNDARY_LINE_START, &amp;startOffset, &amp;endOffset);
-    g_assert(text);
-    g_assert_cmpstr(text, ==, &quot;foo bar baz&quot;);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 11);
-    g_free(text);
-#else
-    text = atk_text_get_string_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_GRANULARITY_LINE, &amp;startOffset, &amp;endOffset);
-    g_assert(text);
-    g_assert_cmpstr(text, ==, &quot;foo bar baz&quot;);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 11);
-    g_free(text);
-#endif
-
-    g_object_unref(paragraph);
-
-    /* Third paragraph (link at the end). */
-    paragraph = atk_object_ref_accessible_child(object, 2);
-    g_assert(ATK_IS_TEXT(paragraph));
-
-#if !ATK_CHECK_VERSION(2, 10, 0)
-    text = atk_text_get_text_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_BOUNDARY_LINE_START, &amp;startOffset, &amp;endOffset);
-    g_assert(text);
-    g_assert_cmpstr(text, ==, &quot;foo bar baz&quot;);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 11);
-    g_free(text);
-#else
-    text = atk_text_get_string_at_offset(ATK_TEXT(paragraph), 0, ATK_TEXT_GRANULARITY_LINE, &amp;startOffset, &amp;endOffset);
-    g_assert(text);
-    g_assert_cmpstr(text, ==, &quot;foo bar baz&quot;);
-    g_assert_cmpint(startOffset, ==, 0);
-    g_assert_cmpint(endOffset, ==, 11);
-    g_free(text);
-#endif
-
-    g_object_unref(paragraph);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkHypertextAndHyperlinks()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, hypertextAndHyperlinks, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    AtkObject* paragraph1 = atk_object_ref_accessible_child(object, 0);
-    g_assert(ATK_OBJECT(paragraph1));
-    g_assert(atk_object_get_role(paragraph1) == ATK_ROLE_PARAGRAPH);
-    g_assert(ATK_IS_HYPERTEXT(paragraph1));
-
-    /* No links in the first paragraph. */
-    gint nLinks = atk_hypertext_get_n_links(ATK_HYPERTEXT(paragraph1));
-    g_assert_cmpint(nLinks, ==, 0);
-
-    AtkObject* paragraph2 = atk_object_ref_accessible_child(object, 1);
-    g_assert(ATK_OBJECT(paragraph2));
-    g_assert(atk_object_get_role(paragraph2) == ATK_ROLE_PARAGRAPH);
-    g_assert(ATK_IS_HYPERTEXT(paragraph2));
-
-    /* Check links in the second paragraph.
-       nLinks = atk_hypertext_get_n_links(ATK_HYPERTEXT(paragraph2));
-       g_assert_cmpint(nLinks, ==, 3); */
-
-    AtkHyperlink* hLink1 = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph2), 0);
-    g_assert(ATK_HYPERLINK(hLink1));
-    AtkObject* hLinkObject1 = atk_hyperlink_get_object(hLink1, 0);
-    g_assert(ATK_OBJECT(hLinkObject1));
-    g_assert(atk_object_get_role(hLinkObject1) == ATK_ROLE_LINK);
-    g_assert_cmpint(atk_hyperlink_get_start_index(hLink1), ==, 0);
-    g_assert_cmpint(atk_hyperlink_get_end_index(hLink1), ==, 6);
-    g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink1), ==, 1);
-    g_assert_cmpstr(atk_hyperlink_get_uri(hLink1, 0), ==, &quot;http://foo.bar.baz/&quot;);
-
-    AtkHyperlink* hLink2 = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph2), 1);
-    g_assert(ATK_HYPERLINK(hLink2));
-    AtkObject* hLinkObject2 = atk_hyperlink_get_object(hLink2, 0);
-    g_assert(ATK_OBJECT(hLinkObject2));
-    g_assert(atk_object_get_role(hLinkObject2) == ATK_ROLE_LINK);
-    g_assert_cmpint(atk_hyperlink_get_start_index(hLink2), ==, 12);
-    g_assert_cmpint(atk_hyperlink_get_end_index(hLink2), ==, 32);
-    g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink2), ==, 1);
-    g_assert_cmpstr(atk_hyperlink_get_uri(hLink2, 0), ==, &quot;http://bar.baz.foo/&quot;);
-
-    AtkHyperlink* hLink3 = atk_hypertext_get_link(ATK_HYPERTEXT(paragraph2), 2);
-    g_assert(ATK_HYPERLINK(hLink3));
-    AtkObject* hLinkObject3 = atk_hyperlink_get_object(hLink3, 0);
-    g_assert(ATK_OBJECT(hLinkObject3));
-    g_assert(atk_object_get_role(hLinkObject3) == ATK_ROLE_LINK);
-    g_assert_cmpint(atk_hyperlink_get_start_index(hLink3), ==, 65);
-    g_assert_cmpint(atk_hyperlink_get_end_index(hLink3), ==, 75);
-    g_assert_cmpint(atk_hyperlink_get_n_anchors(hLink3), ==, 1);
-    g_assert_cmpstr(atk_hyperlink_get_uri(hLink3, 0), ==, &quot;http://baz.foo.bar/&quot;);
-
-    AtkObject* list = atk_object_ref_accessible_child(object, 2);
-    g_assert(ATK_OBJECT(list));
-    g_assert(atk_object_get_role(list) == ATK_ROLE_LIST);
-    g_assert_cmpint(atk_object_get_n_accessible_children(list), ==, 1);
-
-    AtkObject* listItem = atk_object_ref_accessible_child(list, 0);
-    g_assert(ATK_IS_TEXT(listItem));
-    g_assert(ATK_IS_HYPERTEXT(listItem));
-
-    AtkHyperlink* hLinkInListItem = atk_hypertext_get_link(ATK_HYPERTEXT(listItem), 0);
-    g_assert(ATK_HYPERLINK(hLinkInListItem));
-    AtkObject* hLinkObject = atk_hyperlink_get_object(hLinkInListItem, 0);
-    g_assert(ATK_OBJECT(hLinkObject));
-    g_assert(atk_object_get_role(hLinkObject) == ATK_ROLE_LINK);
-    g_assert_cmpint(atk_hyperlink_get_start_index(hLinkInListItem), ==, 20);
-    g_assert_cmpint(atk_hyperlink_get_end_index(hLinkInListItem), ==, 43);
-    g_assert_cmpint(atk_hyperlink_get_n_anchors(hLinkInListItem), ==, 1);
-    g_assert_cmpstr(atk_hyperlink_get_uri(hLinkInListItem, 0), ==, &quot;http://foo.bar.baz/&quot;);
-
-    /* Finally check the AtkAction interface for a given AtkHyperlink. */
-    g_assert(ATK_IS_ACTION(hLink1));
-    g_assert_cmpint(atk_action_get_n_actions(ATK_ACTION(hLink1)), ==, 1);
-    g_assert_cmpstr(atk_action_get_keybinding(ATK_ACTION(hLink1), 0), ==, &quot;&quot;);
-    g_assert_cmpstr(atk_action_get_name(ATK_ACTION(hLink1), 0), ==, &quot;jump&quot;);
-    g_assert(atk_action_do_action(ATK_ACTION(hLink1), 0));
-
-    g_object_unref(paragraph1);
-    g_object_unref(paragraph2);
-    g_object_unref(list);
-    g_object_unref(listItem);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkListsOfItems()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, listsOfItems, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    /* Unordered list. */
-
-    AtkObject* uList = atk_object_ref_accessible_child(object, 0);
-    g_assert(ATK_OBJECT(uList));
-    g_assert(atk_object_get_role(uList) == ATK_ROLE_LIST);
-    g_assert_cmpint(atk_object_get_n_accessible_children(uList), ==, 3);
-
-    AtkObject* item1 = atk_object_ref_accessible_child(uList, 0);
-    AtkObject* item2 = atk_object_ref_accessible_child(uList, 1);
-    AtkObject* item3 = atk_object_ref_accessible_child(uList, 2);
-
-    g_assert_cmpint(atk_object_get_n_accessible_children(item1), ==, 0);
-    g_assert_cmpint(atk_object_get_n_accessible_children(item2), ==, 1);
-    g_assert_cmpint(atk_object_get_n_accessible_children(item3), ==, 1);
-
-    g_object_unref(item1);
-    g_object_unref(item2);
-    g_object_unref(item3);
-
-    /* Ordered list. */
-
-    AtkObject* oList = atk_object_ref_accessible_child(object, 1);
-    g_assert(ATK_OBJECT(oList));
-    g_assert(atk_object_get_role(oList) == ATK_ROLE_LIST);
-    g_assert_cmpint(atk_object_get_n_accessible_children(oList), ==, 3);
-
-    item1 = atk_object_ref_accessible_child(oList, 0);
-    item2 = atk_object_ref_accessible_child(oList, 1);
-    item3 = atk_object_ref_accessible_child(oList, 2);
-
-    g_assert_cmpint(atk_object_get_n_accessible_children(item1), ==, 0);
-    g_assert_cmpint(atk_object_get_n_accessible_children(item2), ==, 1);
-    g_assert_cmpint(atk_object_get_n_accessible_children(item3), ==, 1);
-
-    g_object_unref(item1);
-    g_object_unref(item2);
-    g_object_unref(item3);
-
-    g_object_unref(uList);
-    g_object_unref(oList);
-    g_object_unref(webView);
-}
-
-typedef enum {
-  TEXT_CHANGE_INSERT = 1,
-  TEXT_CHANGE_REMOVE = 2
-} TextChangeType;
-
-static gchar* textChangedResult = 0;
-
-static void textChangedCb(AtkText* text, gint pos, gint len, gchar* modifiedText, gpointer data)
-{
-    g_assert(text &amp;&amp; ATK_IS_OBJECT(text));
-
-    TextChangeType type = GPOINTER_TO_INT(data);
-    g_free(textChangedResult);
-    textChangedResult = g_strdup_printf(&quot;|%d|%d|%d|'%s'|&quot;, type, pos, len, modifiedText);
-}
-
-static void testWebkitAtkTextChangedNotifications()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, formWithTextInputs, 0, 0, 0);
-
-    AtkObject* object = getWebAreaObject(webView);
-    g_assert(object);
-
-    AtkObject* form = atk_object_ref_accessible_child(object, 0);
-    g_assert(ATK_IS_OBJECT(form));
-
-    /* First check normal text entries. */
-    AtkObject* textEntry = atk_object_ref_accessible_child(form, 0);
-    g_assert(ATK_IS_EDITABLE_TEXT(textEntry));
-    g_assert(atk_object_get_role(ATK_OBJECT(textEntry)) == ATK_ROLE_ENTRY);
-
-    g_signal_connect(textEntry, &quot;text-insert&quot;,
-                     G_CALLBACK(textChangedCb),
-                     GINT_TO_POINTER(TEXT_CHANGE_INSERT));
-    g_signal_connect(textEntry, &quot;text-remove&quot;,
-                     G_CALLBACK(textChangedCb),
-                     GINT_TO_POINTER(TEXT_CHANGE_REMOVE));
-
-    gint pos = 0;
-    atk_editable_text_insert_text(ATK_EDITABLE_TEXT(textEntry), &quot;foo bar baz&quot;, 11, &amp;pos);
-    char* text = atk_text_get_text(ATK_TEXT(textEntry), 0, -1);
-    g_assert_cmpstr(text, ==, &quot;foo bar baz&quot;);
-    g_assert_cmpstr(textChangedResult, ==, &quot;|1|0|11|'foo bar baz'|&quot;);
-    g_free(text);
-
-    atk_editable_text_delete_text(ATK_EDITABLE_TEXT(textEntry), 4, 7);
-    text = atk_text_get_text(ATK_TEXT(textEntry), 0, -1);
-    g_assert_cmpstr(text, ==, &quot;foo  baz&quot;);
-    g_assert_cmpstr(textChangedResult, ==, &quot;|2|4|3|'bar'|&quot;);
-    g_free(text);
-
-    pos = 4;
-    atk_editable_text_insert_text(ATK_EDITABLE_TEXT(textEntry), &quot;qux quux tobeignored&quot;, 8, &amp;pos);
-    text = atk_text_get_text(ATK_TEXT(textEntry), 0, -1);
-    g_assert_cmpstr(text, ==, &quot;foo qux quux baz&quot;);
-    g_assert_cmpstr(textChangedResult, ==, &quot;|1|4|8|'qux quux'|&quot;);
-    g_free(text);
-
-    /* Now check for password entries. */
-    AtkObject* passwordEntry = atk_object_ref_accessible_child(form, 1);
-    g_assert(ATK_IS_EDITABLE_TEXT(passwordEntry));
-    g_assert(atk_object_get_role(ATK_OBJECT(passwordEntry)) == ATK_ROLE_PASSWORD_TEXT);
-
-    g_signal_connect(passwordEntry, &quot;text-insert&quot;,
-                     G_CALLBACK(textChangedCb),
-                     GINT_TO_POINTER(TEXT_CHANGE_INSERT));
-    g_signal_connect(passwordEntry, &quot;text-remove&quot;,
-                     G_CALLBACK(textChangedCb),
-                     GINT_TO_POINTER(TEXT_CHANGE_REMOVE));
-
-    pos = 0;
-    /* A single bullet character is '\342\200\242' */
-    atk_editable_text_insert_text(ATK_EDITABLE_TEXT(passwordEntry), &quot;foobar&quot;, 6, &amp;pos);
-    g_assert_cmpstr(textChangedResult, ==, &quot;|1|0|6|'\342\200\242\342\200\242\342\200\242\342\200\242\342\200\242\342\200\242'|&quot;);
-    text = atk_text_get_text(ATK_TEXT(passwordEntry), 0, -1);
-    g_assert_cmpstr(text, ==, &quot;\342\200\242\342\200\242\342\200\242\342\200\242\342\200\242\342\200\242&quot;);
-    g_free(text);
-
-    atk_editable_text_delete_text(ATK_EDITABLE_TEXT(passwordEntry), 2, 4);
-    g_assert_cmpstr(textChangedResult, ==, &quot;|2|2|2|'\342\200\242\342\200\242'|&quot;);
-
-    text = atk_text_get_text(ATK_TEXT(passwordEntry), 0, -1);
-    g_assert_cmpstr(text, ==, &quot;\342\200\242\342\200\242\342\200\242\342\200\242&quot;);
-    g_free(text);
-
-    pos = 3;
-    atk_editable_text_insert_text(ATK_EDITABLE_TEXT(passwordEntry), &quot;qux tobeignored&quot;, 3, &amp;pos);
-    g_assert_cmpstr(textChangedResult, ==, &quot;|1|3|3|'\342\200\242\342\200\242\342\200\242'|&quot;);
-
-    text = atk_text_get_text(ATK_TEXT(passwordEntry), 0, -1);
-    g_assert_cmpstr(text, ==, &quot;\342\200\242\342\200\242\342\200\242\342\200\242\342\200\242\342\200\242\342\200\242&quot;);
-    g_free(text);
-
-    g_free(textChangedResult);
-
-    g_object_unref(form);
-    g_object_unref(textEntry);
-    g_object_unref(passwordEntry);
-    g_object_unref(webView);
-}
-
-static void testWebkitAtkParentForRootObject()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, contents, 0, 0, 0);
-
-    /* We need a parent container widget for the webview. */
-    GtkWidget* parentContainer = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    g_object_ref_sink(parentContainer);
-    gtk_container_add(GTK_CONTAINER(parentContainer), GTK_WIDGET(webView));
-
-    AtkObject* axParent = gtk_widget_get_accessible(parentContainer);
-    g_assert(ATK_IS_OBJECT(axParent));
-
-    AtkObject* axRoot = gtk_widget_get_accessible(GTK_WIDGET(webView));
-    g_assert(ATK_IS_OBJECT(axRoot));
-
-    /* The child for the parent container's accessibility object
-       should be the accessibility object for the WebView's root. */
-    AtkObject* axParentChild = atk_object_ref_accessible_child(axParent, 0);
-    g_assert(axParentChild == axRoot);
-
-    /* Bottom-up navigation should match top-down one. */
-    g_assert(atk_object_get_parent(axParentChild) == axParent);
-
-    g_object_unref(axParentChild);
-    g_object_unref(parentContainer);
-}
-
-static void testWebkitAtkSetParentForObject()
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    GtkAllocation allocation = { 0, 0, 800, 600 };
-    gtk_widget_size_allocate(GTK_WIDGET(webView), &amp;allocation);
-    webkit_web_view_load_string(webView, contents, 0, 0, 0);
-
-    /* Put the webview in a parent container widget to check that the
-       normal behaviour keeps working as expected by default. */
-    GtkWidget* parentContainer = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    g_object_ref_sink(parentContainer);
-    gtk_container_add(GTK_CONTAINER(parentContainer), GTK_WIDGET(webView));
-
-    AtkObject* axRoot = gtk_widget_get_accessible(GTK_WIDGET(webView));
-    g_assert(ATK_IS_OBJECT(axRoot));
-
-    AtkObject* axParent = gtk_widget_get_accessible(parentContainer);
-    g_assert(ATK_IS_OBJECT(axParent));
-
-    /* The parent of the root object is the parent container's a11y object. */
-    g_assert(atk_object_get_parent(axRoot) == axParent);
-
-    /* We now need to use something as a an alternative parent for
-       the a11y object associated with the root of the DOM tree. */
-    GtkWidget* alternativeParent = gtk_button_new();
-    g_object_ref_sink(alternativeParent);
-
-    AtkObject* axAlternativeParent = gtk_widget_get_accessible(alternativeParent);
-    g_assert(ATK_IS_OBJECT(axAlternativeParent));
-
-    /* Manually set the alternative parent's accessibility object as
-       the parent for the WebKit accessibility root object and check. */
-    atk_object_set_parent(axRoot, axAlternativeParent);
-    g_assert(atk_object_get_parent(axRoot) == axAlternativeParent);
-
-    g_object_unref(alternativeParent);
-    g_object_unref(parentContainer);
-}
-
-#ifdef GTK_API_VERSION_2
-static void initializeTestingFramework(int argc, char** argv)
-{
-    /* Ensure GAIL is the only module loaded. */
-    g_setenv(&quot;GTK_MODULES&quot;, &quot;gail&quot;, TRUE);
-
-    /* Following lines were taken from gtk_test_init(). */
-    g_test_init(&amp;argc, &amp;argv, 0);
-    gtk_disable_setlocale();
-    setlocale(LC_ALL, &quot;C&quot;);
-
-    gtk_init(&amp;argc, &amp;argv);
-}
-#endif
-
-int main(int argc, char** argv)
-{
-#ifdef GTK_API_VERSION_2
-    /* We can't just call to gtk_test_init() in this case because its
-       implementation makes sure that no GTK+ module will be loaded, and
-       we will need to load GAIL for tests that need to use AtkObjects
-       from non-WebKit GtkWidgets (e.g parentForRootObject).*/
-    initializeTestingFramework(argc, argv);
-#else
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-#endif
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/atk/caretOffsets&quot;, testWebkitAtkCaretOffsets);
-    g_test_add_func(&quot;/webkit/atk/caretOffsetsAndExtranousWhiteSpaces&quot;, testWebkitAtkCaretOffsetsAndExtranousWhiteSpaces);
-    g_test_add_func(&quot;/webkit/atk/comboBox&quot;, testWebkitAtkComboBox);
-    g_test_add_func(&quot;/webkit/atk/documentLoadingEvents&quot;, testWebkitAtkDocumentLoadingEvents);
-    g_test_add_func(&quot;/webkit/atk/embeddedObjects&quot;, testWebkitAtkEmbeddedObjects);
-    g_test_add_func(&quot;/webkit/atk/getHeadersInTable&quot;, testWebkitAtkGetHeadersInTable);
-    g_test_add_func(&quot;/webkit/atk/textAttributes&quot;, testWebkitAtkTextAttributes);
-    g_test_add_func(&quot;/webkit/atk/textSelections&quot;, testWebkitAtkTextSelections);
-    g_test_add_func(&quot;/webkit/atk/getExtents&quot;, testWebkitAtkGetExtents);
-    g_test_add_func(&quot;/webkit/atk/hypertextAndHyperlinks&quot;, testWebkitAtkHypertextAndHyperlinks);
-    g_test_add_func(&quot;/webkit/atk/layoutAndDataTables&quot;, testWebkitAtkLayoutAndDataTables);
-    g_test_add_func(&quot;/webkit/atk/linksWithInlineImages&quot;, testWebkitAtkLinksWithInlineImages);
-    g_test_add_func(&quot;/webkit/atk/listsOfItems&quot;, testWebkitAtkListsOfItems);
-    g_test_add_func(&quot;/webkit/atk/textChangedNotifications&quot;, testWebkitAtkTextChangedNotifications);
-    g_test_add_func(&quot;/webkit/atk/parentForRootObject&quot;, testWebkitAtkParentForRootObject);
-    g_test_add_func(&quot;/webkit/atk/setParentForObject&quot;, testWebkitAtkSetParentForObject);
-    return g_test_run ();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestatkrolesc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatkroles.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatkroles.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testatkroles.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,426 +0,0 @@
</span><del>-/*
- * Copyright © 2010 Joanmarie Diggs
- * Copyright © 2010 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-/* Non form roles */
-#define HTML_DOCUMENT_FRAME &quot;&lt;html&gt;&lt;body&gt;This is a test.&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_HEADING &quot;&lt;html&gt;&lt;body&gt;&lt;h1&gt;1&lt;/h1&gt;&lt;h2&gt;2&lt;/h2&gt;&lt;h3&gt;3&lt;/h3&gt;&lt;h4&gt;4&lt;/h4&gt;&lt;h5&gt;5&lt;/h5&gt;&lt;h6&gt;6&lt;/h6&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_IMAGE &quot;&lt;html&gt;&lt;body&gt;&lt;img src='foobar.png' alt='This is a test.'/&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_LINK_TEXT &quot;&lt;html&gt;&lt;body&gt;&lt;a href='foobar.html'&gt;This is a test.&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_LIST &quot;&lt;html&gt;&lt;body&gt;&lt;ul&gt;&lt;li&gt;1&lt;/li&gt;&lt;li&gt;2&lt;/li&gt;&lt;/ul&gt;&lt;ol&gt;&lt;li&gt;1&lt;/li&gt;&lt;li&gt;2&lt;/li&gt;&lt;/ol&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_PARAGRAPH &quot;&lt;html&gt;&lt;body&gt;&lt;p&gt;This is a test.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_SECTION &quot;&lt;html&gt;&lt;body&gt;&lt;div&gt;This is a test.&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_TABLE &quot;&lt;html&gt;&lt;body&gt;&lt;table border='1'&gt;&lt;tr&gt;&lt;td&gt;This is&lt;/td&gt;&lt;td&gt;a test.&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_SEPARATOR &quot;&lt;html&gt;&lt;body&gt;&lt;hr/&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_COMBOBOX &quot;&lt;html&gt;&lt;body&gt;&lt;select size='1'&gt;&lt;option&gt;one&lt;/option&gt;&lt;option&gt;two&lt;/option&gt;&lt;option&gt;three&lt;/option&gt;&lt;/select&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-/* Form roles */
-#define HTML_FORM &quot;&lt;html&gt;&lt;body&gt;&lt;form&gt;This is a test.&lt;/form&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_CHECK_BOX &quot;&lt;html&gt;&lt;body&gt;&lt;input type='checkbox' /&gt;This is a test.&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_LABELED_ENTRY &quot;&lt;html&gt;&lt;body&gt;&lt;label for='foo'&gt;Name:&lt;/label&gt;&lt;input type='text' id='foo' /&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_LISTBOX &quot;&lt;html&gt;&lt;body&gt;&lt;select size='3'&gt;&lt;option&gt;one&lt;/option&gt;&lt;option&gt;two&lt;/option&gt;&lt;option&gt;three&lt;/option&gt;&lt;/select&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_PASSWORD_TEXT &quot;&lt;html&gt;&lt;body&gt;&lt;input type='password' /&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_PUSH_BUTTON &quot;&lt;html&gt;&lt;body&gt;&lt;input type='submit' value='ok' /&gt;This is a test.&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_RADIO_BUTTON &quot;&lt;html&gt;&lt;body&gt;&lt;input type='radio' /&gt;This is a test.&lt;/body&gt;&lt;/html&gt;&quot;
-
-typedef struct {
-    AtkObject* document;
-    AtkObject* obj;
-    AtkRole role;
-    GtkWidget* webView;
-    GtkAllocation alloc;
-    GMainLoop* loop;
-} AtkRolesFixture;
-
-static gboolean finish_loading(AtkRolesFixture* fixture)
-{
-    if (g_main_loop_is_running(fixture-&gt;loop))
-        g_main_loop_quit(fixture-&gt;loop);
-
-    // With the change to support WK2 accessibility, the root object
-    // has changed and it's no longer the document frame, but a scroll
-    // pane containing the document frame as its only child. See the
-    // bug 72390 for more details on this change.
-    // https://bugs.webkit.org/show_bug.cgi?id=72390
-    AtkObject* rootObject = gtk_widget_get_accessible(fixture-&gt;webView);
-    fixture-&gt;document = atk_object_ref_accessible_child(rootObject, 0);
-    g_assert(fixture-&gt;document);
-
-    // Remove the reference added by ref_accessible_child() and
-    // return, since we don't need to keep that extra ref at all.
-    g_object_unref(fixture-&gt;document);
-    return FALSE;
-}
-
-static void atk_roles_fixture_setup(AtkRolesFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;loop = g_main_loop_new(NULL, TRUE);
-    fixture-&gt;alloc = (GtkAllocation) { 0, 0, 800, 600 };
-    fixture-&gt;webView = webkit_web_view_new();
-    g_object_ref_sink(fixture-&gt;webView);
-
-    gtk_widget_size_allocate(fixture-&gt;webView, &amp;fixture-&gt;alloc);
-
-    if (data != NULL)
-        webkit_web_view_load_string(WEBKIT_WEB_VIEW (fixture-&gt;webView), (const char*) data, NULL, NULL, NULL);
-
-    g_idle_add((GSourceFunc) finish_loading, fixture);
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-static void atk_roles_fixture_teardown(AtkRolesFixture* fixture, gconstpointer data)
-{
-    g_object_unref(fixture-&gt;webView);
-    g_main_loop_unref(fixture-&gt;loop);
-}
-
-static void get_child_and_test_role(AtkObject* obj, gint pos, AtkRole role)
-{
-    AtkObject* child;
-    AtkRole child_role;
-
-    child = atk_object_ref_accessible_child(obj, pos);
-    g_assert(child);
-    child_role = atk_object_get_role(child);
-    g_assert(child_role == role);
-
-    g_object_unref(child);
-}
-
-static void test_webkit_atk_get_role_document_frame(AtkRolesFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;role = atk_object_get_role(fixture-&gt;document);
-    g_assert(fixture-&gt;role == ATK_ROLE_DOCUMENT_WEB);
-}
-
-static void test_webkit_atk_get_role_heading(AtkRolesFixture* fixture, gconstpointer data)
-{
-    get_child_and_test_role(fixture-&gt;document, 0, ATK_ROLE_HEADING);
-    get_child_and_test_role(fixture-&gt;document, 1, ATK_ROLE_HEADING);
-    get_child_and_test_role(fixture-&gt;document, 2, ATK_ROLE_HEADING);
-    get_child_and_test_role(fixture-&gt;document, 3, ATK_ROLE_HEADING);
-    get_child_and_test_role(fixture-&gt;document, 4, ATK_ROLE_HEADING);
-    get_child_and_test_role(fixture-&gt;document, 5, ATK_ROLE_HEADING);
-}
-
-static void test_webkit_atk_get_role_image(AtkRolesFixture* fixture, gconstpointer data)
-{
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    get_child_and_test_role(fixture-&gt;obj, 0, ATK_ROLE_IMAGE);
-
-    g_object_unref(fixture-&gt;obj);
-}
-
-static void test_webkit_atk_get_role_link(AtkRolesFixture* fixture, gconstpointer data)
-{
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    get_child_and_test_role(fixture-&gt;obj, 0, ATK_ROLE_LINK);
-
-    g_object_unref(fixture-&gt;obj);
-}
-
-static void test_webkit_atk_get_role_list_and_item(AtkRolesFixture* fixture, gconstpointer data)
-{
-    AtkObject* listObj;
-
-    listObj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(listObj);
-    fixture-&gt;role = atk_object_get_role(listObj);
-    g_assert(fixture-&gt;role == ATK_ROLE_LIST);
-
-    get_child_and_test_role(listObj, 0, ATK_ROLE_LIST_ITEM);
-    get_child_and_test_role(listObj, 1, ATK_ROLE_LIST_ITEM);
-    g_object_unref(listObj);
-
-    listObj = atk_object_ref_accessible_child(fixture-&gt;document, 1);
-    g_assert(listObj);
-    fixture-&gt;role = atk_object_get_role(listObj);
-    g_assert(fixture-&gt;role == ATK_ROLE_LIST);
-
-    get_child_and_test_role(listObj, 0, ATK_ROLE_LIST_ITEM);
-    get_child_and_test_role(listObj, 1, ATK_ROLE_LIST_ITEM);
-    g_object_unref(listObj);
-}
-
-static void test_webkit_atk_get_role_paragraph(AtkRolesFixture* fixture, gconstpointer data)
-{
-    get_child_and_test_role(fixture-&gt;document, 0, ATK_ROLE_PARAGRAPH);
-}
-
-static void test_webkit_atk_get_role_section(AtkRolesFixture* fixture, gconstpointer data)
-{
-    get_child_and_test_role(fixture-&gt;document, 0, ATK_ROLE_SECTION);
-}
-
-// Does not yet test table cells because of bug 30895.
-static void test_webkit_atk_get_role_table(AtkRolesFixture* fixture, gconstpointer data)
-{
-    get_child_and_test_role(fixture-&gt;document, 0, ATK_ROLE_TABLE);
-}
-
-static void test_webkit_atk_get_role_separator(AtkRolesFixture *fixture, gconstpointer data)
-{
-    get_child_and_test_role(fixture-&gt;document, 0, ATK_ROLE_SEPARATOR);
-}
-
-static void test_webkit_atk_get_role_combobox(AtkRolesFixture *fixture, gconstpointer data)
-{
-    AtkObject* comboboxMenu;
-
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;obj, 0);
-    g_assert(fixture-&gt;obj);
-    fixture-&gt;role = atk_object_get_role(fixture-&gt;obj);
-    g_assert(fixture-&gt;role == ATK_ROLE_COMBO_BOX);
-
-    comboboxMenu = atk_object_ref_accessible_child(fixture-&gt;obj, 0);
-    g_assert(comboboxMenu);
-    fixture-&gt;role = atk_object_get_role(comboboxMenu);
-    g_assert(fixture-&gt;role == ATK_ROLE_MENU);
-
-    get_child_and_test_role(comboboxMenu, 0, ATK_ROLE_MENU_ITEM);
-    get_child_and_test_role(comboboxMenu, 1, ATK_ROLE_MENU_ITEM);
-    get_child_and_test_role(comboboxMenu, 2, ATK_ROLE_MENU_ITEM);
-
-    g_object_unref(fixture-&gt;obj);
-    g_object_unref(comboboxMenu);
-}
-
-/* Form roles */
-static void test_webkit_atk_get_role_form(AtkRolesFixture *fixture, gconstpointer data)
-{
-    get_child_and_test_role(fixture-&gt;document, 0, ATK_ROLE_FORM);
-}
-
-static void test_webkit_atk_get_role_check_box(AtkRolesFixture* fixture, gconstpointer data)
-{
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    get_child_and_test_role(fixture-&gt;obj, 0, ATK_ROLE_CHECK_BOX);
-
-    g_object_unref(fixture-&gt;obj);
-}
-
-static void test_webkit_atk_get_role_entry(AtkRolesFixture* fixture, gconstpointer data)
-{
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    get_child_and_test_role(fixture-&gt;obj, 1, ATK_ROLE_ENTRY);
-
-    g_object_unref(fixture-&gt;obj);
-}
-
-static void test_webkit_atk_get_role_label(AtkRolesFixture* fixture, gconstpointer data)
-{
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    get_child_and_test_role(fixture-&gt;obj, 0, ATK_ROLE_LABEL);
-
-    g_object_unref(fixture-&gt;obj);
-}
-
-static void test_webkit_atk_get_role_listbox(AtkRolesFixture* fixture, gconstpointer data)
-{
-    AtkObject* listboxObj;
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    listboxObj = atk_object_ref_accessible_child(fixture-&gt;obj, 0);
-    g_assert(listboxObj);
-    fixture-&gt;role = atk_object_get_role(listboxObj);
-    g_assert(fixture-&gt;role == ATK_ROLE_LIST);
-
-    get_child_and_test_role(listboxObj, 0, ATK_ROLE_LIST_ITEM);
-    get_child_and_test_role(listboxObj, 1, ATK_ROLE_LIST_ITEM);
-    get_child_and_test_role(listboxObj, 2, ATK_ROLE_LIST_ITEM);
-
-    g_object_unref(fixture-&gt;obj);
-    g_object_unref(listboxObj);
-}
-
-static void test_webkit_atk_get_role_password_text(AtkRolesFixture* fixture, gconstpointer data)
-{
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    get_child_and_test_role(fixture-&gt;obj, 0, ATK_ROLE_PASSWORD_TEXT);
-
-    g_object_unref(fixture-&gt;obj);
-}
-
-static void test_webkit_atk_get_role_push_button(AtkRolesFixture* fixture, gconstpointer data)
-{
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    get_child_and_test_role(fixture-&gt;obj, 0, ATK_ROLE_PUSH_BUTTON);
-
-    g_object_unref(fixture-&gt;obj);
-}
-
-static void test_webkit_atk_get_role_radio_button(AtkRolesFixture* fixture, gconstpointer data)
-{
-    // This is an extraneous object of ATK_ROLE_PANEL which we should get rid of.
-    fixture-&gt;obj = atk_object_ref_accessible_child(fixture-&gt;document, 0);
-    g_assert(fixture-&gt;obj);
-
-    get_child_and_test_role(fixture-&gt;obj, 0, ATK_ROLE_RADIO_BUTTON);
-
-    g_object_unref(fixture-&gt;obj);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_document_frame&quot;,
-               AtkRolesFixture, HTML_DOCUMENT_FRAME,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_document_frame,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_heading&quot;,
-               AtkRolesFixture, HTML_HEADING,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_heading,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_image&quot;,
-               AtkRolesFixture, HTML_IMAGE,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_image,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_link&quot;,
-               AtkRolesFixture, HTML_LINK_TEXT,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_link,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_list_and_item&quot;,
-               AtkRolesFixture, HTML_LIST,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_list_and_item,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_paragraph&quot;,
-               AtkRolesFixture, HTML_PARAGRAPH,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_paragraph,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_section&quot;,
-               AtkRolesFixture, HTML_SECTION,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_section,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_table&quot;,
-               AtkRolesFixture, HTML_TABLE,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_table,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_separator&quot;,
-               AtkRolesFixture, HTML_SEPARATOR,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_separator,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_combobox&quot;,
-               AtkRolesFixture, HTML_COMBOBOX,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_combobox,
-               atk_roles_fixture_teardown);
-
-    /* Form roles */
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_form&quot;,
-               AtkRolesFixture, HTML_FORM,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_form,
-               atk_roles_fixture_teardown);
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_check_box&quot;,
-               AtkRolesFixture, HTML_CHECK_BOX,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_check_box,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_entry&quot;,
-               AtkRolesFixture, HTML_LABELED_ENTRY,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_entry,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_label&quot;,
-               AtkRolesFixture, HTML_LABELED_ENTRY,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_label,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_listbox&quot;,
-               AtkRolesFixture, HTML_LISTBOX,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_listbox,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_password_text&quot;,
-               AtkRolesFixture, HTML_PASSWORD_TEXT,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_password_text,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_push_button&quot;,
-               AtkRolesFixture, HTML_PUSH_BUTTON,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_push_button,
-               atk_roles_fixture_teardown);
-
-    g_test_add(&quot;/webkit/atk/test_webkit_atk_get_role_radio_button&quot;,
-               AtkRolesFixture, HTML_RADIO_BUTTON,
-               atk_roles_fixture_setup,
-               test_webkit_atk_get_role_radio_button,
-               atk_roles_fixture_teardown);
-
-    return g_test_run();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestcontextmenuc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcontextmenu.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,314 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2,1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;webkit/webkit.h&gt;
-
-typedef struct {
-    char *data;
-    guint flag;
-} TestInfo;
-
-static GMainLoop *loop;
-
-typedef struct {
-    WebKitWebView *webView;
-    TestInfo *info;
-} ContextMenuFixture;
-
-static TestInfo *testInfoNew(const char *data, guint flag)
-{
-    TestInfo *info = g_slice_new(TestInfo);
-    info-&gt;data = g_strdup(data);
-    info-&gt;flag = flag;
-
-    return info;
-}
-
-static void testInfoDestroy(TestInfo *info)
-{
-    g_free(info-&gt;data);
-    g_slice_free(TestInfo, info);
-}
-
-static void contextMenuFixtureSetup(ContextMenuFixture *fixture, gconstpointer data)
-{
-    fixture-&gt;webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    loop = g_main_loop_new(NULL, TRUE);
-    fixture-&gt;info = (TestInfo *)data;
-}
-
-static void contextMenuFixtureTeardown(ContextMenuFixture *fixture, gconstpointer data)
-{
-    g_object_unref(fixture-&gt;webView);
-    g_main_loop_unref(loop);
-    testInfoDestroy(fixture-&gt;info);
-}
-
-static GList *checkAction(GList *iter, WebKitContextMenuAction action)
-{
-    GtkMenuItem *item = (GtkMenuItem *)iter-&gt;data;
-
-    g_assert(GTK_IS_MENU_ITEM(item));
-    g_assert(webkit_context_menu_item_get_action(item) == action);
-
-    return iter-&gt;next;
-}
-
-static GList *checkActionWithSubmenu(GList *iter, WebKitContextMenuAction action)
-{
-    GtkMenuItem *item = (GtkMenuItem *)iter-&gt;data;
-
-    g_assert(GTK_IS_MENU_ITEM(item));
-    g_assert(webkit_context_menu_item_get_action(item) == action);
-    g_assert(GTK_IS_MENU(gtk_menu_item_get_submenu(item)));
-
-    return iter-&gt;next;
-}
-
-static GList *checkSeparator(GList *iter)
-{
-    GtkMenuItem *item = (GtkMenuItem *)iter-&gt;data;
-
-    g_assert(GTK_IS_SEPARATOR_MENU_ITEM(item));
-
-    return iter-&gt;next;
-}
-
-static gboolean contextMenuCallback(WebKitWebView *webView, GtkWidget *defaultMenu, WebKitHitTestResult *hitTestResult, gboolean keyboardMode, gpointer userData)
-{
-    TestInfo *info = (TestInfo *)userData;
-    guint context;
-    GList *items;
-    GList *iter;
-
-    /* Check signal parameters */
-    g_assert(WEBKIT_IS_WEB_VIEW(webView));
-    g_assert(GTK_IS_MENU(defaultMenu));
-    g_assert(WEBKIT_IS_HIT_TEST_RESULT(hitTestResult));
-    g_assert(!keyboardMode);
-
-    g_object_get(hitTestResult, &quot;context&quot;, &amp;context, NULL);
-    g_assert(context &amp; info-&gt;flag);
-
-    items = gtk_container_get_children(GTK_CONTAINER(defaultMenu));
-    switch (info-&gt;flag) {
-    case WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT:
-        iter = items;
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_GO_BACK);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_STOP);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_RELOAD);
-        g_assert(!iter);
-
-        break;
-    case WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE:
-        iter = items;
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_OPEN_IMAGE_IN_NEW_WINDOW);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_IMAGE_TO_DISK);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_TO_CLIPBOARD);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_COPY_IMAGE_URL_TO_CLIPBOARD);
-        g_assert(!iter);
-
-        break;
-    case WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE:
-        iter = items;
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_CUT);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_COPY);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_PASTE);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_DELETE);
-        iter = checkSeparator(iter);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_SELECT_ALL);
-        iter = checkSeparator(iter);
-        iter = checkActionWithSubmenu(iter, WEBKIT_CONTEXT_MENU_ACTION_INPUT_METHODS);
-        iter = checkActionWithSubmenu(iter, WEBKIT_CONTEXT_MENU_ACTION_UNICODE);
-        g_assert(!iter);
-
-        break;
-    case WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK:
-        iter = items;
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_OPEN_LINK_IN_NEW_WINDOW);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_DOWNLOAD_LINK_TO_DISK);
-        iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_COPY_LINK_TO_CLIPBOARD);
-        g_assert(!iter);
-
-        break;
-    default:
-        g_assert_not_reached();
-    }
-
-    g_list_free(items);
-    g_main_loop_quit(loop);
-
-    return TRUE;
-}
-
-static void pushEvent(WebKitWebView *webView)
-{
-    GdkEvent *event = gdk_event_new(GDK_BUTTON_PRESS);
-#if GTK_CHECK_VERSION(3, 0, 0)
-    GdkDeviceManager *deviceManager;
-#endif
-
-    event-&gt;any.window = g_object_ref(gtk_widget_get_window(GTK_WIDGET(webView)));
-    event-&gt;any.send_event = FALSE;
-    event-&gt;button.time = GDK_CURRENT_TIME;
-    event-&gt;button.button = 3;
-    event-&gt;button.x = event-&gt;button.y = 5;
-    event-&gt;button.x_root = event-&gt;button.x;
-    event-&gt;button.y_root = event-&gt;button.y;
-#if GTK_CHECK_VERSION(3, 0, 0)
-    deviceManager = gdk_display_get_device_manager(gdk_display_get_default());
-    event-&gt;button.device = gdk_device_manager_get_client_pointer(deviceManager);
-#endif
-
-    gdk_event_put(event);
-    gdk_event_free(event);
-}
-
-static void loadStatusCallback(WebKitWebView *webView, GParamSpec *spec, gpointer data)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    TestInfo *info = (TestInfo *)data;
-
-    g_assert(status != WEBKIT_LOAD_FAILED);
-
-    if (status != WEBKIT_LOAD_FINISHED)
-        return;
-
-    g_signal_connect(webView, &quot;context-menu&quot;, G_CALLBACK(contextMenuCallback), info);
-    pushEvent(webView);
-}
-
-static gboolean mapEventCallback(GtkWidget *widget, GdkEvent *event, gpointer data)
-{
-    gtk_widget_grab_focus(widget);
-    ContextMenuFixture *fixture = (ContextMenuFixture *)data;
-    webkit_web_view_load_string(fixture-&gt;webView,
-                                fixture-&gt;info-&gt;data,
-                                &quot;text/html&quot;,
-                                &quot;utf-8&quot;,
-                                &quot;file://&quot;);
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;, G_CALLBACK(loadStatusCallback), fixture-&gt;info);
-    return FALSE;
-}
-
-static void testContextMenu(ContextMenuFixture *fixture, gconstpointer data)
-{
-    GtkAllocation allocation = { 0, 0, 50, 50 };
-    GtkWidget *window = gtk_window_new(GTK_WINDOW_POPUP);
-
-    gtk_window_resize(GTK_WINDOW(window), 50, 50);
-    gtk_window_move(GTK_WINDOW(window), 0, 0);
-    gtk_widget_size_allocate(GTK_WIDGET(fixture-&gt;webView), &amp;allocation);
-    gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(fixture-&gt;webView));
-    g_signal_connect(window, &quot;map-event&quot;, G_CALLBACK(mapEventCallback), fixture);
-    gtk_widget_show_all(window);
-
-    g_main_loop_run(loop);
-}
-
-static gboolean contextMenuCustomItemCallback(WebKitWebView *webView, GtkWidget *defaultMenu, WebKitHitTestResult *hitTestResult, gboolean keyboardMode, gpointer userData)
-{
-    TestInfo *info = (TestInfo *)userData;
-    guint context;
-    GList *items;
-    GList *iter;
-    GtkWidget *menuItem;
-    GtkAction *action;
-
-    /* Check signal parameters */
-    g_assert(WEBKIT_IS_WEB_VIEW(webView));
-    g_assert(GTK_IS_MENU(defaultMenu));
-    g_assert(WEBKIT_IS_HIT_TEST_RESULT(hitTestResult));
-    g_assert(!keyboardMode);
-
-    g_object_get(hitTestResult, &quot;context&quot;, &amp;context, NULL);
-    g_assert(context &amp; info-&gt;flag);
-
-    action = gtk_action_new(&quot;TestAction&quot;, &quot;Custom Action&quot;, &quot;Custom Action Tooltip&quot;, NULL);
-    menuItem = gtk_action_create_menu_item(action);
-    g_object_unref(action);
-
-    gtk_menu_shell_append(GTK_MENU_SHELL(defaultMenu), menuItem);
-    gtk_widget_show(menuItem);
-
-    items = gtk_container_get_children(GTK_CONTAINER(defaultMenu));
-    iter = items;
-    iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_GO_BACK);
-    iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_GO_FORWARD);
-    iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_STOP);
-    iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_RELOAD);
-    iter = checkAction(iter, WEBKIT_CONTEXT_MENU_ACTION_NO_ACTION);
-    g_assert(!iter);
-
-    g_list_free(items);
-    g_main_loop_quit(loop);
-
-    return TRUE;
-}
-
-static void testContextMenuCustomItem(ContextMenuFixture *fixture, gconstpointer data)
-{
-    GtkWidget *window = gtk_window_new(GTK_WINDOW_POPUP);
-    gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(fixture-&gt;webView));
-    gtk_widget_show_all(window);
-    gtk_widget_grab_focus(GTK_WIDGET(fixture-&gt;webView));
-
-    webkit_web_view_load_string(fixture-&gt;webView,
-                                fixture-&gt;info-&gt;data,
-                                &quot;text/html&quot;,
-                                &quot;utf-8&quot;,
-                                &quot;file://&quot;);
-    g_signal_connect(fixture-&gt;webView, &quot;context-menu&quot;, G_CALLBACK(contextMenuCustomItemCallback), fixture-&gt;info);
-    pushEvent(fixture-&gt;webView);
-}
-
-int main(int argc, char **argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-
-    g_test_add(&quot;/webkit/testcontextmenu/document&quot;, ContextMenuFixture,
-               testInfoNew(&quot;&lt;html&gt;&lt;body&gt;&lt;h1&gt;WebKitGTK+!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                           WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT),
-               contextMenuFixtureSetup, testContextMenu, contextMenuFixtureTeardown);
-    /* We hardcode all elements to be at 0,0 so that we know where to generate the button events */
-    g_test_add(&quot;/webkit/testcontextmenu/image&quot;, ContextMenuFixture,
-               testInfoNew(&quot;&lt;html&gt;&lt;body&gt;&lt;img style='position:absolute; left:0; top:0' src='0xdeadbeef' width=50 height=50&gt;&lt;/img&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                           WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE),
-               contextMenuFixtureSetup, testContextMenu, contextMenuFixtureTeardown);
-    g_test_add(&quot;/webkit/testcontextmenu/editable&quot;, ContextMenuFixture,
-               testInfoNew(&quot;&lt;html&gt;&lt;body&gt;&lt;input style='position:absolute; left:0; top:0' size='35'&gt;&lt;/input&gt;&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                           WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE),
-               contextMenuFixtureSetup, testContextMenu, contextMenuFixtureTeardown);
-    g_test_add(&quot;/webkit/testcontextmenu/link&quot;, ContextMenuFixture,
-               testInfoNew(&quot;&lt;html&gt;&lt;body&gt;&lt;a style='position:absolute; left:0; top:0' href='http://www.example.com'&gt;HELLO WORLD&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                           WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK),
-               contextMenuFixtureSetup, testContextMenu, contextMenuFixtureTeardown);
-    g_test_add(&quot;/webkit/testcontextmenu/customitem&quot;, ContextMenuFixture,
-               testInfoNew(&quot;&lt;html&gt;&lt;body&gt;&lt;h1&gt;WebKitGTK+!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                           WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT),
-               contextMenuFixtureSetup, testContextMenuCustomItem, contextMenuFixtureTeardown);
-
-    return g_test_run();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestcopyandpastec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testcopyandpaste.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,266 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2,1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;string.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;webkit/webkit.h&gt;
-#include &lt;JavaScriptCore/JSStringRef.h&gt;
-#include &lt;JavaScriptCore/JSContextRef.h&gt;
-
-typedef struct {
-    char* page;
-    char* expectedContent;
-} TestInfo;
-
-typedef struct {
-    GtkWidget* window;
-    WebKitWebView* webView;
-    GMainLoop* loop;
-    TestInfo* info;
-} CopyAndPasteFixture;
-
-TestInfo*
-test_info_new(const char* page, const char* expectedContent)
-{
-    TestInfo* info;
-    info = g_slice_new0(TestInfo);
-    info-&gt;page = g_strdup(page);
-    if (expectedContent)
-        info-&gt;expectedContent = g_strdup(expectedContent);
-    return info;
-}
-
-void
-test_info_destroy(TestInfo* info)
-{
-    g_free(info-&gt;page);
-    g_free(info-&gt;expectedContent);
-    g_slice_free(TestInfo, info);
-}
-
-static void copy_and_paste_fixture_setup(CopyAndPasteFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;loop = g_main_loop_new(NULL, TRUE);
-
-    fixture-&gt;window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    fixture-&gt;webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-
-    gtk_container_add(GTK_CONTAINER(fixture-&gt;window), GTK_WIDGET(fixture-&gt;webView));
-}
-
-static void copy_and_paste_fixture_teardown(CopyAndPasteFixture* fixture, gconstpointer data)
-{
-    gtk_widget_destroy(fixture-&gt;window);
-    g_main_loop_unref(fixture-&gt;loop);
-    test_info_destroy(fixture-&gt;info);
-}
-
-static void load_status_cb(WebKitWebView* webView, GParamSpec* spec, gpointer data)
-{
-    CopyAndPasteFixture* fixture = (CopyAndPasteFixture*)data;
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    if (status != WEBKIT_LOAD_FINISHED)
-        return;
-
-    GtkClipboard* clipboard = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD);
-    gtk_clipboard_clear(clipboard);
-
-    webkit_web_view_copy_clipboard(webView);
-
-    gchar* text = gtk_clipboard_wait_for_text(clipboard);
-    g_assert(text || !fixture-&gt;info-&gt;expectedContent);
-    g_assert(!text || !strcmp(text, fixture-&gt;info-&gt;expectedContent));
-    g_free(text);
-
-    // Verify that the markup starts with the proper content-type meta tag prefix.
-    GtkSelectionData* selectionData = gtk_clipboard_wait_for_contents(clipboard, gdk_atom_intern(&quot;text/html&quot;, FALSE));
-    if (selectionData) {
-        static const char* markupPrefix = &quot;&lt;meta http-equiv=\&quot;content-type\&quot; content=\&quot;text/html; charset=utf-8\&quot;&gt;&quot;;
-        char* markup = g_strndup((const char*) gtk_selection_data_get_data(selectionData),
-            gtk_selection_data_get_length(selectionData));
-        g_assert(strlen(markupPrefix) &lt;= strlen(markup));
-        g_assert(!strncmp(markupPrefix, markup, strlen(markupPrefix)));
-        g_free(markup);
-    }
-
-    g_assert(!gtk_clipboard_wait_is_uris_available(clipboard));
-    g_assert(!gtk_clipboard_wait_is_image_available(clipboard));
-
-    g_main_loop_quit(fixture-&gt;loop);
-}
-
-gboolean map_event_cb(GtkWidget *widget, GdkEvent* event, gpointer data)
-{
-    CopyAndPasteFixture* fixture = (CopyAndPasteFixture*)data;
-    webkit_web_view_load_string(fixture-&gt;webView, fixture-&gt;info-&gt;page,
-                                &quot;text/html&quot;, &quot;utf-8&quot;, &quot;file://&quot;);
-    return FALSE;
-}
-
-static void test_copy_and_paste(CopyAndPasteFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;info = (TestInfo*)data;
-    g_signal_connect(fixture-&gt;window, &quot;map-event&quot;,
-                     G_CALLBACK(map_event_cb), fixture);
-
-    gtk_widget_show(fixture-&gt;window);
-    gtk_widget_show(GTK_WIDGET(fixture-&gt;webView));
-    gtk_window_present(GTK_WINDOW(fixture-&gt;window));
-    gtk_widget_grab_focus(GTK_WIDGET(fixture-&gt;webView));
-
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;,
-                     G_CALLBACK(load_status_cb), fixture);
-
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-static CopyAndPasteFixture* currentFixture;
-static JSValueRef runPasteTestCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
-{
-    gtk_widget_grab_focus(GTK_WIDGET(currentFixture-&gt;webView));
-
-    // Simulate a paste keyboard sequence.
-    GdkEvent* event = gdk_event_new(GDK_KEY_PRESS);
-    event-&gt;key.keyval = gdk_unicode_to_keyval('v');
-    event-&gt;key.state = GDK_CONTROL_MASK;
-    event-&gt;key.window = gtk_widget_get_window(GTK_WIDGET(currentFixture-&gt;webView));
-    g_object_ref(event-&gt;key.window);
-#ifndef GTK_API_VERSION_2
-    GdkDeviceManager* manager =  gdk_display_get_device_manager(gdk_window_get_display(event-&gt;key.window));
-    gdk_event_set_device(event, gdk_device_manager_get_client_pointer(manager));
-#endif
-
-    GdkKeymapKey* keys;
-    gint n_keys;
-    if (gdk_keymap_get_entries_for_keyval(gdk_keymap_get_default(), event-&gt;key.keyval, &amp;keys, &amp;n_keys)) {
-        event-&gt;key.hardware_keycode = keys[0].keycode;
-        g_free(keys);
-    }
-
-    gtk_main_do_event(event);
-    event-&gt;key.type = GDK_KEY_RELEASE;
-    gtk_main_do_event(event);
-    gdk_event_free(event);
-
-    JSStringRef scriptString = JSStringCreateWithUTF8CString(&quot;document.body.innerHTML;&quot;);
-    JSValueRef value = JSEvaluateScript(context, scriptString, 0, 0, 0, 0);
-    JSStringRelease(scriptString);
-
-    g_assert(JSValueIsString(context, value));
-    JSStringRef actual = JSValueToStringCopy(context, value, exception);
-    g_assert(!exception || !*exception);
-    g_assert(currentFixture-&gt;info-&gt;expectedContent);
-    JSStringRef expected = JSStringCreateWithUTF8CString(currentFixture-&gt;info-&gt;expectedContent);
-    g_assert(JSStringIsEqual(expected, actual));
-
-    JSStringRelease(expected);
-    JSStringRelease(actual);
-    g_main_loop_quit(currentFixture-&gt;loop);
-    return JSValueMakeUndefined(context);
-}
-
-static void window_object_cleared_callback(WebKitWebView* web_view, WebKitWebFrame* web_frame, JSGlobalContextRef context, JSObjectRef window_object, gpointer data)
-{
-    JSStringRef name = JSStringCreateWithUTF8CString(&quot;runTest&quot;);
-    JSObjectRef testComplete = JSObjectMakeFunctionWithCallback(context, name, runPasteTestCallback);
-    JSObjectSetProperty(context, window_object, name, testComplete, kJSPropertyAttributeNone, 0);
-    JSStringRelease(name);
-}
-
-static void pasting_test_get_data_callback(GtkClipboard* clipboard, GtkSelectionData* selection_data, guint info, gpointer data)
-{
-    gtk_selection_data_set(selection_data, gdk_atom_intern(&quot;text/html&quot;, FALSE), 8, (const guchar*) data, strlen((char*)data) + 1);
-}
-
-static void pasting_test_clear_data_callback(GtkClipboard* clipboard, gpointer data)
-{
-    g_free(data);
-}
-
-static void test_pasting_markup(CopyAndPasteFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;info = (TestInfo*)data;
-    currentFixture = fixture;
-
-    GtkTargetList* targetList = gtk_target_list_new(0, 0);
-    gtk_target_list_add(targetList, gdk_atom_intern(&quot;text/html&quot;, FALSE), 0, 0);
-
-    int numberOfTargets = 1;
-    GtkTargetEntry* targetTable = gtk_target_table_new_from_list(targetList, &amp;numberOfTargets);
-    gtk_clipboard_set_with_data(gtk_clipboard_get(GDK_SELECTION_CLIPBOARD),
-                                targetTable, numberOfTargets,
-                                pasting_test_get_data_callback,
-                                pasting_test_clear_data_callback,
-                                g_strdup(fixture-&gt;info-&gt;expectedContent));
-    gtk_target_list_unref(targetList);
-    gtk_target_table_free(targetTable, numberOfTargets);
-
-    g_signal_connect(fixture-&gt;window, &quot;map-event&quot;,
-                     G_CALLBACK(map_event_cb), fixture);
-    g_signal_connect(fixture-&gt;webView, &quot;window-object-cleared&quot;,
-                     G_CALLBACK(window_object_cleared_callback), fixture);
-
-    gtk_widget_show(fixture-&gt;window);
-    gtk_widget_show(GTK_WIDGET(fixture-&gt;webView));
-    gtk_window_present(GTK_WINDOW(fixture-&gt;window));
-
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    const char* selected_span_html = &quot;&lt;html&gt;&lt;body&gt;&quot;
-        &quot;&lt;span id=\&quot;mainspan\&quot;&gt;All work and no play &lt;span&gt;make Jack a dull&lt;/span&gt; boy.&lt;/span&gt;&quot;
-        &quot;&lt;script&gt;document.getSelection().collapse();\n&quot;
-        &quot;document.getSelection().selectAllChildren(document.getElementById('mainspan'));\n&quot;
-        &quot;&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-    const char* no_selection_html = &quot;&lt;html&gt;&lt;body&gt;&quot;
-        &quot;&lt;span id=\&quot;mainspan\&quot;&gt;All work and no play &lt;span&gt;make Jack a dull&lt;/span&gt; boy&lt;/span&gt;&quot;
-        &quot;&lt;script&gt;document.getSelection().collapse();\n&quot;
-        &quot;&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-    g_test_add(&quot;/webkit/copyandpaste/selection&quot;, CopyAndPasteFixture,
-               test_info_new(selected_span_html, &quot;All work and no play make Jack a dull boy.&quot;),
-               copy_and_paste_fixture_setup,
-               test_copy_and_paste,
-               copy_and_paste_fixture_teardown);
-    g_test_add(&quot;/webkit/copyandpaste/no-selection&quot;, CopyAndPasteFixture,
-               test_info_new(no_selection_html, 0),
-               copy_and_paste_fixture_setup,
-               test_copy_and_paste,
-               copy_and_paste_fixture_teardown);
-
-    const char* paste_test_html = &quot;&lt;html&gt;&quot;
-        &quot;&lt;body onLoad=\&quot;document.body.focus(); runTest();\&quot; contentEditable=\&quot;true\&quot;&gt;&quot;
-        &quot;&lt;/body&gt;&lt;/html&gt;&quot;;
-    g_test_add(&quot;/webkit/copyandpaste/paste-markup&quot;, CopyAndPasteFixture,
-               test_info_new(paste_test_html, &quot;bobby&quot;),
-               copy_and_paste_fixture_setup,
-               test_pasting_markup,
-               copy_and_paste_fixture_teardown);
-
-    return g_test_run();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestdomdocumentc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdocument.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &quot;test_utils.h&quot;
-
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-#define HTML_DOCUMENT_TITLE &quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;This is the title&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_DOCUMENT_ELEMENTS &quot;&lt;html&gt;&lt;body&gt;&lt;ul&gt;&lt;li&gt;1&lt;/li&gt;&lt;li&gt;2&lt;/li&gt;&lt;li&gt;3&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_DOCUMENT_ELEMENTS_CLASS &quot;&lt;html&gt;&lt;body&gt;&lt;div class=\&quot;test\&quot;&gt;&lt;/div&gt;&lt;div class=\&quot;strange\&quot;&gt;&lt;/div&gt;&lt;div class=\&quot;test\&quot;&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_DOCUMENT_ELEMENTS_ID &quot;&lt;html&gt;&lt;body&gt;&lt;div id=\&quot;testok\&quot;&gt;&lt;/div&gt;&lt;div id=\&quot;testbad\&quot;&gt;first&lt;/div&gt;&lt;div id=\&quot;testbad\&quot;&gt;second&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_DOCUMENT_LINKS &quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;Title&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;a href=\&quot;about:blank\&quot;&gt;blank&lt;/a&gt;&lt;a href=\&quot;http://www.google.com\&quot;&gt;google&lt;/a&gt;&lt;a href=\&quot;http://www.webkit.org\&quot;&gt;webkit&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_DOCUMENT_IFRAME &quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;IFrame&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;iframe id='iframe'&gt;&lt;/iframe&gt;&lt;div id='test'&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_DOCUMENT_TABLE &quot;&lt;html&gt;&lt;body&gt;&lt;table id=\&quot;table\&quot;&gt;&lt;/table&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_DOCUMENT_EVALUATE &quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;div&gt;First div&lt;/div&gt;&lt;div&gt;Second div&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-
-typedef struct {
-    GtkWidget* webView;
-    GMainLoop* loop;
-} DomDocumentFixture;
-
-static gboolean finish_loading(DomDocumentFixture* fixture)
-{
-    if (g_main_loop_is_running(fixture-&gt;loop))
-        g_main_loop_quit(fixture-&gt;loop);
-
-    return FALSE;
-}
-
-static void dom_document_fixture_setup(DomDocumentFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;loop = g_main_loop_new(NULL, TRUE);
-    fixture-&gt;webView = webkit_web_view_new();
-    g_object_ref_sink(fixture-&gt;webView);
-
-    if (data != NULL)
-        webkit_web_view_load_string(WEBKIT_WEB_VIEW (fixture-&gt;webView), (const char*) data, NULL, NULL, NULL);
-
-    g_idle_add((GSourceFunc)finish_loading, fixture);
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-static void dom_document_fixture_teardown(DomDocumentFixture* fixture, gconstpointer data)
-{
-    if (fixture-&gt;webView)
-        g_object_unref(fixture-&gt;webView);
-    g_main_loop_unref(fixture-&gt;loop);
-}
-
-static void test_dom_document_title(DomDocumentFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    gchar* title = webkit_dom_document_get_title(document);
-    g_assert(title);
-    g_assert_cmpstr(title, ==, &quot;This is the title&quot;);
-    g_free(title);
-    webkit_dom_document_set_title(document, &quot;This is the second title&quot;);
-    title = webkit_dom_document_get_title(document);
-    g_assert(title);
-    g_assert_cmpstr(title, ==, &quot;This is the second title&quot;);
-    g_free(title);
-}
-
-static void test_dom_document_get_elements_by_tag_name(DomDocumentFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    WebKitDOMNodeList* list = webkit_dom_document_get_elements_by_tag_name(document, &quot;li&quot;);
-    g_assert(list);
-    gulong length = webkit_dom_node_list_get_length(list);
-    g_assert_cmpint(length, ==, 3);
-
-    guint i;
-
-    for (i = 0; i &lt; length; i++) {
-        WebKitDOMNode* item = webkit_dom_node_list_item(list, i);
-        g_assert(item);
-        WebKitDOMElement* element = (WebKitDOMElement*)item;
-        g_assert(element);
-        g_assert_cmpstr(webkit_dom_element_get_tag_name(element), ==, &quot;LI&quot;);
-        WebKitDOMHTMLElement* htmlElement = (WebKitDOMHTMLElement*)element;
-        char* n = g_strdup_printf(&quot;%d&quot;, i+1);
-        g_assert_cmpstr(webkit_dom_html_element_get_inner_text(htmlElement), ==, n);
-        g_free(n);
-    }
-
-    g_object_unref(list);
-}
-
-static void test_dom_document_get_elements_by_class_name(DomDocumentFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    WebKitDOMNodeList* list = webkit_dom_document_get_elements_by_class_name(document, &quot;test&quot;);
-    g_assert(list);
-    gulong length = webkit_dom_node_list_get_length(list);
-    g_assert_cmpint(length, ==, 2);
-
-    guint i;
-
-    for (i = 0; i &lt; length; i++) {
-        WebKitDOMNode* item = webkit_dom_node_list_item(list, i);
-        g_assert(item);
-        WebKitDOMElement* element = (WebKitDOMElement*)item;
-        g_assert(element);
-        g_assert_cmpstr(webkit_dom_element_get_tag_name(element), ==, &quot;DIV&quot;);
-    }
-
-    g_object_unref(list);
-}
-
-static void test_dom_document_get_element_by_id(DomDocumentFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    WebKitDOMElement* element = webkit_dom_document_get_element_by_id(document, &quot;testok&quot;);
-    g_assert(element);
-    element = webkit_dom_document_get_element_by_id(document, &quot;this-id-does-not-exist&quot;);
-    g_assert(element == 0);
-    /* The DOM spec says the return value is undefined when there's
-     * more than one element with the same id; in our case the first
-     * one will be returned */
-    element = webkit_dom_document_get_element_by_id(document, &quot;testbad&quot;);
-    g_assert(element);
-    WebKitDOMHTMLElement* htmlElement = (WebKitDOMHTMLElement*)element;
-    g_assert_cmpstr(webkit_dom_html_element_get_inner_text(htmlElement), ==, &quot;first&quot;);
-}
-
-static void test_dom_document_get_links(DomDocumentFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    WebKitDOMHTMLCollection *collection = webkit_dom_document_get_links(document);
-    g_assert(collection);
-    gulong length = webkit_dom_html_collection_get_length(collection);
-    g_assert_cmpint(length, ==, 3);
-
-    guint i;
-
-    for (i = 0; i &lt; length; i++) {
-        static const char* names[] = { &quot;blank&quot;, &quot;google&quot;, &quot;webkit&quot; };
-        static const char* uris[] = { &quot;about:blank&quot;, &quot;http://www.google.com/&quot;, &quot;http://www.webkit.org/&quot; };
-        WebKitDOMNode *node = webkit_dom_html_collection_item(collection, i);
-        g_assert(node);
-        WebKitDOMElement* element = (WebKitDOMElement*)node;
-        g_assert_cmpstr(webkit_dom_element_get_tag_name(element), ==, &quot;A&quot;);
-        WebKitDOMHTMLElement *htmlElement = (WebKitDOMHTMLElement*)element;
-        g_assert_cmpstr(webkit_dom_html_element_get_inner_text(htmlElement), ==, names[i]);
-        WebKitDOMHTMLAnchorElement *anchor = (WebKitDOMHTMLAnchorElement*)element;
-        g_assert_cmpstr(webkit_dom_html_anchor_element_get_href(anchor), ==, uris[i]);
-    }
-    g_object_unref(collection);
-}
-
-static void test_dom_document_insert_row(DomDocumentFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(WEBKIT_DOM_IS_DOCUMENT(document));
-    WebKitDOMElement* table = webkit_dom_document_get_element_by_id(document, &quot;table&quot;);
-    g_assert(WEBKIT_DOM_IS_HTML_ELEMENT(table));
-    WebKitDOMHTMLCollection* rows = webkit_dom_html_table_element_get_rows(WEBKIT_DOM_HTML_TABLE_ELEMENT(table));
-    g_assert(WEBKIT_DOM_IS_HTML_COLLECTION(rows));
-
-    // Table is initially empty.
-    g_assert_cmpint(webkit_dom_html_collection_get_length(rows), ==, 0);
-    WebKitDOMHTMLElement* row = webkit_dom_html_table_element_insert_row(WEBKIT_DOM_HTML_TABLE_ELEMENT(table), -1, NULL);
-    g_assert(WEBKIT_DOM_IS_HTML_TABLE_ROW_ELEMENT(row));
-    rows = webkit_dom_html_table_element_get_rows(WEBKIT_DOM_HTML_TABLE_ELEMENT(table));
-    g_assert(WEBKIT_DOM_IS_HTML_COLLECTION(rows));
-    g_assert_cmpint(webkit_dom_html_collection_get_length(rows), ==, 1);
-}
-
-static void test_dom_document_evaluate(DomDocumentFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(WEBKIT_DOM_IS_DOCUMENT(document));
-    WebKitDOMNodeList* list = webkit_dom_document_get_elements_by_tag_name(document, &quot;html&quot;);
-    g_assert(list);
-    gulong length = webkit_dom_node_list_get_length(list);
-    g_assert_cmpint(length, ==, 1);
-    WebKitDOMNode* html = webkit_dom_node_list_item(list, 0);
-    g_assert(WEBKIT_DOM_IS_NODE(html));
-
-    WebKitDOMXPathResult* result = webkit_dom_document_evaluate(document, &quot;//div&quot;, html, NULL, 0, NULL, NULL);
-    g_assert(WEBKIT_DOM_IS_XPATH_RESULT(result));
-
-    int i = 0;
-    WebKitDOMNode* node;
-    while ( (node = webkit_dom_xpath_result_iterate_next(result, NULL)) != NULL) {
-        g_assert(node);
-        WebKitDOMElement* element = (WebKitDOMElement*)node;
-        g_assert_cmpstr(webkit_dom_element_get_tag_name(element), ==, &quot;DIV&quot;);
-        i++;
-    }
-    g_assert_cmpint(i, ==, 2);
-
-    g_object_unref(list);
-}
-
-static void weak_notify(gpointer data, GObject* zombie)
-{
-    guint* count = (guint*)data;
-    (*count)++;
-}
-
-static void test_dom_document_garbage_collection(DomDocumentFixture* fixture, gconstpointer data)
-{
-    guint count = 0;
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    g_object_weak_ref(G_OBJECT(document), (GWeakNotify)weak_notify, &amp;count);
-    WebKitDOMHTMLHeadElement* head = webkit_dom_document_get_head(document);
-    g_assert(head);
-    g_object_weak_ref(G_OBJECT(head), (GWeakNotify)weak_notify, &amp;count);
-    WebKitDOMHTMLElement* body = webkit_dom_document_get_body(document);
-    g_assert(body);
-    g_object_weak_ref(G_OBJECT(body), (GWeakNotify)weak_notify, &amp;count);
-    WebKitDOMHTMLCollection *collection = webkit_dom_document_get_links(document);
-    g_assert(collection);
-    g_object_weak_ref(G_OBJECT(collection), (GWeakNotify)weak_notify, &amp;count);
-
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW(view), HTML_DOCUMENT_LINKS, NULL, NULL, NULL);
-
-    while (g_main_context_pending(NULL))
-        g_main_context_iteration(NULL, FALSE);
-
-    g_assert_cmpuint(count, ==, 3);
-
-    g_object_unref(collection);
-    g_assert_cmpuint(count, ==, 4);
-
-    count = 0;
-
-    document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    g_object_weak_ref(G_OBJECT(document), (GWeakNotify)weak_notify, &amp;count);
-    head = webkit_dom_document_get_head(document);
-    g_assert(head);
-    g_object_weak_ref(G_OBJECT(head), (GWeakNotify)weak_notify, &amp;count);
-    body = webkit_dom_document_get_body(document);
-    g_assert(body);
-    g_object_weak_ref(G_OBJECT(body), (GWeakNotify)weak_notify, &amp;count);
-    collection = webkit_dom_document_get_links(document);
-    g_assert(collection);
-    g_object_weak_ref(G_OBJECT(collection), (GWeakNotify)weak_notify, &amp;count);
-    /* Ask twice for the same object */
-    WebKitDOMHTMLCollection* collection2 = webkit_dom_document_get_links(document);
-    g_assert(collection2);
-    g_object_weak_ref(G_OBJECT(collection2), (GWeakNotify)weak_notify, &amp;count);
-
-    g_object_unref(document);
-    g_object_unref(head);
-    g_object_unref(body);
-    g_object_unref(collection);
-    g_object_unref(collection2);
-
-    g_assert_cmpuint(count, ==, 5);
-
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW(view), HTML_DOCUMENT_IFRAME, NULL, NULL, NULL);
-
-    while (g_main_context_pending(NULL))
-        g_main_context_iteration(NULL, FALSE);
-
-    count = 0;
-
-    document = webkit_web_view_get_dom_document(view);
-    WebKitDOMElement* div = webkit_dom_document_get_element_by_id(document, &quot;test&quot;);
-    g_assert(div);
-    g_object_weak_ref(G_OBJECT(div), (GWeakNotify)weak_notify, &amp;count);
-    WebKitDOMElement* iframe = webkit_dom_document_get_element_by_id(document, &quot;iframe&quot;);
-    g_assert(iframe);
-
-    webkit_dom_element_set_attribute(iframe, &quot;src&quot;, &quot;data:&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;/html&gt;&quot;, NULL);
-
-    while (g_main_context_pending(NULL))
-        g_main_context_iteration(NULL, FALSE);
-
-    WebKitDOMDocument* iframeDocument = webkit_dom_html_iframe_element_get_content_document(WEBKIT_DOM_HTML_IFRAME_ELEMENT(iframe));
-    g_assert(iframeDocument);
-    head = webkit_dom_document_get_head(iframeDocument);
-    g_assert(head);
-    g_object_weak_ref(G_OBJECT(head), (GWeakNotify)weak_notify, &amp;count);
-
-    webkit_dom_element_set_attribute(iframe, &quot;src&quot;, &quot;about:blank&quot;, NULL);
-
-    while (g_main_context_pending(NULL))
-        g_main_context_iteration(NULL, FALSE);
-
-    g_assert_cmpuint(count, ==, 1);
-
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW(view), HTML_DOCUMENT_LINKS, NULL, NULL, NULL);
-
-    while (g_main_context_pending(NULL))
-        g_main_context_iteration(NULL, FALSE);
-
-    g_assert_cmpuint(count, ==, 2);
-
-    count = 0;
-
-    document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    g_object_weak_ref(G_OBJECT(document), (GWeakNotify)weak_notify, &amp;count);
-    /* Ask twice for the Document */
-    WebKitDOMDocument* document2 = webkit_web_view_get_dom_document(view);
-    g_assert(document2);
-    g_object_weak_ref(G_OBJECT(document2), (GWeakNotify)weak_notify, &amp;count);
-    head = webkit_dom_document_get_head(document);
-    g_assert(head);
-    g_object_weak_ref(G_OBJECT(head), (GWeakNotify)weak_notify, &amp;count);
-    body = webkit_dom_document_get_body(document);
-    g_assert(body);
-    g_object_weak_ref(G_OBJECT(body), (GWeakNotify)weak_notify, &amp;count);
-    collection = webkit_dom_document_get_links(document);
-    g_assert(collection);
-    g_object_weak_ref(G_OBJECT(collection), (GWeakNotify)weak_notify, &amp;count);
-
-    gtk_widget_destroy(fixture-&gt;webView);
-    fixture-&gt;webView = NULL;
-
-    g_assert_cmpuint(count, ==, 4);
-
-    g_object_unref(collection);
-
-    g_assert_cmpuint(count, ==, 5);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-
-    g_test_add(&quot;/webkit/domdocument/test_title&quot;,
-               DomDocumentFixture, HTML_DOCUMENT_TITLE,
-               dom_document_fixture_setup,
-               test_dom_document_title,
-               dom_document_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdocument/test_get_elements_by_tag_name&quot;,
-               DomDocumentFixture, HTML_DOCUMENT_ELEMENTS,
-               dom_document_fixture_setup,
-               test_dom_document_get_elements_by_tag_name,
-               dom_document_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdocument/test_get_elements_by_class_name&quot;,
-               DomDocumentFixture, HTML_DOCUMENT_ELEMENTS_CLASS,
-               dom_document_fixture_setup,
-               test_dom_document_get_elements_by_class_name,
-               dom_document_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdocument/test_get_element_by_id&quot;,
-               DomDocumentFixture, HTML_DOCUMENT_ELEMENTS_ID,
-               dom_document_fixture_setup,
-               test_dom_document_get_element_by_id,
-               dom_document_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdocument/test_get_links&quot;,
-               DomDocumentFixture, HTML_DOCUMENT_LINKS,
-               dom_document_fixture_setup,
-               test_dom_document_get_links,
-               dom_document_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdocument/test_table_insert_row&quot;,
-               DomDocumentFixture, HTML_DOCUMENT_TABLE,
-               dom_document_fixture_setup,
-               test_dom_document_insert_row,
-               dom_document_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdocument/test_document_evaluate&quot;,
-               DomDocumentFixture, HTML_DOCUMENT_EVALUATE,
-               dom_document_fixture_setup,
-               test_dom_document_evaluate,
-               dom_document_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdocument/test_garbage_collection&quot;,
-               DomDocumentFixture, HTML_DOCUMENT_LINKS,
-               dom_document_fixture_setup,
-               test_dom_document_garbage_collection,
-               dom_document_fixture_teardown);
-
-    return g_test_run();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestdomdomwindowc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomdomwindow.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,258 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &quot;test_utils.h&quot;
-
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-#define HTML_DOCUMENT &quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;&lt;/title&gt;&lt;/head&gt;&lt;style type='text/css'&gt;#test { font-size: 16px; }&lt;/style&gt;&lt;body&gt;&lt;p id='test'&gt;test&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-
-typedef struct {
-    GtkWidget* webView;
-    GtkWidget* window;
-    WebKitDOMDOMWindow* domWindow;
-    GMainLoop* loop;
-
-    gboolean loaded;
-    gboolean clicked;
-    gconstpointer data;
-} DomDomviewFixture;
-
-static gboolean finish_loading(DomDomviewFixture* fixture)
-{
-    if (g_main_loop_is_running(fixture-&gt;loop))
-        g_main_loop_quit(fixture-&gt;loop);
-
-    return FALSE;
-}
-
-static void dom_domview_fixture_setup(DomDomviewFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;loop = g_main_loop_new(NULL, TRUE);
-    fixture-&gt;window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    fixture-&gt;webView = webkit_web_view_new();
-    fixture-&gt;data = data;
-
-    gtk_container_add(GTK_CONTAINER(fixture-&gt;window), GTK_WIDGET(fixture-&gt;webView));
-}
-
-static void dom_domview_fixture_teardown(DomDomviewFixture* fixture, gconstpointer data)
-{
-    gtk_widget_destroy(fixture-&gt;window);
-    g_main_loop_unref(fixture-&gt;loop);
-}
-
-static void dom_dom_window_fixture_setup(DomDomviewFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;loop = g_main_loop_new(NULL, TRUE);
-    fixture-&gt;webView = webkit_web_view_new();
-    g_object_ref_sink(fixture-&gt;webView);
-
-    if (data != NULL)
-        webkit_web_view_load_string(WEBKIT_WEB_VIEW (fixture-&gt;webView), (const char*) data, NULL, NULL, NULL);
-
-    g_idle_add((GSourceFunc)finish_loading, fixture);
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-static void dom_dom_window_fixture_teardown(DomDomviewFixture* fixture, gconstpointer data)
-{
-    if (fixture-&gt;webView)
-        g_object_unref(fixture-&gt;webView);
-    g_main_loop_unref(fixture-&gt;loop);
-}
-
-static gboolean loadedCallback(WebKitDOMDOMWindow* view, WebKitDOMEvent* event, DomDomviewFixture* fixture)
-{
-    g_assert(fixture-&gt;loaded == FALSE);
-    fixture-&gt;loaded = TRUE;
-
-    return FALSE;
-}
-
-static gboolean clickedCallback(WebKitDOMDOMWindow* view, WebKitDOMEvent* event, DomDomviewFixture* fixture)
-{
-    WebKitDOMEventTarget* target;
-    gushort phase;
-
-    g_assert(event);
-    g_assert(WEBKIT_DOM_IS_EVENT(event));
-
-    // We should catch this in the bubbling up phase, since we are connecting to the toplevel object
-    phase = webkit_dom_event_get_event_phase(event);
-    g_assert_cmpint(phase, ==, 3);
-
-    target = webkit_dom_event_get_current_target(event);
-    g_assert(target == WEBKIT_DOM_EVENT_TARGET(view));
-
-    g_assert(fixture-&gt;clicked == FALSE);
-    fixture-&gt;clicked = TRUE;
-
-    finish_loading(fixture);
-
-    return FALSE;
-}
-
-gboolean map_event_cb(GtkWidget *widget, GdkEvent* event, DomDomviewFixture* fixture)
-{
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW (fixture-&gt;webView), (const char*)fixture-&gt;data, NULL, NULL, NULL);
-
-    return FALSE;
-}
-
-static void load_event_callback(WebKitWebView* webView, GParamSpec* spec, DomDomviewFixture* fixture)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    if (status == WEBKIT_LOAD_FINISHED) {
-        webkit_dom_event_target_add_event_listener(WEBKIT_DOM_EVENT_TARGET(fixture-&gt;domWindow), &quot;click&quot;, G_CALLBACK(clickedCallback), false, fixture);
-
-        g_assert(fixture-&gt;clicked == FALSE);
-        gtk_test_widget_click(GTK_WIDGET(fixture-&gt;webView), 1, 0);
-    }
-
-}
-
-static void test_dom_domview_signals(DomDomviewFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture);
-    WebKitWebView* view = (WebKitWebView*)fixture-&gt;webView;
-    g_assert(view);
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(view);
-    g_assert(document);
-    WebKitDOMDOMWindow* domWindow = webkit_dom_document_get_default_view(document);
-    g_assert(domWindow);
-
-    fixture-&gt;domWindow = domWindow;
-
-    webkit_dom_event_target_add_event_listener(WEBKIT_DOM_EVENT_TARGET(fixture-&gt;domWindow), &quot;load&quot;, G_CALLBACK(loadedCallback), false, fixture);
-    g_signal_connect(fixture-&gt;window, &quot;map-event&quot;, G_CALLBACK(map_event_cb), fixture);
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;, G_CALLBACK(load_event_callback), fixture);
-
-    gtk_widget_show_all(fixture-&gt;window);
-    gtk_window_present(GTK_WINDOW(fixture-&gt;window));
-
-    g_main_loop_run(fixture-&gt;loop);
-
-    g_assert(fixture-&gt;loaded);
-    g_assert(fixture-&gt;clicked);
-}
-
-static gboolean
-clicked_cb(WebKitDOMEventTarget* target, WebKitDOMEvent* event, DomDomviewFixture* fixture)
-{
-    g_assert(fixture-&gt;clicked == FALSE);
-    fixture-&gt;clicked = TRUE;
-    finish_loading(fixture);
-    return FALSE;
-}
-
-static void load_status_callback(WebKitWebView* webView, GParamSpec* spec, DomDomviewFixture* fixture)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    if (status == WEBKIT_LOAD_FINISHED) {
-        WebKitDOMDocument* document;
-        WebKitDOMDOMWindow* domWindow;
-        WebKitDOMElement* element;
-        WebKitDOMEvent* event;
-        glong clientX, clientY;
-
-        document = webkit_web_view_get_dom_document(WEBKIT_WEB_VIEW(fixture-&gt;webView));
-        g_assert(document);
-        domWindow = webkit_dom_document_get_default_view(document);
-        g_assert(domWindow);
-        fixture-&gt;domWindow = domWindow;
-
-        element = webkit_dom_document_get_element_by_id(document, &quot;test&quot;);
-        g_assert(element);
-        event = webkit_dom_document_create_event(document, &quot;MouseEvent&quot;, NULL);
-        g_assert(event);
-        g_assert(WEBKIT_DOM_IS_EVENT(event));
-        g_assert(WEBKIT_DOM_IS_MOUSE_EVENT(event));
-        clientX = webkit_dom_element_get_client_left(element);
-        clientY = webkit_dom_element_get_client_top(element);
-        webkit_dom_mouse_event_init_mouse_event(WEBKIT_DOM_MOUSE_EVENT(event),
-                                                &quot;click&quot;, TRUE, TRUE,
-                                                fixture-&gt;domWindow, 0, 0, 0, clientX, clientY,
-                                                FALSE, FALSE, FALSE, FALSE,
-                                                1, WEBKIT_DOM_EVENT_TARGET(element));
-        webkit_dom_event_target_add_event_listener(WEBKIT_DOM_EVENT_TARGET(element), &quot;click&quot;, G_CALLBACK(clicked_cb), false, fixture);
-        g_assert(fixture-&gt;clicked == FALSE);
-        webkit_dom_event_target_dispatch_event(WEBKIT_DOM_EVENT_TARGET(element), event, NULL);
-    }
-
-}
-
-static void test_dom_domview_dispatch_event(DomDomviewFixture* fixture, gconstpointer data)
-{
-    g_signal_connect(fixture-&gt;window, &quot;map-event&quot;, G_CALLBACK(map_event_cb), fixture);
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;, G_CALLBACK(load_status_callback), fixture);
-
-    gtk_widget_show_all(fixture-&gt;window);
-    gtk_window_present(GTK_WINDOW(fixture-&gt;window));
-
-    g_main_loop_run (fixture-&gt;loop);
-    g_assert(fixture-&gt;clicked);
-}
-
-static void test_dom_dom_window_get_computed_style(DomDomviewFixture* fixture, gconstpointer data)
-{
-    WebKitDOMDocument* document = webkit_web_view_get_dom_document(WEBKIT_WEB_VIEW(fixture-&gt;webView));
-    g_assert(document);
-    WebKitDOMDOMWindow* domWindow = webkit_dom_document_get_default_view(document);
-    g_assert(domWindow);
-
-    WebKitDOMElement*  element = webkit_dom_document_get_element_by_id(document, &quot;test&quot;);
-    g_assert(element);
-    g_assert(WEBKIT_DOM_IS_ELEMENT(element));
-    WebKitDOMCSSStyleDeclaration* cssStyle = webkit_dom_dom_window_get_computed_style(domWindow, element, NULL);
-    gchar* fontSize = webkit_dom_css_style_declaration_get_property_value(cssStyle, &quot;font-size&quot;);
-    g_assert_cmpstr(fontSize, ==, &quot;16px&quot;);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-
-    g_test_add(&quot;/webkit/domdomview/signals&quot;,
-               DomDomviewFixture, HTML_DOCUMENT,
-               dom_domview_fixture_setup,
-               test_dom_domview_signals,
-               dom_domview_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdomview/dispatch_event&quot;,
-               DomDomviewFixture, HTML_DOCUMENT,
-               dom_domview_fixture_setup,
-               test_dom_domview_dispatch_event,
-               dom_domview_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domdomwindow/get_computed_style&quot;,
-               DomDomviewFixture, HTML_DOCUMENT,
-               dom_dom_window_fixture_setup,
-               test_dom_dom_window_get_computed_style,
-               dom_dom_window_fixture_teardown);
-
-    return g_test_run();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestdomnodec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomnode.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomnode.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdomnode.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,219 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &quot;test_utils.h&quot;
-
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-#define HTML_DOCUMENT_HIERARCHY_NAVIGATION &quot;&lt;html&gt;&lt;head&gt;&lt;title&gt;This is the title&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;p&gt;1&lt;/p&gt;&lt;p&gt;2&lt;/p&gt;&lt;p&gt;3&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-#define HTML_DOCUMENT_NODE_INSERTION &quot;&lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;&quot;
-
-typedef struct {
-    GtkWidget* webView;
-    GMainLoop* loop;
-} DomNodeFixture;
-
-static gboolean finish_loading(DomNodeFixture* fixture)
-{
-    if (g_main_loop_is_running(fixture-&gt;loop))
-        g_main_loop_quit(fixture-&gt;loop);
-
-    return FALSE;
-}
-
-static void dom_node_fixture_setup(DomNodeFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;loop = g_main_loop_new(NULL, TRUE);
-    fixture-&gt;webView = webkit_web_view_new();
-    g_object_ref_sink(fixture-&gt;webView);
-
-    if (data != NULL)
-        webkit_web_view_load_string(WEBKIT_WEB_VIEW(fixture-&gt;webView), (const char*)data, NULL, NULL, NULL);
-
-    g_idle_add((GSourceFunc)finish_loading, fixture);
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-static void dom_node_fixture_teardown(DomNodeFixture* fixture, gconstpointer data)
-{
-    g_object_unref(fixture-&gt;webView);
-    g_main_loop_unref(fixture-&gt;loop);
-}
-
-static void test_dom_node_hierarchy_navigation(DomNodeFixture* fixture, gconstpointer data)
-{
-    WebKitDOMDocument* document;
-    WebKitDOMHTMLHeadElement* head;
-    WebKitDOMHTMLBodyElement* body;
-    WebKitDOMNodeList* list;
-    WebKitDOMNode* ptr;
-    gulong i, length;
-
-    document = webkit_web_view_get_dom_document(WEBKIT_WEB_VIEW(fixture-&gt;webView));
-    g_assert(document);
-    g_assert(WEBKIT_DOM_IS_DOCUMENT(document));
-    head = webkit_dom_document_get_head(document);
-    g_assert(head);
-    g_assert(WEBKIT_DOM_IS_HTML_HEAD_ELEMENT(head));
-
-    /* Title, head's child */
-    g_assert(webkit_dom_node_has_child_nodes(WEBKIT_DOM_NODE(head)));
-    list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(head));
-    g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 1);
-    ptr = webkit_dom_node_list_item(list, 0);
-    g_assert(ptr);
-    g_assert(WEBKIT_DOM_IS_HTML_TITLE_ELEMENT(ptr));
-    g_object_unref(list);
-
-    /* Body, Head sibling */
-    ptr = webkit_dom_node_get_next_sibling(WEBKIT_DOM_NODE(head));
-    g_assert(ptr);
-    body = WEBKIT_DOM_HTML_BODY_ELEMENT(ptr);
-    g_assert(WEBKIT_DOM_IS_HTML_BODY_ELEMENT(body));
-
-    /* There is no third sibling */
-    ptr = webkit_dom_node_get_next_sibling(ptr);
-    g_assert(ptr == NULL);
-
-    /* Body's previous sibling is Head */
-    ptr = webkit_dom_node_get_previous_sibling(WEBKIT_DOM_NODE(body));
-    g_assert(ptr);
-    g_assert(WEBKIT_DOM_IS_HTML_HEAD_ELEMENT(ptr));
-
-    /* Body has 3 children */
-    g_assert(webkit_dom_node_has_child_nodes(WEBKIT_DOM_NODE(body)));
-    list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(body));
-    length = webkit_dom_node_list_get_length(list);
-    g_assert_cmpint(length, ==, 3);
-
-    /* The three of them are P tags */
-    for (i = 0; i &lt; length; i++) {
-        ptr = webkit_dom_node_list_item(list, i);
-        g_assert(ptr);
-        g_assert(WEBKIT_DOM_IS_HTML_PARAGRAPH_ELEMENT(ptr));
-    }
-
-    /* Go backwards */
-    for (i = 0; ptr; ptr = webkit_dom_node_get_previous_sibling(ptr), i++)
-        /* Nothing */;
-
-    g_assert_cmpint(i, ==, 3);
-    g_object_unref(list);
-}
-
-static void test_dom_node_insertion(DomNodeFixture* fixture, gconstpointer data)
-{
-    WebKitDOMDocument* document;
-    WebKitDOMHTMLElement* body;
-    WebKitDOMElement* p, *div;
-    WebKitDOMNodeList* list;
-    WebKitDOMNode* node;
-
-    document = webkit_web_view_get_dom_document(WEBKIT_WEB_VIEW(fixture-&gt;webView));
-    g_assert(document);
-    body = webkit_dom_document_get_body(document);
-    g_assert(body);
-    g_assert(WEBKIT_DOM_IS_HTML_ELEMENT(body));
-
-    /* Body shouldn't have any children at this point */
-    g_assert(webkit_dom_node_has_child_nodes(WEBKIT_DOM_NODE(body)) == FALSE);
-
-    /* Insert one P element */
-    p = webkit_dom_document_create_element(document, &quot;P&quot;, NULL);
-    webkit_dom_node_append_child(WEBKIT_DOM_NODE(body), WEBKIT_DOM_NODE(p), NULL);
-
-    /* Now it should have one, the same that we inserted */
-    g_assert(webkit_dom_node_has_child_nodes(WEBKIT_DOM_NODE(body)));
-    list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(body));
-    g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 1);
-    node = webkit_dom_node_list_item(list, 0);
-    g_assert(node);
-    g_assert(webkit_dom_node_is_same_node(WEBKIT_DOM_NODE(p), node));
-    g_object_unref(list);
-
-    /* Replace the P tag with a DIV tag */
-    div = webkit_dom_document_create_element(document, &quot;DIV&quot;, NULL);
-    webkit_dom_node_replace_child(WEBKIT_DOM_NODE(body), WEBKIT_DOM_NODE(div), WEBKIT_DOM_NODE(p), NULL);
-    g_assert(webkit_dom_node_has_child_nodes(WEBKIT_DOM_NODE(body)));
-    list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(body));
-    g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 1);
-    node = webkit_dom_node_list_item(list, 0);
-    g_assert(node);
-    g_assert(webkit_dom_node_is_same_node(WEBKIT_DOM_NODE(div), node));
-    g_object_unref(list);
-
-    /* Now remove the tag */
-    webkit_dom_node_remove_child(WEBKIT_DOM_NODE(body), node, NULL);
-    list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(body));
-    g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 0);
-    g_object_unref(list);
-
-    /* Test insert_before */
-
-    /* If refChild is null, insert newChild as last element of parent */
-    div = webkit_dom_document_create_element(document, &quot;DIV&quot;, NULL);
-    webkit_dom_node_insert_before(WEBKIT_DOM_NODE(body), WEBKIT_DOM_NODE(div), NULL, NULL);
-    g_assert(webkit_dom_node_has_child_nodes(WEBKIT_DOM_NODE(body)));
-    list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(body));
-    g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 1);
-    node = webkit_dom_node_list_item(list, 0);
-    g_assert(node);
-    g_assert(webkit_dom_node_is_same_node(WEBKIT_DOM_NODE(div), node));
-    g_object_unref(list);
-
-    /* Now insert a 'p' before 'div' */
-    p = webkit_dom_document_create_element(document, &quot;P&quot;, NULL);
-    webkit_dom_node_insert_before(WEBKIT_DOM_NODE(body), WEBKIT_DOM_NODE(p), WEBKIT_DOM_NODE(div), NULL);
-    g_assert(webkit_dom_node_has_child_nodes(WEBKIT_DOM_NODE(body)));
-    list = webkit_dom_node_get_child_nodes(WEBKIT_DOM_NODE(body));
-    g_assert_cmpint(webkit_dom_node_list_get_length(list), ==, 2);
-    node = webkit_dom_node_list_item(list, 0);
-    g_assert(node);
-    g_assert(webkit_dom_node_is_same_node(WEBKIT_DOM_NODE(p), node));
-    node = webkit_dom_node_list_item(list, 1);
-    g_assert(node);
-    g_assert(webkit_dom_node_is_same_node(WEBKIT_DOM_NODE(div), node));
-    g_object_unref(list);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-
-    g_test_add(&quot;/webkit/domnode/test_hierarchy_navigation&quot;,
-               DomNodeFixture, HTML_DOCUMENT_HIERARCHY_NAVIGATION,
-               dom_node_fixture_setup,
-               test_dom_node_hierarchy_navigation,
-               dom_node_fixture_teardown);
-
-    g_test_add(&quot;/webkit/domnode/test_insertion&quot;,
-               DomNodeFixture, HTML_DOCUMENT_NODE_INSERTION,
-               dom_node_fixture_setup,
-               test_dom_node_insertion,
-               dom_node_fixture_teardown);
-
-    return g_test_run();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestdownloadc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testdownload.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,322 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Christian Dywan &lt;christian@twotoasts.de&gt;
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2,1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-GMainLoop* loop;
-char* temporaryFilename = NULL;
-WebKitDownload* theDownload = NULL;
-
-static void
-test_webkit_download_create(void)
-{
-    WebKitNetworkRequest* request;
-    WebKitDownload* download;
-    const gchar* uri = &quot;http://example.com&quot;;
-    gchar* tmpDir;
-
-    request = webkit_network_request_new(uri);
-    download = webkit_download_new(request);
-    g_object_unref(request);
-    g_assert_cmpstr(webkit_download_get_uri(download), ==, uri);
-    g_assert(webkit_download_get_network_request(download) == request);
-    g_assert(g_strrstr(uri, webkit_download_get_suggested_filename(download)));
-    g_assert(webkit_download_get_status(download) == WEBKIT_DOWNLOAD_STATUS_CREATED);
-    g_assert(!webkit_download_get_total_size(download));
-    g_assert(!webkit_download_get_current_size(download));
-    g_assert(!webkit_download_get_progress(download));
-    g_assert(!webkit_download_get_elapsed_time(download));
-    tmpDir = g_filename_to_uri(g_get_tmp_dir(), NULL, NULL);
-    webkit_download_set_destination_uri(download, tmpDir);
-    g_assert_cmpstr(tmpDir, ==, webkit_download_get_destination_uri(download));;
-    g_free(tmpDir);
-    g_object_unref(download);
-}
-
-static gboolean
-navigation_policy_decision_requested_cb(WebKitWebView* web_view,
-                                        WebKitWebFrame* web_frame,
-                                        WebKitNetworkRequest* request,
-                                        WebKitWebNavigationAction* action,
-                                        WebKitWebPolicyDecision* decision,
-                                        gpointer data)
-{
-    webkit_web_policy_decision_download(decision);
-    return TRUE;
-}
-
-static void
-notify_status_cb(GObject* object, GParamSpec* pspec, gpointer data)
-{
-    WebKitDownload* download = WEBKIT_DOWNLOAD(object);
-    switch (webkit_download_get_status(download)) {
-    case WEBKIT_DOWNLOAD_STATUS_FINISHED:
-    case WEBKIT_DOWNLOAD_STATUS_ERROR:
-        g_main_loop_quit(loop);
-        break;
-    case WEBKIT_DOWNLOAD_STATUS_CANCELLED:
-        g_assert_not_reached();
-        break;
-    default:
-        break;
-    }
-}
-
-static gboolean
-set_filename(gchar* filename)
-{
-    gchar *uri = g_filename_to_uri(filename, NULL, NULL);
-
-    webkit_download_set_destination_uri(theDownload, uri);
-    g_free(uri);
-
-    webkit_download_start(theDownload);
-    return FALSE;
-}
-
-static void
-handle_download_requested_cb(WebKitDownload* download,
-                             gboolean* beenThere,
-                             gboolean asynch)
-{
-    theDownload = download;
-    *beenThere = TRUE;
-
-    if (temporaryFilename) {
-        if (asynch) {
-            g_idle_add((GSourceFunc)set_filename, temporaryFilename);
-        } else {
-            gchar *uri = g_filename_to_uri(temporaryFilename, NULL, NULL);
-            if (uri)
-                webkit_download_set_destination_uri(download, uri);
-            g_free(uri);
-        }
-    }
-
-    g_signal_connect(download, &quot;notify::status&quot;,
-                     G_CALLBACK(notify_status_cb), NULL);
-}
-
-static gboolean
-download_requested_cb(WebKitWebView* web_view,
-                      WebKitDownload* download,
-                      gboolean* beenThere)
-{
-    handle_download_requested_cb(download, beenThere, FALSE);
-    return TRUE;
-}
-
-static gboolean
-download_requested_asynch_cb(WebKitWebView* web_view,
-                             WebKitDownload* download,
-                             gboolean* beenThere)
-{
-    handle_download_requested_cb(download, beenThere, TRUE);
-    return TRUE;
-}
-
-static void
-test_webkit_download_perform(gboolean asynch)
-{
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    GCallback downloadRequestCallback = NULL;
-
-    g_object_ref_sink(G_OBJECT(webView));
-
-    g_signal_connect(webView, &quot;navigation-policy-decision-requested&quot;,
-                     G_CALLBACK(navigation_policy_decision_requested_cb),
-                     NULL);
-
-    if (asynch)
-        downloadRequestCallback = G_CALLBACK(download_requested_asynch_cb);
-    else
-        downloadRequestCallback = G_CALLBACK(download_requested_cb);
-
-    gboolean beenThere = FALSE;
-    g_signal_connect(webView, &quot;download-requested&quot;,
-                     downloadRequestCallback, &amp;beenThere);
-
-    /* Preparation; FIXME: we should move this code to a test
-     * utilities file, because we have a very similar one in
-     * testwebframe.c */
-    GError *error = NULL;
-    gchar* filename;
-    int fd = g_file_open_tmp(&quot;webkit-testwebdownload-XXXXXX&quot;, &amp;filename, &amp;error);
-    close(fd);
-
-    if (error)
-        g_critical(&quot;Failed to open a temporary file for writing: %s.&quot;, error-&gt;message);
-
-    if (g_unlink(filename) == -1)
-        g_critical(&quot;Failed to delete the temporary file: %s.&quot;, g_strerror(errno));
-
-    theDownload = NULL;
-    temporaryFilename = filename;
-
-    loop = g_main_loop_new(NULL, TRUE);
-    webkit_web_view_load_uri(webView, &quot;http://gnome.org/&quot;);
-    g_main_loop_run(loop);
-
-    g_assert_cmpint(beenThere, ==, TRUE);
-
-    g_assert_cmpint(g_file_test(temporaryFilename, G_FILE_TEST_IS_REGULAR), ==, TRUE);
-
-    g_unlink(temporaryFilename);
-    g_free(temporaryFilename);
-    temporaryFilename = NULL;
-
-    g_main_loop_unref(loop);
-    g_object_unref(webView);
-}
-
-static void
-test_webkit_download_synch(void)
-{
-    test_webkit_download_perform(FALSE);
-}
-
-static void
-test_webkit_download_asynch(void)
-{
-    test_webkit_download_perform(TRUE);
-}
-
-static gboolean mime_type_policy_decision_requested_cb(WebKitWebView* view, WebKitWebFrame* frame,
-                                                       WebKitNetworkRequest* request, const char* mime_type,
-                                                       WebKitWebPolicyDecision* decision, gpointer data)
-{
-    webkit_web_policy_decision_download(decision);
-    return TRUE;
-}
-
-static void idle_quit_loop_cb(WebKitWebView* web_view, GParamSpec* pspec, gpointer data)
-{
-    if (webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FINISHED ||
-        webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FAILED)
-        g_main_loop_quit(loop);
-}
-
-static void
-test_webkit_download_data(void)
-{
-    gboolean beenThere = FALSE;
-    WebKitWebView* webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-
-    g_signal_connect(webView, &quot;download-requested&quot;,
-                     G_CALLBACK(download_requested_cb),
-                     &amp;beenThere);
-
-    g_signal_connect(webView, &quot;notify::load-status&quot;,
-                     G_CALLBACK(idle_quit_loop_cb),
-                     NULL);
-
-    g_signal_connect(webView, &quot;mime-type-policy-decision-requested&quot;,
-                     G_CALLBACK(mime_type_policy_decision_requested_cb),
-                     NULL);
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    /* We're testing for a crash, so just not crashing is a pass */
-    webkit_web_view_load_uri(webView, &quot;data:application/octect-stream,&quot;);
-    g_main_loop_run(loop);
-
-    g_assert_cmpint(beenThere, ==, TRUE);
-
-    g_main_loop_unref(loop);
-    g_object_unref(webView);
-}
-
-static void notifyDownloadStatusCallback(GObject *object, GParamSpec *pspec, gpointer data)
-{
-    WebKitDownload *download = WEBKIT_DOWNLOAD(object);
-    WebKitNetworkResponse *response = webkit_download_get_network_response(download);
-    SoupMessage *message = webkit_network_response_get_message(response);
-
-    switch (webkit_download_get_status(download)) {
-    case WEBKIT_DOWNLOAD_STATUS_ERROR:
-        g_assert_cmpint(message-&gt;status_code, ==, 404);
-        g_main_loop_quit(loop);
-        break;
-    case WEBKIT_DOWNLOAD_STATUS_FINISHED:
-    case WEBKIT_DOWNLOAD_STATUS_CANCELLED:
-        g_assert_not_reached();
-        break;
-    default:
-        break;
-    }
-}
-
-static void serverCallback(SoupServer *server, SoupMessage *message, const char *path, GHashTable *query, SoupClientContext *context, gpointer userData)
-{
-    if (message-&gt;method != SOUP_METHOD_GET) {
-        soup_message_set_status(message, SOUP_STATUS_NOT_IMPLEMENTED);
-        return;
-    }
-
-    soup_message_set_status(message, SOUP_STATUS_NOT_FOUND);
-    soup_message_body_complete(message-&gt;response_body);
-}
-
-static void test_webkit_download_not_found(void)
-{
-    SoupServer *server = soup_server_new(SOUP_SERVER_PORT, 0, NULL);
-    soup_server_run_async(server);
-    soup_server_add_handler(server, NULL, serverCallback, NULL, NULL);
-    SoupURI *baseURI = soup_uri_new(&quot;http://127.0.0.1/&quot;);
-    soup_uri_set_port(baseURI, soup_server_get_port(server));
-
-    SoupURI *uri = soup_uri_new_with_base(baseURI, &quot;/foo&quot;);
-    char *uriString = soup_uri_to_string(uri, FALSE);
-    soup_uri_free(uri);
-
-    loop = g_main_loop_new(NULL, TRUE);
-    WebKitNetworkRequest *request = webkit_network_request_new(uriString);
-    g_free (uriString);
-    WebKitDownload *download = webkit_download_new(request);
-    g_object_unref(request);
-
-    webkit_download_set_destination_uri(download, &quot;file:///tmp/foo&quot;);
-    g_signal_connect(download, &quot;notify::status&quot;, G_CALLBACK(notifyDownloadStatusCallback), NULL);
-
-    webkit_download_start(download);
-    g_main_loop_run(loop);
-
-    g_object_unref(download);
-    g_main_loop_unref(loop);
-    soup_uri_free(baseURI);
-    g_object_unref(server);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/download/create&quot;, test_webkit_download_create);
-    g_test_add_func(&quot;/webkit/download/synch&quot;, test_webkit_download_synch);
-    g_test_add_func(&quot;/webkit/download/asynch&quot;, test_webkit_download_asynch);
-    g_test_add_func(&quot;/webkit/download/data&quot;, test_webkit_download_data);
-    g_test_add_func(&quot;/webkit/download/not-found&quot;, test_webkit_download_not_found);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestfavicondatabasec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testfavicondatabase.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,276 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &quot;test_utils.h&quot;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;string.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-const int gIconSize = 16;
-
-GMainLoop *loop;
-char *baseURI;
-
-static void
-serverCallback(SoupServer *server, SoupMessage *message, const char *path, GHashTable *query, SoupClientContext *context, void *data)
-{
-    if (message-&gt;method != SOUP_METHOD_GET) {
-        soup_message_set_status(message, SOUP_STATUS_NOT_IMPLEMENTED);
-        return;
-    }
-
-    soup_message_set_status(message, SOUP_STATUS_OK);
-
-    char *contents;
-    gsize length;
-    if (g_str_equal(path, &quot;/favicon.ico&quot;)) {
-        GError *error = NULL;
-
-        g_file_get_contents(&quot;blank.ico&quot;, &amp;contents, &amp;length, &amp;error);
-        g_assert(!error);
-    } else {
-        contents = g_strdup(&quot;&lt;html&gt;&lt;body&gt;test&lt;/body&gt;&lt;/html&gt;&quot;);
-        length = strlen(contents);
-    }
-
-    soup_message_body_append(message-&gt;response_body, SOUP_MEMORY_TAKE, contents, length);
-    soup_message_body_complete(message-&gt;response_body);
-}
-
-static void deleteDatabaseFileIfExists(const char *databasePath)
-{
-    if (!g_file_test(databasePath, G_FILE_TEST_IS_DIR))
-        return;
-
-    char *databaseFilename = g_build_filename(databasePath, &quot;WebpageIcons.db&quot;, NULL);
-    if (g_unlink(databaseFilename) == -1) {
-        g_free(databaseFilename);
-        return;
-    }
-
-    g_free(databaseFilename);
-    g_rmdir(databasePath);
-}
-
-static void testWebKitFaviconDatabaseSetPath()
-{
-    char *databasePath = g_build_filename(g_get_tmp_dir(), &quot;webkit-testfavicondatabase&quot;, NULL);
-    deleteDatabaseFileIfExists(databasePath);
-
-    WebKitFaviconDatabase *database = webkit_get_favicon_database();
-    webkit_favicon_database_set_path(database, databasePath);
-
-    g_assert_cmpstr(databasePath, ==, webkit_favicon_database_get_path(database));
-
-    g_free(databasePath);
-}
-
-// See the comment in main() function that goes with this same guard.
-#ifdef NDEBUG
-
-static void faviconDatabaseGetValidFaviconCallback(GObject *sourceObject, GAsyncResult *result, void *userData)
-{
-    gboolean *beenHere = (gboolean*)userData;
-    GError *error = NULL;
-    GdkPixbuf *icon = webkit_favicon_database_get_favicon_pixbuf_finish(WEBKIT_FAVICON_DATABASE(sourceObject), result, &amp;error);
-    g_assert(icon);
-    g_object_unref(icon);
-
-    *beenHere = TRUE;
-
-    g_main_loop_quit(loop);
-}
-
-static void faviconDatabaseGetInvalidFaviconCallback(GObject *sourceObject, GAsyncResult *result, void *userData)
-{
-    gboolean *beenHere = (gboolean*)userData;
-    GError *error = NULL;
-    GdkPixbuf *icon = webkit_favicon_database_get_favicon_pixbuf_finish(WEBKIT_FAVICON_DATABASE(sourceObject), result, &amp;error);
-    g_assert(!icon);
-
-    *beenHere = TRUE;
-
-    g_main_loop_quit(loop);
-}
-
-static void faviconDatabaseGetFaviconCancelledCallback(GObject *sourceObject, GAsyncResult *result, void *userData)
-{
-    gboolean *beenHere = (gboolean*)userData;
-    GError *error = NULL;
-    GdkPixbuf *icon = webkit_favicon_database_get_favicon_pixbuf_finish(WEBKIT_FAVICON_DATABASE(sourceObject), result, &amp;error);
-    g_assert(!icon);
-    g_assert(error &amp;&amp; g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED));
-
-    *beenHere = TRUE;
-
-    g_main_loop_quit(loop);
-}
-
-static inline void quitMainLoopIfLoadCompleted(gboolean *iconOrPageLoaded)
-{
-    if (*iconOrPageLoaded)
-        g_main_loop_quit(loop);
-    else
-        *iconOrPageLoaded = TRUE;
-}
-
-static void idleQuitLoopCallback(WebKitWebView *webView, GParamSpec *paramSpec, gboolean *iconOrPageLoaded)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-
-    if (status == WEBKIT_LOAD_FINISHED || status == WEBKIT_LOAD_FAILED)
-        quitMainLoopIfLoadCompleted(iconOrPageLoaded);
-}
-
-static void webkitWebViewIconLoaded(WebKitFaviconDatabase *database, const char *frameURI, gboolean *iconOrPageLoaded)
-{
-    quitMainLoopIfLoadCompleted(iconOrPageLoaded);
-}
-
-static void loadURI(const char *uri)
-{
-    WebKitWebView *view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    gboolean iconOrPageLoaded = FALSE;
-
-    webkit_web_view_load_uri(view, uri);
-
-    g_signal_connect(view, &quot;notify::load-status&quot;, G_CALLBACK(idleQuitLoopCallback), &amp;iconOrPageLoaded);
-    g_signal_connect(view, &quot;icon-loaded&quot;, G_CALLBACK(webkitWebViewIconLoaded), &amp;iconOrPageLoaded);
-
-    g_main_loop_run(loop);
-
-    g_signal_handlers_disconnect_matched(view, G_SIGNAL_MATCH_DATA, 0, 0, 0, 0, &amp;iconOrPageLoaded);
-}
-
-static gboolean faviconDatabaseGetValidFaviconIdle(void *userData)
-{
-    webkit_favicon_database_get_favicon_pixbuf(webkit_get_favicon_database(), baseURI,
-                                               gIconSize, gIconSize, NULL,
-                                               faviconDatabaseGetValidFaviconCallback, userData);
-    return FALSE;
-}
-
-static gboolean faviconDatabaseGetInvalidFaviconIdle(void *userData)
-{
-    webkit_favicon_database_get_favicon_pixbuf(webkit_get_favicon_database(), &quot;http://www.webkitgtk.org/&quot;,
-                                               gIconSize, gIconSize, NULL,
-                                               faviconDatabaseGetInvalidFaviconCallback, userData);
-    return FALSE;
-}
-
-static gboolean faviconDatabaseGetFaviconCancelledIdle(void *userData)
-{
-    GCancellable *cancellable = g_cancellable_new();
-    webkit_favicon_database_get_favicon_pixbuf(webkit_get_favicon_database(), baseURI,
-                                               gIconSize, gIconSize, cancellable,
-                                               faviconDatabaseGetFaviconCancelledCallback, userData);
-    g_cancellable_cancel(cancellable);
-    g_object_unref(cancellable);
-    return FALSE;
-}
-
-static void testWebKitFaviconDatabaseGetFavicon()
-{
-    gboolean beenToIconCallback;
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    /* Load uri to make sure favicon is added to database. */
-    loadURI(baseURI);
-
-    beenToIconCallback = FALSE;
-    g_idle_add((GSourceFunc)faviconDatabaseGetValidFaviconIdle, &amp;beenToIconCallback);
-    g_main_loop_run(loop);
-    g_assert(beenToIconCallback);
-
-    beenToIconCallback = FALSE;
-    g_idle_add((GSourceFunc)faviconDatabaseGetInvalidFaviconIdle, &amp;beenToIconCallback);
-    g_main_loop_run(loop);
-    g_assert(beenToIconCallback);
-
-    beenToIconCallback = FALSE;
-    g_idle_add((GSourceFunc)faviconDatabaseGetFaviconCancelledIdle, &amp;beenToIconCallback);
-    g_main_loop_run(loop);
-    g_assert(beenToIconCallback);
-}
-
-static void testWebKitFaviconDatabaseGetFaviconURI()
-{
-    char *iconURI = webkit_favicon_database_get_favicon_uri(webkit_get_favicon_database(), baseURI);
-    char *expectedURI = g_strdup_printf(&quot;%sfavicon.ico&quot;, baseURI);
-    g_assert_cmpstr(iconURI, ==, expectedURI);
-    g_free(expectedURI);
-    g_free(iconURI);
-}
-
-#endif
-
-static void testWebKitFaviconDatabaseRemoveAll(void)
-{
-    WebKitFaviconDatabase *database = webkit_get_favicon_database();
-    webkit_favicon_database_clear(database);
-    char *iconURI = webkit_favicon_database_get_favicon_uri(database, baseURI);
-    g_assert(!iconURI);
-    g_free(iconURI);
-}
-
-static void testWebKitFaviconDatabaseCloseDatabase(void)
-{
-    WebKitFaviconDatabase *database = webkit_get_favicon_database();
-    char *databasePath = g_strdup(webkit_favicon_database_get_path(database));
-    webkit_favicon_database_set_path(database, 0);
-    deleteDatabaseFileIfExists(databasePath);
-    g_free(databasePath);
-}
-
-int main(int argc, char **argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    /* This hopefully makes the test independent of the path it's called from. */
-    testutils_relative_chdir(&quot;Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html&quot;, argv[0]);
-
-    SoupServer *server = soup_server_new(SOUP_SERVER_PORT, 0, NULL);
-    soup_server_run_async(server);
-
-    soup_server_add_handler(server, NULL, serverCallback, NULL, NULL);
-
-    SoupURI *soupURI = soup_uri_new(&quot;http://127.0.0.1/&quot;);
-    soup_uri_set_port(soupURI, soup_server_get_port(server));
-
-    baseURI = soup_uri_to_string(soupURI, FALSE);
-    soup_uri_free(soupURI);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/favicondatabase/set-path&quot;, testWebKitFaviconDatabaseSetPath);
-
-    // These two tests will trigger an ASSERTION on debug builds due
-    // to http://webkit.org/b/67582. Remove the guards once the bug is fixed.
-#ifdef NDEBUG
-    g_test_add_func(&quot;/webkit/favicondatabase/get-favicon&quot;, testWebKitFaviconDatabaseGetFavicon);
-    g_test_add_func(&quot;/webkit/favicondatabase/get-favicon-uri&quot;, testWebKitFaviconDatabaseGetFaviconURI);
-#endif
-
-    g_test_add_func(&quot;/webkit/favicondatabase/remove-all&quot;, testWebKitFaviconDatabaseRemoveAll);
-    g_test_add_func(&quot;/webkit/favicondatabase/close-db&quot;, testWebKitFaviconDatabaseCloseDatabase);
-
-    return g_test_run();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestglobalsc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testglobals.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testglobals.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testglobals.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,110 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Collabora Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;libsoup/soup.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-// Make sure the session is initialized properly when webkit_get_default_session() is called.
-static void test_globals_default_session()
-{
-    g_test_bug(&quot;36754&quot;);
-
-    SoupSession* session = webkit_get_default_session();
-    soup_session_remove_feature_by_type(session, WEBKIT_TYPE_SOUP_AUTH_DIALOG);
-
-    // This makes sure our initialization ran.
-    g_assert(soup_session_get_feature(session, SOUP_TYPE_CONTENT_DECODER) != NULL);
-
-    // Creating a WebView should make sure the session is
-    // initialized, and not mess with our changes.
-    WebKitWebView* web_view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(web_view);
-    g_object_unref(web_view);
-
-    // These makes sure our modification was kept.
-    g_assert(soup_session_get_feature(session, SOUP_TYPE_CONTENT_DECODER) != NULL);
-    g_assert(soup_session_get_feature(session, WEBKIT_TYPE_SOUP_AUTH_DIALOG) == NULL);
-}
-
-static void test_globals_security_policy()
-{
-    // Check default policy for well known schemes.
-    WebKitSecurityPolicy policy = webkit_get_security_policy_for_uri_scheme(&quot;http&quot;);
-    guint mask = WEBKIT_SECURITY_POLICY_CORS_ENABLED;
-    g_assert_cmpuint(policy &amp; mask, ==, mask);
-
-    policy = webkit_get_security_policy_for_uri_scheme(&quot;https&quot;);
-    mask = WEBKIT_SECURITY_POLICY_SECURE | WEBKIT_SECURITY_POLICY_CORS_ENABLED;
-    g_assert_cmpuint(policy &amp; mask, ==, mask);
-
-    policy = webkit_get_security_policy_for_uri_scheme(&quot;file&quot;);
-    mask = WEBKIT_SECURITY_POLICY_LOCAL;
-    g_assert_cmpuint(policy &amp; mask, ==, mask);
-
-    policy = webkit_get_security_policy_for_uri_scheme(&quot;data&quot;);
-    mask = WEBKIT_SECURITY_POLICY_NO_ACCESS_TO_OTHER_SCHEME | WEBKIT_SECURITY_POLICY_SECURE;
-    g_assert_cmpuint(policy &amp; mask, ==, mask);
-
-    policy = webkit_get_security_policy_for_uri_scheme(&quot;about&quot;);
-    mask = WEBKIT_SECURITY_POLICY_NO_ACCESS_TO_OTHER_SCHEME | WEBKIT_SECURITY_POLICY_SECURE | WEBKIT_SECURITY_POLICY_EMPTY_DOCUMENT;
-    g_assert_cmpuint(policy &amp; mask, ==, mask);
-
-    // Custom scheme.
-    policy = webkit_get_security_policy_for_uri_scheme(&quot;foo&quot;);
-    g_assert(!policy);
-
-    policy |= WEBKIT_SECURITY_POLICY_LOCAL;
-    webkit_set_security_policy_for_uri_scheme(&quot;foo&quot;, policy);
-    g_assert_cmpuint(webkit_get_security_policy_for_uri_scheme(&quot;foo&quot;), ==, policy);
-
-    policy |= WEBKIT_SECURITY_POLICY_NO_ACCESS_TO_OTHER_SCHEME;
-    webkit_set_security_policy_for_uri_scheme(&quot;foo&quot;, policy);
-    g_assert_cmpuint(webkit_get_security_policy_for_uri_scheme(&quot;foo&quot;), ==, policy);
-
-    policy |= WEBKIT_SECURITY_POLICY_DISPLAY_ISOLATED;
-    webkit_set_security_policy_for_uri_scheme(&quot;foo&quot;, policy);
-    g_assert_cmpuint(webkit_get_security_policy_for_uri_scheme(&quot;foo&quot;), ==, policy);
-
-    policy |= WEBKIT_SECURITY_POLICY_SECURE;
-    webkit_set_security_policy_for_uri_scheme(&quot;foo&quot;, policy);
-    g_assert_cmpuint(webkit_get_security_policy_for_uri_scheme(&quot;foo&quot;), ==, policy);
-
-    policy |= WEBKIT_SECURITY_POLICY_CORS_ENABLED;
-    webkit_set_security_policy_for_uri_scheme(&quot;foo&quot;, policy);
-    g_assert_cmpuint(webkit_get_security_policy_for_uri_scheme(&quot;foo&quot;), ==, policy);
-
-    policy |= WEBKIT_SECURITY_POLICY_EMPTY_DOCUMENT;
-    webkit_set_security_policy_for_uri_scheme(&quot;foo&quot;, policy);
-    g_assert_cmpuint(webkit_get_security_policy_for_uri_scheme(&quot;foo&quot;), ==, policy);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/globals/default_session&quot;,
-                    test_globals_default_session);
-    g_test_add_func(&quot;/webkit/globals/security-policy&quot;,
-                    test_globals_security_policy);
-    return g_test_run();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktesthittestresultc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhittestresult.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,169 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2,1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-typedef struct {
-  char* data;
-  guint flag;
-} TestInfo;
-
-static GMainLoop* loop;
-
-typedef struct {
-    WebKitWebView* webView;
-    TestInfo* info;
-} HitTestResultFixture;
-
-TestInfo*
-test_info_new(const char* data, guint flag)
-{
-    TestInfo* info;
-
-    info = g_slice_new(TestInfo);
-    info-&gt;data = g_strdup(data);
-    info-&gt;flag = flag;
-
-    return info;
-}
-
-void
-test_info_destroy(TestInfo* info)
-{
-    g_free(info-&gt;data);
-    g_slice_free(TestInfo, info);
-}
-
-static void hit_test_result_fixture_setup(HitTestResultFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(fixture-&gt;webView);
-    loop = g_main_loop_new(NULL, TRUE);
-    fixture-&gt;info = (TestInfo*)data;
-}
-
-static void hit_test_result_fixture_teardown(HitTestResultFixture* fixture, gconstpointer data)
-{
-    g_object_unref(fixture-&gt;webView);
-    g_main_loop_unref(loop);
-    test_info_destroy(fixture-&gt;info);
-}
-
-static void
-load_status_cb(WebKitWebView* webView,
-               GParamSpec* spec,
-               gpointer data)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    TestInfo* info = (TestInfo*)data;
-
-    if (status == WEBKIT_LOAD_FINISHED) {
-        WebKitHitTestResult* result;
-        guint context;
-        GdkEvent* event = gdk_event_new(GDK_BUTTON_PRESS);
-        WebKitDOMNode* node;
-        gint x, y;
-
-        /* Close enough to 0,0 */
-        event-&gt;button.x = 5;
-        event-&gt;button.y = 5;
-
-        result = webkit_web_view_get_hit_test_result(webView, (GdkEventButton*) event);
-        gdk_event_free(event);
-        g_assert(result);
-
-        g_object_get(result, &quot;context&quot;, &amp;context, NULL);
-        g_assert(context &amp; info-&gt;flag);
-
-        g_object_get(result, &quot;inner-node&quot;, &amp;node, NULL);
-        g_assert(node);
-        g_assert(WEBKIT_DOM_IS_NODE(node));
-
-        g_object_get(result, &quot;x&quot;, &amp;x, &quot;y&quot;, &amp;y, NULL);
-        g_assert_cmpint(x, ==, 5);
-        g_assert_cmpint(y, ==, 5);
-
-        /* We can only test these node types at the moment. In the
-         * input case there seems to be an extra layer with a DIV on
-         * top of the input, which gets assigned to the inner-node.
-         * tag */
-        if (info-&gt;flag == WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT)
-            g_assert(WEBKIT_DOM_IS_HTML_HTML_ELEMENT(node));
-        else if (info-&gt;flag == WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE)
-            g_assert(WEBKIT_DOM_IS_HTML_IMAGE_ELEMENT(node));
-        else if (info-&gt;flag == WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK) {
-            /* The hit test will give us the inner text node, we want
-             * the A tag */
-            WebKitDOMNode* parent = webkit_dom_node_get_parent_node(node);
-            g_assert(WEBKIT_DOM_IS_HTML_ANCHOR_ELEMENT(parent));
-        }
-
-        g_object_unref(result);
-        g_main_loop_quit(loop);
-    }
-}
-
-static void
-test_webkit_hit_test_result(HitTestResultFixture* fixture, gconstpointer data)
-{
-    TestInfo* info = (TestInfo*)data;
-    GtkAllocation allocation = { 0, 0, 50, 50 };
-
-    webkit_web_view_load_string(fixture-&gt;webView,
-                                info-&gt;data,
-                                &quot;text/html&quot;,
-                                &quot;utf-8&quot;,
-                                &quot;file://&quot;);
-    gtk_widget_size_allocate(GTK_WIDGET(fixture-&gt;webView), &amp;allocation);
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;, G_CALLBACK(load_status_cb), info);
-    g_main_loop_run(loop);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-
-    g_test_add(&quot;/webkit/hittestresult/document&quot;, HitTestResultFixture, 
-               test_info_new(&quot;&lt;html&gt;&lt;body&gt;&lt;h1&gt;WebKitGTK+!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                             WEBKIT_HIT_TEST_RESULT_CONTEXT_DOCUMENT),
-               hit_test_result_fixture_setup, test_webkit_hit_test_result, hit_test_result_fixture_teardown);
-    /* We hardcode all elements to be at 0,0 so that we know where to
-     * generate the button events */
-    g_test_add(&quot;/webkit/hittestresult/image&quot;, HitTestResultFixture,
-               test_info_new(&quot;&lt;html&gt;&lt;body&gt;&lt;img style='position:absolute; left:0; top:0'src='0xdeadbeef' width=50 height=50&gt;&lt;/img&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                             WEBKIT_HIT_TEST_RESULT_CONTEXT_IMAGE),
-               hit_test_result_fixture_setup, test_webkit_hit_test_result, hit_test_result_fixture_teardown);
-    g_test_add(&quot;/webkit/hittestresult/editable&quot;, HitTestResultFixture,
-               test_info_new(&quot;&lt;html&gt;&lt;body&gt;&lt;input style='position:absolute; left:0; top:0' size='35'&gt;&lt;/input&gt;&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                             WEBKIT_HIT_TEST_RESULT_CONTEXT_EDITABLE),
-               hit_test_result_fixture_setup, test_webkit_hit_test_result, hit_test_result_fixture_teardown);
-    g_test_add(&quot;/webkit/hittestresult/link&quot;, HitTestResultFixture,
-               test_info_new(&quot;&lt;html&gt;&lt;body&gt;&lt;a style='position:absolute; left:0; top:0' href='http://www.example.com'&gt;HELLO WORLD&lt;/a&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                             WEBKIT_HIT_TEST_RESULT_CONTEXT_LINK),
-               hit_test_result_fixture_setup, test_webkit_hit_test_result, hit_test_result_fixture_teardown);
-               
-    return g_test_run ();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktesthttpbackendc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testhttpbackend.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,75 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Gustavo Noronha Silva
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-// Not yet public API
-SoupMessage* webkit_network_request_get_message(WebKitNetworkRequest* request);
-
-static gboolean navigation_policy_decision_requested_cb(WebKitWebView* web_view,
-                                                        WebKitWebFrame* web_frame,
-                                                        WebKitNetworkRequest* request,
-                                                        WebKitWebNavigationAction* action,
-                                                        WebKitWebPolicyDecision* decision,
-                                                        gpointer data)
-{
-    SoupMessage* message = webkit_network_request_get_message(request);
-
-    /* 1 -&gt; webkit_network_request_with_core_request
-     *
-     * The SoupMessage is created exclusively for the emission of this
-     * signal.
-     */
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 1);
-
-    return FALSE;
-}
-
-static void test_soup_message_lifetime()
-{
-    WebKitWebView* web_view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-
-    g_object_ref_sink(web_view);
-
-    g_signal_connect(web_view, &quot;navigation-policy-decision-requested&quot;,
-                     G_CALLBACK(navigation_policy_decision_requested_cb),
-                     NULL);
-
-    /* load_uri will trigger the navigation-policy-decision-requested
-     * signal emission;
-     */
-    webkit_web_view_load_uri(web_view, &quot;http://127.0.0.1/&quot;);
-
-    g_object_unref(web_view);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/soupmessage/lifetime&quot;, test_soup_message_lifetime);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestkeyeventsc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testkeyevents.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,390 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009, 2010 Martin Robinson &lt;mrobinson@webkit.org&gt;
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2,1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;string.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;webkit/webkit.h&gt;
-#include &lt;JavaScriptCore/JSStringRef.h&gt;
-#include &lt;JavaScriptCore/JSContextRef.h&gt;
-
-typedef struct {
-    char* page;
-    char* text;
-    gboolean shouldBeHandled;
-} TestInfo;
-
-typedef struct {
-    GtkWidget* window;
-    WebKitWebView* webView;
-    GMainLoop* loop;
-    TestInfo* info;
-} KeyEventFixture;
-
-TestInfo*
-test_info_new(const char* page, gboolean shouldBeHandled)
-{
-    TestInfo* info;
-
-    info = g_slice_new(TestInfo);
-    info-&gt;page = g_strdup(page);
-    info-&gt;shouldBeHandled = shouldBeHandled;
-    info-&gt;text = 0;
-
-    return info;
-}
-
-void
-test_info_destroy(TestInfo* info)
-{
-    g_free(info-&gt;page);
-    g_free(info-&gt;text);
-    g_slice_free(TestInfo, info);
-}
-
-static void key_event_fixture_setup(KeyEventFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;loop = g_main_loop_new(NULL, TRUE);
-
-    fixture-&gt;window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    fixture-&gt;webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-
-    gtk_container_add(GTK_CONTAINER(fixture-&gt;window), GTK_WIDGET(fixture-&gt;webView));
-}
-
-static void key_event_fixture_teardown(KeyEventFixture* fixture, gconstpointer data)
-{
-    gtk_widget_destroy(fixture-&gt;window);
-    g_main_loop_unref(fixture-&gt;loop);
-    test_info_destroy(fixture-&gt;info);
-}
-
-static gboolean key_press_event_cb(WebKitWebView* webView, GdkEvent* event, gpointer data)
-{
-    KeyEventFixture* fixture = (KeyEventFixture*)data;
-    gboolean handled = GTK_WIDGET_GET_CLASS(fixture-&gt;webView)-&gt;key_press_event(GTK_WIDGET(fixture-&gt;webView), &amp;event-&gt;key);
-    g_assert_cmpint(handled, ==, fixture-&gt;info-&gt;shouldBeHandled);
-
-    return FALSE;
-}
-
-static gboolean key_release_event_cb(WebKitWebView* webView, GdkEvent* event, gpointer data)
-{
-    // WebCore never seems to mark keyup events as handled.
-    KeyEventFixture* fixture = (KeyEventFixture*)data;
-    gboolean handled = GTK_WIDGET_GET_CLASS(fixture-&gt;webView)-&gt;key_press_event(GTK_WIDGET(fixture-&gt;webView), &amp;event-&gt;key);
-    g_assert(!handled);
-
-    g_main_loop_quit(fixture-&gt;loop);
-
-    return FALSE;
-}
-
-static void test_keypress_events_load_status_cb(WebKitWebView* webView, GParamSpec* spec, gpointer data)
-{
-    KeyEventFixture* fixture = (KeyEventFixture*)data;
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    if (status == WEBKIT_LOAD_FINISHED) {
-        g_signal_connect(fixture-&gt;webView, &quot;key-press-event&quot;,
-                         G_CALLBACK(key_press_event_cb), fixture);
-        g_signal_connect(fixture-&gt;webView, &quot;key-release-event&quot;,
-                         G_CALLBACK(key_release_event_cb), fixture);
-        if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                                      gdk_unicode_to_keyval('a'), 0))
-            g_assert_not_reached();
-    }
-
-}
-
-gboolean map_event_cb(GtkWidget *widget, GdkEvent* event, gpointer data)
-{
-    KeyEventFixture* fixture = (KeyEventFixture*)data;
-    webkit_web_view_load_string(fixture-&gt;webView, fixture-&gt;info-&gt;page,
-                                &quot;text/html&quot;, &quot;utf-8&quot;, &quot;file://&quot;);
-    return FALSE;
-}
-
-static void setup_keyevent_test(KeyEventFixture* fixture, gconstpointer data, GCallback load_event_callback)
-{
-    fixture-&gt;info = (TestInfo*)data;
-    g_signal_connect(fixture-&gt;window, &quot;map-event&quot;,
-                     G_CALLBACK(map_event_cb), fixture);
-
-    gtk_widget_grab_focus(GTK_WIDGET(fixture-&gt;webView));
-    gtk_widget_show(fixture-&gt;window);
-    gtk_widget_show(GTK_WIDGET(fixture-&gt;webView));
-    gtk_window_present(GTK_WINDOW(fixture-&gt;window));
-
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;,
-                     load_event_callback, fixture);
-
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-static void test_keypress_events(KeyEventFixture* fixture, gconstpointer data)
-{
-    setup_keyevent_test(fixture, data, G_CALLBACK(test_keypress_events_load_status_cb));
-}
-
-static gboolean element_text_equal_to(JSContextRef context, const gchar* text)
-{
-    JSStringRef scriptString = JSStringCreateWithUTF8CString(
-      &quot;window.document.getElementById(\&quot;in\&quot;).value;&quot;);
-    JSValueRef value = JSEvaluateScript(context, scriptString, 0, 0, 0, 0);
-    JSStringRelease(scriptString);
-
-    // If the value isn't a string, the element is probably a div
-    // so grab the innerText instead.
-    if (!JSValueIsString(context, value)) {
-        JSStringRef scriptString = JSStringCreateWithUTF8CString(
-          &quot;window.document.getElementById(\&quot;in\&quot;).innerText;&quot;);
-        value = JSEvaluateScript(context, scriptString, 0, 0, 0, 0);
-        JSStringRelease(scriptString);
-    }
-
-    g_assert(JSValueIsString(context, value));
-    JSStringRef inputString = JSValueToStringCopy(context, value, 0);
-    g_assert(inputString);
-
-    gint size = JSStringGetMaximumUTF8CStringSize(inputString);
-    gchar* cString = g_malloc(size);
-    JSStringGetUTF8CString(inputString, cString, size);
-    JSStringRelease(inputString);
-
-    gboolean result = g_utf8_collate(cString, text) == 0;
-    g_free(cString);
-    return result;
-}
-
-static void test_ime_load_status_cb(WebKitWebView* webView, GParamSpec* spec, gpointer data)
-{
-    KeyEventFixture* fixture = (KeyEventFixture*)data;
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    if (status != WEBKIT_LOAD_FINISHED)
-        return;
-
-    JSGlobalContextRef context = webkit_web_frame_get_global_context(
-        webkit_web_view_get_main_frame(webView));
-    g_assert(context);
-
-    GtkIMContext* imContext = 0;
-    g_object_get(webView, &quot;im-context&quot;, &amp;imContext, NULL);
-    g_assert(imContext);
-
-    // Test that commits that happen outside of key events
-    // change the text field immediately. This closely replicates
-    // the behavior of SCIM.
-    g_assert(element_text_equal_to(context, &quot;&quot;));
-    g_signal_emit_by_name(imContext, &quot;commit&quot;, &quot;a&quot;);
-    g_assert(element_text_equal_to(context, &quot;a&quot;));
-    g_signal_emit_by_name(imContext, &quot;commit&quot;, &quot;b&quot;);
-    g_assert(element_text_equal_to(context, &quot;ab&quot;));
-    g_signal_emit_by_name(imContext, &quot;commit&quot;, &quot;c&quot;);
-    g_assert(element_text_equal_to(context, &quot;abc&quot;));
-
-    g_object_unref(imContext);
-    g_main_loop_quit(fixture-&gt;loop);
-}
-
-static void test_ime(KeyEventFixture* fixture, gconstpointer data)
-{
-    setup_keyevent_test(fixture, data, G_CALLBACK(test_ime_load_status_cb));
-}
-
-static gboolean verify_contents(gpointer data)
-{
-    KeyEventFixture* fixture = (KeyEventFixture*)data;
-    JSGlobalContextRef context = webkit_web_frame_get_global_context(
-        webkit_web_view_get_main_frame(fixture-&gt;webView));
-    g_assert(context);
-
-    g_assert(element_text_equal_to(context, fixture-&gt;info-&gt;text));
-    g_main_loop_quit(fixture-&gt;loop);
-    return FALSE;
-}
-
-static void test_blocking_load_status_cb(WebKitWebView* webView, GParamSpec* spec, gpointer data)
-{
-    KeyEventFixture* fixture = (KeyEventFixture*)data;
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    if (status != WEBKIT_LOAD_FINISHED)
-        return;
-
-    // The first keypress event should not modify the field.
-    fixture-&gt;info-&gt;text = g_strdup(&quot;bc&quot;);
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                                 gdk_unicode_to_keyval('a'), 0))
-        g_assert_not_reached();
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                                  gdk_unicode_to_keyval('b'), 0))
-        g_assert_not_reached();
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                                  gdk_unicode_to_keyval('c'), 0))
-        g_assert_not_reached();
-
-    g_idle_add(verify_contents, fixture);
-}
-
-static void test_blocking(KeyEventFixture* fixture, gconstpointer data)
-{
-    setup_keyevent_test(fixture, data, G_CALLBACK(test_blocking_load_status_cb));
-}
-
-#if defined(GDK_WINDOWING_X11)
-static void test_xim_load_status_cb(WebKitWebView* webView, GParamSpec* spec, gpointer data)
-{
-    KeyEventFixture* fixture = (KeyEventFixture*)data;
-    WebKitLoadStatus status = webkit_web_view_get_load_status(webView);
-    if (status != WEBKIT_LOAD_FINISHED)
-        return;
-
-    GtkIMContext* imContext = 0;
-    g_object_get(webView, &quot;im-context&quot;, &amp;imContext, NULL);
-    g_assert(imContext);
-
-    gchar* originalId = g_strdup(gtk_im_multicontext_get_context_id(GTK_IM_MULTICONTEXT(imContext)));
-    gtk_im_multicontext_set_context_id(GTK_IM_MULTICONTEXT(imContext), &quot;xim&quot;);
-
-    // Test that commits that happen outside of key events
-    // change the text field immediately. This closely replicates
-    // the behavior of SCIM.
-    fixture-&gt;info-&gt;text = g_strdup(&quot;debian&quot;);
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                                 gdk_unicode_to_keyval('d'), 0))
-        g_assert_not_reached();
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                             gdk_unicode_to_keyval('e'), 0))
-        g_assert_not_reached();
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                             gdk_unicode_to_keyval('b'), 0))
-        g_assert_not_reached();
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                             gdk_unicode_to_keyval('i'), 0))
-        g_assert_not_reached();
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                             gdk_unicode_to_keyval('a'), 0))
-        g_assert_not_reached();
-    if (!gtk_test_widget_send_key(GTK_WIDGET(fixture-&gt;webView),
-                             gdk_unicode_to_keyval('n'), 0))
-        g_assert_not_reached();
-
-    gtk_im_multicontext_set_context_id(GTK_IM_MULTICONTEXT(imContext), originalId);
-    g_free(originalId);
-    g_object_unref(imContext);
-
-    g_idle_add(verify_contents, fixture);
-}
-
-static void test_xim(KeyEventFixture* fixture, gconstpointer data)
-{
-    setup_keyevent_test(fixture, data, G_CALLBACK(test_xim_load_status_cb));
-}
-#endif
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-
-
-    // We'll test input on a slew of different node types. Key events to
-    // text inputs and editable divs should be marked as handled. Key events
-    // to buttons and links should not.
-    const char* textinput_html = &quot;&lt;html&gt;&lt;body&gt;&lt;input id=\&quot;in\&quot; type=\&quot;text\&quot;&gt;&quot;
-        &quot;&lt;script&gt;document.getElementById('in').focus();&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-    const char* button_html = &quot;&lt;html&gt;&lt;body&gt;&lt;input id=\&quot;in\&quot; type=\&quot;button\&quot;&gt;&quot;
-        &quot;&lt;script&gt;document.getElementById('in').focus();&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-    const char* link_html = &quot;&lt;html&gt;&lt;body&gt;&lt;a href=\&quot;http://www.gnome.org\&quot; id=\&quot;in\&quot;&gt;&quot;
-        &quot;LINKY MCLINKERSON&lt;/a&gt;&lt;script&gt;document.getElementById('in').focus();&lt;/script&gt;&quot;
-        &quot;&lt;/body&gt;&lt;/html&gt;&quot;;
-    const char* div_html = &quot;&lt;html&gt;&lt;body&gt;&lt;div id=\&quot;in\&quot; contenteditable=\&quot;true\&quot;&gt;&quot;
-        &quot;&lt;script&gt;document.getElementById('in').focus();&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-    // These are similar to the blocks above, but they should block the first
-    // keypress modifying the editable node.
-    const char* textinput_html_blocking = &quot;&lt;html&gt;&lt;body&gt;&quot;
-        &quot;&lt;input id=\&quot;in\&quot; type=\&quot;text\&quot; &quot;
-        &quot;onkeypress=\&quot;if (first) {event.preventDefault();first=false;}\&quot;&gt;&quot;
-        &quot;&lt;script&gt;first = true;\ndocument.getElementById('in').focus();&lt;/script&gt;\n&quot;
-        &quot;&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-    const char* div_html_blocking = &quot;&lt;html&gt;&lt;body&gt;&quot;
-        &quot;&lt;div id=\&quot;in\&quot; contenteditable=\&quot;true\&quot; &quot;
-        &quot;onkeypress=\&quot;if (first) {event.preventDefault();first=false;}\&quot;&gt;&quot;
-        &quot;&lt;script&gt;first = true; document.getElementById('in').focus();&lt;/script&gt;\n&quot;
-        &quot;&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-    g_test_add(&quot;/webkit/keyevents/event-textinput&quot;, KeyEventFixture,
-               test_info_new(textinput_html, TRUE),
-               key_event_fixture_setup,
-               test_keypress_events,
-               key_event_fixture_teardown);
-    g_test_add(&quot;/webkit/keyevents/event-buttons&quot;, KeyEventFixture,
-               test_info_new(button_html, FALSE),
-               key_event_fixture_setup,
-               test_keypress_events,
-               key_event_fixture_teardown);
-    g_test_add(&quot;/webkit/keyevents/event-link&quot;, KeyEventFixture,
-               test_info_new(link_html, FALSE),
-               key_event_fixture_setup,
-               test_keypress_events,
-               key_event_fixture_teardown);
-    g_test_add(&quot;/webkit/keyevent/event-div&quot;, KeyEventFixture,
-               test_info_new(div_html, TRUE),
-               key_event_fixture_setup,
-               test_keypress_events,
-               key_event_fixture_teardown);
-    g_test_add(&quot;/webkit/keyevent/ime-textinput&quot;, KeyEventFixture,
-               test_info_new(textinput_html, TRUE),
-               key_event_fixture_setup,
-               test_ime,
-               key_event_fixture_teardown);
-    g_test_add(&quot;/webkit/keyevent/ime-div&quot;, KeyEventFixture,
-               test_info_new(div_html, TRUE),
-               key_event_fixture_setup,
-               test_ime,
-               key_event_fixture_teardown);
-    g_test_add(&quot;/webkit/keyevent/block-textinput&quot;, KeyEventFixture,
-               test_info_new(textinput_html_blocking, TRUE),
-               key_event_fixture_setup,
-               test_blocking,
-               key_event_fixture_teardown);
-    g_test_add(&quot;/webkit/keyevent/block-div&quot;, KeyEventFixture,
-               test_info_new(div_html_blocking, TRUE),
-               key_event_fixture_setup,
-               test_blocking,
-               key_event_fixture_teardown);
-#if defined(GDK_WINDOWING_X11)
-    g_test_add(&quot;/webkit/keyevent/xim-textinput&quot;, KeyEventFixture,
-               test_info_new(textinput_html, TRUE),
-               key_event_fixture_setup,
-               test_xim,
-               key_event_fixture_teardown);
-    g_test_add(&quot;/webkit/keyevent/xim-div&quot;, KeyEventFixture,
-               test_info_new(div_html, TRUE),
-               key_event_fixture_setup,
-               test_xim,
-               key_event_fixture_teardown);
-#endif
-
-    return g_test_run();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestloadingc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testloading.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,435 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009, 2010 Gustavo Noronha Silva
- * Copyright (C) 2009 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;libsoup/soup.h&gt;
-#include &lt;string.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-/* This string has to be rather big because of the cancelled test - it
- * looks like soup refuses to send or receive a too small chunk */
-#define HTML_STRING &quot;&lt;html&gt;&lt;body&gt;Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!Testing!&lt;/body&gt;&lt;/html&gt;&quot;
-
-SoupURI* base_uri;
-
-/* For real request testing */
-static void
-server_callback(SoupServer* server, SoupMessage* msg,
-                const char* path, GHashTable* query,
-                SoupClientContext* context, gpointer data)
-{
-    if (msg-&gt;method != SOUP_METHOD_GET) {
-        soup_message_set_status(msg, SOUP_STATUS_NOT_IMPLEMENTED);
-        return;
-    }
-
-    soup_message_set_status(msg, SOUP_STATUS_OK);
-
-    if (g_str_equal(path, &quot;/test_loading_status&quot;) || g_str_equal(path, &quot;/test_loading_status2&quot;))
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_STATIC, HTML_STRING, strlen(HTML_STRING));
-    else if (g_str_equal(path, &quot;/test_load_error&quot;)) {
-        soup_message_set_status(msg, SOUP_STATUS_CANT_CONNECT);
-    } else if (g_str_equal(path, &quot;/test_loading_cancelled&quot;)) {
-        soup_message_headers_set_encoding(msg-&gt;response_headers, SOUP_ENCODING_CHUNKED);
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_STATIC, HTML_STRING, strlen(HTML_STRING));
-        soup_server_unpause_message(server, msg);
-        return;
-    }
-
-    soup_message_body_complete(msg-&gt;response_body);
-}
-
-typedef struct {
-    WebKitWebView* webView;
-    GMainLoop *loop;
-    gboolean has_been_provisional;
-    gboolean has_been_committed;
-    gboolean has_been_first_visually_non_empty_layout;
-    gboolean has_been_finished;
-    gboolean has_been_failed;
-    gboolean has_been_load_error;
-} WebLoadingFixture;
-
-static void web_loading_fixture_setup(WebLoadingFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    fixture-&gt;loop = g_main_loop_new(NULL, TRUE);
-    g_object_ref_sink(fixture-&gt;webView);
-    fixture-&gt;has_been_provisional = FALSE;
-    fixture-&gt;has_been_committed = FALSE;
-    fixture-&gt;has_been_first_visually_non_empty_layout = FALSE;
-    fixture-&gt;has_been_finished = FALSE;
-    fixture-&gt;has_been_failed = FALSE;
-    fixture-&gt;has_been_load_error = FALSE;
-}
-
-static void web_loading_fixture_teardown(WebLoadingFixture* fixture, gconstpointer data)
-{
-    g_object_unref(fixture-&gt;webView);
-    g_main_loop_unref(fixture-&gt;loop);
-}
-
-static char* get_uri_for_path(const char* path)
-{
-    SoupURI* uri;
-    char* uri_string;
-
-    uri = soup_uri_new_with_base(base_uri, path);
-    uri_string = soup_uri_to_string(uri, FALSE);
-    soup_uri_free (uri);
-
-    return uri_string;
-}
-
-static void load_finished_cb(WebKitWebView* web_view, WebKitWebFrame* web_frame, WebLoadingFixture* fixture)
-{
-    g_assert(fixture-&gt;has_been_provisional);
-    g_assert(fixture-&gt;has_been_committed);
-    g_assert(fixture-&gt;has_been_first_visually_non_empty_layout);
-
-    g_main_loop_quit(fixture-&gt;loop);
-}
-
-
-static void status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(WEBKIT_WEB_VIEW(object));
-
-    switch (status) {
-    case WEBKIT_LOAD_PROVISIONAL:
-        g_assert(!fixture-&gt;has_been_provisional);
-        g_assert(!fixture-&gt;has_been_committed);
-        g_assert(!fixture-&gt;has_been_first_visually_non_empty_layout);
-        fixture-&gt;has_been_provisional = TRUE;
-        break;
-    case WEBKIT_LOAD_COMMITTED:
-        g_assert(fixture-&gt;has_been_provisional);
-        g_assert(!fixture-&gt;has_been_committed);
-        g_assert(!fixture-&gt;has_been_first_visually_non_empty_layout);
-        fixture-&gt;has_been_committed = TRUE;
-        break;
-    case WEBKIT_LOAD_FIRST_VISUALLY_NON_EMPTY_LAYOUT:
-        g_assert(fixture-&gt;has_been_provisional);
-        g_assert(fixture-&gt;has_been_committed);
-        g_assert(!fixture-&gt;has_been_first_visually_non_empty_layout);
-        fixture-&gt;has_been_first_visually_non_empty_layout = TRUE;
-        break;
-    case WEBKIT_LOAD_FINISHED:
-        g_assert(fixture-&gt;has_been_provisional);
-        g_assert(fixture-&gt;has_been_committed);
-        g_assert(fixture-&gt;has_been_first_visually_non_empty_layout);
-        break;
-    default:
-        g_assert_not_reached();
-    }
-}
-
-static void test_loading_status(WebLoadingFixture* fixture, gconstpointer data)
-{
-    char* uri_string;
-
-    g_assert_cmpint(webkit_web_view_get_load_status(fixture-&gt;webView), ==, WEBKIT_LOAD_PROVISIONAL);
-
-    g_object_connect(G_OBJECT(fixture-&gt;webView),
-                     &quot;signal::notify::load-status&quot;, G_CALLBACK(status_changed_cb), fixture,
-                     &quot;signal::load-finished&quot;, G_CALLBACK(load_finished_cb), fixture,
-                     NULL);
-
-    uri_string = get_uri_for_path(&quot;/test_loading_status&quot;);
-
-    /* load_uri will trigger the navigation-policy-decision-requested
-     * signal emission;
-     */
-    webkit_web_view_load_uri(fixture-&gt;webView, uri_string);
-    g_free(uri_string);
-
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-static void load_error_status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(WEBKIT_WEB_VIEW(object));
-
-    switch(status) {
-    case WEBKIT_LOAD_PROVISIONAL:
-        g_assert(!fixture-&gt;has_been_provisional);
-        fixture-&gt;has_been_provisional = TRUE;
-        break;
-    case WEBKIT_LOAD_COMMITTED:
-        g_assert(!fixture-&gt;has_been_committed);
-        fixture-&gt;has_been_committed = TRUE;
-        break;
-    case WEBKIT_LOAD_FINISHED:
-        g_assert(fixture-&gt;has_been_provisional);
-        g_assert(fixture-&gt;has_been_load_error);
-        g_assert(fixture-&gt;has_been_failed);
-        g_assert(!fixture-&gt;has_been_finished);
-        fixture-&gt;has_been_finished = TRUE;
-        break;
-    case WEBKIT_LOAD_FAILED:
-        g_assert(!fixture-&gt;has_been_failed);
-        fixture-&gt;has_been_failed = TRUE;
-        g_main_loop_quit(fixture-&gt;loop);
-        break;
-    default:
-        break;
-    }
-}
-
-static gboolean load_error_cb(WebKitWebView* webView, WebKitWebFrame* frame, const char* uri, GError *error, WebLoadingFixture* fixture)
-{
-    g_assert(fixture-&gt;has_been_provisional);
-    g_assert(!fixture-&gt;has_been_load_error);
-    fixture-&gt;has_been_load_error = TRUE;
-
-    return FALSE;
-}
-
-static void test_loading_error(WebLoadingFixture* fixture, gconstpointer data)
-{
-    char* uri_string;
-
-    g_test_bug(&quot;28842&quot;);
-
-    g_signal_connect(fixture-&gt;webView, &quot;load-error&quot;, G_CALLBACK(load_error_cb), fixture);
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;, G_CALLBACK(load_error_status_changed_cb), fixture);
-
-    uri_string = get_uri_for_path(&quot;/test_load_error&quot;);
-    webkit_web_view_load_uri(fixture-&gt;webView, uri_string);
-    g_free(uri_string);
-
-    g_main_loop_run(fixture-&gt;loop);
-
-    g_assert(fixture-&gt;has_been_provisional);
-    g_assert(!fixture-&gt;has_been_committed);
-    g_assert(fixture-&gt;has_been_load_error);
-    g_assert(fixture-&gt;has_been_failed);
-    g_assert(!fixture-&gt;has_been_finished);
-}
-
-/* Cancelled load */
-
-static gboolean load_cancelled_cb(WebKitWebView* webView, WebKitWebFrame* frame, const char* uri, GError *error, WebLoadingFixture* fixture)
-{
-    g_assert(fixture-&gt;has_been_provisional);
-    g_assert(fixture-&gt;has_been_failed);
-    g_assert(!fixture-&gt;has_been_load_error);
-    g_assert(error-&gt;code == WEBKIT_NETWORK_ERROR_CANCELLED);
-    fixture-&gt;has_been_load_error = TRUE;
-
-    return TRUE;
-}
-
-static gboolean stop_load (gpointer data)
-{
-    webkit_web_view_stop_loading(WEBKIT_WEB_VIEW(data));
-    return FALSE;
-}
-
-static void load_cancelled_status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(WEBKIT_WEB_VIEW(object));
-
-    switch(status) {
-    case WEBKIT_LOAD_PROVISIONAL:
-        g_assert(!fixture-&gt;has_been_provisional);
-        g_assert(!fixture-&gt;has_been_failed);
-        fixture-&gt;has_been_provisional = TRUE;
-        break;
-    case WEBKIT_LOAD_COMMITTED:
-        g_idle_add (stop_load, object);
-        break;
-    case WEBKIT_LOAD_FAILED:
-        g_assert(fixture-&gt;has_been_provisional);
-        g_assert(!fixture-&gt;has_been_failed);
-        g_assert(!fixture-&gt;has_been_load_error);
-        fixture-&gt;has_been_failed = TRUE;
-        g_main_loop_quit(fixture-&gt;loop);
-        break;
-    case WEBKIT_LOAD_FINISHED:
-        g_assert_not_reached();
-        break;
-    default:
-        break;
-    }
-}
-
-static void test_loading_cancelled(WebLoadingFixture* fixture, gconstpointer data)
-{
-    char* uri_string;
-
-    g_test_bug(&quot;29644&quot;);
-
-    g_signal_connect(fixture-&gt;webView, &quot;load-error&quot;, G_CALLBACK(load_cancelled_cb), fixture);
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;, G_CALLBACK(load_cancelled_status_changed_cb), fixture);
-
-    uri_string = get_uri_for_path(&quot;/test_loading_cancelled&quot;);
-    webkit_web_view_load_uri(fixture-&gt;webView, uri_string);
-    g_free(uri_string);
-
-    g_main_loop_run(fixture-&gt;loop);
-}
-
-static void load_goback_status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(WEBKIT_WEB_VIEW(object));
-
-    switch(status) {
-    case WEBKIT_LOAD_PROVISIONAL:
-        g_assert(!fixture-&gt;has_been_provisional);
-        fixture-&gt;has_been_provisional = TRUE;
-        break;
-    case WEBKIT_LOAD_COMMITTED:
-        g_assert(fixture-&gt;has_been_provisional);
-        fixture-&gt;has_been_committed = TRUE;
-        break;
-    case WEBKIT_LOAD_FAILED:
-        g_assert_not_reached();
-        break;
-    case WEBKIT_LOAD_FINISHED:
-        g_assert(fixture-&gt;has_been_provisional);
-        g_assert(fixture-&gt;has_been_committed);
-        fixture-&gt;has_been_finished = TRUE;
-        g_main_loop_quit(fixture-&gt;loop);
-        break;
-    default:
-        break;
-    }
-}
-
-static void load_wentback_status_changed_cb(GObject* object, GParamSpec* pspec, WebLoadingFixture* fixture)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status(WEBKIT_WEB_VIEW(object));
-    char* uri_string;
-    char* uri_string2;
-
-    uri_string = get_uri_for_path(&quot;/test_loading_status&quot;);
-    uri_string2 = get_uri_for_path(&quot;/test_loading_status2&quot;);
-
-    switch(status) {
-    case WEBKIT_LOAD_PROVISIONAL:
-        g_assert_cmpstr(webkit_web_view_get_uri(fixture-&gt;webView), ==, uri_string2);
-        break;
-    case WEBKIT_LOAD_COMMITTED:
-        g_assert_cmpstr(webkit_web_view_get_uri(fixture-&gt;webView), ==, uri_string);
-        break;
-    case WEBKIT_LOAD_FAILED:
-        g_assert_not_reached();
-        break;
-    case WEBKIT_LOAD_FINISHED:
-        g_assert_cmpstr(webkit_web_view_get_uri(fixture-&gt;webView), ==, uri_string);
-        g_main_loop_quit(fixture-&gt;loop);
-        break;
-    default:
-        break;
-    }
-
-    g_free(uri_string);
-    g_free(uri_string2);
-}
-
-static void load_error_test(WebKitWebView* webview, WebKitWebFrame* frame, const char* uri, GError* error)
-{
-    g_debug(&quot;Error: %s&quot;, error-&gt;message);
-}
-
-static void test_loading_goback(WebLoadingFixture* fixture, gconstpointer data)
-{
-    char* uri_string;
-
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;, G_CALLBACK(load_goback_status_changed_cb), fixture);
-
-    g_signal_connect(fixture-&gt;webView, &quot;load-error&quot;, G_CALLBACK(load_error_test), fixture);
-
-    uri_string = get_uri_for_path(&quot;/test_loading_status&quot;);
-    webkit_web_view_load_uri(fixture-&gt;webView, uri_string);
-    g_free(uri_string);
-
-    g_main_loop_run(fixture-&gt;loop);
-
-    fixture-&gt;has_been_provisional = FALSE;
-    fixture-&gt;has_been_committed = FALSE;
-    fixture-&gt;has_been_first_visually_non_empty_layout = FALSE;
-    fixture-&gt;has_been_finished = FALSE;
-    fixture-&gt;has_been_failed = FALSE;
-    fixture-&gt;has_been_load_error = FALSE;
-
-    uri_string = get_uri_for_path(&quot;/test_loading_status2&quot;);
-    webkit_web_view_load_uri(fixture-&gt;webView, uri_string);
-    g_free(uri_string);
-
-    g_main_loop_run(fixture-&gt;loop);
-
-    g_signal_handlers_disconnect_by_func(fixture-&gt;webView, load_goback_status_changed_cb, fixture);
-
-    fixture-&gt;has_been_provisional = FALSE;
-    fixture-&gt;has_been_committed = FALSE;
-    fixture-&gt;has_been_first_visually_non_empty_layout = FALSE;
-    fixture-&gt;has_been_finished = FALSE;
-    fixture-&gt;has_been_failed = FALSE;
-    fixture-&gt;has_been_load_error = FALSE;
-
-    g_signal_connect(fixture-&gt;webView, &quot;notify::load-status&quot;, G_CALLBACK(load_wentback_status_changed_cb), fixture);
-    webkit_web_view_go_back(fixture-&gt;webView);
-
-    g_main_loop_run(fixture-&gt;loop);
-
-    g_signal_handlers_disconnect_by_func(fixture-&gt;webView, load_wentback_status_changed_cb, fixture);
-}
-
-int main(int argc, char** argv)
-{
-    SoupServer* server;
-
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    server = soup_server_new(SOUP_SERVER_PORT, 0, NULL);
-    soup_server_run_async(server);
-
-    soup_server_add_handler(server, NULL, server_callback, NULL, NULL);
-
-    base_uri = soup_uri_new(&quot;http://127.0.0.1/&quot;);
-    soup_uri_set_port(base_uri, soup_server_get_port(server));
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add(&quot;/webkit/loading/status&quot;,
-               WebLoadingFixture, NULL,
-               web_loading_fixture_setup,
-               test_loading_status,
-               web_loading_fixture_teardown);
-    g_test_add(&quot;/webkit/loading/error&quot;,
-               WebLoadingFixture, NULL,
-               web_loading_fixture_setup,
-               test_loading_error,
-               web_loading_fixture_teardown);
-    g_test_add(&quot;/webkit/loading/cancelled&quot;,
-               WebLoadingFixture, NULL,
-               web_loading_fixture_setup,
-               test_loading_cancelled,
-               web_loading_fixture_teardown);
-    g_test_add(&quot;/webkit/loading/goback&quot;,
-               WebLoadingFixture, NULL,
-               web_loading_fixture_setup,
-               test_loading_goback,
-               web_loading_fixture_teardown);
-    return g_test_run();
-}
-
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestmimehandlingc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testmimehandling.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,203 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Jan Michael Alonzo
- * Copyright (C) 2009 Gustavo Noronha Silva
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &quot;test_utils.h&quot;
-
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;libsoup/soup.h&gt;
-#include &lt;string.h&gt;
-#include &lt;webkit/webkit.h&gt;
-#include &lt;unistd.h&gt;
-
-GMainLoop* loop;
-SoupSession *session;
-char* base_uri;
-
-/* For real request testing */
-static void
-server_callback(SoupServer *server, SoupMessage *msg,
-                 const char *path, GHashTable *query,
-                 SoupClientContext *context, gpointer data)
-{
-    if (msg-&gt;method != SOUP_METHOD_GET) {
-        soup_message_set_status(msg, SOUP_STATUS_NOT_IMPLEMENTED);
-        return;
-    }
-
-    soup_message_set_status(msg, SOUP_STATUS_OK);
-
-    /* PDF */
-    if (g_str_equal(path, &quot;/pdf&quot;)) {
-        char* contents;
-        gsize length;
-        GError* error = NULL;
-
-        g_file_get_contents(&quot;test.pdf&quot;, &amp;contents, &amp;length, &amp;error);
-        g_assert(!error);
-
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_TAKE, contents, length);
-    } else if (g_str_equal(path, &quot;/html&quot;)) {
-        char* contents;
-        gsize length;
-        GError* error = NULL;
-
-        g_file_get_contents(&quot;test.html&quot;, &amp;contents, &amp;length, &amp;error);
-        g_assert(!error);
-
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_TAKE, contents, length);
-    } else if (g_str_equal(path, &quot;/text&quot;)) {
-        char* contents;
-        gsize length;
-        GError* error = NULL;
-
-        soup_message_headers_append(msg-&gt;response_headers, &quot;Content-Disposition&quot;, &quot;attachment; filename=test.txt&quot;);
-
-        g_file_get_contents(&quot;test.txt&quot;, &amp;contents, &amp;length, &amp;error);
-        g_assert(!error);
-
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_TAKE, contents, length);
-    }
-
-    soup_message_body_complete(msg-&gt;response_body);
-}
-
-static void idle_quit_loop_cb(WebKitWebView* web_view, GParamSpec* pspec, gpointer data)
-{
-    if (webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FINISHED ||
-        webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FAILED)
-        g_main_loop_quit(loop);
-}
-
-static gboolean mime_type_policy_decision_requested_cb(WebKitWebView* view, WebKitWebFrame* frame,
-                                                       WebKitNetworkRequest* request, const char* mime_type,
-                                                       WebKitWebPolicyDecision* decision, gpointer data)
-{
-    char* type = (char*)data;
-
-    if (g_str_equal(type, &quot;pdf&quot;)) {
-        g_assert_cmpstr(mime_type, ==, &quot;application/pdf&quot;);
-        g_assert(!webkit_web_view_can_show_mime_type(view, mime_type));
-    } else if (g_str_equal(type, &quot;html&quot;)) {
-        g_assert_cmpstr(mime_type, ==, &quot;text/html&quot;);
-        g_assert(webkit_web_view_can_show_mime_type(view, mime_type));
-    } else if (g_str_equal(type, &quot;text&quot;)) {
-        WebKitNetworkResponse* response = webkit_web_frame_get_network_response(frame);
-        SoupMessage* message = webkit_network_response_get_message(response);
-        char* disposition;
-
-        g_assert(message);
-        soup_message_headers_get_content_disposition(message-&gt;response_headers,
-                                                     &amp;disposition, NULL);
-        g_object_unref(response);
-
-        g_assert_cmpstr(disposition, ==, &quot;attachment&quot;);
-        g_free(disposition);
-
-        g_assert_cmpstr(mime_type, ==, &quot;text/plain&quot;);
-        g_assert(webkit_web_view_can_show_mime_type(view, mime_type));
-    }
-
-    g_free(type);
-
-    return FALSE;
-}
-
-static void testRemoteMimeType(const void* data)
-{
-    const char* name = (const char*) data;
-    WebKitWebView* view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(G_OBJECT(view));
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_object_connect(G_OBJECT(view),
-                     &quot;signal::notify::load-status&quot;, idle_quit_loop_cb, NULL,
-                     &quot;signal::mime-type-policy-decision-requested&quot;, mime_type_policy_decision_requested_cb, g_strdup(name),
-                     NULL);
-
-    char* effective_uri = g_strdup_printf(&quot;%s%s&quot;, base_uri, name);
-    webkit_web_view_load_uri(view, effective_uri);
-    g_free(effective_uri);
-
-    g_main_loop_run(loop);
-
-    g_object_unref(view);
-}
-
-static void testLocalMimeType(const void* data)
-{
-     const char* typeName = (const char*) data;
-     WebKitWebView* view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-     g_object_ref_sink(G_OBJECT(view));
-
-     loop = g_main_loop_new(NULL, TRUE);
-
-     g_object_connect(G_OBJECT(view),
-                      &quot;signal::notify::load-status&quot;, idle_quit_loop_cb, NULL,
-                      &quot;signal::mime-type-policy-decision-requested&quot;, mime_type_policy_decision_requested_cb, g_strdup(typeName),
-                      NULL);
-
-     gchar* filename = g_strdup_printf(&quot;test.%s&quot;, typeName);
-     GFile* file = g_file_new_for_path(filename);
-     g_free(filename);
-
-     gchar* fileURI = g_file_get_uri(file);
-     g_object_unref(file);
-
-     webkit_web_view_load_uri(view, fileURI);
-     g_free(fileURI);

-     g_main_loop_run(loop);
-     g_object_unref(view);
-}
-
-int main(int argc, char** argv)
-{
-    SoupServer* server;
-    SoupURI* soup_uri;
-
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    /* Hopefully make test independent of the path it's called from. */
-    testutils_relative_chdir(&quot;Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html&quot;, argv[0]);
-
-    server = soup_server_new(SOUP_SERVER_PORT, 0, NULL);
-    soup_server_run_async(server);
-
-    soup_server_add_handler(server, NULL, server_callback, NULL, NULL);
-
-    soup_uri = soup_uri_new(&quot;http://127.0.0.1/&quot;);
-    soup_uri_set_port(soup_uri, soup_server_get_port(server));
-
-    base_uri = soup_uri_to_string(soup_uri, FALSE);
-    soup_uri_free(soup_uri);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_data_func(&quot;/webkit/mime/remote-PDF&quot;, &quot;pdf&quot;, testRemoteMimeType);
-    g_test_add_data_func(&quot;/webkit/mime/remote-HTML&quot;, &quot;html&quot;, testRemoteMimeType);
-    g_test_add_data_func(&quot;/webkit/mime/remote-TEXT&quot;, &quot;text&quot;, testRemoteMimeType);
-    g_test_add_data_func(&quot;/webkit/mime/local-PDF&quot;, &quot;pdf&quot;, testLocalMimeType);
-    g_test_add_data_func(&quot;/webkit/mime/local-HTML&quot;, &quot;html&quot;, testLocalMimeType);
-    g_test_add_data_func(&quot;/webkit/mime/local-TEXT&quot;, &quot;text&quot;, testLocalMimeType);
-
-    return g_test_run();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestnetworkrequestc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkrequest.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,96 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Gustavo Noronha Silva
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;stdlib.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-static void test_network_request_create_destroy()
-{
-    WebKitNetworkRequest* request;
-    SoupMessage* message;
-
-    /* Test creation with URI */
-    request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, &quot;uri&quot;, &quot;http://debian.org/&quot;, NULL));
-    g_assert(WEBKIT_IS_NETWORK_REQUEST(request));
-    message = webkit_network_request_get_message(request);
-    g_assert(!message);
-    g_object_unref(request);
-
-    /* Test creation with SoupMessage */
-    message = soup_message_new(&quot;GET&quot;, &quot;http://debian.org/&quot;);
-    request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, &quot;message&quot;, message, NULL));
-    g_assert(WEBKIT_IS_NETWORK_REQUEST(request));
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 2);
-    g_object_unref(request);
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 1);
-    g_object_unref(message);
-
-    /* Test creation with both SoupMessage and URI */
-    message = soup_message_new(&quot;GET&quot;, &quot;http://debian.org/&quot;);
-    request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, &quot;message&quot;, message, &quot;uri&quot;, &quot;http://gnome.org/&quot;, NULL));
-    g_assert(WEBKIT_IS_NETWORK_REQUEST(request));
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 2);
-    g_assert_cmpstr(webkit_network_request_get_uri(request), ==, &quot;http://gnome.org/&quot;);
-    g_object_unref(request);
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 1);
-    g_object_unref(message);
-}
-
-static void test_network_request_properties()
-{
-    WebKitNetworkRequest* request;
-    SoupMessage* message;
-    gchar* soupURI;
-
-    /* Test URI is set correctly when creating with URI */
-    request = webkit_network_request_new(&quot;http://debian.org/&quot;);
-    g_assert(WEBKIT_IS_NETWORK_REQUEST(request));
-    g_assert_cmpstr(webkit_network_request_get_uri(request), ==, &quot;http://debian.org/&quot;);
-    g_object_unref(request);
-
-    /* Test URI is set correctly when creating with Message */
-    message = soup_message_new(&quot;GET&quot;, &quot;http://debian.org/&quot;);
-    request = WEBKIT_NETWORK_REQUEST(g_object_new(WEBKIT_TYPE_NETWORK_REQUEST, &quot;message&quot;, message, NULL));
-    g_assert(WEBKIT_IS_NETWORK_REQUEST(request));
-    g_object_unref(message);
-
-    message = webkit_network_request_get_message(request);
-    soupURI = soup_uri_to_string(soup_message_get_uri(message), FALSE);
-    g_assert_cmpstr(soupURI, ==, &quot;http://debian.org/&quot;);
-    g_free(soupURI);
-
-    g_assert_cmpstr(webkit_network_request_get_uri(request), ==, &quot;http://debian.org/&quot;);
-    g_object_unref(request);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/networkrequest/createdestroy&quot;, test_network_request_create_destroy);
-    g_test_add_func(&quot;/webkit/networkrequest/properties&quot;, test_network_request_properties);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestnetworkresponsec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testnetworkresponse.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,97 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Gustavo Noronha Silva
- * Copyright (C) 2009 Collabora Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;stdlib.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-static void test_network_response_create_destroy()
-{
-    WebKitNetworkResponse* response;
-    SoupMessage* message;
-
-    /* Test creation with URI */
-    response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, &quot;uri&quot;, &quot;http://debian.org/&quot;, NULL));
-    g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
-    message = webkit_network_response_get_message(response);
-    g_assert(!message);
-    g_object_unref(response);
-
-    /* Test creation with SoupMessage */
-    message = soup_message_new(&quot;GET&quot;, &quot;http://debian.org/&quot;);
-    response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, &quot;message&quot;, message, NULL));
-    g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 2);
-    g_object_unref(response);
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 1);
-    g_object_unref(message);
-
-    /* Test creation with both SoupMessage and URI */
-    message = soup_message_new(&quot;GET&quot;, &quot;http://debian.org/&quot;);
-    response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, &quot;message&quot;, message, &quot;uri&quot;, &quot;http://gnome.org/&quot;, NULL));
-    g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 2);
-    g_assert_cmpstr(webkit_network_response_get_uri(response), ==, &quot;http://gnome.org/&quot;);
-    g_object_unref(response);
-    g_assert_cmpint(G_OBJECT(message)-&gt;ref_count, ==, 1);
-    g_object_unref(message);
-}
-
-static void test_network_response_properties()
-{
-    WebKitNetworkResponse* response;
-    SoupMessage* message;
-    gchar* soupURI;
-
-    /* Test URI is set correctly when creating with URI */
-    response = webkit_network_response_new(&quot;http://debian.org/&quot;);
-    g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
-    g_assert_cmpstr(webkit_network_response_get_uri(response), ==, &quot;http://debian.org/&quot;);
-    g_object_unref(response);
-
-    /* Test URI is set correctly when creating with Message */
-    message = soup_message_new(&quot;GET&quot;, &quot;http://debian.org/&quot;);
-    response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, &quot;message&quot;, message, NULL));
-    g_assert(WEBKIT_IS_NETWORK_RESPONSE(response));
-    g_object_unref(message);
-
-    message = webkit_network_response_get_message(response);
-    soupURI = soup_uri_to_string(soup_message_get_uri(message), FALSE);
-    g_assert_cmpstr(soupURI, ==, &quot;http://debian.org/&quot;);
-    g_free(soupURI);
-
-    g_assert_cmpstr(webkit_network_response_get_uri(response), ==, &quot;http://debian.org/&quot;);
-    g_object_unref(response);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/networkresponse/createdestroy&quot;, test_network_response_create_destroy);
-    g_test_add_func(&quot;/webkit/networkresponse/properties&quot;, test_network_response_properties);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebbackforwardlistc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebbackforwardlist.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,326 +0,0 @@
</span><del>-/*
- * Copyright (C) 2008 Holger Hans Peter Freyther
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;glib.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-static void test_webkit_web_history_item_lifetime(void)
-{
-    WebKitWebView* webView;
-    WebKitWebBackForwardList* backForwardList;
-    WebKitWebHistoryItem* currentItem;
-    WebKitWebHistoryItem* forwardItem;
-    WebKitWebHistoryItem* backItem;
-    WebKitWebHistoryItem* nthItem;
-    WebKitWebHistoryItem* item1;
-    WebKitWebHistoryItem* item2;
-    WebKitWebHistoryItem* item3;
-    WebKitWebHistoryItem* item4;
-    GList* backList = NULL;
-    GList* forwardList = NULL;
-    g_test_bug(&quot;19898&quot;);
-
-    webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    backForwardList = webkit_web_view_get_back_forward_list(webView);
-    g_assert_cmpint(G_OBJECT(backForwardList)-&gt;ref_count, ==, 1);
-
-    /* add test items */
-    item1 = webkit_web_history_item_new_with_data(&quot;http://example.com/1/&quot;, &quot;Site 1&quot;);
-    webkit_web_back_forward_list_add_item(backForwardList, item1);
-    g_object_unref(item1);
-
-    item2 = webkit_web_history_item_new_with_data(&quot;http://example.com/2/&quot;, &quot;Site 2&quot;);
-    webkit_web_back_forward_list_add_item(backForwardList, item2);
-    g_object_unref(item2);
-
-    item3 = webkit_web_history_item_new_with_data(&quot;http://example.com/3/&quot;, &quot;Site 3&quot;);
-    webkit_web_back_forward_list_add_item(backForwardList, item3);
-    g_object_unref(item3);
-
-    item4 = webkit_web_history_item_new_with_data(&quot;http://example.com/4/&quot;, &quot;Site 4&quot;);
-    webkit_web_back_forward_list_add_item(backForwardList, item4);
-    g_object_unref(item4);
-
-    /* make sure these functions don't add unnecessary ref to the history item */
-    backItem = webkit_web_back_forward_list_get_back_item(backForwardList);
-    g_object_ref(backItem);
-    g_assert_cmpint(G_OBJECT(backItem)-&gt;ref_count, ==, 2);
-    g_object_unref(backItem);
-    g_assert_cmpint(G_OBJECT(backItem)-&gt;ref_count, ==, 1);
-
-    currentItem = webkit_web_back_forward_list_get_current_item(backForwardList);
-    g_object_ref(currentItem);
-    g_assert_cmpint(G_OBJECT(currentItem)-&gt;ref_count, ==, 2);
-    g_object_unref(currentItem);
-    g_assert_cmpint(G_OBJECT(currentItem)-&gt;ref_count, ==, 1);
-
-    webkit_web_back_forward_list_go_to_item(backForwardList, item2);
-    forwardItem = webkit_web_back_forward_list_get_forward_item(backForwardList);
-    g_object_ref(forwardItem);
-    g_assert_cmpint(G_OBJECT(forwardItem)-&gt;ref_count, ==, 2);
-    g_object_unref(forwardItem);
-    g_assert_cmpint(G_OBJECT(forwardItem)-&gt;ref_count, ==, 1);
-
-    nthItem = webkit_web_back_forward_list_get_nth_item(backForwardList, 1);
-    g_object_ref(nthItem);
-    g_assert_cmpint(G_OBJECT(nthItem)-&gt;ref_count, ==, 2);
-    g_object_unref(nthItem);
-    g_assert_cmpint(G_OBJECT(nthItem)-&gt;ref_count, ==, 1);
-
-    backList = webkit_web_back_forward_list_get_back_list_with_limit(backForwardList, 5);
-    for (; backList; backList = backList-&gt;next)
-        g_assert_cmpint(G_OBJECT(backList-&gt;data)-&gt;ref_count, ==, 1);
-
-    forwardList = webkit_web_back_forward_list_get_forward_list_with_limit(backForwardList, 5);
-    for (; forwardList; forwardList = forwardList-&gt;next)
-        g_assert_cmpint(G_OBJECT(forwardList-&gt;data)-&gt;ref_count, ==, 1);
-
-    g_list_free(forwardList);
-    g_list_free(backList);
-    g_assert_cmpint(G_OBJECT(item1)-&gt;ref_count, ==, 1);
-    g_assert_cmpint(G_OBJECT(item2)-&gt;ref_count, ==, 1);
-    g_assert_cmpint(G_OBJECT(item3)-&gt;ref_count, ==, 1);
-    g_assert_cmpint(G_OBJECT(item4)-&gt;ref_count, ==, 1);
-    g_assert_cmpint(G_OBJECT(backForwardList)-&gt;ref_count, ==, 1);
-    g_object_unref(webView);
-}
-
-static void test_webkit_web_back_forward_list_order(void)
-{
-    WebKitWebView* webView;
-    WebKitWebBackForwardList* webBackForwardList;
-    WebKitWebHistoryItem* item1;
-    WebKitWebHistoryItem* item2;
-    WebKitWebHistoryItem* item3;
-    WebKitWebHistoryItem* item4;
-    WebKitWebHistoryItem* currentItem;
-    GList* backList = NULL;
-    GList* forwardList = NULL;
-    g_test_bug(&quot;22694&quot;);
-
-    webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-
-    webkit_web_view_set_maintains_back_forward_list(webView, TRUE);
-    webBackForwardList = webkit_web_view_get_back_forward_list(webView);
-    g_assert(webBackForwardList);
-
-    // Check that there is no item.
-    g_assert(!webkit_web_back_forward_list_get_current_item(webBackForwardList));
-    g_assert_cmpint(webkit_web_back_forward_list_get_forward_length(webBackForwardList), ==, 0);
-    g_assert_cmpint(webkit_web_back_forward_list_get_back_length(webBackForwardList), ==, 0);
-    g_assert(!webkit_web_view_can_go_forward(webView));
-    g_assert(!webkit_web_view_can_go_back(webView));
-
-    // Add a new items
-    item1 = webkit_web_history_item_new_with_data(&quot;http://example.com/1/&quot;, &quot;Site 1&quot;);
-    webkit_web_back_forward_list_add_item(webBackForwardList, item1);
-    g_object_unref(item1);
-    g_assert(webkit_web_back_forward_list_contains_item(webBackForwardList, item1));
-
-    item2 = webkit_web_history_item_new_with_data(&quot;http://example.com/2/&quot;, &quot;Site 2&quot;);
-    webkit_web_back_forward_list_add_item(webBackForwardList, item2);
-    g_object_unref(item2);
-    g_assert(webkit_web_back_forward_list_contains_item(webBackForwardList, item2));
-
-    item3 = webkit_web_history_item_new_with_data(&quot;http://example.com/3/&quot;, &quot;Site 3&quot;);
-    webkit_web_back_forward_list_add_item(webBackForwardList, item3);
-    g_object_unref(item3);
-    g_assert(webkit_web_back_forward_list_contains_item(webBackForwardList, item3));
-
-    item4 = webkit_web_history_item_new_with_data(&quot;http://example.com/4/&quot;, &quot;Site 4&quot;);
-    webkit_web_back_forward_list_add_item(webBackForwardList, item4);
-    g_object_unref(item4);
-    g_assert(webkit_web_back_forward_list_contains_item(webBackForwardList, item4));
-
-    // check the back list order
-    backList = webkit_web_back_forward_list_get_back_list_with_limit(webBackForwardList, 5);
-    g_assert(backList);
-
-    currentItem = WEBKIT_WEB_HISTORY_ITEM(backList-&gt;data);
-    g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, &quot;http://example.com/3/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, &quot;Site 3&quot;);
-    backList = backList-&gt;next;
-
-    currentItem = WEBKIT_WEB_HISTORY_ITEM(backList-&gt;data);
-    g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, &quot;http://example.com/2/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, &quot;Site 2&quot;);
-    backList = backList-&gt;next;
-
-    currentItem = WEBKIT_WEB_HISTORY_ITEM(backList-&gt;data);
-    g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, &quot;http://example.com/1/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, &quot;Site 1&quot;);
-    g_list_free(backList);
-
-    // check the forward list order
-    g_assert(webkit_web_view_go_to_back_forward_item(webView, item1));
-    forwardList = webkit_web_back_forward_list_get_forward_list_with_limit(webBackForwardList,5);
-    g_assert(forwardList);
-
-    currentItem = WEBKIT_WEB_HISTORY_ITEM(forwardList-&gt;data);
-    g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, &quot;http://example.com/4/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, &quot;Site 4&quot;);
-    forwardList = forwardList-&gt;next;
-
-    currentItem = WEBKIT_WEB_HISTORY_ITEM(forwardList-&gt;data);
-    g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, &quot;http://example.com/3/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, &quot;Site 3&quot;);
-    forwardList = forwardList-&gt;next;
-
-    currentItem = WEBKIT_WEB_HISTORY_ITEM(forwardList-&gt;data);
-    g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, &quot;http://example.com/2/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, &quot;Site 2&quot;);
-
-    g_list_free(forwardList);
-    g_object_unref(webView);
-}
-
-static void test_webkit_web_back_forward_list_add_item(void)
-{
-    WebKitWebView* webView;
-    WebKitWebBackForwardList* webBackForwardList;
-    WebKitWebHistoryItem* addItem1;
-    WebKitWebHistoryItem* addItem2;
-    WebKitWebHistoryItem* backItem;
-    WebKitWebHistoryItem* currentItem;
-    g_test_bug(&quot;22988&quot;);
-
-    webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-
-    webkit_web_view_set_maintains_back_forward_list(webView, TRUE);
-    webBackForwardList = webkit_web_view_get_back_forward_list(webView);
-    g_assert(webBackForwardList);
-
-    // Check that there is no item.
-    g_assert(!webkit_web_back_forward_list_get_current_item(webBackForwardList));
-    g_assert_cmpint(webkit_web_back_forward_list_get_forward_length(webBackForwardList), ==, 0);
-    g_assert_cmpint(webkit_web_back_forward_list_get_back_length(webBackForwardList), ==, 0);
-    g_assert(!webkit_web_view_can_go_forward(webView));
-    g_assert(!webkit_web_view_can_go_back(webView));
-
-    // Add a new item
-    addItem1 = webkit_web_history_item_new_with_data(&quot;http://example.com/&quot;, &quot;Added site&quot;);
-    webkit_web_back_forward_list_add_item(webBackForwardList, addItem1);
-    g_object_unref(addItem1);
-    g_assert(webkit_web_back_forward_list_contains_item(webBackForwardList, addItem1));
-
-    // Check that the added item is the current item.
-    currentItem = webkit_web_back_forward_list_get_current_item(webBackForwardList);
-    g_assert(currentItem);
-    g_assert_cmpint(webkit_web_back_forward_list_get_forward_length(webBackForwardList), ==, 0);
-    g_assert_cmpint(webkit_web_back_forward_list_get_back_length(webBackForwardList), ==, 0);
-    g_assert(!webkit_web_view_can_go_forward(webView));
-    g_assert(!webkit_web_view_can_go_back(webView));
-    g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, &quot;http://example.com/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, &quot;Added site&quot;);
-
-    // Add another item.
-    addItem2 = webkit_web_history_item_new_with_data(&quot;http://example.com/2/&quot;, &quot;Added site 2&quot;);
-    webkit_web_back_forward_list_add_item(webBackForwardList, addItem2);
-    g_object_unref(addItem2);
-    g_assert(webkit_web_back_forward_list_contains_item(webBackForwardList, addItem2));
-
-    // Check that the added item is new current item.
-    currentItem = webkit_web_back_forward_list_get_current_item(webBackForwardList);
-    g_assert(currentItem);
-    g_assert_cmpint(webkit_web_back_forward_list_get_forward_length(webBackForwardList), ==, 0);
-    g_assert_cmpint(webkit_web_back_forward_list_get_back_length(webBackForwardList), ==, 1);
-    g_assert(!webkit_web_view_can_go_forward(webView));
-    g_assert(webkit_web_view_can_go_back(webView));
-    g_assert_cmpstr(webkit_web_history_item_get_uri(currentItem), ==, &quot;http://example.com/2/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(currentItem), ==, &quot;Added site 2&quot;);
-
-    backItem = webkit_web_back_forward_list_get_back_item(webBackForwardList);
-    g_assert(backItem);
-    g_assert_cmpstr(webkit_web_history_item_get_uri(backItem), ==, &quot;http://example.com/&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_title(backItem), ==, &quot;Added site&quot;);
-
-    // Go to the first added item.
-    g_assert(webkit_web_view_go_to_back_forward_item(webView, addItem1));
-    g_assert_cmpint(webkit_web_back_forward_list_get_forward_length(webBackForwardList), ==, 1);
-    g_assert_cmpint(webkit_web_back_forward_list_get_back_length(webBackForwardList), ==, 0);
-    g_assert(webkit_web_view_can_go_forward(webView));
-    g_assert(!webkit_web_view_can_go_back(webView));
-
-    g_object_unref(webView);
-}
-
-static void test_webkit_web_back_forward_list_clear(void)
-{
-    WebKitWebView* webView;
-    WebKitWebBackForwardList* webBackForwardList;
-    WebKitWebHistoryItem* addItem;
-    g_test_bug(&quot;36173&quot;);
-
-    webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-
-    webBackForwardList = webkit_web_view_get_back_forward_list(webView);
-    g_assert(webBackForwardList);
-
-    // Check that there is no item.
-    g_assert_cmpint(webkit_web_back_forward_list_get_forward_length(webBackForwardList), ==, 0);
-    g_assert_cmpint(webkit_web_back_forward_list_get_back_length(webBackForwardList), ==, 0);
-    g_assert(!webkit_web_back_forward_list_get_current_item(webBackForwardList));
-    g_assert(!webkit_web_view_can_go_forward(webView));
-    g_assert(!webkit_web_view_can_go_back(webView));
-
-    // Check that clearing the empty list does not modify counters
-    webkit_web_back_forward_list_clear(webBackForwardList);
-    g_assert_cmpint(webkit_web_back_forward_list_get_forward_length(webBackForwardList), ==, 0);
-    g_assert_cmpint(webkit_web_back_forward_list_get_back_length(webBackForwardList), ==, 0);
-    g_assert(!webkit_web_back_forward_list_get_current_item(webBackForwardList));
-    g_assert(!webkit_web_view_can_go_forward(webView));
-    g_assert(!webkit_web_view_can_go_back(webView));
-
-    // Add a new item
-    addItem = webkit_web_history_item_new_with_data(&quot;http://example.com/&quot;, &quot;Added site&quot;);
-    webkit_web_back_forward_list_add_item(webBackForwardList, addItem);
-    g_object_unref(addItem);
-    g_assert(webkit_web_back_forward_list_contains_item(webBackForwardList, addItem));
-
-    // Check that after clearing the list the added item is no longer in the list
-    webkit_web_back_forward_list_clear(webBackForwardList);
-    g_assert(!webkit_web_back_forward_list_contains_item(webBackForwardList, addItem));
-
-    // Check that after clearing it, the list is empty
-    g_assert_cmpint(webkit_web_back_forward_list_get_forward_length(webBackForwardList), ==, 0);
-    g_assert_cmpint(webkit_web_back_forward_list_get_back_length(webBackForwardList), ==, 0);
-    g_assert(!webkit_web_back_forward_list_get_current_item(webBackForwardList));
-    g_assert(!webkit_web_view_can_go_forward(webView));
-    g_assert(!webkit_web_view_can_go_back(webView));
-
-    g_object_unref(webView);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/webbackforwardlist/add_item&quot;, test_webkit_web_back_forward_list_add_item);
-    g_test_add_func(&quot;/webkit/webbackforwardlist/list_order&quot;, test_webkit_web_back_forward_list_order);
-    g_test_add_func(&quot;/webkit/webhistoryitem/lifetime&quot;, test_webkit_web_history_item_lifetime);
-    g_test_add_func(&quot;/webkit/webbackforwardlist/clear&quot;, test_webkit_web_back_forward_list_clear);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebdatasourcec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebdatasource.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,242 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Jan Michael Alonzo
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;glib.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-static const gshort defaultTimeout = 10;
-guint waitTimer;
-gboolean shouldWait;
-
-typedef struct {
-    WebKitWebView* webView;
-    WebKitWebFrame* mainFrame;
-} WebDataSourceFixture;
-
-static void test_webkit_web_data_source_get_initial_request()
-{
-    WebKitWebView* view;
-    WebKitWebFrame* frame;
-    WebKitWebDataSource* dataSource;
-    WebKitNetworkRequest* initialRequest;
-
-    view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(view);
-    frame = webkit_web_view_get_main_frame(view);
-
-    WebKitNetworkRequest* request = webkit_network_request_new(&quot;http://www.google.com&quot;);
-    webkit_web_frame_load_request(frame, request);
-    g_object_unref(request);
-
-    dataSource = webkit_web_frame_get_provisional_data_source(frame);
-    g_assert(dataSource);
-    initialRequest = webkit_web_data_source_get_initial_request(dataSource);
-    g_assert_cmpstr(webkit_network_request_get_uri(initialRequest), ==, &quot;http://www.google.com/&quot;);
-
-    g_object_unref(view);
-}
-
-static void notify_load_status_unreachable_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status (view);
-    WebKitWebFrame* frame = webkit_web_view_get_main_frame(view);
-
-    g_assert(status != WEBKIT_LOAD_FINISHED);
-
-    if (status != WEBKIT_LOAD_FAILED)
-        return;
-
-    WebKitWebDataSource* datasource = webkit_web_frame_get_data_source(frame);
-
-    g_assert_cmpstr(&quot;http://this.host.does.not.exist/doireallyexist.html&quot;, ==,
-                    webkit_web_data_source_get_unreachable_uri(datasource));
-
-    g_main_loop_quit(loop);
-}
-
-static void notify_load_status_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status (view);
-    WebKitWebFrame* frame = webkit_web_view_get_main_frame(view);
-    WebKitWebDataSource* dataSource = webkit_web_frame_get_data_source(frame);
-
-    if (status == WEBKIT_LOAD_COMMITTED) {
-        g_assert(webkit_web_data_source_is_loading(dataSource));
-        return;
-    }
-    else if (status != WEBKIT_LOAD_FINISHED)
-        return;
-
-    /* Test get_request */
-    g_test_message(&quot;Testing webkit_web_data_source_get_request&quot;);
-    WebKitNetworkRequest* request = webkit_web_data_source_get_request(dataSource);
-    g_assert_cmpstr(webkit_network_request_get_uri(request), ==, &quot;http://www.webkit.org/&quot;);
-
-    /* Test get_main_resource */
-    g_test_message(&quot;Testing webkit_web_data_source_get_main_resource&quot;);
-    WebKitWebResource* resource = webkit_web_data_source_get_main_resource(dataSource);
-    g_assert_cmpstr(&quot;text/html&quot;, ==, webkit_web_resource_get_mime_type(resource));
-    g_assert_cmpstr(&quot;http://www.webkit.org/&quot;, ==, webkit_web_resource_get_uri(resource));
-
-    /* Test get_data. We just test if data has certain size for the mean time */
-    g_test_message(&quot;Testing webkit_web_data_source_get_data has certain size&quot;);
-    GString* data = webkit_web_data_source_get_data(dataSource);
-    g_assert(data-&gt;len &gt; 100);
-
-    /* FIXME: Add test for get_encoding */
-
-    g_main_loop_quit(loop);
-}
-
-static gboolean wait_timer_fired(GMainLoop* loop)
-{
-    waitTimer = 0;
-    g_main_loop_quit(loop);
-
-    return FALSE;
-}
-
-static void test_webkit_web_data_source()
-{
-    WebKitWebView* view;
-    GMainLoop* loop;
-
-    view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(view);
-    loop = g_main_loop_new(NULL, TRUE);
-    g_signal_connect(view, &quot;notify::load-status&quot;, G_CALLBACK(notify_load_status_cb), loop);
-    webkit_web_view_load_uri(view, &quot;http://www.webkit.org&quot;);
-
-    waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
-
-    g_main_loop_run(loop);
-
-    if (waitTimer)
-        g_source_remove(waitTimer);
-
-    waitTimer = 0;
-
-    g_main_loop_unref(loop);
-    g_object_unref(view);
-}
-
-static void notify_load_status_lifetime_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
-{
-    WebKitLoadStatus status = webkit_web_view_get_load_status (view);
-    WebKitWebFrame* frame = webkit_web_view_get_main_frame(view);
-    WebKitWebDataSource* dataSource = webkit_web_frame_get_data_source(frame);
-
-    if (status == WEBKIT_LOAD_COMMITTED) {
-        g_assert(webkit_web_data_source_is_loading(dataSource));
-        return;
-    } else if (status != WEBKIT_LOAD_FINISHED)
-        return;
-
-    g_main_loop_quit(loop);
-}
-
-static void test_webkit_web_data_source_lifetime()
-{
-    WebKitWebView* view;
-    GMainLoop* loop;
-
-    view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(view);
-    loop = g_main_loop_new(NULL, TRUE);
-    g_signal_connect(view, &quot;notify::load-status&quot;, G_CALLBACK(notify_load_status_lifetime_cb), loop);
-    webkit_web_view_load_uri(view, &quot;http://www.webkit.org&quot;);
-
-    waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
-
-    g_main_loop_run(loop);
-
-    WebKitWebDataSource* dataSource = webkit_web_frame_get_data_source(webkit_web_view_get_main_frame(view));
-    GList* subResources = webkit_web_data_source_get_subresources(dataSource);
-    gint numberOfResources = g_list_length(subResources);
-    g_list_free(subResources);
-
-    g_assert_cmpint(webkit_web_view_get_load_status(view), ==, WEBKIT_LOAD_FINISHED);
-
-    webkit_web_view_load_uri(view, &quot;http://gnome.org&quot;);
-
-    g_assert_cmpint(webkit_web_view_get_load_status(view), ==, WEBKIT_LOAD_PROVISIONAL);
-
-    webkit_web_view_stop_loading(view);
-
-    g_assert_cmpint(webkit_web_view_get_load_status(view), ==, WEBKIT_LOAD_FAILED);
-
-    subResources = webkit_web_data_source_get_subresources(dataSource);
-    g_assert_cmpint(numberOfResources, ==, g_list_length(subResources));
-    g_list_free(subResources);
-
-    if (waitTimer)
-        g_source_remove(waitTimer);
-
-    waitTimer = 0;
-
-    g_main_loop_unref(loop);
-    g_object_unref(view);
-}
-
-static void test_webkit_web_data_source_unreachable_uri()
-{
-    /* FIXME: this test fails currently. */
-    return;
-
-    WebKitWebView* view;
-    GMainLoop* loop;
-
-    view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(view);
-    loop = g_main_loop_new(NULL, TRUE);
-    g_signal_connect(view, &quot;notify::load-status&quot;, G_CALLBACK(notify_load_status_unreachable_cb), loop);
-    webkit_web_view_load_uri(view, &quot;http://this.host.does.not.exist/doireallyexist.html&quot;);
-
-    waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
-
-    g_main_loop_run(loop);
-
-    if (waitTimer)
-        g_source_remove(waitTimer);
-
-    waitTimer = 0;
-
-    g_main_loop_unref(loop);
-    g_object_unref(view);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_bug(&quot;24758&quot;);
-    g_test_add_func(&quot;/webkit/webdatasource/get_initial_request&quot;,
-                    test_webkit_web_data_source_get_initial_request);
-    g_test_add_func(&quot;/webkit/webdatasource/api&quot;,
-                    test_webkit_web_data_source);
-    g_test_add_func(&quot;/webkit/webdatasource/unreachable_uri&quot;,
-                    test_webkit_web_data_source_unreachable_uri);
-    g_test_add_func(&quot;/webkit/webdatasource/lifetime&quot;,
-                    test_webkit_web_data_source_lifetime);
-
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebframec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebframe.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebframe.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebframe.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,220 +0,0 @@
</span><del>-/*
- * Copyright (C) 2008 Holger Hans Peter Freyther
- * Copyright (C) 2009 Collabora Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-static int numberOfFramesCreated = 0;
-
-static void createFrameSignalTestFrameCreatedCallback(WebKitWebView* webView, WebKitWebFrame* frame, gpointer data)
-{
-    numberOfFramesCreated++;
-}
-
-static gboolean createFrameSignalTestTimeout(gpointer data)
-{
-    g_assert_cmpint(numberOfFramesCreated, ==, 2);
-    g_main_loop_quit((GMainLoop*) data);
-    return FALSE;
-}
-
-static void test_webkit_web_frame_created_signal(void)
-{
-    GtkWidget* webView;
-    GtkWidget* window;
-    GMainLoop* loop = g_main_loop_new(NULL, TRUE);
-
-    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-
-    webView = webkit_web_view_new();
-    g_signal_connect(webView, &quot;frame-created&quot;, G_CALLBACK(createFrameSignalTestFrameCreatedCallback), loop);
-
-    // We want to ensure that exactly two create-frame signals are
-    // fired and no more, so we set a timeout here. There does not appear
-    // to be a simple way via the API to figure out when all frames have
-    // loaded.
-    g_timeout_add(500, createFrameSignalTestTimeout, loop);
-
-    gtk_container_add(GTK_CONTAINER(window), webView);
-    gtk_widget_show(window);
-    gtk_widget_show(webView);
-
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW(webView),
-        &quot;&lt;html&gt;&lt;body&gt;Frames!&quot;
-        &quot;&lt;iframe&gt;&lt;/iframe&gt;&quot;
-        &quot;&lt;iframe&gt;&lt;/iframe&gt;&quot;
-        &quot;&lt;/body&gt;&lt;/html&gt;&quot;,
-        &quot;text/html&quot;, &quot;utf-8&quot;, &quot;file://&quot;);
-    g_main_loop_run(loop);
-}
-
-static void test_webkit_web_frame_create_destroy(void)
-{
-    GtkWidget *webView;
-    GtkWidget *window;
-
-    g_test_bug(&quot;21837&quot;);
-    webView = webkit_web_view_new();
-    g_object_ref_sink(webView);
-    g_assert_cmpint(G_OBJECT(webView)-&gt;ref_count, ==, 1);
-    // This crashed with the original version
-    g_object_unref(webView);
-
-    g_test_bug(&quot;25042&quot;);
-    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    webView = webkit_web_view_new();
-    gtk_container_add(GTK_CONTAINER(window), webView);
-    gtk_widget_show(window);
-    gtk_widget_show(webView);
-    gtk_widget_destroy(webView);
-}
-
-static void test_webkit_web_frame_lifetime(void)
-{
-    WebKitWebView* webView;
-    WebKitWebFrame* webFrame;
-    g_test_bug(&quot;21837&quot;);
-
-    webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    g_assert_cmpint(G_OBJECT(webView)-&gt;ref_count, ==, 1);
-    webFrame = webkit_web_view_get_main_frame(webView);
-    g_assert_cmpint(G_OBJECT(webFrame)-&gt;ref_count, ==, 1);
-
-    // Add dummy reference on the WebKitWebFrame to keep it alive
-    g_object_ref(webFrame);
-    g_assert_cmpint(G_OBJECT(webFrame)-&gt;ref_count, ==, 2);
-
-    // This crashed with the original version
-    g_object_unref(webView);
-
-    // Make sure that the frame got deleted as well. We did this
-    // by adding an extra ref on the WebKitWebFrame and we should
-    // be the one holding the last reference.
-    g_assert_cmpint(G_OBJECT(webFrame)-&gt;ref_count, ==, 1);
-    g_object_unref(webFrame);
-}
-
-static gboolean print_requested_cb(WebKitWebView* webView, WebKitWebFrame* webFrame, GMainLoop* loop)
-{
-    g_object_set_data(G_OBJECT(webView), &quot;signal-handled&quot;, GINT_TO_POINTER(TRUE));
-    g_main_loop_quit(loop);
-    return TRUE;
-}
-
-static void print_timeout(GMainLoop* loop)
-{
-    if (g_main_loop_is_running(loop))
-        g_main_loop_quit(loop);
-}
-
-static void test_webkit_web_frame_printing(void)
-{
-    WebKitWebView* webView;
-
-    webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(webView);
-    g_assert_cmpint(G_OBJECT(webView)-&gt;ref_count, ==, 1);
-
-    webkit_web_view_load_string(webView,
-                                &quot;&lt;html&gt;&lt;body&gt;&lt;h1&gt;WebKitGTK+!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                                &quot;text/html&quot;,
-                                &quot;utf-8&quot;,
-                                &quot;file://&quot;);
-
-    GMainLoop* loop = g_main_loop_new(NULL, TRUE);
-
-    // Does javascript print() work correctly?
-    g_signal_connect(webView, &quot;print-requested&quot;,
-                     G_CALLBACK(print_requested_cb),
-                     loop);
-
-    g_object_set_data(G_OBJECT(webView), &quot;signal-handled&quot;, GINT_TO_POINTER(FALSE));
-    webkit_web_view_execute_script (webView, &quot;print();&quot;);
-
-    // Give javascriptcore some time to process the print request, but
-    // prepare a timeout to avoid it running forever in case the signal is
-    // never emitted.
-    g_timeout_add(1000, (GSourceFunc)print_timeout, loop);
-    g_main_loop_run(loop);
-
-    g_assert_cmpint(GPOINTER_TO_INT(g_object_get_data(G_OBJECT(webView), &quot;signal-handled&quot;)), ==, TRUE);
-
-    // Does printing directly to a file?
-    GError *error = NULL;
-    gchar* temporaryFilename = NULL;
-    gint fd = g_file_open_tmp (&quot;webkit-testwebframe-XXXXXX&quot;, &amp;temporaryFilename, &amp;error);
-    close(fd);
-
-    if (error) {
-        g_critical(&quot;Failed to open a temporary file for writing: %s.&quot;, error-&gt;message);
-        g_error_free(error);
-        goto cleanup;
-    }
-
-    // We delete the file, so that we can easily figure out that the
-    // file got printed;
-    if (g_unlink(temporaryFilename) == -1) {
-        g_warning(&quot;Failed to delete the temporary file: %s.\nThis may cause the test to be bogus.&quot;, g_strerror(errno));
-    }
-
-    WebKitWebFrame* webFrame = webkit_web_view_get_main_frame(webView);
-    GtkPrintOperation* operation = gtk_print_operation_new();
-    GtkPrintOperationAction action = GTK_PRINT_OPERATION_ACTION_EXPORT;
-    GtkPrintOperationResult result;
-
-    gtk_print_operation_set_export_filename(operation, temporaryFilename);
-    result = webkit_web_frame_print_full (webFrame, operation, action, NULL);
-
-    g_assert_cmpint(result, ==, GTK_PRINT_OPERATION_RESULT_APPLY);
-    g_assert_cmpint(g_file_test(temporaryFilename, G_FILE_TEST_IS_REGULAR), ==, TRUE);
-
-    g_unlink(temporaryFilename);
-    g_object_unref(operation);
-cleanup:
-    g_object_unref(webView);
-    g_free(temporaryFilename);
-}
-
-static void test_webkit_web_frame_response()
-{
-    WebKitWebFrame* frame = g_object_new(WEBKIT_TYPE_WEB_FRAME, NULL);
-    WebKitNetworkResponse* response = webkit_web_frame_get_network_response(frame);
-    g_assert(!response);
-    g_object_unref(frame);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/webview/create_destroy&quot;, test_webkit_web_frame_create_destroy);
-    g_test_add_func(&quot;/webkit/webview/frame-created_signal&quot;, test_webkit_web_frame_created_signal);
-    g_test_add_func(&quot;/webkit/webframe/lifetime&quot;, test_webkit_web_frame_lifetime);
-    g_test_add_func(&quot;/webkit/webview/printing&quot;, test_webkit_web_frame_printing);
-    g_test_add_func(&quot;/webkit/webview/response&quot;, test_webkit_web_frame_response);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebhistoryitemc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebhistoryitem.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,70 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Jan Michael Alonzo
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;glib.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-typedef struct {
-    WebKitWebHistoryItem* item;
-} WebHistoryItemFixture;
-
-static void web_history_item_fixture_setup(WebHistoryItemFixture* fixture,
-                                           gconstpointer data)
-{
-    fixture-&gt;item = webkit_web_history_item_new_with_data(&quot;http://example.com/&quot;, &quot;Example1&quot;);
-    g_assert_cmpint(G_OBJECT(fixture-&gt;item)-&gt;ref_count, == , 1);
-    g_assert(fixture-&gt;item != NULL);
-}
-
-static void web_history_item_fixture_teardown(WebHistoryItemFixture* fixture,
-                                              gconstpointer data)
-{
-    g_assert(fixture-&gt;item != NULL);
-    g_assert_cmpint(G_OBJECT(fixture-&gt;item)-&gt;ref_count, ==, 1);
-}
-
-static void test_webkit_web_history_item_get_data(WebHistoryItemFixture* fixture,
-                                                  gconstpointer data)
-{
-    g_assert_cmpstr(webkit_web_history_item_get_title(fixture-&gt;item), ==, &quot;Example1&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_uri(fixture-&gt;item), ==, &quot;http://example.com/&quot;);
-}
-
-static void test_webkit_web_history_item_alternate_title(WebHistoryItemFixture* fixture,
-                                                         gconstpointer data)
-{
-    webkit_web_history_item_set_alternate_title(fixture-&gt;item, &quot;Alternate title&quot;);
-    g_assert_cmpstr(webkit_web_history_item_get_alternate_title(fixture-&gt;item), ==, &quot;Alternate title&quot;);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add(&quot;/webkit/webhistoryitem/get_data&quot;,
-               WebHistoryItemFixture, 0, web_history_item_fixture_setup,
-               test_webkit_web_history_item_get_data, web_history_item_fixture_teardown);
-    g_test_add(&quot;/webkit/webhistoryitem/alternate_title&quot;,
-               WebHistoryItemFixture, 0, web_history_item_fixture_setup,
-               test_webkit_web_history_item_alternate_title, web_history_item_fixture_teardown);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebinspectorc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebinspector.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,173 +0,0 @@
</span><del>-/*
- * Copyright (C) 2012 Gustavo Noronha Silva &lt;gns@gnome.org&gt;
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &quot;test_utils.h&quot;
-
-#include &lt;string.h&gt;
-#include &lt;glib.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-GMainLoop *loop;
-GtkWidget *window;
-
-static gboolean quitLoop(gpointer data)
-{
-    g_main_loop_quit(loop);
-    return TRUE;
-}
-
-/* Ignore simple translation-related messages and upgrade other
- * messages to warnings.
- */
-static gboolean consoleMessageCallback(WebKitWebView* webView, const char* message, unsigned int line, const char* sourceId)
-{
-    if (strstr(message, &quot;Localized string&quot;) || strstr(message, &quot;Protocol Error: the message is for non-existing domain 'Profiler'&quot;) ||
-        strstr(message, &quot;Didn't find a TreeElement for a representedObject&quot;))
-        return TRUE;
-
-    g_warning(&quot;Console: %s @%d: %s\n&quot;, sourceId, line, message);
-    return TRUE;
-}
-
-static WebKitWebView* inspectElementCallback(WebKitWebInspector *inspector, WebKitWebView *inspectedWebView, int *timesElementInspected)
-{
-    *timesElementInspected = *timesElementInspected + 1;
-
-    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-
-    GtkWidget *newWebView = webkit_web_view_new();
-    gtk_container_add(GTK_CONTAINER(window), newWebView);
-
-    g_signal_connect(newWebView, &quot;console-message&quot;,
-                     G_CALLBACK(consoleMessageCallback), NULL);
-
-    return WEBKIT_WEB_VIEW(newWebView);
-}
-
-static gboolean closeInspector(WebKitWebInspector *inspector, int *timesClosed)
-{
-    *timesClosed = *timesClosed + 1;
-
-    gtk_widget_destroy(window);
-    return TRUE;
-}
-
-static gboolean showInspector(WebKitWebInspector *inspector, gpointer data)
-{
-    g_idle_add(quitLoop, NULL);
-    return TRUE;
-}
-
-static void loadFinished(WebKitWebView *webView, WebKitWebFrame *frame, gboolean *isLoadFinished)
-{
-    *isLoadFinished = TRUE;
-    if (g_main_loop_is_running(loop))
-        g_main_loop_quit(loop);
-}
-
-static void test_webkit_web_inspector_close_and_inspect()
-{
-    WebKitWebView *webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    loop = g_main_loop_new(NULL, TRUE);
-
-    gboolean isLoadFinished = FALSE;
-    g_signal_connect(webView, &quot;load-finished&quot;, G_CALLBACK(loadFinished), &amp;isLoadFinished);
-    webkit_web_view_load_string(webView,
-                                &quot;&lt;html&gt;&lt;body&gt;&lt;p&gt;woohoo&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                                &quot;text/html&quot;, &quot;UTF-8&quot;, &quot;file://&quot;);
-    if (!isLoadFinished)
-        g_main_loop_run(loop);
-
-    g_object_set(webkit_web_view_get_settings(webView), &quot;enable-developer-extras&quot;, TRUE, NULL);
-    WebKitWebInspector *inspector = webkit_web_view_get_inspector(webView);
-
-    int timesElementInspected = 0;
-    int timesClosed = 0;
-    g_object_connect(inspector,
-                     &quot;signal::inspect-web-view&quot;, G_CALLBACK(inspectElementCallback), &amp;timesElementInspected,
-                     &quot;signal::show-window&quot;, G_CALLBACK(showInspector), NULL,
-                     &quot;signal::close-window&quot;, G_CALLBACK(closeInspector), &amp;timesClosed,
-                     NULL);
-
-    webkit_web_inspector_inspect_coordinates(inspector, 0.0, 0.0);
-    g_assert_cmpint(timesElementInspected, ==, 1);
-
-    g_main_loop_run(loop);
-
-    webkit_web_inspector_close(inspector);
-    g_assert_cmpint(timesClosed, ==, 1);
-
-    webkit_web_inspector_inspect_coordinates(inspector, 0.0, 0.0);
-    g_assert_cmpint(timesElementInspected, ==, 2);
-
-    g_main_loop_run(loop);
-
-    gtk_widget_destroy(GTK_WIDGET(webView));
-    g_assert_cmpint(timesClosed, ==, 2);
-
-    g_main_loop_unref(loop);
-}
-
-static void test_webkit_web_inspector_destroy_inspected_web_view()
-{
-    WebKitWebView *webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    loop = g_main_loop_new(NULL, TRUE);
-
-    gboolean isLoadFinished = FALSE;
-    g_signal_connect(webView, &quot;load-finished&quot;, G_CALLBACK(loadFinished), &amp;isLoadFinished);
-    webkit_web_view_load_string(webView,
-                                &quot;&lt;html&gt;&lt;body&gt;&lt;p&gt;woohoo&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;&quot;,
-                                &quot;text/html&quot;, &quot;UTF-8&quot;, &quot;file://&quot;);
-    if (!isLoadFinished)
-        g_main_loop_run(loop);
-
-    g_object_set(webkit_web_view_get_settings(webView), &quot;enable-developer-extras&quot;, TRUE, NULL);
-    WebKitWebInspector *inspector = webkit_web_view_get_inspector(webView);
-
-    int timesElementInspected = 0;
-    int timesClosed = 0;
-    g_object_connect(inspector,
-                     &quot;signal::inspect-web-view&quot;, G_CALLBACK(inspectElementCallback), &amp;timesElementInspected,
-                     &quot;signal::show-window&quot;, G_CALLBACK(showInspector), NULL,
-                     &quot;signal::close-window&quot;, G_CALLBACK(closeInspector), &amp;timesClosed,
-                     NULL);
-
-    webkit_web_inspector_inspect_coordinates(inspector, 0.0, 0.0);
-    g_assert_cmpint(timesElementInspected, ==, 1);
-
-    g_main_loop_run(loop);
-
-    gtk_widget_destroy(GTK_WIDGET(webView));
-    g_assert_cmpint(timesClosed, ==, 1);
-
-    g_main_loop_unref(loop);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/webinspector/destroy-inspected-web-view&quot;, test_webkit_web_inspector_destroy_inspected_web_view);
-    g_test_add_func(&quot;/webkit/webinspector/close-and-inspect&quot;, test_webkit_web_inspector_close_and_inspect);
-
-    return g_test_run();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebplugindatabasec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebplugindatabase.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,78 +0,0 @@
</span><del>-/*
- * Copyright (C) 2010 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;errno.h&gt;
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-/* This function is not public, so we need an extern declaration */
-extern void webkit_web_settings_add_extra_plugin_directory(WebKitWebView* view, const gchar* directory);
-
-static void test_webkit_web_plugin_database_get_plugins()
-{
-    WebKitWebView* view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    WebKitWebPluginDatabase* database;
-    GSList* pluginList, *p;
-    gboolean found = FALSE;
-    gboolean enabled = FALSE;
-
-    webkit_web_settings_add_extra_plugin_directory(view, TEST_PLUGIN_DIR);
-    g_object_ref_sink(G_OBJECT(view));
-
-    database = webkit_get_web_plugin_database();
-    pluginList = webkit_web_plugin_database_get_plugins(database);
-    for (p = pluginList; p; p = p-&gt;next) {
-        WebKitWebPlugin* plugin = (WebKitWebPlugin*)p-&gt;data;
-        if (!g_strcmp0(webkit_web_plugin_get_name(plugin), &quot;WebKit Test PlugIn&quot;) &amp;&amp;
-            !g_strcmp0(webkit_web_plugin_get_description(plugin), &quot;Simple Netscape® plug-in that handles test content for WebKit&quot;)) {
-            found = TRUE;
-            enabled = webkit_web_plugin_get_enabled(plugin);
-            webkit_web_plugin_set_enabled(plugin, FALSE);
-        }
-    }
-    webkit_web_plugin_database_plugins_list_free(pluginList);
-    g_assert(found);
-    g_assert(enabled);
-
-    webkit_web_plugin_database_refresh(database);
-    pluginList = webkit_web_plugin_database_get_plugins(database);
-
-    for (p = pluginList; p; p = p-&gt;next) {
-        WebKitWebPlugin* plugin = (WebKitWebPlugin*)p-&gt;data;
-        if (!g_strcmp0(webkit_web_plugin_get_name(plugin), &quot;WebKit Test PlugIn&quot;) &amp;&amp;
-            !g_strcmp0(webkit_web_plugin_get_description(plugin), &quot;Simple Netscape® plug-in that handles test content for WebKit&quot;))
-            enabled = webkit_web_plugin_get_enabled(plugin);
-    }
-    webkit_web_plugin_database_plugins_list_free(pluginList);
-    g_assert(!enabled);
-
-    g_object_unref(view);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/webplugindatabase/getplugins&quot;, test_webkit_web_plugin_database_get_plugins);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebresourcec"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebresource.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,331 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Jan Michael Alonzo
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;glib.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;libsoup/soup.h&gt;
-#include &lt;string.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-#define INDEX_HTML &quot;&lt;html&gt;&lt;/html&gt;&quot;
-#define MAIN_HTML &quot;&lt;html&gt;&lt;head&gt;&lt;script language=\&quot;javascript\&quot; src=\&quot;/javascript.js\&quot;&gt;&lt;/script&gt;&lt;/head&gt;&lt;body&gt;&lt;h1&gt;hah&lt;/h1&gt;&lt;/html&gt;&quot;
-#define JAVASCRIPT &quot;function blah () { var a = 1; }&quot;
-
-GMainLoop* loop;
-SoupSession *session;
-char *base_uri;
-WebKitWebResource* main_resource;
-WebKitWebResource* sub_resource;
-
-typedef struct {
-    WebKitWebResource* webResource;
-    WebKitWebView* webView;
-} WebResourceFixture;
-
-/* For real request testing */
-static void
-server_callback (SoupServer *server, SoupMessage *msg,
-                 const char *path, GHashTable *query,
-                 SoupClientContext *context, gpointer data)
-{
-    if (msg-&gt;method != SOUP_METHOD_GET) {
-        soup_message_set_status (msg, SOUP_STATUS_NOT_IMPLEMENTED);
-        return;
-    }
-
-    soup_message_set_status (msg, SOUP_STATUS_OK);
-
-    /* Redirect */
-    if (g_str_equal (path, &quot;/&quot;)) {
-        soup_message_set_status (msg, SOUP_STATUS_MOVED_PERMANENTLY);
-
-        soup_message_headers_append (msg-&gt;response_headers,
-                                     &quot;Location&quot;, &quot;/index.html&quot;);
-    } else if (g_str_equal (path, &quot;/index.html&quot;)) {
-        soup_message_body_append (msg-&gt;response_body,
-                                  SOUP_MEMORY_COPY,
-                                  INDEX_HTML,
-                                  strlen (INDEX_HTML));
-    } else if (g_str_equal (path, &quot;/main.html&quot;)) {
-        soup_message_body_append (msg-&gt;response_body,
-                                  SOUP_MEMORY_COPY,
-                                  MAIN_HTML,
-                                  strlen (MAIN_HTML));
-    } else if (g_str_equal (path, &quot;/javascript.js&quot;)) {
-        soup_message_body_append (msg-&gt;response_body,
-                                  SOUP_MEMORY_COPY,
-                                  JAVASCRIPT,
-                                  strlen (JAVASCRIPT));
-    }
-
-
-    soup_message_body_complete (msg-&gt;response_body);
-}
-
-static void web_resource_fixture_setup(WebResourceFixture* fixture, gconstpointer data)
-{
-    fixture-&gt;webView = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(fixture-&gt;webView);
-    const gchar* webData = &quot;&lt;html&gt;&lt;/html&gt;&quot;;
-    fixture-&gt;webResource = webkit_web_resource_new(webData, strlen(webData), &quot;http://example.com/&quot;, &quot;text/html&quot;, &quot;utf8&quot;, &quot;Example.com&quot;);
-    g_assert(fixture-&gt;webResource);
-}
-
-static void web_resource_fixture_teardown(WebResourceFixture* fixture, gconstpointer data)
-{
-    g_assert(fixture-&gt;webResource);
-    g_object_unref(fixture-&gt;webResource);
-    g_object_unref(fixture-&gt;webView);
-}
-
-static void test_webkit_web_resource_get_url(WebResourceFixture* fixture, gconstpointer data)
-{
-    gchar* url;
-    g_object_get(G_OBJECT(fixture-&gt;webResource), &quot;uri&quot;, &amp;url, NULL);
-    g_assert_cmpstr(url, ==, &quot;http://example.com/&quot;);
-    g_assert_cmpstr(webkit_web_resource_get_uri(fixture-&gt;webResource) ,==,&quot;http://example.com/&quot;);
-    g_free(url);
-}
-
-static void test_webkit_web_resource_get_data(WebResourceFixture* fixture, gconstpointer data)
-{
-    GString* charData = webkit_web_resource_get_data(fixture-&gt;webResource);
-    g_assert_cmpstr(charData-&gt;str, ==, &quot;&lt;html&gt;&lt;/html&gt;&quot;);
-}
-
-static void test_webkit_web_resource_get_mime_type(WebResourceFixture* fixture, gconstpointer data)
-{
-    gchar* mime_type;
-    g_object_get(G_OBJECT(fixture-&gt;webResource), &quot;mime-type&quot;, &amp;mime_type, NULL);
-    g_assert_cmpstr(mime_type, ==, &quot;text/html&quot;);
-    g_assert_cmpstr(webkit_web_resource_get_mime_type(fixture-&gt;webResource),==,&quot;text/html&quot;);
-    g_free(mime_type);
-}
-
-static void test_webkit_web_resource_get_encoding(WebResourceFixture* fixture, gconstpointer data)
-{
-    gchar* text_encoding;
-    g_object_get(G_OBJECT(fixture-&gt;webResource), &quot;encoding&quot;, &amp;text_encoding, NULL);
-    g_assert_cmpstr(text_encoding, ==, &quot;utf8&quot;);
-    g_assert_cmpstr(webkit_web_resource_get_encoding(fixture-&gt;webResource),==,&quot;utf8&quot;);
-    g_free(text_encoding);
-}
-
-static void test_webkit_web_resource_get_frame_name(WebResourceFixture* fixture, gconstpointer data)
-{
-    gchar* frame_name;
-    g_object_get(G_OBJECT(fixture-&gt;webResource), &quot;frame-name&quot;, &amp;frame_name, NULL);
-    g_assert_cmpstr(frame_name, ==, &quot;Example.com&quot;);
-    g_assert_cmpstr(webkit_web_resource_get_frame_name(fixture-&gt;webResource),==,&quot;Example.com&quot;);
-    g_free(frame_name);
-}
-
-static void resource_request_starting_cb(WebKitWebView* web_view, WebKitWebFrame* web_frame, WebKitWebResource* web_resource, WebKitNetworkRequest* request, WebKitNetworkResponse* response, gpointer data)
-{
-    gint* been_there = data;
-    *been_there = *been_there + 1;
-
-    if (*been_there == 1) {
-        g_assert(!main_resource);
-        main_resource = g_object_ref(web_resource);
-
-        g_assert_cmpstr(webkit_web_resource_get_uri(web_resource), ==, base_uri);
-
-        /* This should be a redirect, so the response must be NULL */
-        g_assert(!response);
-    } else if (*been_there == 2) {
-        char* uri = g_strdup_printf(&quot;%sindex.html&quot;, base_uri);
-
-        g_assert_cmpstr(webkit_web_resource_get_uri(web_resource), ==, uri);
-
-        /* Cancel the request. */
-        webkit_network_request_set_uri(request, &quot;about:blank&quot;);
-
-        g_free(uri);
-    }
-}
-
-static void notify_load_status_cb(WebKitWebView* web_view, GParamSpec* pspec, gpointer data)
-{
-    if (webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FINISHED) {
-        gboolean* been_there = data;
-        *been_there = TRUE;
-
-        g_assert_cmpstr(webkit_web_view_get_uri(web_view), ==, &quot;about:blank&quot;);
-
-        g_main_loop_quit(loop);
-    }
-}
-
-static void test_web_resource_loading()
-{
-    WebKitWebView* web_view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    gint been_to_resource_request_starting = 0;
-    gboolean been_to_load_finished = FALSE;
-    WebKitWebFrame* web_frame;
-    WebKitWebDataSource* data_source;
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_object_ref_sink(web_view);
-
-    g_signal_connect(web_view, &quot;resource-request-starting&quot;,
-                     G_CALLBACK(resource_request_starting_cb),
-                     &amp;been_to_resource_request_starting);
-
-    g_signal_connect(web_view, &quot;notify::load-status&quot;,
-                     G_CALLBACK(notify_load_status_cb),
-                     &amp;been_to_load_finished);
-
-    webkit_web_view_load_uri(web_view, base_uri);
-
-    /* We won't get finished immediately, because of the redirect */
-    g_main_loop_run(loop);
-    
-    web_frame = webkit_web_view_get_main_frame(web_view);
-    data_source = webkit_web_frame_get_data_source(web_frame);
-
-    g_assert(main_resource);
-    g_assert(webkit_web_data_source_get_main_resource(data_source) == main_resource);
-    g_object_unref(main_resource);
-    
-    g_assert_cmpint(been_to_resource_request_starting, ==, 2);
-    g_assert_cmpint(been_to_load_finished, ==, TRUE);
-
-    g_object_unref(web_view);
-    g_main_loop_unref(loop);
-}
-
-static void resource_request_starting_sub_cb(WebKitWebView* web_view, WebKitWebFrame* web_frame, WebKitWebResource* web_resource, WebKitNetworkRequest* request, WebKitNetworkResponse* response, gpointer data)
-{
-    if (!main_resource)
-        main_resource = g_object_ref(web_resource);
-    else if (!sub_resource)
-      sub_resource = g_object_ref(web_resource);
-}
-
-static void notify_load_status_sub_cb(WebKitWebView* web_view, GParamSpec* pspec, gpointer data)
-{
-    if (webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FINISHED)
-        g_main_loop_quit(loop);
-}
-
-static gboolean idle_quit_loop_cb(gpointer data)
-{
-    g_main_loop_quit(loop);
-    return FALSE;
-}
-
-static void test_web_resource_sub_resource_loading()
-{
-    WebKitWebView* web_view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    WebKitWebFrame* web_frame;
-    WebKitWebDataSource* data_source;
-    GList* sub_resources;
-    char* uri = g_strdup_printf(&quot;%smain.html&quot;, base_uri);
-
-    main_resource = NULL;
-    
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_object_ref_sink(web_view);
-
-    g_signal_connect(web_view, &quot;resource-request-starting&quot;,
-                     G_CALLBACK(resource_request_starting_sub_cb),
-                     NULL);
-
-    g_signal_connect(web_view, &quot;notify::load-status&quot;,
-                     G_CALLBACK(notify_load_status_sub_cb),
-                     NULL);
-
-    webkit_web_view_load_uri(web_view, uri);
-
-    g_main_loop_run(loop);
-
-    /* The main resource should be loaded; now let's wait for the sub-resource to load */
-    g_idle_add(idle_quit_loop_cb, NULL);
-    g_main_loop_run(loop);
-    
-    g_assert(main_resource &amp;&amp; sub_resource);
-    g_assert(main_resource != sub_resource);
-
-    web_frame = webkit_web_view_get_main_frame(web_view);
-    data_source = webkit_web_frame_get_data_source(web_frame);
-
-    g_assert(webkit_web_data_source_get_main_resource(data_source) == main_resource);
-    g_object_unref(main_resource);
-
-    sub_resources = webkit_web_data_source_get_subresources(data_source);
-    // Expected resources: javascripts.js, favicon.ico
-    g_assert(sub_resources);
-    g_assert(sub_resources-&gt;next);
-    g_assert(!sub_resources-&gt;next-&gt;next);
-
-    // Test that the object we got from the data source is the same
-    // that went through resource-request-starting. Note that the order is
-    // not important (and not guaranteed since the resources are stored in a
-    // hashtable).
-    g_assert(WEBKIT_WEB_RESOURCE(sub_resources-&gt;data) == sub_resource
-             || WEBKIT_WEB_RESOURCE(sub_resources-&gt;next-&gt;data) == sub_resource);
-
-    g_object_unref(web_view);
-    g_main_loop_unref(loop);
-}
-
-int main(int argc, char** argv)
-{
-    SoupServer* server;
-    SoupURI* soup_uri;
-
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    server = soup_server_new(SOUP_SERVER_PORT, 0, NULL);
-    soup_server_run_async(server);
-
-    soup_server_add_handler(server, NULL, server_callback, NULL, NULL);
-
-    soup_uri = soup_uri_new(&quot;http://127.0.0.1/&quot;);
-    soup_uri_set_port(soup_uri, soup_server_get_port(server));
-
-    base_uri = soup_uri_to_string(soup_uri, FALSE);
-    soup_uri_free(soup_uri);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add(&quot;/webkit/webresource/get_url&quot;,
-               WebResourceFixture, 0, web_resource_fixture_setup,
-               test_webkit_web_resource_get_url, web_resource_fixture_teardown);
-    g_test_add(&quot;/webkit/webresource/get_mime_type&quot;,
-               WebResourceFixture, 0, web_resource_fixture_setup,
-               test_webkit_web_resource_get_mime_type, web_resource_fixture_teardown);
-    g_test_add(&quot;/webkit/webresource/get_text_encoding_name&quot;,
-               WebResourceFixture, 0, web_resource_fixture_setup,
-               test_webkit_web_resource_get_encoding, web_resource_fixture_teardown);
-    g_test_add(&quot;/webkit/webresource/get_frame_name&quot;,
-               WebResourceFixture, 0, web_resource_fixture_setup,
-               test_webkit_web_resource_get_frame_name, web_resource_fixture_teardown);
-    g_test_add(&quot;/webkit/webresource/get_data&quot;,
-               WebResourceFixture, 0, web_resource_fixture_setup,
-               test_webkit_web_resource_get_data, web_resource_fixture_teardown);
-
-    g_test_add_func(&quot;/webkit/webresource/loading&quot;, test_web_resource_loading);
-    g_test_add_func(&quot;/webkit/webresource/sub_resource_loading&quot;, test_web_resource_sub_resource_loading);
-
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebsettingsc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebsettings.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,159 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Jan Michael Alonzo
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;glib.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-/* Private API */
-char* webkitWebSettingsUserAgentForURI(WebKitWebSettings *settings, const char *uri);
-
-static void test_webkit_web_settings_copy(void)
-{
-    WebKitWebSettings *settings = webkit_web_settings_new();
-
-    // Set some non-default settings to verify that settings are properly copied.
-    g_object_set(settings,
-                 &quot;enable-webgl&quot;, TRUE,
-                 &quot;enable-fullscreen&quot;, TRUE,
-                 &quot;auto-load-images&quot;, FALSE,
-                 &quot;default-encoding&quot;, &quot;utf-8&quot;,
-                 &quot;enable-mediasource&quot;, TRUE,
-                 NULL);
-
-    WebKitWebSettings *copy = webkit_web_settings_copy(settings);
-
-    gboolean enableWebGL = FALSE;
-    gboolean enableFullscreen = FALSE;
-    gboolean autoLoadImages = FALSE;
-    gboolean enableMediaSource = FALSE;
-    char *defaultEncoding = 0;
-    g_object_get(copy,
-                 &quot;enable-fullscreen&quot;, &amp;enableFullscreen,
-                 &quot;enable-webgl&quot;, &amp;enableWebGL,
-                 &quot;auto-load-images&quot;, &amp;autoLoadImages,
-                 &quot;default-encoding&quot;, &amp;defaultEncoding,
-                 &quot;enable-mediasource&quot;, &amp;enableMediaSource,
-                 NULL);
-
-    g_assert(enableWebGL);
-    g_assert(enableFullscreen);
-    g_assert(!autoLoadImages);
-    g_assert_cmpstr(defaultEncoding, ==, &quot;utf-8&quot;);
-    g_assert(enableMediaSource);
-    g_free(defaultEncoding);
-}
-
-static void test_non_quirky_user_agents(WebKitWebSettings *settings, const char *defaultUserAgent)
-{
-    char *userAgent = 0;
-
-    // test a custom UA string
-    userAgent = 0;
-    g_object_set(settings, &quot;user-agent&quot;, &quot;testwebsettings/0.1&quot;, NULL);
-    g_object_get(settings,&quot;user-agent&quot;, &amp;userAgent, NULL);
-    g_assert_cmpstr(userAgent, ==, &quot;testwebsettings/0.1&quot;);
-    g_free(userAgent);
-
-    // setting it to NULL or an empty value should give us the default UA string
-    userAgent = 0;
-    g_object_set(settings, &quot;user-agent&quot;, 0, NULL);
-    g_object_get(settings,&quot;user-agent&quot;, &amp;userAgent, NULL);
-    g_assert_cmpstr(userAgent, ==, defaultUserAgent);
-    g_free(userAgent);
-
-    userAgent = 0;
-    g_object_set(settings, &quot;user-agent&quot;, &quot;&quot;, NULL);
-    g_object_get(settings,&quot;user-agent&quot;, &amp;userAgent, NULL);
-    g_assert_cmpstr(userAgent, ==, defaultUserAgent);
-    g_free(userAgent);
-}
-
-static void test_webkit_web_settings_user_agent(void)
-{
-    WebKitWebSettings *settings;
-    GtkWidget *webView;
-    char *defaultUserAgent;
-    char *userAgent = 0;
-    g_test_bug(&quot;17375&quot;);
-
-    webView = webkit_web_view_new();
-    g_object_ref_sink(webView);
-
-    settings = webkit_web_view_get_settings(WEBKIT_WEB_VIEW(webView));
-    defaultUserAgent = g_strdup(webkit_web_settings_get_user_agent(settings));
-
-    test_non_quirky_user_agents(settings, defaultUserAgent);
-
-    /* Test quirky google domains */
-    g_object_set(settings, &quot;user-agent&quot;, &quot;testwebsettings/0.1&quot;, NULL);
-
-    userAgent = webkitWebSettingsUserAgentForURI(settings, &quot;http://www.google.com/&quot;);
-    g_assert_cmpstr(userAgent, ==, &quot;testwebsettings/0.1&quot;);
-    g_free(userAgent);
-
-    userAgent = webkitWebSettingsUserAgentForURI(settings, &quot;http://gmail.com/&quot;);
-    g_assert_cmpstr(userAgent, ==, &quot;testwebsettings/0.1&quot;);
-    g_free(userAgent);
-
-    userAgent = webkitWebSettingsUserAgentForURI(settings, &quot;http://www.google.com.br/&quot;);
-    g_assert_cmpstr(userAgent, ==, &quot;testwebsettings/0.1&quot;);
-    g_free(userAgent);
-
-    userAgent = webkitWebSettingsUserAgentForURI(settings, &quot;http://calendar.google.com/&quot;);
-    g_assert_cmpstr(userAgent, ==, &quot;testwebsettings/0.1&quot;);
-    g_free(userAgent);
-
-    /* Now enable quirks handling */
-    g_object_set(settings, &quot;enable-site-specific-quirks&quot;, TRUE, NULL);
-
-    test_non_quirky_user_agents(settings, defaultUserAgent);
-
-    g_object_set(settings, &quot;user-agent&quot;, &quot;testwebsettings/0.1&quot;, NULL);
-
-    userAgent = webkitWebSettingsUserAgentForURI(settings, &quot;http://www.google.com/&quot;);
-    g_assert_cmpstr(userAgent, ==, defaultUserAgent);
-    g_free(userAgent);
-
-    userAgent = webkitWebSettingsUserAgentForURI(settings, &quot;http://gmail.com/&quot;);
-    g_assert_cmpstr(userAgent, ==, defaultUserAgent);
-    g_free(userAgent);
-
-    userAgent = webkitWebSettingsUserAgentForURI(settings, &quot;http://www.google.com.br/&quot;);
-    g_assert_cmpstr(userAgent, ==, defaultUserAgent);
-    g_free(userAgent);
-
-    userAgent = webkitWebSettingsUserAgentForURI(settings, &quot;http://www.google.uk.not.com.br/&quot;);
-    g_assert_cmpstr(userAgent, ==, &quot;testwebsettings/0.1&quot;);
-    g_free(userAgent);
-
-    g_free(defaultUserAgent);
-    g_object_unref(webView);
-}
-
-int main(int argc, char **argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/websettings/user_agent&quot;, test_webkit_web_settings_user_agent);
-    g_test_add_func(&quot;/webkit/websettings/copy&quot;, test_webkit_web_settings_copy);
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwebviewc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwebview.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,724 +0,0 @@
</span><del>-/*
- * Copyright (C) 2008 Holger Hans Peter Freyther
- * Copyright (C) 2009, 2010 Collabora Ltd.
- * Copyright (C) 2012 Igalia S.L.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &quot;test_utils.h&quot;
-
-#include &lt;errno.h&gt;
-#include &lt;unistd.h&gt;
-#include &lt;string.h&gt;
-
-#include &lt;glib.h&gt;
-#include &lt;glib/gstdio.h&gt;
-#include &lt;gdk/gdk.h&gt;
-#include &lt;gdk/gdkkeysyms.h&gt;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-GMainLoop* loop;
-SoupSession *session;
-char* base_uri;
-
-/* For real request testing */
-static void
-server_callback(SoupServer* server, SoupMessage* msg,
-                 const char* path, GHashTable* query,
-                 SoupClientContext* context, gpointer data)
-{
-    if (msg-&gt;method != SOUP_METHOD_GET) {
-        soup_message_set_status(msg, SOUP_STATUS_NOT_IMPLEMENTED);
-        return;
-    }
-
-    soup_message_set_status(msg, SOUP_STATUS_OK);
-
-    if (g_str_equal(path, &quot;/favicon.ico&quot;)) {
-        char* contents;
-        gsize length;
-        GError* error = NULL;
-
-        g_file_get_contents(&quot;blank.ico&quot;, &amp;contents, &amp;length, &amp;error);
-        g_assert(!error);
-
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_TAKE, contents, length);
-    } else if (g_str_equal(path, &quot;/bigdiv.html&quot;)) {
-        char* contents = g_strdup(&quot;&lt;html&gt;&lt;body&gt;&lt;a id=\&quot;link\&quot; href=\&quot;http://abc.def\&quot;&gt;test&lt;/a&gt;&lt;div style=\&quot;background-color: green; height: 1200px;\&quot;&gt;&lt;/div&gt;&lt;/body&gt;&lt;/html&gt;&quot;);
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_TAKE, contents, strlen(contents));
-    } else if (g_str_equal(path, &quot;/iframe.html&quot;)) {
-        char* contents = g_strdup(&quot;&lt;html&gt;&lt;body id=\&quot;some-content\&quot;&gt;&lt;div style=\&quot;background-color: green; height: 50px;\&quot;&gt;&lt;/div&gt;&lt;iframe src=\&quot;bigdiv.html\&quot;&gt;&lt;/iframe&gt;&lt;/body&gt;&lt;/html&gt;&quot;);
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_TAKE, contents, strlen(contents));
-    } else {
-        char* contents = g_strdup(&quot;&lt;html&gt;&lt;body&gt;test&lt;/body&gt;&lt;/html&gt;&quot;);
-        soup_message_body_append(msg-&gt;response_body, SOUP_MEMORY_TAKE, contents, strlen(contents));
-    }
-
-    soup_message_body_complete(msg-&gt;response_body);
-}
-
-static void idle_quit_loop_cb(WebKitWebView* web_view, GParamSpec* pspec, gpointer data)
-{
-    if (webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FINISHED ||
-        webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FAILED)
-        g_main_loop_quit(loop);
-}
-
-static gboolean timeout_cb(gpointer data)
-{
-    g_error(&quot;Didn't get icon-uri before timing out.&quot;);
-    return FALSE;
-}
-
-static void icon_uri_changed_cb(WebKitWebView* web_view, GParamSpec* pspec, gpointer data)
-{
-    char* expected_uri;
-
-    g_assert_cmpstr(g_param_spec_get_name(pspec), ==, &quot;icon-uri&quot;);
-
-    expected_uri = g_strdup_printf(&quot;%sfavicon.ico&quot;, base_uri);
-    g_assert_cmpstr(webkit_web_view_get_icon_uri(web_view), ==, expected_uri);
-    g_free(expected_uri);
-
-    g_main_loop_quit(loop);
-}
-
-static void icon_loaded_cb(WebKitWebView* web_view, char* icon_uri, gpointer data)
-{
-    gboolean* been_here = (gboolean*)data;
-    char* expected_uri = g_strdup_printf(&quot;%sfavicon.ico&quot;, base_uri);
-    g_assert_cmpstr(icon_uri, ==, expected_uri);
-    g_free(expected_uri);
-
-    g_assert_cmpstr(icon_uri, ==, webkit_web_view_get_icon_uri(web_view));
-
-    *been_here = TRUE;
-}
-
-static void test_webkit_web_view_icon_uri()
-{
-    gboolean been_to_icon_loaded = FALSE;
-    WebKitWebView* view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    g_object_ref_sink(G_OBJECT(view));
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_object_connect(G_OBJECT(view),
-                     &quot;signal::notify::icon-uri&quot;, icon_uri_changed_cb, NULL,
-                     &quot;signal::icon-loaded&quot;, icon_loaded_cb, &amp;been_to_icon_loaded,
-                     NULL);
-
-    webkit_web_view_load_uri(view, base_uri);
-
-    guint timeout_id = g_timeout_add(500, timeout_cb, 0);
-
-    g_main_loop_run(loop);
-
-    g_source_remove(timeout_id);
-
-    g_assert(been_to_icon_loaded);
-
-    g_object_unref(view);
-}
-
-static gboolean map_event_cb(GtkWidget *widget, GdkEvent* event, gpointer data)
-{
-    GMainLoop* loop = (GMainLoop*)data;
-    g_main_loop_quit(loop);
-
-    return FALSE;
-}
-
-static gboolean quit_after_short_delay_cb(gpointer data)
-{
-    g_main_loop_quit((GMainLoop*)data);
-    return FALSE;
-}
-
-static void test_webkit_web_view_grab_focus()
-{
-    char* uri = g_strconcat(base_uri, &quot;iframe.html&quot;, NULL);
-    GtkWidget* window = gtk_window_new(GTK_WINDOW_POPUP);
-    GtkWidget* scrolled_window = gtk_scrolled_window_new(NULL, NULL);
-    WebKitWebView* view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    GtkAdjustment* adjustment;
-
-    gtk_window_set_default_size(GTK_WINDOW(window), 400, 200);
-
-    gtk_container_add(GTK_CONTAINER(window), scrolled_window);
-    gtk_container_add(GTK_CONTAINER(scrolled_window), GTK_WIDGET(view));
-
-    gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window),
-                                   GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_signal_connect(view, &quot;notify::load-status&quot;, G_CALLBACK(idle_quit_loop_cb), NULL);
-
-    /* Wait for window to show up */
-    gtk_widget_show_all(window);
-    g_signal_connect(window, &quot;map-event&quot;,
-                     G_CALLBACK(map_event_cb), loop);
-    g_main_loop_run(loop);
-
-    /* Load a page with a big div that will cause scrollbars to appear */
-    webkit_web_view_load_uri(view, uri);
-    g_main_loop_run(loop);
-
-    adjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(scrolled_window));
-    g_assert_cmpfloat(gtk_adjustment_get_value(adjustment), ==, 0.0);
-
-    /* Since webkit_web_view_execute_script does not return a value,
-       it is impossible to know if an inner document has focus after
-       a node of it was focused via .focus() method.
-       The code below is an workaround: if the node has focus, a scroll
-       action is performed and afterward it is checked if the adjustment
-       has to be different from 0.
-    */
-    char script[] = &quot;var innerDoc = document.defaultView.frames[0].document; \
-                     innerDoc.getElementById(\&quot;link\&quot;).focus();              \
-                     if (innerDoc.hasFocus())                                \
-                        window.scrollBy(0, 100);&quot;;
-
-    /* Focus an element using JavaScript */
-    webkit_web_view_execute_script(view, script);
-
-    /* Adjustments update asynchronously, so we must wait a bit. */
-    g_timeout_add(100, quit_after_short_delay_cb, loop);
-    g_main_loop_run(loop);
-
-    /* Make sure the ScrolledWindow noticed the scroll */
-    g_assert_cmpfloat(gtk_adjustment_get_value(adjustment), !=, 0.0);
-
-    g_free(uri);
-    gtk_widget_destroy(window);
-}
-
-static void do_test_webkit_web_view_adjustments(gboolean with_page_cache)
-{
-    char* effective_uri = g_strconcat(base_uri, &quot;bigdiv.html&quot;, NULL);
-    char* second_uri = g_strconcat(base_uri, &quot;iframe.html&quot;, NULL);
-    GtkWidget* window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    GtkWidget* scrolled_window = gtk_scrolled_window_new(NULL, NULL);
-    WebKitWebView* view = WEBKIT_WEB_VIEW(webkit_web_view_new());
-    GtkAdjustment* adjustment;
-    double lower;
-    double upper;
-
-    if (with_page_cache) {
-        WebKitWebSettings* settings = webkit_web_view_get_settings(view);
-        g_object_set(settings, &quot;enable-page-cache&quot;, TRUE, NULL);
-    }
-
-    gtk_window_set_default_size(GTK_WINDOW(window), 400, 200);
-
-    gtk_container_add(GTK_CONTAINER(window), scrolled_window);
-    gtk_container_add(GTK_CONTAINER(scrolled_window), GTK_WIDGET(view));
-
-    gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolled_window),
-                                   GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_object_connect(G_OBJECT(view),
-                     &quot;signal::notify::load-status&quot;, idle_quit_loop_cb, NULL,
-                     NULL);
-
-    /* Wait for window to show up */
-    gtk_widget_show_all(window);
-    g_signal_connect(window, &quot;map-event&quot;,
-                     G_CALLBACK(map_event_cb), loop);
-    g_main_loop_run(loop);
-
-    /* Load a page with a big div that will cause scrollbars to appear */
-    webkit_web_view_load_uri(view, effective_uri);
-    g_main_loop_run(loop);
-
-    /* Adjustments update asynchronously, so we must wait a bit. */
-    g_timeout_add(100, quit_after_short_delay_cb, loop);
-    g_main_loop_run(loop);
-
-    adjustment = gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(scrolled_window));
-    g_assert_cmpfloat(gtk_adjustment_get_value(adjustment), ==, 0.0);
-
-    lower = gtk_adjustment_get_lower(adjustment);
-    upper = gtk_adjustment_get_upper(adjustment);
-
-    /* Scroll the view using JavaScript */
-    webkit_web_view_execute_script(view, &quot;window.scrollBy(0, 100)&quot;);
-
-    /* Adjustments update asynchronously, so we must wait a bit. */
-    g_timeout_add(100, quit_after_short_delay_cb, loop);
-    g_main_loop_run(loop);
-
-    /* Make sure the ScrolledWindow noticed the scroll */
-    g_assert_cmpfloat(gtk_adjustment_get_value(adjustment), ==, 100.0);
-
-    /* Load a second URI */
-    webkit_web_view_load_uri(view, second_uri);
-    g_main_loop_run(loop);
-
-    /* The page loaded but the adjustments may not be updated yet. Wait a bit. */
-    g_timeout_add(100, quit_after_short_delay_cb, loop);
-    g_main_loop_run(loop);
-
-    /* Make sure the scrollbar has been reset */
-    g_assert_cmpfloat(gtk_adjustment_get_value(adjustment), ==, 0.0);
-
-    /* Go back */
-    webkit_web_view_go_back(view);
-
-    /* When using page cache, go_back will return syncronously */
-    if (!with_page_cache)
-        g_main_loop_run(loop);
-
-    /* Make sure GTK+ has time to process the changes in size, for the adjusments */
-    while (gtk_events_pending())
-        gtk_main_iteration();
-
-    /* Make sure upper and lower bounds have been restored correctly */
-    g_assert_cmpfloat(lower, ==, gtk_adjustment_get_lower(adjustment));
-    g_assert_cmpfloat(upper, ==, gtk_adjustment_get_upper(adjustment));
-    g_assert_cmpfloat(gtk_adjustment_get_value(adjustment), ==, 100.0);
-
-    g_free(effective_uri);
-    g_free(second_uri);
-
-    gtk_widget_destroy(window);
-}
-
-static void test_webkit_web_view_adjustments()
-{
-    /* Test this with page cache disabled, and enabled. */
-    do_test_webkit_web_view_adjustments(FALSE);
-    do_test_webkit_web_view_adjustments(TRUE);
-}
-
-gboolean delayed_destroy(gpointer data)
-{
-    gtk_widget_destroy(GTK_WIDGET(data));
-    g_main_loop_quit(loop);
-    return FALSE;
-}
-
-static void test_webkit_web_view_destroy()
-{
-    GtkWidget* window;
-    GtkWidget* web_view;
-
-    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    web_view = webkit_web_view_new();
-
-    gtk_container_add(GTK_CONTAINER(window), web_view);
-
-    gtk_widget_show_all(window);
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_signal_connect(window, &quot;map-event&quot;,
-                     G_CALLBACK(map_event_cb), loop);
-    g_main_loop_run(loop);
-
-    g_idle_add(delayed_destroy, web_view);
-    g_main_loop_run(loop);
-
-    gtk_widget_destroy(window);
-}
-
-static void test_webkit_web_view_window_features()
-{
-    GtkWidget* window;
-    GtkWidget* web_view;
-    
-    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    web_view = webkit_web_view_new();
-    
-    gtk_container_add(GTK_CONTAINER(window), web_view);
-    
-    gtk_widget_show_all(window);
-    
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_signal_connect(window, &quot;map-event&quot;,
-                     G_CALLBACK(map_event_cb), loop);
-    g_main_loop_run(loop);
-    
-    /* Bug #36144 */
-    g_object_set(G_OBJECT(web_view), &quot;window-features&quot;, NULL, NULL);
-    
-    gtk_widget_destroy(window);
-}    
-
-static void test_webkit_web_view_in_offscreen_window_does_not_crash()
-{
-    loop = g_main_loop_new(NULL, TRUE);
-
-    GtkWidget *window = gtk_offscreen_window_new();
-    GtkWidget *web_view = webkit_web_view_new();
-
-    gtk_container_add(GTK_CONTAINER(window), web_view);
-    gtk_widget_show_all(window);
-    g_signal_connect(web_view, &quot;notify::load-status&quot;, G_CALLBACK(idle_quit_loop_cb), NULL);
-    webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), base_uri);
-
-    g_main_loop_run(loop);
-
-    gtk_widget_destroy(window);
-    g_main_loop_unref(loop);
-}
-
-static void test_webkit_web_view_does_not_steal_focus()
-{
-    loop = g_main_loop_new(NULL, TRUE);
-
-    GtkWidget *window = gtk_offscreen_window_new();
-    GtkWidget *webView = webkit_web_view_new();
-    GtkWidget *entry = gtk_entry_new();
-
-#ifdef GTK_API_VERSION_2
-    GtkWidget *box = gtk_hbox_new(FALSE, 0);
-#else
-    GtkWidget *box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
-#endif
-
-    gtk_container_add(GTK_CONTAINER(box), webView);
-    gtk_container_add(GTK_CONTAINER(box), entry);
-    gtk_container_add(GTK_CONTAINER(window), box);
-    gtk_widget_show_all(window);
-
-    gtk_widget_grab_focus(entry);
-    g_assert(gtk_widget_is_focus(entry));
-
-    g_signal_connect(webView, &quot;notify::load-status&quot;, G_CALLBACK(idle_quit_loop_cb), NULL);
-    webkit_web_view_load_html_string(WEBKIT_WEB_VIEW(webView),
-        &quot;&lt;html&gt;&lt;body&gt;&quot;
-        &quot;    &lt;input id=\&quot;entry\&quot; type=\&quot;text\&quot;/&gt;&quot;
-        &quot;    &lt;script&gt;&quot;
-        &quot;        document.getElementById(\&quot;entry\&quot;).focus();&quot;
-        &quot;    &lt;/script&gt;&quot;
-        &quot;&lt;/body&gt;&lt;/html&gt;&quot;, &quot;file://&quot;);
-
-    g_main_loop_run(loop);
-
-    g_assert(gtk_widget_is_focus(entry));
-
-    gtk_widget_destroy(window);
-    g_main_loop_unref(loop);
-}
-
-static gboolean emitKeyStroke(WebKitWebView* webView)
-{
-    GdkEvent* pressEvent = gdk_event_new(GDK_KEY_PRESS);
-    pressEvent-&gt;key.keyval = GDK_KEY_f;
-    GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(webView));
-    pressEvent-&gt;key.window = window;
-    g_object_ref(pressEvent-&gt;key.window);
-
-#ifndef GTK_API_VERSION_2
-    GdkDeviceManager* manager = gdk_display_get_device_manager(gdk_window_get_display(window));
-    gdk_event_set_device(pressEvent, gdk_device_manager_get_client_pointer(manager));
-#endif
-
-    // When synthesizing an event, an invalid hardware_keycode value
-    // can cause it to be badly processed by Gtk+.
-    GdkKeymapKey* keys;
-    gint n_keys;
-    if (gdk_keymap_get_entries_for_keyval(gdk_keymap_get_default(), GDK_KEY_f, &amp;keys, &amp;n_keys)) {
-        pressEvent-&gt;key.hardware_keycode = keys[0].keycode;
-        g_free(keys);
-    }
-
-    GdkEvent* releaseEvent = gdk_event_copy(pressEvent);
-    gtk_main_do_event(pressEvent);
-    gdk_event_free(pressEvent);
-    releaseEvent-&gt;key.type = GDK_KEY_RELEASE;
-    gtk_main_do_event(releaseEvent);
-    gdk_event_free(releaseEvent);
-
-    return FALSE;
-}
-
-static gboolean entering_fullscreen_cb(WebKitWebView* webView, GObject* element, gboolean blocked)
-{
-    if (blocked)
-        g_main_loop_quit(loop);
-    else
-        g_timeout_add(200, (GSourceFunc) emitKeyStroke, webView);
-    return blocked;
-}
-
-static gboolean leaving_fullscreen_cb(WebKitWebView* webView, GObject* element, gpointer data)
-{
-    g_main_loop_quit(loop);
-    return FALSE;
-}
-
-static void test_webkit_web_view_fullscreen(gconstpointer blocked)
-{
-    GtkWidget* window;
-    GtkWidget* web_view;
-    WebKitWebSettings *settings;
-
-    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    web_view = webkit_web_view_new();
-
-    settings = webkit_web_view_get_settings(WEBKIT_WEB_VIEW(web_view));
-    g_object_set(settings, &quot;enable-fullscreen&quot;, TRUE, NULL);
-    webkit_web_view_set_settings(WEBKIT_WEB_VIEW(web_view), settings);
-
-    gtk_container_add(GTK_CONTAINER(window), web_view);
-
-    gtk_widget_show_all(window);
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    g_signal_connect(web_view, &quot;entering-fullscreen&quot;, G_CALLBACK(entering_fullscreen_cb), (gpointer) blocked);
-    g_signal_connect(web_view, &quot;leaving-fullscreen&quot;, G_CALLBACK(leaving_fullscreen_cb), NULL);
-
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW(web_view), &quot;&lt;html&gt;&lt;body&gt;&quot;
-                   &quot;&lt;script&gt;&quot;
-                   &quot;var eventName = 'keypress';&quot;
-                   &quot;document.addEventListener(eventName, function () {&quot;
-                   &quot;    document.documentElement.webkitRequestFullScreen();&quot;
-                   &quot;}, false);&quot;
-                   &quot;&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;, NULL, NULL, NULL);
-
-    g_timeout_add(100, (GSourceFunc) emitKeyStroke, WEBKIT_WEB_VIEW(web_view));
-    g_main_loop_run(loop);
-
-    gtk_widget_destroy(window);
-}
-
-static gboolean checkMimeTypeForFilter(GtkFileFilter* filter, const gchar* mimeType)
-{
-    GtkFileFilterInfo filter_info;
-    filter_info.contains = GTK_FILE_FILTER_MIME_TYPE;
-    filter_info.mime_type = mimeType;
-    return gtk_file_filter_filter(filter, &amp;filter_info);
-}
-
-static gboolean runFileChooserCbNoMultiselNoMime(WebKitWebView* webview, WebKitFileChooserRequest* request, gpointer data)
-{
-    g_assert(!webkit_file_chooser_request_get_select_multiple(request));
-
-    const gchar* const* mimeTypes = webkit_file_chooser_request_get_mime_types(request);
-    g_assert(!mimeTypes);
-    GtkFileFilter* filter = webkit_file_chooser_request_get_mime_types_filter(request);
-    g_assert(!filter);
-
-    const gchar* const* selectedFiles = webkit_file_chooser_request_get_selected_files(request);
-    g_assert(!selectedFiles);
-
-    g_main_loop_quit(loop);
-    return TRUE;
-}
-
-static gboolean runFileChooserCbMultiselNoMime(WebKitWebView* webview, WebKitFileChooserRequest* request, gpointer data)
-{
-    g_assert(webkit_file_chooser_request_get_select_multiple(request));
-
-    const gchar* const* mimeTypes = webkit_file_chooser_request_get_mime_types(request);
-    g_assert(!mimeTypes);
-    GtkFileFilter* filter = webkit_file_chooser_request_get_mime_types_filter(request);
-    g_assert(!filter);
-    const gchar* const* selectedFiles = webkit_file_chooser_request_get_selected_files(request);
-    g_assert(!selectedFiles);
-
-    // Select some files.
-    const gchar* filesToSelect[4] = { &quot;/foo&quot;, &quot;/foo/bar&quot;, &quot;/foo/bar/baz&quot;, 0 };
-    webkit_file_chooser_request_select_files(request, filesToSelect);
-
-    // Check the files that have been just selected.
-    selectedFiles = webkit_file_chooser_request_get_selected_files(request);
-    g_assert(selectedFiles);
-    g_assert_cmpstr(selectedFiles[0], ==, &quot;/foo&quot;);
-    g_assert_cmpstr(selectedFiles[1], ==, &quot;/foo/bar&quot;);
-    g_assert_cmpstr(selectedFiles[2], ==, &quot;/foo/bar/baz&quot;);
-    g_assert(!selectedFiles[3]);
-
-    g_main_loop_quit(loop);
-    return TRUE;
-}
-
-static gboolean runFileChooserCbSelectionRetained(WebKitWebView* webview, WebKitFileChooserRequest* request, gpointer data)
-{
-    const gchar* const* selectedFiles = webkit_file_chooser_request_get_selected_files(request);
-    g_assert(selectedFiles);
-    g_assert_cmpstr(selectedFiles[0], ==, &quot;/foo&quot;);
-    g_assert_cmpstr(selectedFiles[1], ==, &quot;/foo/bar&quot;);
-    g_assert_cmpstr(selectedFiles[2], ==, &quot;/foo/bar/baz&quot;);
-    g_assert(!selectedFiles[3]);
-
-    g_main_loop_quit(loop);
-    return TRUE;
-}
-
-static gboolean runFileChooserCbNoMultiselAcceptTypes(WebKitWebView* webview, WebKitFileChooserRequest* request, gpointer data)
-{
-    g_assert(!webkit_file_chooser_request_get_select_multiple(request));
-
-    const gchar* const* mimeTypes = webkit_file_chooser_request_get_mime_types(request);
-    g_assert(mimeTypes);
-    g_assert_cmpstr(mimeTypes[0], ==, &quot;audio/*&quot;);
-    g_assert_cmpstr(mimeTypes[1], ==, &quot;video/*&quot;);
-    g_assert_cmpstr(mimeTypes[2], ==, &quot;image/*&quot;);
-    g_assert(!mimeTypes[3]);
-
-    GtkFileFilter* filter = webkit_file_chooser_request_get_mime_types_filter(request);
-    g_assert(GTK_IS_FILE_FILTER(filter));
-    g_assert(checkMimeTypeForFilter(filter, &quot;audio/*&quot;));
-    g_assert(checkMimeTypeForFilter(filter, &quot;video/*&quot;));
-    g_assert(checkMimeTypeForFilter(filter, &quot;image/*&quot;));
-
-    const gchar* const* selectedFiles = webkit_file_chooser_request_get_selected_files(request);
-    g_assert(!selectedFiles);
-
-    g_main_loop_quit(loop);
-    return TRUE;
-}
-
-void doMouseButtonEvent(GtkWidget* widget, GdkEventType eventType, int x, int y, unsigned int button, unsigned int modifiers)
-{
-    g_assert(gtk_widget_get_realized(widget));
-
-    GdkEvent* event = gdk_event_new(eventType);
-    event-&gt;button.window = gtk_widget_get_window(widget);
-    g_object_ref(event-&gt;button.window);
-
-    event-&gt;button.time = GDK_CURRENT_TIME;
-    event-&gt;button.x = x;
-    event-&gt;button.y = y;
-    event-&gt;button.axes = 0;
-    event-&gt;button.state = modifiers;
-    event-&gt;button.button = button;
-
-#ifndef GTK_API_VERSION_2
-    event-&gt;button.device = gdk_device_manager_get_client_pointer(gdk_display_get_device_manager(gtk_widget_get_display(widget)));
-#endif
-
-    int xRoot, yRoot;
-    gdk_window_get_root_coords(gtk_widget_get_window(widget), x, y, &amp;xRoot, &amp;yRoot);
-    event-&gt;button.x_root = xRoot;
-    event-&gt;button.y_root = yRoot;
-    gtk_main_do_event(event);
-}
-
-static void clickMouseButton(GtkWidget* widget, int x, int y, unsigned int button, unsigned int modifiers)
-{
-    doMouseButtonEvent(widget, GDK_BUTTON_PRESS, x, y, button, modifiers);
-    doMouseButtonEvent(widget, GDK_BUTTON_RELEASE, x, y, button, modifiers);
-}
-
-static gboolean clickMouseButtonAndWaitForFileChooserRequest(WebKitWebView* webView)
-{
-    clickMouseButton(GTK_WIDGET(webView), 5, 5, 1, 0);
-    return TRUE;
-}
-
-static void test_webkit_web_view_file_chooser()
-{
-    const gchar* htmlFormatBase = &quot;&lt;html&gt;&lt;body&gt;&quot;
-            &quot;&lt;input style='position:absolute;left:0;top:0;margin:0;padding:0' type='file' %s/&gt;&quot;
-            &quot;&lt;/body&gt;&lt;/html&gt;&quot;;
-
-    GtkWidget* window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-    GtkWidget* webView = webkit_web_view_new();
-    gtk_container_add(GTK_CONTAINER(window), webView);
-    gtk_widget_show_all(window);
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    // Multiple selections not allowed, no MIME filtering.
-    gulong handler = g_signal_connect(webView, &quot;run-file-chooser&quot;, G_CALLBACK(runFileChooserCbNoMultiselNoMime), NULL);
-    gchar* htmlFormat = g_strdup_printf(htmlFormatBase, &quot;&quot;);
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW(webView), htmlFormat, NULL, NULL, NULL);
-    g_free(htmlFormat);
-
-    g_timeout_add(100, (GSourceFunc) clickMouseButtonAndWaitForFileChooserRequest, WEBKIT_WEB_VIEW(webView));
-    g_main_loop_run(loop);
-
-    g_signal_handler_disconnect(webView, handler);
-
-    // Multiple selections allowed, no MIME filtering, some pre-selected files.
-    handler = g_signal_connect(webView, &quot;run-file-chooser&quot;, G_CALLBACK(runFileChooserCbMultiselNoMime), NULL);
-    htmlFormat = g_strdup_printf(htmlFormatBase, &quot;multiple&quot;);
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW(webView), htmlFormat, NULL, NULL, NULL);
-    g_free(htmlFormat);
-
-    g_timeout_add(100, (GSourceFunc) clickMouseButtonAndWaitForFileChooserRequest, WEBKIT_WEB_VIEW(webView));
-    g_main_loop_run(loop);
-
-    g_signal_handler_disconnect(webView, handler);
-
-    // Perform another request to check if the list of files selected
-    // in the previous step appears now as part of the new request.
-    handler = g_signal_connect(webView, &quot;run-file-chooser&quot;, G_CALLBACK(runFileChooserCbSelectionRetained), NULL);
-    g_timeout_add(100, (GSourceFunc) clickMouseButtonAndWaitForFileChooserRequest, WEBKIT_WEB_VIEW(webView));
-    g_main_loop_run(loop);
-
-    g_signal_handler_disconnect(webView, handler);
-
-    // Multiple selections not allowed, only accept images, audio and video files.
-    handler = g_signal_connect(webView, &quot;run-file-chooser&quot;, G_CALLBACK(runFileChooserCbNoMultiselAcceptTypes), NULL);
-    htmlFormat = g_strdup_printf(htmlFormatBase, &quot;accept='audio/*,video/*,image/*'&quot;);
-    webkit_web_view_load_string(WEBKIT_WEB_VIEW(webView), htmlFormat, NULL, NULL, NULL);
-    g_free(htmlFormat);
-
-    g_timeout_add(100, (GSourceFunc) clickMouseButtonAndWaitForFileChooserRequest, WEBKIT_WEB_VIEW(webView));
-    g_main_loop_run(loop);
-
-    g_signal_handler_disconnect(webView, handler);
-    gtk_widget_destroy(window);
-}
-
-int main(int argc, char** argv)
-{
-    SoupServer* server;
-    SoupURI* soup_uri;
-
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    /* Hopefully make test independent of the path it's called from. */
-    testutils_relative_chdir(&quot;Tools/TestWebKitAPI/Tests/WebKitGtk/resources/test.html&quot;, argv[0]);
-
-    server = soup_server_new(SOUP_SERVER_PORT, 0, NULL);
-    soup_server_run_async(server);
-
-    soup_server_add_handler(server, NULL, server_callback, NULL, NULL);
-
-    soup_uri = soup_uri_new(&quot;http://127.0.0.1/&quot;);
-    soup_uri_set_port(soup_uri, soup_server_get_port(server));
-
-    base_uri = soup_uri_to_string(soup_uri, FALSE);
-    soup_uri_free(soup_uri);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/webview/icon-uri&quot;, test_webkit_web_view_icon_uri);
-    g_test_add_func(&quot;/webkit/webview/adjustments&quot;, test_webkit_web_view_adjustments);
-    g_test_add_func(&quot;/webkit/webview/destroy&quot;, test_webkit_web_view_destroy);
-    g_test_add_func(&quot;/webkit/webview/grab_focus&quot;, test_webkit_web_view_grab_focus);
-    g_test_add_func(&quot;/webkit/webview/window-features&quot;, test_webkit_web_view_window_features);
-    g_test_add_func(&quot;/webkit/webview/webview-in-offscreen-window-does-not-crash&quot;, test_webkit_web_view_in_offscreen_window_does_not_crash);
-    g_test_add_func(&quot;/webkit/webview/webview-does-not-steal-focus&quot;, test_webkit_web_view_does_not_steal_focus);
-    g_test_add_data_func(&quot;/webkit/webview/fullscreen&quot;, GINT_TO_POINTER(FALSE), test_webkit_web_view_fullscreen);
-    g_test_add_data_func(&quot;/webkit/webview/fullscreen-blocked&quot;, GINT_TO_POINTER(TRUE), test_webkit_web_view_fullscreen);
-    g_test_add_func(&quot;/webkit/webview/file-chooser&quot;, test_webkit_web_view_file_chooser);
-
-    return g_test_run ();
-}
</del></span></pre></div>
<a id="trunkToolsTestWebKitAPITestsWebKitGtktestwindowc"></a>
<div class="delfile"><h4>Deleted: trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwindow.c (166976 => 166977)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwindow.c        2014-04-08 23:19:32 UTC (rev 166976)
+++ trunk/Tools/TestWebKitAPI/Tests/WebKitGtk/testwindow.c        2014-04-08 23:36:28 UTC (rev 166977)
</span><span class="lines">@@ -1,119 +0,0 @@
</span><del>-/*
- * Copyright (C) 2009 Collabora Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include &quot;config.h&quot;
-#include &lt;gtk/gtk.h&gt;
-#include &lt;webkit/webkit.h&gt;
-
-static void notify_load_status_cb(WebKitWebView* web_view, GParamSpec* pspec, gpointer data)
-{
-    if (webkit_web_view_get_load_status(web_view) == WEBKIT_LOAD_FINISHED) {
-        GMainLoop* loop = (GMainLoop*)data;
-
-        g_main_loop_quit(loop);
-    }
-}
-
-static void test_webkit_window_scrollbar_policy(void)
-{
-    GMainLoop* loop;
-    GtkWidget* scrolledWindow;
-    GtkWidget* webView;
-    WebKitWebFrame* mainFrame;
-    GtkPolicyType horizontalPolicy;
-    GtkPolicyType verticalPolicy;
-
-    loop = g_main_loop_new(NULL, TRUE);
-
-    scrolledWindow = gtk_scrolled_window_new(NULL, NULL);
-    gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledWindow),
-                                   GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-
-    webView = webkit_web_view_new();
-    g_object_ref_sink(webView);
-
-    g_signal_connect(webView, &quot;notify::load-status&quot;,
-                     G_CALLBACK(notify_load_status_cb), loop);
-
-    gtk_container_add(GTK_CONTAINER(scrolledWindow), webView);
-
-    mainFrame = webkit_web_view_get_main_frame(WEBKIT_WEB_VIEW(webView));
-
-    /* Test we correctly apply policy for not having scrollbars; This
-     * case is special, because we turn the policy from NEVER to
-     * AUTOMATIC, since we cannot easily represent the same thing
-     * using GtkScrolledWindow */
-    webkit_web_view_load_html_string(WEBKIT_WEB_VIEW(webView),
-                                     &quot;&lt;html&gt;&lt;body&gt;WebKit!&lt;/body&gt;&lt;script&gt;document.getElementsByTagName('body')[0].style.overflow = 'hidden';&lt;/script&gt;&lt;/html&gt;&quot;,
-                                     &quot;file://&quot;);
-
-    g_main_loop_run(loop);
-
-    gtk_scrolled_window_get_policy(GTK_SCROLLED_WINDOW(scrolledWindow),
-                                   &amp;horizontalPolicy, &amp;verticalPolicy);
-
-    g_assert(horizontalPolicy == GTK_POLICY_AUTOMATIC);
-    g_assert(verticalPolicy == GTK_POLICY_AUTOMATIC);
-
-    g_assert(GTK_POLICY_NEVER == webkit_web_frame_get_horizontal_scrollbar_policy(mainFrame));
-    g_assert(GTK_POLICY_NEVER == webkit_web_frame_get_vertical_scrollbar_policy(mainFrame));
-
-    /* Test we correctly apply policy for always having scrollbars */
-    webkit_web_view_load_html_string(WEBKIT_WEB_VIEW(webView),
-                                     &quot;&lt;html&gt;&lt;body&gt;WebKit!&lt;/body&gt;&lt;script&gt;document.getElementsByTagName('body')[0].style.overflow = 'scroll';&lt;/script&gt;&lt;/html&gt;&quot;,
-                                     &quot;file://&quot;);
-
-    g_main_loop_run(loop);
-
-    gtk_scrolled_window_get_policy(GTK_SCROLLED_WINDOW(scrolledWindow),
-                                   &amp;horizontalPolicy, &amp;verticalPolicy);
-
-    g_assert(horizontalPolicy == GTK_POLICY_ALWAYS);
-    g_assert(verticalPolicy == GTK_POLICY_ALWAYS);
-
-    g_assert(horizontalPolicy == webkit_web_frame_get_horizontal_scrollbar_policy(mainFrame));
-    g_assert(verticalPolicy == webkit_web_frame_get_vertical_scrollbar_policy(mainFrame));
-
-    /* Test we correctly apply policy for having scrollbars when needed */
-    webkit_web_view_load_html_string(WEBKIT_WEB_VIEW(webView),
-                                     &quot;&lt;html&gt;&lt;body&gt;WebKit!&lt;/body&gt;&lt;script&gt;document.getElementsByTagName('body')[0].style.overflow = 'auto';&lt;/script&gt;&lt;/html&gt;&quot;,
-                                     &quot;file://&quot;);
-
-    g_main_loop_run(loop);
-
-    gtk_scrolled_window_get_policy(GTK_SCROLLED_WINDOW(scrolledWindow),
-                                   &amp;horizontalPolicy, &amp;verticalPolicy);
-
-    g_assert(horizontalPolicy == GTK_POLICY_AUTOMATIC);
-    g_assert(verticalPolicy == GTK_POLICY_AUTOMATIC);
-
-    g_assert(horizontalPolicy == webkit_web_frame_get_horizontal_scrollbar_policy(mainFrame));
-    g_assert(verticalPolicy == webkit_web_frame_get_vertical_scrollbar_policy(mainFrame));
-
-    g_object_unref(webView);
-}
-
-int main(int argc, char** argv)
-{
-    gtk_test_init(&amp;argc, &amp;argv, NULL);
-
-    g_test_bug_base(&quot;https://bugs.webkit.org/&quot;);
-    g_test_add_func(&quot;/webkit/window/scrollbar_policy&quot;, test_webkit_window_scrollbar_policy);
-    return g_test_run ();
-}
</del></span></pre>
</div>
</div>

</body>
</html>