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

305 Коммитов

Автор SHA1 Сообщение Дата
Johann Hofmann 407c6ddefc Bug 1586846 - Put the TLS 1.0 and TLS 1.1 enabling UI behind a pref. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D56528

--HG--
extra : moz-landing-system : lando
2019-12-12 10:22:25 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione 2c38fe8acb Bug 1596918: Part 4f - Fix callers which have timing issues. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53747

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:31 +00:00
Kris Maglione 3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione dc4307d5ed Bug 1596918: Part 4f - Fix callers which have timing issues. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53747

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione fa3556c3fc Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione 7f21292ff1 Bug 1596918: Part 4f - Fix callers which have timing issues. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53747

--HG--
extra : moz-landing-system : lando
2019-12-06 22:15:31 +00:00
Kris Maglione b5238224ba Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Neil Deakin 3a606706a1 Bug 1298996, set up the location change listener promise before clicking the button to see if it fixes the intermittent, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D54268

--HG--
extra : moz-landing-system : lando
2019-11-22 22:11:33 +00:00
Neil Deakin 72f98da7dc Bug 1596315, use SpecialPowers.spawn instead of ContentTask.spawn so the content steps can run in a child iframe process, enable test for fission, r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D53019

--HG--
extra : moz-landing-system : lando
2019-11-18 14:29:31 +00:00
Martin Thomson 7a96f9362c Bug 1590935 - Offer to re-enable TLS 1.0 on SSL_ERROR_PROTOCOL_VERSION_ALERT, r=nhnt11
As it turns out, there are some sites that generate this error.  It's a small
number, but enough to justify the change.

No new tests because we can't generate this condition in our test setup.

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

--HG--
extra : moz-landing-system : lando
2019-11-13 09:34:48 +00:00
Kashav Madan 7710132c7f Bug 1595183 - Unskip passing Fission tests, r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D52406

--HG--
extra : moz-landing-system : lando
2019-11-12 15:09:22 +00:00
Sean Feng 74eaf3ce20 Bug 1592083 - Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw
This patch converts the certList attribute of nsITransportSecurityInfo
from nsIX509CertList to Array<nsIx509Cert>

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

--HG--
extra : moz-landing-system : lando
2019-10-29 17:20:07 +00:00
Mihai Alexandru Michis 44e67f1a7f Backed out changeset 11e5baee978e (bug 1580315) for issues related to certList. CLOSED TREE 2019-10-21 23:50:35 +03:00
Sean Feng 2279d51cf5 Bug 1580315 - Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw
This patch converts the certList attribute of nsITransportSecurityInfo
from nsIX509CertList to Array<nsIx509Cert>

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:49:01 +00:00
Gijs Kruitbosch 6371a38acd Bug 1588835 - fix browser_bug633691.js to pass with fission enabled, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49313

--HG--
rename : browser/base/content/test/general/browser_bug633691.js => browser/base/content/test/about/browser_bug633691.js
extra : moz-landing-system : lando
2019-10-16 10:03:58 +00:00
Razvan Maries 4668220824 Backed out changeset 445aeafc7bd3 (bug 1588835) for causing perma fails on browser_bug633691.js. CLOSED TREE
--HG--
rename : browser/base/content/test/about/browser_bug633691.js => browser/base/content/test/general/browser_bug633691.js
extra : rebase_source : 8d33b0355074c49d76111391ff7d91c3be87b7aa
2019-10-16 02:20:13 +03:00
Gijs Kruitbosch 00077cbcd6 Bug 1588835 - fix browser_bug633691.js to pass with fission enabled, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D49313

--HG--
rename : browser/base/content/test/general/browser_bug633691.js => browser/base/content/test/about/browser_bug633691.js
extra : moz-landing-system : lando
2019-10-15 20:52:35 +00:00
Kashav Madan 409851d51d Bug 1583240 - Update fission annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D47648

--HG--
extra : moz-landing-system : lando
2019-10-08 15:29:06 +00:00
Johann Hofmann 204f15a778 Bug 1584543 - Make checks for in-content functionality depend on documentURI instead of principal URI. r=ckerschb,Gijs
This is a necessary change that was done for Fluent access in bug 1573276. In almost all cases,
we want to rely on the principal for making security decisions, but the principal does not
store the original URI in cases where an about: page was sandboxed (it becomes a null principal URI),
and thus we need to use the documentURI here.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 12:14:22 +00:00
Martin Thomson 336d7bb418 Bug 1579285 - Offer to enable TLS 1.0 on neterror page r=johannh
As we roll out the TLS 1.0 and 1.1 deprecation, sites that don't support TLS 1.2
will show the neterror page.  This adds a box to that page that shows in this
specific case.  That box explains what is going on and gives an option to
re-enable TLS 1.0.

As mentioned, this will show alongside an option to reset TLS-related
preferences if any overrides are active.

Hitting the button will set the new pref to 'true' and reload the page.

Once the override is engaged, the option won't show, but that option to reset
preferences will show (as this is a TLS-related preference).

The intent is to remove this affordance in March 2020 as we formally move to
having TLS 1.2 the minimum version.  All going to plan, this will only affect
prerelease channels, though anyone who has tweaked security.tls.version.* could
also see this.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 01:26:06 +00:00
Coroiu Cristina 735d79f681 Backed out 4 changesets (bug 1579285, bug 1579270) for browser-chrome failures at browser/base/content/test/siteIdentity/browser_deprecatedTLSVersions.js on a CLOSED TREE
Backed out changeset 36d7cc55bd16 (bug 1579285)
Backed out changeset 26e3ed3c1592 (bug 1579285)
Backed out changeset 913652258fe6 (bug 1579285)
Backed out changeset 0781e60dd54c (bug 1579270)
2019-09-27 04:19:59 +03:00
Martin Thomson cd23d1b0d9 Bug 1579285 - Offer to enable TLS 1.0 on neterror page r=johannh
As we roll out the TLS 1.0 and 1.1 deprecation, sites that don't support TLS 1.2
will show the neterror page.  This adds a box to that page that shows in this
specific case.  That box explains what is going on and gives an option to
re-enable TLS 1.0.

