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

9190 Коммитов

Автор 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 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
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
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 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
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
Nicolas Chevobbe f9ab7b5c1a Bug 1478435 - Apply photon-styling to autocomplete popup; r=nchevobbe.
This removes the border-radius from the autocomplete popup (and
its items) and refines the spacing.
Since we have more padding for the autocomplete items, we need
to adjust the xOffset when showing the popup.
The yOffset of the webconsole autocomplete is tweaked a bit so
we see its border; the xOffset of the markup search input is also
tweaked to consider the left padding we use to display the search
icon in the input.

MozReview-Commit-ID: JyLySLBUgGy

--HG--
extra : rebase_source : 04d0e1335447c576f7e23f4b8a2280337695ac46
2018-07-26 09:08:10 +02:00
Noemi Erli 048f87627e Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-02 12:03:09 +03:00
Noemi Erli 8f66a71e70 Merge inbound to mozilla-central. a=merge 2018-08-02 11:54:46 +03:00
Daisuke Akatsuka 2807285aac Bug 1477596: Show runtime information. r=jdescottes
MozReview-Commit-ID: 5j7HTlGW9x9

--HG--
extra : rebase_source : e4024da179fb84c640fb29360442755d68cc6c42
2018-08-02 17:44:52 +09:00
Tiberius Oros a03b02ae6e Backed out changeset 6e508c907238 (bug 1479812) for browser_dbg-sourcemapped-breakpoint-console.js failures on a CLOSED TREE 2018-08-02 01:59:35 +03:00
dvarga 956d57e7f2 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-08-02 01:26:29 +03:00
Jason Laster a5123cc2d3 Bug 1479812 - Update Debugger Frontend v77. r=dwalsh 2018-08-01 17:25:39 -04:00
Mantaroh Yoshinaga e0d6bff4a9 Bug 1477862 - Add white-space property into tooltip's label. r=birtles
If the width of the devtool window is narrow, tooltip's label has a line break.
This patch will prevent it.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 05:29:22 +00:00
Brian Birtles 575af8cffc Bug 1473211 - Stop using string concatenation for string IDs in MeatballMenu; r=jdescottes
Using the full string each time, although more verbose, allows us to easily
search for string IDs and see where they are used.

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

--HG--
extra : moz-landing-system : lando
2018-08-01 13:26:53 +00:00
Brian Birtles 8da6404e4c Bug 1477354 - Add role=presentation to MenuItem wrapper element; r=Jamie
Currently we have a structure like the following:

  <div role="menu" id="toolbox-meatball-menu">
    <li class="menuitem">
      <button
        role="menuitemcheckbox"
        aria-checked="true">
        <span class="label">Dock to Bottom</span>
      </button>
    </li>
    <li class="menuitem">
      <button
        role="menuitemcheckbox">
        <span class="label">Dock to Right</span>
      </button>
    </li>
    <hr></hr>
    <li class="menuitem">
      <button
        class="command"
        role="menuitem">
        <span class="label">Documentation…</span>
      </button>
    </li>
  </div>

As a result there is an <li> wrapper element between the role="menuitem" element
at the role="menu" element. By setting role="presentation" on the <li> wrapper
we can produce a more sensible accessibility tree.

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

--HG--
extra : moz-landing-system : lando
2018-08-02 03:55:26 +00:00
Alexandre Poirot bcaadeca3f Bug 1478234 - Enable client/debugger/test/mochitest/browser_dbg_globalactor.js in e10s. r=jdescottes
MozReview-Commit-ID: 2x8ShkxXzNF

--HG--
extra : rebase_source : 24be137e7d709318b927ed8fcda7687b8b40f532
2018-07-31 11:00:09 -07:00