Changeset 144282 in webkit


Ignore:
Timestamp:
Feb 28, 2013, 2:07:25 AM (13 years ago)
Author:
mkwst@chromium.org
Message:

Cleanup: XSSAuditor's form[action] tests should be manually executable.
https://bugs.webkit.org/show_bug.cgi?id=111049

Reviewed by Daniel Bates.

We currently check whether we're running in a DRT-like world before
creating user-visible output for XSSAuditor's form[action] tests. This
patch removes that restriction in order to allow manually-run tests
to show some reasonable output.

  • http/tests/security/xssAuditor/resources/echo-intertag.pl:

Drop the 'if (window.testRunner)' from the 'showAction' branch in
order to allow manually running the test.

Location:
trunk/LayoutTests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r144281 r144282  
     12013-02-28  Mike West  <mkwst@chromium.org>
     2
     3        Cleanup: XSSAuditor's form[action] tests should be manually executable.
     4        https://bugs.webkit.org/show_bug.cgi?id=111049
     5
     6        Reviewed by Daniel Bates.
     7
     8        We currently check whether we're running in a DRT-like world before
     9        creating user-visible output for XSSAuditor's form[action] tests. This
     10        patch removes that restriction in order to allow manually-run tests
     11        to show some reasonable output.
     12
     13        * http/tests/security/xssAuditor/resources/echo-intertag.pl:
     14            Drop the 'if (window.testRunner)' from the 'showAction' branch in
     15            order to allow manually running the test.
     16
    1172013-02-28  Takashi Toyoshima  <toyoshim@chromium.org>
    218
  • trunk/LayoutTests/http/tests/security/xssAuditor/resources/echo-intertag.pl

    r143880 r144282  
    9595if ($cgi->param('showAction')) {
    9696    print "<script>\n";
    97     print "if (window.testRunner)\n";
    9897    print "    alert('Form action set to ' + document.forms[0].action);\n";
    9998    print "</script>\n";
Note: See TracChangeset for help on using the changeset viewer.