[Webkit-unassigned] [Bug 94058] New: [BlackBerry] [DRT] 5 tests failed for incorrect JS console message format

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 14 18:57:43 PDT 2012


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

           Summary: [BlackBerry] [DRT] 5 tests failed for incorrect JS
                    console message format
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: xiaobo.wang at torchmobile.com.cn
                CC: rwlbuis at gmail.com, mxie at rim.com


>From RIM PR #191441

Failed cases:
1 fast/frames/sandboxed-iframe-history-denied.html
2 fast/frames/sandboxed-iframe-navigation-targetlink.html
3 fast/frames/sandboxed-iframe-navigation-top-by-name-denied.html
4 fast/frames/sandboxed-iframe-navigation-top-denied.html
5 fast/frames/seamless/seamless-window-location-sandbox.html

All tests failed because of incorrect console message format.
Need to fix in DumpRenderTree code.
Here's the text diff for one of the tests.

---/tmp/developer/layout-test-results/fast/frames/sandboxed-iframe-navigation-top-denied-expected.txt
+++/tmp/developer/layout-test-results/fast/frames/sandboxed-iframe-navigation-top-denied-actual.txt
@@ -1,4 +1,6 @@
-CONSOLE MESSAGE: Unsafe JavaScript attempt to initiate a navigation change for frame with URL navigate-top-to-fail.html.
+CONSOLE MESSAGE: line 0: Unsafe JavaScript attempt to initiate a navigation change for frame with URL file:///developer/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-denied.html from frame with URL file:///developer/LayoutTests/fast/frames/resources/navigate-top-to-fail.html.
+
+JS Console: :0: Unsafe JavaScript attempt to initiate a navigation change for frame with URL file:///developer/LayoutTests/fast/frames/sandboxed-iframe-navigation-top-denied.html from frame with URL file:///developer/LayoutTests/fast/frames/resources/navigate-top-to-fail.html.

 This test verifies that a sandboxed IFrame cannot navigate the top-level frame without allow-top-navigation. This test passes if the navigation does not occur.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list