Andrea Marchesini
331c19665d
Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 7 - Console active, r=smaug
2018-01-04 19:19:44 +01:00
Andrea Marchesini
761f064f3e
Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 5 - prefix, r=smaug, r=bgrins
2018-01-04 19:19:44 +01:00
Andrea Marchesini
64da136229
Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 4 - dump function, r=smaug, r=bgrins
2018-01-04 19:19:44 +01:00
Andrea Marchesini
38e69bdfbb
Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 3 - custom innerID, r=smaug
2018-01-04 19:19:43 +01:00
Andrea Marchesini
3137ff8bcc
Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 2 - consoleID in ConsoleEvent, r=smaug, r=bgrins
2018-01-04 19:19:43 +01:00
Andrea Marchesini
d820259403
Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 1 - Console.createInstance(), r=smaug
2018-01-04 19:19:43 +01:00
Andrea Marchesini
797ef68515
Bug 1425463 - Expose Console API to JSM, r=smaug
2017-12-20 14:35:34 +01:00
Nika Layzell
f1ac9bf744
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Andrea Marchesini
bb16593bd2
Bug 1403866 - No AutoSafeJSContext in Console.cpp, r=bz
2017-09-29 09:20:58 +02:00
Jan de Mooij
dbca189324
Bug 1153592 part 2 - Remove JSPROP_SHARED; ensure accessor props don't have slots. r=evilpie
2017-09-26 12:26:50 +02:00
Nicholas Nethercote
e3c9cbb969
Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
...
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.
--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Alexandre Poirot
3675c8a0f9
Bug 1382377 - Make Console API be a no-op until DevTools are opened at least once. r=baku,jdescottes
...
MozReview-Commit-ID: 4xuzRQKH3Vg
--HG--
extra : rebase_source : f388a7222df314c988c3af20afb59684cc1045e5
2017-08-08 16:29:34 +02:00
Jan de Mooij
bc31f1ee31
Bug 1394835 part 1 - Spit JS_DefineProperty* APIs in separate data/accessor overloads. r=evilpie,bz
2017-08-30 15:35:06 +02:00
Alexandre Poirot
f96db08ae3
Bug 1388709
- Remove console originAttributes
property. r=baku,kmag
...
MozReview-Commit-ID: jwUAKSEgZE
--HG--
extra : rebase_source : e83b048165998e750f7c169a9b8b8b9d700a3cf8
2017-08-08 14:30:44 +02:00
Masatoshi Kimura
49e04cc095
Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
...
MozReview-Commit-ID: LxTiLFzNJ9Y
--HG--
extra : rebase_source : 98ca14aa59a62309dcbe0c9ed3e961c730ff9db9
2017-08-03 15:50:07 +09:00
Julian Seward
408d24da56
Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm.
...
This patch replaces four functions of the name AssignWithConversion which
are essentially wrappers around CopyASCIItoUTF16 and LossyCopyUTF16toASCII
with direct calls to the latter two functions. The replaced functions are:
void nsCString::AssignWithConversion( const nsAString& aData )
void nsString::AssignWithConversion( const nsACString& aData )
void nsTString_CharT::AssignWithConversion(
const incompatible_char_type* aData,
int32_t aLength = -1);
The last of the three exists inside the double-included nsTString* world and
so describes two functions, giving four in total.
This has two advantages:
* it removes code
* at the call points, it makes clear (from the replacement name) which
conversion is being carried out. The generic name "AssignWithConversion"
doesn't make that obvious -- one had to infer it from the types.
The patch also removes two commented out lines from
editor/composer/nsComposerCommands.cpp, that appear to be related. They are
at top level, where they would never have compiled. They look like
leftovers from some previous change.
--HG--
extra : rebase_source : fb47bf450771c3c9ee3341dd14520f5da69ec4f5
2017-07-24 19:23:52 +02:00
Andrea Marchesini
50f9ea47a3
Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm
2017-07-14 08:49:22 +02:00
Mats Palmgren
9542d00e58
Bug 1376498 part 2 - Use plain Remove(key) in some places instead of Lookup(key).Remove() for simplicity. r=froydnj
...
MozReview-Commit-ID: 7GlCL1jyGAz
2017-07-05 02:01:44 +02:00
Bevis Tseng
d1637b9c5a
Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
...
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Mats Palmgren
5b7c81e34b
Bug 1372317 part 2 - Replace LookupRemoveIf() calls with Lookup() + entry.Remove() where needed. r=froydnj
...
MozReview-Commit-ID: AoRNdbzh66c
2017-06-18 17:07:54 +02:00
Mats Palmgren
95d8ecc7bf
Bug 1372323 - Use LookupForAdd instead of Get+Put to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: GWsRF1vSLXx
2017-06-14 17:27:25 +02:00
Mats Palmgren
45166146e9
Bug 1372274 - Use LookupForAdd instead of Get+Put, and LookupRemoveIf instead of Get+Remove, to avoid unnecessary hashtable lookups. r=froydnj
...
MozReview-Commit-ID: Fo23d82qpaP
2017-06-14 17:27:25 +02:00
Jon Coppeard
0924a2d29c
Bug 1369748 - Parallelise the start of GC marking r=sfink r=smaug
2017-06-09 11:44:15 +01:00
Andrea Marchesini
31b48170ed
Bug 1368296 - Renaming WorkerProxyToMainThreadRunnable::RunBackOnWorkerThread to RunBackOnWorkerThreadForCleanup and improving the description for this method, r=asuth
2017-06-02 11:05:27 +02:00
Andrea Marchesini
cb157a61e8
Bug 1363307 - Console.timeEnd(label) should warn if 'label' in an unknwon timer, r=bgrins
2017-05-11 14:36:12 -07:00
Andrea Marchesini
2f43217a11
Bug 1363288 - Console.time() prints a warning if used twice with the same label, r=bgrins
2017-05-11 14:36:09 -07:00
btian
bc058622e6
Bug 1351795
- part 2: Remove console.markTimeline. r=baku
...
MozReview-Commit-ID: EmbscFp9oD4
--HG--
extra : rebase_source : 3f620c05faf82731d384dfca369db62ae8eb871e
2017-05-09 15:34:18 +08:00
Andrea Marchesini
1981f67eb3
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
f0d6de60d7
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
...
--HG--
rename : dom/script/ScriptSettings.cpp => dom/base/ScriptSettings.cpp
rename : dom/script/ScriptSettings.h => dom/base/ScriptSettings.h
rename : dom/script/nsIScriptElement.h => dom/base/nsIScriptElement.h
rename : dom/script/nsIScriptLoaderObserver.idl => dom/base/nsIScriptLoaderObserver.idl
rename : dom/script/ScriptElement.cpp => dom/base/nsScriptElement.cpp
rename : dom/script/ScriptElement.h => dom/base/nsScriptElement.h
rename : dom/script/ScriptLoader.cpp => dom/base/nsScriptLoader.cpp
rename : dom/script/ScriptLoader.h => dom/base/nsScriptLoader.h
2017-05-08 09:54:38 +02:00
Andrea Marchesini
7a4ef797cb
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
--HG--
rename : dom/base/nsScriptElement.cpp => dom/script/ScriptElement.cpp
rename : dom/base/nsScriptElement.h => dom/script/ScriptElement.h
rename : dom/base/nsScriptLoader.cpp => dom/script/ScriptLoader.cpp
rename : dom/base/nsScriptLoader.h => dom/script/ScriptLoader.h
rename : dom/base/ScriptSettings.cpp => dom/script/ScriptSettings.cpp
rename : dom/base/ScriptSettings.h => dom/script/ScriptSettings.h
rename : dom/base/nsIScriptElement.h => dom/script/nsIScriptElement.h
rename : dom/base/nsIScriptLoaderObserver.idl => dom/script/nsIScriptLoaderObserver.idl
2017-05-08 08:24:22 +02:00
Nathan Froyd
5f0417d309
Bug 1361511 - change ownership assertion mechanism for various DOM classes; r=baku
...
The declarations of their refcounting methods already includes an owning
thread, so let's just piggyback on top of that to assert their owning
thread, rather than having separate fields and tests.
2017-05-03 11:48:54 -04:00
Andrea Marchesini
81bc08c5d9
Bug 1357473 - Update Console to the latest spec - part 6 - Console.count(), r=bgrins
2017-04-20 13:52:41 +02:00
Andrea Marchesini
62832535e3
Bug 1357473 - Update Console to the latest spec - part 5 - Console.time(), r=bgrins r=smaug
2017-04-20 13:52:31 +02:00
Andrea Marchesini
309383c5b0
Bug 1357473 - Update Console to the latest spec - part 4 - Console.trace(), r=bgrins
2017-04-20 13:52:24 +02:00
Andrea Marchesini
9a89dabb3e
Bug 1357473 - Update Console to the latest spec - part 3 - Console.groupEnd(), r=bgrins, r=nchevobbe
2017-04-18 10:04:00 +02:00
Andrea Marchesini
5c55c3b994
Bug 1357473 - Update Console to the latest spec - part 2 - Console.clear(), r=bgrins
2017-04-20 13:50:13 +02:00
Tom Tromey
d9a58b20b7
Bug 1346326 - implement new console.count semantics; r=baku
...
Bug 1346326 points out that the console.count spec has changed to
void count(optional DOMString label = "default");
This patch implements the same behavior, but does not change the webidl,
on the theory that perhaps something relies on the current "any..."
type.
MozReview-Commit-ID: 9RQKAZ4AVtT
2017-04-07 10:04:10 -06:00
Andrea Marchesini
dddaf22902
Bug 1357503 - Some additional CX exception checks in Console API code, r=smaug
2017-04-18 22:22:55 +02:00
nchevobbe
e7354910af
Bug 1088900 - Parse console.group/groupCollapse for custom styling. r=baku
...
Process the arguments of "MethodGroup" and "MethodGroupCollapsed"
Use the result of ProcessArguments to compute the groupName so we can get
rid of the "%c" parts.
MozReview-Commit-ID: 5B2jqG5RoRj
--HG--
extra : rebase_source : 256ef1ffc80157751cb202cc163cb2ca42c7397a
2017-04-11 15:14:40 +02:00
Ben Kelly
a68b3b11fd
Bug 1350433 Expose WorkerPrivate::ServiceWorkerScope() instead of using WorkerName() all over the place. r=asuth
2017-03-24 19:56:48 -04:00
Kris Maglione
85333437e5
Bug 1314361 - Part 3: Stop using origin attributes for add-on ID in console filtering. r=baku
2017-02-26 13:13:45 -08:00
Kris Maglione
729b7a2019
Bug 1273251: Part 3 - Allow CallbackObject to contain a null callable. r=peterv
...
MozReview-Commit-ID: FCXVHouhG3I
--HG--
extra : rebase_source : f3e9325559d40bcb4017ec2505f435275d4fea7f
2016-11-14 21:25:37 -08:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Olli Pettay
0364dbc792
Bug 1326507, remove NS_IMPL_CYCLE_COLLECTION_TRAVERSE_SCRIPT_OBJECTS, r=mccr8
...
--HG--
extra : rebase_source : 3ae1207308de120b7299b13ecaa95dd1612b3459
2017-01-03 21:47:55 +02:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Andrea Marchesini
3f9ca03e22
Bug 1323676 - Remove ConsoleTimerStart.started, r=bgrins
2016-12-16 22:42:10 +01:00
Andrea Marchesini
769ca2e705
Bug 1323781 - Console API should use OriginAttributes instead a privateBrowsing boolean, r=ehsan, r=smaug
2016-12-16 22:08:31 +01:00
Carsten "Tomcat" Book
6fce6188df
Backed out changeset 7c18fbb292d1 (bug 1323781) for assertion failures
...
--HG--
extra : rebase_source : 0d9518d855e463eb85e262452e9a957716735f12
2016-12-16 11:57:24 +01:00
Andrea Marchesini
553b437a8c
Bug 1323781 - Console API should use OriginAttributes instead a privateBrowsing boolean, r=ehsan
2016-12-16 09:23:27 +01:00