Commit Graph

1450 Commits

Author SHA1 Message Date
Michael A. Milazzo
0c7f378d31 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
efecf0c3c9 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
a08dda43a7 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
b6b202b6bb 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
f1679c726b Bug 1011211 - Disable intermittently failing CSP redirect tests on B2G (for now) r=sstamm 2014-06-23 14:21:54 -07:00
Josh Matthews
962b5937d0 Bug 902271 - Make StorageInputStream serializable cross-process. r=bent 2014-06-17 11:52:59 +01:00
Carsten "Tomcat" Book
72d2bd2ac3 Backed out changeset fc765663d8f8 (bug 1011748) 2014-06-16 10:55:32 +02:00
Michael A. Milazzo
aaea81fdae Bug 1011748 - Mochitest unit test + resource files for this bug. r=bzbarsky 2014-06-13 21:59:32 -07:00
Sid Stamm
8bacc23874 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
91bbe648b1 Bug 805929 - test CSP blockage of setInterval and return values from setTimeout. r=grobinson 2014-06-13 11:05:37 -07:00
Shihua Zheng
e8271a0c9e Bug 1017765 - Replace nsChannel with nsAsyncInputStream for FileReader API, r=bent 2014-06-10 11:48:36 -07:00
Shian-Yow Wu
1caefcaf10 Bug 1022607 - Only cache the response when the readyState is DONE. r=bent 2014-06-11 11:37:47 +08:00
Garrett Robinson
b87ff7fa83 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
cf42192929 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
d6f3d72c10 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
2a6f3a7063 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
ea3abeafc7 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
1f45c46d0d Bug 1011211 - Remove unneeded QI check in CSP redirect tests r=sstamm 2014-06-06 11:25:54 -07:00
Shian-Yow Wu
b819d82295 Bug 1008126 - Part 2: Test cases. r=bent 2014-06-06 12:18:01 +01:00
Carsten "Tomcat" Book
072b0cbb78 Backed out changeset 04bfd88f4fb8 (bug 1008126) 2014-06-06 12:08:20 +02:00
Christoph Kerschbaumer
062422895a 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
b178a2561b Bug 1008126 - Part 2: Test cases. r=bent 2014-06-06 13:34:31 +08:00
Garrett Robinson
d6f6702922 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
5aa4d0d515 Backed out changeset f3e45719fda7 (bug 988616) on a CLOSED TREE 2014-06-04 17:53:14 -07:00
Garrett Robinson
059110c4f8 Backed out changeset bf40eebc6543 (bug 988616) on a CLOSED TREE 2014-06-04 17:52:35 -07:00
Garrett Robinson
e22445f31e 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
9ee2bde87c Backed out changeset 948a658c002b (bug 988616) on a CLOSED TREE 2014-06-04 17:51:08 -07:00
Garrett Robinson
5fb45a2838 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
63f9d07906 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
d80b11ef83 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
a6a986a320 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
a81f32a1a0 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
8834facb74 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
191e8718e7 Bug 1018414 - skip test_error_codes.js on OS X; r=smaug 2014-06-02 15:27:16 -04:00
Boris Zbarsky
cc297ffd3b 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
Ms2ger
8775440177 Bug 741295 - Treat 'id' and 'class' as global attributes for all elements; r=bz 2014-05-30 09:36:53 +02:00
Bill McCloskey
1c753c66ff Bug 1014993 - Add Cu.isCrossProcessWrapper (r=mrbkap) 2014-05-28 18:05:22 -07:00
Tim Taubert
4c0e4386a6 Bug 990812 - Tests for group message managers r=smaug 2014-05-25 23:41:52 +02:00
Peter Van der Beken
b731f7650c Bug 789261 - Enable WebIDL bindings for Window. r=bz.
--HG--
extra : rebase_source : 4ee28872adf9d03d9dc28880426383224359fd78
2014-04-08 20:48:37 +02:00
Gijs Kruitbosch
d587239dd0 Bug 1013457 - remove browser.frames.enabled pref, r=bz 2014-05-23 10:54:58 +01:00
Olli Pettay
90dd65a746 Bug 1009640, the final upload progress event should have lengthComputable true, r=bz 2014-05-22 13:54:32 +03:00
Boris Zbarsky
ab32b94b5d Bug 891952. Named getters for HTMLCollection should never return anything for "". r=smaug 2014-05-22 00:23:51 -04:00
Carsten "Tomcat" Book
1507d6cf86 Backed out changeset 91dad1e50118 (bug 891952) for m1 and m3 test failures on a CLOSED TREE 2014-05-22 08:24:17 +02:00
Boris Zbarsky
e998368d7b Bug 891952. Named getters for HTMLCollection should never return anything for "". r=smaug 2014-05-22 00:23:51 -04:00
Birunthan Mohanathas
41bdca1ff6 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Sid Stamm
ac589cc1c0 Bug 994322 - Violation reporting support for the new CSP implementation. r=ckerschb, r=grobinson 2014-05-20 10:20:00 -04:00
Sid Stamm
ba38ce5c21 Bug 994320 - Implement permitsAncestry CSP in C++. r=ckerschb,grobinson 2014-05-20 14:59:51 -07:00
Ryan VanderMeulen
7eef34e198 Backed out changeset f4964171a9c0 (bug 994320) and changeset a4655f5da435 (bug 994318) for bustage.
CLOSED TREE
2014-05-20 14:00:26 -04:00
Sid Stamm
101e9f2062 Bug 994320 - Implement permitsAncestry CSP in C++. r=ckerschb,grobinson 2014-05-20 10:43:17 -07:00
xKhorasan
8ca164cae9 Bug 998076 - implement responseURL attribute for XMLHttpRequest. r=smaug 2014-05-17 09:24:37 +09:00