Commit Graph

167 Commits

Author SHA1 Message Date
Neil Deakin
806628383a Bug 1199239, remove cpow usage from bookmark this page, r=mak 2015-09-25 21:14:43 -04:00
Shu-yu Guo
37989840cd 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
c86e3f455d Bug 1188719 - Show login fill context menu on username field. r=MattN 2015-08-24 19:06:00 -07:00
Jimmy Wang
c00a9ddfe2 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
e2fae25424 Bug 1175794 - Rename and cleanup pageinfo code. r=florian 2015-08-13 03:37:02 -04:00
Jimmy Wang
e621f1ed1f Bug 1175794 - Remove use of variables on this for pageinfo. r=florian 2015-08-13 03:37:02 -04:00
Jimmy Wang
e3dcd7a772 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
1ded5f09d6 Bug 1189060 - let webrtcUI.jsm etc. block initial Offer/Answer exchange through hook. r=florian,fabrice,mfinkle,mt 2015-08-07 15:22:30 -04:00
Nikhil Marathe
30f6915ff5 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.
2015-07-23 08:30:27 -07:00
Wes Kocher
6a7e2366bd 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
e98edad8cd 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.
2015-07-23 08:30:27 -07:00
Jimmy Wang
f0e4983767 Bug 1040947 - Opening page info from a remote tab is sluggish. r=florian 2015-07-08 17:18:38 -04:00
Franziskus Kiefer
07c4ad95f7 Bug 1174913 - anchor and area referrer attributes. r=ckerschb, r=bz 2015-06-05 15:25:24 -07:00
Jimmy Wang
ce3f8aaecc Bug 653065 - Make the lightweight theme web installer ready for e10s. r=mconley 2015-07-14 11:42:02 -07:00
Bill McCloskey
a7968ec6c8 Bug 1177013 - Use sendRpcMessage for context menu (r=mrbkap) 2015-07-06 19:58:43 -07:00
Nick Alexander
33d7e37508 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).
2015-06-30 11:46:27 -07:00
Matthew Noorenberghe
f1ae1bee25 Bug 1168707 - Run password autofill code when a password field is added to a document outside of a <form>. r=dolske 2015-06-29 00:11:22 -07:00
Ian Moody
263e5508c0 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
2015-06-15 23:36:38 -07:00
Mark Goodwin
28cf5ff02e Bug 1088141 - Add telemetry for SSL Error Reports (r=felipe) 2015-06-10 14:18:17 +01:00
Ian Moody
8e78259585 Bug 1141350 - Use a message to get search field bookmark data for 'Add a Keyword for this Search...'. r=gabor 2015-05-25 15:41:34 +01:00
Felipe Gomes
e2e82ed276 Bug 1163422. r=Gijs 2015-05-22 15:01:55 -03:00
Paolo Amadini
884e31cdba Bug 1149975 - Part 1 of 2 - Handle visibility of the login fill doorhanger anchor. r=MattN 2015-05-13 15:34:14 +01:00
Ian Moody
d1cf0c5a59 Bug 1135619 - Make "Bookmark This Frame" fetch the document title and description via message so it is safe in e10s. r=gabor 2015-03-04 21:27:35 +00:00
Jim Mathies
70efd48063 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
2f4ccef3d9 Bug 1146832 - fix ugly wrapping in TLS error page (r=dao) 2015-04-30 09:12:34 +01:00
Neil Deakin
0b9c9f0f24 Bug 1134769, move selection info retrieval on context menu to content process, r=mconley 2015-04-29 08:38:42 -04:00
Shane Tomlinson
2f076069b4 Bug 1146724 - Use a SendingContext for WebChannels. r=MattN/markh 2015-04-24 16:07:33 +10:00
Francois Marier
37e736087c Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug 2015-04-22 21:01:37 +12:00
Neil Deakin
bd6ecdf9fe Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Ian Moody
e2a88adda7 Bug 1141160 - Make "Reload Image" use messages to avoid unsafe CPOW warnings. r=gabor 2015-03-21 14:15:26 +00:00
Shane Caraveo
dacf118a2d Bug 1153016 split content.js in two, one tabbrowser dependent, the other independent, r=mossop 2015-04-13 13:23:51 -07:00
Ian Moody
770800ae3b Bug 1141346 - Make 'This Frame' > 'Reload Frame' use messages to avoid unsafe CPOW usage. r=gabor 2015-03-21 00:13:57 +00:00
Mike Conley
f4f9569d35 Bug 1150120 - Pass outerWindowID up when sending contextmenu message up from content process. r=gabor.
This will hopefully allow us to avoid using CPOWs for contentDocument and contentWindow
when doing things like printing or viewing the source of subframes.
2015-04-01 13:38:24 -04:00
Gijs Kruitbosch
2cc9a95781 Bug 1147487 - don't bother sending reader mode updates when isArticle is false, r=margaret 2015-04-07 17:07:29 +01:00
Jim Mathies
d9df1d0d1f Bug 1122525 - On right-click query in advance media related information from the image cache and forward this info to chrome with the contextmenu event. r=mconley 2015-03-31 12:59:06 -05:00
Gijs Kruitbosch
37822347d5 Bug 1146666 - fix reader mode button's dealing with history.pushState, r=margaret 2015-03-25 00:33:16 +00:00
Florian Quèze
e65f0cb5dc Bug 1143388 - Loading an item from the readinglist shouldn't make the user leave the reader mode if it was active, r=jaws. 2015-03-24 23:44:28 +01:00
Ian Moody
67302893c0 Bug 1141186 - Fix context-menu Share commands so they don't use unsafe CPOWs. r=mconley 2015-03-11 21:19:30 +00:00
Margaret Leibovic
0496ad504d Bug 1145259 - Add pageshow listener to check whether or not to show reader button when DOMContentLoaded doesn't fire. r=Gijs 2015-03-19 11:44:07 -07:00
Wes Kocher
7b8b9fb1a3 Backed out changeset 1b23439451a8 (bug 1079245) 2015-03-19 15:43:21 -07:00
Steven MacLeod
268e4f080f Bug 1079245 - Set about:privatebrowsing to load in child. r=mossop
browser_privatebrowsing_downloadLastDir.js and browser_bug963945.js are
also updated to work properly when about:privatebrowsing is loaded
remotely.
2015-02-09 15:42:39 -05:00
Margaret Leibovic
ee9a314e23 Bug 1132674 - Show reader toolbar button on DOMContentLoaded instead of pageshow. r=Gijs 2015-03-18 10:35:53 -07:00
Alex Verstak
7ecbab6ff5 Bug 1113431 - Propagate referrer policy throughout the UI: command-click and context menu open link in new tab/window. r=gijskruitbosch 2015-03-04 23:29:55 -08:00
Ian Moody
ade5f4a50d Bug 1134391 - Make "View Image/Video" command use messages to avoid unsafe CPOW warnings. r=mconley 2015-03-04 21:27:35 +00:00
Margaret Leibovic
5b81db5561 Bug 1139678 - (Part 2) Update non-reader-able test URL in browser_readerMode.js. r=Gijs 2015-03-17 09:23:19 -07:00
Margaret Leibovic
e6b74c0e56 Bug 1139678 - Don't do reader parse until user clicks on reader button. r=bnicholson 2015-03-12 20:06:37 -07:00
Blair McBride
de3b9c9119 Bug 1131457 - Add a button to the URLBar that allows adding the current page to the Reading List. r=markh/adw 2015-03-17 12:49:07 -07:00
Gijs Kruitbosch
e238e351a8 Bug 1111967 - honor browser.casting.enabled pref for casting on desktop, r=mconley 2015-03-09 13:15:55 +00:00
Ian Moody
82aacdf877 Bug 1133577 - Make context-menu open link/frame commands use messages to avoid unsafe CPOW warnings. r=mconley 2015-02-21 00:22:39 +00:00
Blair McBride
9595a26666 Bug 1131911 - Extract page metadata extraction from Social.jsm to its own JSM. r=mixedpuppy 2015-03-06 11:43:05 +13:00