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

11058 Коммитов

Автор SHA1 Сообщение Дата
Kristen Wright 806241e4f4 Bug 1476141 - updated test files to handle a new coarsetype r=jimb
Some test files were affected by adding a new CoarseType, particularly in XPCShell tests. New rules were added to handle this CoarseType, and in a few cases the IDs of deserialized nodes had to be adjusted. The colors of CoarseTypes have also changed slightly and the resulting tests had to be updated.

--HG--
extra : histedit_source : 99db02f1b6acafb1376f71af3b8fceb9adbbb8e0
2018-07-17 16:23:29 -07:00
Kristen Wright 927abec5f2 Bug 1476141 - JS::ubi::Nodes represent DOM structure in more detail r=KrisWright
Added a new CoarseType that refers to DOM nodes. Updated the trees to represent the CoarseType. Created a new type of count in the heap snapshot that sorts the data by a more descriptive type name. Created the descriptive in JS::ubi::Base.

--HG--
extra : histedit_source : be24efa4d2ccb85e82046d7cf7d2c3a1e13b1fd7
2018-07-16 14:42:07 -07:00
Coroiu Cristina d2b1e1759a Backed out 2 changesets (bug 1477137) for devtools failures at devtools/client/aboutdebugging/test/browser_addons_toggle_debug.js
Backed out changeset c75f46c67e27 (bug 1477137)
Backed out changeset dd5e331122a9 (bug 1477137)
2018-07-27 16:45:06 +03:00
Brian Birtles 4033980812 Bug 1477407 - Consistently use system colors to define doorhanger styling; r=jdescottes
By mixing system colors and non-system colors we can arrive at a situation where
we have white text on a white background when using Windows high-constrast mode
or various themes on Linux.

This patch brings the colors used for DevTools doorhangers into line with the
colors used for arrowpanels elsewhere in Firefox.

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

--HG--
extra : moz-landing-system : lando
2018-07-27 11:21:24 +00:00
Michael Ratcliffe 9e7ad490a0 Bug 1448484 - Disable browser_storage_cookies_samesite.js due to intermittent failures r=miker
MozReview-Commit-ID: A4ocgx0JoX5

--HG--
extra : rebase_source : 3f65d8b7d215512ca5be7977de339a1165de65b7
2018-07-27 11:15:16 +01:00
Daisuke Akatsuka d3170262d1 Bug 1477137 - Part 2: Add a test for remove temporary and undo. r=jdescottes
MozReview-Commit-ID: nLjj4gcOrm

--HG--
extra : rebase_source : 6275140fc85e70854a06263d67286831c932da6f
2018-07-27 17:49:28 +09:00
Daisuke Akatsuka ab75feb4b3 Bug 1477137 - Part 1: Add onUninstalling and onOperationCancelled listeners to detect removal/undo extension in aboutaddons. r=jdescottes
MozReview-Commit-ID: RaDFBOirgL

--HG--
extra : rebase_source : 4c4448c388e17dd473b3bf44f087f2f05058e685
2018-07-27 10:32:22 +09:00
Julian Descottes fdd8d73fff Bug 1307464 - Use HTMLTooltip in shader editor;r=nchevobbe
Migrate the ShaderEditor to use the HTMLTooltip instead of the
old XUL-only Tooltip. The HTMLTooltip doesn't provide a builtin
setTextContent API, so the shadereditor is now creating the
markup for the tooltip and setting it as the content.

The styles have been ported to shadereditor.css and now rely on
theme variables.

This will allow us to move all the old tooltip code to the old
debugger folder, which will be the last consumer of the widget.

MozReview-Commit-ID: HVyxtf0xM4x

--HG--
extra : rebase_source : cdb7d6eabe77816f7f6d93299f7a8440ec4ce9a4
2018-07-26 17:43:15 +02:00
Nicolas Chevobbe a7990cf932 Bug 1478410 - Fix split console close in codeMirror jsterm; r=bgrins.
This patch removes the <kbd>Esc</kbd> handler from codeMirror
to put it on the jsterm-container. This prevent the interference
from codeMirror when we don't need to handle the event (i.e. it
should bubbles up to the toolbox where the split console state
is managed).
The webconsole_split test is run with both old and
new jsterm.

MozReview-Commit-ID: BaLyj4wSdmv

--HG--
extra : rebase_source : 6b549379839dc824a38ee49ffd859092cfbecb13
extra : source : de58a50eb0165665644b07fffd228e5478861e2e
2018-07-25 18:26:27 +02:00
Mantaroh Yoshinaga e37cf0384a Bug 1473209 - Ignore the click event until popup is hidden. r=birtles.
The widget will hide the XUL panel when clicking to the outside of panel
automatically.
If a user clicks the MenuButton when opening the popup, the popup will hide
automatically and mouse click event will be fired on macOS and Linux.
(Windows will eat this click event since the consumeoutsideclicks of this panel
is false.)

