Commit Graph

7834 Commits

Author SHA1 Message Date
Andrew Swan
7696519cff Bug 1555060 Convert <tabs> to a custom element
The conversion for "regular" <tabs> elements is straightforward, most of
the work here is to support the tab strip (the <tabs> element with the id
"tabbrowser-tabs").  The markup needed for the tab strip moves directly
into browser.xhtml and the construction/teardown logic is now explicitly
driven from gBrowser.  There are many more little tweaks too numerous to
enumerate.

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

--HG--
rename : browser/base/content/tabbrowser.xml => browser/base/content/tabbrowser-tabs.js
extra : source : c163881a80c9a032b40f7d965fad6a6850fcf8a4
extra : intermediate-source : a5c6deeda8a9475ac0268a4351417c8ff659c962
extra : histedit_source : 5eb8b3d14027f2aeca5c52534096837cd0343104%2Ca23a07ddd5e1fb8bd084644dd6db0ee028b7c4b4
2019-06-20 14:09:37 -07:00
Andrew Swan
f1d137eff5 Bug 1555060 Stop using dom structure for <tabs>/<tab> relationships
A bunch of existing code assumes that <tab> elements are the immediate
and only children of a <tabs> element, and uses dom apis to traverse
relationships between these elements.  To simplify conversion of <tabs>
to a custom element (and hopefully improve readability a bit at the same
time!), introduce new apis:

On <tab>
this.parentNode -> this.container
this.nextElementSibling -> this.container.findNextTab(...)
this.previousElementSibiling -> this.container.findNextTab(...)

On <tabs>
this.children -> this.allTabs

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

--HG--
extra : source : f4e21e465f384b90fa1e768141c4db708748bf66
extra : histedit_source : 95d8a4242e8e04df9e29c2b647558d37e910b845
2019-06-11 14:49:46 -07:00
Abdoulaye O. Ly
6c5fd5d7bc Bug 1559234 - Add frame process ID to 'This Frame' submenu in context-menu. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D35673

--HG--
extra : moz-landing-system : lando
2019-06-26 16:33:57 +00:00
Paul Zuehlcke
8c37629c74 Bug 1557041 - Leave DOM full-screen when identity-popup is shown. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D35234

--HG--
extra : moz-landing-system : lando
2019-06-27 11:15:17 +00:00
Oana Pop Rus
a89dd5c308 Backed out changeset 3fdff178b58d (bug 1558898) for multiple failure on browser_private_clicktoplay.js
--HG--
extra : rebase_source : ff00939691ce9b4466b4f9c5781fa22b16600ed4
2019-06-27 14:29:44 +03:00
Coroiu Cristina
057f20d982 Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-06-27 12:42:29 +03:00
Coroiu Cristina
aa2d0d75c6 Merge autoland to mozilla-central a=merge 2019-06-27 12:33:50 +03:00
Csoregi Natalia
5663c7541b Backed out 4 changesets (bug 1488953) for causing Bug 1559690. a=backout
Backed out changeset 6b9cfebe8076 (bug 1488953)
Backed out changeset 6759badeec0e (bug 1488953)
Backed out changeset 5555e12078d3 (bug 1488953)
Backed out changeset 2a638724408b (bug 1488953)
2019-06-27 01:03:50 +03:00
Gijs Kruitbosch
daf8e7418a Bug 1558898 - show a 'block' option for plugins in private browsing, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34899

--HG--
extra : moz-landing-system : lando
2019-06-22 22:36:17 +00:00
prathiksha
82a4475a6a Bug 1555438 - Remove getDetailedCertErrorInfo from NetErrorChild.jsm. r=johannh,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D33065

--HG--
extra : moz-landing-system : lando
2019-06-26 20:24:05 +00:00
Cameron McCormack
9bbe5b00a3 Bug 1554571 - Part 3: Cache computed styles of scrollbar part anonymous content. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D33123

--HG--
extra : moz-landing-system : lando
2019-06-27 07:22:22 +00:00
Tim Huang
39fc9b98b6 Bug 1555230 - Part 2: Add a test case for testing 'Show Full Report' in the footer of the protection panel. r=nhnt11
This patch adds a test for testing 'Show Full Report' link in the
footer section. The test will click the link and chekc if the
'about:protections' opens properly.

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