As mentioned, this will show alongside an option to reset TLS-related
preferences if any overrides are active.

Hitting the button will set the new pref to 'true' and reload the page.

Once the override is engaged, the option won't show, but that option to reset
preferences will show (as this is a TLS-related preference).

The intent is to remove this affordance in March 2020 as we formally move to
having TLS 1.2 the minimum version.  All going to plan, this will only affect
prerelease channels, though anyone who has tweaked security.tls.version.* could
also see this.

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

--HG--
extra : moz-landing-system : lando
2019-09-27 00:18:11 +00:00
Alex Catarineu 8d86dd4c94 Bug 1573276 - Always allow localization in error pages r=johannh,peterv
Differential Revision: https://phabricator.services.mozilla.com/D43216

--HG--
extra : moz-landing-system : lando
2019-09-25 10:39:45 +00:00
prathiksha 103e8878c6 Bug 1578239 - Remove security.ui.certerror telemetry. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D46115

--HG--
extra : moz-landing-system : lando
2019-09-18 10:53:46 +00:00
Tim Nguyen e043df8d78 Bug 1534455 - Convert autocomplete binding to a customized input element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33250

--HG--
rename : toolkit/content/widgets/autocomplete.xml => toolkit/content/widgets/autocomplete-input.js
extra : moz-landing-system : lando
2019-09-17 06:22:42 +00:00
Mihai Alexandru Michis f9580519b8 Backed out changeset e859a5aebb5b (bug 1534455) for causing failures at test_bug437844.xul
--HG--
rename : toolkit/content/widgets/autocomplete-input.js => toolkit/content/widgets/autocomplete.xml
2019-09-17 07:51:36 +03:00
Tim Nguyen 5d8a3da397 Bug 1534455 - Convert autocomplete binding to a customized input element. r=dao,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D33250

--HG--
rename : toolkit/content/widgets/autocomplete.xml => toolkit/content/widgets/autocomplete-input.js
extra : moz-landing-system : lando
2019-09-17 01:35:25 +00:00
prathiksha 2a39a566d7 Bug 1553342 - Have Browser:CertExceptionError message exchanges happen over RPM. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34581

--HG--
extra : moz-landing-system : lando
2019-09-05 20:04:03 +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
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
Kris Maglione e40b418215 Bug 1566952: Part 2 - Update Fission failure annotations after skipping crashes. r=mccr8
When a test crashes, the harness skips all of the remaining tests in the
directory. That means that with crashes skipped, we now try to run a whole lot
more tests than we did before, and a lot of them fail under Fission.

This patch adds annotations to the new failures that show up after part 1.

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

--HG--
extra : rebase_source : 292157039c88fc615f5de41679e96e72766ac4db
2019-07-19 12:30:10 -07:00
Kris Maglione 0962c2b731 Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

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

--HG--
extra : rebase_source : 39ba8fec2e882cfe577c5f2b58ab7e4b461f1178
2019-07-15 16:19:32 -07:00
Victor Porof f9f5914039 Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00
Julien Cristau 0be5cb74de Bug 1561994 - Fix browser_aboutCertError_mitm.js so it passes when security.enterprise_roots.enabled is enabled by default. r=keeler
Turn off security.enterprise_roots.enabled for this test since that's
what it expects.

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

--HG--
extra : rebase_source : 5904a8668cfaa7654895239e7698cac7338ffb51
2019-06-28 08:59:11 +02: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
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
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
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
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
Johann Hofmann 3736102bef Bug 1547695 - De-dupe #errorTryAgain on about:neterror/certerror. r=prathiksha
We were using the same ID on two elements, which kind of messed up things everywhere
our code reasonably expected only one element of the kind to exist. We just use a
class name now.

This also cleans up #advancedPanelErrorTryAgain which worked around this issue
by using a different ID.

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

--HG--
rename : browser/base/content/test/general/browser_bug435325.js => browser/base/content/test/about/browser_bug435325.js
extra : moz-landing-system : lando
2019-05-13 19:38:03 +00:00
monikamaheshwari bb5ca39415 Bug 1530335 Use the same date/time format everywhere on cert error pages r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27875

--HG--
extra : moz-landing-system : lando
2019-05-06 06:13:58 +00:00
Jan-Erik Rediger 6bc73bc6a2 Bug 1529696 - Rename DATASET_RELEASE_CHANNEL_OPTOUT/OPTIN to DATASET_ALL/PRERELEASE_CHANNELS everywhere r=chutten
Depends on D25934

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:12:11 +00:00
Johann Hofmann 204f870fd6 Bug 1530348 - Unfork aboutNetError.{xhtml,css}. r=nhnt11
The larger changesets in this patch are simply moving code from one file into the other with hg mv.

A short summary of the changes:

- I removed the forked redirection from AboutRedirector.cpp
- I deleted the original aboutNetError.xhtml and aboutNetError.css files
  and moved aboutNetError-new.xhtml and aboutNetError-new.css in their place instead.
- I removed the browser.security.newcerterrorpage.enabled pref and all its usages.
- I removed some localization strings and resources that went unused because of the above changes.

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

--HG--
extra : moz-landing-system : lando
2019-03-29 09:33:58 +00:00
Syeda Asra Arshia Qadri 1c3bc2c0b5 Bug 1535278: Cert error pages in iframes should not say 'Warning: Potential Security Risk Ahead' r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D23792

