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
ecd56b7ee6
Bug 1257919 part 5. Get rid of the now-unused StackFrame class. r=khuey
2016-03-22 13:50:31 -04:00
Boris Zbarsky
655d4654c8
Bug 1257919 part 4. Stop returning StackFrame instances from exceptions::CreateStack. C++ callers of GetCurrentJSStack or exceptions::CreateStack always check for null anyway, and none of them seem to want this non-JS thing. 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
Sebastian Hengst
055a2f1834
Backed out changeset 6403c45366e0 (bug 1257919)
2016-03-22 21:10:55 +01:00
Sebastian Hengst
60e4be8fc0
Backed out changeset 1b5db6edd791 (bug 1257919)
2016-03-22 21:10:45 +01:00
Sebastian Hengst
dac1daf443
Backed out changeset 83dfa9e03d0e (bug 1257919)
2016-03-22 21:10:37 +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
f42db79269
Bug 1257919 part 5. Get rid of the now-unused StackFrame class. r=khuey
2016-03-22 13:50:31 -04:00
Boris Zbarsky
8ba7a0b580
Bug 1257919 part 4. Stop returning StackFrame instances from exceptions::CreateStack. C++ callers of GetCurrentJSStack or exceptions::CreateStack always check for null anyway, and none of them seem to want this non-JS thing. 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
Daisuke Akatsuka
f479d03a6b
Bug 1253470 - Part 4: Produce console warnings for invalid easing. r=birtles
2016-03-18 16:28:22 +09:00
Daisuke Akatsuka
a152d59824
Bug 1253470 - Part 1: Produce console warnings for invalid duration. r=birtles
2016-03-18 10:07:10 +09:00
Tom Schuster
ed7a4103c8
Bug 1256688 - Change BPH::has to follow [[HasProperty]] for ordinary objects. r=jorendorff
2016-03-19 01:30:03 +01:00
Kyle Huey
2fc599905e
Bug 1257355: Remove the worker descriptor for WorkerNavigator. r=bz
...
--HG--
rename : dom/workers/Navigator.cpp => dom/workers/WorkerNavigator.cpp
rename : dom/workers/Navigator.h => dom/workers/WorkerNavigator.h
2016-03-18 14:15:46 -07:00
Boris Zbarsky
172598b4e2
Bug 1257335. Replace some AutoSafeJSContext uses with AutoJSAPI or AutoJSContext uses. r=bholley
...
In general, using an AutoJSAPI inited with an object is NOT the same as using
AutoSafeJSContext (or AutoJSAPI inited without an object) and then entering the
compartment of the object: the former will report exceptions to the global of
the object as it comes off the stack, while the latter will not. This only
really matters if we have an object from a window or worker global and hence
might fire error events, or report internal stuff to the web console.
The changes to initing with an object made in this bug are OK for the following
reasons:
1) dom/base/Console.cpp: Always clears its exception before coming off the stack.
2) dom/base/nsDOMClassInfo.cpp: Inits with a non-web global.
3) dom/base/nsFrameMessageManager.cpp: Inits with a non-web global.
4) dom/media/MediaPermissionGonk.cpp: We probably want the caller to notice if
anything here throws.
5) dom/xbl/nsXBLPrototypeBinding.cpp: Inits with a non-web global.
6) dom/xul/nsXULElement.cpp: Inits with a non-web global.
7) extensions/pref/autoconfig/src/nsJSConfigTriggers.cpp: Inits with a non-web global.
8) ipc/testshell/XPCShellEnvironment.cpp: Inits with a non-web global.
2016-03-18 10:48:38 -04:00
Wes Kocher
ef118686fd
Backed out changeset 057ffdc30f1e (bug 1257355) for build bustage CLOSED TREE
...
MozReview-Commit-ID: 6e53Rrv5mEz
--HG--
rename : dom/workers/WorkerNavigator.cpp => dom/workers/Navigator.cpp
rename : dom/workers/WorkerNavigator.h => dom/workers/Navigator.h
2016-03-17 15:38:39 -07:00
Kyle Huey
bee42d87b9
Bug 1257355: Remove the worker descriptor for WorkerNavigator. r=bz
...
--HG--
rename : dom/workers/Navigator.cpp => dom/workers/WorkerNavigator.cpp
rename : dom/workers/Navigator.h => dom/workers/WorkerNavigator.h
2016-03-17 15:06:14 -07:00
Till Schneidereit
6602beaac6
Bug 1257030 - Add support for supplying preexisting stack instead of capturing one for use as the async parent stack of CallbackObject. r=bz,tromey
2016-03-17 18:07:43 +01:00
Kyle Huey
f00a582ac4
Bug 1257389: Use fallible allocation for content-controlled string in bug 1257389. r=bz
...
--HG--
extra : rebase_source : 904526e9c7ef9a90ac0bb73984af5d95dd8e60fc
2016-03-16 20:04:10 -07:00
Kyle Huey
171ac8799b
Bug 1257042: Remove the worker descriptor for PushEvent and PushMessageData. r=bz
2016-03-16 13:44:24 -07:00
Sebastian Hengst
c213b3dd0c
Backed out changeset 06101225c145 (bug 1257042) for bustage. r=backout on a CLOSED TREE
2016-03-16 20:30:32 +01:00
Kyle Huey
24341cb722
Bug 1257042: Remove the worker descriptor for PushEvent and PushMessageData. r=bz
2016-03-16 11:51:11 -07:00
Kyle Huey
9b06834782
Bug 1257039: Remove the worker descriptor for FileReaderSync. r=bz
2016-03-16 11:51:11 -07:00
Kyle Huey
348998b290
Bug 1257038: Remove the worker descriptor for WorkerLocation. r=bz
...
--HG--
rename : dom/workers/Location.cpp => dom/workers/WorkerLocation.cpp
rename : dom/workers/Location.h => dom/workers/WorkerLocation.h
2016-03-16 11:51:11 -07:00
Nicholas Nethercote
666b54a97d
Bug 1255655 - Const-ify mozilla::dom::ErrorFormatString. r=baku.
...
--HG--
extra : rebase_source : 0f8d74ff1043835c54d68eb4002d72c2f94921cd
2016-03-11 13:05:10 +11:00
Steve Fink
517605b022
Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
...
MozReview-Commit-ID: HCcG2k8Wyb9
--HG--
extra : rebase_source : 732ef6ecc52f0e528d38b8c42e442919eba9b5ae
extra : source : 901b1c651c982ccbf42604231c723d168e1cde69
2015-09-29 13:39:33 -07:00
Steve Fink
57bca06b15
Backed out changeset 901b1c651c98 (bug 1246804)
...
--HG--
extra : rebase_source : d80a34f467275bf74672b87fd09a254b39ee20a1
2016-03-14 21:58:31 -07:00
Steve Fink
2dada4b1a0
Bug 1246804 - Switch to using in-source annotations. Use C++ inheritance information when describing GC types. Add a test suite., r=terrence
...
MozReview-Commit-ID: HCcG2k8Wyb9
--HG--
extra : rebase_source : 4b048fdcb150662c82e1b623e455551cc7281251
2015-09-29 13:39:33 -07:00
Wes Kocher
168746512d
Backed out changeset ee3c99e6f676 (bug 1177488) for LeakSanitizer failures
...
MozReview-Commit-ID: FFfF4u2vOrS
--HG--
extra : rebase_source : 0c7f5e290b388b2f35837a5f757f2d962b973da3
2016-03-14 13:15:21 -07:00
Nathan Froyd
6b6c2a1fcd
Bug 1177488 - use |const char*| for representing async call reasons; r=bz,fitzgen
...
Using a simple |const char*| is more memory-efficient than allocating a
JS string. We still have to allocate the JS string for passing things
into JS, but ideally we will be able to move the point of allocation
much closer to where it's actually needed, rather than indiscriminantly
doing it all the time.
2016-03-08 16:29:25 -05:00
Ehsan Akhgari
38d1ffea4e
Bug 1043562 - Hide the Contacts API from the contexts that lack sufficient privileges, such as Firefox desktop and Android; r=smaug
2016-03-13 15:17:54 -04:00
Boris Zbarsky
20514713f3
Bug 1255718. Remove the unused JSContext argument of AudioBuffer::Create. r=ehsan
2016-03-11 16:43:31 -05:00
Boris Zbarsky
57fc0e989c
Bug 1255709. Simplify the JSContext/GlobalObject handling in ServiceWorkerRegistrationMainThread::GetPushManager a bit. r=bkelly
2016-03-11 16:43:31 -05:00
Boris Zbarsky
ab1c6dbdb0
Bug 1255706 part 2. Remove JSContext argument from WorkerPrivate::Terminate. r=khuey
2016-03-11 16:43:30 -05:00
Sebastian Hengst
7045a40a0f
Backed out changeset 50c03319c341 (bug 1246091) for mochitest failures. r=backout
2016-03-11 20:16:19 +01:00
Andrea Marchesini
c4e620f562
Bug 1246091 - Expose ConsoleEvents to Worker Debugger Actors via Console object directly, r=ejpbruel
2016-03-11 17:59:52 +01:00
Tom Schuster
c1175e55e5
Bug 1253866 - Remove Proxy.create from crash tests. r=bz
2016-03-11 13:32:26 +01:00