Commit Graph

205 Commits

Author SHA1 Message Date
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
Erik Vold
c4b97191fc Bug 1029207 - Uplift Add-on SDK to Firefox r=me 2014-06-24 10:36:52 -07:00
Nicholas Nethercote
aaf6fb2124 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
3a5702d71d Bug 1019194 part 1. Get rid of nsIIndexedDatabaseManager. r=paul,khuey,mossop 2014-06-17 15:01:47 -04:00
Erik Vold
d534c4eba5 Bug 1024837 - Uplift Add-on SDK to Firefox r=me 2014-06-16 14:42:23 -07:00
Cameron McCormack
f8e8ccc5d0 Bug 1023655 - Remove DOCTYPEs from SVG documents to avoid failed DTD loads. r=Unfocused 2014-06-11 12:08:23 +10:00
Erik Vold
0497c225dc Bug 1021280 - Uplift Add-on SDK to Firefox r=me 2014-06-05 16:22:03 -07:00
Bobby Holley
8b61dab657 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
f8fd30abd5 Bug 1003095 - Convert DevToolsExtensions.jsm into an SDK module;r=past;r=ZER0 2014-05-22 16:20:41 +02:00
Erik Vold
9a73288e1c 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
9bae2c0b02 Bug 1009334 - Ship the Add-on SDK bootstrap.js file with Firefox r=Mossop 2014-05-20 13:22:41 -07:00
James Graham
54a81fe8c7 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
f95f958a23 Bug 1062132 - Uplift Add-on SDK to Firefox r=me 2014-09-03 01:08:20 -07:00
Erik Vold
8c29ce9d0b Bug 1011107 - Uplift Add-on SDK to Firefox 2014-05-15 12:39:59 -07:00
Erik Vold
59f30ad9f1 Bug 1004395 - Uplift Add-on SDK to Firefox r=me 2014-05-09 10:10:05 -07:00
Gabor Krizsanits
2e43b0c9d2 Bug 999585 - wantExportHelpers for all content-script. r=Mossop 2014-04-28 11:53:50 +02:00
Erik Vold
67504f51e1 Bug 1001074 - Uplift Add-on SDK to Firefox r=me 2014-04-24 12:32:56 -07:00
Dão Gottwald
51fdc20682 Bug 865826 - Remove the browser.tabs.closeButtons pref. r=jaws 2014-04-25 14:30:18 +02:00
Erik Vold
51c83448d0 Bug 997561 - Uplift Add-on SDK to Firefox (CLOSED TREE) r=me 2014-04-17 02:07:49 -07:00
Erik Vold
7b8ad73f76 Bug 993272 - Uplift Add-on SDK to Firefox 2014-04-14 22:56:11 -07:00
Gabor Krizsanits
82441b935c Bug 821809 - Part3: nsEp for content-script. r=rFobic 2014-04-10 19:52:54 +02:00
Carsten "Tomcat" Book
f05a02bdf6 Backed out changeset 22feaebc0b2c (bug 821809) win8 debug jetpack-sdk test failures 2014-04-09 15:12:01 +02:00
Gabor Krizsanits
74b2d314db Bug 821809 - Using nsExpandedPrincipal for jetpack content-scripts. r=rFobic 2014-04-09 11:52:24 +02:00
Mark Hammond
cae334e085 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Ed Lee
325b30f3df 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
25ffcd7643 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
cde2db8ab1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-03-31 14:11:49 +11:00
Erik Vold
ad6eb6e06b Bug 988743 - Uplift Add-on SDK to Firefox 2014-03-27 03:23:12 -07:00
Kan-Ru Chen (陳侃如)
2406bcb027 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
009cf4dd56 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
6effd4ef72 Bug 985956 - Uplift Add-on SDK to Firefox 2014-03-20 08:07:16 -07:00
Erik Vold
34c7599e4e Bug 964545 Add-on SDK page-mods are now debuggable r=dcamp 2014-01-27 23:21:31 -08:00
Erik Vold
79663ddcc2 Bug 982379 - Uplift Add-on SDK to Firefox 2014-03-12 17:20:56 -07:00
Boris Zbarsky
51c7e3a485 Bug 980965. Stop using DOM constructors as functions in chrome code. r=bholley 2014-03-10 17:38:14 -04:00
Erik Vold
bf76a422a2 Bug 980511 - Uplift Add-on SDK to Firefox 2014-03-06 14:21:49 -08:00
Erik Vold
d659369c3a Bug 972925 - Uplift Add-on SDK to Firefox 2014-03-03 11:22:07 -08:00
Andrea Marchesini
286e0c9290 Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00
Bobby Holley
2bbdf9b30b 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
8d99d1aa31 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
58ebc8457f Bug 762556 - Error stack should contain column number. r=jorendorff 2014-02-19 11:30:08 -05:00
Erik Vold
2bc52fdc5d 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
783e6774e4 Bug 968621 - Uplift Add-on SDK to Firefox 2014-02-06 09:02:01 -08:00
Erik Vold
db3e697ec4 Bug 926264 - Do not exit(0) twice r=@Mossop 2014-02-04 16:58:46 -08:00
David Rajchenbach-Teller
3459858562 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
fe138fc7aa Backed out changeset 72fdce22d68f (bug 964545) for mochitest-bc crashes. 2014-02-04 15:09:06 -05:00
Erik Vold
233d46acb5 Bug 964545 - Add-on SDK page-mods are now debuggable r=dcamp 2014-01-27 23:21:31 -08:00
Erik Vold
3b71532efc 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
5daec585b5 Bug 966416 - Uplift Add-on SDK to Firefox 2014-02-01 16:05:39 -08:00
Jordan Santell
9dcb2bb2d3 Bug 858278 - Add addon-sdk tests outside of the SDK environment to ensure loader works anywhere. r=mossop, r=gps 2014-01-17 11:15:59 -08:00
Erik Vold
54cf406014 Bug 963216 - Uplift Add-on SDK 2014-01-24 15:51:44 -08:00
Erik Vold
f364e9764a Bug 960771 - Uplift Add-on SDK 2014-01-16 17:29:40 -08:00
Gian-Carlo Pascutto
86b9a69241 Bug 783047 - Update SafeBrowsing URLs to use HTTPS. r=mmc,dcamp sr=gavin 2014-01-16 09:27:59 +01:00
Erik Vold
e28edc5f16 Bug 956129 - Uplift Addon SDK to Firefox 2014-01-09 20:21:33 -08:00
Gavin Sharp
ea5aa79864 Tweak some comments per bug 910523 and bug 910517.
--HG--
extra : rebase_source : 72de87d8b34da281bb6e2e9c99ebd8ad75e64786
2013-09-16 09:45:58 -04:00
Erik Vold
c55ae6084f Bug 947501 - Uplift Addon SDK to Firefox 2013-12-19 14:50:18 -08:00
Nicholas Nethercote
8450156576 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
a6e308d2ea Bug 947501: Uplift Add-on SDK to Firefox. r=me
11344b2...dc6000a
2013-12-06 15:53:30 -08:00
Dave Townsend
09aed864d0 Bug 941933: Uplift Add-on SDK to Firefox. r=me
e0ee67e...11344b2
2013-11-27 16:43:04 -08:00
Gijs Kruitbosch
7f3084a15c Bug 935556 - fix ui-button tests to continue using sdk/self, r=gozala 2013-11-06 18:24:34 +01:00
Dave Townsend
b04aa5bc06 Bug 935220: Uplift Add-on SDK to Firefox. r=me
https://github.com/mozilla/addon-sdk/compare/firefox27...50697e6182cb4f79f9605b7cd1d1f5084cfaf03f

