Commit graph

187 commits

Author SHA1 Message Date
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
Shane Caraveo
88c2f7e147 Bug 1037483 replace microdata with microformats in share, r=dietrich 2016-01-29 10:58:45 -08:00
Wes Kocher
5db3056dd4 Backed out 2 changesets (bug 1037483) for many ESLint failures
Backed out changeset de364648e24c (bug 1037483)
Backed out changeset c697940b6f5c (bug 1037483)

--HG--
extra : commitid : Dze5NbyixG6
2016-01-26 11:26:23 -08:00
Shane Caraveo
ff4fb121c8 Bug 1037483 replace microdata with microformats in share, r=dietrich 2016-01-26 10:53:00 -08:00
George Wright
3996b5e615 Bug 1237025 - Stop using CPOWs for View Image Info context menu r=mconley 2016-01-19 19:21:49 -05:00
Tim Taubert
d558566d6f Bug 1207130 - Add a checkbox for automatic error reporting to about:certerror r=Gijs,past
--HG--
rename : browser/base/content/test/general/pinning_reports.sjs => browser/base/content/test/general/ssl_error_reports.sjs
2016-01-13 15:29:54 +01:00
Panos Astithas
92b2551106 Bug 1207146 - Add a link to expert technical information in the cert error page. r=Gijs,keeler 2015-12-04 19:46:13 +02:00
Gijs Kruitbosch
59f45711a5 Bug 1218249 - followup: re-add 'content.' to the Node reference in content.js, rs=bustage
--HG--
extra : commitid : GHo3vAFpWeY
extra : rebase_source : e39a434dbe2f70d94c0b816e1e1bad670446e91a
2015-12-04 15:21:43 +00:00
Gijs Kruitbosch
4918920221 Bug 1218249 - check type of node before using xlink:href, r=felipe,f=longsonr
--HG--
extra : commitid : Lh3cVtsYgac
extra : rebase_source : 737f7510384015d13be970ddb22f2fffc84d2ba3
2015-12-02 14:10:39 +00:00
Franziskus Kiefer
49e1318624 Bug 1187357 - rename referrer policy attribute in frontend code. r=Gijs 2015-12-02 17:02:55 -08:00
Masatoshi Kimura
48291711d5 Bug 1218971 - Modernize weak crypto/SSLv3 error page. r=past 2015-12-03 07:16:51 +09:00
Gijs Kruitbosch
8cc9386b8c Bug 1227116 - fix cmd-click on SVG links as well, r=felipe
--HG--
extra : commitid : 1O1gUOnOhXU
extra : rebase_source : f6d62372f706b7aae9328cf7a1faf95faf1b7fd0
extra : histedit_source : b70ca9d8dc1f5ca24ddec0ae2a84eac1ef2bbda1
2015-11-23 20:33:30 +00:00
Francois Marier
67506f65a6 Bug 1216723 - Add a new -forbid- Safe Browsing list type. r=gcp,r=smaug 2015-11-20 20:24:50 -08:00
Gijs Kruitbosch
3db95fa38b Bug 1217586 - fix modifier click / enter on SVG links by passing node principal, r=felipe
--HG--
extra : commitid : D4etC62H4WX
extra : rebase_source : 19ec1865d9b1d193fdb915831e0e7f05dbe6aec6
2015-11-12 17:27:38 +00:00
Wes Kocher
59aa271131 Merge m-c to inbound, a=merge
--HG--
rename : webapprt/application.ini.in => webapprt/webapprt.ini
extra : commitid : BR0bpNo1yny
2015-10-30 16:57:55 -07:00
Gijs Kruitbosch
1650e4eeec Bug 1025568 - fix contextmenu actions across page loads, r=MattN
--HG--
extra : commitid : HWHeooHCAH
extra : rebase_source : 7654e7a347e0c00cd572e7f1fc0b352039cf8450
2015-10-23 12:48:59 +01:00
Ehsan Akhgari
91329749b1 Bug 1202085 - Part 2: Add an optional document argument to imgICache::FindEntryProperties(); r=seth 2015-10-30 16:03:09 -04:00
Tooru Fujisawa
8ed7719ea4 Bug 1216775 - Remove for-each from browser/. r=Gijs
--HG--
extra : commitid : 5KlVHJwTU1Q
extra : rebase_source : 6526234004427109c826cb63f42c9def8ca31281
2015-10-19 01:27:39 +09:00
Masatoshi Kimura
9621a78c93 Bug 1207137 - Implement weak crypto override UI. r=ttaubert 2015-10-17 09:38:31 +09:00
Mike Conley
ba12fbbe72 Bug 1180991 - Send up natural dimensions of background images loaded in content for Page Info. r=florian
--HG--
extra : commitid : 3WG0R3DrZ5K
extra : rebase_source : 9bd7c6c33b8de5342138c8c66c04ebac8c355477
extra : amend_source : 79a786a900756692614126e536135616adc719b0
2015-10-05 15:22:38 -04:00
Neil Deakin
895856cf29 Bug 1199239, remove cpow usage from bookmark this page, r=mak 2015-09-25 21:14:43 -04:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Bernardo P. Rittmeyer
47f80bb9d3 Bug 1188719 - Show login fill context menu on username field. r=MattN
--HG--
extra : amend_source : 6171cf0c76c3d7567d553db72045d5f246dd5494
extra : transplant_source : %2C%06v%EA%D56%F6%1C%1E%F4J%14%B1%1F%F3%A0%27%7BaD
2015-08-24 19:06:00 -07:00
Jimmy Wang
a627185642 Bug 1175794 - Use task with setTimeout and send messages to continuously update PageInfo Media tab. r=florian 2015-08-13 05:12:02 -04:00
Jimmy Wang
fa2afab424 Bug 1175794 - Rename and cleanup pageinfo code. r=florian 2015-08-13 03:37:02 -04:00
Jimmy Wang
4b4e28bbf6 Bug 1175794 - Remove use of variables on this for pageinfo. r=florian 2015-08-13 03:37:02 -04:00
Jimmy Wang
2abace297d Bug 1175794 - Make getMediaInfo self contained and not use variables on this. r=florian 2015-08-13 02:57:17 -04:00
Jan-Ivar Bruaroey
dafe658039 Bug 1189060 - let webrtcUI.jsm etc. block initial Offer/Answer exchange through hook. r=florian,fabrice,mfinkle,mt
--HG--
extra : transplant_source : %CBwD%14%7D4%9E%EB%AC%5C7K%E4p%3Dr%8Fjl%8A
2015-08-07 15:22:30 -04:00
Nikhil Marathe
25e263af21 Bug 1144660 - client.focus() adds window interaction checks and directly uses DOMServiceWorkerFocusClient to focus window. r=ehsan,dao
client.focus() now directly uses the DOMServiceWorkerFocusClient event. The
platform popup checking is not available on service workers. Instead each
worker maintains a counter of if it is allowed to interact with windows. This
counter is currently only incremented by the notificationclick event and
dropped after the event has been dispatched.

