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

677654 Коммитов

Автор SHA1 Сообщение Дата
Daosheng Mu 681b4117d9 Bug 1592713 - Avoid to update VR HMD sensor states when pages are not in the presenting mode. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D51288

--HG--
extra : moz-landing-system : lando
2019-10-31 22:10:43 +00:00
Jonathan Kew 4114aeff1a Bug 1587385 - Give a better info (not error) message if a webfont is not used because of font-display timeout. r=heycam
This is not an error in the same way as a download failure, and should not be reported as one.
An Info message is sufficient.

Also suppress "unknown" location in messages about @font-face rules, as it is not useful,
pending a proper fix (bug 1450903).

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

--HG--
extra : moz-landing-system : lando
2019-11-01 08:54:05 +00:00
yulia 18f3e9c47c Bug 1566141 - Add tests for nullish coalescing r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D50911

--HG--
extra : moz-landing-system : lando
2019-10-31 17:17:08 +00:00
yulia bf306593a3 Bug 1566141 - add precedence requirement and disallow mixing of logical operators with nullish r=jorendorff
coalescing operator

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

--HG--
extra : moz-landing-system : lando
2019-10-31 17:16:56 +00:00
yulia 6828085ca8 Bug 1566141 - Nullish coalesce behavior in bytecode r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D50058

--HG--
extra : moz-landing-system : lando
2019-10-31 17:16:43 +00:00
yulia b0183bf037 Bug 1566141 - Nullish coalesce operator tokens r=jorendorff
Fake it till you make it

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

--HG--
extra : moz-landing-system : lando
2019-10-31 17:16:31 +00:00
Dan Glastonbury 196b08c653 Bug 1578319: Telemetry for total time spent in layout per Refresh Driver tick. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D44427

--HG--
extra : moz-landing-system : lando
2019-11-01 04:33:48 +00:00
Oriol Brufau f57eb64b4c Bug 1588760 - Move css-lists reftests into WPT r=dbaron
Differential Revision: https://phabricator.services.mozilla.com/D49278

--HG--
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001-ref.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001-ref.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001a.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001a.html
rename : layout/reftests/w3c-css/submitted/lists-3/list-style-type-string-001b.html => testing/web-platform/tests/css/css-lists/list-style-type-string-001b.html
extra : moz-landing-system : lando
2019-11-01 04:27:32 +00:00
Nicholas Nethercote a518709339 Bug 1587162 - Fix UBSAN complaints about pref callbacks. r=erahm
Lots of these callbacks have a non-`void*` final parameter, which UBSAN
complains about. This commit changes them to have a `void*` parameter.

This requires undoing the machinery added in the first two commits of bug
1473631: `TypePrefChangeFunc` and `PREF_CHANGE_METHOD`. The resulting code is
simpler (which is good) and more boilerplate-y (which is bad) but avoids the
undefined behaviour (which is good).

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

--HG--
extra : moz-landing-system : lando
2019-11-01 02:57:20 +00:00
Jason Laster cd8222f74c Bug 1581249 - Revert - The timeline should show breakpoint hits. r=bhackett
This reverts commit 34ddff68bdfc54cc61252cd76e708697d1629e86.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 00:05:58 +00:00
Glenn Watson 9e558efb0a Bug 1593154 - Fix semantics of partial present API for webrender. r=sotaro
- When partial present is not valid, ensure that a single dirty
   rect the entire size of the framebuffer is returned.
 - Ensure that we never return an empty dirty rect. If nothing is
   dirty, the returned dirty rects array is empty, which can be
   used by the client to completely skip calling Present.
 - Remove partial present Multi mode (for now). This mode has
   some issues with overlapping tiles which can be resolved as
   a follow up.

This should allow enabling partial present for a single dirty rect,
which covers most common cases. We can re-implement the more
complicated Multi partial present mode if / when we find pages
where supporting multiple partial present rects is a good win.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 02:03:41 +00:00
Martin Stransky 04afc29457 Bug 1592350 [Wayland] Call wl_surface_commit() on parent surface when subsurface position is updated, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D51133

--HG--
extra : moz-landing-system : lando
2019-10-31 19:00:30 +00:00
Dragana Damjanovic 764af517bf Bug 1592927 - Test test_anonymous-coalescing is racy. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D51245

--HG--
extra : moz-landing-system : lando
2019-10-31 19:53:54 +00:00
Cosmin Sabou 908c8ae7d3 Bug 1591638 - Add expectation for track-element-src-change-error.html that is frequently failing on mac. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D51248

--HG--
extra : moz-landing-system : lando
2019-10-31 20:54:12 +00:00
Cosmin Sabou 93208c60cb Bug 1591816 - Add expectation for queue-non-focusable.html that is frequently failing on Android !debug. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D51250

--HG--
extra : moz-landing-system : lando
2019-10-31 20:53:17 +00:00
Tom Tung 892ba56d80 Bug 1562667 - P3 - Check remoteType in IsCrossOriginIsolated; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D51083

--HG--
extra : moz-landing-system : lando
2019-11-01 08:30:41 +00:00
Gurzau Raul ce19d94b67 Backed out changeset 60cccadbeaf0 (bug 1586236) for failures at test_memoryReporters.xul on a CLOSED TREE. 2019-11-01 10:21:05 +02:00
Csoregi Natalia 145cd37f53 Backed out changeset 8449ec58f40f (bug 1592253) for bustages on TelemetryHistogramEnums.h. CLOSED TREE 2019-11-01 09:25:48 +02:00
Edouard Oger 6e3d62fb87 Bug 1593065 - Remove XBL workaround for setting deck index. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D51319

--HG--
extra : moz-landing-system : lando
2019-10-31 22:10:51 +00:00
Paul Bone a236b8280f Bug 1588412 - (part 3) Remove MayChangeProcess calls fron nsHttpChannel r=mayhemer
Also add assertions that enforce that fission requires
DocumentChannel.

Also Removed the use of `rv` from the return statement at the end of
OnStartRequest(nsIRequest.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 18:13:50 +00:00
Paul Bone cf2f204b52 Bug 1588412 - (part 2) moz:// documents should use documentchannel r=mattwoodrow
the URL moz://a redirects to mozilla's website, Because it redirects to
https we want to use documentchannel.

Depends on D49100

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

--HG--
extra : moz-landing-system : lando
2019-10-31 18:36:56 +00:00
Paul Bone ed9e37bf0c Bug 1588412 - (part 1) Fix grammer in comment r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D49100

--HG--
extra : moz-landing-system : lando
2019-10-31 18:13:50 +00:00
Boris Chiou d77411c397 Bug 1429305 - Enable OMTA for motion path and add some tests for it. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50015

--HG--
extra : moz-landing-system : lando
2019-10-31 21:16:35 +00:00
Boris Chiou a9e57a5534 Bug 1429305 - Extend compositor properties for motion. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50014

--HG--
extra : moz-landing-system : lando
2019-10-31 20:07:45 +00:00
Boris Chiou 29378ebb46 Bug 1429305 - Cache gfx path. r=hiro
We cache the path in AnimationInfo for layers, and in
CompsoitorAnimationStorage for web-renderer.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:36:39 +00:00
Boris Chiou d546797708 Bug 1429305 - Add new layer messages for passing motion path info. r=hiro,mattwoodrow
This also includes the implementation of SetAnimatable, FromAnimatable,
and merge the final matrix with motion path.

Besides, we always use PathBuilderSkia for calculating the gfx::Path for
web-renderer.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 20:07:41 +00:00
Boris Chiou 58ba6b888a Bug 1429305 - Use serde to serialize LengthPercentage and StyleRayFunction. r=emilio
We need to pass these two types into the compositor, so we need a better
way to serialize these rust types. We use serde and bincode to
serialize/deserialize them, and use ByteBuf to pass the &[u8] data
through IPC. We define StyleVecU8 for FFI usage only.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:35:05 +00:00
Boris Chiou 651635bfca Bug 1429305 - Make PathBuilder as a parameter. r=hiro
On the compositor thread in GPU process (i.e. web-renderer), gfxPlatform() is
not initialized, so we don't have the DrawTarget information.
Fortunately, all we need is to calculate the motion point and direction
vector, so we don't have to care about which backend we use.

Therefore, make PathBuilder as a parameter, so we can just pass a valid
PathBuilder on the compositor thread. For main thread (i.e. content
process), using the original way is fine.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 20:07:31 +00:00
Boris Chiou 7bc51c6333 Bug 1429305 - Refactor for ResolveMotionPath. r=hiro
The current implementation uses nsIFrame to get everything. However, we
want to reuse ResolveMotionPath() on the compositor thread (in the parent
process), so we need to refactor this function to avoid using nsIframe
everywhere.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 20:07:30 +00:00
Boris Chiou e169694db2 Bug 1429305 - Move motion path utils into a separate file. r=hiro
I'd like to add some new data type for motion path, so it'd be great to
put all of them in an independent file.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 20:07:28 +00:00
Brad Werth 8e14b87503 Bug 1579269 Part 2: Add a test of the inRDMPane property. r=mtigley
This test is setup to run both with and without the pref
"devtools.responsive.browserUI.enabled" set. Ideally, we can find a
way to refactor this structure into something that can be put into
devtools/client/responsive/test/browser/head.js, and other helper
functions in that file can be modified to work with the pref on or
off.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 21:17:21 +00:00
Brad Werth b5785ce2c6 Bug 1579269 Part 1: Make the document inRDMPane property set via a new emulation actor method. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D51020

--HG--
extra : moz-landing-system : lando
2019-10-31 21:16:58 +00:00
Aaron Klotz 77bedb6124 Bug 1583575: Retain window size between instances and use it to set the size when opening a new window; r=snorp
This obviously only improves the situation when a subsequent window is the
same size as the last window that was opened.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 22:16:15 +00:00
Aaron Klotz 40909829d8 Bug 1592808: Annotate ContentDelegate overrides for onFullScreen with AssertCalled; r=geckoview-reviewers,agi
The changes in bug 1583575 cause an additonal event to call the `ContentDelegate`,
so the test proceeds without waiting specifically for `onFullScreen` to be called.

This patch annotates the `onFullScreen` overrides to ensure that we're waiting
on the correct event for these test cases.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 22:02:06 +00:00
Jonathan Kew 97acebe64f Bug 1588993 - Don't send InitOtherFamilyNames IPC message from a stylo thread; post a runnable to the main thread instead. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D50745

--HG--
extra : moz-landing-system : lando
2019-10-31 14:41:15 +00:00
Ehsan Akhgari bc7b7637da Bug 1592253 - Remove the unused Fennec telemetry probes; r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D50928

--HG--
extra : moz-landing-system : lando
2019-10-29 20:47:01 +00:00
Botond Ballo 69b505220a Bug 1592435 - Add a gtest. r=tnikkel
Depends on D51202

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

--HG--
extra : moz-landing-system : lando
2019-10-31 01:07:11 +00:00
Botond Ballo d9fa524033 Bug 1592435 - Don't allow a main thread scroll update to interrupt a touch-drag gesture. r=tnikkel
This makes the behaviour for touch-drags match the behaviour we already have
for pan gesture events.

Depends on D51201

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

--HG--
extra : moz-landing-system : lando
2019-10-31 01:06:14 +00:00
Botond Ballo 4525952bde Bug 1592435 - Avoid a shutdown-crash during gtests. r=tnikkel
This is unrelated to this bug, I just ran into it while running the tests.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 01:02:08 +00:00
Tim Huang 68e7c55743 Bug 1590111 - Make the test 'test_bug346659.html' compatible with fission. r=bzbarsky
This patch makes several changes in order to enable it in Fission.

1. We modify the way how testing child window and iframe get the test
number. It used to get the test number through opener/parent. However,
the property of the opener/parent is inaccessible if it is cross site.
So, for load tests, we use url parameter to propagate the test number to
child window. For write tests, we directly write the test number in the
markup.

2. We change to use SpecialPowers.spawn() to access testing window since
they could be cross origin from the test script.

In addition, we add comments for better understanding the test script
itself.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 16:19:05 +00:00
Erica Wright f6470d61ce Bug 1570466 - Enhanced Tracking Protection card hides content when some/all protections are off in Custom r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D44713

--HG--
extra : moz-landing-system : lando
2019-10-31 20:05:41 +00:00
thomasmo f5d510754c Bug 1589913 - Update FxR Desktop default home page r=imanol,rbarker
Fix crash on Android

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

--HG--
extra : moz-landing-system : lando
2019-10-31 19:08:38 +00:00
Nils Ohlmeier [:drno] 7483f82422 Bug 1591854: properly count active track in CountTracks(). r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D50774

--HG--
extra : moz-landing-system : lando
2019-10-31 19:36:00 +00:00
Anny Gakhokidze 0676ebade6 Bug 1585777 - Part 3: Enable browser/modules/test/browser/browser_UsageTelemetry_domains.js for Fission, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D51279

--HG--
extra : moz-landing-system : lando
2019-10-31 17:52:00 +00:00
Sorin Davidoi 04c35ed680 Bug 1589744: Don't update hidden tabs when not necessary r=davidwalsh
They only need to be updated from `componentDidUpdate` if the open tabs have changed.

Before: https://perfht.ml/32w6iwg
After: https://perfht.ml/2Bqk7R0
Diff: https://perfht.ml/2pvNyhW

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

--HG--
extra : moz-landing-system : lando
2019-10-31 09:38:47 +00:00
Gabriele Svelto 0d648247a1 Bug 1586236 - Use memory resource notifications to detect low memory scenarios on Windows; r=dmajor
This patch uses the low memory resource notification facility to detect
scenarios where physical memory is running low without polling. This is a
significant change compared to the previous behavior which measured both
available virtual memory (only on 32-bit builds) and available commit space.

Since we're not trying to avoid OOMs anymore we don't save memory reports
anymore when hitting a low-memory condition.

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

--HG--
extra : moz-landing-system : lando
2019-10-31 13:55:42 +00:00
Shane Caraveo 4c305ddd57 Bug 1587939 enforce addon content script CSP in eval r=ckerschb,robwu
Differential Revision: https://phabricator.services.mozilla.com/D48924

--HG--
extra : moz-landing-system : lando
2019-11-01 06:03:35 +00:00
Shane Caraveo 8aa898bdb2 Bug 1581611 Part 2: apply content script csp r=robwu,ckerschb
Manifest V3 functionality.  This applies CSP on the webextension content scripts using either a default csp or an
extension provided csp.  It will remain pref'd off but is available for developers to test against, as well as for future
validation of chrome compatibility.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 06:03:13 +00:00
Shane Caraveo f800952de9 Bug 1581611 Part 1: add content_scripts to the extension content_security_policy r=rpl,bzbarsky
This patch adds support for including content_scripts CSP in the extensions
manifest, along with all interfaces necessary to access the CSP value.  This does not
implement actual use of the CSP for content scripts.

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

--HG--
extra : moz-landing-system : lando
2019-11-01 06:02:45 +00:00
Shane Caraveo 9ca23aa397 Bug 1581609 rename extension contentSecurityPolicy to support multiple V3 CSP values r=rpl,webidl
Differential Revision: https://phabricator.services.mozilla.com/D46818

--HG--
extra : moz-landing-system : lando
2019-11-01 06:02:22 +00:00