Karl Tomlinson
fe63f68885
bug 1328964 address modernize-use-override and modernize-use-equals-default r=baku
...
clang-tidy suggestions in "part 3 - Console API exposed to worklets".
MozReview-Commit-ID: Aab74PCau9m
2018-04-04 19:36:13 +12:00
Andrea Marchesini
3f54b1d29e
Bug 1328964 - part 3 - Console API exposed to worklets r=baku
...
Initial version r=smaug.
Rebased to c616a6fd5e4b by Jan-Ivar Bruaroey <jib@mozilla.com > r=karlt.
Rebased to 83de58ddda20 by Karl Tomlinson <karlt+@karlt.net > r=baku.
MozReview-Commit-ID: G5E5OXydj3a
2018-04-12 16:21:20 +12:00
Andrea Marchesini
5fe176661f
Bug 1328964 - part 2 - WorkletThread r=baku
...
Initial version r=smaug.
Rebased to c616a6fd5e4b by Jan-Ivar Bruaroey <jib@mozilla.com > r=karlt.
Rebased to 83de58ddda20 by Karl Tomlinson <karlt+@karlt.net > r=baku.
MozReview-Commit-ID: Lo8TWtN8qyz
2018-04-12 15:14:48 +12:00
Tom Ritter
211b81b999
Bug 1439657 Remove Time Precision Reduction from Console Timestamps r=baku
...
We currently reduce the precision of timestamps emitted by console.time
in the main context, but not in a Worker. Because web page content cannot
read the content of messages emitted to the console (right?), we don't
actually need to reduce the precision of this data.
MozReview-Commit-ID: EfpIEICy0tX
2018-02-28 15:20:16 -06:00
Andrea Marchesini
68bdc3553c
Bug 1439677 - Console.assert() should print the stack to stdout, r=bgrins
2018-02-22 08:50:02 +01:00
Andrea Marchesini
c3783bdcce
Bug 1439686 - Console API should print logs on stdout when used by chrome code and if browser.dom.window.dump.enabled is true, r=bgrins
2018-02-22 08:49:51 +01:00
Boris Zbarsky
4189744bb6
Bug 1435483 part 16. Switch to using dom::Exception, not nsIException, in C++ code. r=qdot
...
nsIException is builtinclass in idl, so whatever code we had to handle
non-dom::Exception nsIExceptions is dead code.
MozReview-Commit-ID: 6VnqDWt0041
2018-02-05 16:34:05 -05:00
Boris Zbarsky
29a40affb4
Bug 1435483 part 10. Add infallible "asyncCaller" and "caller" getters on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: 8pdMDFHWlVt
2018-02-05 16:34:05 -05:00
Boris Zbarsky
8e91f50dc0
Bug 1435483 part 9. Add an infallible "name" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: ADxO2A8nkel
2018-02-05 16:34:05 -05:00
Boris Zbarsky
bda8243220
Bug 1435483 part 8. Add an infallible "asyncCause" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: KpRyt21PF7W
2018-02-05 16:34:04 -05:00
Boris Zbarsky
418f67b30e
Bug 1435483 part 7. Add an infallible "columnNumber" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: 7VJvDR0qD3G
2018-02-05 16:34:04 -05:00
Boris Zbarsky
c36959b53d
Bug 1435483 part 6. Add an infallible "lineNumber" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: 7aYg9kJhiab
2018-02-05 16:34:04 -05:00
Boris Zbarsky
162fb0041b
Bug 1435483 part 5. Add an infallible "filename" getter on nsIStackFrame. r=qdot
...
MozReview-Commit-ID: D3uuehuDqOB
2018-02-05 16:34:04 -05:00
Andrea Marchesini
ddb4518ad1
Bug 1435174 - Remove the renaming 'using namespace workers', r=bkelly
2018-02-05 19:55:07 +01:00
Boris Zbarsky
3ab7ce89fa
Bug 1434686 part 4. Use IgnoreErrors() in dom/. r=mystor
...
MozReview-Commit-ID: GwVDrTLPTOb
2018-02-01 14:21:14 -05:00
Andrea Marchesini
3e08265e73
Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug
2018-01-31 08:25:30 +01:00
Andrea Marchesini
3c7ea71285
Bug 1433625 - Implement console.createInstance().time("foo") correctly, r=smaug
2018-01-29 13:25:15 +01:00
Andrea Marchesini
b9afce2150
Bug 1431105 - Prefix in Console when used by JSM, r=bgrins, r=smaug
2018-01-17 09:19:36 -08:00
Narcis Beleuzu
f845c13a92
Backed out changeset 056265a8a2ff (bug 1431105) for devtools failures on browser_webconsole_check_stubs_console_api.js. on a CLOSED TREE
2018-01-17 17:52:13 +02:00
Andrea Marchesini
1caddf0f98
Bug 1431105 - Prefix in Console when used by JSM, r=smaug
2018-01-17 16:02:29 +01:00
Andrea Marchesini
223a1091b5
Backed out bug 1430810 - wrong bug ID in the patch
2018-01-17 16:02:03 +01:00
Andrea Marchesini
7451c9dd69
Bug 1430810 - Prefix in Console when used by JSM, r=smaug
2018-01-17 15:59:36 +01:00
Andrea Marchesini
1ae88f4066
Bug 1429174 - Introducing ConsoleUtils for logging messages to console, r=bkelly
2018-01-10 22:06:37 +01:00
Andrea Marchesini
e48b5d58c7
Bug 1428725 - Fix a crash in ConsoleData when StructuredCloneHolder fails to write data, r=smaug
2018-01-10 12:30:53 +01:00
Andrea Marchesini
14c0c6f87b
Bug 1419771 - Introduce DOMPrefs, a thread-safe access to preferences for DOM - part 20 - DevTools enabled, r=asuth
2018-01-08 14:05:06 +01:00
Andrea Marchesini
3b50009834
Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 8 - maxLogLevel, r=smaug
2018-01-04 19:19:44 +01:00
Andrea Marchesini
93b912f901
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
c23137777e
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
5098ee2f3e
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
584de834d1
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
487ee9d164
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
fddede8499
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
98b02a0bb8
Bug 1425463 - Expose Console API to JSM, r=smaug
2017-12-20 14:35:34 +01:00
Nika Layzell
20ee9a4927
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
d8c117bc28
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
7413f21709
Bug 1403866 - No AutoSafeJSContext in Console.cpp, r=bz
2017-09-29 09:20:58 +02:00
Jan de Mooij
7d8800f84b
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
e8236888ee
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.
2017-09-22 14:35:46 +10:00
Alexandre Poirot
d816033b34
Bug 1382377 - Make Console API be a no-op until DevTools are opened at least once. r=baku,jdescottes
...
MozReview-Commit-ID: 4xuzRQKH3Vg
2017-08-08 16:29:34 +02:00
Jan de Mooij
e0d2ac4cc5
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
ceadd34a23
Bug 1388709 - Remove console originAttributes property. r=baku,kmag
...
MozReview-Commit-ID: jwUAKSEgZE
2017-08-08 14:30:44 +02:00
Masatoshi Kimura
acfaf6cffe
Bug 1149830 - Remove nsIStackFrame::language. r=bz,mccr8
...
MozReview-Commit-ID: LxTiLFzNJ9Y
2017-08-03 15:50:07 +09:00
Julian Seward
7d1151d83a
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.
2017-07-24 19:23:52 +02:00
Andrea Marchesini
9e8ae1dfd0
Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm
2017-07-14 08:49:22 +02:00
Mats Palmgren
6d1b9a906f
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
e6dc9e02bc
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
dd5298e9b8
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
3616d7f69a
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
d1c95acede
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
53d2e7b7a8
Bug 1369748 - Parallelise the start of GC marking r=sfink r=smaug
2017-06-09 11:44:15 +01:00