Commit Graph

20133 Commits

Author SHA1 Message Date
Logan Smyth
da68440b0d Bug 1607639 - Part 5: Resolve sourcemaps relative to their execution environment. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72116
2020-04-24 06:15:15 +00:00
Logan Smyth
2cdc9b1bbb Bug 1607639 - Part 4: Convert introductionUrl into sourceMapBaseURL to match actual usage. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72115
2020-04-24 06:15:13 +00:00
Logan Smyth
01eef174fc Bug 1607639 - Part 3: Remove unnecessary falsy checks for _source in source actor. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72107
2020-04-24 06:13:24 +00:00
Logan Smyth
1b301205ab Bug 1607639 - Part 2: Remove the unused 'introductionUrl' value from Source objects. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72106
2020-04-24 06:13:11 +00:00
Logan Smyth
1f5bf8805c Bug 1607639 - Part 1: Remove the unused 'introductionType' value from Source objects. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72105
2020-04-24 06:12:13 +00:00
Logan Smyth
9d69639c41 Bug 1470768 - Allow sourceURL to apply generally across all types of scripts. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72104
2020-04-24 06:11:17 +00:00
Daisuke Akatsuka
1c0e943acf Bug 1604211: Introduce target-switching mechanism for devtools inspectedWindow. r=rpl,ochameau,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D66736
2020-04-24 04:35:51 +00:00
Cosmin Sabou
e40dfd85ea Backed out changeset 0c52ed0a7e04 (bug 1630957) for dt failures on browser_dbg-sourcemapped-toggle.js. CLOSED TREE 2020-04-24 07:59:06 +03:00
David Walsh
554b08a36d Bug 1630957 - Provide settings menu for debugger UI to allow disabling JavaScript r=jlast,Honza
Differential Revision: https://phabricator.services.mozilla.com/D71365
2020-04-23 21:50:02 +00:00
Daniel Holbert
7cc10f2dc5 Bug 1632388 part 2: Regenerate the devtools CSS db (to pick up a typo-fix from its template). r=gregtatum
This patch's changes were automatically generated by the following command:
  ./mach devtools-css-db

Differential Revision: https://phabricator.services.mozilla.com/D72098
2020-04-23 19:53:57 +00:00
Daniel Holbert
6e01bf3cd9 Bug 1632388 part 1: Update devtools properties-db.js.in template to correct a typo in a code-comment's reference to an in-tree directory. r=gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D72097
2020-04-23 19:54:04 +00:00
Jason Laster
9f9472df1c Bug 1630742 - cmd+click should continue to here. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D71217
2020-04-23 16:52:58 +00:00
William Durand
4e87886f42 Bug 1631403 - Add test case to cover RDP APIs that 'web-ext run' depends on. r=rpl,ochameau,robwu
Differential Revision: https://phabricator.services.mozilla.com/D71892
2020-04-23 14:14:49 +00:00
Harald Kirschner
174a7e9b40 Bug 1621042 - Updated DevTools What's New for 76 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D72183
2020-04-23 17:45:23 +00:00
Daniel Holbert
b75a647b0e Bug 1626458 part 2: Regenerate devtools CSS database, now that the 'contain' property isn't pref-controlled. r=AlaskanEmily
This patch's changes were automatically generated by the following command:
  ./mach devtools-css-db

Differential Revision: https://phabricator.services.mozilla.com/D71862
2020-04-23 05:01:12 +00:00
David Walsh
cd8e73dd4c Bug 1596089 - Re-enable blocked items when the user blocks them from the context menu r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D72023
2020-04-23 06:37:56 +00:00
David Walsh
c71361abea Bug 1632081 - Prevent key warning in netmonitor toolbar r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D71950
2020-04-23 06:40:23 +00:00
David Walsh
739e1d69be Bug 1631663 - Sort class names in debugger outline r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D71767
2020-04-22 22:10:33 +00:00
Arthur Iakab
c278cf13d3 Backed out 2 changesets (bug 1576188) for causing browser-chrome failures on browser_persist_cross_origin_iframe.js
CLOSED TREE

Backed out changeset d2c102f8d898 (bug 1576188)
Backed out changeset 9ddd9a63d178 (bug 1576188)
2020-04-23 19:38:58 +03:00
Csoregi Natalia
230cef6455 Backed out 6 changesets (bug 1602075) for devtools failures caused by markup-context-menu.js. CLOSED TREE
Backed out changeset cf06e30be068 (bug 1602075)
Backed out changeset 51f01135d82f (bug 1602075)
Backed out changeset fbb30bd09d66 (bug 1602075)
Backed out changeset e1e570497527 (bug 1602075)
Backed out changeset 3aa7f4f31934 (bug 1602075)
Backed out changeset 7d568f0fa1e4 (bug 1602075)
2020-04-23 19:03:05 +03:00
Emilio Cobos Álvarez
d36c96ab4c Bug 1612068 - Move zoom from the content viewer to the browsing context. r=nika
We need it to live in BrowsingContext instead of WindowContext, because
we need to preserve the zoom level across same-origin navigation.

It'd be nice if it only lived in the top BC, but that's not possible at
the moment because a lot of tests rely on zooming only iframes. Some of
them can be adjusted for scaling the top instead, but not sure it's
worth it's worth fixing them and moving the zoom to be top-only, as it'd
be a bunch of effort, and the complexity and overhead of propagating the
zoom is not so big.

The print-preview-specific code in nsContentViewer is from before we did
the document cloning setup, and it seems useless. I've tested print
preview scaling before and after my patch and both behave the same.

The rest is just various test changes to use the SpecialPowers APIs or
BrowsingContext as needed instead of directly poking at the content
viewer.

I named the pres context hook RecomputeBrowsingContextDependentData, as
more stuff should move there like overrideDPPX and other media emulation
shenanigans.

I also have some ideas to simplify or even remove ZoomChild and such,
but that's followup work.

Differential Revision: https://phabricator.services.mozilla.com/D71969
2020-04-22 19:32:52 +00:00
Brian Hackett
9642a11373 Bug 1603190 - Enable windowless-service-workers in Nightly r=jlast,Honza
Differential Revision: https://phabricator.services.mozilla.com/D59481
2020-04-23 15:09:56 +00:00
Nicolas Chevobbe
5434daf78f Bug 1631727 - Test the evaluation context menu structure. r=jlast.
The only test we have is split in two tests, one for
checking the interactions with the inspector, and the
other one to check webconsole actions, like selecting
context and store as global variable context menu entry.
We add test cases to ensure the menu has the expected
structure and that the expected menu item are checked
when we expect to.
We add a helper function to be able to load a URI + iframes
so the setup is terser on the tests.
The id of the meun actually had to be fixed, as it was
the same as the console settings menu.

Depends on D71729

Differential Revision: https://phabricator.services.mozilla.com/D71731
2020-04-21 15:47:05 +00:00
Nicolas Chevobbe
6a000148bd Bug 1631725 - Use TargetList TYPES instead of custom ones for targets in Toolbox redux store. r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D71729
2020-04-23 15:00:18 +00:00
Yura Zenevich
218ec835e5 Bug 1602075 - display Inspect Accessibility Properties menu item in inspector if devtools.accessibility.auto-init.enabled pref is set to true. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D71587
2020-04-23 14:40:25 +00:00
Yura Zenevich
8cbcad7381 Bug 1602075 - only highlight the accessibility tab when the auto init feature is not enabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71585
2020-04-23 14:40:10 +00:00
Yura Zenevich
3e530c3cb3 Bug 1602075 - make enable/disable panel UI conditional on the accessibility-panel-auto-init feature. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71584
2020-04-23 14:40:02 +00:00
Yura Zenevich
6815068906 Bug 1602075 - handle can-be-disabled and can-be-disabled events in the MainFrame component instead of the Toolbar and Description respectively. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71583
2020-04-23 14:39:54 +00:00
Yura Zenevich
0cd7e8c096 Bug 1602075 - add an accessibility-panel-auto-init feature to control the panel auto enabling functionality. r=mythmon,mtigley
Differential Revision: https://phabricator.services.mozilla.com/D71582
2020-04-23 14:39:47 +00:00
Andreas Farre
6a4f39685d Bug 1576188 - Handle save-as for cross process iframes. r=peterv
Depends on D70388

Differential Revision: https://phabricator.services.mozilla.com/D70389
2020-04-23 13:56:26 +00:00
Atique Ahmed Ziad
7028b6fe57 Bug 1632478 - Remove unnecessary parameter from createCopySubMenu() Method in RequestListContextMenu r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D72145
2020-04-23 13:41:14 +00:00
Nicolas Chevobbe
04d59f8c45 Bug 1565010 - Fix intermittent on browser_webconsole_warn_about_replaced_api.js .r=Honza.
Log the console replaced message only after the current batch of messages are consumed.
We also enable the timestamp in the test, so in case of failure we can diagnose
what's going on better.

Differential Revision: https://phabricator.services.mozilla.com/D72121
2020-04-23 12:05:01 +00:00
Hubert Boma Manilla
5395ed5224 Bug 1630989 - Rename the params panel to request r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D71763
2020-04-23 06:40:36 +00:00
Nicolas Chevobbe
1171d13863 Bug 1620622 - Fix intermittent failure on browser_jsterm_autocomplete_helpers. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D71752
2020-04-23 07:21:28 +00:00
Julian Descottes
cf64d0e1f1 Bug 1632123 - Fix browser_dbg-editor-mode.js and enable it r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D71931
2020-04-23 06:40:48 +00:00
Stefan Hindli
da540f28d4 Backed out changeset c39d389d140c (bug 1630742) for devtools failures in devtools/client/debugger/test/mochitest/browser_dbg-continue-to-here-click.js 2020-04-23 06:54:52 +03:00
Jason Laster
62457464b0 Bug 1630742 - cmd+click should continue to here. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D71217
2020-04-23 00:07:13 +00:00
Emilio Cobos Álvarez
90b929a2ef Bug 1612068 - Appease eslint.
MANUAL PUSH: Fix minor eslint issue.
2020-04-23 00:35:10 +02:00
Emilio Cobos Álvarez
8b855490d7 Bug 1612068 - Fix an RDM test utility function. r=bradwerth
requestAnimationFrame runs _before_ reflow, so you actually need too to
guarantee that a reflow has happened.

I was getting intermittents in devtools/client/responsive/test/browser/browser_window_sizing.js
without this with the rest of the patches in this bug.

Also while at it fix the comparison to be less prone to floating point
errors, like a lot of the other zoom code in browser/.

Differential Revision: https://phabricator.services.mozilla.com/D72062
2020-04-22 22:18:15 +00:00
Andreea Pavel
cf61e9c6b6 Backed out changeset 78f47bf43523 (bug 1631403) for failing xpcshell at est_webext_apis.js on a CLOSED TREE 2020-04-22 21:58:57 +03:00
William Durand
cb0716453c Bug 1631403 - Add test case to cover RDP APIs that 'web-ext run' depends on. r=rpl,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D71892
2020-04-22 15:11:16 +00:00
Atique Ahmed Ziad
4dcead6939 Bug 1554885 - Simplify devtools RequestListContextMenu and remove eslint comment r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D71809
2020-04-22 10:06:14 +00:00
Daisuke Akatsuka
7be5632750 Bug 1590981: Add a browser test for settings. r=mtigley
Depends on D70324

Differential Revision: https://phabricator.services.mozilla.com/D70482
2020-04-21 20:09:17 +00:00
Daisuke Akatsuka
1b3262dd31 Bug 1590981: Add a node test for Settings component. r=mtigley
Depends on D70323

Differential Revision: https://phabricator.services.mozilla.com/D70324
2020-04-22 01:53:37 +00:00
Daisuke Akatsuka
daa1629a9a Bug 1590981: Update a node test for Settings component. r=mtigley
Depends on D70322

Differential Revision: https://phabricator.services.mozilla.com/D70323
2020-04-22 01:53:04 +00:00
Daisuke Akatsuka
5865a049cd Bug 1590981: Make target browsers persistent. r=mtigley
Depends on D70321

Differential Revision: https://phabricator.services.mozilla.com/D70322
2020-04-22 01:50:57 +00:00
Daisuke Akatsuka
573ddb6669 Bug 1590981: Make target browsers selectable. r=mtigley
Depends on D70320

Differential Revision: https://phabricator.services.mozilla.com/D70321
2020-04-21 20:06:28 +00:00
Daisuke Akatsuka
a99dc11e53 Bug 1590981: Show all default target browsers in settings page. r=mtigley
Depends on D70319

Differential Revision: https://phabricator.services.mozilla.com/D70320
2020-04-22 01:32:34 +00:00
Daisuke Akatsuka
2575ca8e6e Bug 1590981: Introduce UserSettings object. r=mtigley
Depends on D70318

Differential Revision: https://phabricator.services.mozilla.com/D70319
2020-04-22 01:17:45 +00:00
Daisuke Akatsuka
0736ab52d2 Bug 1590981: Add a settings pane. r=mtigley
Depends on D70317

Differential Revision: https://phabricator.services.mozilla.com/D70318
2020-04-22 01:14:19 +00:00