Commit Graph

8029 Commits

Author SHA1 Message Date
Sebastian Hengst
53ceae20f0 Bug 1574535 - temporarily disable suddenly permafailing browser_startup_syncIPC.js. a=florian-on-IRC CLOSED TREE
--HG--
extra : amend_source : 62e63891a0f1fe3247c2b3c96eb54ab93f5bfb79
2019-08-16 18:51:55 +02:00
mcrawford
2dc8fda553 Bug 1550165 - Footer advertising links to Lockwise mobile apps. r=fluent-reviewers,Pike,MattN
Differential Revision: https://phabricator.services.mozilla.com/D34370

--HG--
extra : moz-landing-system : lando
2019-08-16 14:43:37 +00:00
Abdoulaye O. Ly
cbbacc1e6a Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 19:51:42 +00:00
Tim Huang
f89cb79d37 Bug 1566810 - Part 2: Add the permission granted indicator to the identity panel. r=johannh
This patch adds the permission granted indicator to the identity panel.
The granted indicator will be shown if there is any granted permission.
And it will got update if permission changes. We also update a test for
this change.

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

--HG--
extra : moz-landing-system : lando
2019-08-16 07:42:39 +00:00
Jeff Muizelaar
605d83cb1c Bug 1574281. Allow PWebRenderBridge::Msg_GetSnapshot to happen earlier. r=mconley
The graphics sanity test code calls GetSnapshot early on (see bug 1573852). We
currently allow it later, but there's nothing that keeps it from happening
early so we should allow it.

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

--HG--
extra : moz-landing-system : lando
2019-08-15 20:41:00 +00:00
Oana Pop Rus
8f85c499fe Backed out 3 changesets (bug 1559244) for browser chrome failure in browser_background_tab_crash.js on a CLOSED TREE
Backed out changeset 1ce7d9bbe7a1 (bug 1559244)
Backed out changeset dced8cea7b23 (bug 1559244)
Backed out changeset dabda4e90259 (bug 1559244)
2019-08-15 22:21:26 +03:00
Abdoulaye O. Ly
8aec5ed540 Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D37780

--HG--
extra : moz-landing-system : lando
2019-08-15 17:16:26 +00:00
Paul Zuehlcke
3d15cf5b29 Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41490

--HG--
extra : moz-landing-system : lando
2019-08-15 14:35:38 +00:00
Paul Zuehlcke
89fb47a8d9 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-15 14:32:48 +00:00
Andrei Oprea
91997f1370 Bug 1570336 - Add exception to test rather than disabling the feature for all performance tests r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D40446

--HG--
extra : moz-landing-system : lando
2019-08-14 14:24:54 +00:00
Jed Davis
51bcb910f3 Bug 1426526 - Remove references to the old Chromium temporary file prefix. r=gsvelto,florian
With the removal of the old Chromium file_util code, we should no longer
be using temporary files with names starting with "org.chromium.", so the
crash reporter and main thread I/O test no longer need to recognize that
prefix.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 22:48:43 +00:00
Jed Davis
8692675af1 Bug 1479960 - Fix the main thread I/O tests to handle the IPC shared memory changes. r=florian
The tests for unexpected main thread I/O had exemptions for the specific
paths that were being used for shared memory, which would cause it to
fail with the changes in this bug.  This patch does two things:

1. On Linux, /dev/shm is always tmpfs (a memory filesystem), so it's not
going to cause disk I/O, and it's used by glibc to implement the POSIX
standard shm_open API.  This allows all /dev/shm paths instead of
limiting it to a hard-coded prefix.

