Commit Graph

71 Commits

Author SHA1 Message Date
Gabor Krizsanits
41694ff189 Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag
To mitigate the delay that a new content process startup might cause, when the
browser reaches a non-busy state we attempt to prelaunch an empty content process
in the background that can be grabbed and used the next time we need one. This patch
enables the preallocated process manager by default and attempts to fix all the
issues that prevented us doing this sooner.
2017-05-03 12:00:20 +02:00
Florian Queze
c9a0637249 Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Paul Bignier
85572d46c2 Bug 1352825 - Fix comment typos of 'docshell'. r=MattN 2017-04-03 09:09:00 -04:00
Florian Quèze
c8cf49999e Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Florian Quèze
69e05ad75e Bug 1332965 - addEventListener shim should work with an option object given as third parameter, r=billm. 2017-01-25 06:57:33 +01:00
Jared Wein
0ec522d5b6 Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Dave Townsend
e7b1b3284f Bug 1316882: Turn on space-before-function-paren eslint rule (toolkit). r=jaws
MozReview-Commit-ID: FGFwg6TYkvm
2016-11-11 15:22:34 -08:00
Dave Townsend
dc3810c548 Bug 1314343: Turn on no-unreachable in eslint. r=standard8
Unreachable code can be a sign of a mistake so we should turn this rule on.

MozReview-Commit-ID: LQphsNL7HBX
2016-11-01 10:58:35 -07:00
Mike Conley
937fd99c90 Bug 1312880 - Remove sync message when starting up RemoteAddonsChild. r=billm
MozReview-Commit-ID: LHNXZOphynk
2016-10-28 10:16:00 -04:00
Rob Wu
84fa834a78 Bug 1310718 - Don't wrap invalid listeners r=billm
`makeFilteringListener` uses the listener as a key for a WeakMap, so we
cannot blindly use the listener as a WeakMap key.  addEventListener and
removeEventListeer only accept objects/functions (and undefined/null),
so not wrapping will lead to a descriptive error message from
addEventListener/removeEventListeer.

MozReview-Commit-ID: HF2WAyXDeD9
2016-10-17 18:54:23 +02:00
Jared Wein
ebf1ccbe46 Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh
2016-08-03 18:54:59 -04:00
Blake Kaplan
32df90e19a Bug 1271244 - Hack around loadinfo to make the about: shim work. r=mconley 2016-06-01 16:11:47 -07:00
Gabor Krizsanits
f08f4ece4e Bug 1264383 - makeFilteringListener breaks eventremoval with shims. r=mconley 2016-04-18 10:40:26 +02:00
Dave Townsend
769fc8f245 Bug 1257246: Update toolkit for eslint 2. r=Gijs
Most of this is fixing functions that in some cases return a value but then
can also run to completion without returning anything. ESLint 2 catches this
where previous versions didn't. Unless there was an obvious other choice I just
made these functions return undefined at the end which is effectively what
already happens.

MozReview-Commit-ID: KHYdAkRvhVr
2016-04-05 11:33:48 -07:00
Mike Conley
6d8dee1e7b Bug 1256468 - sessionHistory shim should QI DocShell to nsIWebNavigation automatically. r=krizsa
MozReview-Commit-ID: 8benvQvcfLO
2016-03-15 19:05:24 -04:00
Christoph Kerschbaumer
e3ae115ea5 Bug 1243936 - Convert remaining callsites within devtools/ and toolkit/ to use channel.open2() 2016-01-29 09:16:13 -08:00
Bill McCloskey
0fbb50f168 Bug 1233497 - Fix infrastructure for disallowing unsafe CPOWs in browser code. r=mrbkap 2016-01-05 19:28:27 -05:00
Mike Conley
7b77c748bb Bug 1233803 - Add sessionHistory shim for gBrowser and remote browsers. r=krizsa 2016-01-14 15:08:53 -05:00
Mike Conley
cec8f5ae47 Bug 1233803 - Add RemoteWebNavigation sessionHistory shim for addons. r=krizsa 2016-01-07 09:52:35 -05:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Gabor Krizsanits
8172b03240 Bug 1173451 - RemoteAddonsChild init should be optional. r=mconley 2015-07-07 10:56:26 +02:00
Bill McCloskey
4c170b8291 Bug 1167794 - Allow dumping shim debugging to stdout (r=gabor,a=KWierso) 2015-06-19 17:35:10 -07:00
Marcos Caceres
29e9db6aef Bug 1170385 - Adds csp-on-violate-policy to RemoteAddonsParent.jsm. r=billm
* Adds csp-on-violate-policy to TOPIC_WHITELIST of RemoteAddonsParent.jsm + enables dependent tests
 * Enables dependent tests