--HG--
rename : addon-sdk/source/data/index.html => addon-sdk/source/test/addons/addon-page/data/index.html
rename : addon-sdk/source/test/favicon-helpers.js => addon-sdk/source/test/addons/places/favicon-helpers.js
rename : addon-sdk/source/test/places-helper.js => addon-sdk/source/test/addons/places/places-helper.js
rename : addon-sdk/source/data/test-trusted-document.html => addon-sdk/source/test/addons/symbiont/data/test-trusted-document.html
rename : addon-sdk/source/data/index.html => addon-sdk/source/test/fixtures/index.html
rename : addon-sdk/source/data/mofo_logo.SVG => addon-sdk/source/test/fixtures/mofo_logo.SVG
rename : addon-sdk/source/data/moz_favicon.ico => addon-sdk/source/test/fixtures/moz_favicon.ico
rename : addon-sdk/source/data/pagemod-css-include-file.css => addon-sdk/source/test/fixtures/pagemod-css-include-file.css
rename : addon-sdk/source/data/test-content-symbiont.js => addon-sdk/source/test/fixtures/test-content-symbiont.js
rename : addon-sdk/source/data/test-context-menu.js => addon-sdk/source/test/fixtures/test-context-menu.js
rename : addon-sdk/source/data/test-iframe-postmessage.html => addon-sdk/source/test/fixtures/test-iframe-postmessage.html
rename : addon-sdk/source/data/test-iframe.html => addon-sdk/source/test/fixtures/test-iframe.html
rename : addon-sdk/source/data/test-iframe.js => addon-sdk/source/test/fixtures/test-iframe.js
rename : addon-sdk/source/data/test-message-manager.js => addon-sdk/source/test/fixtures/test-message-manager.js
rename : addon-sdk/source/data/test-net-url.txt => addon-sdk/source/test/fixtures/test-net-url.txt
rename : addon-sdk/source/data/test-page-mod.html => addon-sdk/source/test/fixtures/test-page-mod.html
rename : addon-sdk/source/data/test-page-worker.html => addon-sdk/source/test/fixtures/test-page-worker.html
rename : addon-sdk/source/data/test-page-worker.js => addon-sdk/source/test/fixtures/test-page-worker.js
rename : addon-sdk/source/data/test-sidebar-addon-global.html => addon-sdk/source/test/fixtures/test-sidebar-addon-global.html
rename : addon-sdk/source/data/test-trusted-document.html => addon-sdk/source/test/fixtures/test-trusted-document.html
rename : addon-sdk/source/data/test.html => addon-sdk/source/test/fixtures/test.html
rename : addon-sdk/source/data/testLocalXhr.json => addon-sdk/source/test/fixtures/testLocalXhr.json
2013-11-05 13:51:58 -08:00
Mike Hommey
8db4585bcd Bug 926007 - Backout changeset 0887088eee1a (bug 842341) because it's only used to support msys-paths with gnu make on windows, which is an unsupported setup; r=gps 2013-10-11 17:50:00 -07:00
Dave Townsend
df0f3d49de Bug 923719: Uplift Addon SDK to Firefox. r=me
bece20a...24471bc
2013-10-04 16:48:52 -07:00
Andy Wingo
2f444bacdd Bug 907077: Adapt addon SDK custom iterators to work with new for-of behavior r=rFobic 2013-10-03 13:37:57 +01:00
Jan Varga
01428648b0 Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger) 2013-09-28 13:25:46 +02:00
Gabor Krizsanits
bd6dfab501 Bug 892214 - Rename DOMConstructors to GlobalProperties in SandboxOptions. r=bholley, r=mossop 2013-09-21 15:25:46 +02:00
Bobby Holley
16eeb8fc57 Bug 874502 part 5. Fix JP test-windows to handle on{activate,deactivate} after close(). r=mossop 2013-09-17 17:45:48 -04:00
Bobby Holley
f78b2f244c Bug 874502 part 2. Fix addon sdk to not assume synchronous closing of windows. r=mossop 2013-09-17 17:45:47 -04:00
Wes Kocher
a4893cf330 Merge inbound to m-c 2013-09-13 18:14:32 -07:00
Boris Zbarsky
0c4e2cc50c Bug 913855. Fix consumers of window mediator to be more consistent in their checking for closed windows. r=dolske
Note that we can't just stop returning closed windows from the window
mediator, because some consumers (e.g. session restore) rely on seeing
closed windows in the list so they can remove them from their internal
data structures expeditiouly.
2013-09-13 17:29:51 -04:00
Wes Kocher
292617eb76 Bug 916283 - Uplift Add-on SDK to Firefox r=me 2013-09-13 13:51:48 -07:00
Nicholas Nethercote
7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Dave Townsend
a30fb6aee9 Bug 913591: Uplift Add-on SDK to Firefox. r=me
7db663a...e833700
2013-09-06 11:09:20 -07:00
Ed Morley
928a8da27b Merge latest green fx-team changeset and mozilla-central 2013-09-05 12:07:58 +01:00
Phil Ringnalda
26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Wes Kocher
e61d3a197b Bug 912698 - Uplift Add-on SDK to Firefox r=me 2013-09-04 13:53:05 -07:00
Nicholas Nethercote
1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Wes Kocher
71215d1a4b Bug 911042 - Uplift Add-on SDK to Firefox r=me 2013-08-29 23:40:16 -07:00
Wes Kocher
e016a24dc0 Bug 910193 - Uplift Add-on SDK to Firefox 2013-08-28 05:22:52 -07:00
Wes Kocher
4e9e1c3a66 Bug 909341 - Uplift Addon SDK to Firefox. r=me 2013-08-26 08:17:58 -07:00
Wes Kocher
0563e70cbf Bug 907509 - Uplift Addon SDK to fx-team 2013-08-20 18:24:12 -07:00
Wes Kocher
5c4a4d62bf Bug 906173 - Uplift addon-sdk to Firefox r=me 2013-08-16 13:57:21 -07:00
Erik Vold
a5de9eda0a Bug 899630 - Intermittent Jetpack tests/test-tabs.testTabsEvent_onCloseWindow r=@ZER0 2013-08-15 15:53:22 -07:00
Erik Vold
3dae802750 Bug 905472 - Intermittent TEST-UNEXPECTED-FAIL | tests/test-tabs.test window focus changes active tab | the activated tab url is correct. r=Mossop 2013-08-15 12:37:55 -07:00
Erik Vold
d77951dc33 Bug 689291 test-tabs.test window focus changes active tab | Test output exceeded timeout (60s). r=Mossop 2013-08-14 10:57:38 -07:00
Erik Vold
68877036f6 Bug 846165 - Intermittent tests/test-panel.test Document Reload. r=gozala 2013-08-14 11:02:03 -07:00
Erik Vold
a4c1f7f56f Bug 904136 - Intermittent test failure: TEST-UNEXPECTED-FAIL | simple-prefs/main.testAOM | Timed out. r=Mossop 2013-08-14 11:02:18 -07:00
ZER0
65c4ffacbb Bug 865391 - Intermittent Jetpack TEST-UNEXPECTED-FAIL | unknown | Test output exceeded timeout (60s). r=Mossop 2013-08-14 11:00:14 -07:00
Jordan Santell
3804d1160e Bug 893846: Fix tab.index test intermittent. r=Mossop 2013-08-12 10:57:45 -07:00
Dave Townsend
43c994f09e Bug 903115: Many context-menu tests timeout on tinderbox. r=jsantell 2013-08-12 10:53:29 -07:00
Dave Townsend
9b6727d39c Bug 901239 - Uplift Add-on SDK to Firefox r=me 2013-08-09 13:17:14 -07:00
Dave Townsend
c43fdfc307 Backing out 9c17e6d4739d due to test failures. 2013-08-08 15:10:40 -07:00
Dave Townsend
dbddd8d101 Bug 901239 - Uplift Add-on SDK to Firefox r=me 2013-08-08 13:27:54 -07:00
Gijs Kruitbosch
483cd2a2e0 Bug 880752 - Fix jetpack tests to account for new stringified output, r=test-only 2013-08-08 09:35:55 +02:00
Andrea Marchesini
8f98621998 Bug 887524 - Move IDBRequest to WebIDL, r=janv 2013-08-01 00:28:15 +02:00
Andrea Marchesini
3c66a55593 Bug 891944 - Move IDBCursor to WebIDL, r=janv 2013-08-01 00:28:13 +02:00
Andrea Marchesini
af936eab73 Bug 888596 - Move IDBDatabase to WebIDL, r=janv 2013-07-31 17:48:46 +02:00
Andrea Marchesini
7d820ab021 Bug 892065 - Move IDBIndex to WebIDL, r=janv 2013-07-31 17:48:40 +02:00
Andrea Marchesini
37ded34aa5 Bug 888597 - Move IDBObjectStore to WebIDL, r=janv 2013-07-31 17:48:36 +02:00
Wes Kocher
a1d91ad03b Bug 897683 - Uplift Add-on SDK to Firefox r=me 2013-07-29 14:37:44 -07:00