2010-01-29 Victor Wang Reviewed by darin@apple.com. Fix the issue that both main frome and iframe are focused if window.onblur calls window.focus. https://bugs.webkit.org/show_bug.cgi?id=31692 The problem is caused by the focused frame in FocusController is messed up if window.onblur calls window.focus: When user clicks iframe to switch focus from main frame to iframe, FocusController::setFocusedFrame fires onblur event, which calls window.focus and then calls setFocusedFrame again to switch back. This messes up the old focused frame and new focused frame and leaves the FocusController confused. As a result, controlls in both main frame and iframe look like get focused. To fix it, add a flag to FocusController and do no switch the focused frame when FocusController is in the middle of changing the focused frame. * fast/events/change-frame-focus-expected.txt: Added. * fast/events/change-frame-focus.html: Added. 2010-01-28 Jon Honeycutt MSAA: Crash when posting a notification for a detached object https://bugs.webkit.org/show_bug.cgi?id=34309 Reviewed by Darin Adler. * platform/win/accessibility/detached-object-notification-crash-expected.txt: Added. * platform/win/accessibility/detached-object-notification-crash.html: Added. 2010-01-29 Darin Fisher Okayed by Oliver Hunt. Rollout r53949, r53951 and r54013 due to a Chromium regression that it causes. Somehow this code change is triggering an endless repaint loop. https://bugs.webkit.org/show_bug.cgi?id=33808 * platform/mac/fast/backgrounds/size/backgroundSize16-expected.checksum: * platform/mac/fast/backgrounds/size/backgroundSize16-expected.png: 2010-01-29 Philippe Normand Unreviewed, build fix. http/tests/media/video-referer.html fails on mac https://bugs.webkit.org/show_bug.cgi?id=34331 Skipping the failing test. Requires further investigation. * platform/mac-leopard/Skipped: * platform/mac-snowleopard/Skipped: * platform/mac-tiger/Skipped: * platform/mac/Skipped: 2010-01-29 Philippe Normand Reviewed by Gustavo Noronha Silva. [Gtk] Vimeo HTML5 player doesn't work https://bugs.webkit.org/show_bug.cgi?id=34327 Test for HTTP Referer checking when playing remote media. * http/tests/media/resources/setCookieAndReferer.cgi: Added. * http/tests/media/resources/video-referer-check-referer.php: Added. * http/tests/media/video-referer-expected.txt: Added. * http/tests/media/video-referer.html: Added. 2010-01-29 Andras Becsi Unreviewed. [Qt] Remove disabled tests from Skiplist. The tests were disabled in r53701. * platform/qt/Skipped: -css2.1/t1204-increment-00-c-o.html -css2.1/t1204-increment-01-c-o.html -css2.1/t1204-increment-02-c-o.html -css2.1/t1204-reset-00-c-o.html -css2.1/t1204-reset-01-c-o.html -css2.1/t1204-reset-02-c-o.html 2010-01-29 Pavel Feldman Reviewed by Timothy Hatcher. Web Inspector: migrate to tokenizer-based highlighting in the Elements panel. https://bugs.webkit.org/show_bug.cgi?id=34273 * inspector/syntax-highlight-css-expected.txt: * inspector/syntax-highlight-css.html: * inspector/syntax-highlight-javascript-expected.txt: * inspector/syntax-highlight-javascript.html: * inspector/syntax-highlight.js: (frontend_dumpSyntaxHighlight): 2010-01-28 Oliver Hunt Reviewed by Gavin Barraclough. MessageEvent.data should not be repeated deserialised https://bugs.webkit.org/show_bug.cgi?id=34311 Add test to ensure we get the same value back when accessing event.data multiple times * fast/dom/Window/window-postmessage-clone.html: 2010-01-28 Hayato Ito Reviewed by Darin Adler. Change CSS 'page-break-inside' property from inherited one to non-inherited one because CSS specification defines so. Note: Currently, the 'page-break-inside' property is used only when parsing the CSS. That property is not used when rendering. https://bugs.webkit.org/show_bug.cgi?id=34195 * fast/css/getComputedStyle/computed-style-page-break-inside-expected.txt: Added. * fast/css/getComputedStyle/computed-style-page-break-inside.html: Added. * fast/css/getComputedStyle/script-tests/computed-style-page-break-inside.js: Added. 2010-01-28 Michael Nordman Reviewed by Alexey Proskuryakov. ApplicationCache events should be deferred until after Document onload has fired. https://bugs.webkit.org/show_bug.cgi?id=29690 * http/tests/appcache/deferred-events-expected.txt: Added. * http/tests/appcache/deferred-events.html: Added. * http/tests/appcache/deferred-events-delete-while-raising-expected.txt: Added. * http/tests/appcache/deferred-events-delete-while-raising.html: Added. 2010-01-28 Alex Milowski Reviewed by Eric Seidel. Updates from CSS change for mathml.css * platform/mac/mathml/presentation/sub-expected.txt: * platform/mac/mathml/presentation/sup-expected.txt: * platform/mac/mathml/presentation/tables-expected.checksum: * platform/mac/mathml/presentation/tables-expected.png: * platform/mac/mathml/presentation/tables-expected.txt: 2010-01-28 Gustavo Noronha Silva Reviewed by Eric Carlson. [GTK] Pass cookies to GStreamer https://bugs.webkit.org/show_bug.cgi?id=34003 Test that cookie is being sent by the media player. * http/tests/media/resources/setCookie.cgi: Added. * http/tests/media/resources/video-cookie-check-cookie.php: Added. * http/tests/media/video-cookie-expected.txt: Added. * http/tests/media/video-cookie.html: Added. 2010-01-28 Csaba Osztrogonác [Qt] Incorrect small caps vs. normal text handling https://bugs.webkit.org/show_bug.cgi?id=34286 * platform/qt/Skipped: css2.1/t1505-c524-font-var-00-b.html skipped 2010-01-27 Evan Martin Reviewed by David Levin. [chromium] hebrew vowel marks incorrectly positioned https://bugs.webkit.org/show_bug.cgi?id=34234 Add a layout test containing some Hebrew vowels. * fast/text/international/hebrew-vowels.html: Added. 2010-01-28 Dimitri Glazkov Unreviewed, trivial baseline update. Update baseline for "Animated scaling of background-image is too slow" https://bugs.webkit.org/show_bug.cgi?id=33808 * platform/mac/fast/backgrounds/size/backgroundSize16-expected.checksum: * platform/mac/fast/backgrounds/size/backgroundSize16-expected.png: 2010-01-28 Adam Barth Reviewed by David Levin. Remove XSSAuditor false positive for Google Translate https://bugs.webkit.org/show_bug.cgi?id=34242 Add a test that we allow attackers to inject directly into the href property of the base tag. * http/tests/security/xssAuditor/base-href-direct-expected.txt: Added. * http/tests/security/xssAuditor/base-href-direct.html: Added. * http/tests/security/xssAuditor/resources/echo-head-base-href-direct.pl: Added. 2010-01-28 Simon Fraser Reviewed by Dan Bernstein. Video can overlap position:fixed element when scrolling https://bugs.webkit.org/show_bug.cgi?id=32180 Testcase for video overlapping a fixed position element on scroll. * compositing/geometry/video-fixed-scrolling.html: Added. * platform/mac/compositing/geometry/video-fixed-scrolling-expected.checksum: Added. * platform/mac/compositing/geometry/video-fixed-scrolling-expected.png: Added. * platform/mac/compositing/geometry/video-fixed-scrolling-expected.txt: Added. 2010-01-28 Anton Muhin Reviewed by Alexey Proskuryakov. Add layout tests to verify assignment to items of NodeList https://bugs.webkit.org/show_bug.cgi?id=34213 * fast/dom/NodeList/nodelist-item-assignment-expected.txt: Added. * fast/dom/NodeList/nodelist-item-assignment.html: Added. 2010-01-28 Ben Murdoch Reviewed by Simon Hausmann. [Android] [Qt] Touch event page co-ordinates are incorrect when touch is received in an iframe. https://bugs.webkit.org/show_bug.cgi?id=34162 Update the existing iframe touch event test to also examine the page co-ordinates of the touch that is received. * fast/events/touch/resources/touch-inside-iframe2.html: * fast/events/touch/touch-inside-iframe-expected.txt: * fast/events/touch/touch-inside-iframe.html: 2010-01-28 Xan Lopez [GTK] Can DnD files to our filechooser widget () https://bugs.webkit.org/show_bug.cgi?id=34246 Skip failing test because of this missing feature. * platform/gtk/Skipped: 2010-01-28 Kent Tamura Reviewed by Darin Fisher. Remove tests for dates later than 275760-09-13T00:00Z. https://bugs.webkit.org/show_bug.cgi?id=34240 Date.UTC() of V8 doesn't support such dates though Date.UTC() of JavaScriptCore does. * fast/forms/input-valueasnumber-date-expected.txt: * fast/forms/input-valueasnumber-datetime-expected.txt: * fast/forms/input-valueasnumber-datetimelocal-expected.txt: * fast/forms/input-valueasnumber-month-expected.txt: * fast/forms/script-tests/input-valueasnumber-date.js: * fast/forms/script-tests/input-valueasnumber-datetime.js: * fast/forms/script-tests/input-valueasnumber-datetimelocal.js: * fast/forms/script-tests/input-valueasnumber-month.js: * platform/win/fast/forms/input-valueasnumber-datetime-expected.txt: Removed. 2010-01-27 Kent Tamura Reviewed by Darin Adler. rangeOverflow/rangeUnderflow support for type=date https://bugs.webkit.org/show_bug.cgi?id=34209 * fast/forms/ValidityState-rangeOverflow-date-expected.txt: Added. * fast/forms/ValidityState-rangeOverflow-date.html: Added. * fast/forms/ValidityState-rangeUnderflow-date-expected.txt: Added. * fast/forms/ValidityState-rangeUnderflow-date.html: Added. * fast/forms/script-tests/ValidityState-rangeOverflow-date.js: Added. * fast/forms/script-tests/ValidityState-rangeUnderflow-date.js: Added. 2010-01-27 Csaba Osztrogonác [Qt] Skip test introduced in r53972 because of missing eventSender.beginDragWithFiles() * platform/qt/Skipped: fast/dom/Window/window-postmessage-clone-frames.html skipped. 2010-01-27 Oliver Hunt Reviewed by Maciej Stachowiak. MessageEvent.data should deserialize in the context of the MessageEvent's global object https://bugs.webkit.org/show_bug.cgi?id=34227 Test that the object returned from postMessage.data is created in the correct context * fast/dom/Window/resources/window-postmessage-clone-frames-frame.html: Added. * fast/dom/Window/window-postmessage-clone-frames-expected.txt: Added. * fast/dom/Window/window-postmessage-clone-frames.html: Added. 2010-01-27 John Abd-El-Malek Reviewed by Dimitri Glazkov. Tests that when a page removes an iframe that sleeps in its unload handler and terminates its JS execution, the outer page's JS continues running. https://bugs.webkit.org/show_bug.cgi?id=34226 * fast/dom/Window/slow-unload-handler-expected.txt: Copied from LayoutTests/fast/dom/Window/slow_unload_handler-expected.txt. * fast/dom/Window/slow-unload-handler-only-frame-is-stopped.html: Added. * fast/dom/Window/slow-unload-handler-only-frame-is-stopped-expected.txt: Added. * fast/dom/Window/slow-unload-handler.html: Copied from LayoutTests/fast/dom/Window/slow_unload_handler.html. * fast/dom/Window/slow_unload_handler-expected.txt: Removed. * fast/dom/Window/slow_unload_handler.html: Removed. * platform/gtk/Skipped: * platform/mac/Skipped: * platform/qt/Skipped: * platform/win/Skipped: 2010-01-27 Kent Tamura Reviewed by Darin Adler. Add valueAsNumber support for type=datetime-local. https://bugs.webkit.org/show_bug.cgi?id=34200 The test data is equivalent to input-valueasnumber-datetime.html. The expectation contains two FAIL lines because they check unimplemented features. * fast/forms/input-valueasnumber-datetimelocal-expected.txt: Added. * fast/forms/input-valueasnumber-datetimelocal.html: Added. * fast/forms/script-tests/input-valueasnumber-datetimelocal.js: Added. 2010-01-27 Brian Weinstein Rubber-stamped by Adam Roben. Add platform specific failing Windows results for two recently added tests. I will comment on their originating bugs saying that failing results were landed for Windows. * platform/win/fast/css/button-height-expected.txt: Added. * platform/win/fast/forms/input-valueasnumber-datetime-expected.txt: Added. 2010-01-27 Diego Gonzalez Reviewed by Kenneth Rohde Christiansen. [Qt] DRT Provide worker thread ability to track counters https://bugs.webkit.org/show_bug.cgi?id=34221 Implement workerThreadCount() in LayoutTestController of Qt DRT Tests: fast/workers/dedicated-worker-lifecycle.html fast/workers/shared-worker-frame-lifecycle.html fast/workers/shared-worker-lifecycle.html fast/workers/worker-lifecycle.html * platform/qt/Skipped: 2010-01-26 Darin Fisher Reviewed by Brady Eidson and David Levin. Chains of history items representing same-document navigation need to always remember that association https://bugs.webkit.org/show_bug.cgi?id=33224 * fast/dom/location-hash-expected.txt: * fast/dom/location-hash.html: Revert changes from r43274 since history.back to a reference fragment is now synchronous. * fast/history/back-forward-is-asynchronous-expected.txt: Removed. * fast/history/back-forward-is-asynchronous.html: Removed. This test is no longer valid (revert r43274). * fast/loader/stateobjects/document-destroyed-navigate-back-expected.txt: * fast/loader/stateobjects/document-destroyed-navigate-back.html: Revised test results to match corrected behavior. Also removed the redundant history.back() call, which helps make the test a bit easier to understand. 2010-01-27 Yael Aharon Reviewed by Laszlo Gombos. [Qt] Enable websockets support in QtWebKit https://bugs.webkit.org/show_bug.cgi?id=34180 Remove websockets tests from skiplist. * platform/qt/Skipped: 2010-01-27 Mads Ager Reviewed by Dimitri Glazkov. [V8] Support getting integer-named properties using indexing notation on document object https://bugs.webkit.org/show_bug.cgi?id=34211 * fast/dom/HTMLDocument/get-iframe-with-integer-name-expected.txt: Added. * fast/dom/HTMLDocument/get-iframe-with-integer-name.html: Added. 2010-01-27 Kinuko Yasuda Reviewed by Eric Seidel. Remove fast/events/keydown-numpad-keys.html from gtk's Skipped list. https://bugs.webkit.org/show_bug.cgi?id=28247 * platform/gtk/Skipped: 2010-01-27 Tony Chang Reviewed by Eric Seidel. Fix a crash when trying to indent a block element that was contained in a list. This was happening because enclosingBlock() in htmlediting.cpp can return the current the same Node when a block element (like an
or a ) is passed in. This causes the indent command to think that it is not in a list item. Work around this by checking to see if enclosingBlock returned the same Node. https://bugs.webkit.org/show_bug.cgi?id=32390 * editing/execCommand/indent-block-in-list-expected.txt: Added. * editing/execCommand/indent-block-in-list.html: Added. 2010-01-27 Csaba Osztrogonác [Qt] Qt port doesn't need platform dependent expected file anymore for editing/pasteboard/paste-noscript-xhtml.html from r53873. * platform/qt/editing/pasteboard/paste-noscript-xhtml-expected.txt: Removed. 2010-01-27 Csaba Osztrogonác [Qt] fast/backgrounds/animated-svg-as-background.html make fast/backgrounds/svg-as-background-5.html crash. https://bugs.webkit.org/show_bug.cgi?id=34202 * platform/qt/Skipped: fast/backgrounds/animated-svg-as-background.html enabled because bug rolled out by r53912. 2010-01-27 Matt Perry Reviewed by Eric Seidel. Fix a bug where dispatchDocumentElementAvailable was fired for fragment parsing on XML documents. https://bugs.webkit.org/show_bug.cgi?id=33920 * userscripts/resources: Added. * userscripts/resources/blank.xhtml: Added. * userscripts/script-not-run-for-fragments-expected.txt: Added. * userscripts/script-not-run-for-fragments.html: Added. * userscripts/script-run-at-start-expected.txt: Added. * userscripts/script-run-at-start.html: Added. 2010-01-27 Csaba Osztrogonác [Qt] fast/backgrounds/animated-svg-as-background.html make fast/backgrounds/svg-as-background-5.html crash. https://bugs.webkit.org/show_bug.cgi?id=34202 * platform/qt/Skipped: fast/backgrounds/animated-svg-as-background.html skipped until fix. 2010-01-25 Philippe Normand Reviewed by Eric Seidel. [Gtk] media/video-reverse-play-duration.html fails on and off on Gtk buildbots https://bugs.webkit.org/show_bug.cgi?id=34086 * platform/gtk/Skipped: Unskip fixed test. 2010-01-26 Daniel Bates Unreviewed. Made a minor typo when I added the test case fast/css/button-height.html to the GTK Skipped file. In changeset 53900, I added test "fast/css/button-height.htm" to the GTK Skipped file instead of "fast/css/button-height.html". See bug #33936 for more details. * platform/gtk/Skipped: 2010-01-26 Csaba Osztrogonác [Qt] Failing tests after r53895 skipped. https://bugs.webkit.org/show_bug.cgi?id=34167 * platform/qt/Skipped: - http/tests/history/redirect-301.pl - http/tests/history/redirect-302.pl - http/tests/history/redirect-303.pl - http/tests/history/redirect-307.pl 2010-01-26 Csaba Osztrogonác Unreviewed trivial fix. * platform/qt/editing/pasteboard/paste-noscript-xhtml-expected.txt: updated after r53873. 2010-01-26 Daniel Bates Unreviewed. Updated expected failing results for table-percent-height.html to reflect one pixel difference between the results generated by the Qt bot and my machine. Added failing test fast/css/button-height.html to GTK Skipped file as we need to look into this. See bug #33936 for more details. * platform/gtk/Skipped: Added failing test fast/css/button-height.html. * platform/qt/fast/replaced/table-percent-height-expected.txt: Updated result. 2010-01-26 Daniel Bates Reviewed by Tor Arne Vestbø. https://bugs.webkit.org/show_bug.cgi?id=29564 Tests that the user-specified height for