Commit Graph

14702 Commits

Author SHA1 Message Date
Ted Mielczarek
815dd278b6 bug 1259753 - fix some C++ unittests to use ScopedXPCOM to init XPCOM. r=ms2ger
MozReview-Commit-ID: B6xdlB9Di0y

--HG--
extra : rebase_source : 182d29d677c77ae6780260f5fc9b0792bdd98f84
extra : amend_source : 1e4fa2453d6773bd1e63f52b7aa3bf61e61600ff
2016-03-25 10:04:37 -04:00
Eddy Bruel
3e2cb55980 Bug 1229769 - We should be able to use DOM promises in the worker debugger;r=khuey 2016-03-24 16:12:00 +01:00
Nicholas Nethercote
bbfe3dbc14 Bug 1257402 - Remove NS_NewPermanentAtom() and nsIAtomService.getPermanentAtom(). r=froydnj,kmag.
The former is only used inconsequentially in tests. The second is not used at
all.

--HG--
extra : rebase_source : 4cfe11f933f1fe8f788e823c5107941085cef92c
2016-03-17 13:11:31 +11:00
Nicholas Nethercote
ea7e61e63c Bug 1257128 (part 2) - Remove nsIAtomService.get{,Permanent}AtomUTF8. r=froydnj. 2016-03-16 21:09:18 +11:00
Nicholas Nethercote
41e924c6e0 Bug 1257128 (part 1) - Remove nsIAtom.equalsUTF8. r=froydnj.
It's only used in tests.
2016-03-16 21:05:30 +11:00
Nicholas Nethercote
ab34e9bd7a Bug 1257207 - Increase ATOM_HASHTABLE_INITIAL_LENGTH. r=froydnj.
This avoids one gAtomTable resizing.

--HG--
extra : rebase_source : 136e9db9653d4632986c2462f51c5c008475e1de
2016-03-24 09:17:55 +11:00
Jeff Walden
3b8b70a765 Bug 1256027 - Cast a few things in varargs to the expected types for MSVC 2015 warning-compatibility. r=froydnj
--HG--
extra : rebase_source : 5caa63bb236b4840fda4f2c6bf91e987c7905195
2016-03-23 13:21:02 -07:00
Boris Zbarsky
fb54936d49 Bug 1255817 part 4. Make XPCJSRuntime use MozCrashErrorReporter by default, now that there should be no stray JS_ReportPendingException calls. r=bholley 2016-03-23 11:44:54 -04:00
Eric Rahm
1424614c16 Bug 1258231 - Lock while iterating console messages. r=mccr8
--HG--
extra : rebase_source : 3e587ec2b0d7bc8f94a452a6a7ac0d5cff92a716
2016-03-21 12:15:42 -07:00
Till Schneidereit
db904728ee Bug 911216 - Part 7: Implement ES6 Promises in the JavaScript engine. r=efaust
--HG--
extra : rebase_source : 44ac4d767f6b2298acea444675c7177cb8f0d602
2015-11-10 12:34:00 +01:00
Boris Zbarsky
bc347a401b Bug 1257919 part 10. Make the caller and formattedStack getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:35 -04:00
Boris Zbarsky
dde5cae5bb Bug 1257919 part 9. Make the asyncCause/asyncCaller getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
42b3bbe27a Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
54987c5cc1 Bug 1257919 part 7. Make the name getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
efa07c06d1 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
12ede800fa Bug 1257919 part 3. Make the various toString methods on exceptions take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
44088b97d0 Bug 1257919 part 2. Make nsIException and nsIStackFrame builtinclass, so we can start using [implicit_jscontext] on them. r=khuey 2016-03-22 13:50:31 -04:00
David Anderson
f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Sebastian Hengst
4e4e0bcb49 Backed out changeset 8bb1cce4804d (bug 1257919) 2016-03-22 21:11:05 +01:00
Sebastian Hengst
055a2f1834 Backed out changeset 6403c45366e0 (bug 1257919) 2016-03-22 21:10:55 +01:00
Sebastian Hengst
0e9bf1445a Backed out changeset 6e95ee3cd4c6 (bug 1257919) 2016-03-22 21:10:21 +01:00
Sebastian Hengst
e6e4d30446 Backed out changeset c4faeb0be959 (bug 1257919) 2016-03-22 21:10:12 +01:00
Sebastian Hengst
336c2cc4ae Backed out changeset 08f1c7239cdf (bug 1257919) 2016-03-22 21:10:01 +01:00
Sebastian Hengst
d5e963398d Backed out changeset cf816f733296 (bug 1257919) 2016-03-22 21:09:53 +01:00
Sebastian Hengst
8b2bf79a7a Backed out changeset ff81c52375ba (bug 1257919) 2016-03-22 21:09:32 +01:00
Boris Zbarsky
8062407932 Bug 1257919 part 10. Make the caller and formattedStack getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:35 -04:00
Boris Zbarsky
eea8812d6b Bug 1257919 part 9. Make the asyncCause/asyncCaller getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
5df498fbd2 Bug 1257919 part 8. Make the line/column number getters on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
cc563df19f Bug 1257919 part 7. Make the name getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
38af226a36 Bug 1257919 part 6. Make the filename getter on JSStackFrame take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
8ef4cc7c3d Bug 1257919 part 3. Make the various toString methods on exceptions take an explicit JSContext. r=khuey 2016-03-22 13:50:31 -04:00
Boris Zbarsky
c978d9ded6 Bug 1257919 part 2. Make nsIException and nsIStackFrame builtinclass, so we can start using [implicit_jscontext] on them. r=khuey 2016-03-22 13:50:31 -04:00
Tooru Fujisawa
e2a8d2a6b4 Bug 1153978 - Part 1: Separate buildIdOp from AsmJSCacheOps. r=jandem,bz 2016-01-01 14:19:20 +09:00
Tooru Fujisawa
fc9cc29e33 Bug 1153978 - Part 0: Separate nsIPlatformInfo from nsIXULAppInfo. r=jst,gps 2016-02-04 06:12:45 +09:00
Gregory Szorc
b19cc22cce Bug 1257410 - Use %p and cast in printf to avoid C4477 on VS2015; r=khuey
MozReview-Commit-ID: 21XrhzPiJFQ

