Changeset 128747 in webkit


Ignore:
Timestamp:
Sep 17, 2012 5:48:30 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[JSC] http/tests/security/cross-frame-access-put.html failing after r123145
https://bugs.webkit.org/show_bug.cgi?id=91843

Patch by Christophe Dumez <Christophe Dumez> on 2012-09-17
Reviewed by Adam Barth.

Since r123145, window.top is not longer replaceable in JSC, to bring it
in line with other browsers. The http/tests/security/cross-frame-access-put.html
now needs to be updated because it is still testing the window.top setter.

Thanks to this fix, we can now get rid of the platform-specific results for
ports using JSC.

  • http/tests/security/cross-frame-access-put-expected.txt:
  • http/tests/security/cross-frame-access-put.html:
  • platform/chromium/http/tests/security/cross-frame-access-put-expected.txt:
  • platform/efl/TestExpectations: Unskip test case.
  • platform/gtk/http/tests/security/cross-frame-access-put-expected.txt: Removed.
  • platform/mac/Skipped: Unskip test case.
  • platform/qt/http/tests/security/cross-frame-access-put-expected.txt: Removed.
Location:
trunk/LayoutTests
Files:
2 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r128746 r128747  
     12012-09-17  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [JSC] http/tests/security/cross-frame-access-put.html failing after r123145
     4        https://bugs.webkit.org/show_bug.cgi?id=91843
     5
     6        Reviewed by Adam Barth.
     7
     8        Since r123145, window.top is not longer replaceable in JSC, to bring it
     9        in line with other browsers. The http/tests/security/cross-frame-access-put.html
     10        now needs to be updated because it is still testing the window.top setter.
     11
     12        Thanks to this fix, we can now get rid of the platform-specific results for
     13        ports using JSC.
     14
     15        * http/tests/security/cross-frame-access-put-expected.txt:
     16        * http/tests/security/cross-frame-access-put.html:
     17        * platform/chromium/http/tests/security/cross-frame-access-put-expected.txt:
     18        * platform/efl/TestExpectations: Unskip test case.
     19        * platform/gtk/http/tests/security/cross-frame-access-put-expected.txt: Removed.
     20        * platform/mac/Skipped: Unskip test case.
     21        * platform/qt/http/tests/security/cross-frame-access-put-expected.txt: Removed.
     22
    1232012-09-14  Alexander Pavlov  <apavlov@chromium.org>
    224
  • trunk/LayoutTests/http/tests/security/cross-frame-access-put-expected.txt

    r115299 r128747  
    11CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match.
    2 
    3 CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match.
    42
    53CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match.
  • trunk/LayoutTests/http/tests/security/cross-frame-access-put.html

    r120174 r128747  
    195195    setForbiddenProperty(targetWindow, "window");
    196196    setForbiddenProperty(targetWindow, "parent");
    197     setForbiddenProperty(targetWindow, "top");
    198197
    199198    // Functions
  • trunk/LayoutTests/platform/chromium/http/tests/security/cross-frame-access-put-expected.txt

    r110667 r128747  
    11CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html from frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html. Domains, protocols and ports must match.
    2 
    3 CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match.
    42
    53CONSOLE MESSAGE: Unsafe JavaScript attempt to access frame with URL http://localhost:8000/security/resources/cross-frame-iframe-for-put-test.html from frame with URL http://127.0.0.1:8000/security/cross-frame-access-put.html. Domains, protocols and ports must match.
  • trunk/LayoutTests/platform/efl/TestExpectations

    r128745 r128747  
    932932BUGWK91210 : http/tests/w3c/webperf/approved/navigation-timing/html/test_timing_xserver_redirect.html = TEXT
    933933
    934 // Failing after r123145 on EFL, GTK and QT.
    935 BUGWK91843 : http/tests/security/cross-frame-access-put.html = TEXT
    936 
    937934// Failing after r123379 on EFL and GTK.
    938935BUGWK92063 : fast/css/sticky/parsing-position-sticky.html = TEXT
  • trunk/LayoutTests/platform/mac/Skipped

    r128644 r128747  
    714714http/tests/navigation/javascriptlink-frames.html
    715715
    716 # https://bugs.webkit.org/show_bug.cgi?id=82751
    717 http/tests/security/cross-frame-access-put.html
    718 
    719716# https://bugs.webkit.org/show_bug.cgi?id=82752
    720717plugins/netscape-dom-access-and-reload.html
Note: See TracChangeset for help on using the changeset viewer.