Commit 93801a26 authored by levin@chromium.org's avatar levin@chromium.org

2009-03-20 Tony Chang <tony@chromium.org>

        Reviewed by Alexey Proskuryakov.

        https://bugs.webkit.org/show_bug.cgi?id=24679

        Change the layout test from using a data: URL to using a file:///
        URL for the iframe.  If DRT's frame loader has
        AllowLocalLoadsForLocalOnly, then it's not possible to load an image
        from disk into the iframe.  Since this test is about D&D, not
        local load checks, switch to a local file that doesn't have this
        problem.

        This should fix the test on win DRT as well.

        * fast/events/resources/standalone-image-drag-to-editable-frame.html: Added.
        * fast/events/standalone-image-drag-to-editable.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@41883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 94551aa2
2009-03-20 Tony Chang <tony@chromium.org>
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=24679
Change the layout test from using a data: URL to using a file:///
URL for the iframe. If DRT's frame loader has
AllowLocalLoadsForLocalOnly, then it's not possible to load an image
from disk into the iframe. Since this test is about D&D, not
local load checks, switch to a local file that doesn't have this
problem.
This should fix the test on win DRT as well.
* fast/events/resources/standalone-image-drag-to-editable-frame.html: Added.
* fast/events/standalone-image-drag-to-editable.html:
2009-03-20 Dan Bernstein <mitz@apple.com>
Reviewed by Dave Hyatt.
......
<html><body style='margin: 0 0 0 0;'><div style='height: 100px; border: solid 1px black;' contenteditable=true>
This layout test is checks that we don't crash when a stand alone image is dragged into a content editable div. <br />
<a href='rdar://problem/5021127'>rdar://problem/5021127</a>
</div></body></html>
......@@ -19,10 +19,7 @@
}
</script>
<frameset rows="100px, 100px, *">
<frame onload="frameLoaded()" src="data:text/html,<html><body style='margin: 0 0 0 0;'><div style='height: 100px; border: solid 1px black;' contenteditable=true>
This layout test is checks that we don't crash when a stand alone image is dragged into a content editable div. <br />
<a href='rdar://problem/5021127'>rdar://problem/5021127</a>
</div></body></html>">
<frame onload="frameLoaded()" src="resources/standalone-image-drag-to-editable-frame.html">
<frame src="resources/greenbox.png" onload="frameLoaded()">
</frameset>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment