Commit Graph

664092 Commits

Author SHA1 Message Date
Razvan Maries
de026bdeff Bug 1559410 - Disabled browser_refreshBlocker.js on macosx for high failure rate. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40855

--HG--
extra : moz-landing-system : lando
2019-08-06 19:07:03 +00:00
Jeff Muizelaar
bc8f976c10 Bug 1571837. Don't call FlushItem for hit test items. r=mstange
We already skip painting hit test items. We can do even better
by not including them in the recording at all.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 19:05:20 +00:00
Agi Sferro
ed26ad726a Bug 1565422 - Fix intermittent crashContentMultipleSessions. r=droeh
This test makes the implicit assumption that the two events cannot happen near
instantaneously, but as evidence from the test results, sometimes they do. This
patch fixes the intermittent by waiting for both events at the same time.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 18:49:10 +00:00
Micah Tigley
63c00eed4d Bug 1570088 - Fix large bottom padding for Monitor card when no saved breaches are shown. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D40442

--HG--
extra : moz-landing-system : lando
2019-08-06 18:27:28 +00:00
Markus Stange
c33b29cfbb Bug 1571253 - Call mProfilerScreenshotGrabber.NotifyEmptyFrame() in the main place where no-op composites are noticed. r=mattwoodrow
There's another call inside Render() but that's usually too late.

Depends on D40558

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

--HG--
extra : moz-landing-system : lando
2019-08-04 20:37:28 +00:00
Markus Stange
901919b119 Bug 1571253 - Persist the layers damage region in mInvalidRegion if the frame has been aborted. r=mattwoodrow
An alternative approach, which I would have preferred, would be to keep the old
mClonedLayerTreeProperties around, so that future frames can compare to the
last non-aborted mClonedLayerTreeProperties. However, that doesn't work in the
current world because mClonedLayerTreeProperties->ComputeDifferences has side-
effects.

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

--HG--
extra : moz-landing-system : lando
2019-08-04 20:37:06 +00:00
Markus Stange
259d8d43ed Bug 1571253 - Refactor invalid region handling in LayerManagerComposite::UpdateAndRender without functional changes. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D40557

--HG--
extra : moz-landing-system : lando
2019-08-06 18:26:55 +00:00
Tom Schuster
4d526c3808 Bug 1558915 - Use infallible nsIURI::SchemeIs in uriloader/ r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D40546

--HG--
extra : moz-landing-system : lando
2019-08-05 20:08:21 +00:00
Markus Stange
c3e76bb3af Bug 1570869 - Add some comments to WindowInfo and reorder members a little. r=nical
Depends on D40375

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

--HG--
extra : moz-landing-system : lando
2019-08-05 12:08:18 +00:00
Markus Stange
dd7b882fd0 Bug 1570869 - Inline FrameRenderingComplete into HandleFrameOneDoc. r=nical
Depends on D40374

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

--HG--
extra : moz-landing-system : lando
2019-08-05 12:09:46 +00:00
Markus Stange
d4aaf327fd Bug 1570869 - Fold mRender, mDocFramesSeen and mDocFrameCounts into PendingFrameInfo. r=nical
This makes it clear that these belong to a single frame and makes some assumptions explicit.
For example, in the old code, mDocFrameCounts.size() was the same as mPendingFrames.size()
when a pending frame was added, but then the sizes differed during rendering because a frame's
mDocFrameCount would be popped at the beginning of rendering while mPendingFrames would be
popped at the end of rendering.
This modification also makes some clearing of values unnecessary. A new frame always starts out
with cleared values for mDocFramesSeen and mFrameNeedsRender.

This patch also combines the two locks in HandleFrameOneDoc.

Depends on D40373

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

--HG--
extra : moz-landing-system : lando
2019-08-05 12:07:29 +00:00
Markus Stange
6ebb22a9d3 Bug 1570869 - Replace mRenderingCount with a boolean, to make it clear that we are only ever rendering at most one frame. r=nical
The only place that increments mRenderingCount, HandleFrameOneDoc, also synchronously calls FrameRenderingComplete
at the end of the function, which decrements mRenderingCount again. So it can never grow beyond 1.

Depends on D40372

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