--HG--
extra : rebase_source : a9375998fcf663bf2b285cc2105778836eedffa8
2016-03-21 14:19:18 -07:00
Kyle Huey
850c2af206 Bug 1258498: Use fallible allocation in nsScriptableInputStream::ReadBytes. r= froydnj 2016-03-21 13:49:18 -07:00
Gregory Szorc
640bfbec0b Bug 1257331 - Use LPWSTR instead of LPVOID to prevent C4477 warning; r=froydnj
MozReview-Commit-ID: 2rJdKhlLtXr

--HG--
extra : rebase_source : e31284758a80054831fd6ecda0e7733ab4e9312a
2016-03-17 20:36:06 -07:00
Honza Bambas
32c3d179be Bug 1248565 - Introduce MOZ_LOG_* variables for mozilla logging. r=erahm 2016-03-10 08:22:00 -05:00
Carsten "Tomcat" Book
0e533b219a merge mozilla-inbound to mozilla-central a=merge 2016-03-18 15:51:43 +01:00
Ms2ger
3a6fa6704c Bug 1255343 - Stop returning nsresult from NS_RegisterStaticAtoms; r=ehsan
It only ever returns NS_OK, and none of the callers check the result.
2016-03-18 09:03:43 +01:00
JW Wang
4436a4705f Bug 1250829 - add customized assertions for completion promises to facilitate promise chaining. r=bobbyholley.
MozReview-Commit-ID: 5IbbAz0KIBY
2016-03-18 11:27:19 +08:00
JW Wang
7070827866 Bug 1257063 - Don't destruct the runnable inside the lock when TaskQueue::Dispatch fails. r=bobbyholley.
MozReview-Commit-ID: I5KvfHnLUIS
2016-03-18 11:27:15 +08:00
Mike Hommey
0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Felipe Gomes
7ff0e41628 Bug 1257242 - Split the ::BrowserTabsRemoteAutostart() function into two parts, to allow for the blocking policies to be checked independently from the prefs checks. r=jimm
The behavior of ::BrowserTabsRemoteAutostart() shouldn't change, meaning that every result remains the same. The new getter can be accessed by JS through Services.appinfo.multiprocessBlockPolicy

MozReview-Commit-ID: 62PpbeJcMCI
2016-03-16 17:31:14 -03:00
Benjamin Smedberg
702c087507 Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : 0ae9efbce919efcd0f20314bd89848da017b7e57
2016-03-14 09:31:19 -04:00
Nicholas Nethercote
a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Daniel Holbert
58e5e16c44 backout d85b18faba72 (bug 1187270) for build bustage. 2016-03-15 15:51:56 -07:00
Nicholas Nethercote
f584cb3bd0 Bug 1255655 - Const-ify named CIDs. r=froydnj.
There are about 600 of these, at 16 bytes each, and this change makes all of
them shareable between processes

--HG--
extra : rebase_source : b1824f0a022389aeb02d925c4d788e5a671bf782
2016-03-11 14:32:39 +11:00
Benjamin Smedberg
42e1362b4d Bug 1187270 - Add Telemetry session ID to crash annotations, r=gfritzsche
MozReview-Commit-ID: GwVI0dfsT4H

--HG--
extra : rebase_source : fae01778b3afbe6ca9dfcf774cead01eeac50445
extra : histedit_source : 98c0c070effca99711e35b4b4c3124a9fbdba089
2016-03-14 09:31:19 -04:00
Gregory Szorc
2923feff68 Bug 1256028 - Disable C4477 to unblock compilation on VS2015; r=mcmanus
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: 9AkkAUDMln6

--HG--
extra : rebase_source : 76126361de678729344b0e9eaeac1d523f88ebb4
2016-03-14 18:44:26 -07:00