--HG--
extra : moz-landing-system : lando
2019-06-24 18:10:20 +00:00
Dão Gottwald
b72f7996d5 Bug 1560398 - Merge appMenu-fxa-status with appMenu-fxa-container. r=eoger
Differential Revision: https://phabricator.services.mozilla.com/D35470

--HG--
extra : moz-landing-system : lando
2019-06-24 20:29:46 +00:00
prathiksha
a0838122e3 Bug 1556172 - Enable browser_aboutCertError.js on mac and linux64. r=johannh
Depends on D35498

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

--HG--
extra : moz-landing-system : lando
2019-06-23 02:27:02 +00:00
prathiksha
c2b5486f19 Bug 1556172 - Fix browser_aboutCertError.js from intermittently failing. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D35498

--HG--
extra : moz-landing-system : lando
2019-06-23 02:21:20 +00:00
Nihanth Subramanya
0b7007a23b Bug 1557093 - Use altKey+click to trigger the protections panel. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35438

--HG--
extra : moz-landing-system : lando
2019-06-21 19:35:51 +00:00
Nihanth Subramanya
df38762841 Bug 1557725 - Ensure protections panel is enabled for tests. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D35437

--HG--
extra : moz-landing-system : lando
2019-06-21 19:36:27 +00:00
Johann Hofmann
90ecafd3e1 Bug 1555963 - Add WindowGlobalParent.getSecurityInfo(). r=nika,mconley
This adds an API for fetching security info per frame, no matter if we have
a certificate error or a valid certificate.

I tried to make this work in a Fission-compatible way, let me know if this
is the right approach.

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

--HG--
extra : moz-landing-system : lando
2019-06-21 05:58:40 +00:00
Johann Hofmann
926df091cf Bug 1555627 - Set a learn more link on net error pages. r=prathiksha
Bug 1284835 removed the hard-coded learn more link on cert and net error pages, which worked
for cert error pages because they explicitly set their own learn more links, but net error
pages were relying on the default href to be set. This wasn't revealed until bug 1530348
made about:neterror part of the new error pages.

The solution is simply to explicitly set the correct learn more link to net error pages.

Note that in the case of PR_END_OF_FILE errors, we were not previously showing a "learn more"
link. That was not intentional, as far as I can tell, but was caused by the bug fixed in bug 1477875.

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

--HG--
extra : moz-landing-system : lando
2019-06-20 23:26:43 +00:00
Jed Davis
142fe6ae22 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-06-20 22:40:42 +00:00
Jed Davis
80496e3984 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-06-20 22:40:30 +00:00
Ciure Andrei
72f3f971fb Backed out 15 changesets (bug 1479960, bug 1426526, bug 1534780, bug 1536697) for causing build bustages CLOSED TREE
Backed out changeset 5645e0cc3915 (bug 1479960)
Backed out changeset a7c09894c6a0 (bug 1536697)
Backed out changeset 510f03381af9 (bug 1426526)
Backed out changeset 7cf4735a088f (bug 1426526)
Backed out changeset 41080844e645 (bug 1479960)
Backed out changeset fdba3c5f8fd0 (bug 1479960)
Backed out changeset 26a8ebcb2db4 (bug 1479960)
Backed out changeset d0d383e5bae1 (bug 1479960)
Backed out changeset c418095bb7b7 (bug 1479960)
Backed out changeset 7b78b1945532 (bug 1479960)
Backed out changeset c47d47d4073d (bug 1479960)
Backed out changeset 71253b62a633 (bug 1479960)
Backed out changeset ae525f20bdbb (bug 1479960)
Backed out changeset 7fba719355d7 (bug 1534780)
Backed out changeset 771db331860a (bug 1534780)
2019-06-20 19:54:57 +03:00
Jed Davis
1ad12afe4e 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-06-17 02:20:08 +00:00
Jed Davis
eb551e990e 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-06-17 02:19:51 +00:00
Cosmin Sabou
8402a765af Bug 1556172 - Disable browser_aboutCertError.js on mac and linux64 cause of frequent failures. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D35216