As a result of it, the popup menu will be reopened. In order to prevent this,
this patch will disable the MenuButton until popup is hidden by using
the popuphidden event. This popuphidden event will be fired before the click
event of MenuButton, then the click event of MenuButton will be fired after
popuphidden immediately.

MozReview-Commit-ID: 42xV0aWDmkR

--HG--
extra : rebase_source : 526d89b876a0db13feee5629272c74275b4cf611
2018-07-27 13:38:12 +09:00
Julian Descottes d31555e033 Bug 1434579 - Fix infinite scrolling for indexedDB in storage inspector;r=miker
MozReview-Commit-ID: 7ZyxqDPxHTK

--HG--
extra : rebase_source : e6c4fd13ad514b52b7aa38c0f507cc1438a1e893
2018-07-24 19:48:27 +02:00
Brian Grinstead 6a6ca1a08c Bug 1475342 - Move document.getElementsByAttribute[NS] to ParentNode so it'll work for HTML document and elements;r=bz
It's currently only accessible on XULDocument and XULElement, but that makes porting existing
JS to run in an HTML document inconvenient. We could alternatively change calling JS, but
this can be easily moved and exposed in chrome contexts.

MozReview-Commit-ID: JitYET20NSE

--HG--
extra : rebase_source : 75d823c688cba8d84dc19705e83284be383962f2
2018-07-26 13:40:13 -07:00
Brian Grinstead f4f3495472 Bug 1477765 - Handle rejected Promises when inspecting an object;r=jimb
This changes the behavior for inspecting rejected Promises such that:

(1) We don't consider them safe getters, treating them as we would a thrown exception
(2) Manually handle the rejection with `catch` when possible, so that we don't create
    an error when trying to inspect the promise and leaving it unhandled

MozReview-Commit-ID: HZL4BrjCKkA

--HG--
extra : rebase_source : 45d84b1c8ef5a6fc2a9c060dba44b2f56147740b
2018-07-25 13:16:03 -07:00
Csoregi Natalia 3708e71462 Merge inbound to mozilla-central. a=merge 2018-07-27 00:58:11 +03:00
Gabriel Luong 0b86a8d748 Bug 1478492 - Remove the flex basis rendering from the Flexbox highlighter. r=pbro 2018-07-26 13:43:32 -04:00
Julian Descottes 9efd634745 Bug 1478261 - Enable browser_perf-allocation-data.js in e10s;r=ochameau
MozReview-Commit-ID: v6UZoSx2tY

--HG--
extra : rebase_source : f58c98db64224fdad11fbac7e54e476edff1581e
2018-07-25 12:16:06 +02:00
Alexandre Poirot 835840ac99 Bug 1477988 - Implements DebuggerServer.spawnActorInParentProcess. r=jryans
This new API allows to instanciate an actor in the parent process from actors running in the parent process.
The created actors are returned to the client from the actors running in content,
but after that, the client communicates directly with the created actors running in the parent process.

MozReview-Commit-ID: 5B3wRQ94UEx

--HG--
extra : rebase_source : 808ea31fe8a467d0185fc27056c6524873cddbce
2018-07-16 09:53:28 -07:00
Alexandre Poirot a536d5758a Bug 1478244 - Enable client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js in e10s. r=jdescottes
MozReview-Commit-ID: HKT4whszLKX

--HG--
extra : rebase_source : 19c4c11518d1c652099b3e745d7f96e14d987394
2018-07-25 00:35:36 -07:00
Julian Descottes 6a52365e86 Bug 1471540 - Make DevTools code compatible with new eslint-plugin-react;r=standard8
MozReview-Commit-ID: 1flBkghZw9

--HG--
extra : rebase_source : 1ed58c60690e9f1b227b8de3c78b05ae98672230
2018-07-20 14:26:45 +02:00
Narcis Beleuzu 032970b913 Backed out changeset 55739a1e4de9 (bug 1474356) for mochitest bc failures on browser_ext_devtools_panel.js. CLOSED TREE 2018-07-26 14:06:18 +03:00
Michael Ratcliffe c7935445d5 Bug 1474356 - Most other panel openings without panel_name r=nchevobbe
Changes:

Pretty much all files contain changes to the order of events and properties... these are to stop subtle issues with events not being logged because not all properties were sent and some events were sent in the wrong order.

-devtools/client/framework/test/browser_devtools_api.js
  - Renamed test-tool-1 and 2 because we need to include the panel names in Events.yaml and "-" is not allowed.
- devtools/client/framework/toolbox.js
  - Removed unneeded const REGEX_PANEL.
  - Generally shifted things around to ensure we send events from all codepaths.
