Commit Graph

1465 Commits

Author SHA1 Message Date
Tom Schuster
9777274923 Bug 673569 - Let each frame script have its own scope (r=smaug) 2014-06-13 19:56:38 +02:00
Carsten "Tomcat" Book
f0569c8ad2 Backed out changeset cf85693280c7 (bug 886570) frequent mochitest-3 errors on windows 2014-07-11 14:15:29 +02:00
Ahmed Kachkach
c4872d76ea Bug 886570 - Initial integration of structured logs in mochitest. r=ahal,Ms2ger 2014-07-10 13:33:00 +02:00
Andrew McCreight
ddac837af9 Bug 1022954 - ScriptSource leaks sourceMapURL_ sometimes. r=jimb 2014-07-10 15:46:00 +02:00
Sid Stamm
0c5165494f Bug 991466 - Remove pushprevenv for security.csp.speccompliant from tests since the pref no longer has effect. (r=ckerschb)
--HG--
extra : rebase_source : 61a52591fc5616486900367e7c06729cce889f13
2014-07-07 11:59:59 -07:00
Sid Stamm
40641a8157 Bug 991466 - remove the specCompliant flag from CSP since it's no longer needed. (r=ckerschb,jst)
--HG--
extra : rebase_source : 754264fd1721946a78c461e08d210bb5a1fdbda4
2014-07-07 11:59:37 -07:00
Christoph Kerschbaumer
2a7fb0b51e Bug 1034156 - CSP: updating csp/test_bug949549.html to use C++ backend (r=sstamm)
--HG--
extra : rebase_source : f3c4ad3f7b2bee8ecde302bdd70f259271191069
2014-07-03 10:23:16 -07:00
Sid Stamm
5f76703952 Bug 1034157 - Fix CSP's internal calls to AsyncReportViolation so they use mSelfURI, and the right load context is checked in the report sending logic
--HG--
extra : rebase_source : dad8299e0e2baa87dfeba8bc49fbabb22a70cb9b
2014-07-03 10:36:53 -07:00
Ed Morley
798fc9e8e3 Bug 987493 - Disable browser_state_notifications.js for intermittent failures 2014-07-03 13:47:36 +01:00
Sid Stamm
a68db0d32b Bug 991972 - Catch and compensate for expected extra test successes in test_CSP_frameancestors.html. (r=grobinson) 2014-07-02 14:39:27 -07:00
Christoph Kerschbaumer
59d61a083e Bug 1031530 - CSP: XMLHttpRequest should be restricted by connect-src (r=sstamm)
--HG--
extra : rebase_source : b27fcbff2d6f1a0d05e6698ef5fbc99e09366682
2014-06-30 16:43:27 -07:00
Christoph Kerschbaumer
48126f506d Bug 1032303 - CSP tests: Keep full stop (.) when matching *.foo.com to disallow loads from foo.com (r=sstamm)
--HG--
extra : rebase_source : ea650f8e4c6a180a83fe3b15a4018ce1ad095ddc
2014-06-30 19:08:13 -07:00
Bill McCloskey
1a5d21d731 Bug 1017109 - Add construct hook for CPOWs (r=mrbkap) 2014-06-30 17:50:58 -07:00
Christoph Kerschbaumer
30bc7f8adf Bug 1031372 - CSP parser should accept 127.0.0.1:* (r=sstamm) 2014-06-27 09:51:57 -07:00
Morris Tseng
9d3067aeb9 Bug 864595 - Mochitest for bug864595. [r=roc] 2014-06-27 13:59:01 -07:00
Michael A. Milazzo
10d16b5e6c Bug 1011748 - Added logic to GetStatusText to ensure the statusText value is available after all redirects (if any) have been followed. Added mochitest unit test which is disabled for b2g and e10. r=bzbarsky 2014-06-24 23:33:03 -07:00
Sid Stamm
6fab94397d Bug 949533 - Remove files that test only x-csp (pre-spec-compliant) CSP implementation. r=grobinson
--HG--
extra : rebase_source : 54222391dd28863512cc0b6b0052904162a43180
2014-06-25 12:07:37 -07:00
Sid Stamm
ed2555fe27 Bug 949533 - Remove uses of x-content-security-policy and pre-spec-compliant parsing/enforcement (file changes). r=jst,grobinson
--HG--
extra : rebase_source : 0be7ad6dc09ef5b6c273748af87503b7c0d19d5b
2014-06-25 12:07:37 -07:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Garrett Robinson
8f3cb774ad Bug 1011211 - Disable intermittently failing CSP redirect tests on B2G (for now) r=sstamm 2014-06-23 14:21:54 -07:00
Josh Matthews
7b04bfba51 Bug 902271 - Make StorageInputStream serializable cross-process. r=bent 2014-06-17 11:52:59 +01:00
Carsten "Tomcat" Book
a3e688f2d7 Backed out changeset fc765663d8f8 (bug 1011748) 2014-06-16 10:55:32 +02:00
Michael A. Milazzo
c27416c278 Bug 1011748 - Mochitest unit test + resource files for this bug. r=bzbarsky 2014-06-13 21:59:32 -07:00
Sid Stamm
96ab7b5bdb Bug 846978 - disable frame-ancestors checks when CSP is report-only and fix cross-origin frame-ancestors violation URI leak. r=ckerschb,grobinson 2014-06-13 11:06:04 -07:00
Sid Stamm
0d21671be2 Bug 805929 - test CSP blockage of setInterval and return values from setTimeout. r=grobinson 2014-06-13 11:05:37 -07:00
Shihua Zheng
eedb033390 Bug 1017765 - Replace nsChannel with nsAsyncInputStream for FileReader API, r=bent 2014-06-10 11:48:36 -07:00
Shian-Yow Wu
a692e2e20f Bug 1022607 - Only cache the response when the readyState is DONE. r=bent 2014-06-11 11:37:47 +08:00
Garrett Robinson
9ab4cd0668 Bug 988616 - Remove refs to "spec compliant" from split CSP tests r=sstamm r=ckerschb 2014-06-09 14:26:12 -07:00
Garrett Robinson
7f7551ba47 Bug 988616 - Rename CSP test files to remove unnecessary "spec_compliant" refs r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant.html => content/base/test/csp/file_CSP_evalscript_main.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_evalscript_main_allowed.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed_getCRMFRequest.html => content/base/test/csp/file_CSP_evalscript_main_allowed_getCRMFRequest.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed_getCRMFRequest.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_allowed_getCRMFRequest.html^headers^
rename : content/base/test/csp/file_CSP_frameancestors_spec_compliant.sjs => content/base/test/csp/file_CSP_frameancestors.sjs
rename : content/base/test/csp/file_CSP_frameancestors_main_spec_compliant.html => content/base/test/csp/file_CSP_frameancestors_main.html
rename : content/base/test/csp/file_CSP_frameancestors_main_spec_compliant.js => content/base/test/csp/file_CSP_frameancestors_main.js
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant.html => content/base/test/csp/file_CSP_inlinescript_main.html
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_inlinescript_main_allowed.html
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant.html => content/base/test/csp/file_CSP_inlinestyle_main.html
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_inlinestyle_main_allowed.html
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_main_spec_compliant.html => content/base/test/csp/file_CSP_main.html
rename : content/base/test/csp/file_CSP_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_main.html^headers^
rename : content/base/test/csp/file_CSP_main_spec_compliant.js => content/base/test/csp/file_CSP_main.js
2014-06-09 14:26:11 -07:00
Garrett Robinson
0bad121536 Bug 988616 - Split CSP tests for CSP (1.0) and X-CSP, and update build system files r=sstamm r=ckerschb 2014-06-09 14:26:09 -07:00
Garrett Robinson
0ca9beddb5 Bug 988616 - "hg cp" files that will be used in the split r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/chrome.ini => content/base/test/xcsp/chrome.ini
rename : content/base/test/csp/file_CSP.css => content/base/test/xcsp/file_CSP.css
rename : content/base/test/csp/file_CSP.sjs => content/base/test/xcsp/file_CSP.sjs
rename : content/base/test/csp/file_CSP_evalscript_main.js => content/base/test/xcsp/file_CSP_evalscript_main.js
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.js => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.js
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.js => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.js
rename : content/base/test/csp/file_csp_bug768029.html => content/base/test/xcsp/file_csp_bug768029.html
rename : content/base/test/csp/file_csp_bug768029.sjs => content/base/test/xcsp/file_csp_bug768029.sjs
rename : content/base/test/csp/file_csp_bug773891.html => content/base/test/xcsp/file_csp_bug773891.html
rename : content/base/test/csp/file_csp_bug773891.sjs => content/base/test/xcsp/file_csp_bug773891.sjs
rename : content/base/test/csp/file_csp_redirects_main.html => content/base/test/xcsp/file_csp_redirects_main.html
rename : content/base/test/csp/file_csp_redirects_page.sjs => content/base/test/xcsp/file_csp_redirects_page.sjs
rename : content/base/test/csp/file_csp_redirects_resource.sjs => content/base/test/xcsp/file_csp_redirects_resource.sjs
rename : content/base/test/csp/file_csp_report.sjs => content/base/test/xcsp/file_csp_report.sjs
rename : content/base/test/csp/file_multi_policy_injection_bypass.html => content/base/test/xcsp/file_multi_policy_injection_bypass.html
rename : content/base/test/csp/file_multi_policy_injection_bypass.html^headers^ => content/base/test/xcsp/file_multi_policy_injection_bypass.html^headers^
rename : content/base/test/csp/file_multi_policy_injection_bypass_2.html => content/base/test/xcsp/file_multi_policy_injection_bypass_2.html
rename : content/base/test/csp/file_multi_policy_injection_bypass_2.html^headers^ => content/base/test/xcsp/file_multi_policy_injection_bypass_2.html^headers^
rename : content/base/test/csp/file_redirect_content.sjs => content/base/test/xcsp/file_redirect_content.sjs
rename : content/base/test/csp/file_redirect_report.sjs => content/base/test/xcsp/file_redirect_report.sjs
rename : content/base/test/csp/file_subframe_run_js_if_allowed.html => content/base/test/xcsp/file_subframe_run_js_if_allowed.html
rename : content/base/test/csp/file_subframe_run_js_if_allowed.html^headers^ => content/base/test/xcsp/file_subframe_run_js_if_allowed.html^headers^
rename : content/base/test/csp/mochitest.ini => content/base/test/xcsp/mochitest.ini
rename : content/base/test/csp/moz.build => content/base/test/xcsp/moz.build
rename : content/base/test/csp/test_301_redirect.html => content/base/test/xcsp/test_301_redirect.html
rename : content/base/test/csp/test_302_redirect.html => content/base/test/xcsp/test_302_redirect.html
rename : content/base/test/csp/test_303_redirect.html => content/base/test/xcsp/test_303_redirect.html
rename : content/base/test/csp/test_307_redirect.html => content/base/test/xcsp/test_307_redirect.html
rename : content/base/test/csp/test_CSP.html => content/base/test/xcsp/test_CSP.html
rename : content/base/test/csp/test_CSP_evalscript.html => content/base/test/xcsp/test_CSP_evalscript.html
rename : content/base/test/csp/test_CSP_evalscript_getCRMFRequest.html => content/base/test/xcsp/test_CSP_evalscript_getCRMFRequest.html
rename : content/base/test/csp/test_CSP_frameancestors.html => content/base/test/xcsp/test_CSP_frameancestors.html
rename : content/base/test/csp/test_CSP_inlinescript.html => content/base/test/xcsp/test_CSP_inlinescript.html
rename : content/base/test/csp/test_CSP_inlinestyle.html => content/base/test/xcsp/test_CSP_inlinestyle.html
rename : content/base/test/csp/test_csp_bug768029.html => content/base/test/xcsp/test_csp_bug768029.html
rename : content/base/test/csp/test_csp_bug773891.html => content/base/test/xcsp/test_csp_bug773891.html
rename : content/base/test/csp/test_csp_redirects.html => content/base/test/xcsp/test_csp_redirects.html
rename : content/base/test/csp/test_csp_report.html => content/base/test/xcsp/test_csp_report.html
rename : content/base/test/csp/test_multi_policy_injection_bypass.html => content/base/test/xcsp/test_multi_policy_injection_bypass.html
rename : content/base/test/csp/test_subframe_run_js_if_allowed.html => content/base/test/xcsp/test_subframe_run_js_if_allowed.html
2014-06-09 14:26:08 -07:00
Garrett Robinson
ea58724130 Bug 988616 - "hg mv" tests that only test X-Content-Security-Policy r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/file_CSP_bug916446.html => content/base/test/xcsp/file_CSP_bug916446.html
rename : content/base/test/csp/file_CSP_bug916446.html^headers^ => content/base/test/xcsp/file_CSP_bug916446.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main.html => content/base/test/xcsp/file_CSP_evalscript_main.html
rename : content/base/test/csp/file_CSP_evalscript_main.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/csp/file_CSP_frameancestors.sjs => content/base/test/xcsp/file_CSP_frameancestors.sjs
rename : content/base/test/csp/file_CSP_frameancestors_main.html => content/base/test/xcsp/file_CSP_frameancestors_main.html
rename : content/base/test/csp/file_CSP_frameancestors_main.js => content/base/test/xcsp/file_CSP_frameancestors_main.js
rename : content/base/test/csp/file_CSP_inlinescript_main.html => content/base/test/xcsp/file_CSP_inlinescript_main.html
rename : content/base/test/csp/file_CSP_inlinescript_main.html^headers^ => content/base/test/xcsp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main.html => content/base/test/xcsp/file_CSP_inlinestyle_main.html
rename : content/base/test/csp/file_CSP_inlinestyle_main.html^headers^ => content/base/test/xcsp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/csp/file_CSP_main.html => content/base/test/xcsp/file_CSP_main.html
rename : content/base/test/csp/file_CSP_main.html^headers^ => content/base/test/xcsp/file_CSP_main.html^headers^
rename : content/base/test/csp/file_CSP_main.js => content/base/test/xcsp/file_CSP_main.js
rename : content/base/test/csp/file_bothCSPheaders.html => content/base/test/xcsp/file_bothCSPheaders.html
rename : content/base/test/csp/file_bothCSPheaders.html^headers^ => content/base/test/xcsp/file_bothCSPheaders.html^headers^
rename : content/base/test/csp/file_dual_headers_warning.html => content/base/test/xcsp/file_dual_headers_warning.html
rename : content/base/test/csp/file_dual_headers_warning.html^headers^ => content/base/test/xcsp/file_dual_headers_warning.html^headers^
rename : content/base/test/csp/file_policyuri_async_fetch.html => content/base/test/xcsp/file_policyuri_async_fetch.html
rename : content/base/test/csp/file_policyuri_async_fetch.html^headers^ => content/base/test/xcsp/file_policyuri_async_fetch.html^headers^
rename : content/base/test/csp/test_CSP_bug916446.html => content/base/test/xcsp/test_CSP_bug916446.html
rename : content/base/test/csp/test_bothCSPheaders.html => content/base/test/xcsp/test_bothCSPheaders.html
rename : content/base/test/csp/test_dual_headers_warning.html => content/base/test/xcsp/test_dual_headers_warning.html
rename : content/base/test/csp/test_policyuri_async_fetch.html => content/base/test/xcsp/test_policyuri_async_fetch.html
2014-06-09 14:26:06 -07:00
Garrett Robinson
0f11a8a24d Bug 1011211 - Remove unneeded QI check in CSP redirect tests r=sstamm 2014-06-06 11:25:54 -07:00
Shian-Yow Wu
8408dfe163 Bug 1008126 - Part 2: Test cases. r=bent 2014-06-06 12:18:01 +01:00
Carsten "Tomcat" Book
9aa6972755 Backed out changeset 04bfd88f4fb8 (bug 1008126) 2014-06-06 12:08:20 +02:00
Christoph Kerschbaumer
e4de26e3b2 Bug 1020477 - CSP in C++: Convert test_csp_ignores_path.js to compiled code tests. r=sstamm 2014-06-04 16:35:41 -07:00
Shian-Yow Wu
d6e7f333d8 Bug 1008126 - Part 2: Test cases. r=bent 2014-06-06 13:34:31 +08:00
Garrett Robinson
66b243263e Backed out changeset d9a7b9a18ab4 (Bug 988616) on a CLOSED TREE
--HG--
rename : content/base/test/xcsp/file_CSP_bug916446.html => content/base/test/csp/file_CSP_bug916446.html
rename : content/base/test/xcsp/file_CSP_bug916446.html^headers^ => content/base/test/csp/file_CSP_bug916446.html^headers^
rename : content/base/test/xcsp/file_CSP_evalscript_main.html => content/base/test/csp/file_CSP_evalscript_main.html
rename : content/base/test/xcsp/file_CSP_evalscript_main.html^headers^ => content/base/test/csp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/xcsp/file_CSP_frameancestors.sjs => content/base/test/csp/file_CSP_frameancestors.sjs
rename : content/base/test/xcsp/file_CSP_frameancestors_main.html => content/base/test/csp/file_CSP_frameancestors_main.html
rename : content/base/test/xcsp/file_CSP_frameancestors_main.js => content/base/test/csp/file_CSP_frameancestors_main.js
rename : content/base/test/xcsp/file_CSP_inlinescript_main.html => content/base/test/csp/file_CSP_inlinescript_main.html
rename : content/base/test/xcsp/file_CSP_inlinescript_main.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/xcsp/file_CSP_inlinestyle_main.html => content/base/test/csp/file_CSP_inlinestyle_main.html
rename : content/base/test/xcsp/file_CSP_inlinestyle_main.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/xcsp/file_CSP_main.html => content/base/test/csp/file_CSP_main.html
rename : content/base/test/xcsp/file_CSP_main.html^headers^ => content/base/test/csp/file_CSP_main.html^headers^
rename : content/base/test/xcsp/file_CSP_main.js => content/base/test/csp/file_CSP_main.js
rename : content/base/test/xcsp/file_bothCSPheaders.html => content/base/test/csp/file_bothCSPheaders.html
rename : content/base/test/xcsp/file_bothCSPheaders.html^headers^ => content/base/test/csp/file_bothCSPheaders.html^headers^
rename : content/base/test/xcsp/file_dual_headers_warning.html => content/base/test/csp/file_dual_headers_warning.html
rename : content/base/test/xcsp/file_dual_headers_warning.html^headers^ => content/base/test/csp/file_dual_headers_warning.html^headers^
rename : content/base/test/xcsp/file_policyuri_async_fetch.html => content/base/test/csp/file_policyuri_async_fetch.html
rename : content/base/test/xcsp/file_policyuri_async_fetch.html^headers^ => content/base/test/csp/file_policyuri_async_fetch.html^headers^
rename : content/base/test/xcsp/test_CSP_bug916446.html => content/base/test/csp/test_CSP_bug916446.html
rename : content/base/test/xcsp/test_bothCSPheaders.html => content/base/test/csp/test_bothCSPheaders.html
rename : content/base/test/xcsp/test_dual_headers_warning.html => content/base/test/csp/test_dual_headers_warning.html
rename : content/base/test/xcsp/test_policyuri_async_fetch.html => content/base/test/csp/test_policyuri_async_fetch.html
2014-06-04 17:53:58 -07:00
Garrett Robinson
f9f4ccdb4b Backed out changeset f3e45719fda7 (bug 988616) on a CLOSED TREE 2014-06-04 17:53:14 -07:00
Garrett Robinson
da3bbdf56c Backed out changeset bf40eebc6543 (bug 988616) on a CLOSED TREE 2014-06-04 17:52:35 -07:00
Garrett Robinson
addb865664 Backed out changeset 1be4b6552473 (bug 988616) on a CLOSED TREE
--HG--
rename : content/base/test/csp/file_CSP_evalscript_main.html => content/base/test/csp/file_CSP_evalscript_main_spec_compliant.html
rename : content/base/test/csp/file_CSP_evalscript_main.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_spec_compliant.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_allowed.html => content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed.html
rename : content/base/test/csp/file_CSP_evalscript_main_allowed.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_allowed_getCRMFRequest.html => content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed_getCRMFRequest.html
rename : content/base/test/csp/file_CSP_evalscript_main_allowed_getCRMFRequest.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed_getCRMFRequest.html^headers^
rename : content/base/test/csp/file_CSP_frameancestors_main.html => content/base/test/csp/file_CSP_frameancestors_main_spec_compliant.html
rename : content/base/test/csp/file_CSP_frameancestors_main.js => content/base/test/csp/file_CSP_frameancestors_main_spec_compliant.js
rename : content/base/test/csp/file_CSP_frameancestors.sjs => content/base/test/csp/file_CSP_frameancestors_spec_compliant.sjs
rename : content/base/test/csp/file_CSP_inlinescript_main.html => content/base/test/csp/file_CSP_inlinescript_main_spec_compliant.html
rename : content/base/test/csp/file_CSP_inlinescript_main.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main_spec_compliant.html^headers^
rename : content/base/test/csp/file_CSP_inlinescript_main_allowed.html => content/base/test/csp/file_CSP_inlinescript_main_spec_compliant_allowed.html
rename : content/base/test/csp/file_CSP_inlinescript_main_allowed.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main_spec_compliant_allowed.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main.html => content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant.html
rename : content/base/test/csp/file_CSP_inlinestyle_main.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main_allowed.html => content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant_allowed.html
rename : content/base/test/csp/file_CSP_inlinestyle_main_allowed.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant_allowed.html^headers^
rename : content/base/test/csp/file_CSP_main.html => content/base/test/csp/file_CSP_main_spec_compliant.html
rename : content/base/test/csp/file_CSP_main.html^headers^ => content/base/test/csp/file_CSP_main_spec_compliant.html^headers^
rename : content/base/test/csp/file_CSP_main.js => content/base/test/csp/file_CSP_main_spec_compliant.js
2014-06-04 17:51:55 -07:00
Garrett Robinson
620284639f Backed out changeset 948a658c002b (bug 988616) on a CLOSED TREE 2014-06-04 17:51:08 -07:00
Garrett Robinson
1ad6e7e1ff Bug 988616 - Remove refs to "spec compliant" from split CSP tests r=sstamm r=ckerschb 2014-06-04 15:24:40 -07:00
Garrett Robinson
be1c5b507f Bug 988616 - Rename CSP test files to remove unnecessary "spec_compliant" refs r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant.html => content/base/test/csp/file_CSP_evalscript_main.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_evalscript_main_allowed.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed_getCRMFRequest.html => content/base/test/csp/file_CSP_evalscript_main_allowed_getCRMFRequest.html
rename : content/base/test/csp/file_CSP_evalscript_main_spec_compliant_allowed_getCRMFRequest.html^headers^ => content/base/test/csp/file_CSP_evalscript_main_allowed_getCRMFRequest.html^headers^
rename : content/base/test/csp/file_CSP_frameancestors_spec_compliant.sjs => content/base/test/csp/file_CSP_frameancestors.sjs
rename : content/base/test/csp/file_CSP_frameancestors_main_spec_compliant.html => content/base/test/csp/file_CSP_frameancestors_main.html
rename : content/base/test/csp/file_CSP_frameancestors_main_spec_compliant.js => content/base/test/csp/file_CSP_frameancestors_main.js
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant.html => content/base/test/csp/file_CSP_inlinescript_main.html
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_inlinescript_main_allowed.html
rename : content/base/test/csp/file_CSP_inlinescript_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_inlinescript_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant.html => content/base/test/csp/file_CSP_inlinestyle_main.html
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant_allowed.html => content/base/test/csp/file_CSP_inlinestyle_main_allowed.html
rename : content/base/test/csp/file_CSP_inlinestyle_main_spec_compliant_allowed.html^headers^ => content/base/test/csp/file_CSP_inlinestyle_main_allowed.html^headers^
rename : content/base/test/csp/file_CSP_main_spec_compliant.html => content/base/test/csp/file_CSP_main.html
rename : content/base/test/csp/file_CSP_main_spec_compliant.html^headers^ => content/base/test/csp/file_CSP_main.html^headers^
rename : content/base/test/csp/file_CSP_main_spec_compliant.js => content/base/test/csp/file_CSP_main.js
2014-06-04 15:24:39 -07:00
Garrett Robinson
1473454f78 Bug 988616 - Split CSP tests for CSP (1.0) and X-CSP, and update build system files r=sstamm r=ckerschb 2014-06-04 15:24:38 -07:00
Garrett Robinson
c4e97176d7 Bug 988616 - "hg cp" files that will be used in the split r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/chrome.ini => content/base/test/xcsp/chrome.ini
rename : content/base/test/csp/file_CSP.css => content/base/test/xcsp/file_CSP.css
rename : content/base/test/csp/file_CSP.sjs => content/base/test/xcsp/file_CSP.sjs
rename : content/base/test/csp/file_CSP_evalscript_main.js => content/base/test/xcsp/file_CSP_evalscript_main.js
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main_getCRMFRequest.js => content/base/test/xcsp/file_CSP_evalscript_main_getCRMFRequest.js
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_no_CSP_at_all.js => content/base/test/xcsp/file_CSP_evalscript_no_CSP_at_all.js
rename : content/base/test/csp/file_csp_bug768029.html => content/base/test/xcsp/file_csp_bug768029.html
rename : content/base/test/csp/file_csp_bug768029.sjs => content/base/test/xcsp/file_csp_bug768029.sjs
rename : content/base/test/csp/file_csp_bug773891.html => content/base/test/xcsp/file_csp_bug773891.html
rename : content/base/test/csp/file_csp_bug773891.sjs => content/base/test/xcsp/file_csp_bug773891.sjs
rename : content/base/test/csp/file_csp_redirects_main.html => content/base/test/xcsp/file_csp_redirects_main.html
rename : content/base/test/csp/file_csp_redirects_page.sjs => content/base/test/xcsp/file_csp_redirects_page.sjs
rename : content/base/test/csp/file_csp_redirects_resource.sjs => content/base/test/xcsp/file_csp_redirects_resource.sjs
rename : content/base/test/csp/file_csp_report.sjs => content/base/test/xcsp/file_csp_report.sjs
rename : content/base/test/csp/file_multi_policy_injection_bypass.html => content/base/test/xcsp/file_multi_policy_injection_bypass.html
rename : content/base/test/csp/file_multi_policy_injection_bypass.html^headers^ => content/base/test/xcsp/file_multi_policy_injection_bypass.html^headers^
rename : content/base/test/csp/file_multi_policy_injection_bypass_2.html => content/base/test/xcsp/file_multi_policy_injection_bypass_2.html
rename : content/base/test/csp/file_multi_policy_injection_bypass_2.html^headers^ => content/base/test/xcsp/file_multi_policy_injection_bypass_2.html^headers^
rename : content/base/test/csp/file_redirect_content.sjs => content/base/test/xcsp/file_redirect_content.sjs
rename : content/base/test/csp/file_redirect_report.sjs => content/base/test/xcsp/file_redirect_report.sjs
rename : content/base/test/csp/file_subframe_run_js_if_allowed.html => content/base/test/xcsp/file_subframe_run_js_if_allowed.html
rename : content/base/test/csp/file_subframe_run_js_if_allowed.html^headers^ => content/base/test/xcsp/file_subframe_run_js_if_allowed.html^headers^
rename : content/base/test/csp/mochitest.ini => content/base/test/xcsp/mochitest.ini
rename : content/base/test/csp/moz.build => content/base/test/xcsp/moz.build
rename : content/base/test/csp/test_301_redirect.html => content/base/test/xcsp/test_301_redirect.html
rename : content/base/test/csp/test_302_redirect.html => content/base/test/xcsp/test_302_redirect.html
rename : content/base/test/csp/test_303_redirect.html => content/base/test/xcsp/test_303_redirect.html
rename : content/base/test/csp/test_307_redirect.html => content/base/test/xcsp/test_307_redirect.html
rename : content/base/test/csp/test_CSP.html => content/base/test/xcsp/test_CSP.html
rename : content/base/test/csp/test_CSP_evalscript.html => content/base/test/xcsp/test_CSP_evalscript.html
rename : content/base/test/csp/test_CSP_evalscript_getCRMFRequest.html => content/base/test/xcsp/test_CSP_evalscript_getCRMFRequest.html
rename : content/base/test/csp/test_CSP_frameancestors.html => content/base/test/xcsp/test_CSP_frameancestors.html
rename : content/base/test/csp/test_CSP_inlinescript.html => content/base/test/xcsp/test_CSP_inlinescript.html
rename : content/base/test/csp/test_CSP_inlinestyle.html => content/base/test/xcsp/test_CSP_inlinestyle.html
rename : content/base/test/csp/test_csp_bug768029.html => content/base/test/xcsp/test_csp_bug768029.html
rename : content/base/test/csp/test_csp_bug773891.html => content/base/test/xcsp/test_csp_bug773891.html
rename : content/base/test/csp/test_csp_redirects.html => content/base/test/xcsp/test_csp_redirects.html
rename : content/base/test/csp/test_csp_report.html => content/base/test/xcsp/test_csp_report.html
rename : content/base/test/csp/test_multi_policy_injection_bypass.html => content/base/test/xcsp/test_multi_policy_injection_bypass.html
rename : content/base/test/csp/test_subframe_run_js_if_allowed.html => content/base/test/xcsp/test_subframe_run_js_if_allowed.html
2014-06-04 15:24:38 -07:00
Garrett Robinson
b531d2bb82 Bug 988616 - "hg mv" tests that only test X-Content-Security-Policy r=sstamm r=ckerschb
--HG--
rename : content/base/test/csp/file_CSP_bug916446.html => content/base/test/xcsp/file_CSP_bug916446.html
rename : content/base/test/csp/file_CSP_bug916446.html^headers^ => content/base/test/xcsp/file_CSP_bug916446.html^headers^
rename : content/base/test/csp/file_CSP_evalscript_main.html => content/base/test/xcsp/file_CSP_evalscript_main.html
rename : content/base/test/csp/file_CSP_evalscript_main.html^headers^ => content/base/test/xcsp/file_CSP_evalscript_main.html^headers^
rename : content/base/test/csp/file_CSP_frameancestors.sjs => content/base/test/xcsp/file_CSP_frameancestors.sjs
rename : content/base/test/csp/file_CSP_frameancestors_main.html => content/base/test/xcsp/file_CSP_frameancestors_main.html
rename : content/base/test/csp/file_CSP_frameancestors_main.js => content/base/test/xcsp/file_CSP_frameancestors_main.js
rename : content/base/test/csp/file_CSP_inlinescript_main.html => content/base/test/xcsp/file_CSP_inlinescript_main.html
rename : content/base/test/csp/file_CSP_inlinescript_main.html^headers^ => content/base/test/xcsp/file_CSP_inlinescript_main.html^headers^
rename : content/base/test/csp/file_CSP_inlinestyle_main.html => content/base/test/xcsp/file_CSP_inlinestyle_main.html
rename : content/base/test/csp/file_CSP_inlinestyle_main.html^headers^ => content/base/test/xcsp/file_CSP_inlinestyle_main.html^headers^
rename : content/base/test/csp/file_CSP_main.html => content/base/test/xcsp/file_CSP_main.html
rename : content/base/test/csp/file_CSP_main.html^headers^ => content/base/test/xcsp/file_CSP_main.html^headers^
rename : content/base/test/csp/file_CSP_main.js => content/base/test/xcsp/file_CSP_main.js
rename : content/base/test/csp/file_bothCSPheaders.html => content/base/test/xcsp/file_bothCSPheaders.html
rename : content/base/test/csp/file_bothCSPheaders.html^headers^ => content/base/test/xcsp/file_bothCSPheaders.html^headers^
rename : content/base/test/csp/file_dual_headers_warning.html => content/base/test/xcsp/file_dual_headers_warning.html
rename : content/base/test/csp/file_dual_headers_warning.html^headers^ => content/base/test/xcsp/file_dual_headers_warning.html^headers^
rename : content/base/test/csp/file_policyuri_async_fetch.html => content/base/test/xcsp/file_policyuri_async_fetch.html
rename : content/base/test/csp/file_policyuri_async_fetch.html^headers^ => content/base/test/xcsp/file_policyuri_async_fetch.html^headers^
rename : content/base/test/csp/test_CSP_bug916446.html => content/base/test/xcsp/test_CSP_bug916446.html
rename : content/base/test/csp/test_bothCSPheaders.html => content/base/test/xcsp/test_bothCSPheaders.html
rename : content/base/test/csp/test_dual_headers_warning.html => content/base/test/xcsp/test_dual_headers_warning.html
rename : content/base/test/csp/test_policyuri_async_fetch.html => content/base/test/xcsp/test_policyuri_async_fetch.html
2014-06-04 15:24:36 -07:00
Christoph Kerschbaumer
e7f2bf2f2f Bug 1019984 - CSP in CPP: Update Parser to return error when parsing invalid paths (r=sstamm) 2014-06-03 23:07:27 -07:00
Nathan Froyd
8293540d76 Bug 1018414 - skip test_error_codes.js on OS X; r=smaug 2014-06-02 15:27:16 -04:00
Boris Zbarsky
3297cfbaa3 Bug 1017932. Don't expose the XMLDocument bits on the return value of new Document(). r=peterv 2014-06-03 11:38:37 -04:00