Commit Graph
259 Commits
Author SHA1 Message Date
Kris Maglione fdba7d1377 Bug 1568035: Part 1 - Skip tests which cause shutdown leaks under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D39459
2019-07-19 15:31:16 -07:00
Andreea Pavel 8e0ddb50ed Merge mozilla-inbound to mozilla-central. a=merge 2019-07-25 08:59:39 +03:00
Julian Descottes caef100907 Bug 1550476 - Replace jsol library by json5 to avoid eval-like usage r=miker
Depends on D38620

json5 is a much bigger library than JSOL but it doesn't rely on any eval-like code.
It should provide similar features, and testing locally it seems to work as expected.

Differential Revision: https://phabricator.services.mozilla.com/D38515
2019-07-24 09:35:49 +00:00
Kris Maglione 1b5a278b6a Bug 1566952: Part 2 - Update Fission failure annotations after skipping crashes. r=mccr8
When a test crashes, the harness skips all of the remaining tests in the
directory. That means that with crashes skipped, we now try to run a whole lot
more tests than we did before, and a lot of them fail under Fission.

This patch adds annotations to the new failures that show up after part 1.

Differential Revision: https://phabricator.services.mozilla.com/D38726
2019-07-19 12:30:10 -07:00
Kris Maglione 9f00b7395d Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

Differential Revision: https://phabricator.services.mozilla.com/D38247
2019-07-15 16:19:32 -07:00
Jonathan Kingston 32524b62e2 Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504
2019-07-08 16:37:45 +00:00
Victor Porof b7732ae890 Bug 1561435 - Format devtools/client/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35884
2019-07-05 11:24:38 +02:00
Tim Nguyen b4c7c9080f Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190
2019-06-07 21:42:59 +00:00
Dorel Luca ee7075b3ec Backed out changeset 7bf9069eba43 (bug 1557674) for DevTools failures in devtools/client/storage/test/browser_storage_cookies_tab_navigation.js. CLOSED TREE 2019-06-08 00:10:09 +03:00
Tim Nguyen f6a909359a Bug 1557674 - Replace XUL textbox usages with HTML inputs in storage inspector. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D34190
2019-06-07 19:36:00 +00:00
Michael Ratcliffe 1c3f0308d1 Bug 1554841 - l10n corrections in storage inspector cookie table headers r=pbro
### Changes

#### Set 1 - Match cookie creation strings, remove "on" and capitalize.

- Expires on {icon long-arrow-right} Expires
- Last accessed on {icon long-arrow-right} Last accessed
- Created on {icon long-arrow-right} Created
- sameSite {icon long-arrow-right} SameSite

#### Set 2 - Re-add missing strings

- table.headers.cookies.isHttpOnly=HttpOnly
- table.headers.cookies.isSecure=Secure
- table.headers.cookies.hostOnly=HostOnly

Differential Revision: https://phabricator.services.mozilla.com/D33041
2019-06-05 13:11:00 +00:00
Andrea Marchesini 747c7aea13 Bug 1556419 - cookie path should not contain the last '/', r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D33500
2019-06-04 02:42:57 +00:00
Tim Nguyen cfc056ac1f Bug 1223368 - Refactor searchbox style to be consistent across tools. r=fvsch,gl,Honza,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28334
2019-05-11 17:54:16 +00:00
arthur.iakab 14865bcdb8 Backed out changeset c8a2cbf18f3c (bug 1223368) for devtools failures on browser_inspector_search-01.js CLOSED TREE 2019-05-11 20:44:42 +03:00
Tim Nguyen 8533c03502 Bug 1223368 - Refactor searchbox style to be consistent across tools. r=fvsch,gl,Honza,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D28334
2019-05-11 16:08:13 +00:00
Brian Grinstead ec6b634c76 Bug 1547326 - Convert storage inspector buttons to html:button in order to drop support for <xul:button class="devtools-button"> r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D29035
2019-04-26 20:19:55 +00:00
Brian Grinstead 3dd68e7775 Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222

Differential Revision: https://phabricator.services.mozilla.com/D28559
2019-04-24 19:43:57 +00:00
Florens Verschelde d4c5655e46 Bug 1544438 - Prevent backspace from deleting Storage entry when editing; r=miker
Differential Revision: https://phabricator.services.mozilla.com/D27880
2019-04-17 14:23:15 +00:00
Ehsan Akhgari a7d567a631 Bug 1541248 - Make sure browser_storage_values.js does not depend on the value of the privacy.documentCookies.maxage pref; r=baku on a CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D25878
2019-04-03 05:17:52 +00:00
Andreea Pavel 6c35ae484a Backed out changeset cc704998fa15 (bug 1541248) for browser_storage_listings.js on a CLOSED TREE 2019-04-03 23:35:26 +03:00
Ehsan Akhgari 04554e2ac4 Bug 1541248 - Make sure browser_storage_values.js does not depend on the value of the privacy.documentCookies.maxage pref; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25878
2019-04-03 05:17:52 +00:00
fanny 930d55dd6d Bug 1115363 - Implement copy text option on sidebar of storage. r=miker
Before this change, there was no option to copy text of an attribute in
sidebar of storage.You can now copy an attribute and it's text.

