Diff
Modified: trunk/LayoutTests/ChangeLog (170067 => 170068)
--- trunk/LayoutTests/ChangeLog 2014-06-17 19:17:32 UTC (rev 170067)
+++ trunk/LayoutTests/ChangeLog 2014-06-17 19:53:13 UTC (rev 170068)
@@ -1,3 +1,17 @@
+2014-06-17 Commit Queue <[email protected]>
+
+ Unreviewed, rolling out r170058.
+ https://bugs.webkit.org/show_bug.cgi?id=133993
+
+ Caused 4 webkitpy failures on the bots (Requested by bradee-oh
+ on #webkit).
+
+ Reverted changeset:
+
+ "[GTK] Fix the handling of resize events after r169505."
+ https://bugs.webkit.org/show_bug.cgi?id=133517
+ http://trac.webkit.org/changeset/170058
+
2014-06-17 Carlos Alberto Lopez Perez <[email protected]>
[GTK] Fix the handling of resize events after r169505.
Modified: trunk/LayoutTests/platform/gtk/TestExpectations (170067 => 170068)
--- trunk/LayoutTests/platform/gtk/TestExpectations 2014-06-17 19:17:32 UTC (rev 170067)
+++ trunk/LayoutTests/platform/gtk/TestExpectations 2014-06-17 19:53:13 UTC (rev 170068)
@@ -808,6 +808,10 @@
webkit.org/b/132281 fast/workers/worker-constructor.html [ Timeout Pass ]
webkit.org/b/132282 fast/inline-block/14498-positionForCoordinates.html [ Failure Pass ]
+#fast/dom/Window
+webkit.org/b/132255 fast/dom/Window/window-resize-and-move-sub-frame.html [ Timeout Pass ]
+webkit.org/b/132255 fast/dom/Window/window-resize-contents.html [ Timeout Pass ]
+
#Fast overflow
webkit.org/b/132258 fast/overflow/hit-test-overflow-controls.html [ Failure ImageOnlyFailure Pass ]
webkit.org/b/132258 fast/overflow/overflow-text-hit-testing.html [ Failure Pass ]
@@ -848,6 +852,8 @@
webkit.org/b/133000 js/slow-stress/call-spread.html [ Pass Timeout ]
webkit.org/b/133001 fast/workers/worker-context-gc.html [ Pass Timeout ]
+webkit.org/b/133807 fast/dynamic/window-resize-scrollbars-test.html [ Failure Timeout ]
+
webkit.org/b/133865 media/W3C/video/networkState/networkState_during_progress.html [ Failure Pass ]
webkit.org/b/133866 media/media-controls-cancel-events.html [ Failure Pass ]
webkit.org/b/133867 webaudio/audioprocessingevent.html [ Failure Pass ]
@@ -1012,6 +1018,11 @@
webkit.org/b/133151 js/cached-window-properties.html [ Timeout Pass ]
+webkit.org/b/133517 css3/viewport-percentage-lengths/viewport-percentage-lengths-anonymous-block.html [ Timeout ]
+webkit.org/b/133517 css3/viewport-percentage-lengths/viewport-percentage-lengths-percent-size-child.html [ Timeout ]
+webkit.org/b/133517 css3/viewport-percentage-lengths/viewport-percentage-lengths-relative-font-size.html [ Timeout ]
+webkit.org/b/133517 css3/viewport-percentage-lengths/viewport-percentage-lengths-resize.html [ Timeout ]
+
webkit.org/b/133808 media/video-trackmenu-selection.html [ Timeout ]
#////////////////////////////////////////////////////////////////////////////////////////
@@ -1193,6 +1204,7 @@
Bug(GTK) editing/selection/5136696.html [ Failure ]
Bug(GTK) editing/selection/inactive-selection.html [ Failure ]
Bug(GTK) fast/css/disabled-author-styles.html [ Failure ]
+Bug(GTK) fast/dom/rtl-scroll-to-leftmost-and-resize.html [ Failure ]
Bug(GTK) fast/dom/Window/window-postmessage-clone.html [ Failure Timeout ]
Bug(GTK) fast/events/backspace-navigates-back.html [ Failure ]
Bug(GTK) fast/events/keydown-leftright-keys.html [ Failure ]
@@ -1317,6 +1329,7 @@
webkit.org/b/53964 fast/forms/option-mouseevents.html [ Failure ]
# Probably failing because resizing is asynchronous.
+webkit.org/b/53959 fast/dom/Window/window-resize-and-move-arguments.html [ Failure Timeout ]
webkit.org/b/53959 fast/dom/Window/window-resize.html [ Failure Timeout ]
# keygen element rendering is broken
@@ -1573,6 +1586,9 @@
webkit.org/b/94009 css2.1/20110323/c541-word-sp-000.htm [ ImageOnlyFailure ]
webkit.org/b/80129 fast/frames/flattening/frameset-flattening-advanced.html [ Failure ]
+webkit.org/b/131793 fast/frames/frame-programmatic-noresize.html [ Failure Pass ]
+webkit.org/b/131794 fast/frames/frame-with-noresize-can-be-resized-after-removal-of-noresize.html [ Failure Pass ]
+webkit.org/b/131794 fast/frames/frame-with-noresize-can-be-resized-after-setting-noResize-to-false.html [ Failure Pass ]
webkit.org/b/89663 editing/deleting/delete-3800834-fix.html [ Failure ]
Modified: trunk/LayoutTests/platform/gtk/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.txt (170067 => 170068)
--- trunk/LayoutTests/platform/gtk/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.txt 2014-06-17 19:17:32 UTC (rev 170067)
+++ trunk/LayoutTests/platform/gtk/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.txt 2014-06-17 19:53:13 UTC (rev 170068)
@@ -1,9 +1,9 @@
-layer at (0,0) size 235x4018
- RenderView at (0,0) size 235x585
-layer at (0,0) size 235x4018
- RenderBlock {HTML} at (0,0) size 235x4018
- RenderBody {BODY} at (8,8) size 219x4002
- RenderBlock {DIV} at (-783,0) size 1002x4002 [border: (1px solid #FF0000)]
- RenderText {#text} at (-491,1) size 1492x17
+layer at (0,0) size 335x4018
+ RenderView at (0,0) size 335x585
+layer at (0,0) size 335x4018
+ RenderBlock {HTML} at (0,0) size 335x4018
+ RenderBody {BODY} at (8,8) size 319x4002
+ RenderBlock {DIV} at (-683,0) size 1002x4002 [border: (1px solid #FF0000)]
+ RenderText {#text} at (-491,1) size 1492x19
text run at (-491,1) width 1492: "BEGINddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddEND"
scrolled to -716,0
Modified: trunk/Tools/ChangeLog (170067 => 170068)
--- trunk/Tools/ChangeLog 2014-06-17 19:17:32 UTC (rev 170067)
+++ trunk/Tools/ChangeLog 2014-06-17 19:53:13 UTC (rev 170068)
@@ -1,3 +1,17 @@
+2014-06-17 Commit Queue <[email protected]>
+
+ Unreviewed, rolling out r170058.
+ https://bugs.webkit.org/show_bug.cgi?id=133993
+
+ Caused 4 webkitpy failures on the bots (Requested by bradee-oh
+ on #webkit).
+
+ Reverted changeset:
+
+ "[GTK] Fix the handling of resize events after r169505."
+ https://bugs.webkit.org/show_bug.cgi?id=133517
+ http://trac.webkit.org/changeset/170058
+
2014-06-17 Rebecca Hauck <[email protected]>
Update import-w3c-tests to reflect current W3C test repo directory structure
Modified: trunk/Tools/Scripts/webkitpy/port/xvfbdriver.py (170067 => 170068)
--- trunk/Tools/Scripts/webkitpy/port/xvfbdriver.py 2014-06-17 19:17:32 UTC (rev 170067)
+++ trunk/Tools/Scripts/webkitpy/port/xvfbdriver.py 2014-06-17 19:53:13 UTC (rev 170068)
@@ -84,7 +84,7 @@
if llvmpipe_libgl_path:
environment['LD_LIBRARY_PATH'] = '%s:%s' % (llvmpipe_libgl_path, os.environ.get('LD_LIBRARY_PATH', ''))
- run_xvfb = ["Xvfb", ":%d" % display_id, "-screen", "0", "1024x768x%s" % self._xvfb_screen_depth(), "-nolisten", "tcp"]
+ run_xvfb = ["Xvfb", ":%d" % display_id, "-screen", "0", "800x600x%s" % self._xvfb_screen_depth(), "-nolisten", "tcp"]
with open(os.devnull, 'w') as devnull:
self._xvfb_process = self._port.host.executive.popen(run_xvfb, stderr=devnull)
Modified: trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp (170067 => 170068)
--- trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp 2014-06-17 19:17:32 UTC (rev 170067)
+++ trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp 2014-06-17 19:53:13 UTC (rev 170068)
@@ -43,7 +43,7 @@
gtk_container_add(GTK_CONTAINER(m_window), GTK_WIDGET(m_view));
GtkAllocation size = { 0, 0, 800, 600 };
- gtk_widget_size_allocate(GTK_WIDGET(m_view), &size);
+ gtk_widget_size_allocate(m_window, &size);
gtk_window_resize(GTK_WINDOW(m_window), 800, 600);
gtk_widget_show_all(m_window);
@@ -58,10 +58,14 @@
void PlatformWebView::resizeTo(unsigned width, unsigned height)
{
- WKRect frame = windowFrame();
- frame.size.width = width;
- frame.size.height = height;
- setWindowFrame(frame);
+ // FIXME: Don't we need to resize the window too?
+
+ GtkAllocation size = { 0, 0, static_cast<int>(width), static_cast<int>(height) };
+ gtk_widget_size_allocate(m_window, &size);
+ gtk_window_resize(GTK_WINDOW(m_window), width, height);
+
+ while (gtk_events_pending())
+ gtk_main_iteration();
}
WKPageRef PlatformWebView::page()
@@ -78,8 +82,14 @@
WKRect PlatformWebView::windowFrame()
{
GtkAllocation geometry;
+#ifdef GTK_API_VERSION_2
+ gint depth;
gdk_window_get_geometry(gtk_widget_get_window(GTK_WIDGET(m_window)),
+ &geometry.x, &geometry.y, &geometry.width, &geometry.height, &depth);
+#else
+ gdk_window_get_geometry(gtk_widget_get_window(GTK_WIDGET(m_window)),
&geometry.x, &geometry.y, &geometry.width, &geometry.height);
+#endif
WKRect frame;
frame.origin.x = geometry.x;
@@ -91,13 +101,8 @@
void PlatformWebView::setWindowFrame(WKRect frame)
{
- gdk_window_move_resize(gtk_widget_get_window(GTK_WIDGET(m_window)),
- frame.origin.x, frame.origin.y, frame.size.width, frame.size.height);
- GtkAllocation size = { 0, 0, static_cast<int>(frame.size.width), static_cast<int>(frame.size.height) };
- gtk_widget_size_allocate(GTK_WIDGET(m_view), &size);
-
- while (gtk_events_pending())
- gtk_main_iteration();
+ gtk_window_move(GTK_WINDOW(m_window), frame.origin.x, frame.origin.y);
+ resizeTo(frame.size.width, frame.size.height);
}
void PlatformWebView::addChromeInputField()