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

18673 Коммитов

Автор SHA1 Сообщение Дата
Mellina Y. fb02c26915 Bug 1581119 - Flex highlighter doesn't adjust color of pattern r=gl
Differential Revision: https://phabricator.services.mozilla.com/D47534

--HG--
extra : moz-landing-system : lando
2019-12-06 18:27:04 +00:00
Daniel Varga 8da304490f Backed out changeset 4a143f845921 (bug 1598893) for causing mochitest-chrome failures at devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html. On a CLOSED TREE 2019-12-06 20:38:07 +02:00
Brian Hackett 65fe862c43 Bug 1596933 - Show both waiting and active workers in threads pane, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D54213

--HG--
extra : moz-landing-system : lando
2019-12-06 18:08:18 +00:00
Brian Hackett bc2410dd5a Bug 1596929 - Show inactive service workers in threads pane, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D53281

--HG--
rename : devtools/client/debugger/test/mochitest/examples/service-worker.js => devtools/client/debugger/test/mochitest/examples/service-worker.sjs
extra : moz-landing-system : lando
2019-12-06 18:08:18 +00:00
Nicolas Chevobbe be0074e600 Bug 1601642 - Add a emitForTests methods to event-emitter.js. r=rcaliman.
This methods is then used in Netmonitor and Animation
panel, where we already had similar functions.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 16:55:50 +00:00
Micah Tigley 50f8e95cc3 Bug 1598893 - Add check for elements absolutely positioned within a grid container. r=pbro,miker
This revision removes false positives for absolutely-positioned elements using grid item properties. It doesn’t solve identifying an absolutely positioned element in a grid container since this issue would require more consideration when finding the element’s containing block to make it work.  For now, inactive CSS will invalidate a grid item property if the element is not a grid item and is not absolutely positioned.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 10:16:20 +00:00
Daisuke Akatsuka 109da965cb Bug 1600183: Disable non test mouse event. r=jdescottes,pbro
Differential Revision: https://phabricator.services.mozilla.com/D56176

--HG--
extra : moz-landing-system : lando
2019-12-06 13:34:15 +00:00
Sebastian Hengst 0b50d220ec Bug 1543156 - Enable devtools/server/tests/unit/test_addon_events.js on Windows 32-bit. a=try DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D56181

--HG--
extra : moz-landing-system : lando
2019-12-06 12:02:27 +00:00
Razvan Caliman d7c19f5289 Bug 1598109 - Ensure default center values are used for ellipse basic shape; r=pbro
Accidentally missed to use the fallback value "closest-side closest-side" when needed. Fixed now.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 08:07:51 +00:00
Gabriele Svelto 69790bc62e Bug 1600545 - Remove useless inclusions of header files generated from IDL files in accessible/, browser/, caps/, chrome/, devtools/, docshell/, editor/, extensions/, gfx/, hal/, image/, intl/, ipc/, js/, layout/, and media/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

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

