Commit Graph

1485 Commits

Author SHA1 Message Date
Dragana Damjanovic
3cca64b607 Bug 614352 - Change nsXMLHttpRequest to show a correct progress in case of gzip data. r=bz
Now it shows correct amount of data transferred and not the amount of decompressed data.
2014-07-24 01:47:00 -04:00
Dragana Damjanovic
6a9806b987 Bug 1007020 - Also send progress information when connection is LOAD_BACKGROUND. r=bz 2014-08-01 02:10:00 -04:00
Boris Zbarsky
62f611a939 Bug 886308. Implement Element.matches. r=heycam 2014-08-01 23:37:09 -04:00
Birunthan Mohanathas
fcf56eb7ed Bug 1044445 - Collapse test-only moz.build files under content/ into ancestor moz.build files. r=glandium 2014-07-31 12:54:21 -07:00
Sid Stamm
37ef5b48e5 Bug 991474 - Remove selfURI from AppendPolicy after removing the old backend. (r=ckerschb,grobinson) 2014-07-30 14:37:22 -07:00
Sid Stamm
0019b6c74f Bug 994872 - Remove documentPrincipal from nsIContentSecurityPolicy::SetRequestContext. (r=ckerschb) 2014-07-30 14:37:22 -07:00
Sid Stamm
edab85ef33 Bug 994782 - Remove the old Content Security Policy parser, CSPUtils.jsm and tie-in logic. (r=ckerschb,jst) 2014-07-30 14:37:22 -07:00
Boris Zbarsky
20570bebfc Bug 957243. Fix test_bug602838.html to not assume server response ordering. r=mayhemer 2014-07-29 21:33:17 -04:00
Olli Pettay
28d587703d Bug 1025933, support clientWidth, clientHeight, getBoundingClientRects etc for elements in shadow DOM, r=bz 2014-07-29 21:42:31 +03:00
Mike Hommey
1e79fe55c2 Bug 1043802 - Remove TOOLS_DIRS and TEST_TOOLS_DIRS. r=gps 2014-07-29 08:55:55 +09:00
Alexandre Poirot
5a3800bc64 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Mike Hommey
ad9b49263a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
e5c43ef995 Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Mike Hommey
90c742edc2 Bug 1036894 part 6 - Emit SimplePrograms for CPP_UNIT_TESTs, and make the corresponding moz.build config look like that of SIMPLE_PROGRAMS. r=gps 2014-07-23 13:29:44 +09:00
Jonathan Griffin
efbbf73c27 Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot
09c66c2ebd Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin
0cd20a2c49 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Alexandre Poirot
c044256760 Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Robert O'Callahan
1dfa57f8e3 Bug 863618. Make Range.getClientRects/getBoundingClientRect take account of CSS transforms. r=tn
--HG--
extra : rebase_source : 7a4b8773965f12e89fe0be655819d6d408140c2d
2014-07-22 01:58:14 +12:00
Ahmed Kachkach
68c23f6dff Bug 886570 - Initial integration of structured logs in mochitest; r=ahal,Ms2ger 2014-07-17 09:02:00 +02:00
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