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

674646 Коммитов

Автор SHA1 Сообщение Дата
Razvan Caliman e254f1c45f Bug 1587815 - Remove expired telemetry probe for counting node picker invocations. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D48863

--HG--
extra : moz-landing-system : lando
2019-10-10 15:21:43 +00:00
Daniel Varga f9d0bd170e Backed out 5 changesets (bug 1573798) for toolchain bustage. On a CLOSED TREE
Backed out changeset de299b36996e (bug 1573798)
Backed out changeset 7f809ca2c1cf (bug 1573798)
Backed out changeset 572b15a3c3d4 (bug 1573798)
Backed out changeset c189a8ad1be4 (bug 1573798)
Backed out changeset 0c7029e7a7bd (bug 1573798)

--HG--
extra : amend_source : bd137e77c62c91267cab77a5c12f2b7879c15046
2019-10-10 18:15:04 +03:00
James Graham 92b801a8d0 Bug 1587109 - Set initial fx_android run_info_extras from firefox desktop, r=ato
Differential Revision: https://phabricator.services.mozilla.com/D48559

--HG--
extra : moz-landing-system : lando
2019-10-09 10:54:07 +00:00
ffxbld 8d4072c53b No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D48836

--HG--
extra : moz-landing-system : lando
2019-10-10 14:38:00 +00:00
Andreas Tolfsen f9d727b76d bug 1573798: geckodriver: release geckodriver 0.26.0; r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D48698

--HG--
extra : moz-landing-system : lando
2019-10-10 14:33:06 +00:00
Andreas Tolfsen 5b5681a893 bug 1573798: geckodriver: update changelog for 0.26.0; r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D48697

--HG--
extra : moz-landing-system : lando
2019-10-10 14:33:41 +00:00
Andreas Tolfsen f9a1095a7b bug 1573798: geckodriver: update support matrix for 0.26.0; r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D48696

--HG--
extra : moz-landing-system : lando
2019-10-10 14:32:58 +00:00
Andreas Tolfsen 10c06cbc37 bug 1573798: geckodriver: redirect moz:firefoxOptions docs to MDN; r=webdriver-reviewers,whimboo
We duplicate the documentation for moz:firefoxOptions between
firefox-source-docs.m.o and MDN.  This redirects users to look at MDN.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 14:32:52 +00:00
Andreas Tolfsen 4fc91704ce bug 1573798: geckodriver: sync note from GitHub to changelog; r=webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D48694

--HG--
extra : moz-landing-system : lando
2019-10-10 14:32:49 +00:00
Alessio Placitelli 13ffdddf61 Bug 1587706 - Document how to add scalars for streaming telemetry. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D48813

--HG--
extra : moz-landing-system : lando
2019-10-10 14:26:37 +00:00
Brian Hackett 6c0fd8c472 Bug 1586359 Part 2 - Attach webconsole client to new content processes when using ODB, r=nchevobbe.
Depends on D48245

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

--HG--
extra : moz-landing-system : lando
2019-10-10 14:24:55 +00:00
Brian Hackett a89d3df4e8 Bug 1586359 Part 1 - Update debugger client when process list changes, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D48245

--HG--
extra : moz-landing-system : lando
2019-10-10 14:23:52 +00:00
Mike Conley 51b7a87654 Bug 1585769 - Create a fresh <video> element for the Picture-in-Picture player window rather than cloning the original element. r=JSON_voorhees
Cloning the original node was needed when we needed the MediaInfo copied over, but
HTMLVideoElement::CloneElementVisually copies it over for us, so we can create a
fresh <video> element. This should also be a much healthier thing to do
security-wise, since we're not cloning strange nodes from the web.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 13:57:48 +00:00
Razvan Caliman 77daa88970 Bug 1572651 - (Part 3) Add option for highlighters to get node position without scroll offsets. r=pbro
Depends on D47092

Given that the highlighter rendering surface is sized to the viewport of the inspected page (as opposed to the whole document), we need a way to ignore scroll offsets when getting data about the node position so the highlighter doesn't get drawn off-screen.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 14:15:03 +00:00
Razvan Caliman 780c3bc0b5 Bug 1572651 - (Part 2) Split BoxModelHighlighter into observer and renderer parts. r=pbro,jdescottes
NOTE: To use the new box model highlighter, flip this pref to true: `devtools.inspector.use-new-box-model-highlighter`

