Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
2006-10-07 Andrew Wellington <proton@wiretapped.net>
Reviewed by Eric. Bug 10837: REGRESSION: Yahoo New Charts Crashes WebKit http://bugzilla.opendarwin.org/show_bug.cgi?id=10837 Return null when there is no frame. This matches Firefox. * bindings/js/kjs_html.cpp: (KJS::JSHTMLDocument::getValueProperty): 2006-10-07 Andrew Wellington <proton@wiretapped.net> Reviewed by Eric. Test for http://bugzilla.opendarwin.org/show_bug.cgi?id=10837 Bug 10837: REGRESSION: Yahoo New Charts Crashes WebKit * fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.checksum: Added. * fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.png: Added. * fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.txt: Added. * fast/dom/HTMLDocument/frameless-location-bugzilla10837.html: Added. Canonical link: https://commits.webkit.org/14174@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
7 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
LayoutTests/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.checksum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
c07a88de7552db9f0a9b1c21643f8c52 |
Binary file added
BIN
+4.74 KB
LayoutTests/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 20 additions & 0 deletions
20
LayoutTests/fast/dom/HTMLDocument/frameless-location-bugzilla10837-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
layer at (0,0) size 800x600 | ||
RenderView at (0,0) size 800x600 | ||
layer at (0,0) size 800x600 | ||
RenderBlock {HTML} at (0,0) size 800x600 | ||
RenderFrameSet {FRAMESET} at (0,0) size 800x600 | ||
RenderFrame {FRAME} at (0,0) size 398x600 | ||
layer at (0,0) size 396x596 | ||
RenderView at (0,0) size 396x596 | ||
layer at (0,0) size 396x596 | ||
RenderBlock {HTML} at (0,0) size 396x596 | ||
RenderBody {BODY} at (8,8) size 380x580 | ||
RenderBlock {DIV} at (0,0) size 380x18 | ||
RenderText {#text} at (0,0) size 61x18 | ||
text run at (0,0) width 61: "PASSED" | ||
RenderFrame {FRAME} at (402,0) size 398x600 | ||
layer at (0,0) size 396x596 | ||
RenderView at (0,0) size 396x596 | ||
layer at (0,0) size 396x8 | ||
RenderBlock {HTML} at (0,0) size 396x8 | ||
RenderBody {BODY} at (8,8) size 380x0 |
15 changes: 15 additions & 0 deletions
15
LayoutTests/fast/dom/HTMLDocument/frameless-location-bugzilla10837.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<frameset cols="1,1"> | ||
<frame src="data:text/html, | ||
<div id='result'> | ||
FAILED | ||
</div> | ||
<script> | ||
var f = parent.frames[1]; | ||
var d = f.document; | ||
f.location = 'data:text/html,foo'; | ||
var test = d.location; | ||
document.getElementById('result').innerHTML = 'PASSED'; | ||
</script> | ||
"> | ||
<frame src="about:blank"> | ||
</frameset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters