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

676598 Коммитов

Автор SHA1 Сообщение Дата
Brad Werth e77a903256 Bug 1561227 Part 7: Add a test of meta viewport resizing with full zoom. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D44504

--HG--
extra : moz-landing-system : lando
2019-10-24 23:43:00 +00:00
Brad Werth 3e2953244f Bug 1561227 Part 6: Rename an existing RDM zoom test in anticipation of adding related tests. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D44503

--HG--
rename : devtools/client/responsive/test/browser/browser_toggle_zoom.js => devtools/client/responsive/test/browser/browser_viewport_zoom_toggle.js
extra : moz-landing-system : lando
2019-10-24 23:43:02 +00:00
Brad Werth f1099b15a2 Bug 1561227 Part 5: Define a helper function for setting RDM zoom and use it in existing tests. r=botond
This helper function awaits the new custom event sent by the RDM pane
frame script when zooming is done, then waits for the reflow to be
complete also. After this is done, resolution and window and content
sizes all have their correct, final values.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:58 +00:00
Brad Werth 0bfdbb753a Bug 1561227 Part 4: Make RDM force the UI ZoomChild Actor to cache its zoom level. r=mconley,gl
The ZoomChild actor normally caches its full zoom level only when it is
changed, then emits a FullZoomChange event. That event causes problems
with Responsive Design Mode, which receives the event after other
similar events that carry the full zoom level of the RDM pane content.
The RDM UI pane itself always stays at 1.0 zoom. This change makes the
ZoomChild cache its initial fullZoom level as soon as possible, which
prevents the first RDM zoom change from sending the unwanted event.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:56 +00:00
Brad Werth ee1bf29b7a Bug 1561227 Part 3: Make RDM UI save and restore resolution when responding to a full zoom change. r=mtigley
This change makes the RDM content frame script listen to the new
PreFullZoomChange event, and treat that as a trigger to save the
existing resolution. The content window will send 2 resize events
as it adjusts to the new RDM pane size set by the front end. After
these events are received, the resolution is restored and a new
event is fired that indicates the work of zooming is complete.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:48 +00:00
Brad Werth 5007e7e93c Bug 1561227 Part 2: Define and fire an internal event when BrowserChild has finished resizing. r=botond,emilio
This event is useful for tests that resize the RDM pane and need to
know when all resolution adjusting effects are complete.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:52 +00:00
Brad Werth bd10652c59 Bug 1561227 Part 1: Make nsDocumentViewer send a new event before setting full zoom levels on the pres contexts. r=emilio
The PreFullZoomChange event gives listeners an opportunity to capture
state before the viewport full zoom changes. Responsive Design Mode uses
this to save and later restore the resolution of the RDM pane.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 23:42:50 +00:00
kriswright 10581910fe Bug 1591226 - Convert network.http.referer.defaultPolicy.* to static prefs r=njn
Converts network.http.referer.defaultPolicy, network.http.referer.defaultPolicy.trackers, network.http.referer.defaultPolicy.pbmode, and network.http.referer.defaultPolicy.trackers.pbmode to static prefs and updates the uses of their old mirror values.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 19:13:19 +00:00
kriswright 87eaba1b18 Bug 1591226 - Convert network.http.referer.XOriginTrimmingPolicy to static pref. r=njn
Converts network.http.referer.XOriginTrimmingPolicy to a static pref. Leverages do_not_use_directly and a getter to clamp the pref value.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 04:55:12 +00:00
kriswright 22476a1d9e Bug 1591226 - Convert network.http.referer.trimmingPolicy to static pref. r=njn
Converts network.http.referer.trimmingPolicy and leverages do_not_use_directly with a getter to clamp the value.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 04:53:08 +00:00
kriswright 45ce89e55d Bug 1591226 - Convert network.http.referer.XOriginPolicy to static pref. r=njn
Converts network.http.referer.XOriginPolicy to a static pref and leverages 'do_not_use_directly' and a getter in order to clamp the value.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 04:52:05 +00:00
kriswright 23017ea284 Bug 1591226 - Convert network.http.referer.referrerLengthLimit to static pref. r=njn
Converts network.http.referer.referrerLengthLimit to a static pref and replaces its mirror variable.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 04:25:38 +00:00
kriswright be277687fd Bug 1591226 - Convert network.http.sendRefererHeader to a static pref. r=njn
Converts network.http.sendRefererHeader to a static pref. The original mirror variable was clamped between 0 and 2, so the pref has been updated with DoNotUseDirectly and a getter.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 04:20:39 +00:00
kriswright 9ac026787f Bug 1591226 - Convert network.http.referer.hideOnionSource to a static pref. r=njn
Converts network.http.referer.hideOnionSource to a static pref and removes its mirror variable and varcache pref definition.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 04:16:29 +00:00
kriswright f634517db3 Bug 1591226 - Convert network.http.referer.spoofSource to static pref. r=njn
Converts network.http.referer.spoofSource to a static pref and removes the varcache instance and mirror variable.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 04:15:11 +00:00
Gabriel Luong 48625f2f06 Bug 1550804 - Add color scheme simulation to the inspector. r=pbro
This adds a color scheme simulation toggle button in the rules view,
which will toggle between 4 different states: default, dark, light,
and no-preference.

