Commit Graph
1322 Commits
Author SHA1 Message Date
Oriol Brufau aff1ee3fe1 Bug 1445808 - Remove unsafe CPOWs in Console tests r=jryans
MozReview-Commit-ID: LMVB3ErUZnZ
2018-03-21 01:53:49 +01:00
Jan Odvarko 749d1d6d1f Bug 1223726 - Customize response body interception; r=ochameau
* Introduce pref for custom response body limit
* Introduce pref for saving request/response bodies

MozReview-Commit-ID: 7DrAU1did1a
2018-03-12 08:10:39 +01:00
Mark Banner 66185e700e Bug 1443661 - Remove unnecessary ESLint import-globals-from directives from devtools/client/webconsole/new-console-output/test/mochitest. r=nchevobbe
MozReview-Commit-ID: IWHDVjZHb9z
2018-03-06 23:39:45 +00:00
Mark Banner 3fa2dbe9ae Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe
MozReview-Commit-ID: 39cCKczUMQI
2018-03-06 22:50:58 +00:00
Csoregi Natalia a5a008c3d6 Backed out 2 changesets (bug 1443661) for ESlint failure on test_websocket-server.html:50. CLOSED TREE
Backed out changeset 57e2de4f048e (bug 1443661)
Backed out changeset 4e5fb7ed54de (bug 1443661)
2018-03-21 09:35:16 +02:00
Mark Banner 64c7661ae7 Bug 1443661 - Remove unnecessary ESLint import-globals-from directives from devtools/client/webconsole/new-console-output/test/mochitest. r=nchevobbe
MozReview-Commit-ID: IWHDVjZHb9z
2018-03-06 23:39:45 +00:00
Mark Banner 9da2a9abd8 Bug 1443661 - Enable ESLint rule no-undef for test files in devtools/client/webconsole/new-console-output/. r=nchevobbe
MozReview-Commit-ID: 39cCKczUMQI
2018-03-06 22:50:58 +00:00
Julian Descottes 60b399b826 Bug 1444926 - Move devtools/shim to devtools/startup;r=ochameau
MozReview-Commit-ID: K9WuJuTdYHS
2018-03-12 14:41:48 +01:00
Margareta Eliza Balazs 0d63b9272e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-20 19:00:25 +02:00
Julian Descottes 0a049a8375 Bug 1447154 - Use AppConstants.jsm instead of devtools/shared/system to get constants;r=jryans,nchevobbe
devtools/shared/system is a complex module retrieving details device/platform
information. Modules that only need to get AppConstants should not pull down
such a complex dependency.

MozReview-Commit-ID: 2FmCO8nBSpP
2018-03-19 22:18:20 +01:00
Emilio Cobos Álvarez 32772a86a4 Bug 1446954: Cleanup !stylo and styloVsGecko test expectations. r=xidorn
MozReview-Commit-ID: J2glxiCWBVn
2018-03-20 11:29:51 +01:00
Brian Grinstead 99a1a73761 Bug 1439616 - Enable the new frontend in the Browser Console in nightly builds;r=nchevobbe
MozReview-Commit-ID: GQsNstY9jFB
2018-02-20 13:19:22 -08:00
arthur.iakab 4946866a96 Merge mozilla-central to autoland 2018-03-19 12:49:22 +02:00
Tooru Fujisawa f415c74b57 Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Nicolas Chevobbe b30ce20426 Bug 1440388 - Fix failing test with new Reps bundle; r=Honza.
MozReview-Commit-ID: HHfVwnDHBKH
2018-03-09 15:31:50 +01:00
Nicolas Chevobbe cabb63d8e5 Bug 1382581 - Adapt webconsole code to the EventEmitter change in devtools/client/framework; r=bgrins.
MozReview-Commit-ID: 4GELwA2Nf4q
2018-03-14 18:17:07 +01:00
Nicolas Chevobbe 982463b59b Bug 1403188 - Enable browser_console_webconsole_private_browsing.js in new console frontend; r=jdescottes.
MozReview-Commit-ID: EvFyvzpCUH7
2018-02-13 14:39:26 +01:00
J. Ryan Stinnett a57426cc8b Bug 1446064 - Clean up webconsole-connection-proxy.js. r=nchevobbe
MozReview-Commit-ID: LWRuJQJgkrm
2018-03-15 13:04:14 -05:00
J. Ryan Stinnett c3fe06279e Bug 1445776 - Add development restart shortcut to Browser Console. r=bgrins
Adds the browser restart shortcut (Cmd / Ctrl + Alt + R) to the Browser Console
window.  Only enabled for local development builds.

