Source/WebCore/ChangeLog

 12011-11-07 Dominic Cooney <dominicc@chromium.org>
 2
 3 Remove initOverflowEvent from JavaScript bindings
 4 https://bugs.webkit.org/show_bug.cgi?id=71687
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 * dom/OverflowEvent.idl:
 9
1102011-11-07 Yury Semikhatsky <yurys@chromium.org>
211
312 [Chromium] Web Inspector: use native worker inspector instead of fake workers

Source/WebCore/dom/OverflowEvent.idl

@@module events {
3737 readonly attribute boolean horizontalOverflow;
3838 readonly attribute boolean verticalOverflow;
3939
 40#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
4041 void initOverflowEvent(in [Optional=CallWithDefaultValue] unsigned short orient,
4142 in [Optional=CallWithDefaultValue] boolean horizontalOverflow,
4243 in [Optional=CallWithDefaultValue] boolean verticalOverflow);
 44#endif
4345 };
4446
4547}

LayoutTests/ChangeLog

 12011-11-07 Dominic Cooney <dominicc@chromium.org>
 2
 3 Remove initOverflowEvent from JavaScript bindings
 4 https://bugs.webkit.org/show_bug.cgi?id=71687
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 OverflowEvent initialization is tested in
 9 fast/events/constructors/overflow-event-constructor.html
 10
 11 * fast/events/init-events-expected.txt:
 12 * fast/events/script-tests/init-events.js:
 13
1142011-11-07 Simon Hausmann <simon.hausmann@nokia.com>
215
316 [Qt] Fix failing inspector tests after build system changes

LayoutTests/fast/events/init-events-expected.txt

@@PASS testInitEvent('Mutation', '"a", false, false, null, "b", null, "d", 1001').
116116PASS testInitEvent('Mutation', '"a", false, false, null, "b", "c", "d", 1001').attrName is 'd'
117117PASS testInitEvent('Mutation', '"a", false, false, null, "b", "c", null, 1001').attrName is 'null'
118118PASS testInitEvent('Mutation', '"a", false, false, null, "b", "c", "d", 1001').attrChange is 1001
119 PASS testInitEvent('Overflow', '1001, false, false').type is 'overflowchanged'
120 PASS testInitEvent('Overflow', '1001, false, false').bubbles is false
121 PASS testInitEvent('Overflow', '1001, false, false').cancelable is false
122 PASS testInitEvent('Overflow', '1001, false, false').orient is 1001
123 PASS testInitEvent('Overflow', '1001, false, false').horizontalOverflow is false
124 PASS testInitEvent('Overflow', '1001, true, false').horizontalOverflow is true
125 PASS testInitEvent('Overflow', '1001, false, false').verticalOverflow is false
126 PASS testInitEvent('Overflow', '1001, false, true').verticalOverflow is true
127 PASS createEventHelper('Overflow').orient is OverflowEvent.VERTICAL
128119PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').type is 'a'
129120PASS testInitEvent('Progress', 'null, false, false, false, 1001, 1002').type is 'null'
130121PASS testInitEvent('Progress', '"a", false, false, false, 1001, 1002').bubbles is false

LayoutTests/fast/events/script-tests/init-events.js

@@shouldBe("testInitEvent('Mutation', '\"a\", false, false, null, \"b\", \"c\", \"
130130shouldBe("testInitEvent('Mutation', '\"a\", false, false, null, \"b\", \"c\", null, 1001').attrName", "'null'");
131131shouldBe("testInitEvent('Mutation', '\"a\", false, false, null, \"b\", \"c\", \"d\", 1001').attrChange", "1001");
132132
133 // initOverflowEvent has an interface that has an design that's inconsistent with the init functions from other events.
134 shouldBe("testInitEvent('Overflow', '1001, false, false').type", "'overflowchanged'");
135 shouldBe("testInitEvent('Overflow', '1001, false, false').bubbles", "false");
136 shouldBe("testInitEvent('Overflow', '1001, false, false').cancelable", "false");
137 shouldBe("testInitEvent('Overflow', '1001, false, false').orient", "1001");
138 shouldBe("testInitEvent('Overflow', '1001, false, false').horizontalOverflow", "false");
139 shouldBe("testInitEvent('Overflow', '1001, true, false').horizontalOverflow", "true");
140 shouldBe("testInitEvent('Overflow', '1001, false, false').verticalOverflow", "false");
141 shouldBe("testInitEvent('Overflow', '1001, false, true').verticalOverflow", "true");
142 shouldBe("createEventHelper('Overflow').orient", "OverflowEvent.VERTICAL");
143 
144133shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').type", "'a'");
145134shouldBe("testInitEvent('Progress', 'null, false, false, false, 1001, 1002').type", "'null'");
146135shouldBe("testInitEvent('Progress', '\"a\", false, false, false, 1001, 1002').bubbles", "false");