This feature is currently hidden away under a preference:
devtools.inspector.color-scheme-simulation.enabled

The final UI/UX still needs to be figured out, however, this initial step is
to land the ability to prototype this feature.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 19:28:02 +00:00
Cosmin Sabou 208a0cc372 Bug 1564700 - Disable test_bug949946.html on win32 and linux64. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D50415

--HG--
extra : moz-landing-system : lando
2019-10-25 18:20:07 +00:00
Andreea Pavel fac308764e Bug 1588860 - add missing quote r=emilio 2019-10-25 22:02:25 +03:00
Emilio Cobos Álvarez 0783d6c04c Bug 1590722 - Fix a test that I just wrote to handle getting a mouse over event before getting focus.
Differential Revision: https://phabricator.services.mozilla.com/D50645

--HG--
extra : moz-landing-system : lando
2019-10-25 18:40:35 +00:00
Andreea Pavel 8bda1abfa6 Bug 1588860 - invert condition in update-the-rendering.html expectancy on a CLOSED TREE r=emilio
--HG--
extra : amend_source : 4d076344e5e9d6926d043d1751e2412df400c5bf
2019-10-25 21:43:43 +03:00
Ciure Andrei c0740c9722 Backed out changeset b5095678aa15 (bug 1591446) for causing debugger-tests node to perma fail CLOSED TREE 2019-10-25 21:30:18 +03:00
Johann Hofmann c85c3306cf Bug 1590755 - Enable the new certificate viewer everywhere. r=carolina.jimenez.g
Differential Revision: https://phabricator.services.mozilla.com/D50575

--HG--
extra : moz-landing-system : lando
2019-10-25 12:46:12 +00:00
Andreea Pavel 97c04b7759 Bug 1588860 - update update-the-rendering.html expectancies r=botond,emilio
Differential Revision: https://phabricator.services.mozilla.com/D50217

--HG--
extra : moz-landing-system : lando
2019-10-25 18:09:53 +00:00
Dana Keeler bca86d27cc bug 1589824 - pass a typed array to OS.File.writeAtomic in certificate export r=Gijs
OS.File.writeAtomic expects either a utf-8 string or a typed array. This patch
fixes instances in pippki.js in certificate export where this was not
guaranteed to be the case. It also extends the test for this functionality to
cover more cases.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 17:37:20 +00:00
Brian Hackett 081b4af474 Bug 1591446 - Use right context when closing project file search, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D50620