--HG--
extra : moz-landing-system : lando
2019-03-22 21:09:10 +00:00
Sebastian Hengst 757f55aa2c Bug 1535666 - Explicitly turn on new cert error pages in browser_aboutCertError_noSubjectAltName.js to let it pass on beta r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23728

--HG--
extra : moz-landing-system : lando
2019-03-18 15:27:16 +00:00
Andreea Pavel 4f60356595 Backed out changeset b12dda048dd5 (bug 1535666) patch does not work on beta DONTBUILD 2019-03-16 18:51:42 +02:00
Sebastian Hengst 11cbaa0ead Bug 1535666 - Explicitly turn on new cert error pages in browser_aboutCertError_noSubjectAltName.js to let it pass on beta r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23728

--HG--
extra : moz-landing-system : lando
2019-03-15 22:45:46 +00:00
Carolina Jimenez Gomez 0f33068ca0 Bug 1483626 - Checks if subjectAltNames has elements that are not empty string, and if it has them, they will be remove, preventing incomplete r=johannh
messages to show to the user. r=johannh

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

--HG--
extra : moz-landing-system : lando
2019-03-14 15:45:55 +00:00
Johann Hofmann 6b5b6ed403 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 23:36:54 +00:00
Gurzau Raul c747f02899 Backed out 2 changesets (bug 1529643) for eslint failure at NetErrorChild.jsm on a CLOSED TREE.
Backed out changeset 000dfd4caca0 (bug 1529643)
Backed out changeset e4718a35d70b (bug 1529643)
2019-03-14 01:09:43 +02:00
Johann Hofmann 1235c91131 Bug 1529643 - Implement MitM priming on certificate error pages. r=keeler,mconley
Differential Revision: https://phabricator.services.mozilla.com/D22406

--HG--
extra : moz-landing-system : lando
2019-03-13 21:04:02 +00:00
Sylvestre Ledru 5604250942 Bug 1531176 - about:support: also support the split of the key r=florian,flod
Differential Revision: https://phabricator.services.mozilla.com/D22676

--HG--
extra : moz-landing-system : lando
2019-03-10 15:29:42 +00:00
Mike de Boer 481ae95c00 Bug 1524593 - nsISearchService (aka nsIBrowserSearchService, previously) refactor to be mostly an asynchronous, in preparation of WebExtension engines. r=daleharvey
This is a rollup of all the patches that have landed on the cedar project branch:

891252fdd0
Bug 1492475 - Part 1: Migrate most, if not all nsSearchService consumers to use async APIs. r=florian

79b2eb2367
Bug 1492475 - Part 2: Move nsIBrowserSearchService.idl to toolkit/components/search/nsISearchService.idl and update references. r=florian

a947d3cdf0
Bug 1492475 - Part 3: The search service init() method should simply return a Promise. r=florian

c1e172dfac
Bug 1492475 - Part 4: Remove the synchronous initialization flow. r=florian

cd41189eac
Bug 1492475 - Part 5: Since async initialization of the search service now is implicit behavior, remove the distinctive verbiage used internally. r=florian

2ae7189dfa
Bug 1492475 - Part 6: Update the cache build task to work with an actual Promise and re-initialize only once at the same time - all to fix race conditions here. r=florian

c8ee92973f
Bug 1492475 - Part 7: Make the region fetch not block the init flow, to ensure it's as fast as possible. r=florian

c44e674e16
Bug 1492475 - Part 8: Introduce an init flag, which can only be used privately, that allows to explicitly skip waiting for the region check process to complete. r=florian

6c79eaf1d3
Bug 1492475 - Part 9: Update unit tests to stop using 'currentEngine', in favor of 'defaultEngine'. r=Standard8

21b3aa17ee
Bug 1492475 - Part 10: Update unit tests to be fully aware of the new, async signatures of the search service API and remove sync init flow tests. r=mkaply,florian

ce5ba69019
Bug 1492475 - Part 11: Repair incorrect usage of the `identifier` property of nsISearchEngine instances. r=florian

fd177a7994
Bug 1518543 - Fix up the Android (Fennec) nsISearchService shim to work with the new asynchronous API. r=florian

3653d8ee22
Bug 1523708 - Change the search service interaction in the show-heartbeat action to use the new async API. r=florian

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

--HG--
rename : netwerk/base/nsIBrowserSearchService.idl => toolkit/components/search/nsISearchService.idl
extra : moz-landing-system : lando
2019-02-02 11:27:21 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Johann Hofmann ad87a838f7 Bug 1492498 - Make certificate exceptions on the new cert error pages permanent by default. r=nhnt11,keeler
This includes a new test for the feature and a bit of test cleanup to factor
out all exception related tests into their own test file.

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

--HG--
rename : browser/base/content/test/about/browser_aboutCertError.js => browser/base/content/test/about/browser_aboutCertError_exception.js
extra : moz-landing-system : lando
2019-01-23 16:59:12 +00:00
Mark Banner d13fd4f699 Bug 1521707 - Move waitForDocLoadAndStopIt to BrowserTestUtils. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D17258

--HG--
extra : moz-landing-system : lando
2019-01-23 14:04:30 +00:00
Cosmin Sabou 0035b06ef9 Bug 1402502 - Disable browser_aboutHome_search_suggestion.js on windows 10. r=jmaher 2019-01-21 18:51:00 +02:00
Andrei Oprea 9de5fec37d Bug 1479744 - Clear search history to prevent TV perma fail for browser/base/content/test/about/browser_aboutHome_search_composing.js r=adw
Differential Revision: https://phabricator.services.mozilla.com/D14769

