Commit Graph

35 Commits

Author SHA1 Message Date
Kyle Huey
8c5cca136c Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Birunthan Mohanathas
59b969f7f4 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
19bebbc68d Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Andrea Marchesini
42a3125c8f Bug 1006027 - ConsoleAPI uses timestamps in msecs, r=bz 2014-05-12 18:03:55 +01:00
Andrea Marchesini
c143c01f4a Bug 1004814 - console.time/timeEnd work in workers, r=bz 2014-05-06 10:50:12 +01:00
Jon Coppeard
1216544376 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Andrea Marchesini
a6fb3eb7dd Bug 1000947 - Console::Methods must not throw exceptions, r=bz 2014-04-29 07:49:57 +01:00
Boris Zbarsky
3bf69c3c8e Bug 995295 part 2. Make console.trace() faster when the console is closed by avoiding reification of the stack until someone actually asks for it. r=baku 2014-04-15 22:58:44 -04:00
Boris Zbarsky
270f02c703 Bug 995295 part 1. Create console events in the junk scope, not the untrusted content scope. r=baku 2014-04-16 15:09:23 -04:00
Ryan VanderMeulen
74b5f3ee46 Backed out changesets c674dc13ef85 and 0b3a14bbfd81 (bug 995295) for mochitest-2 crashes.
CLOSED TREE
2014-04-16 16:51:07 -04:00
Boris Zbarsky
0a264f2ae0 Bug 995295 part 2. Make console.trace() faster when the console is closed by avoiding reification of the stack until someone actually asks for it. r=baku 2014-04-15 22:58:44 -04:00
Boris Zbarsky
2fae976df2 Bug 995295 part 1. Create console events in the junk scope, not the untrusted content scope. r=baku 2014-04-16 15:09:23 -04:00
Ryan VanderMeulen
409739427a Backed out changesets df5a68af3d30 and 6acacaa75fad (bug 995295) for bustage.
CLOSED TREE
2014-04-16 15:46:18 -04:00
Boris Zbarsky
953a658c3a Bug 995295 part 2. Make console.trace() faster when the console is closed by avoiding reification of the stack until someone actually asks for it. r=baku 2014-04-15 22:58:44 -04:00
Boris Zbarsky
18e042fde3 Bug 995295 part 1. Create console events in the junk scope, not the untrusted content scope. r=baku 2014-04-16 15:09:23 -04:00
Terrence Cole
581c606391 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Boris Zbarsky
c2de4cdff5 Back out revision af250d9dee47 (bug 995295) because it doesn't work for domains that are not on the xul/xbl whitelist. 2014-04-16 00:01:44 -04:00
Boris Zbarsky
db51046224 Bug 995295. Make console.trace() faster when the console is closed by avoiding reification of the stack until someone actually asks for it. r=baku 2014-04-15 22:58:44 -04:00
Terrence Cole
6f2d911fe4 Bug 994413 - Make Gecko use the same value marking semantics as SpiderMonkey; r=jonco,mccr8 2014-04-09 12:42:48 -07:00
Ryan VanderMeulen
cbdabd4cd4 Merge m-c to inbound on a CLOSED TREE. 2014-04-13 22:52:50 -04:00
Mihai Sucan
92397e9fda Bug 920116 - Part 1: Add full stacktrace to console.error/exception/assert() in the Console API. r=bz 2014-04-10 23:02:37 +03:00
Mihai Sucan
e76e62b281 Bug 823097 - Add support for %c style formatting in the web console; r=past,bz 2014-04-10 17:59:21 +03:00
Boris Zbarsky
438ebc3f4e Bug 995047. Change out stack/exception APIs to hand out AString instead of AUTF8String for filename/functionname, so we end up with fewer string conversions in practice. r=smaug 2014-04-11 22:20:40 -04:00
Boris Zbarsky
79dab91ff6 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
d4bd64ee2c Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Andrea Marchesini
80c1a7a5b8 Bug 989665 - Console API should clone objects propertly. Crash fixed, r=bz 2014-04-02 10:09:29 +01:00
Boris Zbarsky
6b002b786e Bug 987112. Remove the redundant and somewhat annoying parentObject argument to dictionary ToObject() methods. r=bholley 2014-03-29 01:45:10 -04:00
Andrea Marchesini
9115b34c9e Bug 986379 - Console crash for a mTimer set to null, r=ehsan 2014-03-21 16:57:54 +00:00
Andrea Marchesini
992ee98fe9 Bug 979109 - termination string check in Console.cpp, r=smaug 2014-03-05 03:22:32 +00:00
Andrea Marchesini
e2d421167e Bug 978522 - Console must use LinkedList instead a nsTArray, r=smaug 2014-03-03 00:20:34 +00:00
Andrea Marchesini
f90b5edc71 Bug 965860 - patch 7 - Console API in workers, r=khuey 2014-02-27 23:39:30 +00:00
Andrea Marchesini
dc67186f99 Bug 965860 - patch 6 - Console.count(), r=khuey 2014-02-27 23:39:24 +00:00
Andrea Marchesini
8a87e5bfed Bug 965860 - patch 5 - Console inner-window-destroyed observer, r=khuey 2014-02-27 23:39:17 +00:00
Andrea Marchesini
edecafae28 Bug 965860 - patch 4 - Console format string, r=khuey 2014-02-27 23:39:12 +00:00
Andrea Marchesini
286e0c9290 Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00