Differential Revision: https://phabricator.services.mozilla.com/D23977
2019-03-22 13:26:42 +00:00
Brian Grinstead 4243dbc600 Bug 1531119 - Remove editMenuCommands.inc.xul and make editMenuOverlay.js in charge of constructing the relevant commandset DOM r=bdahl,NeilDeakin
This allows us to drop preprocessing and makes it simpler to add edit menu functionality to any type of document.

Differential Revision: https://phabricator.services.mozilla.com/D21446
2019-03-21 14:18:48 +00:00
avi.mathur a6f306c59c Bug 1291427 - Remove table headers when selecting an empty storage type r=miker
Before this change clicking on Storage Type use to show table headers from previous selection. Now clicking on Storage Type will reset table headers also in case empty table headers will get cleared.

### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=10f387eeb0dcb68f43e7e441a3045c23e40295a5

Differential Revision: https://phabricator.services.mozilla.com/D22327
2019-03-18 15:26:58 +00:00
David Walsh 9eaf21e387 Bug 1522893 - Allow deletion of storage items via keyboard r=davidwalsh
### Try

https://treeherder.mozilla.org/#/jobs?repo=try&revision=c46d57e649963f756959b48cad0c211603ccc061

Differential Revision: https://phabricator.services.mozilla.com/D23896
2019-03-19 21:52:28 +00:00
Coroiu Cristina 81c82b87d4 Backed out changeset b9c222097ae1 (bug 1522893) for devtools failures at devtools/client/storage/test/browser_storage_delete.js on a CLOSED TREE 2019-03-19 19:06:34 +02:00
David Walsh d87299d7a5 Bug 1522893 - Allow deletion of storage items via keyboard r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D23896
2019-03-19 15:36:42 +00:00
Oana Pop Rus 6d47a542eb Backed out changeset c8a4f2586fc0 (bug 1291427) for devtools on browser_storage_cookies_edit.js on a CLOSED TREE 2019-03-08 17:48:49 +02:00
avi.mathur 37378959a4 Bug 1291427 - Table headers are not removed when selecting an empty storage r=miker
Before this change clicking on Storage Type use to show table headers from previous selection. Now clicking on Storage Type will reset table headers also in case empty table headers will get cleared.

Differential Revision: https://phabricator.services.mozilla.com/D22327
2019-03-08 14:17:27 +00:00
Rainier G 87ff750023 Bug 1477296 - Updated itemoffset to 0 when local storage is cleared r=miker
Differential Revision: https://phabricator.services.mozilla.com/D20385
2019-02-20 12:56:43 +00:00
Rainier G 387e703483 Bug 1504634 - Added tooltip to refresh button of storage inspector section. r=miker
Differential Revision: https://phabricator.services.mozilla.com/D20353
2019-02-19 16:21:31 +00:00
Michael Ratcliffe 7d634828aa Bug 1356943 - Only show a tree in the storage sidebar when it is useful r=pbro
pbro did r+ this patch some time back but it kept breaking try. The only differences between then and now are:

1. `devtools/client/storage/ui.js:859` was reverted to using "" instead of undefined to fix test issues.
2. A bad check for mathematical values was replaced with a `MATH_REGEX` check `devtools/client/storage/ui.js:64,941-943`

A new try run is here:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=0212fe328f13991ece396bccb44668d821cb4218&group_state=expanded

Differential Revision: https://phabricator.services.mozilla.com/D18578
2019-02-07 09:33:42 +00:00
Tim Nguyen 55dd4ef282 Bug 1518159 - Remove usages of and support for XUL textbox[type='search'] in DevTools. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D15842
2019-01-09 13:29:31 +00:00
yulia beed920cfb Bug 1508660 - make storage front and changes front async; r=ochameau
Depends on D13110

Differential Revision: https://phabricator.services.mozilla.com/D13336
2018-12-18 08:33:11 +00:00
Ciure Andrei 3e1f01f806 Backed out 14 changesets (bug 1508660, bug 1508656, bug 1504185) for browser_target_cached-front.js perma failures CLOSED TREE
Backed out changeset 08e5ae4312b3 (bug 1508660)
Backed out changeset 01b687bb0b75 (bug 1504185)
Backed out changeset 140374b098aa (bug 1504185)
Backed out changeset caafdc0ea4c7 (bug 1508656)
Backed out changeset 8b98b777aec2 (bug 1508656)
Backed out changeset f1905a2f9b6c (bug 1508656)
Backed out changeset 8b01632f9e3d (bug 1508656)
Backed out changeset eb4c893d451e (bug 1508656)
Backed out changeset 70db61618160 (bug 1508656)
Backed out changeset dff79b73c7fe (bug 1508660)
Backed out changeset b3518d5285be (bug 1508660)
Backed out changeset 94a957b9ba90 (bug 1508660)
Backed out changeset 773938f18269 (bug 1508660)
Backed out changeset 4eca8fce0a47 (bug 1508660)
2018-12-17 17:15:23 +02:00
yulia 6c3024e401 Bug 1508660 - make storage front and changes front async; r=ochameau
Depends on D13110