--HG--
extra : moz-landing-system : lando
2019-01-12 00:13:23 +00:00
Johann Hofmann cc1d12d6fc Bug 1414804 - Fix test for expired certificate "helpful" messaging to users with broken system clocks. r=Gijs
We initially thought we would need a new test certificate to be able to test
clock skew, but I found that we can reliably produce the clock skew page by
making Firefox believe that the validity range of the cert used by
expired.example.com is the correct date. How we do that is described in
more detail in the test comments.

This patch also updates the formatter for the new clock skew page to not
show hours and minutes, as it did previously on the old clock skew warnings.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 17:23:18 +00:00
Ed Lee e5ecdc6d96 Bug 1516272 - Add search hand-off, discovery stream and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D15307

--HG--
extra : moz-landing-system : lando
2019-01-03 01:23:21 +00:00
Gurzau Raul 4a500304ba Backed out changeset 5990f24b16ef (bug 1516272) for failing at browser_google_behavior.js on a CLOSED TREE 2019-01-03 01:15:52 +02:00
Ed Lee 3d659c0a32 Bug 1516272 - Add search hand-off, discovery stream and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D15307

--HG--
extra : moz-landing-system : lando
2019-01-02 21:09:23 +00:00
Jared Wein acfe9c8baf Bug 1507595 - Test fixes. r=flod,Gijs
There are multiple fixes contained in this patch:
- fixes for Android/mobile support
- adding extra strings to the ftl file that were never defined before, and previously the ID was just printed to the page
- update test_l10n.py to not rely on about:support anymore
- changing Troubleshoot.jsm to return and ID and args for the strings that should be displayed, so it is compatible with the Fluent API
- misc. fixes so strings that are not localized don't go through the Fluent codepath

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

--HG--
extra : moz-landing-system : lando
2018-12-28 19:40:33 +00:00
Jared Wein 4f86678a71 Bug 1507595 - Convert about:support to Fluent. r=Gijs,flod
Initial patch by Collin Wing (masterkrombi@gmail.com).

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

--HG--
extra : moz-landing-system : lando
2018-12-28 19:40:17 +00:00
Ciure Andrei 1923fc319e Backed out 2 changesets (bug 1507595) for Android build bustages, missing aboutSupport.dtd CLOSED TREE
Backed out changeset 485ea25a3b82 (bug 1507595)
Backed out changeset 28805dd1b97a (bug 1507595)
2018-12-24 18:44:38 +02:00
Jared Wein db47c666d9 Bug 1507595 - Convert about:support to Fluent. r=Gijs,flod
Initial patch by Collin Wing (masterkrombi@gmail.com).

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

--HG--
extra : moz-landing-system : lando
2018-12-24 16:19:20 +00:00
Ciure Andrei bd28e2c741 Backed out changeset 4002b751596e (bug 1414804) for browser_aboutCertError_clockSkew.js failures CLOSED TREE
--HG--
extra : rebase_source : f43226ac94c0be374ea20e57fb044308beed2782
2018-12-04 23:20:39 +02:00
Johann Hofmann 975489fa09 Bug 1414804 - Fix test for expired certificate "helpful" messaging to users with broken system clocks. r=Gijs
We initially thought we would need a new test certificate to be able to test
clock skew, but I found that we can reliably produce the clock skew page by
making Firefox believe that the validity range of the cert used by
expired.example.com is the correct date. How we do that is described in
more detail in the test comments.

This patch also updates the formatter for the new clock skew page to not
show hours and minutes, as it did previously on the old clock skew warnings.

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

--HG--
extra : moz-landing-system : lando
2018-12-04 19:31:41 +00:00
Siddhant085 6218cd4d20 Bug 1503851 - Replace Services.search.currentEngine by defaultEngine in test code r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D11553

--HG--
extra : moz-landing-system : lando
2018-11-13 09:34:00 +00:00
Johann Hofmann e5856b4cf7 Bug 1500103 - Only test return_button_adv and exception_button for new cert error pages. r=nhnt11
exception_button can technically be clicked on the old error pages, too, but conditionally
checking for the cert exception window to pop up is a bit overkill for this temporary workaround.
Ideally we would remove this pref soon anyway.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 14:21:41 +00:00
Johann Hofmann e55a046d93 Bug 1499685 - Fix browser_aboutCertError.js test cases for the old cert error pages. r=nhnt11
Two of these tests simply require the new pref to be set, while there was some actual
breakage that required me to put some more code behind another gate.

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

--HG--
extra : moz-landing-system : lando
2018-10-17 22:13:34 +00:00
Johann Hofmann 4dfe346a4b Bug 1484873 - Add a "View Certificate" link to all cert error pages. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D8966

--HG--
extra : moz-landing-system : lando
2018-10-17 14:16:41 +00:00
Margareta Eliza Balazs f555fd3b60 Backed out changeset 868c99ece921 (bug 1484873) for ES lint failure /builds/worker/checkouts/gecko/browser/base/content/browser.js CLOSED TREE 2018-10-17 17:02:16 +03:00
Johann Hofmann 2d2b279d6d Bug 1484873 - Add a "View Certificate" link to all cert error pages. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D8966

--HG--
extra : moz-landing-system : lando
2018-10-17 13:09:27 +00:00
Johann Hofmann a63c05f4b8 Bug 1484255 - Add Telemetry Events for the certificate error pages. r=nhnt11,keeler
Differential Revision: https://phabricator.services.mozilla.com/D8281

--HG--
extra : moz-landing-system : lando
2018-10-17 13:10:26 +00:00
Johann Hofmann 9d309f8016 Bug 1492943 - Part 1 - Visually distinguish potentially dangerous certificate errors. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D8253