- toolkit/components/telemetry/Events.yaml
  - Changed telemetry event `"devtools.main", "enter"` to include all built-in panel names including  "other."

MozReview-Commit-ID: 2G3Z9pzj1QC

--HG--
extra : rebase_source : bc691ae42b521e3a58c1a4aa9dbd455a3aa258a0
2018-07-16 14:50:00 +01:00
Belén Albeza 9b62d62574 Bug 1473902 - Wrong node count in 'show all nodes' button. r=jdescottes
MozReview-Commit-ID: BwBqRVGli3b

--HG--
extra : rebase_source : 2eaa17883198ac7313440523f737e7d33480effa
2018-07-24 17:54:47 +02:00
Daisuke Akatsuka 68d785adc8 Bug 1471795 - Part 4: Implement an action of when runtime was selected. r=jdescottes,ladybenko
MozReview-Commit-ID: JtYkAgjr3oT

--HG--
extra : rebase_source : 197d1faa989ed9c0065af5ec8c9f777e773004f5
2018-07-26 17:56:38 +09:00
Daisuke Akatsuka e31142cbcd Bug 1471795 - Part 3: Implement runtimes pane. r=jdescottes,ladybenko
MozReview-Commit-ID: 1X14YIYL27x

--HG--
extra : rebase_source : 0029ff4b0a7ce83142f04849c8e9a7f2f2eccd94
2018-07-26 17:53:11 +09:00
Daisuke Akatsuka e41d8f7704 Bug 1471795 - Part 2: Introduce Runtime class. r=jdescottes
MozReview-Commit-ID: EajaVnn9kR3

--HG--
extra : rebase_source : c682161aa226880bb17efe342f144a87458e55cf
2018-07-26 17:52:10 +09:00
Daisuke Akatsuka 6db8153aa8 Bug 1471795 - Part 1: Implement basis of 'This Firefox' page. r=jdescottes,ladybenko
In this patch, implement following basic things of 'ThisFirefox' page for new
about:debugging.

* Add a pref devtools.aboutdebbugging.enabled-new to enable new about:debbugging.
* Add a function which switches new/old about:debugging page by the pref.
* Add devtools/client/aboutdebugging-new directory for new about:debugging.
* Add basic html, css, JavaScript and React component.

MozReview-Commit-ID: 5DtV7rRcS0S

--HG--
extra : rebase_source : 26496ef8273c03b78a7b8d00f44beac5f18d09ef
2018-07-26 17:52:10 +09:00
Nicolas Chevobbe 54ad45abad Bug 1463095 - Instrument inspection of filter changes in the Web Console with event telemetry; r=jdescottes.
This introduces an event-telemetry middleware that we'll
be able to re-use for other events.
A test is added to make sure we do log those events as intended.
The telemetry mock for mocha test is modified to include
recordEvent so the test still run.

MozReview-Commit-ID: 1SHnVIRGdDz

--HG--
extra : rebase_source : 7a7d6c7ff3fdbe1da6a16bc47017dbf5d90582db
2018-07-24 09:55:36 +02:00
Nicolas Chevobbe 0829b5c574 Bug 1478366 - Add a recordTelemetryEvent function to serviceContainer; r=miker.
This then can be used directly in the console, or passed to reps
and ObjectInspector so it can be called from there.

MozReview-Commit-ID: uQOiGuYbJK

--HG--
extra : rebase_source : a8a84b558dea69b7c2793b9e2d67a44a0809eb43
2018-07-25 13:54:27 +02:00
Brian Birtles 05069d25b9 Bug 1472938 - Defer image pre-loading until idle; r=jdescottes
This should prevent introducing further delay when opening DevTools.

MozReview-Commit-ID: D9XDieFoU8a

--HG--
extra : rebase_source : f7a5309ed2f64ec358fee13068efd6da8acfbdd2
2018-07-25 13:09:01 +09:00
Brian Birtles c1308d9e27 Bug 1472938 - Preload images used on MenuItem labels; r=jdescottes
This is to avoid rendering for a frame or two without the menu item icons being
visible which causes flicker, particularly on lower-end machines.

MozReview-Commit-ID: Aq7AOkPwu9V

--HG--
extra : rebase_source : ee371cf848dcf39ec9f3cd9689268c3e9ef41c54
2018-07-23 13:17:24 +09:00
Brian Birtles 18d91510d9 Bug 1472938 - Convert MenuItem to a class; r=jdescottes
This is so that we can hook into the componentDidMount method.

MozReview-Commit-ID: 5NCDgvDPbe1

