Commit Graph

41 Commits

Author SHA1 Message Date
Jan de Mooij
f3876da607 Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Bob Owen
2aaffc99ec Bug 1025476 - Part 1: Add compulsory Init functions to AutoJSAPI. r=bholley 2014-06-19 08:21:14 +01:00
Andrea Marchesini
7b073b6210 Bug 1025741 - Null-check for GetPerfomance in Console API, r=bz 2014-06-17 08:26:23 +01:00
Bob Owen
299d695d77 Bug 1017030 - Part 2: Replace AutoPushJSContext in ConsoleProfileRunnable::RunConsole. r=bholley 2014-06-11 17:18:20 +01:00
Bob Owen
3ca283c7ed Bug 1017030 - Part 1: Replace AutoPushJSContext in ConsoleCallDataRunnable::RunConsole. r=bholley 2014-05-30 10:38:30 +01:00
Olli Pettay
9233bc118d Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Kyle Huey
941a5ee91b Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan 2014-05-23 12:53:17 -07:00
Birunthan Mohanathas
f59f0e1fd0 Bug 869836 - Part 8: Use Append('c') instead of Append("c"). r=ehsan 2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
41bdca1ff6 Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...)). r=ehsan 2014-05-22 06:48:50 +03:00
Andrea Marchesini
23c4216ab7 Bug 1006027 - ConsoleAPI uses timestamps in msecs, r=bz 2014-05-12 18:03:55 +01:00
Andrea Marchesini
b7694df160 Bug 1004814 - console.time/timeEnd work in workers, r=bz 2014-05-06 10:50:12 +01:00
Jon Coppeard
e52714cca7 Bug 959787 - Handlify remaining JS APIs r=terrence r=bz r=bholley 2014-04-30 10:10:33 +01:00
Andrea Marchesini
0515187f53 Bug 1000947 - Console::Methods must not throw exceptions, r=bz 2014-04-29 07:49:57 +01:00
Boris Zbarsky
a08a5298ba 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
b64cd2ae87 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
4fef62b59a Backed out changesets c674dc13ef85 and 0b3a14bbfd81 (bug 995295) for mochitest-2 crashes.
CLOSED TREE
2014-04-16 16:51:07 -04:00
Boris Zbarsky
d9761bd104 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
e88a7e6d2c 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
a2621df61e Backed out changesets df5a68af3d30 and 6acacaa75fad (bug 995295) for bustage.
CLOSED TREE
2014-04-16 15:46:18 -04:00
Boris Zbarsky
c1e97f49d6 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
6e3a770259 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
21e586caba Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Boris Zbarsky
ec94575519 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
52b928dd4f 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
135db24e96 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
f6ce616a14 Merge m-c to inbound on a CLOSED TREE. 2014-04-13 22:52:50 -04:00
Mihai Sucan
0d1a05daeb 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
1a68c96366 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
34e0756678 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
fdbb455d4f 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
3f26a82832 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
17cdb0a150 Bug 989665 - Console API should clone objects propertly. Crash fixed, r=bz 2014-04-02 10:09:29 +01:00
Boris Zbarsky
9553dba3d6 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
2398d14e7c Bug 986379 - Console crash for a mTimer set to null, r=ehsan 2014-03-21 16:57:54 +00:00
Andrea Marchesini
66a700605d Bug 979109 - termination string check in Console.cpp, r=smaug 2014-03-05 03:22:32 +00:00
Andrea Marchesini
0a23a01816 Bug 978522 - Console must use LinkedList instead a nsTArray, r=smaug 2014-03-03 00:20:34 +00:00
Andrea Marchesini
08f060ed27 Bug 965860 - patch 7 - Console API in workers, r=khuey 2014-02-27 23:39:30 +00:00
Andrea Marchesini
282559d491 Bug 965860 - patch 6 - Console.count(), r=khuey 2014-02-27 23:39:24 +00:00
Andrea Marchesini
3ef902f559 Bug 965860 - patch 5 - Console inner-window-destroyed observer, r=khuey 2014-02-27 23:39:17 +00:00
Andrea Marchesini
5d4853fca9 Bug 965860 - patch 4 - Console format string, r=khuey 2014-02-27 23:39:12 +00:00
Andrea Marchesini
004b2f741b Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00