--HG--
extra : moz-landing-system : lando
2018-10-16 18:50:38 +00:00
Ciure Andrei 673efa0461 Backed out changeset 1119f9458b5d (bug 1484255) for browser_aboutCertError_telemetry.js failures CLOSED TREE 2018-10-16 03:33:42 +03:00
Johann Hofmann 9f4cd70201 Bug 1484255 - Add Telemetry Events for the certificate error pages. r=nhnt11,keeler
Differential Revision: https://phabricator.services.mozilla.com/D8281

--HG--
extra : moz-landing-system : lando
2018-10-15 23:00:08 +00:00
Mike Conley 90e282026f Bug 1497901 - Make some tests work if Activity Stream runs in its own content process. r=Felipe
The separate Activity Stream content process is currently pref-able, and I'd like to make sure
that the tree is green with it enabled and disabled. This patch makes it so that tests that
browse from about:home/about:newtab to some other page or back work properly even if there
are process flips.

Based on work originally by Jay Lim (:imjching) <jay@imjching.com>.

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

--HG--
extra : moz-landing-system : lando
2018-10-11 21:13:31 +00:00
Diego Pino Garcia 45377e5099 Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-10-09 13:39:35 +01:00
trisha 565dcd8412 Bug 1484761 - Change "security certificates" to "certificates" on the new cert error pages r=johannh
--HG--
extra : rebase_source : a48cbe38cbbaa7d5c0190af83dcc54fd37876526
2018-09-27 17:04:41 +08:00
Mark Banner 691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Kris Maglione 80327d3561 Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D3729

--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Dorel Luca 8e7a61886b Backed out changeset d47a2f5db828 (bug 1481199) browser/base/content/test/urlbar/browser_autocomplete_a11y_label.js. CLOSED TREE 2018-08-23 23:45:02 +03:00
Diego Pino Garcia 6900fb42ab Bug 1481199 - Drop the obsolete dataType parameter for nsIBrowserSearchService.addEngine. r=mkaply 2018-08-23 09:00:00 -04:00
Sebastian Hengst e7f78d6d6c Bug 1484440 - Set browser.security.newcerterrorpage.enabled for exception dialog button test r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D3965

--HG--
extra : moz-landing-system : lando
2018-08-22 15:25:17 +00:00
Johann Hofmann b7d3f78498 Bug 1484259 - Hide the "Add exception" in small iframe error pages. r=nhnt11
This CSS rule was conflicting with the "hidden" property that is being set on the
button when in an iframe. For now I just removed the rule and didn't see any obvious
breakage.

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

--HG--
extra : moz-landing-system : lando
2018-08-22 13:29:50 +00:00
trisha 1925763b0c Bug 1474820 - Add the 'Accept the Risk and Add Exception' Button to the new certificate error pages r=johannh 2018-08-07 16:27:01 +05:30
Trisha Gupta 0569a40197 Bug 1477310 - Enable the new certificate error pages by default in Nightly. r=johannh
MozReview-Commit-ID: DN7s5t2m2Nm
2018-08-01 15:57:22 +05:30
Tooru Fujisawa 9627ef81a3 Bug 1478792 - Check the search term in the request URL in tests for about:home. r=Gijs 2018-07-31 12:27:23 +09:00
Kris Maglione 031076f2f3 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Narcis Beleuzu 561ccb2ceb Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione cb1ee1e34d Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Felipe Gomes 683f921f8c Bug 1409054 - Remove code from the old about:home. r=Mardak
MozReview-Commit-ID: JrgIFr2kAvI

--HG--
extra : rebase_source : 2636bfb0aa6b3fd81a3380c844776c3e0c048c8e
2018-05-22 00:45:44 -03:00
Tooru Fujisawa c12bdc0642 Bug 1420574 - Add CustomizableUITestUtils.prototype.{addSearchBar,removeSearchBar} to show search bar in nav bar and verify it does not overflow. r=Paolo 2018-05-09 09:48:40 +09:00
Issei Horie 3abf069c75 Bug 1447941 - Replace promiseWaitForCondition with TestUtils.waitForCondition in browser_aboutHome_search_searchbar.js r=johannh 2018-05-01 09:30:33 +09:00
Ed Lee c456827081 Bug 1400491 - Set up mutation observer before synthesizing composition. r=mikedeboer,ursula
Undisable test for mac opt and linux32 opt.

MozReview-Commit-ID: 74IZ6VkPdER

--HG--
extra : rebase_source : 72301600b2a52dc4b68d483dd675ea0b2d31dc75
2018-04-27 13:59:07 -07:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Dão Gottwald bf9d434a13 Bug 1450559 - Remove nsISessionStore in favor of SessionStore.jsm. r=mikedeboer
MozReview-Commit-ID: 8spvIOus9ai

--HG--
rename : browser/components/sessionstore/nsSessionStore.manifest => browser/components/sessionstore/nsSessionStartup.manifest
extra : rebase_source : fc353af87bd620b7039d3e6241cc60c3788e3da6
2018-04-05 16:30:48 +02:00
Felipe Gomes 63ee85a278 Bug 1450761 - Add pref to disable the Add Exception button on certificate error pages. r=jaws 2018-04-04 15:56:15 -03:00
Franziskus Kiefer 806baa5430 Bug 1415279 - Move error strings for certError and netError pages to frontend, r=johannh,keeler,Honza,snorp
This patch moves all TLS error string handling to the frontend.
Dev-tools doesn't show the same error code as the page does anymore but only the error code as string.
All logging of these error messages has been removed.

Bug #: 1415279

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

--HG--
extra : rebase_source : 61e2d94cb21ef4c02b81448531609205c85a9707
2018-03-27 13:31:52 +02:00
Mathieu Leplatre 76bc359e79 Bug 1397230 - Generalize blocklist clients to remote settings clients r=mgoodwin
MozReview-Commit-ID: 9VAsTFCuZUf

