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

664083 Коммитов

Автор SHA1 Сообщение Дата
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
Greg Tatum db5c7f8a80 Bug 1571171 - Make test helper doAtLeastOnePeriodicSample non-async; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D40701

--HG--
extra : moz-landing-system : lando
2019-08-06 14:49:16 +00:00
Mihai Alexandru Michis 22d08168b1 Backed out 2 changesets (bug 1568245) for causing bustages and crashes. CLOSED TREE
Backed out changeset 05c4ca358415 (bug 1568245)
Backed out changeset 26a34510d053 (bug 1568245)
2019-08-06 17:00:01 +03:00
Julian Descottes 01cd4cb2f4 Bug 1571365 - Add documentation for devtools node tests r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D40605

--HG--
extra : moz-landing-system : lando
2019-08-05 12:08:20 +00:00
Cosmin Sabou 12a8944ce8 Bug 1567597 - Disable browser_perf tests that keep timing out. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D40812

--HG--
extra : moz-landing-system : lando
2019-08-06 14:00:50 +00:00
Jared Wein 4eb416e20a Bug 1570970 - Clear the copy username and password timeouts and reset the state when changing logins. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40747

--HG--
extra : moz-landing-system : lando
2019-08-06 13:46:07 +00:00
Jared Wein de6a52c95b Bug 1570717 - Add accessible name to the Firefox Accounts button on about:logins. r=MattN,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D40762

--HG--
extra : moz-landing-system : lando
2019-08-06 13:12:20 +00:00
harry d374f46033 Bug 1565273 - Remove unnecessary console.logs. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D40462

--HG--
extra : moz-landing-system : lando
2019-08-06 13:37:26 +00:00
Coroiu Cristina d087a820d0 Backed out changeset 4dab6e3dc6ed (bug 1377335) on request by whimboo 2019-08-06 16:43:25 +03:00
Ted Campbell f7e78abd00 Bug 1568245 - Move JSScript::global to BaseScript. r=jandem
Combine the LazyScript::function_ and JSScript::global_ fields into the
BaseScript type. This provides a common definition of script realm and
compartment. Currently a non-lazy function script will set this to point
this to the global, but in future it should be made to point to
canonical function for both the lazy and non-lazy cases.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 13:32:43 +00:00