--HG--
extra : moz-landing-system : lando
2019-06-18 11:31:42 +00:00
prathiksha
b901cf9927 Bug 1552333 - Move onCertErrorDetails from NetErrorChild.jsm to aboutNetError.js. r=johannh,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D31901

--HG--
extra : moz-landing-system : lando
2019-06-18 03:54:21 +00:00
Brian Hackett
90aa1dfe93 Bug 1124122 - Suppress postMessage events on a window's document when event handling is suppressed, r=smaug.
--HG--
extra : rebase_source : 7aa7eceb16238eebe414c67e06fcb0908138f3f6
2019-06-11 12:53:00 -10:00
Boris Zbarsky
d40a269ffc Bug 1558735 part 1. Stop using [array] in nsIX509Cert.getRawDER. r=keeler,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D34670

--HG--
extra : moz-landing-system : lando
2019-06-14 18:17:20 +00:00
Jared Wein
5afe57f674 Bug 1559555 - Add aboutLoginsUtils.js to the browser_all_files_referenced.js test until JS import syntax is supported. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D35122

--HG--
extra : moz-landing-system : lando
2019-06-15 02:50:19 +00:00
Tim Huang
de1b4b76e4 Bug 1555232 - Part 2: Add a test case for the protection settings button. r=nhnt11
This patch add a test for ensuring the protection settings button works
correctly. It will open a tab and its protection panel. Clicking the
protection settings button and chekcing if the about:preferences has
been opened properly or not.

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

--HG--
extra : moz-landing-system : lando
2019-06-14 09:17:28 +00:00
Gijs Kruitbosch
38159f5246 Bug 1519434 - remove plugin click to play pref as running without it won't make sense anymore, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D34212

--HG--
extra : moz-landing-system : lando
2019-06-13 08:40:59 +00:00
Hiroyuki Ikezoe
6ce88e6013 Bug 1488953 - Allows toolbar background paint flash along with the urlbar flickers on MacOSX in browser_windowopen.js. r=mconley
On MacOSX, especially on MacOS 10.10, the toolbar paint flush happens along
with the urlbar flickers.

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

--HG--
extra : moz-landing-system : lando
2019-06-13 02:30:25 +00:00
Hiroyuki Ikezoe
ec9ad7bde1 Bug 1488953 - Disable smooth scroll on tabbar scrollbox to avoid stopping scrolling the last tab on race conditions. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33615

--HG--
extra : moz-landing-system : lando
2019-06-13 02:30:25 +00:00
Hiroyuki Ikezoe
7254f7139b Bug 1488953 - Wait for a scrollend event to make sure the scrolling has finished before proceeding the test. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33614

--HG--
extra : moz-landing-system : lando
2019-06-13 02:29:08 +00:00
Kartikaya Gupta
55e18a4f5a Bug 1553579 - Re-enable test that was fixed in bug 1557105. r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D34720

--HG--
extra : moz-landing-system : lando
2019-06-13 00:12:00 +00:00
Andreea Pavel
f66f9762a5 Backed out 7 changesets (bug 1519434) for mochiest failures e.g test_bug1165981.html on a CLOSED TREE
Backed out changeset 1314623831ad (bug 1519434)
Backed out changeset 6dd4fa67e209 (bug 1519434)
Backed out changeset b241c580b293 (bug 1519434)
Backed out changeset b48dca2f487f (bug 1519434)
Backed out changeset 49c64ed2e67b (bug 1519434)
Backed out changeset dd009a001c6c (bug 1519434)
Backed out changeset 5b6ec4d2f0ab (bug 1519434)
2019-06-12 23:31:16 +03:00
Gijs Kruitbosch
7a17996536 Bug 1519434 - remove plugin click to play pref as running without it won't make sense anymore, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D34212

--HG--
extra : moz-landing-system : lando
2019-06-12 18:49:30 +00:00
Zibi Braniecki
97b22563e5 Bug 1558306 - Switch L10nRegistry initialization to happen right before the first content process gets created. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D34572