MozReview-Commit-ID: 2oTT55TYCx6
2018-03-14 17:02:07 -05:00
Kris Maglione c52d401bb4 Bug 1445551: Part 1b - Whitelist unsafe CPOW use in existing tests. r=mconley
MozReview-Commit-ID: 4ojwvjw9XGT
2018-03-14 14:35:05 -07:00
Michael Ratcliffe ec7ed48b6b Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Dorel Luca 3533489bdf Backed out changeset ae1924aff61b (bug 1443457) as requested by developer 2018-03-14 12:35:38 +02:00
Michael Ratcliffe b37dad2dfb Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Coroiu Cristina a1647fc116 Backed out changeset 2c8540f7800f (bug 1443457) for ESlint failure at /builds/worker/checkouts/gecko/devtools/server/tests/mochitest/test_getProcess.html 2018-03-14 11:41:12 +02:00
Michael Ratcliffe 433c9dfe42 Bug 1443457 - Stop referencing the addon-sdk loader in devtools code r=jdescottes
MozReview-Commit-ID: 7lwCG8JT7cV
2018-03-09 15:36:45 +00:00
Alexandre Poirot 22e91d7acd Bug 1440321 - Convert Task.jsm to async/await in devtools/client. r=jryans
MozReview-Commit-ID: HaGOC5cn3JD
2018-03-12 19:46:35 -05:00
J. Ryan Stinnett 8d1c817851 Bug 1443081 - Apply spacing via eslint --fix for DevTools. r=jdescottes
MozReview-Commit-ID: 2RVNt140Zte
2018-03-12 13:44:41 -05:00
Cosmin Sabou ac66216e42 Backed out 3 changesets (bug 1223726) for mochitest devtools failures on devtools/client/styleeditor/test/browser_styleeditor_fetch-from-netmonitor.js
Backed out changeset 1a09e6c3c0a3 (bug 1223726)
Backed out changeset 41da2897f549 (bug 1223726)
Backed out changeset fa0a1e88a238 (bug 1223726)
2018-03-12 14:51:37 +02:00
Jan Odvarko 07e4f2d1c4 Bug 1223726 - Customize response body interception; r=ochameau
* Introduce pref for custom response body limit
* Introduce pref for saving request/response bodies

MozReview-Commit-ID: 7DrAU1did1a
2018-03-12 08:10:39 +01:00
Nicolas Chevobbe 58f2c413c7 Bug 1441817 - Fix Error when console.count packet is incomplete; r=miker.
This currently happens in the browser console. The packet we receive
for console.count calls does not have the counter property which we
usually consume to display the counter label and data.
Here we prevent adding such messages, before a follow-up fix which should
be about adding those information in the packet.
For the record, it was not working either in the old frontend.

MozReview-Commit-ID: 1SiFgAHIziI
2018-02-28 15:51:04 +01:00
Bogdan Tara 099f21feaf Backed out 2 changesets (bug 1223726) for failing devtools/client/styleeditor/test/browser_styleeditor_fetch-from-netmonitor.js a=backout on a CLOSED TREE
Backed out changeset a95b0b28ca16 (bug 1223726)
Backed out changeset 6adb35cc708e (bug 1223726)
2018-03-10 02:44:19 +02:00
J. Ryan Stinnett a7231a768e Bug 1442312 - Move allowed rejections into specific tests they apply to. r=ochameau
By moving only the rejections that actually still apply into each test and out
of the shared head file, we are much more likely to notice new instances and
catch them when writing and editing tests in the future.

Bug 1018184 can be used to actually resolve these issues.

MozReview-Commit-ID: Qb71PsuutB
2018-03-08 18:14:52 -06:00
Jan Odvarko ce5330fe8a Bug 1223726 - Customize response body interception; r=ochameau
* Introduce pref for custom response body limit
* Introduce pref for saving request/response bodies

MozReview-Commit-ID: 4DV6QUzCTyP
2018-03-09 17:09:42 +01:00
Tim Xie 2f47f9cebd Bug 1415211 - Realigned XHR label, set property margin-inline-start of XHR to 0; r=nchevobbe
MozReview-Commit-ID: 3K2jqmr5OCJ
2018-03-09 02:59:19 -05:00
Nicolas Chevobbe bbc5b9d4df Bug 1307928 - Add mocha tests for NewConsoleOutputWrapper queues; r=bgrins.
This required to add a couple new cases for require-hacker.

MozReview-Commit-ID: 9Qon1PNjdF7
2018-03-06 16:53:05 +01:00
Nicolas Chevobbe d873564823 Bug 1307928 - Add mocha tests for private messages; r=bgrins.
Those ensures that we do handle them properly and that the state
is cleaned up as expected when they are removed.

