12011-02-25 Xianzhu Wang <wangxianzhu@google.com>
2
3 Reviewed by NOBODY (OOPS!).
4
5 In layout tests, iframe's onload handler should not use script function
6 defined after the iframe.
7 https://bugs.webkit.org/show_bug.cgi?id=54942
8
9 Found and fixed more tests in addition to the first patch to bug 54942.
10 Tried best to avoid expectation changes.
11
12 * editing/execCommand/find-after-replace.html:
13 * editing/input/option-page-up-down.html:
14 * editing/input/scroll-viewport-page-up-down.html:
15 * editing/pasteboard/copy-standalone-image.html:
16 * editing/pasteboard/drag-image-to-contenteditable-in-iframe.html:
17 * editing/pasteboard/paste-noscript-xhtml.xhtml:
18 * editing/selection/drag-in-iframe.html:
19 * editing/undo/undo-iframe-location-change.html:
20 * fast/dom/DOMImplementation/createDocument-with-used-doctype-expected.txt:
21 * fast/dom/DOMImplementation/createDocument-with-used-doctype.html:
22 * fast/dom/Window/window-postmessage-clone-frames.html:
23 * fast/dynamic/paused-event-dispatch.html:
24 * fast/events/keydown-remove-frame.html:
25 * fast/events/mousedown-in-subframe-scrollbar.html:
26 * fast/frames/content-opacity-2.html:
27 * fast/frames/viewsource-plain-text-tags.html:
28 * fast/frames/viewsource-unfinished-tags.html:
29 * fast/history/form-submit-in-frame-via-onclick.html:
30 * fast/history/form-submit-in-frame.html:
31 * fast/xsl/xslt-text-expected.txt:
32 * fast/xsl/xslt-text.html:
33 * http/tests/messaging/cross-domain-message-send.html:
34 * http/tests/misc/cached-scripts-expected.txt:
35 * http/tests/misc/cached-scripts.html:
36 * http/tests/plugins/post-url-file.html:
37 * http/tests/security/listener/xss-inactive-closure.html:
38 * http/tests/security/postMessage/delivery-order.html:
39 * http/tests/security/postMessage/invalid-origin-throws-exception.html:
40 * http/tests/security/postMessage/origin-unaffected-by-base-tag.html:
41 * http/tests/security/postMessage/target-origin.html:
42 * http/tests/security/xss-DENIED-getSVGDocument-iframe.html:
43 * http/tests/xmlhttprequest/detaching-frame-2.html:
44 * media/media-document-audio-repaint.html:
45 * media/media-document-audio-size.html:
46 * platform/mac/fast/dom/wrapper-classes-objc.html:
47 * platform/mac/fast/loader/non-html-load-event.html:
48 * scrollbars/hidden-iframe-scrollbar-crash2.html:
49 * storage/close-during-stress-test.html:
50 * svg/custom/js-update-transform-changes.svg:
51