Commit Graph

22 Commits

Author SHA1 Message Date
Geoff Brown
23789fb97e Bug 971742 - Re-balance test_URIs and test_URIs2; r=jesup 2015-05-28 12:06:44 -06:00
Jim Blandy
39dc0c6097 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
Geoff Brown
11e937cf00 Bug 969612 - Split test_URIs.js into 2 halves; r=jesup 2014-02-24 17:51:16 -07:00
Honza Bambas
a55f8e6460 Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin 2013-09-20 11:11:25 +02:00
Marco Bonardo
2ea25557ad Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin
2012-04-07 01:17:53 +02:00
Masatoshi Kimura
cef8e27e66 Bug 716570 - Rename blob URI scheme from "moz-filedata" to "blob" per spec. r=sicking 2012-01-12 11:36:03 +01:00
Randell Jesup
311fccaa74 Bug 706249 r=bz 2011-12-02 23:48:16 -05:00
Randell Jesup
6bf90d190d Bug 677260: Add specIgnoringRef and hasRef for URIs. r=bz, sr=biesi 2011-08-15 17:18:15 -04:00
Randell Jesup
196859a621 Bug 675710: Add tests for protocol-relative URIs (href=//site/foo) r=bz 2011-08-02 09:40:58 -04:00
Randell Jesup
030b8a32bf Bug 656853: Fix file://#foo to not lose the #foo. r=bz 2011-07-12 14:07:28 -04:00
Randell Jesup
f2c790975e Bug 622981: Fix relative query/ref/param-only URLs where the base URL has encoded chars. Also greatly expand test_URI.js coverage from RFC 3986. r=bz 2011-07-12 14:07:24 -04:00
Daniel Holbert
80820fd4e3 Bug 660066 patch 1: Null-check mPrincipal in nsFileDataURI::EqualsInternal. r=bz 2011-05-27 16:53:06 -07:00
Daniel Holbert
554581d7f1 Bug 660066 patch 0: Add some more test URIs to test_URIs.js xpcshell test. r=bz 2011-05-27 16:53:03 -07:00
Daniel Holbert
61d1d239db Bug 659698: Fix nsJSURL to handle the recent .ref additions to nsSimpleURI. r=bz 2011-05-26 01:20:06 -07:00
Daniel Holbert
067c9a51b8 Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz 2011-05-24 17:40:35 +02:00
Mounir Lamouri
6f7e1c9944 Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
087cdbe53f Bug 658949 patch 2: Refest & xpcshell-test-addition for this bug. r=bz a=sheriff 2011-05-24 03:39:31 -07:00
Daniel Holbert
837e2e51ed Bug 308590 patch 4: Add impl for .ref on nsSimpleURI. r=bz 2011-05-21 18:12:45 -07:00
Daniel Holbert
4e0f3e161a Bug 308590 patch 3.5: Add nsIURI::CloneIgnoringRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
bf441171b4 Bug 308590 patch 3: Add nsIURI::EqualsExceptRef interface & impls. r=bz sr=biesi 2011-05-21 18:12:45 -07:00
Daniel Holbert
bc2e9824ac Bug 308590 patch 1: Revamp test_URIs.js, including some tests for .ref (which will be supported on URIs after the rest of this bug's patches). r=bz 2011-05-21 18:12:45 -07:00
Neil Rashbrook
5ff071660e Bug 571619 Drop support for aggregation with nsSimpleURI so that we can inherit nsSimpleNestedURI from it correctly r=biesi 2010-06-12 21:40:05 +01:00