--HG--
extra : moz-landing-system : lando
2019-08-05 12:02:38 +00:00
Markus Stange
d00dade81c Bug 1570869 - Remove mPendingCount in favor of an accessor. r=nical
Depends on D40371

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

--HG--
extra : moz-landing-system : lando
2019-08-05 11:59:35 +00:00
Markus Stange
17df58880c Bug 1570869 - Inline IncRenderingFrameCount into HandleFrame. r=sotaro
IncRenderingFrame only had one caller. Inlining it into HandleFrame makes it clearer
how the values in mWindowInfos are mutated and in what order calls happen.
This also renames HandleFrame to HandleFrameOneDoc, because we're expecting one call
per document before we actually trigger the render.

Depends on D40370

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

--HG--
extra : moz-landing-system : lando
2019-08-06 07:01:15 +00:00
Markus Stange
e36f7409a9 Bug 1570869 - Combine pending frame info in RenderThread's WindowInfo. r=nical
Differential Revision: https://phabricator.services.mozilla.com/D40370

--HG--
extra : moz-landing-system : lando
2019-08-05 11:54:31 +00:00
Andreea Pavel
f6c90e68d3 Backed out 2 changesets (bug 1566825) for build bustages on a CLOSED TREE
Backed out changeset 7fcd3effcc45 (bug 1566825)
Backed out changeset 15de0b815be9 (bug 1566825)
2019-08-06 21:17:16 +03:00
Ehsan Akhgari
725049201c Bug 1566825 - Part 2: Support storing and querying for anti-tracking permission grants in private windows; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D40363

--HG--
extra : moz-landing-system : lando
2019-08-05 08:30:22 +00:00
Ehsan Akhgari
cc378fc7ab Bug 1566825 - Part 1: Switch back to using TestPermissionWithoutDefaultsFromPrincipal(); r=baku
This was reverted in bug 1525245 part 2 without any apparent reason.

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

--HG--
extra : moz-landing-system : lando
2019-08-05 08:29:10 +00:00
Andreea Pavel
711d8a78a7 Bug 1528239 - update test expectations r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40357

--HG--
extra : moz-landing-system : lando
2019-08-04 09:42:21 +00:00
Andreea Pavel
53820aa30c Backed out 9 changesets (bug 1564221) xpcshell failures on a CLOSED TREE
Backed out changeset 36e33a3b59f0 (bug 1564221)
Backed out changeset 12d1607c1415 (bug 1564221)
Backed out changeset 8c3157ad3ac9 (bug 1564221)
Backed out changeset ad7a644c5a8d (bug 1564221)
Backed out changeset 31f730109760 (bug 1564221)
Backed out changeset a140da3467e0 (bug 1564221)
Backed out changeset 02a324e713d6 (bug 1564221)
Backed out changeset dc76eeb3a74a (bug 1564221)
Backed out changeset bc933f236434 (bug 1564221)
2019-08-06 20:49:21 +03:00
Andrew Halberstadt
81055ad7a7 Bug 1567264 - [mochitest] Ensure --enable-fission sets the pref to 'true' instead of '1', r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D40811

--HG--
extra : moz-landing-system : lando
2019-08-06 17:37:58 +00:00
Micah Tigley
80f1362199 Bug 1570291 - Make heading structure consistent. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D40423

--HG--
extra : moz-landing-system : lando
2019-08-06 17:30:48 +00:00
Agi Sferro
41549d2c74 Bug 1571308 - Use error code from apilint. r=nalexander
Failures in apilint have a rule code so include that in the information from
the lint.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 17:26:31 +00:00
Daniel Holbert
bf94309078 Bug 1571335 followup: Increase tolerance for Windows object-fit-cover-png-002c.html fuzzy test failure. (no review, test-annotation-only)
Differential Revision: https://phabricator.services.mozilla.com/D40837

--HG--
extra : moz-landing-system : lando
2019-08-06 17:20:07 +00:00
Tim Nguyen
a15e1ad96a Bug 1570709 - Make menu-button focus behaviour more consistent with other browser menus. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D40727

