2010-02-03 Fumitoshi Ukai <ukai@chromium.org>
[WebKit-https.git] / LayoutTests / ChangeLog
1 2010-02-03  Fumitoshi Ukai  <ukai@chromium.org>
2
3         Reviewed by Alexey Proskuryakov.
4
5         WebSocket should close the connection when unloading the document
6         https://bugs.webkit.org/show_bug.cgi?id=33248
7
8         * websocket/tests/close-on-unload-expected.txt: Added.
9         * websocket/tests/close-on-unload.html: Added.
10         * websocket/tests/close-on-unload_wsh.py: Added.
11         * websocket/tests/resources/close-on-unload-iframe.html: Added.
12
13 2010-02-03  Adele Peterson  <adele@apple.com>
14
15         Reviewed by Simon Fraser.
16
17         Test for: <rdar://problem/7594212> 
18         https://bugs.webkit.org/show_bug.cgi?id=34549 - CSS counters crash at http://www.w3.org/TR/css3-content/
19         CrashTracer: [USER] 20 crashes in Safari at com.apple.WebCore: WebCore::CounterNode::insertAfter + 319
20
21         * fast/css/counters/counter-before-selector-crash-expected.txt: Added.
22         * fast/css/counters/counter-before-selector-crash.html: Added.
23
24 2010-02-03  Csaba Osztrogonác  <ossy@webkit.org>
25
26         Rubber-stamped by Ariya Hidayat.
27
28         Roll back r53889 again, because roll out didn't solve flakeyness on the Windows Test bots
29         https://bugs.webkit.org/show_bug.cgi?id=34399
30
31         * platform/win/Skipped:
32
33 2010-02-03  Csaba Osztrogonác  <ossy@webkit.org>
34
35         Rubber-stamped by Ariya Hidayat.
36
37         Rolling out r53889, because it might caused flakeyness on the Windows Test bots
38         https://bugs.webkit.org/show_bug.cgi?id=34399
39
40         * platform/win/Skipped:
41
42 2010-02-03  Csaba Osztrogonác  <ossy@webkit.org>
43
44         Rubber-stamped by Adam Barth.
45
46         http/tests/security/xss-DENIED-window-open-javascript-url.html timed out on Windows Debug Bot
47         https://bugs.webkit.org/show_bug.cgi?id=33349
48
49         * platform/win/Skipped: http/tests/security/xss-DENIED-window-open-javascript-url.html skipped.
50
51 2010-02-02  Kent Tamura  <tkent@chromium.org>
52
53         Reviewed by Darin Adler.
54
55         Fix a bug that changes for some constraint attributes doesn't
56         update validation CSS selectors.
57         https://bugs.webkit.org/show_bug.cgi?id=31716
58
59         Add tests for maxLength changes and step changes.
60
61         * fast/forms/input-live-pseudo-selectors-expected.txt:
62         * fast/forms/resources/input-live-pseudo-selectors.js:
63         * fast/forms/resources/textarea-live-pseudo-selectors.js:
64         * fast/forms/textarea-live-pseudo-selectors-expected.txt:
65
66 2010-02-02  Roland Steiner  <rolandsteiner@chromium.org>
67
68         Reviewed by Adele Peterson.
69
70         Bug 34198 -  Ruby text should not inherit line-height
71         (https://bugs.webkit.org/show_bug.cgi?id=34198)
72         
73         Resetting line-height to 'normal' in the default UA style sheet.
74         Adding layout-test to check for this.
75
76         * fast/ruby/script-tests: Added.
77         * fast/ruby/script-tests/ruby-line-height.js: Added.
78         * fast/ruby/ruby-line-height-expected.txt: Added.
79         * fast/ruby/ruby-line-height.html: Added.
80
81 2010-02-02  Kent Tamura  <tkent@chromium.org>
82
83         Reviewed by Darin Adler.
84
85         rangeOverflow/rangeUnderflow support for type=datetime, datetime-local,
86         month, time and week
87         https://bugs.webkit.org/show_bug.cgi?id=34483
88
89         Add tests for datetime, datetime-local, month, time and week, and
90         merge existing tests into one test file.
91
92         * fast/forms/ValidityState-rangeOverflow-date-expected.txt: Removed.
93         * fast/forms/ValidityState-rangeOverflow-date.html: Removed.
94         * fast/forms/ValidityState-rangeOverflow-expected.txt: Added.
95         * fast/forms/ValidityState-rangeOverflow-number-expected.txt: Removed.
96         * fast/forms/ValidityState-rangeOverflow-number.html: Removed.
97         * fast/forms/ValidityState-rangeOverflow-range-expected.txt: Removed.
98         * fast/forms/ValidityState-rangeOverflow-range.html: Removed.
99         * fast/forms/ValidityState-rangeOverflow.html: Added.
100         * fast/forms/ValidityState-rangeUnderflow-date-expected.txt: Removed.
101         * fast/forms/ValidityState-rangeUnderflow-date.html: Removed.
102         * fast/forms/ValidityState-rangeUnderflow-expected.txt: Added.
103         * fast/forms/ValidityState-rangeUnderflow-number-expected.txt: Removed.
104         * fast/forms/ValidityState-rangeUnderflow-number.html: Removed.
105         * fast/forms/ValidityState-rangeUnderflow-range-expected.txt: Removed.
106         * fast/forms/ValidityState-rangeUnderflow-range.html: Removed.
107         * fast/forms/ValidityState-rangeUnderflow.html: Added.
108         * fast/forms/script-tests/ValidityState-rangeOverflow-date.js: Removed.
109         * fast/forms/script-tests/ValidityState-rangeOverflow-number.js: Removed.
110         * fast/forms/script-tests/ValidityState-rangeOverflow-range.js: Removed.
111         * fast/forms/script-tests/ValidityState-rangeOverflow.js: Added.
112         * fast/forms/script-tests/ValidityState-rangeUnderflow-date.js: Removed.
113         * fast/forms/script-tests/ValidityState-rangeUnderflow-number.js: Removed.
114         * fast/forms/script-tests/ValidityState-rangeUnderflow-range.js: Removed.
115         * fast/forms/script-tests/ValidityState-rangeUnderflow.js: Added.
116
117 2010-02-02  James Robinson  <jamesr@chromium.org>
118
119         Reviewed by Dmitry Titov.
120
121         Test that the combination of border-bottom:1px; and -webkit-gradient(linear) doesn't crash
122         https://bugs.webkit.org/show_bug.cgi?id=34510
123
124         * fast/gradients/crash-on-1px-border.html: Added.
125
126 2010-02-02  Fumitoshi Ukai  <ukai@chromium.org> 
127         Reviewed by Alexey Proskuryakov.
128
129         WebSocket wrapper can be collected even if events are pending
130         https://bugs.webkit.org/show_bug.cgi?id=34014
131
132         * websocket/tests/websocket-pending-activity-expected.txt: Added.
133         * websocket/tests/websocket-pending-activity.html: Added.
134
135 2010-02-02  Eric Seidel  <eric@webkit.org>
136
137         Reviewed by Gustavo Noronha Silva.
138
139         http/tests/incremental/split-hex-entities.pl timed out on Gtk Linux 32-bit Debug Bot
140         https://bugs.webkit.org/show_bug.cgi?id=33445
141
142         * platform/gtk/Skipped: Skip this test to keep the bots green until someone with Gtk knowledge can examine why it intermittently times out.
143
144 2010-02-02  Hayato Ito  <hayato@chromium.org>
145
146         Reviewed by Darin Adler.
147
148         Move misplaced JS files to the proper location.
149
150         https://bugs.webkit.org/show_bug.cgi?id=34256
151
152         * fast/events/script-tests/basic-touch-events.js: Removed.
153         * fast/events/script-tests/create-touch-event.js: Removed.
154         * fast/events/script-tests/send-oncancel-event.js: Removed.
155         * fast/events/touch/basic-touch-events.html:
156         * fast/events/touch/create-touch-event.html:
157         * fast/events/touch/script-tests: Added.
158         * fast/events/touch/script-tests/TEMPLATE.html: Copied from LayoutTests/fast/events/script-tests/TEMPLATE.html.
159         * fast/events/touch/script-tests/basic-touch-events.js: Copied from LayoutTests/fast/events/script-tests/basic-touch-events.js.
160         * fast/events/touch/script-tests/create-touch-event.js: Copied from LayoutTests/fast/events/script-tests/create-touch-event.js.
161         * fast/events/touch/script-tests/send-oncancel-event.js: Copied from LayoutTests/fast/events/script-tests/send-oncancel-event.js.
162         * fast/events/touch/send-oncancel-event.html:
163
164 2010-02-02  Alexey Proskuryakov  <ap@apple.com>
165
166         Reviewed by Darin Adler.
167
168         https://bugs.webkit.org/show_bug.cgi?id=34076
169         <rdar://problem/7594601> Crash in mangleme in WebCore::Element::getAttribute
170
171         * fast/forms/misplaced-img-form-registration-expected.txt: Added.
172         * fast/forms/misplaced-img-form-registration.html: Added.
173
174 2010-02-02  Adam Roben  <aroben@apple.com>
175
176         Stop skipping some tests that were failing due to buggy versions of
177         CFNetwork
178
179         Rubber-stamped by Eric Carlson.
180
181         * platform/win/Skipped:
182
183 2010-02-02  Csaba Osztrogonác  <ossy@webkit.org>
184
185         [Qt] fast/frames/set-unloaded-frame-location.html timed out on Qt Linux Release Build Bot
186         https://bugs.webkit.org/show_bug.cgi?id=33303
187
188         fast/frames/sandboxed-iframe-navigation-windowopen.html made fast/frames/set-unloaded-frame-location.html
189         time out, but now it works correctly, so we can unskip the test.
190
191         * platform/qt/Skipped: fast/frames/sandboxed-iframe-navigation-windowopen.html unskipped.
192
193 2010-02-01  Brian Weinstein  <bweinstein@apple.com>
194
195         Check in new expected results for a test that has been failing on Windows
196         since it was originally landed. This appears to be a font issue, but commenting
197         on bug <https://bugs.webkit.org/show_bug.cgi?id=34234> to make sure.
198
199         * platform/win/fast/text/international/hebrew-vowels-expected.txt: Added.
200
201 2010-02-01  Dmitry Titov  <dimich@chromium.org>
202
203         Not reviewed, revert r54194 that fails new test on Qt and Chromium.
204         https://bugs.webkit.org/show_bug.cgi?id=34382
205
206         * fast/frames/iframe-reparenting-new-page-expected.txt: Removed.
207         * fast/frames/iframe-reparenting-new-page.html: Removed.
208         * fast/frames/resources/iframe-reparenting-new-page-1.html: Removed.
209         * fast/frames/resources/iframe-reparenting-new-page-2.html: Removed.
210         * fast/frames/resources/iframe-reparenting-new-page-iframe.html: Removed.
211         * fast/frames/script-tests/TEMPLATE.html: Removed.
212         * fast/frames/script-tests/iframe-reparenting-new-page.js: Removed.
213
214 2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
215
216         Reviewed by Eric Seidel.
217
218         Provide a way to get page number with layoutTestController
219         https://bugs.webkit.org/show_bug.cgi?id=33840
220
221         * platform/gtk/Skipped:
222         * platform/mac/Skipped:
223         * platform/qt/Skipped:
224         * platform/win/Skipped:
225         * printing/page-break-always-expected.txt: Added.
226         * printing/page-break-always.html: Added.
227         * printing/pageNumerForElementById-expected.txt: Added.
228         * printing/pageNumerForElementById.html: Added.
229         * printing/script-tests/TEMPLATE.html: Added.
230         * printing/script-tests/page-break-always.js: Added.
231         (createParagraph):
232         * printing/script-tests/pageNumerForElementById.js: Added.
233         (createParagraph):
234
235 2010-02-01  Daniel Bates  <dbates@webkit.org>
236
237         Reviewed by Adam Barth.
238
239         https://bugs.webkit.org/show_bug.cgi?id=27312
240
241         Tests that the header "X-XSS-Protection: full-block" leads to a full page block
242         when an XSS attack is detected.
243
244         * http/tests/security/xssAuditor/full-block-base-href-expected.txt: Added.
245         * http/tests/security/xssAuditor/full-block-base-href.html: Added.
246         * http/tests/security/xssAuditor/full-block-get-from-iframe-expected.txt: Added.
247         * http/tests/security/xssAuditor/full-block-get-from-iframe.html: Added.
248         * http/tests/security/xssAuditor/full-block-iframe-javascript-url-expected.txt: Added.
249         * http/tests/security/xssAuditor/full-block-iframe-javascript-url.html: Added.
250         * http/tests/security/xssAuditor/full-block-iframe-no-inherit-expected.txt: Added.
251         * http/tests/security/xssAuditor/full-block-iframe-no-inherit.php: Added.
252         * http/tests/security/xssAuditor/full-block-javascript-link-expected.txt: Added.
253         * http/tests/security/xssAuditor/full-block-javascript-link.html: Added.
254         * http/tests/security/xssAuditor/full-block-link-onclick-expected.txt: Added.
255         * http/tests/security/xssAuditor/full-block-link-onclick.html: Added.
256         * http/tests/security/xssAuditor/full-block-object-tag-expected.txt: Added.
257         * http/tests/security/xssAuditor/full-block-object-tag.html: Added.
258         * http/tests/security/xssAuditor/full-block-post-from-iframe-expected.txt: Added.
259         * http/tests/security/xssAuditor/full-block-post-from-iframe.html: Added.
260         * http/tests/security/xssAuditor/full-block-script-tag-expected.txt: Added.
261         * http/tests/security/xssAuditor/full-block-script-tag-with-source-expected.txt: Added.
262         * http/tests/security/xssAuditor/full-block-script-tag-with-source.html: Added.
263         * http/tests/security/xssAuditor/full-block-script-tag.html: Added.
264         * http/tests/security/xssAuditor/malformed-xss-protection-header-expected.txt: Added.
265         * http/tests/security/xssAuditor/malformed-xss-protection-header.html: Added.
266         * http/tests/security/xssAuditor/resources/echo-head-base-href.pl: Modified to optionally
267         enable full page blocking.
268         * http/tests/security/xssAuditor/resources/echo-intertag-click-and-notify.pl: Ditto.
269         * http/tests/security/xssAuditor/resources/echo-intertag.pl: Ditto.
270         * http/tests/security/xssAuditor/resources/utilities.js:
271         (checkIfFrameLocationMatchesURLAndCallDone): Added.
272         (sendRequestFromIFrame): Modified to optionally call callback function when done.
273
274 2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
275
276         Reviewed by Dmitry Titov.
277
278         Convert textarea-rows-cols.html to dumpAsText()
279         https://bugs.webkit.org/show_bug.cgi?id=34074
280
281         Remove checks for the size of scrollbar as scrollbar doesn't
282         appear on Windows.
283
284         * fast/forms/script-tests/textarea-rows-cols.js:
285         * fast/forms/textarea-rows-cols-expected.txt:
286
287 2010-02-01  Kent Tamura  <tkent@chromium.org>
288
289         Reviewed by Darin Adler.
290
291         Date.UTC() should apply TimeClip operation.
292         https://bugs.webkit.org/show_bug.cgi?id=34461
293
294         Add tests for corner cases of Date.UTC().
295
296         * fast/js/date-utc-timeclip-expected.txt: Added.
297         * fast/js/date-utc-timeclip.html: Added.
298         * fast/js/script-tests/date-utc-timeclip.js: Added.
299
300 2010-02-01  Kent Tamura  <tkent@chromium.org>
301
302         Unreviewed. Add two more test cases which I forgot to add in r54197.
303         https://bugs.webkit.org/show_bug.cgi?id=34462
304
305         * fast/js/math-expected.txt:
306         * fast/js/script-tests/math.js:
307
308 2010-02-01  Kent Tamura  <tkent@chromium.org>
309
310         Reviewed by Darin Adler.
311
312         Fix a bug that Math.round() retunrs incorrect results for huge integers
313         https://bugs.webkit.org/show_bug.cgi?id=34462
314
315         * fast/js/math-expected.txt:
316         * fast/js/script-tests/math.js: Add test cases for Math.round() for huge numbers.
317
318 2010-02-01  Dmitry Titov  <dimich@chromium.org>
319
320         Reviewed by David Levin.
321
322         When a live iframe element is moved between pages, it still depends on the old page.
323         https://bugs.webkit.org/show_bug.cgi?id=34382
324
325         * fast/frames/iframe-reparenting-new-page-expected.txt: Added.
326         * fast/frames/iframe-reparenting-new-page.html: Added.
327         * fast/frames/resources/iframe-reparenting-new-page-1.html: Added.
328         * fast/frames/resources/iframe-reparenting-new-page-2.html: Added.
329         * fast/frames/resources/iframe-reparenting-new-page-iframe.html: Added.
330
331 2010-02-01  Brady Eidson  <beidson@apple.com>
332
333         Reviewed by Tim Hatcher.
334
335         Add common IRC ports to port blocking.
336         <rdar://problem/7593895> and https://bugs.webkit.org/show_bug.cgi?id=34451
337         * platform/mac-tiger/security/block-test-expected.txt:
338         * platform/mac/security/block-test-expected.txt:
339         * security/block-test.html:
340
341 2010-02-01  Gavin Barraclough  <barraclough@apple.com>
342
343         Reviewed by Sam Weinig.
344
345         Bug 34346 - With JSC bindings, make processingUserGesture work with events in Isolated Worlds
346
347         * http/tests/security/isolatedWorld/resources/userGestureEvents-second-window.html: Added.
348         * http/tests/security/isolatedWorld/userGestureEvents-expected.txt: Added.
349         * http/tests/security/isolatedWorld/userGestureEvents.html: Added.
350
351 2010-02-01  Shinichiro Hamaji  <hamaji@chromium.org>
352
353         Reviewed by Darin Adler.
354
355         REGRESSION: editing/selection/doubleclick-beside-cr-span.html times out on Windows
356         https://bugs.webkit.org/show_bug.cgi?id=34069
357
358         Make the sleep time shorter as this test timed out on Windows bot.
359
360         * editing/selection/doubleclick-beside-cr-span.html:
361
362 2010-02-01  Diego Gonzalez  <diego.gonzalez@openbossa.org>
363
364         Reviewed by Kenneth Rohde Christiansen.
365
366         [Qt] DRT Provide global flag ability
367         https://bugs.webkit.org/show_bug.cgi?id=34418
368
369         Add the globalFlag property to the Qt LayoutTestController to allow
370         cross-domain indications.
371
372         * platform/qt/Skipped:
373
374 2010-02-01  Brian Weinstein  <bweinstein@apple.com>
375
376         Rubber-stamped by Oliver Hunt.
377
378         Check in (failing) expected results for fast/dom/Window/window-postmessage-clone-frames.
379         This fails because of <rdar://problem/5230396> eventSender.beginDragWithFiles is unimplemented.
380
381         * platform/win/fast/dom/Window/window-postmessage-clone-frames-expected.txt: Added.
382
383 2010-02-01  Eric Carlson  <eric.carlson@apple.com>
384
385         No review, build fix.
386
387         https://bugs.webkit.org/show_bug.cgi?id=34447
388         http/tests/media/video-referer.html fails on Windows
389
390         * platform/win/Skipped:
391
392 2010-02-01  Csaba Osztrogonác  <ossy@webkit.org>
393
394         [Qt] Unreviewed trivial fix.
395         Platform dependent expected file updated after r54143.
396
397         * platform/qt/fast/dom/Window/window-properties-expected.txt:
398
399 2010-02-01  Brady Eidson  <beidson@apple.com>
400
401         Reviewed by Adele Peterson.
402
403         Crash in Safari opening new tabs to "same page"
404         <rdar://problem/7593857> and https://bugs.webkit.org/show_bug.cgi?id=34444
405
406         * fast/loader/crash-copying-backforwardlist-expected.txt: Added.
407         * fast/loader/crash-copying-backforwardlist.html: Added.
408         * platform/gtk/Skipped:
409         * platform/qt/Skipped:
410         * platform/win/Skipped:
411
412 2010-02-01  Eric Carlson  <eric.carlson@apple.com>
413
414         Reviewed by Adele Peterson.
415
416         Fullscreen API should be on HTMLVideoElement
417         https://bugs.webkit.org/show_bug.cgi?id=34438
418
419         Update fullscreen tests now that <audio> doesn't have fullscreen API.
420
421         * fast/dom/Window/window-properties-expected.txt:
422         * media/media-fullscreen-inline-expected.txt:
423         * media/media-fullscreen-not-in-document-expected.txt:
424         * media/media-fullscreen.js:
425         (buttonClickHandler):
426         (canplaythrough):
427
428 2010-02-01  Ben Murdoch  <benm@google.com>
429
430         Reviewed by Darin Adler.
431
432         ScriptCallFrame's do not get line numbers/source id's if the caller is unkown.
433         https://bugs.webkit.org/show_bug.cgi?id=34335
434
435         Update layout tests that did not have source and line number information for their console messages, as this information is now available to the ScriptCallFrame and thus can be passed to the inspector, for example.
436
437         * fast/js/console-non-string-values-expected.txt: Add console line number/source.
438         * userscripts/script-not-run-for-fragments-expected.txt: ditto.
439         * userscripts/script-run-at-start-expected.txt: ditto.
440         * platform/gtk/inspector/console-log-before-inspector-open-expected.txt: Removed as platform workarounds no longer necessary.
441         * platform/mac/inspector/console-log-before-inspector-open-expected.txt: ditto.
442         * platform/win/inspector/console-log-before-inspector-open-expected.txt: ditto.
443  
444
445 2010-02-01  Csaba Osztrogonác  <ossy@webkit.org>
446
447         Rubber-stamped by Kenneth Rohde Christiansen.
448
449         [Qt] Platform dependent expected file added for test introduced in r53868,
450         because this test passes. Compared to png file and Mac expected file.
451
452         * platform/qt/fast/lists/anonymous-items-expected.txt: Added.
453
454 2010-02-01  Oliver Hunt  <oliver@apple.com>
455
456         Reviewed by Maciej Stachowiak.
457
458         JSC is failing to propagate anonymous slot count on some transitions
459         https://bugs.webkit.org/show_bug.cgi?id=34321
460
461         Add test case for modifying DOM objects with anonymous storage.
462
463         * fast/dom/Window/anonymous-slot-with-changes-expected.txt: Added.
464         * fast/dom/Window/anonymous-slot-with-changes.html: Added.
465
466 2010-01-31  Kent Tamura  <tkent@chromium.org>
467
468         Reviewed by Darin Adler.
469
470         [Win] Fix a bug of round() with huge integral numbers
471         https://bugs.webkit.org/show_bug.cgi?id=34297
472
473         Add a test case to call round(8639999913600001).
474
475         * fast/forms/input-valueasnumber-datetime-expected.txt:
476         * fast/forms/script-tests/input-valueasnumber-datetime.js:
477
478 2010-01-31  Kent Tamura  <tkent@chromium.org>
479
480         Reviewed by Darin Adler.
481
482         Fix valueAsNumber calculation for type=month.
483         https://bugs.webkit.org/show_bug.cgi?id=34304
484
485         valueAsNumber calculation for type=month which was checked in as
486         r53893 was the number of milliseconds since UNIX epoch, and it was
487         wrong. The correct way is the number months since UNIX epoch.
488
489         * fast/forms/input-valueasnumber-month-expected.txt:
490         * fast/forms/script-tests/input-valueasnumber-month.js:
491
492 2010-01-28  Ojan Vafai  <ojan@chromium.org>
493
494         Reviewed by Darin Adler.
495
496         Implement CSSOM Range.getClientRects for collapsed selections
497         https://bugs.webkit.org/show_bug.cgi?id=34239
498
499         Adds two cases to getClientRects test. 
500
501         * fast/dom/Range/getClientRects-expected.txt:
502         * fast/dom/Range/getClientRects.html:
503
504 2010-01-31  Oliver Hunt  <oliver@apple.com>
505
506         Reviewed by Simon Fraser.
507
508         Animated scaling of background-image is too slow
509         https://bugs.webkit.org/show_bug.cgi?id=33808
510
511         Update checksum.
512
513         * platform/mac/fast/backgrounds/size/backgroundSize16-expected.checksum:
514
515 2010-01-30  Simon Fraser  <simon.fraser@apple.com>
516
517         Reviewed by Adele Peterson.
518
519         Do color animations on premultiplied colors
520         https://bugs.webkit.org/show_bug.cgi?id=34383
521         
522         Testcase for animating from transparent colors.
523
524         * transitions/color-transition-premultiplied-expected.txt: Added.
525         * transitions/color-transition-premultiplied.html: Added.
526
527 == Rolled over to ChangeLog-2010-01-29 ==