--HG--
rename : services/common/tests/unit/test_blocklist_updater.js => services/common/tests/unit/test_remote_settings_poll.js
extra : rebase_source : 9da338f18f3860e124b315a8be3340997343e2f3
2018-03-13 16:23:57 +01:00
arthur.iakab 877c99c523 Merging mozilla-inbound to mozilla central a=merge 2018-03-19 12:43:31 +02:00
Masayuki Nakano 1c1a60c08d Bug 1446253 - Make EventUtils.synthesizeComposition() dispatch keydown and keyup event in default r=smaug
We'll start to dispatch keydown event and keyup event even during composition.
So, for testing those events won't break our UI, we should make
EventUtils.synhtesizeComposition() and EventUtils.synthesizeCompositionChange()
dispatch keydown event and keyup event even if callers don't specify keyboard
event explicitly.

Typically, "keydown" event is marked as "processed by IME", i.e., keyCode
value is set to DOM_VK_PROCESSKEY and key is set to "Process", with our
widget which handles native IME and key input.  On the other hand, "keyup"
is NOT marked as so.

Therefore, this patch makes TextInputProcessor emulates this behavior without
any new special flags.  And for making possible to emulate special cases,
this patch adds two flags to nsITextInputProcessor.  One is
KEY_DONT_MARK_KEYDOWN_AS_PROCESSED.  The other is KEY_MARK_KEYUP_AS_PROCESSED.
Unfortunately, those flags have opposite meaning but this must be better than
making necessary to one flag for emulating usual keydown/keyup events.

Finally, this makes some tests specify better keyboard information to
synthesizeComposition() and synthesizeCompositionChange() to emulate
actual keyboard events during composition.

MozReview-Commit-ID: ItYaXILkNQE

--HG--
extra : rebase_source : e50cc77c1efbc12686d7ea334d41926c7392b30d
2018-03-16 22:35:07 +09:00
Tooru Fujisawa 1adba8c1fc Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao 2018-03-19 11:16:45 +09:00
Johann Hofmann 713bd36406 Bug 1297630 - Test certificate errors in iframes. r=Gijs
This amends the browser_aboutCertError test file to cover error pages
in iframes in addition to top-level pages. I figured that instead of
re-writing all assertions in a separate test it would be smarter to
do the same assertions we apply to the top-level error pages on frames
as well.

I did not update the checkWrongSystemTimeWarning test, which is currently disabled.

MozReview-Commit-ID: 90fS0emPaSN

--HG--
extra : rebase_source : 90390afd294cb7254ff3c8249fa84a43ad6a517d
2018-03-15 12:57:11 +01:00
Gurzau Raul 3226056265 Backed out changeset 1f9f56aeb495 (bug 1297630) for bc failures on content/test/about/browser_aboutNetError.js and en-us failures on functional/security/test_ssl_disabled_error_page.py on a CLOSED TREE 2018-03-16 18:28:39 +02:00
Johann Hofmann f86a69f2c9 Bug 1297630 - Test certificate errors in iframes. r=Gijs
This amends the browser_aboutCertError test file to cover error pages
in iframes in addition to top-level pages. I figured that instead of
re-writing all assertions in a separate test it would be smarter to
do the same assertions we apply to the top-level error pages on frames
as well.

I did not update the checkWrongSystemTimeWarning test, which is currently disabled.

MozReview-Commit-ID: 90fS0emPaSN

--HG--
extra : rebase_source : 90390afd294cb7254ff3c8249fa84a43ad6a517d
2018-03-15 12:57:11 +01:00
Ed Lee d18f00ce9b Bug 1433324 - Part 1. Assume true for browser.newtabpage.activity-stream.aboutHome.enabled. r=ursula
MozReview-Commit-ID: KOSX1qNBna8

--HG--
extra : rebase_source : ad794ec6689df2f25fd7c053dc1963568036739b
2018-02-13 14:48:49 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione 918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou 9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione 6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Zibi Braniecki 1a111ee852 Bug 1428172 - Align mozIntl with Intl when working with constructors. r=nalexander
MozReview-Commit-ID: 5jGk1jXKkay

--HG--
extra : rebase_source : fc5445104a6d14cbacd417ce9b9b4b0bd0ea8212
2018-01-04 13:01:43 -08:00
Mark Banner f99ae4c2a9 Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2

--HG--
extra : rebase_source : f71e053e18017d675d4ea4d758e2552adcf5adc6
2017-11-28 19:21:33 +00:00
Dão Gottwald aff5b2a7f6 Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 4FQ5aL2XrU5

--HG--
extra : rebase_source : a8863472a82697b3e7668866a35f14b6f01fafe7
2017-11-28 11:38:15 +01:00
Cosmin Sabou 651cb90a8a Backed out changeset be86ccde4f4a (bug 1352497) for bc failures on Windows 7 debug with e10s at docshell/test/browser/browser_bug1309900_crossProcessHistoryNavigation.js r=backout a=backout 2017-11-26 01:36:44 +02:00
Dão Gottwald bfd060da04 Bug 1352497 - Remove about:healthreport. r=gfritzsche,nechen
MozReview-Commit-ID: 8aPg9oDFIlu

--HG--
extra : rebase_source : 6e9836a6d66b464df1228f7ed84e9b37bad8809c
2017-11-22 13:51:08 +01:00
Gijs Kruitbosch 06d549b62e Bug 1339329 - cert error time warnings should only appear for recent blocklists and if clock skew is sufficient to make cert valid, r=johannh
MozReview-Commit-ID: 6HvOnc54edi

--HG--
extra : rebase_source : 3f718d045cc344eb72d65940df011f201ad1d0fb
2017-03-28 11:35:27 +01:00
Dan Banner 7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Ursula Sarracini 5cc71c5ceb Bug 1400326 - Preparing existing about:home for 57 if we decide not to ship activity stream on it r=k88hudson,Mardak
MozReview-Commit-ID: IprIOuZQJxL