--HG--
extra : moz-landing-system : lando
2019-08-06 17:19:37 +00:00
Jared Wein
53d5e7bfe9 Bug 1570945 - Remove unnecessary default case in AboutLoginsParent.jsm. r=MattN
I'm going to investigate enabling no-fallthrough in eslint to prevent these from happening again.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 17:02:10 +00:00
Razvan Maries
2d23034c48 Backed out changeset 145b187e750f (bug 1570886) for perma xpcshell fails on test_objectgrips-08.js. CLOSED TREE 2019-08-06 20:12:16 +03:00
Emily Toop
67f8b741c4 Bug 1564815 - Fix broken CHANGELOG links. r=agi
1. Move all link referneces into single list to make is easier to spot duplicates
2. Remove duplicates
3. Update links that are broken
4. Create variable for javadoc_url so that broken relative paths are not a problem.
5. Add links to changelog entries that did not have them, but should have.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 16:41:18 +00:00
Nicolas Chevobbe
cc5dd3750c Bug 1570985 - Don't create an ObjectClient from ConsoleTable. r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D40589

--HG--
extra : moz-landing-system : lando
2019-08-06 15:15:09 +00:00
Jared Wein
abdce0bc2f Bug 1567686 - Login addition notifications from batch imports should use the plaintext values. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40706

--HG--
extra : moz-landing-system : lando
2019-08-06 16:34:14 +00:00
Rob Wu
281ccf69b0 Bug 1565507 - Enable default theme on theme uninstallation r=aswan
... and re-enable the original theme when the uninstallation is undone,
iff it was enabled before.

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

