Граф коммитов

50 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead 911776d674 Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.

Differential Revision: https://phabricator.services.mozilla.com/D27458

--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead 0d460e3432 Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky
This is split from the previous changeset since if we include dom/ the file size is too
large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

Differential Revision: https://phabricator.services.mozilla.com/D27457

--HG--
extra : moz-landing-system : lando
2019-04-16 03:53:28 +00:00
Brian Grinstead 6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

Differential Revision: https://phabricator.services.mozilla.com/D26812

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Eden Chuang 72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Cosmin Sabou 78fc71e3c3 Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE 2019-03-26 20:27:55 +02:00
Eden Chuang 5e4df764d9 Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

Differential Revision: https://phabricator.services.mozilla.com/D23330

--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
Myk Melez 25349d2601 Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D17526

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:25 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Alex Kong 1a4b7d1b8a Bug 1508988 - Enable ESLint for dom/abort/, dom/asmjscache/, dom/battery/, dom/broadcastchannel/ and dom/console/ (manual changes). r=Standard8,nika
Differential Revision: https://phabricator.services.mozilla.com/D14132

--HG--
extra : moz-landing-system : lando
2018-12-19 22:39:34 +00:00
Alex Kong a164593e05 Bug 1508988 - Enable ESLint for dom/abort/, dom/asmjscache/, dom/battery/, dom/broadcastchannel/ and dom/console/ (automatic changes). r=Standard8,nika
Differential Revision: https://phabricator.services.mozilla.com/D14131

--HG--
extra : moz-landing-system : lando
2018-12-19 22:38:44 +00:00
Mark Banner a26105ff45 Bug 1501662 - Add more .eslintrc.js files for test directories (dom, modules, netwerk and parser). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D9661

--HG--
extra : moz-landing-system : lando
2018-10-24 19:11:17 +00:00
Joel Maher 50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Andrea Marchesini 21437f85f8 Bug 1463614 - Fix intermittent failure in test_timer.html, r=me 2018-05-29 13:09:00 +02:00
Andrea Marchesini aa542ebeee Bug 1461854 - Fixing dom/console/tests/test_timer.html allowing duration to be >= 0, r=me 2018-05-24 15:32:00 +02:00
Andrea Marchesini 7fd05a68da Bug 1461854 - dom/console/tests/test_timer.html must disable reduce-timer-precision, r=tjr 2018-05-23 16:06:31 +02:00
Andrea Marchesini 0519d22370 Bug 1459279 - Console API: Implement console.countReset(), r=bgrins 2018-05-22 11:34:41 +02:00
Andrea Marchesini 625539c9d7 Bug 1458466 - Implement Console.timeLog(optional DOMString label = "default") - fixed an intermittent failure, r=me 2018-05-15 18:11:44 +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 a90cff1ced Bug 1447210 - Upper-case log levels for Console.createInstance(), r=bgrins 2018-03-24 08:21:01 +01:00
Florian Quèze 682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08: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 bae5308aff Bug 1429174 - Introducing ConsoleUtils for logging messages to console - message level, r=bkelly 2018-01-10 22:06:38 +01:00
Andrea Marchesini 7e519cc392 Bug 1429174 - Introducing ConsoleUtils for logging messages to console - tests, r=bkelly 2018-01-10 22:06:37 +01:00
Andrea Marchesini 8dcc9b3e38 Bug 1425574 - Fill the feature gap between Console.jsm and Console API - part 9 - maxLogLevel pref, r=smaug, r=bgrins 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
Florian Quèze 032c961e0a Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs. 2017-12-21 11:08:17 +01:00
Andrea Marchesini 4d402775e1 Bug 1425463 - Expose Console API to JSM - xpcshell test, r=smaug 2017-12-20 14:35:34 +01:00
Andrea Marchesini 797ef68515 Bug 1425463 - Expose Console API to JSM, r=smaug 2017-12-20 14:35:34 +01:00
Alexandre Poirot f67740b33e Bug 1382377 - Test console against devtools.enabled pref. r=baku
MozReview-Commit-ID: GEayP1MP8PV

--HG--
extra : rebase_source : 754ff2f10d96939f1c0f578d74a3016db26504f4
2017-08-28 19:22:58 +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
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 77dc2c4eef Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/console. r=RyanVM
MozReview-Commit-ID: COPyxutfGaR

--HG--
extra : rebase_source : 5309bbf4e4d848b3cea3f880fb8ba6d55171554d
2016-11-05 11:29:15 +01:00
Andrea Marchesini 501b078b36 Bug 1278799 - Moving Console API into dom/console, r=smaug
--HG--
rename : dom/base/Console.cpp => dom/console/Console.cpp
rename : dom/base/Console.h => dom/console/Console.h
rename : dom/base/ConsoleAPI.manifest => dom/console/ConsoleAPI.manifest
rename : dom/base/ConsoleAPIStorage.js => dom/console/ConsoleAPIStorage.js
rename : dom/base/ConsoleReportCollector.cpp => dom/console/ConsoleReportCollector.cpp
rename : dom/base/ConsoleReportCollector.h => dom/console/ConsoleReportCollector.h
rename : dom/base/nsIConsoleAPIStorage.idl => dom/console/nsIConsoleAPIStorage.idl
rename : dom/base/nsIConsoleReportCollector.h => dom/console/nsIConsoleReportCollector.h
rename : dom/base/test/test_bug659625.html => dom/console/tests/test_bug659625.html
rename : dom/base/test/test_bug978522.html => dom/console/tests/test_bug978522.html
rename : dom/base/test/test_bug979109.html => dom/console/tests/test_bug979109.html
rename : dom/base/test/test_bug989665.html => dom/console/tests/test_bug989665.html
rename : dom/base/test/test_console.xul => dom/console/tests/test_console.xul
rename : dom/base/test/test_consoleEmptyStack.html => dom/console/tests/test_consoleEmptyStack.html
rename : dom/base/test/test_console_binding.html => dom/console/tests/test_console_binding.html
rename : dom/base/test/test_console_proto.html => dom/console/tests/test_console_proto.html
2016-06-08 14:46:50 +02:00