Commit Graph

128 Commits

Author SHA1 Message Date
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
Erik Vold
4e56b8578c Bug 1029207 - Uplift Add-on SDK to Firefox r=me 2014-06-24 10:36:52 -07:00
Nicholas Nethercote
bb9d51e11e Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Boris Zbarsky
632d59fe2d Bug 1019194 part 1. Get rid of nsIIndexedDatabaseManager. r=paul,khuey,mossop 2014-06-17 15:01:47 -04:00
Erik Vold
71fe731848 Bug 1024837 - Uplift Add-on SDK to Firefox r=me 2014-06-16 14:42:23 -07:00
Cameron McCormack
f533a93e46 Bug 1023655 - Remove DOCTYPEs from SVG documents to avoid failed DTD loads. r=Unfocused 2014-06-11 12:08:23 +10:00
Erik Vold
53542c3bbe Bug 1021280 - Uplift Add-on SDK to Firefox r=me 2014-06-05 16:22:03 -07:00
Bobby Holley
5b4992f05a Bug 1015396 - Get rid of apiSandbox. r=irakli
Currently, Jetpack uses two sandboxes for each content script - one for the
content script itself, and another for SDK machinery. And we end up getting Xrays
between the sandboxes, even though they're same-origin (generally with an nsEP)
because Jetpack sandboxes use |wantXrays: true| to get same-origin Xrays.