Since acquiring a client is an async operation most service workers will
perform in notificationclick, an additional extension is granted after the event
during which the service worker may focus a client. This extension is only granted
if the script invokes NotificationEvent.waitUntil() at which point the timer begins.
The extension is terminated when the Promise passed to waitUntil() is fulfilled, or
the timer expires, whichever comes first.

--HG--
extra : commitid : 5wavKTRZWcy
extra : rebase_source : fc8ab4ef6c9bf384b5525b0bc979b3cedc4e1d6c
2015-07-23 08:30:27 -07:00
Wes Kocher
5e90ccec17 Backed out 3 changesets (bug 1191495, bug 1153499, bug 1144660) for mochitest-push crashes
Backed out changeset 8917e7323399 (bug 1191495)
Backed out changeset 13ed6f60d3f9 (bug 1144660)
Backed out changeset 95bd6642e4b1 (bug 1153499)
2015-08-05 15:18:05 -07:00
Nikhil Marathe
9c77fa0bcd Bug 1144660 - client.focus() adds window interaction checks and directly uses DOMServiceWorkerFocusClient to focus window. r=ehsan,dao
client.focus() now directly uses the DOMServiceWorkerFocusClient event. The
platform popup checking is not available on service workers. Instead each
worker maintains a counter of if it is allowed to interact with windows. This
counter is currently only incremented by the notificationclick event and
dropped after the event has been dispatched.

Since acquiring a client is an async operation most service workers will
perform in notificationclick, an additional extension is granted after the event
during which the service worker may focus a client. This extension is only granted
if the script invokes NotificationEvent.waitUntil() at which point the timer begins.
The extension is terminated when the Promise passed to waitUntil() is fulfilled, or
the timer expires, whichever comes first.