--HG--
extra : moz-landing-system : lando
2019-06-12 17:49:56 +00:00
Andreea Pavel
1adae3f54d Backed out 2 changesets (bug 1558306) on request on a CLOSED TREE
Backed out changeset a09644bb0e6e (bug 1558306)
Backed out changeset 7832d4ed2c61 (bug 1558306)
2019-06-12 20:40:00 +03:00
Zibi Braniecki
c8e0e0bf3a Bug 1558306 - Switch L10nRegistry initialization to happen right before the first content process gets created. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D34572

--HG--
extra : moz-landing-system : lando
2019-06-12 15:15:48 +00:00
Ehsan Akhgari
caea64f895 Bug 1557872 - Add a new JS module for manipulating the Content Blocking allow list; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D34355

--HG--
extra : source : 832579daee7c9e328d220611ab8929a1a4cf150b
2019-06-11 22:28:31 +00:00
Dorel Luca
ddbbed33a8 Backed out changeset 832579daee7c (bug 1557872) for Browser-chrome failures in browser/components/contextualidentity/test/browser/browser_aboutURLs.js. CLOSED TREE 2019-06-12 10:06:21 +03:00
Ehsan Akhgari
19f96d0e2a Bug 1557872 - Add a new JS module for manipulating the Content Blocking allow list; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D34355

--HG--
extra : moz-landing-system : lando
2019-06-11 22:28:31 +00:00
Tim Huang
d62d8572d3 Bug 1556000 - Part 2: Whitelist sync IPCs 'PCompositorBridge::Msg_MapAndNotifyChildCreated' and 'PCompositorBridge::Msg_NotifyChildCreated' for the test 'browser_startup_syncIPC.js'. r=florian
We need to whistlist 'PCompositorBridge::Msg_MapAndNotifyChildCreated'
and 'PCompositorBridge::Msg_NotifyChildCreated' sync IPCs in the stage
'before becoming idle' for Windows platform since removing the content
window telemetry probe causing these sync IPCs been sent earlier than
before. And the IPC recorder sometimes doesn't fully cover the stage
in Windows platform. So, we will get these sync IPCs in the stage and
we need to whitelist them.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 20:38:11 +00:00
Gijs Kruitbosch
01a67ca408 Bug 1557790 - fix initialization of blocklist clients, r=aswan
In order for the remote settings blocklist to sync, we need to ensure that
the corresponding remote settings clients are created (see also
https://bugzilla.mozilla.org/show_bug.cgi?id=1557790#c2 ). This is
necessary because the blocklist clients are not in the `main` bucket.

This would otherwise happen as soon as any consumer asked the blocklist
for any block data, but that's not going to happen unless the list of
add-ons or plugins changes. Even if there are no changes to the local
lists of installed things, we do need blocklist updates because
otherwise already-installed items would never get blocked even if/when
they are added to the blocklist.

The client initialization should have no other side effects (in terms of
performance/cost) beyond ensuring they get included in things we ask for
when the update-timer fires.

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

--HG--
extra : moz-landing-system : lando
2019-06-11 18:39:45 +00:00
Boris Zbarsky
9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Mihai Alexandru Michis
bbc8c51513 Backed out changeset 975fec3b327c (bug 1557872) for causing bc failures in browser_trackingUI_pbmode_exceptions.js CLOSED TREE 2019-06-11 19:43:07 +03:00
Ehsan Akhgari
2945c907d7 Bug 1557872 - Add a new JS module for manipulating the Content Blocking allow list; r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D34355

--HG--
extra : moz-landing-system : lando
2019-06-11 14:42:58 +00:00
Cosmin Sabou
51cdaa15e1 Bug 1549115 - Fix browser chrome failures on browser_parsable_script.js. r=jaws 2019-06-11 01:47:00 +03:00
Andreea Pavel
2c4bcdbd1d Backed out 3 changesets (bug 1488953) for failing bc at browser_windowopen.js on a CLOSED TREE
Backed out changeset 8646ea969443 (bug 1488953)
Backed out changeset 519acd8e145f (bug 1488953)
Backed out changeset 3a5cbbb9bc48 (bug 1488953)
2019-06-10 11:48:07 +03:00