Karl Tomlinson
8000fcef11
Bug 1492011 introduce a separate class to hold main-thread data associated with each Console r=baku
...
This provides that ConsoleRunnable no longer has a reference to Console, which
previously needed to be released through a message to the console thread.
Differential Revision: https://phabricator.services.mozilla.com/D67999
--HG--
extra : moz-landing-system : lando
2020-03-25 01:06:16 +00:00
Karl Tomlinson
7a8ede2509
Bug 1492011 provide ID and Prefix on ConsoleCallData r=baku
...
to remove Console instance access from
PopulateConsoleNotificationInTheTargetScope().
Differential Revision: https://phabricator.services.mozilla.com/D67998
--HG--
extra : moz-landing-system : lando
2020-03-25 00:22:34 +00:00
Karl Tomlinson
876034cbe8
Bug 1492011 change CreateStartTimerValue and CreateLogOrEndTimerValue from instance to class method r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D67997
--HG--
extra : moz-landing-system : lando
2020-03-25 00:51:50 +00:00
Karl Tomlinson
42e23b8bed
Bug 1492011 change CreateCounterOrResetCounterValue from instance method to nonmember function with internal linkage r=baku
...
Depends on D67995
Differential Revision: https://phabricator.services.mozilla.com/D67996
--HG--
extra : moz-landing-system : lando
2020-03-24 09:55:53 +00:00
Karl Tomlinson
74303d90fd
Bug 1492011 change ProcessArguments from instance method to nonmember function with internal linkage r=baku
...
Depends on D67994
Differential Revision: https://phabricator.services.mozilla.com/D67995
--HG--
extra : moz-landing-system : lando
2020-03-24 09:55:41 +00:00
Karl Tomlinson
08d7ab99aa
Bug 1492011 provide group stack parameter to PopulateConsoleNotificationInTheTargetScope() r=baku
...
This will support removal of Console class usage from main thread.
Depends on D67993
Differential Revision: https://phabricator.services.mozilla.com/D67994
--HG--
extra : moz-landing-system : lando
2020-03-24 09:04:00 +00:00
Karl Tomlinson
3ec04c339f
Bug 1492011 change ShouldIncludeStackTrace from instance to class method r=baku
...
Depends on D67991
Differential Revision: https://phabricator.services.mozilla.com/D67992
--HG--
extra : moz-landing-system : lando
2020-03-24 09:01:04 +00:00
Karl Tomlinson
2f45248784
Bug 1492011 Remove Console::mCallDataStoragePending r=baku
...
Now that ConsoleCallData has nothing to trace, mCallDataStoragePending has no
purpose.
Depends on D67989
Differential Revision: https://phabricator.services.mozilla.com/D67990
--HG--
extra : moz-landing-system : lando
2020-03-24 08:58:51 +00:00
Karl Tomlinson
ddd9e31d2f
Bug 1492011 store raw JS arguments on Console separately from ConsoleCallData r=baku
...
so that all ConsoleCallData members can be destroyed on either thread.
ArgumentData::mArguments hold the same references that
ConsoleCallData::mCopiedArguments held previously. The name change is because
the references are merely stored rather than any deep copy of objects.
Differential Revision: https://phabricator.services.mozilla.com/D67989
--HG--
extra : moz-landing-system : lando
2020-03-25 00:47:15 +00:00
Boris Zbarsky
1443d56a82
Bug 1535384 part 3. Eliminate MOZ_CAN_RUN_SCRIPT_BOUNDARY on console callbacks. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D23774
--HG--
extra : moz-landing-system : lando
2019-03-19 04:33:32 +00:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Karl Tomlinson
f2eadaf575
Bug 1492014 get WorkletLoadInfo from global instead of thread in Console r=baku
...
Depends on D6106
Differential Revision: https://phabricator.services.mozilla.com/D6107
2018-09-18 09:29:15 +00:00
Karl Tomlinson
0fdde9c5ed
Bug 1492014 store global as nsIGlobalObject on Console so that this may be used for Worklets also r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D6106
--HG--
extra : amend_source : dc4a241f4f60662c4f0e07730470375dde40aa24
extra : transplant_source : %D4%D5%8B%81b%89z%E9%5D%80o%D6u%9E%3Ep%C8%B5e%E9
2018-09-28 19:10:07 +12:00
Karl Tomlinson
887c196e5b
Bug 1492014 remove unused Console::GetParentObject() r=baku
...
WebIDL bindings do not need this method because console is a namespace.
All methods are static.
Depends on D6104
Differential Revision: https://phabricator.services.mozilla.com/D6105
2018-09-18 09:32:11 +00:00
Narcis Beleuzu
bf9a9a6b50
Backed out 13 changesets (bug 1492014) for multiple failures. a=backout
...
Backed out changeset f629b66a235f (bug 1492014)
Backed out changeset 0a8510efbba3 (bug 1492014)
Backed out changeset 2798792623cf (bug 1492014)
Backed out changeset 8818f5ae0d13 (bug 1492014)
Backed out changeset 0c6b469c9618 (bug 1492014)
Backed out changeset d1654231ffb8 (bug 1492014)
Backed out changeset 5a3967f37d3f (bug 1492014)
Backed out changeset ac095c2fdd8b (bug 1492014)
Backed out changeset 4d1ba44e30ab (bug 1492014)
Backed out changeset e34938a11fab (bug 1492014)
Backed out changeset 3e142ea44140 (bug 1492014)
Backed out changeset b0f2fafdba8c (bug 1492014)
Backed out changeset d77330a1cbfa (bug 1492014)
2018-09-25 16:26:04 +03:00
Karl Tomlinson
1bbf3f704b
Bug 1492014 get WorkletLoadInfo from global instead of thread in Console r=baku
...
Depends on D6106
Differential Revision: https://phabricator.services.mozilla.com/D6107
--HG--
extra : moz-landing-system : lando
2018-09-18 09:29:15 +00:00
Karl Tomlinson
49a69c3443
Bug 1492014 store global as nsIGlobalObject on Console so that this may be used for Worklets also r=baku
...
Depends on D6105
Differential Revision: https://phabricator.services.mozilla.com/D6106
--HG--
extra : moz-landing-system : lando
2018-09-20 11:29:20 +00:00
Karl Tomlinson
b35848bfc0
Bug 1492014 remove unused Console::GetParentObject() r=baku
...
WebIDL bindings do not need this method because console is a namespace.
All methods are static.
Depends on D6104
Differential Revision: https://phabricator.services.mozilla.com/D6105
--HG--
extra : moz-landing-system : lando
2018-09-18 09:32:11 +00:00
Jan de Mooij
4af62d6c9e
Bug 1480678 part 7 - Use CallbackObject's callback global for realm entering in more places. r=bz
2018-08-07 14:06:44 +02:00
Jan de Mooij
f7fb3be6ec
Bug 1466121 part 1 - Rename JSCompartment to JS::Compartment. r=luke
...
--HG--
extra : rebase_source : cd7140ecda54f0caa02a96f562167b3c9a107450
2018-06-07 16:44:40 +02:00
Andrea Marchesini
0519d22370
Bug 1459279 - Console API: Implement console.countReset(), r=bgrins
2018-05-22 11:34:41 +02:00
Andrea Marchesini
325b9045d9
Bug 1458466 - Implement Console.timeLog(optional DOMString label = "default"), r=bgrins
2018-05-15 13:00:49 +02:00
Andrea Marchesini
2e8f885142
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
--HG--
extra : rebase_source : 4c6c9d396debce92299496c86bb6f55fbbb15a8a
2018-04-12 16:21:20 +12:00
Andrea Marchesini
11e5ad9105
Bug 1439677 - Console.assert() should print the stack to stdout, r=bgrins
2018-02-22 08:50:02 +01:00
Andrea Marchesini
370acd6950
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
Andrea Marchesini
b845f28538
Bug 1433625 - Implement console.createInstance().time("foo") correctly, r=smaug
2018-01-29 13:25:15 +01:00
Andrea Marchesini
35717fcad1
Bug 1431105 - Prefix in Console when used by JSM, r=bgrins, r=smaug
2018-01-17 09:19:36 -08:00
Narcis Beleuzu
f0fa7217bd
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
f3bbd3b9dd
Bug 1431105 - Prefix in Console when used by JSM, r=smaug
2018-01-17 16:02:29 +01:00
Andrea Marchesini
856e142ec9
Backed out bug 1430810 - wrong bug ID in the patch
2018-01-17 16:02:03 +01:00
Andrea Marchesini
15d3611b38
Bug 1430810 - Prefix in Console when used by JSM, r=smaug
2018-01-17 15:59:36 +01:00
Andrea Marchesini
c1627aadd9
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
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
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
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
3f9ca03e22
Bug 1323676 - Remove ConsoleTimerStart.started, r=bgrins
2016-12-16 22:42:10 +01:00