Object Xrays cause all sorts of communication problems between the sandboxes.
Irakli says we don't actually need the separate sandbox anymore since we've
removed the proxy layer, so let's just get rid of it.
2014-05-30 15:11:06 -07:00
Eddy Bruel
ca956f64e3 Bug 1003095 - Convert DevToolsExtensions.jsm into an SDK module;r=past;r=ZER0 2014-05-22 16:20:41 +02:00
Erik Vold
cbe0f1fb93 Bug 1013510 - Uplift Add-on SDK to Firefox r=me
--HG--
rename : addon-sdk/source/python-lib/cuddlefish/tests/preferences-files/packages/curly-id/package.json => addon-sdk/source/test/fixtures/preferences/curly-id/package.json
rename : addon-sdk/source/python-lib/cuddlefish/tests/preferences-files/packages/no-prefs/package.json => addon-sdk/source/test/fixtures/preferences/no-prefs/package.json
rename : addon-sdk/source/python-lib/cuddlefish/tests/preferences-files/packages/preferences-branch/package.json => addon-sdk/source/test/fixtures/preferences/preferences-branch/package.json
2014-05-20 21:46:38 -07:00
Erik Vold
42dd409814 Bug 1009334 - Ship the Add-on SDK bootstrap.js file with Firefox r=Mossop 2014-05-20 13:22:41 -07:00
Erik Vold
4ad511743f Bug 1011107 - Uplift Add-on SDK to Firefox 2014-05-15 12:39:59 -07:00
Erik Vold
5f245d29e2 Bug 1004395 - Uplift Add-on SDK to Firefox r=me 2014-05-09 10:10:05 -07:00
Gabor Krizsanits
e0a4e41d29 Bug 999585 - wantExportHelpers for all content-script. r=Mossop 2014-04-28 11:53:50 +02:00
Erik Vold
127453acf2 Bug 1001074 - Uplift Add-on SDK to Firefox r=me 2014-04-24 12:32:56 -07:00
Dão Gottwald
6d33d9b85d Bug 865826 - Remove the browser.tabs.closeButtons pref. r=jaws 2014-04-25 14:30:18 +02:00
Erik Vold
4abbe6385a Bug 997561 - Uplift Add-on SDK to Firefox (CLOSED TREE) r=me 2014-04-17 02:07:49 -07:00
Erik Vold
70f990d958 Bug 993272 - Uplift Add-on SDK to Firefox 2014-04-14 22:56:11 -07:00
Gabor Krizsanits
27a2d88a12 Bug 821809 - Part3: nsEp for content-script. r=rFobic 2014-04-10 19:52:54 +02:00
Carsten "Tomcat" Book
a212459441 Backed out changeset 22feaebc0b2c (bug 821809) win8 debug jetpack-sdk test failures 2014-04-09 15:12:01 +02:00
Gabor Krizsanits
258cee2f00 Bug 821809 - Using nsExpandedPrincipal for jetpack content-scripts. r=rFobic 2014-04-09 11:52:24 +02:00
Ed Lee
fdae812ae8 Bug 990284 - Only allow data:text/html, events in test-content-events tests [r=jsantell]
Switch from url blacklist to url whitelist.
2014-03-31 16:00:56 -07:00
Erik Vold
9cbc49b33a Bug 988743 - Uplift Add-on SDK to Firefox 2014-03-27 03:23:12 -07:00
Boris Zbarsky
05af31f010 Bug 980962. Fix in-tree consumers to not construct typed arrays without "new". r=jorendorff 2014-03-20 23:19:42 -04:00
Erik Vold
f49fb0e135 Bug 985956 - Uplift Add-on SDK to Firefox 2014-03-20 08:07:16 -07:00
Erik Vold
73d6cbcc75 Bug 964545 Add-on SDK page-mods are now debuggable r=dcamp 2014-01-27 23:21:31 -08:00
Erik Vold
3582c30f74 Bug 982379 - Uplift Add-on SDK to Firefox 2014-03-12 17:20:56 -07:00
Boris Zbarsky
139c43ef35 Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley 2014-03-10 17:38:14 -04:00
Erik Vold
5f6022aca3 Bug 980511 - Uplift Add-on SDK to Firefox 2014-03-06 14:21:49 -08:00
Erik Vold
7454781fb7 Bug 972925 - Uplift Add-on SDK to Firefox 2014-03-03 11:22:07 -08:00
Andrea Marchesini
004b2f741b Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Bobby Holley
f1cdaa0e45 Bug 976105 - Remove test-suite dependency on unprivileged calls to constructor-as-function. r=bz 2014-02-24 14:40:21 -08:00
Alexander J. Vincent
8c8ba5a9d1 Bug 952307 - Move some addon-private JSM's to a subdirectory. r=Unfocused
--HG--
rename : toolkit/mozapps/extensions/AddonLogging.jsm => toolkit/mozapps/extensions/internal/AddonLogging.jsm
rename : toolkit/mozapps/extensions/AddonRepository.jsm => toolkit/mozapps/extensions/internal/AddonRepository.jsm
rename : toolkit/mozapps/extensions/AddonRepository_SQLiteMigrator.jsm => toolkit/mozapps/extensions/internal/AddonRepository_SQLiteMigrator.jsm
rename : toolkit/mozapps/extensions/AddonUpdateChecker.jsm => toolkit/mozapps/extensions/internal/AddonUpdateChecker.jsm
rename : toolkit/mozapps/extensions/LightweightThemeImageOptimizer.jsm => toolkit/mozapps/extensions/internal/LightweightThemeImageOptimizer.jsm
rename : toolkit/mozapps/extensions/PluginProvider.jsm => toolkit/mozapps/extensions/internal/PluginProvider.jsm
rename : toolkit/mozapps/extensions/SpellCheckDictionaryBootstrap.js => toolkit/mozapps/extensions/internal/SpellCheckDictionaryBootstrap.js
rename : toolkit/mozapps/extensions/XPIProvider.jsm => toolkit/mozapps/extensions/internal/XPIProvider.jsm
rename : toolkit/mozapps/extensions/XPIProviderUtils.js => toolkit/mozapps/extensions/internal/XPIProviderUtils.js
2014-01-07 20:14:08 -08:00
Conrad Irwin
a13a658926 Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Erik Vold
9392e4c446 Bug 926264: Use a setTimeout before exiting tests and add some additional logs. r=Mossop 2014-02-07 13:19:23 -08:00
Erik Vold
37d7bde438 Bug 968621 - Uplift Add-on SDK to Firefox 2014-02-06 09:02:01 -08:00
Erik Vold
08fc2b8528 Bug 926264 - Do not exit(0) twice r=@Mossop 2014-02-04 16:58:46 -08:00
David Rajchenbach-Teller
e189bf007a Bug 952335 - Provide the full path for OS.Constants.Path.libxul on OSX. r=mossop 2014-02-05 13:29:51 -05:00
Ryan VanderMeulen
7ab400fd1d Backed out changeset 72fdce22d68f (bug 964545) for mochitest-bc crashes. 2014-02-04 15:09:06 -05:00
Erik Vold
7a50c351d5 Bug 964545 - Add-on SDK page-mods are now debuggable r=dcamp 2014-01-27 23:21:31 -08:00
Erik Vold
cf49771483 Bug 926264 - Intermittent Jetpack command timed out: 7200 seconds elapsed, attempting to kill starting up private-browsing-supported r=Mossop 2014-02-02 12:38:12 -08:00
Erik Vold
a67e5197ef Bug 966416 - Uplift Add-on SDK to Firefox 2014-02-01 16:05:39 -08:00
Erik Vold
c687133850 Bug 963216 - Uplift Add-on SDK 2014-01-24 15:51:44 -08:00
Erik Vold
e6f6bd97b5 Bug 960771 - Uplift Add-on SDK 2014-01-16 17:29:40 -08:00
Gian-Carlo Pascutto
4ecb4f84ff Bug 783047 - Update SafeBrowsing URLs to use HTTPS. r=mmc,dcamp sr=gavin 2014-01-16 09:27:59 +01:00
Erik Vold
cb652d4ef9 Bug 956129 - Uplift Addon SDK to Firefox 2014-01-09 20:21:33 -08:00
Gavin Sharp
8075170201 Tweak some comments per bug 910523 and bug 910517.
--HG--
extra : rebase_source : 72de87d8b34da281bb6e2e9c99ebd8ad75e64786
2013-09-16 09:45:58 -04:00
Erik Vold
74b51a6914 Bug 947501 - Uplift Addon SDK to Firefox 2013-12-19 14:50:18 -08:00
Nicholas Nethercote
cc1728f40f Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Dave Townsend
d7ad2054c1 Bug 947501: Uplift Add-on SDK to Firefox. r=me
11344b2...dc6000a
2013-12-06 15:53:30 -08:00