Adding Julian as reviewer to check the sanity of the communication system (see `BoxModelHiglighterObserver` constructor and `BoxModelHighlighterRenderer.setMessageManager()`, `BoxModelHighlighterRenderer.onMessage()`,  `BoxModelHighlighterRenderer.postMessage()`) and Patrick for the overall highlighter behavior which is mostly a clean split of the existing [`BoxModelHighlighter`](https://searchfox.org/mozilla-central/rev/f43ae7e1c43a4a940b658381157a6ea6c5a185c1/devtools/server/actors/highlighters/box-model.js)).

---

Depends on D47091

## Preamble

This patch looks more frightening than it actually is. Let me explain:

The vast majority of the code in `box-model-highlighter-observer.js` and `box-model-highlighter-renderer.js` is a clean split of the code existing in `box-model-highlighter.js` into distinct parts which handle the node measurement (observer) and the drawing the highlighter (renderer). I kept the method names identical to help in matching them up with their original sources.

There was no simple way chunk this without confusing the daylight out of you so I decided to co-locate all changes so it's easier to track and reference methods.

I will detail below the important differences.


## Overview:

The box model highlighter is split into two distinct parts:
- an observer which monitors the node's position
- a renderer which draws the highlighter on top of the node

The renderer always lives in the parent process (browser window) and overlays an iframe with the highlighter markup:
- either over the content if highlighting in the context of the content toolbox
- or over the whole browser UI if highlighting in the context of the browser toolbox

When in the context of the browser toolbox (i.e. highlighting the browser UI), both observer and renderer live in the parent process. Communication is done by direct calls.

When in the context of the content toolbox (i.e. highlighting the page content), the observer lives in content process (so it can measure the node) while the renderer lives in the parent process. Communication is done by message passing via `MessageManager` (soon to be deprecated and replaced with JSWindowActor API)

## Notable differences after the split

- the observer checks whether it is in the content process (aka child process) and sets up the highlighter in the parent process by using [`setupInParent()`](https://docs.firefox-dev.tools/backend/actor-e10s-handling.html) and establishes a communication system to it via message manager. If the observer is in the parent process (browser toolbox scenario), the renderer is setup directly via its constructor and no additional communication system is required.

- whenever the node quads change (as determined by the untouched existing base class `auto-refresh.js`), the observer gathers the data about the node position and sends it over to the renderer. This happens in the `BoxModelHighlighterObserver._update()` (corresponding to the [`_update()` from the existing highlighter](https://searchfox.org/mozilla-central/rev/45f30e1d19bde27bf07e47a0a5dd0962dd27ba18/devtools/server/actors/highlighters/box-model.js#361-383)).

- the renderer expects its `render()` method to be called with the necessary node position information whenever it should update the highlighter. It is the entry point which then calls all the DOM manipulation methods copied over from the existing box model highlighter.

- the only notable change in DOM manipulation methods is in `BoxModelHighlighterRenderer._updateBoxModel()` (corresponding to [`updateBoxModel()` from the existing highlighter](https://searchfox.org/mozilla-central/rev/45f30e1d19bde27bf07e47a0a5dd0962dd27ba18/devtools/server/actors/highlighters/box-model.js#504-560)) where the `_nodeNeedsHighlighting()` is kept on the observer part and the canvas zoom adjustment is removed  (`this.markup.scaleRootElement(this.currentNode, rootId)`) because the canvas is no longer influenced by the page zoom (the canvas lives in the browser window, not the content window)

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

--HG--
rename : devtools/server/actors/highlighters/box-model.js => devtools/server/actors/highlighters/box-model-renderer.js
extra : moz-landing-system : lando
2019-10-10 14:15:22 +00:00
Razvan Caliman c34e4a24a6 Bug 1572651 - (Part 1) Add highlighter renderer base class r=jdescottes,pbro,bgrins
**Update October 8**
 To use the new box model highlighter, flip this pref to true:
`devtools.inspector.use-new-box-model-highlighter`

---

Adding Julian as reviewer to check the sanity of the communication system and Patrick for the overall highlighter behavior.

---

This patch adds a base class for the renderer part of highlighters which is set up on the parent process in the browser window.
This is used by the `BoxModelHighlighterRender` introduced by D47092

`HighlighterRenderer.init()` will create an HTML iframe and inject it to the appropriate position in the browser window in order to serve as a rendering surface for highlighters of the inspected page content (content toolbox) or the browser UI (browser toolbox). A host iframe is used until [Bug 1492582](https://bugzilla.mozilla.org/show_bug.cgi?id=1492582) is fixed because the browser window is XUL and does not support the anonymous canvas frame used by existing highlighters.

The primary use case of `HighlighterRenderer` is as a base class for renderers which live in a separate process than the observers. This happens with highlighters for the content toolbox. Therefore, it provides methods to setup a communication system (via MessageManager for now) whereby the observer can send messages to the renderer and vice-versa: `setMessageManager()`, `postMessage()` and `onMessage()`.

I used the existing code from [`AccessibilityParent`](https://searchfox.org/mozilla-central/source/devtools/server/actors/accessibility/accessibility-parent.js) as a reference for this.

Classes that extend HighlighterRenderer must implement:
 - a typeName representing the highlighter type; used to differentiate between other types of messages when the Message Manager is used;
 - a _buildMarkup() method to generate the highlighter markup;
 - a `render()` method to update the highlighter markup when given new information about the observed node.

NOTE: A temporary pink outline is set on the highlighter surface as a quick visual check to show its extent depending on context: browser toolbox or content toolbox. This will be removed before landing.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 14:13:23 +00:00
Alexander Surkov ba43684bbe Bug 1587791 - remove XBL backed accessible relations support r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D48840

--HG--
extra : moz-landing-system : lando
2019-10-10 14:08:17 +00:00
Julian Descottes 3ee99df695 Bug 1586819 - Add DevTools command button to show the currently enabled devtools-fission prefs r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48367

--HG--
extra : moz-landing-system : lando
2019-10-10 13:00:03 +00:00
Chris H-C 366d97eb43 Bug 1579522 - Don't trigger a "modules" ping in the first session r=janerik,aklotz
Unless the interval is set to 0. We use that in testing, and should let the
initial timer fire happen in that case.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 13:45:30 +00:00
Chris H-C 0037974a9f Bug 1579522 - Allow skipping first update timer interval r=kmag
The UpdateTimerManager has an undocumented behaviour for firing its listeners
very soon after first registration (about 10min into the first session).

Let's document that behaviour, and make it optional.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 20:18:55 +00:00
Harry Twyford 0733410a0c Bug 1583535 - The Megabar should not expand when auto-focused after a panel is closed. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D48114

--HG--
extra : moz-landing-system : lando
2019-10-10 13:51:26 +00:00
Coroiu Cristina a566f56c8b Backed out changeset 0274289bd7b8 (bug 1587633) for build bustage on a CLOSED TREE
--HG--
rename : toolkit/components/extensions/test/xpcshell/data/file_csp.html => toolkit/components/extensions/test/mochitest/file_csp.html
rename : toolkit/components/extensions/test/xpcshell/data/file_csp.html^headers^ => toolkit/components/extensions/test/mochitest/file_csp.html^headers^
2019-10-10 16:47:09 +03:00
Marco Vega 6cecf45003 Bug 1587200 - Allow Escape key to close autocomplete popup in Style Editor. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48613

--HG--
extra : moz-landing-system : lando
2019-10-10 06:30:34 +00:00
Marian Raiciof 5cdb1a99dc Bug 1572411 - Investigate JetStream2 perma-fail on Windows 10 AArch64 opt platform r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D47733

--HG--
extra : moz-landing-system : lando
2019-10-10 13:17:50 +00:00
Tomislav Jovanovic c1ea1e79a3 Bug 1587633 - Move test_web_accessible_resources_csp to an xpcshell test r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D48779

--HG--
rename : toolkit/components/extensions/test/mochitest/file_csp.html => toolkit/components/extensions/test/xpcshell/data/file_csp.html
rename : toolkit/components/extensions/test/mochitest/file_csp.html^headers^ => toolkit/components/extensions/test/xpcshell/data/file_csp.html^headers^
rename : toolkit/components/extensions/test/mochitest/test_ext_web_accessible_resources.html => toolkit/components/extensions/test/xpcshell/test_ext_web_accessible_resources.js
extra : moz-landing-system : lando
2019-10-10 12:59:32 +00:00
Dan Minor cb833e8387 Bug 1587159 - Fix undefined shift in g722_encode.c; r=ng
Left shifting a negative value results in undefined behaviour. It is safer to
multiply in this case.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 20:12:28 +00:00
Honza Bambas aecbce4537 Bug 1586845, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D48395

--HG--
extra : moz-landing-system : lando
2019-10-09 15:58:18 +00:00
Henrik Skupin 8c0d25331a Bug 1484927 - [marionette] Temporary skip TestBackForwardNavigation.test_data_urls. r=webdriver-reviewers,ato
Maybe this test causes crashes of Firefox in [@ mozilla::ShutdownXPCOM(nsIServiceManager*)].
Due to the low intermittent rate lets get it temporarily disabled for further investigation
by next week.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:32:40 +00:00
Emilio Cobos Álvarez 2dda92f210 Bug 1587468 - Update headers_derive to v0.1.1. r=ato
This is only used by webdriver.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:31:14 +00:00
dennisschagt 67d3f0e9f3 Bug 1553835 - Set GTK window hint to make PIP window floating r=stransky
I believe the GDK_WINDOW_TYPE_HINT_UTILITY [1] makes the most sense,
especially when looking at the description of the related
_NET_WM_WINDOW_TYPE_UTILITY [2].

This works well in i3-wm.

[1] https://developer.gnome.org/gdk3/stable/gdk3-Windows.html#GdkWindowTypeHint
[2] https://specifications.freedesktop.org/wm-spec/wm-spec-1.3.html#idm140130317606816

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:00:32 +00:00
Julian Descottes 1a09ebdd96 Bug 1587502 - Do not override the wait global in netmonitor tests r=Honza
Small cleanup of tests overriding a shared helper defined as a global.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 11:32:07 +00:00
Valentin Gosu f167db7f11 Bug 1587604 - Check if loadingPrincipal is null before doing cross-origin check r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D48821

--HG--
extra : moz-landing-system : lando
2019-10-10 11:20:03 +00:00
Coroiu Cristina ab9ca2b438 Backed out changeset 98303502c7a8 (bug 1534702) on request by whimboo on a CLOSED TREE
--HG--
extra : amend_source : 76e2a74648d3a0ebac57112326916cfa4ae8843e
2019-10-10 14:03:59 +03:00
Henrik Skupin 05cf7ade0e Bug 1534702 - Release marionette_driver 3.0.0 and marionette_harness 5.0.0. r=webdriver-reviewers,ato
This will be the last public release of both packages on PyPI.
See the announcement from January this year:

https://groups.google.com/forum/#!topic/mozilla.tools.marionette/s6_03Qt2ubc

If both packages are still required by tools, they would have to
be self-built by a checkout of mozilla-central.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:32:02 +00:00
Gerald Squelart d24177fe2a Bug 1587332 - Encapsulate ActivePS::mProfileBuffer as a ProfileBuffer value - r=canaltinova
Having `mProfileBuffer` be a pointer is not really helpful:
- The pointer is never null (It's allocated on ActivePS construction, and
  implicitly deleted on ActivePS destruction); it's never moved-from.
- It requires an extra `new` and an extra `delete`.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:52:09 +00:00
Gerald Squelart dff1750481 Bug 1587329 - MOZ_ASSERT(sInstance) in all functions that dereference sInstance - r=canaltinova
Add assertions that all `sInstance` pointers (from both `CorePS` and `ActivePS`)
are not null before being dereferenced.

This is probably more than needed, but it's only `MOZ_ASSERT`s limited to
Nightly, and it should give better feedback in case something goes wrong.

Eventually, I think it would be better to make most methods non-static, and have
a checked reference-to-instance getter.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:51:50 +00:00
Sebastian Streich dfdd58ed51 Bug 1587448 enable XTCO-nosniff by default r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D48709

--HG--
extra : moz-landing-system : lando
2019-10-09 17:24:33 +00:00
Daniel Varga bcf3bddec6 Backed out changeset 6294022e7f66 (bug 1586819) for devtools failure at devtools/client/framework/test/browser_toolbox_options_disable_buttons.js. On a CLOSED TREE 2019-10-10 13:18:41 +03:00
Mustafa b421ef7727 Bug 1582719 - Hide the Waterfall column when left side bar opens. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D48529

--HG--
extra : moz-landing-system : lando
2019-10-10 10:10:15 +00:00
Sam Foster 37d7c73123 Bug 1587416 - Ensure signon.includeOtherSubdomainsInLookup is true when testing subdomain form fill/autocomplete behavior. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D48789

--HG--
extra : moz-landing-system : lando
2019-10-10 10:09:50 +00:00
Emilio Cobos Álvarez 24a26b3b97 Bug 1587368 - Revert ccov bustage workaround now that builds have been updated.
Differential Revision: https://phabricator.services.mozilla.com/D48814

--HG--
extra : moz-landing-system : lando
2019-10-10 09:44:19 +00:00
Emilio Cobos Álvarez e485303264 Bug 1587661 - Really minor cleanup to the scroll anchoring suppression code. r=dholbert
Should have no behavior change, just moving the code a bit together.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 07:06:08 +00:00
sotaro 2df9cdb3b4 Bug 1587695 - Fix redundant SwapChain re-creation r=nical
Since Bug 1570879, SwapChain is created with alpha at first, then the SwapChain is typically re-created at first RenderCompositorANGLE::BeginFrame() calle, since non Glass window is common since Windows 10. The re-creation is redundant.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 08:58:00 +00:00
Julian Descottes 62e5fd78b1 Bug 1586819 - Add DevTools command button to show the currently enabled devtools-fission prefs r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D48367

--HG--
extra : moz-landing-system : lando
2019-10-10 08:15:55 +00:00
Erica Wright 66f7bcab3e Bug 1586882 - Add params to lockwise and proxy links from protection report. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D48582

--HG--
extra : moz-landing-system : lando
2019-10-10 08:06:58 +00:00
Lars T Hansen 40b73e3661 Bug 1586252 - Adapt to spec change for src/dest idx for table.copy/memory.copy. r=rhunt
Because implementations were not in agreement about this and the spec
informally called for src-before-dest, the spec was changed to
correspond to the dynamic and canonical operand order:
dest-before-src.  So we adapt to this.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 13:44:55 +00:00
Daniel Varga b285b016fb Backed out changeset 3a52a67311e2 (bug 1580602) to reland with part2 and part3 2019-10-10 10:22:51 +03:00
Chun-Min Chang 8f0d0a884e Bug 1580602 - P1: Implement a blank MediaSession interface. r=bzbarsky
Create dummy implementations for the MediaSession interfaces. The files
are generated by running `./mach webidl-example` with necessary changes
to make it buildable.

The internal implementations are blank in this patch. They will be done
in the following patches.

Due to some spec issues, the final implementations only support some
basic operations like "play" and "pause".

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

--HG--
extra : moz-landing-system : lando
2019-10-09 21:14:49 +00:00
Alok Nikhil 7b15e6f065 Bug 1586440 - Use BytecodeLocation and BytecodeIterator in js::jit::AnalyzeBytecodeForIon, r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D48301

--HG--
extra : moz-landing-system : lando
2019-10-10 00:02:36 +00:00
Gurzau Raul 5542cedd05 Backed out 4 changesets (bug 1102175) for Android reftest failures at font-inflation-1a.html
Backed out changeset 33914610f60f (bug 1102175)
Backed out changeset 004a0cb8af9f (bug 1102175)
Backed out changeset 2ac28b335c3c (bug 1102175)
Backed out changeset 50b041e06f23 (bug 1102175)
2019-10-10 07:40:38 +03:00