Commit Graph

181 Commits

Author SHA1 Message Date
Eden Chuang
bf2f956f8f Bug 1287664 - Replacing useless module HelperApps.js by using nsIHandlerService. r=Paolo
--HG--
extra : rebase_source : 8de756d1b9e7c79bff2ee9c144e7efc6bcefb5ea
2016-11-09 10:41:23 +08:00
Sebastian Hengst
70cf6298cc Bug 1310297 - Remove test annotations using b2g, mulet or gonk: uriloader. r=RyanVM
MozReview-Commit-ID: 3atWeDxmTnW

--HG--
extra : rebase_source : 835adf91b346ee926c4ee2d76c9763b566ed4441
2016-11-05 11:29:22 +01:00
Blake Kaplan
06aa76e9a8 Bug 1304531 - Remove CPOW usage in browser_web_protocol_handlers.js. r=Felipe
This one isn't intermittent but I noticed it in the logs and it was free to
fix.

MozReview-Commit-ID: D56wiHn3IfL

--HG--
extra : rebase_source : d8078fc995249d39d6c0e838d394f1465a9a3684
2016-09-20 18:54:03 -07:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Gian-Carlo Pascutto
0706b698f4 Bug 579388 - nsIMIMEService should run in chrome. r=jaas+18821
MozReview-Commit-ID: Hu2sdcOWuZX