--HG--
extra : moz-landing-system : lando
2019-12-06 09:16:44 +00:00
Nicolas Chevobbe f1a4462864 Bug 1601244 - Fix stub generator intermittent. r=jdescottes.
Due to the caching mechanism we had, running tests more than
once would fail because the Fronts of the first run were released,
which means the actorID of the cached object was set to null.
We simply remove this cache mechanism as it doesn't appear to
be needed at all for the test to pass.
We also freeze the console once we have all the packets
we need, so there won't be any further communication with
the server.
Finally we add test-console-api.html to the support files so
we don't get a 404 anymore.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 08:53:50 +00:00
Nicolas Chevobbe 21d337d56d Bug 1601630 - Remove WebConsoleUI evaluateJSAsync. r=jlast.
This method was directly using the main target console front
to evaluate something, which could cause issue in a fission
world.
The function is moved to the WebConsole class, and calls commands
evaluateJSAsync, in which we retrieve the appropriate front
given the given options object (e.g. if there's a selecteObjectActor,
we'll talk to the target that hold the actor).

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

--HG--
extra : moz-landing-system : lando
2019-12-06 08:29:20 +00:00
Julian Descottes f8334779ce Bug 1600809 - Wait after moving window in devtools tooltip tests to avoid failures on ubuntu1804 r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D55787

--HG--
extra : moz-landing-system : lando
2019-12-06 06:59:28 +00:00
Jason Laster 93b2a3131f Bug 1599215 - Watchpoints do not work as expected after close Dev Tools. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D56053

--HG--
extra : moz-landing-system : lando
2019-12-05 23:05:29 +00:00
Jason Laster 098b9570d6 Bug 1599882 - Memoize tabs selectors. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D55015

--HG--
extra : moz-landing-system : lando
2019-12-06 01:53:12 +00:00
Jason Laster fba37573dd Bug 1599177 - Watchpoints - After click Refresh option JS execution cannot pause anymore. r=bhackett
Differential Revision: https://phabricator.services.mozilla.com/D56041

--HG--
extra : moz-landing-system : lando
2019-12-05 23:30:51 +00:00
Harald Kirschner 8643fa630b Bug 1599270 - Updated DevTools What's New content for Firefox 72 r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D55750

--HG--
extra : moz-landing-system : lando
2019-12-05 23:29:07 +00:00
Brian Hackett c3c8b4c388 Bug 1600979 - Ignore exceptions from getFrames call when thread context is invalid, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D55692

--HG--
extra : moz-landing-system : lando
2019-12-05 23:13:42 +00:00
Michael Ratcliffe 8fec672a52 Bug 1599409 - Fix scrolling at narrow widths in the Fonts View r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D54780

--HG--
extra : moz-landing-system : lando
2019-12-05 14:35:50 +00:00
Greg Tatum f70625dc40 Bug 1597376 - Implement the new about:profiling page; r=julienw
This patch adds a new context for the performance-new components. It's
eventually the only place where the settings will live, but for now
the components share the settings between the popup, the devtools panel,
and the about:profiling page.

This page uses the base styling that the preferences page uses. The styles
should obey the theming for the browser, and ignore the devtools theming
colors.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:42:35 +00:00
Greg Tatum b59fc045d3 Bug 1597376 - Make the summary dropdowns conditional in the profiler settings; r=julienw
This is probably the biggest change to the existing components, as it makes the
summary dropdowns conditional based on the page context. This keeps the old
workflow working, but allows for the new about:profiling page's design. Most
of the diff here is creating the new _renderSection method which consolidates
this logic, and also handles the summary div structure.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:39:22 +00:00
Greg Tatum 0955f88f7b Bug 1597376 - Change the isPopup flag to a PageContext; r=julienw
The new about:profiling page creates some more complexity around what
the page context is. It is simpler to handle the different cases with
a union, rather than booleans.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:39:07 +00:00
Greg Tatum bfa25deee0 Bug 1597376 - Break out profiler event handling into a separate component; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D55007

--HG--
rename : devtools/client/performance-new/components/Perf.js => devtools/client/performance-new/components/DevToolsAndPopup.js
extra : moz-landing-system : lando
2019-12-05 17:38:52 +00:00
Greg Tatum 90d9086cc8 Bug 1598320 - Add types to the performance-new components; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D54771

--HG--
extra : moz-landing-system : lando
2019-12-05 17:38:38 +00:00
Greg Tatum 24b52aed54 Bug 1597373 - Create a minimal about:profiling page; r=jdescottes,mconley
This commit is fairly trivial, but creates the about:profiler page to
start the new about:profiler work.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 17:38:25 +00:00
Yura Zenevich b0376a86df Bug 1582409 - ensure that we handle SVGs with role=img correctly when running text-label checks. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D55976

--HG--
extra : moz-landing-system : lando
2019-12-05 16:21:23 +00:00
Noemi Erli 813cd66e92 Backed out 6 changesets (bug 1597373, bug 1598320, bug 1597376) for causing assertion failure in nsContentSecurityUtils.cpp CLOSED TREE
Backed out changeset abb73036e3ae (bug 1597376)
Backed out changeset a0076bbce8f9 (bug 1597376)
Backed out changeset 76055c79cada (bug 1597376)
Backed out changeset 145bc8015c6c (bug 1597376)
Backed out changeset fa0278f155ef (bug 1598320)
Backed out changeset 32711edf1baf (bug 1597373)

--HG--
rename : devtools/client/performance-new/components/DevToolsAndPopup.js => devtools/client/performance-new/components/Perf.js
2019-12-05 19:11:24 +02:00
Micah Tigley 09f3dec0d2 Bug 1585100 - Make sure text in embedded RDM has dark theme styling r=gl
Overall, the new RDM is using dark theme styling as before. The only exception is the text in the actual toolbar React component, which seems to default to using light theme colors. This revision applies a CSS variable `theme-body-color` to the toolbar's document body to toggle between dark/light theme colors for text.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 21:20:46 +00:00
Greg Tatum 2ade1a1b96 Bug 1597376 - Implement the new about:profiling page; r=julienw
This patch adds a new context for the performance-new components. It's
eventually the only place where the settings will live, but for now
the components share the settings between the popup, the devtools panel,
and the about:profiling page.

This page uses the base styling that the preferences page uses. The styles
should obey the theming for the browser, and ignore the devtools theming
colors.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 22:23:46 +00:00
Greg Tatum c29911fdb8 Bug 1597376 - Make the summary dropdowns conditional in the profiler settings; r=julienw
This is probably the biggest change to the existing components, as it makes the
summary dropdowns conditional based on the page context. This keeps the old
workflow working, but allows for the new about:profiling page's design. Most
of the diff here is creating the new _renderSection method which consolidates
this logic, and also handles the summary div structure.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 22:23:31 +00:00
Greg Tatum 6cba996a44 Bug 1597376 - Change the isPopup flag to a PageContext; r=julienw
The new about:profiling page creates some more complexity around what
the page context is. It is simpler to handle the different cases with
a union, rather than booleans.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 22:23:17 +00:00
Greg Tatum 805e67f354 Bug 1597376 - Break out profiler event handling into a separate component; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D55007

--HG--
rename : devtools/client/performance-new/components/Perf.js => devtools/client/performance-new/components/DevToolsAndPopup.js
extra : moz-landing-system : lando
2019-12-04 22:23:02 +00:00
Greg Tatum 086d2b5725 Bug 1598320 - Add types to the performance-new components; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D54771

--HG--
extra : moz-landing-system : lando
2019-12-04 22:22:42 +00:00
Greg Tatum 246f170a3d Bug 1597373 - Create a minimal about:profiling page; r=jdescottes,mconley
This commit is fairly trivial, but creates the about:profiler page to
start the new about:profiler work.

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

--HG--
extra : moz-landing-system : lando
2019-12-04 22:22:30 +00:00
Patrick Brosset 8eaec07a8d Bug 1601219 - Use the right PageStyleFront instance when querying computed styles from the color picker; r=rcaliman
It looks like we left out some places in the inspector when we made it fission-compatible.
The color-picker, in particular, needs access to the selected node's computed style for its
color contrast logic.
We used to access this on the top-level target PageStyleFront. We just need to change this so
it uses the one contextual to the selected node.

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

--HG--
extra : moz-landing-system : lando
2019-12-05 14:04:57 +00:00
Julian Descottes 81e34d9437 Bug 1600333 - Remove all tags = clipboard from the codebase r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D55305

--HG--
extra : moz-landing-system : lando
2019-12-05 11:07:10 +00:00
Julian Descottes 00ecd06c21 Bug 1600185 - Fix DevTools inplace editor single line mode detection r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D55847

--HG--
extra : moz-landing-system : lando
2019-12-05 11:08:16 +00:00
Michael Ratcliffe f1c47b5478 Bug 1597890 - [Storage] Don't log an error if private field headers are not localized r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D55935

--HG--
extra : moz-landing-system : lando
2019-12-05 10:50:41 +00:00
Michael Ratcliffe feebcdd788 Bug 1599408 - Fix scrolling at narrow widths in the Changes View r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D55654

--HG--
extra : moz-landing-system : lando
2019-12-03 14:53:59 +00:00
Daisuke Akatsuka cc09f182eb Bug 1589178: Use TargetList api for markup view. r=jdescottes,rcaliman
Depends on D54872

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

--HG--
extra : moz-landing-system : lando
2019-12-05 09:19:52 +00:00
Logan Smyth 5b6b224f2a Bug 1592431 - Part 1: Rename Debugger.Frame.prototype.live to .onStack. r=jimb
Differential Revision: https://phabricator.services.mozilla.com/D54488

--HG--
rename : js/src/jit-test/tests/debug/Frame-live-01.js => js/src/jit-test/tests/debug/Frame-onStack-01.js
rename : js/src/jit-test/tests/debug/Frame-live-02.js => js/src/jit-test/tests/debug/Frame-onStack-02.js
rename : js/src/jit-test/tests/debug/Frame-live-03.js => js/src/jit-test/tests/debug/Frame-onStack-03.js
rename : js/src/jit-test/tests/debug/Frame-live-04.js => js/src/jit-test/tests/debug/Frame-onStack-04.js
rename : js/src/jit-test/tests/debug/Frame-live-05.js => js/src/jit-test/tests/debug/Frame-onStack-05.js
rename : js/src/jit-test/tests/debug/Frame-live-06.js => js/src/jit-test/tests/debug/Frame-onStack-06.js
rename : js/src/jit-test/tests/debug/Frame-live-07.js => js/src/jit-test/tests/debug/Frame-onStack-07.js
extra : moz-landing-system : lando
2019-12-05 04:28:00 +00:00
Jonathan Kew c66ada7245 Bug 770780 - Enable CSS text-underline-position property on Nightly builds. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54724

--HG--
extra : moz-landing-system : lando
2019-12-04 11:37:25 +00:00
Jonathan Kew 3b87f01682 Bug 770780 - Add support for parsing of the CSS text-underline-position property. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D54722

--HG--
extra : moz-landing-system : lando
2019-12-04 11:39:15 +00:00
Micah Tigley 36fbdc3e9d Bug 1599635 - Return the root node if no valid iframe nodeFront can be found after a reload. r=jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D55564

--HG--
extra : moz-landing-system : lando
2019-12-04 18:52:02 +00:00
Ciure Andrei 7229b5803b Backed out 5 changesets (bug 1595154) for causing talos performance tests failures CLOSED TREE
Backed out changeset 498f750ed88a (bug 1595154)
Backed out changeset 45481561c120 (bug 1595154)
Backed out changeset 8ca3c106fc8d (bug 1595154)
Backed out changeset 7ffa8f958d0a (bug 1595154)
Backed out changeset 444505b4936b (bug 1595154)

--HG--
rename : browser/extensions/formautofill/FormAutofillChild.jsm => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2019-12-04 21:07:05 +02:00
Brian Hackett bb5b75599f Bug 1594617 - Watch for missing targets, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D55657

--HG--
extra : moz-landing-system : lando
2019-12-04 16:55:34 +00:00
Coroiu Cristina 19afee19fd Backed out changeset 55171ff3d0f3 (bug 1600979) for devtools failures at devtools/client/debugger/test/mochitest/browser_dbg-event-breakpoints.js on a CLOSED TREE 2019-12-04 19:14:31 +02:00
Brian Hackett ced26dd8f6 Bug 1596934 - Fix attaching to inactive service workers, r=jdescottes.
Differential Revision: https://phabricator.services.mozilla.com/D53280

--HG--
extra : moz-landing-system : lando
2019-12-04 16:22:28 +00:00
Micah Tigley 4be2734cca Bug 1595800 - Part 4: Update RDM to use setRDMPaneOrientation from BrowsingContext r=bradwerth
Depends on D55002

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

--HG--
extra : moz-landing-system : lando
2019-12-04 14:58:20 +00:00
Neil Deakin 0fe11bd612 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-04 11:45:10 +00:00