--HG--
extra : commitid : 5DUAOg4j41K
extra : rebase_source : 775d36e41c3d3b62e5189b032220fa2469ac237d
extra : source : 8300859f8e9751ca663f96fae3375dfda8b2ad13
2015-07-23 08:30:27 -07:00
Jimmy Wang
df7dcddd7e Bug 1040947 - Opening page info from a remote tab is sluggish. r=florian 2015-07-08 17:18:38 -04:00
Franziskus Kiefer
e97220a88e Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz 2015-06-05 15:25:24 -07:00
Jimmy Wang
ba032ec59b Bug 653065 - Make the lightweight theme web installer ready for e10s. r=mconley 2015-07-14 11:42:02 -07:00
Bill McCloskey
05b14b00e2 Bug 1177013 - Use sendRpcMessage for context menu (r=mrbkap) 2015-07-06 19:58:43 -07:00
Nick Alexander
d2e4f01390 Bug 1174458 - Move WebChannel message support to toolkit/content. r=markh
This makes WebChannel support available to all XUL applications that
use toolkit/, including browser/ and mobile/android/.

The new Robocop tests are necessary because we can't run the existing
browser-chrome tests on Android (yet).

--HG--
extra : commitid : EEWHFSpeQSo
extra : rebase_source : 9fde40b33a9f45003692989584f0fc76c9a6ddb8
extra : histedit_source : aac63d2d5fdeeb6de931c9cbf66d4ad79ad3caa1
2015-06-30 11:46:27 -07:00
Matthew Noorenberghe
16853474ad Bug 1168707 - Run password autofill code when a password field is added to a document outside of a <form>. r=dolske
--HG--
rename : toolkit/components/passwordmgr/test/test_formless_submit.html => toolkit/components/passwordmgr/test/test_formless_autofill.html
extra : commitid : 21T06K7Wsbw
extra : rebase_source : 004502682fc071c2e9cbef6554b97f2f50266628
2015-06-29 00:11:22 -07:00
Ian Moody
7e004684e2 Bug 1135933 - Make nsContextMenu.setDesktopBackground() use a message to get the image as a dataURL and make a new element with it to pass to the setDesktopBackground dialog. r=gabor
Also perform the disableSetDesktopBackground() check in content

--HG--
extra : commitid : KxHNPz0K0D3
extra : rebase_source : d5f8876a2f3bc58fd4ce133c2eca9b18ce70f282
2015-06-15 23:36:38 -07:00
Mark Goodwin
e72754ef17 Bug 1088141 - Add telemetry for SSL Error Reports (r=felipe) 2015-06-10 14:18:17 +01:00
Ian Moody
2ea6ca4d34 Bug 1141350 - Use a message to get search field bookmark data for 'Add a Keyword for this Search...'. r=gabor
--HG--
extra : transplant_source : %BB%3C%98%2Byl%CB%F3E%02%88%22%3B%19c%26%8A%FB%D2%CA
2015-05-25 15:41:34 +01:00
Felipe Gomes
de885c12ab Bug 1163422. r=Gijs 2015-05-22 15:01:55 -03:00
Paolo Amadini
80dddf5864 Bug 1149975 - Part 1 of 2 - Handle visibility of the login fill doorhanger anchor. r=MattN
--HG--
extra : rebase_source : fdc290d5179bf79af1198bf62b5aac98e30aa894
2015-05-13 15:34:14 +01:00
Ian Moody
3fa8728da3 Bug 1135619 - Make "Bookmark This Frame" fetch the document title and description via message so it is safe in e10s. r=gabor
--HG--
extra : transplant_source : %D6%97%0C%40%DF%F0%90f%26i%C0%1C0n%40%85%F8%1Ewb
2015-03-04 21:27:35 +00:00
Jim Mathies
e043d024f9 Bug 1156057 - When content disposition information isn't available in the cache for an image the user right clicks, don't spew the console. r=felipe 2015-04-30 14:42:43 -05:00
Mark Goodwin
992f617cec Bug 1146832 - fix ugly wrapping in TLS error page (r=dao) 2015-04-30 09:12:34 +01:00
Neil Deakin
e662ba16db Bug 1134769, move selection info retrieval on context menu to content process, r=mconley 2015-04-29 08:38:42 -04:00
Shane Tomlinson
4b8dab2a11 Bug 1146724 - Use a SendingContext for WebChannels. r=MattN/markh 2015-04-24 16:07:33 +10:00
Francois Marier
17b87281f2 Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/evilWorker.js => toolkit/components/url-classifier/tests/mochitest/unwantedWorker.js
extra : rebase_source : efe09564160fb2fcb1adb5f6599183f053268c40
2015-04-22 21:01:37 +12:00
Neil Deakin
5500eadc0e Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Ian Moody
c4760cc752 Bug 1141160 - Make "Reload Image" use messages to avoid unsafe CPOW warnings. r=gabor
--HG--
extra : transplant_source : %AB%EF%CE%07%12%BF%8F%2AU%16%80t%7EJ%DC%D9%191%C6X
2015-03-21 14:15:26 +00:00