Commit e2bddfbc authored by ggaren's avatar ggaren
Browse files

Reviewed by Sam Weinig.

        
        Fixed up these tests because they broke the bot.
        
        - Removed reliance on suppressConsoleMessages because I never checked
        that in and I decided it would just be a headache on other platforms.
        - Removed call to frames[0].stop() because it was nonsense.
        - Added console messages to results.

        * http/tests/security/cross-frame-access-expected.txt:
        * http/tests/security/cross-frame-access-first-time-expected.txt:
        * http/tests/security/cross-frame-access-first-time.html:
        * http/tests/security/cross-frame-access.html:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 3e0081a1
2007-06-19 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Fixed up these tests because they broke the bot.
- Removed reliance on suppressConsoleMessages because I never checked
that in and I decided it would just be a headache on other platforms.
- Removed call to frames[0].stop() because it was nonsense.
- Added console messages to results.
* http/tests/security/cross-frame-access-expected.txt:
* http/tests/security/cross-frame-access-first-time-expected.txt:
* http/tests/security/cross-frame-access-first-time.html:
* http/tests/security/cross-frame-access.html:
2007-06-19 Geoffrey Garen <ggaren@apple.com>
 
Reviewed by Darin Adler.
CONSOLE MESSAGE: line 1: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-first-time.html. Domains must match.
This test checks cross-frame access security for first-time access to the document (rdar://problem/5251309).
......
......@@ -21,7 +21,6 @@ window.onload = function()
{
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.suppressConsoleMessages();
}
var doc = frames[0].document;
......
......@@ -291,7 +291,6 @@ window.onload = function()
{
if (window.layoutTestController) {
layoutTestController.dumpAsText();
layoutTestController.suppressConsoleMessages();
}
log("\n----- tests for getting/setting vanilla properties -----\n");
......@@ -399,6 +398,5 @@ window.onload = function()
// Work around DRT bug that causes subsequent tests to fail.
window.stop();
frames[0].stop();
}
</script>
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