--HG--
extra : rebase_source : 98eeb2852dea7f4a2bd2a2d261bd6bbb16fd4d3f
2017-10-06 17:20:11 -04:00
Ed Lee 0636aa85d3 Bug 1402502 - Additionally disable browser_aboutHome_search_suggestion.js for linux 64 opt. r=ursula
MozReview-Commit-ID: 4ZTuRKAsS2u

--HG--
extra : rebase_source : 39e770bad21a34e9e106a46bc99598e0fca5bc4e
2017-09-22 15:04:04 -07:00
Ed Lee ceb2f7c2e2 Bug 1400491 - Disable browser_aboutHome_search_composing.js for mac opt. r=ursula
MozReview-Commit-ID: 2VKj6F3B71f

--HG--
extra : rebase_source : 7e057c4a9c79301eeeee726b9a9933be3ae0dc15
2017-09-20 05:03:06 -07:00
Ed Lee e3156bf606 Bug 1399648 - Get browser_aboutHome.js passing on both about:homes with activity stream or not. r=ursula
MozReview-Commit-ID: GtzmDbmSUjH

--HG--
extra : rebase_source : b62d939e325a1aa4d5d34e2501be39b2f0959357
2017-09-13 13:10:23 -07:00
Ursula Sarracini d089151bf7 Bug 1396274 - Disable Activity Stream about:home in browser_aboutHome.js r=Mardak
MozReview-Commit-ID: LXzgaAhNjnV

--HG--
extra : rebase_source : dca565e5bcd16b5f3f13aa355567a903d2c63b82
2017-09-13 18:06:33 -04:00
Paolo Amadini fe96089fe4 Bug 1387416 - Place the search bar in the customization palette for new profiles. r=Gijs
MozReview-Commit-ID: Tq8YrZWG6P

--HG--
extra : rebase_source : 2e02e0a809d08ff26291a027b73a54668d6d5f9d
2017-09-06 13:09:27 +01:00
Ursula Sarracini 48d2ce9436 Bug 1395281 - Fix perma-red in browser_aboutHome_wrapsCorrectly.js when Activity Stream is enabled for about:home r=Mardak
MozReview-Commit-ID: D85bXwro80e

--HG--
extra : rebase_source : 5e497a20fd6e2360f1bcb30c10bcb839097eb322
2017-08-30 14:59:20 -04:00
Dão Gottwald b1bff59856 Bug 1393802 - Make about:home's identity block consistent with about:newtab's. r=florian
MozReview-Commit-ID: BwE7tRSPNRk

--HG--
extra : rebase_source : 5a8bee0f43cc3782c6774128c2fb22a3c03aa953
2017-08-30 17:23:26 +02:00
Jared Wein 667927a599 Bug 1379620 - Disable stop-reload animation while a tab is opening or closing. r=dao
MozReview-Commit-ID: 4rwBQaH7jTR

--HG--
extra : rebase_source : 87370b19c149638aa6beb9e2130f66bb84494d01
extra : intermediate-source : 4b9c3835d19ef7b8d2d3483a3e76b5fe78cb5787
extra : source : f001da39af0528b649ad577e17f67523a5ff88ac
2017-07-26 11:34:22 -04:00
Sebastian Hengst 677464e70c Backed out changeset 9f57aa650148 (bug 1379620) on request from jaws. r=backout 2017-08-02 21:09:35 +02:00
Jared Wein 22e9f773cb Bug 1379620 - Disable stop-reload animation while a tab is opening or closing. r=dao
MozReview-Commit-ID: 4rwBQaH7jTR

