Commit graph

72 commits

Author SHA1 Message Date
vinoth
092f628b93 Bug 1453560 - Apply Meta CSP to Content Privileged about:certerror and about:neterror. r=ckerschb, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D918

--HG--
rename : browser/base/content/aboutNetError.xhtml => browser/base/content/aboutNetError.js
2018-04-26 04:07:07 -04: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
Kirk Steuber
f923709efc Bug 1438243 - Improve the UI for pages blocked by policy r=Felipe
Improves the UI for pages blocked by the enterprise policy manager. These improvements include a new image instead of the generic "info" image and updated, approved strings for the page.

MozReview-Commit-ID: 9d6V9onHGGg

--HG--
extra : rebase_source : d702947924f24d9440455a56b7e2f876ab634464
2018-02-22 15:41:12 -08:00
Kirk Steuber
04e4231688 Bug 1421707 - Implement a system for disabling about: pages via Policy r=bz,Felipe
Additionally adds the enterprise policy for disabling about:config.

MozReview-Commit-ID: 7bT8eV3tRnN

--HG--
extra : rebase_source : a54cc94ea9dbecdfd37a17c96e5048a5d20c6411
2018-02-06 10:00:56 -08: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
Johann Hofmann
9b1f14e379 Bug 1394451 - Add an illustration to net errors. r=ewright
MozReview-Commit-ID: LSfyFYEgUMS

--HG--
extra : rebase_source : bc195aba89b3d10c84b4037c018b24f788fb426f
2017-09-20 18:29:20 +02:00
Johann Hofmann
4a84c97ab7 Bug 1394462 - Update dnsNotFound error copy and illustration. r=nhnt11
MozReview-Commit-ID: KFp3JhkCDJJ

--HG--
extra : rebase_source : 62449541d1d5362fbc15b18fde9b4964cd153c4c
2017-09-19 21:54:29 +02:00
Erica Wright
5203d976cb Bug 1394460 - Update illustration and copy for error: invalid URL. ui-r=shorlander r=johannh
MozReview-Commit-ID: 8mMUvlOzygj

--HG--
extra : rebase_source : 6b93f7de2bbf55c330c4c25f08555386362dce04
2017-08-29 16:55:31 -04:00
Zibi Braniecki
46a045be48 Bug 1389798 - Load browser version of netError.dtd from browser aboutNetError.xhtml. r=gandalf
MozReview-Commit-ID: 4nF2XKgWXxn

--HG--
extra : rebase_source : 66a289a62cb3d1c8a1747016e1dc84d9ad4a9f48
2017-08-12 16:53:04 -07:00
Frederik Braun
56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Johann Hofmann
87efd9ffb2 Bug 1363046 - Update neterror/certerror page design for Photon. r=dao
MozReview-Commit-ID: 5RakjD72FwV

--HG--
extra : source : 7a5b9d4390e707a8f7adb7ebf0f7d0ba662c4491
2017-05-09 16:43:15 -04:00
Masatoshi Kimura
3f4806c036 Bug 1361288 - Remove vestigial reference to advancedLongDesc and hide advancedButton for SSLv3 erros. r=johannh
Unfortunately, we can't simply restore advancedLongDesc because it will change strings. I hid advancedButton instead. The advanced panel will have no useful information for SSLv3 errors anyway.

MozReview-Commit-ID: D4ULtTKccOK

--HG--
extra : rebase_source : d2890f4bb10c5b66101ed27d668fabba7cd2dd57
2017-05-02 22:02:24 +09:00
Mike Conley
411230f211 Bug 1339775 - Add role="checkbox" for specially styled in-content checkboxes. r=jaws
MozReview-Commit-ID: IZhRECggz4j

--HG--
extra : rebase_source : a95bafc0996c6021a4dff4f0cd7addb1a45a9f6e
2017-03-23 00:05:03 -04:00
Jared Wein
a54eda04ca Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.

MozReview-Commit-ID: ANyg2qfo3Qx

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
meghana
7ae1fdebb0 Bug 1346236 - Fixed incorrect learn more link on MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE in aboutNetError.xhtml. r=johannh
MozReview-Commit-ID: EUNk0wdI6DZ

--HG--
extra : rebase_source : 81c3f0e4a5e780950c8e2b08616db58a1ee5e946
2017-03-15 23:14:20 +05:30
Panos Astithas
963e794209 Don't autofocus buttons when about:certerror is embedded in an iframe (bug 1336352). r=nhnt11
MozReview-Commit-ID: BT8oCmX9stf

--HG--
extra : rebase_source : 3f80e8751ba2a4b49379fae6f1f4016838dc0ca2
2017-02-08 16:43:39 +02:00
Masatoshi Kimura
0f8ff5260b Bug 1321778 - Remove vestigial RC4 fallback frontend. r=Dolske
MozReview-Commit-ID: G0KF4j2OtyY