---
 dom/base/test/csp/browser.ini                         | 1 -
 toolkit/components/addoncompat/RemoteAddonsParent.jsm | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)
2015-06-04 18:17:32 -04:00
Christoph Kerschbaumer
4701bd2e1a Bug 1167053 - Convert NetUtil.newChannel2 callsites to use new API - update newChannel2 (r=sicking,paolo) 2015-05-21 19:52:03 -07:00
Bill McCloskey
5f69537462 Bug 1081879 - [e10s] WebProgress shims (r=mconley) 2015-04-29 17:23:48 -07:00
Bill McCloskey
5e9fb4442a Bug 1154465 - Fix add-on shim telemetry (r=gabor) 2015-04-15 20:00:37 -07:00
Bill McCloskey
342aa1fd14 Bug 1150754 - Add keyed histogram for add-on shim usage (r=gabor) 2015-04-07 13:46:24 -07:00
Gabor Krizsanits
6db77d79ea Bug 1133761 - Warnings for chrome-script limitations. r=wmccloskey 2015-04-02 10:25:42 +02:00
Christoph Kerschbaumer
6c146c9fa1 Bug 1138649 - Update remaining callsites to use newChannel2 in toolkit/components (r=gijs,billm) 2015-03-12 11:27:17 -07:00
Dave Townsend
cbba1995b2 Bug 1133141: Reduce the amount of CPOW traffic caused by shimmed events. r=billm 2015-02-14 00:14:25 -08:00
Bill McCloskey
3b0120e94a Bug 1072980 - Don't allow CPOWs to be passed to C++ code (r=mrbkap,ally,mconley) 2015-01-29 11:28:01 -08:00
Bill McCloskey
b16c4c52d2 Bug 1126018 - [e10s] Add shims for some observer topics (r=mconley) 2015-01-29 11:24:46 -08:00
Bill McCloskey
63b56fad67 Bug 1126018 - [e10s] Add shim for window._content (r=mconley) 2015-01-29 11:24:46 -08:00
Bill McCloskey
ad87ccad37 Bug 1126018 - [e10s] Improve dummy window shim (r=mconley) 2015-01-29 11:24:46 -08:00
Bill McCloskey
cedc9b7b60 Bug 1102643 - [e10s] Prefetching for add-on shims (r=mconley) 2015-01-05 13:49:44 -08:00
Bill McCloskey
f99b4477f5 Backout bug 1072980 due to regressions (a=backout) 2014-12-20 21:15:36 -08:00
Bill McCloskey
2386f96b0b Bug 1102643 - Track add-on ID in e10s shims (r=mconley) 2014-12-18 17:34:24 -08:00
Bill McCloskey
11d327d821 Bug 1072980 - Ensure event.currentTarget is correct in event shim (r=ally) 2014-12-18 17:34:24 -08:00
Bill McCloskey
e60d94af41 Bug 1072980 - Don't pass CPOW as notificationCallbacks in nsIAboutProtocol shim (r=ally) 2014-12-18 17:34:23 -08:00
Mike Conley
c43f309dfc Bug 1102410 - Regression test to ensure that multiple shimmed nsIAboutModule's can be accessed from the content process. feedback=ally, r=mrbkap,billm. 2014-11-26 10:47:22 -05:00
Tim Taubert
8db968137d Bug 1075450 - Disable some Awesomebar actions for private windows r=mak 2014-11-21 23:39:44 +01:00
Bill McCloskey
2ffed979f7 Bug 1098969 - [e10s] Content policy shim should use category value, not name (r=mconley) 2014-11-18 16:21:00 -08:00
Tooru Fujisawa
4c64c94e88 Bug 1096921 - Fix typo in CategoryManagerInterposition.methods.deleteCategoryEntry. r=mconley 2014-11-12 10:18:08 +01:00
Dave Townsend
9f74e2bc4b Bug 1094068: Typo bustage fix. 2014-11-05 00:02:13 -08:00
Irakli Gozalishvili
db6446bd7e Bug 1094068: Creating sandbox with expanded principals causes an exception. r=Mossop 2014-11-04 23:31:29 -08:00
Dave Townsend
1e4369643d Bug 1094017: Component registrar shim doesn't support null contract IDs. r=Unfocused 2014-11-04 20:16:47 -08:00