--HG--
extra : rebase_source : e4554e675d3a8df8ed90c3fff639cd44c9857cb5
extra : intermediate-source : 4b9c3835d19ef7b8d2d3483a3e76b5fe78cb5787
extra : source : f001da39af0528b649ad577e17f67523a5ff88ac
2017-07-26 11:34:22 -04:00
Marco Castelluccio 1ac9951d82 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/base/content/* files. r=Gijs
--HG--
extra : rebase_source : 838f891fc0d6a53a82f06f6b9c4261ae89c79cc3
2017-07-31 12:51:35 +02:00
Carsten "Tomcat" Book 732f652f89 Backed out changeset 29131feeed60 (bug 1380065) for windows 7 perma failure in test_bug884693.xul | Got expected message count - got 1, expected +0 2017-07-25 10:52:58 +02:00
Sam Foster fba4d7c501 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : effd7fab536294de967661be4dcaaadc5b869db7
2017-07-13 14:30:38 -04:00
Wes Kocher 4d4051d2e2 Backed out changeset 2e0c2b3bc28b (bug 1380065) for eslint failures in browser_ext_popup_select.js a=backout
MozReview-Commit-ID: HZqI6A06YiO
2017-07-24 17:25:37 -07:00
Sam Foster fef0cddea2 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 577f534d2409da76eecd6c36dfa3db50eca50f40
2017-07-13 14:30:38 -04:00
Wes Kocher 823f61b3a6 Backed out changeset 7e0990dca8d1 (bug 1380065) at developer's request a=backout
MozReview-Commit-ID: HTBdXaEmagI
2017-07-24 16:13:28 -07:00
Sam Foster 3dd758f190 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 4ed74175107b2cf831b698361f0a2a9b1bd72113
2017-07-13 14:30:38 -04:00
Mike Conley 9114729ef9 Bug 1383117 - Disable browser_aboutStopReload.js on non-Nightly builds, since it's Photon-only. r=jaws
MozReview-Commit-ID: 3mTuZLeIQV2

--HG--
extra : rebase_source : f3c2389b21f673e4cc7f757039e6679f2bc3e143
2017-07-21 15:05:41 -04:00
Perry Jiang 8b863f2d05 Bug 1376892 - Move browser_about* tests from 'general' to 'about' folder. r=jaws
--HG--
rename : browser/base/content/test/general/aboutHome_content_script.js => browser/base/content/test/about/aboutHome_content_script.js
rename : browser/base/content/test/general/browser_aboutCertError.js => browser/base/content/test/about/browser_aboutCertError.js
rename : browser/base/content/test/general/browser_aboutHealthReport.js => browser/base/content/test/about/browser_aboutHealthReport.js
rename : browser/base/content/test/general/browser_aboutHome.js => browser/base/content/test/about/browser_aboutHome.js
rename : browser/base/content/test/general/browser_aboutHome_wrapsCorrectly.js => browser/base/content/test/about/browser_aboutHome_wrapsCorrectly.js
rename : browser/base/content/test/general/browser_aboutNetError.js => browser/base/content/test/about/browser_aboutNetError.js
rename : browser/base/content/test/general/browser_aboutSupport.js => browser/base/content/test/about/browser_aboutSupport.js
rename : browser/base/content/test/general/browser_aboutSupport_newtab_security_state.js => browser/base/content/test/about/browser_aboutSupport_newtab_security_state.js
rename : browser/base/content/test/general/healthreport_pingData.js => browser/base/content/test/about/healthreport_pingData.js
rename : browser/base/content/test/general/healthreport_testRemoteCommands.html => browser/base/content/test/about/healthreport_testRemoteCommands.html
rename : browser/base/content/test/general/test_bug959531.html => browser/base/content/test/about/test_bug959531.html
2017-07-11 09:47:27 -07:00
Perry Jiang b3ffa2a697 Bug 1376892 - Don't show stop button for local url loads. r=jaws 2017-07-10 13:17:06 -07:00
Sebastian Hengst 93ff680f2c Backed out changeset 394e4cd341ca (bug 1376892) for frequent failures in browser_aboutStopReload.js. r=backout a=backout
MozReview-Commit-ID: AKFJsfmXo5N
2017-07-16 10:57:47 +02:00
Sebastian Hengst df95f8284f Backed out changeset 92e63be29ec4 (bug 1376892)
MozReview-Commit-ID: HXq7pUTaZ4q

--HG--
rename : browser/base/content/test/about/aboutHome_content_script.js => browser/base/content/test/general/aboutHome_content_script.js
rename : browser/base/content/test/about/browser_aboutCertError.js => browser/base/content/test/general/browser_aboutCertError.js
rename : browser/base/content/test/about/browser_aboutHealthReport.js => browser/base/content/test/general/browser_aboutHealthReport.js
rename : browser/base/content/test/about/browser_aboutHome.js => browser/base/content/test/general/browser_aboutHome.js
rename : browser/base/content/test/about/browser_aboutHome_wrapsCorrectly.js => browser/base/content/test/general/browser_aboutHome_wrapsCorrectly.js
rename : browser/base/content/test/about/browser_aboutNetError.js => browser/base/content/test/general/browser_aboutNetError.js
rename : browser/base/content/test/about/browser_aboutSupport.js => browser/base/content/test/general/browser_aboutSupport.js
rename : browser/base/content/test/about/browser_aboutSupport_newtab_security_state.js => browser/base/content/test/general/browser_aboutSupport_newtab_security_state.js
rename : browser/base/content/test/about/healthreport_pingData.js => browser/base/content/test/general/healthreport_pingData.js
rename : browser/base/content/test/about/healthreport_testRemoteCommands.html => browser/base/content/test/general/healthreport_testRemoteCommands.html
rename : browser/base/content/test/about/test_bug959531.html => browser/base/content/test/general/test_bug959531.html
2017-07-16 10:57:13 +02:00
Perry Jiang 75d1574406 Bug 1376892 - Move browser_about* tests from 'general' to 'about' folder. r=jaws
MozReview-Commit-ID: IGXp9fV9DsR

--HG--
rename : browser/base/content/test/general/aboutHome_content_script.js => browser/base/content/test/about/aboutHome_content_script.js
rename : browser/base/content/test/general/browser_aboutCertError.js => browser/base/content/test/about/browser_aboutCertError.js
rename : browser/base/content/test/general/browser_aboutHealthReport.js => browser/base/content/test/about/browser_aboutHealthReport.js
rename : browser/base/content/test/general/browser_aboutHome.js => browser/base/content/test/about/browser_aboutHome.js
rename : browser/base/content/test/general/browser_aboutHome_wrapsCorrectly.js => browser/base/content/test/about/browser_aboutHome_wrapsCorrectly.js
rename : browser/base/content/test/general/browser_aboutNetError.js => browser/base/content/test/about/browser_aboutNetError.js
rename : browser/base/content/test/general/browser_aboutSupport.js => browser/base/content/test/about/browser_aboutSupport.js
rename : browser/base/content/test/general/browser_aboutSupport_newtab_security_state.js => browser/base/content/test/about/browser_aboutSupport_newtab_security_state.js
rename : browser/base/content/test/general/healthreport_pingData.js => browser/base/content/test/about/healthreport_pingData.js
rename : browser/base/content/test/general/healthreport_testRemoteCommands.html => browser/base/content/test/about/healthreport_testRemoteCommands.html
rename : browser/base/content/test/general/test_bug959531.html => browser/base/content/test/about/test_bug959531.html
2017-07-11 09:47:27 -07:00
Perry Jiang 88fa774391 Bug 1376892 - Don't show stop button for local url loads. r=jaws
MozReview-Commit-ID: 9YrsiscPLUs
2017-07-10 13:17:06 -07:00