--HG--
extra : rebase_source : f535d51d3ae6a5d00a93b61f7cd1e476899c7efe
extra : intermediate-source : a2a4e0de90d3ef841136e2a1b8406dee67c352d1
extra : source : bfc3b47cc97a3dabdeab4cac0ed4c13f3dfd7c31
2016-11-19 13:45:46 +09:00
Gijs Kruitbosch
252f655de4 Bug 1334774 - re-introduce the hostname into ssl error messages, r=nhnt11
MozReview-Commit-ID: CexcCq5qo1v

--HG--
extra : rebase_source : afd9fd1178c8c72d31f8e17d66caa8bcaf8f3013
2017-01-29 17:36:01 +01:00
Florian Quèze
bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Nihanth Subramanya
cf4e35a643 Bug 1325013 - Rephrase captive portal strings to be more clear about what the user needs to log in to. r=flod,Gijs
MozReview-Commit-ID: EGHeti8dKsa

--HG--
extra : rebase_source : af6cc757658ce20ebd56138a952f0e9ecc3faf5d
2017-01-16 19:12:55 +05:30
Matthew Noorenberghe
d806ee7d1e Bug 1267229 - Follow-up to bump the certerror.wrongSystemTime string ID due to a change.
MozReview-Commit-ID: APqtWhQRkZT
2017-01-21 00:37:14 -08:00
Heejong Ahn
f6c730db1e Bug 1267229 - Handle wrong system time when kinto clock skew is not available. r=MattN
MozReview-Commit-ID: Ko2Rq6PLfoX

--HG--
extra : rebase_source : 80df8fe6dafe6fb7ed4e363364ce5e5282b37b0c
2016-04-28 22:43:56 +02:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Jared Wein
f64146d9d7 Bug 1329014 - Enable the no-extra-bind rule and use eslint --fix to autofix the errors. r=standard8
MozReview-Commit-ID: BwK94W2mHXS

--HG--
extra : rebase_source : a905658829084d3a4018df81f51bb210ef1e645b
2017-01-05 16:43:29 -05:00
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Nihanth Subramanya
f9fc114f8b Bug 989197 - Reload error pages showing captive portal UI when the portal is freed. r=Gijs
MozReview-Commit-ID: FJLTu5S3d6j

--HG--
extra : rebase_source : a1b6b19a6451849d2436b6920ed3e19a951b33ae
2016-11-21 08:00:14 +05:30
Nihanth Subramanya
81dfc8023b Bug 989197 - Show alternate UI in cert error pages when a captive portal is active. r=Gijs
MozReview-Commit-ID: DnWdwcx8r9S

--HG--
extra : rebase_source : 537be91c2d9dd1482f3134d1833029fdfefd7c5f
extra : amend_source : ee3595059b4426ce9b35bb942dcdaa5793cc5ef7
2016-11-08 16:10:12 +05:30
Nihanth Subramanya
f86fb95f77 Bug 989197 - Use URLSearchParams instead of regex to parse params in about:net/certerror URLs. r=Gijs
MozReview-Commit-ID: KKK2pL2bcwU

--HG--
extra : rebase_source : 60c30e8b7aaf643fe52dae94b298c4a2ee78099b
2016-12-06 10:25:53 -10:00
Mike Conley
f556978353 Bug 1317795 - Fix broken alignment of in-content UI checkboxes. r=jaws
MozReview-Commit-ID: 4JpOSYu3BZS

--HG--
extra : rebase_source : 5642f4970f654cf6ba04f1c3a3e03ef3847681cb
2016-11-19 17:59:58 -05:00
Jared Wein
3718f00db1 Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop 2016-11-15 22:58:30 -05:00
Dave Townsend
8de07a19a0 Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz

--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Mark Banner
b2464f8fa0 Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws
Drop linting of the .eslintrc.js config files.
Fix some minor errors in the code (missing let/const, undefined vars).
Let eslint know that some files get their globals from other places (typically via xul script tags).

MozReview-Commit-ID: CwxuwPtRUr6

--HG--
rename : browser/components/contextualidentity/test/browser/.eslintrc.js => browser/components/syncedtabs/test/browser/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc.js => browser/extensions/webcompat/test/browser/.eslintrc.js
extra : rebase_source : 9026aac49953d941853022cbab3e33d7d2f2fa21
2016-10-18 12:34:35 +01:00
Matthew Noorenberghe
dccc27b4b9 Bug 1270926 - Modify aboutNetError.xhtml & blockedSite.xhtml to pass current eslint rules. r=dao
eol-last requires a new line at the end of the JS block

MozReview-Commit-ID: sEcAiEgb4s
2016-08-23 14:38:57 -07:00
xunga
8d01557c55 Bug 1295571 - Disable toggle in debugInfo on aboutNetError. r=johannh, r=Gijs 2016-08-18 21:51:10 +02:00
Johann Hofmann
f4f68e2da3 Bug 1290927 - Remove hash link from technical info on certerror pages. r=Gijs
MozReview-Commit-ID: 8XKbST09Zrc