--HG--
extra : moz-landing-system : lando
2019-08-03 12:40:53 +00:00
Coroiu Cristina
c4d18735be Bug 1568866 - Fix ESlint failure on a CLOSED TREE 2019-08-06 19:39:55 +03:00
Barret Rennie
bdc312d909 Bug 1564221 - Remove QueryInterface parameter from MockSecurityInfo in devtools tests r=ochameau
The `MockSecurityInfo` instances in the patched devtools tests are not actually
being used as `nsITransportSecurityInfo` instances; while `QueryInterface`
methods were generated for the them, these were never called. Additionally, the
methods they are being passed to are not XPCOM-defined and therefore do not
strictly require `nsITransportSecurityInfo`.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:37:05 +00:00
Barret Rennie
3df3c840f0 Bug 1564221 - Make nsITransportSecurityInfo builtinclass r=keeler
There are no longer any consumers of the JS-implemented
`FakeTransportSecurityInfo` class, so it can be removed. That removes the last
JS-implemented `nsITransportSecurityInfo` instance and it therefore can be
marked `builtinclass`.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:36:52 +00:00
Barret Rennie
82b162a511 Bug 1564221 - Do not use FakeTransportSecurityInfo in test_sss_resetState.js r=keeler
As part of making `nsITranportSecurityInfo` builtinclass, we can no longer
use JS-implemented `nsITransportSecurityInfo` instances in test cases.
This patch migrates `test_sss_resetState.js` to use `add_connection_test()` to
get a valid `nsITransportSecurityInfo` instance for the unit tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 16:14:34 +00:00
Barret Rennie
62b5e6bead Bug 1564221 - Do not use FakeTransportSecurityInfo in test_sss_originAttributes.js r=keeler
As part of making `nsITranportSecurityInfo` builtinclass, we can no longer use
JS-implemented `nsITransportSecurityInfo` instances in test cases. This patch
migrates `test_sss_originAttributes.js` to use `add_connection_test()` to get a
valid `nsITransportSecurityInfo` instance for the unit tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:36:18 +00:00
Barret Rennie
e7f9be23da Bug 1564221 - Do not use FakeTransportSecurityInfo in test_sss_enumerate.js r=keeler
As part of making `nsITranportSecurityInfo` builtinclass, we can no longer
use JS-implemented `nsITransportSecurityInfo` instances in test cases.
This patch migrates `test_sss_enumerate.js` to use `add_connection_test()` to
get a valid `nsITransportSecurityInfo` instance for the unit tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 16:17:35 +00:00
Barret Rennie
b829b4078b Bug 1564221 - Do not use FakeTransportSecurityInfo in test_pinning_header_parsing.js r=keeler
As part of making `nsITranportSecurityInfo` builtinclass, we can no longer use
JS-implemented `nsITransportSecurityInfo` instances in test cases. This patch
migrates `test_pinning_header_parsing.js` to use `add_connection_test()` to get
a valid `nsITransportSecurityInfo` instance for the unit tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:35:51 +00:00
Barret Rennie
a1140840ab Bug 1564221 - Do not use FakeTransportSecurityInfo in test_ocsp_must_staple.js r=keeler
As part of making `nsITranportSecurityInfo` builtinclass, we can no longer use
JS-implemented `nsITransportSecurityInfo` instances in test cases. This patch
migrates `test_ocsp_must_staple.js` to use `add_connection_test()` to get a
valid `nsITransportSecurityInfo` instance for the unit tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:35:32 +00:00
Barret Rennie
2629fef012 Bug 1564221 - Do not use FakeTransportSecurityInfo in test_forget_about_site_security_headers.js r=keeler
As part of making `nsITranportSecurityInfo` builtinclass, we can no longer use
JS-implemented `nsITransportSecurityInfo` instances in test cases. This patch
migrates `test_forget_about_site_security_headers.js to use
`add_connection_test()` to get a valid `nsITransportSecurityInfo` instance for
the unit tests.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 16:03:52 +00:00
Barret Rennie
adf4a3e19e Bug 1564221 - Add a contract ID for nsITransportSecurityInfo r=keeler
There is now a contract ID for `nsITransportSecurityInfo`, allowing
`mozilla::psm::TransportSecurityInfo` instances to be created from JS. Tests
using a JS-implemented `nsITransportSecurityInfo` that were not modifying,
e.g., the `serverCert` attribute have been updated to create a
`mozilla::psm::TransportSecurityInfo` via the contract.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:35:04 +00:00
Marco Bonardo
8978d2d69f Bug 1568604 - Re-enable browser_view_resultTypes_display.js. r=dao
This test was disabled due to a possible permanent failure, but it's no more
possible to reproduce it on Try. There is still a possible intermittent tracked
by bug 1548734.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:45:58 +00:00
Andy Wingo
0f20ca98c4 Bug 1570886 - Remove enableBigInt run-time flag r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D40389

--HG--
extra : moz-landing-system : lando
2019-08-06 10:36:09 +00:00
Vijay Budhram
88444d1f53 Bug 1568866 - Update send to device panel for skyline r=markh
Differential Revision: https://phabricator.services.mozilla.com/D40049

--HG--
extra : moz-landing-system : lando
2019-08-06 15:00:30 +00:00
Kershaw Chang
93e82cb323 Bug 1569196 - Make ChildDNSService run on socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D40592

--HG--
extra : moz-landing-system : lando
2019-08-05 20:54:01 +00:00
Paul Morris
ea6fd457ff Bug 1545824 - Implement a getElementForAttrInheritance function r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D39210

--HG--
extra : moz-landing-system : lando
2019-07-30 15:11:26 +00:00
Bob Clary
d2ff3d2ad4 Bug 1571501 - [mozdevice 3.0.4] Use exitcode of adb process as exitcode of Android command for Android 7/24 and later, r=jmaher.
Differential Revision: https://phabricator.services.mozilla.com/D40668

--HG--
extra : moz-landing-system : lando
2019-08-06 14:35:52 +00:00
Andreas Pehrson
213a51d07c Bug 1565344 - Remove unnecessary OutputStreamManager::mPrincipal. r=jib
It would cause an assertion failure when OutputStreamManager was released on
main thread. It could be wrapped in an nsMainThreadPtrHandle instead, but that's
exactly what mPrincipalHandle is, so we can use that for both needs.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:11:45 +00:00
Michael Froman
af196d4cfc Bug 1571568 - Update ShmemPool to work in builds with --disable-webrtc. r=ng
1. ShmemPool.cpp is now built for --disable-webrtc builds.
2. ShmemPool no longer uses the gCamerasParentLog logger, it
   uses its own logger.
3. ShmemPool log macros were updated with a SHMEMPOOL_ prefix
   to avoid undef-ing other log macros.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 15:09:12 +00:00
Nihanth Subramanya
a144a248da Bug 1571680 - Remove hidden attributes from toggle switch labels in Site Not Working view. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40801

--HG--
extra : moz-landing-system : lando
2019-08-06 14:55:46 +00:00