[Webkit-unassigned] [Bug 115025] New: LayoutUnit overflows in fast/events/constructors/(mouse|wheel)-event-constructor.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 23 02:15:01 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=115025

           Summary: LayoutUnit overflows in
                    fast/events/constructors/(mouse|wheel)-event-construct
                    or.html
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Keywords: Gtk, LayoutTestFailure
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zandobersek at gmail.com


The following two tests are outputting out-of-bounds messages in LayoutUnit:
fast/events/constructors/mouse-event-constructor.html
fast/events/constructors/wheel-event-constructor.html

The message:
ERROR: !(isInBounds(value))
../../Source/WebCore/platform/LayoutUnit.h(325) : void WebCore::LayoutUnit::setValue(int)
ERROR: !(isInBounds(value))
../../Source/WebCore/platform/LayoutUnit.h(325) : void WebCore::LayoutUnit::setValue(int)

This is happening when testing the bounds of WebIDL's long type for clientX and clientY attributes. The tests fail, as the diffs show:

--- /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/layout-test-results/fast/events/constructors/mouse-event-constructor-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/layout-test-results/fast/events/constructors/mouse-event-constructor-actual.txt
@@ -101,9 +101,9 @@
 PASS new MouseEvent('eventType', { screenY: {moemoe: 12345} }).screenY is 0
 PASS new MouseEvent('eventType', { screenY: {valueOf: function () { return 12345; }} }).screenY is 12345
 PASS new MouseEvent('eventType', { clientX: 0 }).clientX is 0
-PASS new MouseEvent('eventType', { clientX: 2147483647 }).clientX is 2147483647
+FAIL new MouseEvent('eventType', { clientX: 2147483647 }).clientX should be 2147483647. Was -1.
 PASS new MouseEvent('eventType', { clientX: -1 }).clientX is -1
-PASS new MouseEvent('eventType', { clientX: -2147483648 }).clientX is -2147483648
+FAIL new MouseEvent('eventType', { clientX: -2147483648 }).clientX should be -2147483648. Was 0.
 PASS new MouseEvent('eventType', { clientX: 4294967295 }).clientX is -1
 PASS new MouseEvent('eventType', { clientX: 9007199254740991 }).clientX is -1
 PASS new MouseEvent('eventType', { clientX: 18446744073709551615 }).clientX is 0
@@ -122,9 +122,9 @@
 PASS new MouseEvent('eventType', { clientX: {moemoe: 12345} }).clientX is 0
 PASS new MouseEvent('eventType', { clientX: {valueOf: function () { return 12345; }} }).clientX is 12345
 PASS new MouseEvent('eventType', { clientY: 0 }).clientY is 0
-PASS new MouseEvent('eventType', { clientY: 2147483647 }).clientY is 2147483647
+FAIL new MouseEvent('eventType', { clientY: 2147483647 }).clientY should be 2147483647. Was -1.
 PASS new MouseEvent('eventType', { clientY: -1 }).clientY is -1
-PASS new MouseEvent('eventType', { clientY: -2147483648 }).clientY is -2147483648
+FAIL new MouseEvent('eventType', { clientY: -2147483648 }).clientY should be -2147483648. Was 0.
 PASS new MouseEvent('eventType', { clientY: 4294967295 }).clientY is -1
 PASS new MouseEvent('eventType', { clientY: 9007199254740991 }).clientY is -1
 PASS new MouseEvent('eventType', { clientY: 18446744073709551615 }).clientY is 0

--- /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/layout-test-results/fast/events/constructors/wheel-event-constructor-expected.txt
+++ /home/slave/webkitgtk/gtk-linux-64-debug-wk1/build/layout-test-results/fast/events/constructors/wheel-event-constructor-actual.txt
@@ -104,9 +104,9 @@
 PASS new WheelEvent('eventType', { screenY: {moemoe: 12345} }).screenY is 0
 PASS new WheelEvent('eventType', { screenY: {valueOf: function () { return 12345; }} }).screenY is 12345
 PASS new WheelEvent('eventType', { clientX: 0 }).clientX is 0
-PASS new WheelEvent('eventType', { clientX: 2147483647 }).clientX is 2147483647
+FAIL new WheelEvent('eventType', { clientX: 2147483647 }).clientX should be 2147483647. Was -1.
 PASS new WheelEvent('eventType', { clientX: -1 }).clientX is -1
-PASS new WheelEvent('eventType', { clientX: -2147483648 }).clientX is -2147483648
+FAIL new WheelEvent('eventType', { clientX: -2147483648 }).clientX should be -2147483648. Was 0.
 PASS new WheelEvent('eventType', { clientX: 4294967295 }).clientX is -1
 PASS new WheelEvent('eventType', { clientX: 9007199254740991 }).clientX is -1
 PASS new WheelEvent('eventType', { clientX: 18446744073709551615 }).clientX is 0
@@ -125,9 +125,9 @@
 PASS new WheelEvent('eventType', { clientX: {moemoe: 12345} }).clientX is 0
 PASS new WheelEvent('eventType', { clientX: {valueOf: function () { return 12345; }} }).clientX is 12345
 PASS new WheelEvent('eventType', { clientY: 0 }).clientY is 0
-PASS new WheelEvent('eventType', { clientY: 2147483647 }).clientY is 2147483647
+FAIL new WheelEvent('eventType', { clientY: 2147483647 }).clientY should be 2147483647. Was -1.
 PASS new WheelEvent('eventType', { clientY: -1 }).clientY is -1
-PASS new WheelEvent('eventType', { clientY: -2147483648 }).clientY is -2147483648
+FAIL new WheelEvent('eventType', { clientY: -2147483648 }).clientY should be -2147483648. Was 0.
 PASS new WheelEvent('eventType', { clientY: 4294967295 }).clientY is -1
 PASS new WheelEvent('eventType', { clientY: 9007199254740991 }).clientY is -1
 PASS new WheelEvent('eventType', { clientY: 18446744073709551615 }).clientY is 0


http://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fast%2Fevents%2Fconstructors%2Fmouse-event-constructor.html%2Cfast%2Fevents%2Fconstructors%2Fwheel-event-constructor.html

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list