--HG--
extra : rebase_source : a6950d5971343c63e60d0acddd77e130fc2f45cb
2016-06-15 12:29:30 +01:00
Christoph Kerschbaumer
36b4675908 Bug 1246736 - Remove SEC_NORMAL from uriloader/ (r=sicking) 2016-02-08 12:41:40 -08:00
Blake Kaplan
8dbef1fbeb Bug 1253307 - Use a better function to load web handler apps in e10s. r=billm/mconley 2016-03-15 15:48:37 -07:00
Florian Quèze
f74362bb6e Bug 1254118 - Web protocol handlers need more testing coverage, r=felipe. 2016-03-15 10:55:07 +01:00
Florian Quèze
32d7276198 Bug 1252462 - Enable the test_unsafeBidiChars.xhtml test for e10s, r=paolo. 2016-03-02 14:35:06 +01:00
ISHIKAWA, Chiaki
be2b50a7f8 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Gijs Kruitbosch
e4a71839f5 Bug 1226120 - add test for unknownContentType.xul and file types with a default handler but always ask set, r=mconley
--HG--
extra : commitid : ByBNNZtbBNU
extra : rebase_source : 31fe3966936542a1076c9a68619f180f8ed47b33
extra : amend_source : 1601a3da7534bb7f063d63b671f73c0f889b14e8
2015-12-17 17:28:15 +00:00
Andrew McCreight
63a71b429c Bug 1222562, part 3 - Enable a single test in uriloader. r=mrbkap 2015-11-10 13:10:23 -08:00
Tooru Fujisawa
7fa4ec0982 Bug 1217318 - Remove for-each from uriloader/. r=bz
--HG--
extra : commitid : 7dTGwySR0Y3
extra : rebase_source : 9cfeded38b177a0034822fa501b78657ff089b0a
2015-10-19 05:41:28 +09:00
Hiroyuki Ikezoe
b2edf2387f Bug 1167627 - Part 4: Use mozinfo in uriloader/. 2015-08-25 14:51:00 +02:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Hiroyuki Ikezoe
9e167f14e0 Bug 1139254 - Use MockRegistrar in uriloader. r=gps 2015-03-03 19:48:00 -05:00
Gareth Smith
b8463e17d6 Bug 1132001 - set noMailTo flag if gIO can't handle mailto: links in linux r=Dolske 2015-02-11 16:48:23 +00:00
Magnus Melin
068c4dd4fc Bug 1130488 - disable tests broken by bug 1114624 for thunderbird, until thunderbird can drop the legacy dl manager. r=paolo
Perma orange on comm-central:
- TEST-UNEXPECTED-TIMEOUT | toolkit/components/downloads/test/unit/test_cancel_download_files_removed.js
- TEST-UNEXPECTED-TIMEOUT | toolkit/components/downloads/test/unit/test_download_samename.js | Test timed out
- TEST-UNEXPECTED-TIMEOUT | uriloader/exthandler/tests/unit_ipc/test_encoding.js | Test timed out
2015-02-13 21:40:20 +02:00
Ganesh Sahukari
f5fe5678d6 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-27 16:07:20 -05:00
Ryan VanderMeulen
9148720ef2 Backed out changeset dd417504346b (bug 1114594) for crashes.
CLOSED TREE
2015-01-27 15:17:39 -05:00
Ganesh Sahukari
a4f09b67d8 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00
Carsten "Tomcat" Book
6f0263c8d9 Backed out changeset d34e894a9ea2 (bug 1114594) for xpcshell and m5 test failures 2015-01-26 15:01:16 +01:00
Ganesh Sahukari
27ef62b0d3 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00
Phil Ringnalda
6378965f24 Bug 786938 - disable test_handlerApps.xhtml on OS X 2015-01-17 10:32:49 -08:00
Phil Ringnalda
353a70fecc Bug 786938 - disable test_handlerApps.xhtml on OS X 10.10 where it's permaorange
--HG--
extra : rebase_source : 70f7425ae4e021ef05e6e2f1a0fdf90ebe4f28cd
2015-01-14 22:30:03 -08:00
Hiroyuki Ikezoe
6032b719bc Bug 1120117 - Need to import Services.jsm in child process before using it. r=dkeeler 2015-01-12 15:33:00 +01:00
Christoph Kerschbaumer
918fda3c99 Bug 1093947: Make JS callers of ios.newChannel call ios.newChannel2 in uriloader/ (r=smaug,bz) 2015-01-08 19:00:59 -08:00
Gavin Sharp
85abd2f149 Bug 575918: enable IPC tests on Mac since they work now, r=bsmedberg
--HG--
extra : rebase_source : 5b7214167249b3c276a9e240d867ce34193a5953
2015-01-02 17:00:20 -08:00
Magnus Melin
ec884ce6cd Bug 984194 - reenable test_encoding.js now that bug 1012917 is fixed. r=sworkman 2014-12-20 10:38:19 +02:00
Carsten "Tomcat" Book
cde42d544d merge fx-team to mozilla-central a=merge 2014-12-04 16:59:18 +01:00
Phil Ringnalda
a68fa06fb7 No bug, remove trailing whitespace on a CLOSED TREE 2014-12-03 21:12:29 -08:00
Phil Ringnalda
8727a23dac No bug - remove trailing whitespace on a CLOSED TREE 2014-12-03 21:52:51 -08:00
Mike Hommey
47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Andrew Halberstadt
d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Mike Hommey
0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Mike Hommey
89777800f9 Bug 1047267 - Move remaining OS_LIBS and EXTRA_LIBS to moz.build. r=gps
* * *
Bug 1047267 - To fold with "Move remaining OS_LIBS and EXTRA_LIBS to moz.build"
2014-08-07 14:21:03 +09:00
Mike Hommey
7b1d3ccba7 Bug 1047225 - Properly run the test from bug 442629. r=bz
--HG--
rename : uriloader/exthandler/tests/mailcap => uriloader/exthandler/tests/unit/mailcap
2014-08-02 08:03:08 +09:00
Mike Hommey
95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Magnus Melin
a9639b1d27 Bug 984194 Disable test_encoding.js for Thunderbird to avoid perma-orange, bug 1012917 will fix this fully. r=jduell 2014-04-24 23:27:21 +03:00
Jim Blandy
7e20285e70 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
Hiroyuki Ikezoe
ba123c375e Bug 984194 - Use do_check_matches to output meaningful failure log. r=sworkman 2014-05-19 19:38:00 -04:00
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
e784b5aef6 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
006786a6b4 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00