2. On MacOS, with the patches in this bug, we'll no longer use temporary
files for shared memory on current OS versions, but we still need them on
older versions to avoid an OS bug (https://crbug.com/project-zero/1671),
and they are backed by disk in this case, so we want to allow only the
IPC files.  However, the path prefix has changed.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 22:48:33 +00:00
Jeff Muizelaar
748023a0e5 Bug 1573681. Allow 0 calls to GetDeviceStatus. r=florian
If Init() completes before we call EnsureGPUReady we won't send GetDeviceStatus
so we can safely ignore if unused.

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

--HG--
extra : moz-landing-system : lando
2019-08-14 14:11:38 +00:00
Carolina
ba042b192b Bug 1572278 - Adjusts checkViewCertificate test function in browser_aboutCertError.js for the new cert viewer.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41125

--HG--
extra : moz-landing-system : lando
2019-08-14 13:25:53 +00:00
Ciure Andrei
b454daea7a Backed out 3 changesets (bug 1531303) for causing close_window/close.py and browser_permissions_dialog.js to perma fail CLOSED TREE
Backed out changeset 87305e83174e (bug 1531303)
Backed out changeset 0c75c3bac00b (bug 1531303)
Backed out changeset 865c2a5d40da (bug 1531303)
2019-08-14 13:07:55 +03:00
Paul Zuehlcke
065ae1e01e Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41490

--HG--
extra : moz-landing-system : lando
2019-08-14 08:31:39 +00:00
Paul Zuehlcke
93bacc1004 Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41029

--HG--
extra : moz-landing-system : lando
2019-08-14 08:31:23 +00:00
Olli Pettay
1373bb3701 Bug 1563587, Make history.back/forward/go asynchronous, r=farre
The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
async Go(), depending on the dom.window.history.async pref.

LoadDelegate, which is used by GeckoView, needs special handling, since
it spins event loop nestedly. With session history loads and same-document loads we can just
bypass it.
To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
which collects relevant information about the request and returns true if same-document navigation should happen,
and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
SameDocumentNavigationState is used to pass the information around.

referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.

nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932

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

--HG--
extra : moz-landing-system : lando
2019-08-14 06:38:47 +00:00
Johann Hofmann
a76314c2b9 Bug 1573498 - Add SocialTracking.updateCategoryItem(). r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D41757

--HG--
extra : moz-landing-system : lando
2019-08-13 21:16:27 +00:00
Coroiu Cristina
3745a4a26f Backed out 2 changesets (bug 1563587) for junit failures on a CLOSED TREE
Backed out changeset d07f2e7d6f5e (bug 1563587)
Backed out changeset a365d3c43261 (bug 1563587)
2019-08-13 22:33:52 +03:00
Coroiu Cristina
f10c637f09 Bug 1556066 - Disable browser_bug817947.js on linux64 for frequent failures r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D41802

--HG--
extra : moz-landing-system : lando
2019-08-13 18:30:09 +00:00
Olli Pettay
924f5f1a55 Bug 1563587, Make history.back/forward/go asynchronous, r=farre
The main part of the change is the change to ChildSHistory - make it possible to have Go() to be called asynchronously
and also let one to cancel pending history navigations. History object (window.history) can then use either the sync or
async Go(), depending on the dom.window.history.async pref.

LoadDelegate, which is used by GeckoView, needs special handling, since
it spins event loop nestedly. With session history loads and same-document loads we can just
bypass it.
To deal with same-document case, MaybeHandleSameDocumentNavigation is split to IsSameDocumentNavigation,
which collects relevant information about the request and returns true if same-document navigation should happen,
and then later HandleSameDocumentNavigation uses that information to trigger the navigation.
SameDocumentNavigationState is used to pass the information around.

referrer-policy-test-case.sub.js is buggy causing tests to pass only on Firefox with sync history API.

nested-context-navigations-iframe.html.ini is added because of https://bugzilla.mozilla.org/show_bug.cgi?id=1572932

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

--HG--
extra : moz-landing-system : lando
2019-08-13 17:11:35 +00:00
Liang-Heng Chen
8b7336bdae Bug 1573109 - use string pref to avoid overflow; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41532

--HG--
extra : moz-landing-system : lando
2019-08-12 19:52:02 +00:00
harry
bb7b264fe5 Bug 1551240 - Remove quantumbar handling from tests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D41623

--HG--
extra : moz-landing-system : lando
2019-08-12 20:51:06 +00:00
Nihanth Subramanya
c895227b77 Bug 1572528 - Update cookies subview test. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41568

--HG--
extra : moz-landing-system : lando
2019-08-12 20:09:20 +00:00
Liang-Heng Chen
52e177da35 Bug 1570984 - separate large tests; r=johannh,kmag
Differential Revision: https://phabricator.services.mozilla.com/D40487

--HG--
rename : browser/base/content/test/trackingUI/browser_trackingUI_socialtracking.js => browser/base/content/test/trackingUI/browser_trackingUI_socialtracking_doorhanger.js
extra : moz-landing-system : lando
2019-08-12 14:26:55 +00:00
Carolina
e33e344c35 Bug 1570630 - Removes query parameters in site identity panel header.r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40723

--HG--
extra : moz-landing-system : lando
2019-08-12 13:35:51 +00:00
Cosmin Sabou
61d5527a72 Bug 1526628 - Disable browser_bug575830.js on mac for frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D41502

--HG--
extra : moz-landing-system : lando
2019-08-12 09:03:29 +00:00
Noemi Erli
c9e636f813 Bug 1572050 - Disabled tests on fission for causing crashes r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D41433

--HG--
extra : moz-landing-system : lando
2019-08-09 20:55:49 +00:00
Jan-Ivar Bruaroey
8b23465e9a Bug 1564588 - Add test for third-party permission prompt wo/remember this decision. r=johannh
Depends on D40897

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

--HG--
extra : moz-landing-system : lando
2019-08-09 20:35:27 +00:00
Johann Hofmann
07a10a28b3 Bug 1570627 - Don't show the protections icon on sites where content blocking can't set exceptions. r=nhnt11
Showing the protection panel for pages where content blocking can't add exceptions and/or
the url classifier can't classify doesn't make sense and would just be confusing to the user
and our code.

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

--HG--
extra : moz-landing-system : lando
2019-08-09 19:34:22 +00:00
Dale Harvey
8c408ea39f Bug 1572016 - Show blocked autoplay icon when BLOCKED_ALL permission set r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41362

--HG--
extra : moz-landing-system : lando
2019-08-09 12:49:32 +00:00
Tim Huang
3941b3910a Bug 1567784 - Part 3: Add tests to check the tooltip of the lock icon is correct if the page is insecure. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41077

--HG--
extra : moz-landing-system : lando
2019-08-08 14:37:24 +00:00
Bogdan Tara
65d5d845a5 Backed out 3 changesets (bug 1567784) for browser_check_identity_state.js failures CLOSED TREE
Backed out changeset 2088b67a848b (bug 1567784)
Backed out changeset 7f171c86351a (bug 1567784)
Backed out changeset f5c85f2d20cf (bug 1567784)
2019-08-08 13:35:46 +03:00
Tim Huang
95452d44e3 Bug 1567784 - Part 3: Add tests to check the tooltip of the lock icon is correct if the page is insecure. r=johannh
Depends on D41076

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

--HG--
extra : moz-landing-system : lando
2019-08-08 08:08:52 +00:00
James Teh
ee21b9ffb2 Bug 1571389: For page actions which show an iframe, focus the iframe when the action is activated. r=jaws
This includes the Save to Pocket action.
Previously, keyboard users had to press f6 twice to focus the iframe.
Worse, screen reader users weren't aware anything popped up at all.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 21:03:42 +00:00
Nihanth Subramanya
e07b5e1cfc Bug 1555233 - Update browser_trackingUI_categories.js test for blocking/not-blocking UI split. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D41082

--HG--
extra : moz-landing-system : lando
2019-08-07 22:21:03 +00:00
Andrew Swan
036b82a357 Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

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

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 21:33:49 +00:00
Brindusan Cristian
eadcacfe30 Backed out changeset b4678e759a18 (bug 1569135) for mochitest failures at test_headless_screenshot.html. CLOSED TREE 2019-08-07 20:38:53 +03:00
Andrew Swan
34c3a8c80d Bug 1569135 Fix --screenshot r=kmag
This patch ressurects HiddenFrame.jsm and uses it when handling
the --screenshot command line argument to load the requested page
in a content process.  The actual logic for grabbing the image is
also ported to a JSWindowActor.  The test for this feature remains
suboptimal as described in the bug.

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

--HG--
rename : browser/components/shell/HeadlessShell.jsm => browser/components/shell/ScreenshotChild.jsm
extra : moz-landing-system : lando
2019-08-07 16:07:08 +00:00
Florian Quèze
e7ef747496 Bug 1571793 - browser_startup.js and browser_startup_content.js should record the correct stacks with failures, r=johannh.
Differential Revision: https://phabricator.services.mozilla.com/D40839

--HG--
extra : moz-landing-system : lando
2019-08-07 13:55:49 +00:00
Moritz Birghan
899a70f4b9 Bug 1563849 - Get btoa(getDERString(cert)) from an API r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39970

--HG--
extra : moz-landing-system : lando
2019-08-06 09:03:38 +00:00
Johann Hofmann
ae0eba57ce Bug 1570751 - Avoid identity block flickering. r=Ehsan
The security UI receives an about:blank load when navigating to or from
about: pages, which causes it to try and render security indicators before
showing the "real" security indicators for the next site. It shouldn't do that.

The solution is a bit cheap, we simply ignore all about:blank and other loads
that will receive a pageproxystate="invalid" state in the URL bar and thus
hide the identity block. This takes care of our problem and also avoids
some work when loading the home page.

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

--HG--
extra : moz-landing-system : lando
2019-08-07 09:03:13 +00:00
Ciure Andrei
adef2661b1 Merge inbound to mozilla-central. a=merge 2019-08-07 07:34:55 +03:00
Kris Maglione
c01ad83372 Bug 1571502: Don't leak TabGroups which have never had windows joined to them. r=nika
Currently, TabGroups know to break their reference cycles only when the last
window leaves them. For TabGroups which have never had a window join (which
happens under Fission), this means they also never see a window leave, and
therefore never break their reference cycles, and leak.

This patch adds a check to break reference cycles if no windows have joined by
the time a BrowserChild they belong to is destroyed.

MANUAL PUSH: Lando fails to rebase.

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

--HG--
extra : source : 03acb28ab60fb77fa06064385a62cc46cf4ad1bd
extra : amend_source : 0a71625d99951bebe45ee6f62570de491a714e97
2019-08-02 18:19:53 -07:00
Tim Huang
f63f1e8dd9 Bug 1567192 - Part 5: Update test browser_protections_UI.js in order to test the tracking protection state during the TP switch flow. r=nhnt11
This patch adds two more checks for the icon state in the current TP
switch flow test.

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

--HG--
extra : moz-landing-system : lando
2019-08-06 09:10:44 +00:00
Tim Huang
8df5fff324 Bug 1567422 - Part 4: Update tests. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40418

--HG--
extra : moz-landing-system : lando
2019-08-06 06:01:38 +00:00
Paul Zuehlcke
1a5fdde435 Bug 1568819 - Update identity popup styles for Skyline. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D40025

--HG--
extra : moz-landing-system : lando
2019-08-05 16:37:35 +00:00
Florian Quèze
2eac6a2807 Bug 1555181 - Adjust startup sync IPC whitelist to let PWebRenderBridge::Msg_GetSnapshot and PCompositorBridge::Msg_WillClose sometimes happen after handling user events on Windows QR, r=johannh.
Differential Revision: https://phabricator.services.mozilla.com/D40636

--HG--
extra : moz-landing-system : lando
2019-08-05 15:07:14 +00:00
Andrea Marchesini
01a1f139a1 Bug 1570971 - Enable all the annotation URL-Classifier features and remove their prefs, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D40420

--HG--
extra : moz-landing-system : lando
2019-08-05 11:34:24 +00:00