--HG--
extra : rebase_source : 0a4802161fb08b57e8cc4a8293bb69f0f9825cca
2016-08-11 14:28:13 +02:00
Jonathan Kingston
5e3f3daf5c Bug 1273696 - Move pref reset button for cert errors and hide retry when pref reset is possible. r=mgoodwin, r=past
MozReview-Commit-ID: 2znWHkmitnF

--HG--
extra : transplant_source : 0%D0%0F%98%81D%D7x%F9%7E%B8%20%1F%F8r%F2f%17%DE%0C
2016-05-18 13:47:38 +01:00
Patrick McManus
c0638a1abc Bug 1274729 - corrupted content string management r=dragana 2016-05-23 10:12:31 -04:00
Jonathan Kingston
11a106fd9b Bug 1252068 - Adding in reset prefs button on SSLNetError page. r=gijs
MozReview-Commit-ID: BJQ0cYlrS6O

--HG--
extra : transplant_source : %C7%FA%195%1C%87%1BDp%04%1CZI%A3N%94%F5%1Ch%3B
2016-05-04 17:10:45 +01:00
Nihanth Subramanya
6c18bc9e4b Bug 1267514 - Fix about:neterror generic fallback text when there is no available title/description for the error. r=Gijs
MozReview-Commit-ID: 4no91xMhDYQ

--HG--
extra : rebase_source : 6305595154f7642906798de82dc490243157b51e
2016-05-03 16:12:32 -07:00
Nihanth Subramanya
0c6a13eb51 Bug 1246162 - Position advanced panels absolutely below the main content in about:neterror. r=Gijs
MozReview-Commit-ID: Vzk0HnPifM

--HG--
extra : rebase_source : baa24c207632d93237340acff0f3630c24196f49
2016-04-26 14:42:15 -07:00
Johann Hofmann
2a1304120b Bug 712612: Display a warning on about:certerror if the system time is wrong. r=Gijs
MozReview-Commit-ID: 4KIgI9TMgYl
2016-04-25 14:06:29 +03:00
Carsten "Tomcat" Book
e41e2a34ce Merge mozilla-central to mozilla-inbound 2016-04-23 10:51:51 +02:00
Nihanth Subramanya
072741d04f Bug 1220481 - New responsive designs for error pages. r=Gijs
MozReview-Commit-ID: 8AJWdyLxezg

--HG--
extra : rebase_source : 02797e3fd135136e3dd142da72f2b2ea23ff2603
2016-04-21 09:50:16 -07:00
Nicholas Hurley
65e701bed3 Bug 1122642 - Have an error page for H2 INADEQUATE_SECURITY r=mcmanus,bz 2016-04-22 09:56:42 -07:00
Gijs Kruitbosch
b8224e3627 Bug 1263174 - fix hostname insertion in SSL error pages, r=past
MozReview-Commit-ID: E9zaJGUHUNw

--HG--
extra : rebase_source : 96e799ef3d031a89ca72152454bc4397c389feab
2016-04-12 14:10:56 +01:00
johndai1984
4c64e194f9 Bug 682294 - Add an error page for file access denied. r=bz 2016-04-06 08:18:00 +02:00
Nihanth Subramanya
a24cc64519 Bug 1240594 - Merge about:neterror and about:certerror UI code. r=Gijs
MozReview-Commit-ID: 8BjT6sKD4KL

--HG--
extra : rebase_source : 316560c5243ba8a1a5d1921603529d7bce101a46
2016-03-01 18:06:20 -08:00
Francois Marier
cba834e152 Bug 1245992 - Remove unused Safe Browsing strings. r=past
MozReview-Commit-ID: IkyO53DJpYs

--HG--
extra : rebase_source : 44e64c0eb3610159b6d57da2f3fedddfdda54841
2016-02-25 21:34:15 -08:00
Mark Goodwin
68617816d0 Bug 1241455 Send TLS Error Reports for subresources r=past, Gijs, mcmanus
This patch makes use of the security reporter component (which hasn't landed yet
 - see blockers) to allow automatic TLS error reports to be sent directly from
nsHttpChannel.cpp rather than sending them from browser.js. This allows failed
connections for subresources to be reported.

Some of the report sending from browser.js was retained to allow reports to be
sent at the time a user enables reporting. This has been modified to also make
use of the component.

Since the patient is on the table, I've also taken the opportunity to
remove the retry and status bits from aboutCertError.xhtml and
aboutNetError.xhtml - which removes a bunch of code and simplifies things a bit.

The mochitests have been modified to cope with the fact that the UI does not
update with report sending / report failures - instead, success and failure are
determined by examining the response seen from the server from within the test.
2016-02-01 11:18:50 +00:00