Commit Graph

159 Commits

Author SHA1 Message Date
Bobby Holley
bba2f575c0 Bug 1034262 - Don't use wantXrays for requiresAddonGlobal sandboxes. r=gabor 2014-07-10 10:04:30 -07:00
Alexandre Poirot
05dbcb6419 Bug 1013997 - Use only one compartment for all devtools modules. r=mossop, r=past 2014-07-07 06:07:00 -04:00
Erik Vold
d67fea1ca5 Bug 1035329 - Uplift Add-on SDK to Firefox r=me 2014-07-07 19:37:56 -07:00
Anup Kumar
391b7f9ec5 Bug 451578 - Replace |.getService() .QueryInterface(iid)| by |.getService(iid)| in mozilla-central. r=Yoric 2014-07-03 10:31:00 +02:00
Erik Vold
a8fcc9eb61 Bug 1032969 - Uplift Add-on SDK to Firefox r=me 2014-07-02 14:37:05 -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
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
James Graham
40142335ba Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted 2014-05-16 04:55:00 +02: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
Mark Hammond
763885adb1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11: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
Phil Ringnalda
d969de5efb Back out 43663582cfdb (bug 987404) because it looks like it disabled things even without e10s being defined 2014-03-30 23:18:57 -07:00
Mark Hammond
d2d06f28f8 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Erik Vold
9cbc49b33a Bug 988743 - Uplift Add-on SDK to Firefox 2014-03-27 03:23:12 -07:00
Kan-Ru Chen (陳侃如)
65b6161ef2 Bug 957241 - Don't package the full sdk when we don't need it. r=gps 2014-03-24 17:09:45 +08: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