Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r174922 - Ensure attached frame count doesn't exceed the maximu…
…m allowed frames https://bugs.webkit.org/show_bug.cgi?id=136457 Reviewed by Alexey Proskuryakov. Source/WebCore: Test: fast/frames/exponential-frames.html * html/HTMLFrameElementBase.cpp: (WebCore::HTMLFrameElementBase::isURLAllowed): LayoutTests: * fast/frames/exponential-frames-expected.txt: Added. * fast/frames/exponential-frames.html: Added. Canonical link: https://commits.webkit.org/154760.145@webkitgtk/2.6 git-svn-id: https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-2.6@175897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
8d89e8c
commit 9990be4
Showing
5 changed files
with
51 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
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 @@ | ||
This test passes if it does not crash. |
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,25 @@ | ||
<html> | ||
<head> | ||
<script> | ||
if (window.testRunner) | ||
testRunner.dumpAsText(); | ||
</script> | ||
<body> | ||
This test passes if it does not crash. | ||
<script> | ||
var elem = document.body; | ||
var frame = document.createElement("iframe"); | ||
frame.setAttribute("id", "frame"); | ||
document.body.appendChild(frame); | ||
var div = document.createElement("div"); | ||
div.setAttribute("id", "div"); | ||
frame.appendChild(div); | ||
for (var i = 0; i < 10; i++) { | ||
var div = document.getElementById("div"); | ||
var clone = elem.parentElement.cloneNode(true); | ||
div.appendChild(clone); | ||
} | ||
frame.parentElement.removeChild(frame); | ||
</script> | ||
</body> | ||
</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
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