Differential Revision: https://phabricator.services.mozilla.com/D13336
2018-12-17 12:29:52 +00:00
vinoth 57318f89de Bug 1504605 - Add Prefs to xpcshell test files for allowing usage of eval. r=ckerschb
Reviewers: ckerschb

Reviewed By: ckerschb

Subscribers: ckerschb

Bug #: 1504605

Differential Revision: https://phabricator.services.mozilla.com/D10850
2018-11-05 16:41:45 +02:00
vinoth 336fa5f686 Bug 1504207 - Add Prefs for allowing usage of eval with system principal in test files r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D10696
2018-11-05 13:39:31 +00:00
Mark Banner 6462447652 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (manual fixes). r=mossop
Depends on D8389

Differential Revision: https://phabricator.services.mozilla.com/D8391
2018-10-19 08:33:17 +00:00
Mark Banner 3d6aaad3f5 Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D8389
2018-10-19 12:55:39 +00:00
yulia f391748d23 Bug 1488374 - Use target.getFront to instantiate StorageFront; r=ochameau
Depends on D7061

Differential Revision: https://phabricator.services.mozilla.com/D7062
2018-09-30 06:55:23 +00:00
Alexandre Poirot 2df2d40777 Bug 1397020 - Remove useless calls to TabTarget.attach r=yulia
TabTarget.attach is being called from the toolbox, before opening the tools,
so we do not have to call it from panel's open functions, nor code that is opening
a toolbox right after.

MozReview-Commit-ID: 77TZFbvOaFt

Differential Revision: https://phabricator.services.mozilla.com/D6668
2018-09-26 21:11:51 +00:00
Alexandre Poirot cce577ae01 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: KmFi1LIUBga
2018-09-24 09:52:57 -07:00
Alexandre Poirot 0ccb191bef Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 09:52:55 -07:00
shindli dbbcc1c04f Backed out 9 changesets (bug 1485676) for failures in browser/tools/mozscreenshots/devtools/browser_devtools.js CLOSED TREE
Backed out changeset d358feec4ca1 (bug 1485676)
Backed out changeset ed554dbb062f (bug 1485676)
Backed out changeset 6e78058df94d (bug 1485676)
Backed out changeset 3a6f1b0e71f4 (bug 1485676)
Backed out changeset 16d2403aa787 (bug 1485676)
Backed out changeset 454eddf52157 (bug 1485676)
Backed out changeset 926f725f2183 (bug 1485676)
Backed out changeset fb03f174bd5f (bug 1485676)
Backed out changeset ceb93dd1799a (bug 1485676)
2018-09-24 15:27:27 +03:00
Alexandre Poirot 5502b1399b Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: KmFi1LIUBga
2018-09-24 01:25:02 -07:00
Alexandre Poirot ded1511af6 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-24 01:25:01 -07:00
Gurzau Raul a532c08398 Backed out 9 changesets (bug 1485676) for failing at damp inspector/cold-open.js on a CLOSED TREE
Backed out changeset 4de2e71debfe (bug 1485676)
Backed out changeset e63025150c7a (bug 1485676)
Backed out changeset f9ef30ae3f7f (bug 1485676)
Backed out changeset a83636fab16a (bug 1485676)
Backed out changeset b1fd24929e09 (bug 1485676)
Backed out changeset acb27b915742 (bug 1485676)
Backed out changeset ba2157632772 (bug 1485676)
Backed out changeset d1d6b9bc2372 (bug 1485676)
Backed out changeset d7646ea8640b (bug 1485676)
2018-09-22 19:42:04 +03:00
Alexandre Poirot ef7fa3ed18 Bug 1485676 - Rename TabTarget.makeRemote to TabTarget.attach. r=jdescottes
Summary:
Now that all the "remoting" of this method has been moved to TargetFactory.createTargetForTab,
we should rename this method to what it does now. It mostly call attach requests
of the target actor and its child console actor.
It also "connect" the webextension target actor, but I would like to eventually move that
outside of TabTarget.attach, like makeRemote.

Depends On D4078

Reviewers: yulia!

Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: KmFi1LIUBga
2018-09-22 08:34:21 -07:00
Alexandre Poirot a9337c9d24 Bug 1485676 - Connect to local server from TargetFactory.forTab and make TabTarget always remote-like. r=yulia
Tags: #secure-revision

Bug #: 1485676

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

MozReview-Commit-ID: JAwiySsBZBu
2018-09-22 08:34:20 -07:00