2013-09-10 Ryosuke Niwa <rniwa@webkit.org> Fix race in fast/loader/onunload-form-submit-crash.html https://bugs.webkit.org/show_bug.cgi?id=121122 Reviewed by Alexey Proskuryakov. Merge https://chromium.googlesource.com/chromium/blink/+/c7ab0900c147f9a2f4c69d62b6460f98abc5d796 The setTimeout was sometimes firing before the form was parsed, so document.myForm would be null. * fast/loader/onunload-form-submit-crash.html:
2013-09-10 Grzegorz Czajkowski <g.czajkowski@samsung.com> needsFocus is always undefined in grammar-paste.html https://bugs.webkit.org/show_bug.cgi?id=121097 Reviewed by Darin Adler. Remove unnecessary needsFocus parameter which is always undefined. In addition, remove if (true) condition in the test. * editing/spelling/grammar-paste.html:
2013-09-10 Chris Fleizach <cfleizach@apple.com> AX: Integrate Mac results from paragraph-with-linebreaks.html https://bugs.webkit.org/show_bug.cgi?id=121110 Unreviewed. Add in new expected results for Mac platform. * platform/mac/accessibility/paragraph-with-linebreaks-expected.txt: Added.
2013-09-10 Mark Lam <mark.lam@apple.com> Move image-preload-helper.js from LayoutTests/js/resources to LayoutTests/resources. https://bugs.webkit.org/show_bug.cgi?id=120899. Rubber stamped by Filip Pizlo. This was missing from the r155452 commit, and should resolve failures in the fast/events/mouse-cursor*.html tests. * js/resources/image-preload-helper.js: Removed. * resources/image-preload-helper.js: Copied from LayoutTests/js/resources/image-preload-helper.js.
2013-09-10 Tim Horton <timothy_horton@apple.com> [mac] PDFDocumentImage should use PDFKit to draw https://bugs.webkit.org/show_bug.cgi?id=120651 <rdar://problem/12810731> Reviewed by Alexey Proskuryakov. * fast/images/pdf-as-image-with-annotations-expected.html: Added. * fast/images/pdf-as-image-with-annotations.html: Added. * fast/images/resources/annotation.pdf: Added. Add a test that ensures that PDF-in-<img> draws simple annotations. * platform/mac/fast/images/pdf-as-image-landscape-expected.png: * platform/mac/fast/images/pdf-as-image-landscape-expected.txt: Extremely minor rebaselines probably due to PDFKit handling rotation in the new implementation.
2013-09-10 Tim Horton <timothy_horton@apple.com> [mac] <progress> has rendering artifacts along the bottom https://bugs.webkit.org/show_bug.cgi?id=120865 <rdar://problem/11571240> Reviewed by Simon Fraser. Add a Mac-specific test that an unstyled indeterminate progress bar overrides its specified height with its fixed system height. * platform/mac/fast/forms/indeterminate-progress-inline-height-expected.txt: Added. * platform/mac/fast/forms/indeterminate-progress-inline-height.html: Added.
2013-09-10 Chris Fleizach <cfleizach@apple.com> AX: Expose DOM ID and ClassList to AX APIs for automation and AT element hashes https://bugs.webkit.org/show_bug.cgi?id=120552 Reviewed by Darin Adler. Tests that output all attributes need to be updated, since the DOM ID and DOM class list are new on all elements. * accessibility/transformed-element-expected.txt: * platform/mac/accessibility/aria-columnrowheaders-expected.txt: * platform/mac/accessibility/bounds-for-range-expected.txt: * platform/mac/accessibility/document-attributes-expected.txt: * platform/mac/accessibility/document-links-expected.txt: * platform/mac/accessibility/id-class-attributes-expected.txt: Added. * platform/mac/accessibility/id-class-attributes.html: Added. * platform/mac/accessibility/image-link-expected.txt: * platform/mac/accessibility/image-map2-expected.txt: * platform/mac/accessibility/internal-link-anchors-expected.txt: * platform/mac/accessibility/internal-link-anchors2-expected.txt: * platform/mac/accessibility/lists-expected.txt: * platform/mac/accessibility/plugin-expected.txt: * platform/mac/accessibility/radio-button-group-members-expected.txt: * platform/mac/accessibility/table-attributes-expected.txt: * platform/mac/accessibility/table-cell-spans-expected.txt: * platform/mac/accessibility/table-cells-expected.txt: * platform/mac/accessibility/table-detection-expected.txt: * platform/mac/accessibility/table-one-cell-expected.txt: * platform/mac/accessibility/table-sections-expected.txt: * platform/mac/accessibility/table-with-aria-role-expected.txt: * platform/mac/accessibility/table-with-rules-expected.txt:
2013-09-10 Denis Nomiyama <d.nomiyama@samsung.com> [GTK] accessibility/loading-iframe-sends-notification.html is failing https://bugs.webkit.org/show_bug.cgi?id=98370 Reviewed by Chris Fleizach. Changed the expectation of the loading iframe notification test in accessibility, which was failing before this fix on the GTK+ platform. * platform/gtk/TestExpectations: Changed the expectation of the loading iframe notification test in accessibility.