--HG--
extra : moz-landing-system : lando
2019-10-25 17:33:28 +00:00
Andreas Farre 15dd2821c0 Bug 1575051 - Part 4: Expose JS stack access check control on FindWithName. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D49286

--HG--
extra : moz-landing-system : lando
2019-10-25 15:34:30 +00:00
Andreas Farre 6330b1de84 Bug 1575051 - Part 3: Test that nsWindowWatcher can find windows. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D48977

--HG--
extra : moz-landing-system : lando
2019-10-24 14:53:07 +00:00
Andreas Farre 5e8eaa0a0b Bug 1575051 - Part 2: Look in chrome browsing context group when docshell is missing. r=kmag
Also some minor cleanup in nsWindowWatcher, as well as a small fix,
where GetWindowByName forgot to addref its return value (as changed in
Part 1).

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

--HG--
extra : moz-landing-system : lando
2019-10-24 14:53:07 +00:00
Andreas Farre 268d5bd571 Bug 1575051 - Part 1: Remove nsIDocShellTreeItem.findItemWithName. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D46285

--HG--
extra : moz-landing-system : lando
2019-10-24 14:53:07 +00:00
Dave Townsend 61befa01e2 Bug 1590180: Remove use of `display: -moz-groupbox` and `-moz-appearance: groupbox` from the page setup dialog. r=dao
The display property appears to do nothing here and the appearance closely
matches that of a fieldset so switching to that seems to work fine.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 09:41:09 +00:00
Dana Keeler 2e5c90833c bug 1590888 - reinstate filtering of client certificate selection during the TLS handshake r=kjacobs
Bug 1267643 removed filtering of client certificates based on the
"certificate_authorities" list sent in the client certificate request from the
server in TLS handshakes because it is impossible to implement as specified
without false negatives (i.e. excluding certificates that could be usable but
don't seem to be according to the certificates the client is aware of). In
practice, however, it seems enough users rely on this behavior[0] that we
should add it back until the platform can save client certificate selections
across restarts and the "select one automatically" option is removed (see also
bug 634697).

[0] See e.g. bug 1588703, bug 1590297, bug 1590596, bug 1074195 comment 27,
and any other duplicates of this bug.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 17:11:25 +00:00
Andreea Pavel 02bbc55a55 Backed out changeset e69e9a6aa261 (bug 1491811) for failing dt at e.g. browser_inspector_textbox-menu.js on a CLOSED TREE 2019-10-25 20:18:11 +03:00
Johann Hofmann 64b16f5ca3 Bug 1590479 - Reset notification UI state for PopupNotifications doorhangers without checkbox. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D50572

--HG--
extra : moz-landing-system : lando
2019-10-25 16:27:05 +00:00
David Burns 5f68f13a19 Bug 1591400: Have Testharness.js handle errors that do not have a reason property. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D50596

--HG--
extra : moz-landing-system : lando
2019-10-25 16:27:56 +00:00
Daosheng Mu 57782480e1 Bug 1586110 - VRManager should only be called in parent process or GPU process. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D48127

--HG--
extra : moz-landing-system : lando
2019-10-17 18:31:12 +00:00
Dão Gottwald 03e9adc167 Bug 1591242 - Hide megabar search icon in popups. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D50625

--HG--
extra : moz-landing-system : lando
2019-10-25 16:13:05 +00:00
Sam Foster ed5cc8a7a4 Bug 1590362 - Prefer matched origin logins when deduping. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D50542

--HG--
extra : moz-landing-system : lando
2019-10-25 02:03:43 +00:00
Michael Ratcliffe cc663bcc1d Bug 1491811 - Rules: replace custom checkbox with -moz-appearance:checkbox r=fvsch
***
Bug 1491811 - Get screenshots of Rule View with native checkboxes

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

--HG--
extra : moz-landing-system : lando
2019-10-24 11:36:30 +00:00
Jon Coppeard e9bd719e91 Bug 1591338 - Add a JS API to call a object's finalizer r=mccr8
This replaces a direct call of an object's finalizer with a more formal API. This adds some assertions and passes a valid FreeOp pointer to the finalizer rather than null.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 15:33:52 +00:00
Coroiu Cristina f9b25eadca Backed out changeset ad44c165c690 (bug 1589407) for browser chrome failures at toolkit/components/antitracking/test/browser/browser_referrerDefaultPolicy.js on a CLOSED TREE 2019-10-25 18:07:14 +03:00
Patrick Brosset e3e805ee7f Bug 1591340 - Add new code review docs; r=jdescottes
In this change, I am adding our code reviews docs written here
https://docs.google.com/document/d/1HXlPFGXgYn0MXv4OoA2PsSP-3vvvjXxDTGKtNeV0W-8/edit

This doc was done as a result of a group discussion here:
https://github.com/firefox-devtools/rfcs/issues/41

The doc is mostly a list of bullet points, so I didn't just move them here
as a .md file. I also added a bit more formatting and rephrased certain parts
so it would be more natural to read. I've been careful to retain the original
meaning though.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 12:37:05 +00:00
James Graham 06a7f6e322 Bug 1591349 - Only default to --pause-after-test for single testharness tests, r=maja_zf
reftests and wdspec tests aren't particularly easy to debug in this mode, so
just default to --pause-after test for testharness tests where it makes more sense.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 14:05:07 +00:00
Henrik Skupin d8abd5a355 Bug 1591341 - [remote] Always close the client connection in add_task() for browser chrome tests. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D50577

--HG--
extra : moz-landing-system : lando
2019-10-25 13:42:17 +00:00
Chris H-C adfaf56de9 Bug 1589390 - Fail the build when trying to add unsupported metrics to GV streaming r=janerik
At present we support uint, bool, and string Scalars and linear,
exponential, and categorical Histograms. We do not support boolean,
enumerated, or count Histograms, or Events of any type.

We also do not support keyed Histograms or keyed Scalars.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 10:02:48 +00:00
Nicolas Chevobbe 9dc42c00ce Bug 1590633 - Remove Reps launchpad. r=Honza.
This means we can also cleanup the package.json,
and remove file that were only needed for the
launchpad.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 12:08:17 +00:00
Geoff Brown 1984c353ae Bug 1591121 - Disable some tests on Android; r=geckoview-reviewers,snorp
I have recently enabled many mochitests on Android, but a few of those tests are
still failing intermittently; let's skip those tests again to avoid the intermittent
failures.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:30:06 +00:00
Ehsan Akhgari 0cdd072e23 Bug 1589407 - Ensure that document.referrer sees the same URL as what we send in the Referer HTTP header per the ETP restrictions; r=tnguyen,baku
Differential Revision: https://phabricator.services.mozilla.com/D49773

--HG--
extra : moz-landing-system : lando
2019-10-25 07:32:05 +00:00
Ehsan Akhgari 0f979027cb Bug 1540903 - Instead of assuming success, do proper error checking; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D50553

--HG--
extra : moz-landing-system : lando
2019-10-25 02:55:26 +00:00
Philip Jägenstedt 9bca24019b Bug 1589056 - [mozprofile][mozrunner][mozrunner] bump minor versions r=jgraham
This is needed because the currently released versions use dependencies
like 'mozlog ~= 4.2.0', which won't match the newly released mozlog 5.0.
The dependencies were updated to 'mozlog >= 5.0' recently:
https://hg.mozilla.org/mozilla-central/rev/753beb12fdf6984c0a2ca8786fb9db1317e171b4

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:15:01 +00:00
Ted Campbell cfd6179906 Bug 1591209 - Add JSFunction::baseScript() accessor. r=jandem
Add a baseScript() accessor to use in cases where to accessor properties
through a JSFunction that are defined for both lazy and non-lazy
scripts.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 13:08:09 +00:00