--- /home/clopez/webkit/webkit/layout-test-results/fast/events/constructors/mouse-event-constructor-expected.txt +++ /home/clopez/webkit/webkit/layout-test-results/fast/events/constructors/mouse-event-constructor-actual.txt @@ -23,19 +23,19 @@ PASS new MouseEvent('eventType', { cancelable: true }).cancelable is true PASS new MouseEvent('eventType', { view: window }).view is window PASS new MouseEvent('eventType', { view: this }).view is this -PASS new MouseEvent('eventType', { view: testObject }).view is null -PASS new MouseEvent('eventType', { view: document }).view is null +PASS new MouseEvent('eventType', { view: testObject }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { view: document }).view threw exception TypeError: Dictionary member is not of type Window. PASS new MouseEvent('eventType', { view: undefined }).view is null PASS new MouseEvent('eventType', { view: null }).view is null -PASS new MouseEvent('eventType', { view: false }).view is null -PASS new MouseEvent('eventType', { view: true }).view is null -PASS new MouseEvent('eventType', { view: '' }).view is null -PASS new MouseEvent('eventType', { view: 'chocolate' }).view is null -PASS new MouseEvent('eventType', { view: 12345 }).view is null -PASS new MouseEvent('eventType', { view: 18446744073709551615 }).view is null -PASS new MouseEvent('eventType', { view: NaN }).view is null -PASS new MouseEvent('eventType', { view: {valueOf: function () { return window; } } }).view == window is false -PASS new MouseEvent('eventType', { get view() { return 123; } }).view is null +PASS new MouseEvent('eventType', { view: false }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { view: true }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { view: '' }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { view: 'chocolate' }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { view: 12345 }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { view: 18446744073709551615 }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { view: NaN }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { view: {valueOf: function () { return window; } } }).view threw exception TypeError: Dictionary member is not of type Window. +PASS new MouseEvent('eventType', { get view() { return 123; } }).view threw exception TypeError: Dictionary member is not of type Window. PASS new MouseEvent('eventType', { get view() { throw 'MouseEvent Error'; } }) threw exception MouseEvent Error. PASS new MouseEvent('eventType', { detail: 0 }).detail is 0 PASS new MouseEvent('eventType', { detail: 2147483647 }).detail is 2147483647 @@ -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 33554431. 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 -33554432. 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 33554431. 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 -33554432. 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