--HG--
extra : rebase_source : 3768f50b20d208f5d9bb5724194fcdc2927a873c
2018-07-23 13:12:40 +09:00
Dipen Patel 7641beb1f8 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : 9c400bed3c9d29a186fc987c9bd0ffceb37bfd94
2018-07-13 11:48:55 -07:00
Cosmin Sabou 729239616e Backed out changeset f2f7dc725274 (bug 1434579) for devtools failures on browser_storage_overflow. 2018-07-25 22:56:51 +03:00
Cosmin Sabou 5a23904142 Merge mozilla-central to autoland. a=merge 2018-07-25 21:25:11 +03:00
Cosmin Sabou a313ea14ff Merge mozilla-inbound to mozilla-central. a=merge 2018-07-25 21:21:50 +03:00
Cosmin Sabou 76b0913227 Merge autoland to mozilla-central. a=merge 2018-07-25 21:20:49 +03:00
Andreea Pavel da179a7f47 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-07-25 18:13:30 +03:00
Sebastian Hengst bd900ee36a Merge mozilla-inbound to mozilla-central. a=merge 2018-07-25 17:16:53 +03:00
Brian Hackett 8f246a4b12 Bug 1465477 Part 1 - Add menu items and prefs for recording/replaying tabs, r=markh.
--HG--
extra : rebase_source : 23307266b2df128845df3ee9972fab240754019d
2018-07-24 21:32:16 +00:00
Julian Descottes 46d4906e19 Bug 1434579 - Fix infinite scrolling for indexedDB in storage inspector;r=miker
MozReview-Commit-ID: 7ZyxqDPxHTK

--HG--
extra : rebase_source : 87a548270b329e20db45441bbcfccd6be1b2b43a
2018-07-24 19:48:27 +02:00
Brian Grinstead 1247897f3f Bug 1469191 - Use the proper window for synthesizeMouseAtCenter in netmonitor test;r=jdescottes
It was using `window` which refers to the browser window, but we actually want to synthesize
the click in the devtools window.

MozReview-Commit-ID: KeIwq3JIJin

--HG--
extra : rebase_source : c769229d19661370d5448f0b5b236ce8b2eb91c4
2018-07-25 09:39:48 -07:00
Andreea Pavel d0f6470c17 Backed out changeset c235d6f86c22 (bug 1475647) for breaking firefox ui at testing/firefox-ui/tests/puppeteer/test_tabbar.py on a CLOSED TREE 2018-07-25 19:34:58 +03:00
Alexandre Poirot 27582f994c Bug 1478246 - Enable client/framework/test/browser_toolbox_select_event.js in e10s. r=jdescottes
MozReview-Commit-ID: 1YldyrCiW3e

--HG--
extra : rebase_source : 05a09b571f4ba034327e8ef1de4a7d712238c525
2018-07-25 00:00:07 -07:00
Alexandre Poirot 6e79972fbe Bug 1478260 - Enable server/tests/browser/browser_navigateEvents.js in e10s. r=jdescottes
MozReview-Commit-ID: 4aFvbOnfrgX

--HG--
extra : rebase_source : 90e3e5b966652c54cb21fc8fef3c23466f5d4c65
2018-07-24 23:56:18 -07:00
Belén Albeza 738ccdfb90 Bug 1460613 - Add keyboard navigation for reveal link in slotted nodes. r=jdescottes,yzen
MozReview-Commit-ID: GAm1bJNcZPz

--HG--
extra : rebase_source : 9d98588cb45c08180cf3ff3ddcc9ba8afd889014
2018-07-18 14:17:23 +02:00
Razvan Caliman 129daaceea Bug 1478051 - Skip using stylesheet from Netmonitor if its content size is zero. r=jdescottes
MozReview-Commit-ID: 6A1YbwDmBVj

--HG--
extra : rebase_source : 0e0d69980c0d3cd9582c967f31865dc5c0fd747e
2018-07-25 16:14:02 +02:00
Julian Descottes 6d3be195f2 Bug 1443923 - part7: Add mochitest for custom badge and contextmenu item;r=bgrins
MozReview-Commit-ID: C6w4CfUgF40

--HG--
extra : rebase_source : 154ab9537169639c5e21cafe9206632528e93dac
2018-07-16 13:24:01 +02:00
Dipen Patel 8670057dd5 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : fbfbcf7608efbfb35c9be4018ff0f4e70b2768d2
2018-07-13 11:48:55 -07:00
Andreea Pavel 8a01d542af Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-07-25 18:10:55 +03:00
Julian Descottes e856af55b5 Bug 1111546 - Enable browser_styleinspector_tooltip-closes-on-new-selection.js;r=pbro
MozReview-Commit-ID: 2Su8ltdoTuN

--HG--
extra : rebase_source : ae511dcf3d843a9ab45198531c5d0505a99c7acd
2018-07-25 09:31:42 +02:00