MozReview-Commit-ID: 9PNuaHcFxSv
2018-02-28 12:15:41 +01:00
Nicolas Chevobbe 4f0666eed5 Bug 1307928 - Remove private messages on lastPrivateContextExited event; r=bgrins.
Add a redux action to handle the event and clear private messages from the store.
A new `cleanState` function was extracted from `limitTopLevelMessage` so we can
use it in this case.

MozReview-Commit-ID: Hp6o9iZAbZ7
2018-02-28 12:14:26 +01:00
Nicolas Chevobbe 62b718dc63 Bug 1307928 - Add a "private" property to the ConsoleMessage type; r=bgrins.
Populate this from the different packet types and update stubs.

MozReview-Commit-ID: 4rrZBRdtOa4
2018-02-28 12:11:01 +01:00
Emilio Cobos Álvarez 8b5df725d4 Bug 1444036: Remove trivial uses of getPropertyCSSValue. rs=johannh
getPropertyCSSValue("foo").cssText is the same as getPropertyValue("foo").

MozReview-Commit-ID: HxdSr4749hi
2018-03-08 12:39:36 +01:00
J. Ryan Stinnett f0dc8a8b60 Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs
2018-03-06 14:14:55 -06:00
J. Ryan Stinnett 230370edaf Bug 1436187 - Centralize frame-script-utils loading via shared-head. r=bgrins
Use `loadFrameScriptUtils` from shared-head as a central utility for loading the
frame script utils helper.  This means less stray references to the utils file's
path across our tests.

As part of this, I went ahead and converted Canvas Debugger, Shader Editor, and
Web Audio Editor to shared-head, as that seemed like the best path to reduce
duplication.

(I left one extra path reference in profiler-mm-utils.js as-is, since it's a
module, so shared-head is not easily usable there.)

MozReview-Commit-ID: AKbZt8Jo0GM
2018-03-05 16:31:49 -06:00
J. Ryan Stinnett aa067adb85 Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl
2018-03-02 19:14:05 -06:00
Cosmin Sabou 111a73f847 Backed out 4 changesets (bug 1436187) for mochitest devtools failures at browser_se_editors-error-gutter.js on a CLOSED TREE
Backed out changeset 253f74e28723 (bug 1436187)
Backed out changeset 9875771c9967 (bug 1436187)
Backed out changeset b2d808aa8c2e (bug 1436187)
Backed out changeset e747480f3cd2 (bug 1436187)
2018-03-07 22:04:35 +02:00
J. Ryan Stinnett 5d52b9b552 Bug 1436187 - Move frame-script-utils.js to shared/test. r=bgrins
Move frame-script-utils.js into shared/test since it is a test only file.  In
addition, it's removed from jar.mn so it won't be part the file we ship.  Test
manifests can use the absolute path syntax to make it accessible in new
directories.

MozReview-Commit-ID: 5sKYvv2rsJs
2018-03-06 14:14:55 -06:00
J. Ryan Stinnett 702bf36b8f Bug 1436187 - Centralize frame-script-utils loading via shared-head. r=bgrins
Use `loadFrameScriptUtils` from shared-head as a central utility for loading the
frame script utils helper.  This means less stray references to the utils file's
path across our tests.

As part of this, I went ahead and converted Canvas Debugger, Shader Editor, and
Web Audio Editor to shared-head, as that seemed like the best path to reduce
duplication.

(I left one extra path reference in profiler-mm-utils.js as-is, since it's a
module, so shared-head is not easily usable there.)

MozReview-Commit-ID: AKbZt8Jo0GM
2018-03-05 16:31:49 -06:00
J. Ryan Stinnett 039b00fd39 Bug 1436187 - Move existing shared head files to devtools/client/shared. r=bgrins
Move shared-head.js and shared-redux-head.js into shared.

MozReview-Commit-ID: 5NUxcl9gkLl
2018-03-02 19:14:05 -06:00
yulia bd093feca1 Bug 1382605 - Fix 6 tests failures on devtools/client/shared due the EventEmitter refactoring r=nchevobbe
MozReview-Commit-ID: EaFYqaY2M79
2018-03-07 10:17:03 +01:00
Boris Zbarsky 5beec567c4 Bug 1443393. Stop trying to import light-theme.css from URLs that don't return anything useful. r=jdescottes
MozReview-Commit-ID: BZrZMHWGN3X
2018-03-06 14:45:27 -05:00
Michael Ratcliffe 153282dfd7 Bug 1437807 - Enable browser_console_addonsdk_loader_exception.js in new frontend r=jdescottes
MozReview-Commit-ID: 4vGsRWzuFpn
2018-03-01 18:12:19 +00:00
Michael Ratcliffe b586d8b7fa Bug 1443163 - Enable browser_console.js in browser.ini r=nchevobbe
MozReview-Commit-ID: Dwi3uvKRmaX
2018-03-05 15:35:36 +00:00