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

11209 Коммитов

Автор SHA1 Сообщение Дата
Nicolas Chevobbe 60337ebe0a Bug 1477860 - Add a test case for error object copy/paste; r=jdescottes.
A fix was made in Reps (see https://github.com/devtools-html/debugger.html/pull/6687)
in order to make error objects much more usable when copy/pasted.
Since node isn't the best to test copy/pasting behavior, we add a
test case in an existing mochitest for this.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 05:03:40 +00:00
Mantaroh Yoshinaga 218b183b24 Bug 1479756 - Clip the overlapped header tick label. r=daisuke
This patch will clip the overflowed tick label. In order to check the width,
this patch add the max-width into tick label element.

Furthermore, componentWillReceiveProps is deprecated from React 16.3.
So this patch will use componentDidUpdate instead of it.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 07:06:06 +00:00
James Teh f5b9ed7f5b Bug 1480958: Don't treat the filter bar in the Web Console as live content for accessibility. r=nchevobbe
Because the console output area is marked as aria-live and the filter bar is inside this area, it inherits the aria-live attribute.
For screen reader users, this causes spurious speaking of typed characters when typing in the filter box.
Worse, it causes spurious speaking of numbers as the number of messages suppressed by various filters changes, resulting in an intolerable user experience.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 06:37:32 +00:00
Nicolas Chevobbe e3cf7e35dd Bug 1478252 - Enable client/shared/test/browser_outputparser.js in e10s; r=jdescottes.
The test was disabled for intermittent failure, but I did
not managed to make it fail with --verify.
There was a fixed needed in the test for the angle since
the property used there was deprecated.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 05:07:31 +00:00
Julian Descottes d1f26ef91d Bug 1480789 - Add Connect page to new aboutdebugging;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D2724

--HG--
extra : moz-landing-system : lando
2018-08-07 04:56:56 +00:00
Julian Descottes 809d66a558 Bug 1480743 - Update styles in aboutdebugging-new to match other about:pages;r=daisuke
This duplicates some of the styles from other about:pages, reusing existing
variables when possible.

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

--HG--
extra : moz-landing-system : lando
2018-08-07 04:47:56 +00:00
Kyle Machulis 37669b3f4a Bug 1473833 - Skip object loading when given unrecognized mime type; r=bzbarsky
At the moment, a tag that has document type capabilities will try to
load tag content with invalid MIME types as a document. This patch
will cause the load to fail silently instead.

This will cause failures in certain WPTs that expect plugins to be
present to fill in MIME type requirements, which we currently don't
have available on CI. These WPTs have been disabled for the moment.

MozReview-Commit-ID: 9JGR4LClE5x

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

--HG--
extra : moz-landing-system : lando
2018-08-07 00:53:58 +00:00
Julian Descottes c60a3062a6 Bug 1480682 - Update sidebar color in about:debugging;r=daisuke
Looking at the mocks, the non-selected color is closer to grey-50.
The text should have the same color as the icons.

Depends on D2703

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

--HG--
extra : moz-landing-system : lando
2018-08-06 08:50:07 +00:00
Julian Descottes d7873db39a Bug 1480682 - Add icon for Connect sidebar item;r=daisuke
Depends on D2702

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

--HG--
extra : moz-landing-system : lando
2018-08-06 08:34:02 +00:00
Julian Descottes 918e203758 Bug 1480682 - Rename existing firefox logo icon;r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D2702

--HG--
rename : devtools/client/themes/images/firefox-logo-glyph.svg => devtools/client/themes/images/aboutdebugging-firefox-logo.svg
extra : moz-landing-system : lando
2018-08-06 08:26:47 +00:00
Brian Hackett f1057a31c3 Bug 1479058 Part 12 - Test changes, r=jlast.
--HG--
extra : rebase_source : bf1d9757dc94d121c18ccc47787f1e6bd3c7b363
2018-08-02 23:34:45 +00:00
Brian Hackett 622151a7e5 Bug 1479058 Part 11 - Server/client web console changes for replaying and time warp support, r=nchevobbe.
--HG--
extra : rebase_source : 2634d4f036f510fc7c70a8917b6d8202aabbb597
2018-08-02 23:33:24 +00:00
Brian Hackett 6199a3a415 Bug 1479058 Part 10 - Add console message support to ReplayDebugger, r=jimb.
--HG--
extra : rebase_source : e2c91fa0b88adef6bbd24749610d47de7c10c5f7
2018-08-02 23:32:52 +00:00
Brian Hackett 9844ce064b Bug 1479058 Part 6 - ReplayDebugger and server/client changes to support time warps, r=jimb.
--HG--
extra : rebase_source : 5972ae72f0601e3daa2506e1be3844dc77e3bafc
2018-08-02 23:30:19 +00:00
Brian Hackett cb73c42b70 Bug 1479058 Part 5 - ReplayDebugger cleanup, r=jimb.
--HG--
extra : rebase_source : 7a95159485386cd4fdf0b3d1fabc33da2ab7866d
2018-08-02 23:29:38 +00:00
Brian Hackett 18b12586ae Bug 1480994 - Only run web replay test on nightly builds, r=aryx.
--HG--
extra : rebase_source : bd4181c608bae8157d436f988c5f2bb4548765f8
2018-08-04 21:41:41 +00:00
David Walsh fe0a21f177 Bug 1478162 - NetMonitor - Break to two rows earlier to prevent HAR overflow r=pbro 2018-07-26 12:36:55 -05:00
Jason Laster 9040e90d66 Bug 1480838 - Update Debugger Frontend v78. r=dwalsh 2018-08-03 18:33:37 -04:00
Dorel Luca e10cc6aac4 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 8265ad85fc5376a71af7ed3afe8463b7178286f3
2018-08-04 01:08:25 +03:00
Dorel Luca 9f724d256f Merge mozilla-inbound to mozilla-central. a=merge 2018-08-04 01:01:35 +03:00
Nicolas Chevobbe c8da39c9f2 Bug 1478556 - Add a test for jump_to_definition telemetry event log; r=miker.
Differential Revision: https://phabricator.services.mozilla.com/D2712

--HG--
extra : moz-landing-system : lando
2018-08-03 13:35:00 +00:00
Julian Descottes 3e93eca85f Bug 1349416 - Only delay removeEventListener when hiding after mouseup;r=birtles
The inplace-editor is programmatically hiding the autocomplete-popup
on TAB and notifies the caller. The caller (eg rule view) will trigger
a click on the next focusable element immediately after that.

If the HTMLTooltip is still consuming outside clicks at that point
the click will be swallowed and the new inplace-editor cannot be created.

Depends on D2661

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:02:45 +00:00
Julian Descottes 248fb27471 Bug 1349416 - Hide HTMLTooltip on mouseup rather than on click;r=birtles
A click event is only fired if the element on which mousedown and mouseup
happened are the same. If this is not the case, the HTMLTooltip will not
be able to hide itself.

Listening to mouseup makes the behavior more consistent but forces the
hide() method to be always asynchronous, while before it was only
asynchronous for tooltips using the XULWrapper.

Depends on D2660

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

--HG--
extra : moz-landing-system : lando
2018-08-03 11:01:51 +00:00
Julian Descottes dc84fc2f5d Bug 1349416 - Prevent event tooltip from reappearing when clicking on bubble;r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D2660

--HG--
extra : moz-landing-system : lando
2018-08-03 09:40:07 +00:00
Bogdan Tara 8cff2b32a0 Backed out 3 changesets (bug 1349416) for Dev Tools failures CLOSED TREE
Backed out changeset ec5ee2990e21 (bug 1349416)
Backed out changeset c4f8eccf14dc (bug 1349416)
Backed out changeset b7e80d3a6810 (bug 1349416)
2018-08-03 12:33:32 +03:00
Julian Descottes abf5a16722 Bug 1479416 - Add Connect sidebar item to aboutdebugging-new;r=daisuke
This patch adds:
- a new action actions/ui:selectPage
  - takes a page id in argument
  - returns type PAGE_SELECTED, with selected page id as 'page'
- a new reducer reducers/ui-state
  - on PAGE_SELECTED, updates the state by setting 'page' in 'selectedPage'

The state of the application after this patch looks as follows:
{
  ui: {
    selectedPage: String
  }
}

As we add more devices the way we identify the selected page might change
(maybe use an index instead of an id) but that is good enough for now.

The "dispatch" helper is forwarded to the App component via connect.
From that point, components are responsible for forwarding the dispatch
property to all components who need to dispatch actions.

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:23:33 +00:00
Julian Descottes 91b9d97d0e Bug 1349416 - Only delay removeEventListener when hiding after mouseup;r=birtles
The inplace-editor is programmatically hiding the autocomplete-popup
on TAB and notifies the caller. The caller (eg rule view) will trigger
a click on the next focusable element immediately after that.

If the HTMLTooltip is still consuming outside clicks at that point
the click will be swallowed and the new inplace-editor cannot be created.

Depends on D2661

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:51 +00:00
Julian Descottes f4e6047756 Bug 1349416 - Hide HTMLTooltip on mouseup rather than on click;r=birtles
A click event is only fired if the element on which mousedown and mouseup
happened are the same. If this is not the case, the HTMLTooltip will not
be able to hide itself.

Listening to mouseup makes the behavior more consistent but forces the
hide() method to be always asynchronous, while before it was only
asynchronous for tooltips using the XULWrapper.

Depends on D2660

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

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:43 +00:00
Julian Descottes de6d2067bb Bug 1349416 - Prevent event tooltip from reappearing when clicking on bubble;r=birtles
Differential Revision: https://phabricator.services.mozilla.com/D2660

--HG--
extra : moz-landing-system : lando
2018-08-03 07:05:30 +00:00
Nicolas Chevobbe 4f34541b99 Bug 1475391 - Add mapping for CORS error types to MDN pages; r=bgrins.
Differential Revision: https://phabricator.services.mozilla.com/D2557

--HG--
extra : moz-landing-system : lando
2018-08-03 06:40:36 +00:00
Boris Zbarsky 357b6b1348 Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D2669

--HG--
extra : moz-landing-system : lando
2018-08-03 00:05:07 +00:00
Narcis Beleuzu 4684ccf98e Merge inbound to mozilla-central. a=merge 2018-08-03 01:28:14 +03:00
Razvan Caliman ed257a8a5b Bug 1480086 - Restore styles for Rule view warning icon. r=gl
MozReview-Commit-ID: 12xDt0Haj03

--HG--
extra : rebase_source : 789ea875dd8fce44cf38e13e57671da7db2a97b9
2018-08-02 13:39:18 +02:00
Jan de Mooij 3af36d3d86 Bug 1479363 part 10 - Use JSAutoRealm instead of JSAutoRealmAllowCCW in other directories. r=mrbkap 2018-08-02 19:30:17 +02:00
Brian Hackett 4dea999cef Bug 1465491 Part 2 - Helper functions for web replay mochitests, r=jryans.
--HG--
extra : rebase_source : c900dd3d263428472c3ddf3dc8eef5e14ee38481
2018-08-02 15:37:20 +00:00
Jason Laster 8ace0a8243 Bug 1479812 - Update Debugger Frontend v77. r=dwalsh 2018-08-02 11:10:48 -04:00
Boris Zbarsky e4b74becff Bug 1479569 part 2. Use the new messageManager getter on docshell. r=kmag
I generally tried to preserve the behavior of consumers where they treated an
exception from getInterface(Ci.nsIContentFrameMessageManager) as a signal to use
some sort of fallback.

I did change the behavior of consumers that walked up to the root same-type
docshell before getting the message manager to just get it directly from the
docshell they have.  Please review those parts carefully, and let me know if you
want me to ask some subject area experts to review those.
2018-08-02 23:49:09 -04:00
Julian Descottes 92987d7581 Bug 1480384 - Remove unused theme option for autocomplete-popup;r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D2666

--HG--
extra : moz-landing-system : lando
2018-08-02 15:05:50 +00:00
Alexandre Poirot 2b5681f94c Bug 1444132 - Always wait for full Connector setup in getHarExportConnector. r=jdescottes
MozReview-Commit-ID: 2k18TK78fk8

--HG--
extra : rebase_source : 4bbe481d3724dc7bb3e26eb79bfa8351c22bcf32
2018-08-01 09:47:20 -07:00
Alexandre Poirot d41a01a8c9 Bug 1444132 - Fix the order of requests done by html_cause-test-page.html test. r=jdescottes
MozReview-Commit-ID: IY8TLzqjrnT

--HG--
extra : rebase_source : b01a5cd462d920fe52eadb6b4ba8222d08898972
2018-07-31 07:33:04 -07:00
Alexandre Poirot 57ca676e5a Bug 1444132 - Prevent race in browser_net_view_source-debugger.js if the stack button is lazily created. r=jryans
MozReview-Commit-ID: 6nM786CYyp7

--HG--
extra : rebase_source : e412a689110afd3021f65cdab335c94268f6d1e6
2018-07-17 10:49:53 -07:00
Alexandre Poirot cfe9ef4cae Bug 1444132 - Fetch stacks from content process only on-demand. r=jryans
MozReview-Commit-ID: 727tzsqkkEp

--HG--
extra : rebase_source : daad7d90a5d37145f9c17b1d98dfe2dc1b2c7c23
2018-07-17 08:21:35 -07:00
Alexandre Poirot 1d8dac53fb Bug 1444132 - Fix sendHTTPRequest with the new setup. r=jryans
MozReview-Commit-ID: GCZWd47ICLH

--HG--
extra : rebase_source : 2930cfb226684529e9a01de8c1b1a1eb7b83b0e2
2018-07-17 07:36:39 -07:00
Alexandre Poirot 817c8826cf Bug 1444132 - Fix netmonitor preferences with the new setup. r=jryans
MozReview-Commit-ID: ESP8cctwN8r

--HG--
extra : rebase_source : 032c9d07ca39a8dd57a84d2437fd69283f134a06
2018-07-17 03:43:24 -07:00
Alexandre Poirot 91c15e3f3f Bug 1444132 - Remove the old proxy code. r=jryans
MozReview-Commit-ID: 33LcN5c5o4D

--HG--
extra : rebase_source : 5286e8465932127b3c2643636761a6570974608b
2018-07-17 02:23:49 -07:00
Alexandre Poirot 1547bc9607 Bug 1444132 - Fix stylesheet retrieval from network monitor with the new setup. r=jryans
MozReview-Commit-ID: 3pNu1zeuSwz

--HG--
extra : rebase_source : a5435699f6d7871591b6d801dfba389105457c39
2018-07-16 09:48:29 -07:00
Alexandre Poirot 213dcb3ad6 Bug 1444132 - HSTS redirections now have stack traces. r=jryans
MozReview-Commit-ID: K3CmO15cvKA

--HG--
extra : rebase_source : e2c61ae97c8847de598a09e592b7b98ed56829f0
2018-07-16 09:00:38 -07:00
Alexandre Poirot c060f7dcf0 Bug 1444132 - Fix stacktrace support with the new setup. r=jryans
MozReview-Commit-ID: 1g5TU9yoj0E

--HG--
extra : rebase_source : ae5f3a8ba4aad8bc1d35a3570bf8856de17e6b02
2018-07-16 10:05:22 -07:00
Cosmin Sabou 8e28811008 Merge mozilla-central to mozilla-inbound. a=merge 2018-08-02 16:15:22 +03:00
sole ab37a52582 Bug 1479482 - Use correct property value for markerUnits attribute. r=ladybenko
MozReview-Commit-ID: qBfpmZt7i6

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

--HG--
extra : moz-landing-system : lando
2018-08-02 10:20:09 +00:00