Commit graph

167 commits

Author SHA1 Message Date
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
Shane Caraveo
fcf99f4b40 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
d96ac42737 Bug 1141346 - Make 'This Frame' > 'Reload Frame' use messages to avoid unsafe CPOW usage. r=gabor
--HG--
extra : transplant_source : %0D%22%B0%EC%A9%DC%A0%D1hihb%F2%B6%A0%DF%1F%27%1B%80
2015-03-21 00:13:57 +00:00
Mike Conley
d3d4344540 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.

--HG--
extra : rebase_source : aa17cd0be26f136cefbde1c4683ac99a07c6bf15
extra : amend_source : ec32ff88015c74031977824d134922edd9a91c04
2015-04-01 13:38:24 -04:00
Gijs Kruitbosch
b3d2ee3aa4 Bug 1147487 - don't bother sending reader mode updates when isArticle is false, r=margaret
--HG--
extra : rebase_source : ccc17edf45f1cc70d9582ecd1a30db737deb3c14
2015-04-07 17:07:29 +01:00
Jim Mathies
1aaae619de 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
332d99565c Bug 1146666 - fix reader mode button's dealing with history.pushState, r=margaret
--HG--
extra : rebase_source : 7e319675091bebc7f48d0683058195cfdecbeabe
2015-03-25 00:33:16 +00:00
Florian Quèze
a0fd72c7ac 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
cfb644046c 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
4af71575a2 Bug 1145259 - Add pageshow listener to check whether or not to show reader button when DOMContentLoaded doesn't fire. r=Gijs
--HG--
extra : rebase_source : dc5b48a3fb01aa54d9c138deb1471370c35cd6c8
2015-03-19 11:44:07 -07:00
Wes Kocher
82a8ea4308 Backed out changeset 1b23439451a8 (bug 1079245) 2015-03-19 15:43:21 -07:00
Steven MacLeod
00a0996682 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.

--HG--
extra : rebase_source : 38fa144722f67d65bf90473153b631f73a79eaa1
2015-02-09 15:42:39 -05:00
Margaret Leibovic
8885607ff2 Bug 1132674 - Show reader toolbar button on DOMContentLoaded instead of pageshow. r=Gijs
--HG--
extra : rebase_source : da77ba76b2e0284da630bb1dfec51b24ab9b8e68
2015-03-18 10:35:53 -07:00
Alex Verstak
673fbec87c 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
5282fa9052 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
3f8e35ec5f Bug 1139678 - (Part 2) Update non-reader-able test URL in browser_readerMode.js. r=Gijs
--HG--
extra : rebase_source : f37e89e44dbaaf1df46529f66b75b0c7d378b465
2015-03-17 09:23:19 -07:00
Margaret Leibovic
5327d3c2ae Bug 1139678 - Don't do reader parse until user clicks on reader button. r=bnicholson
--HG--
extra : rebase_source : 98f768841b9a858c9d8bce53cb9dc6770796c2ea
2015-03-12 20:06:37 -07:00
Blair McBride
1eebf08096 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
9614f79c91 Bug 1111967 - honor browser.casting.enabled pref for casting on desktop, r=mconley 2015-03-09 13:15:55 +00:00
Ian Moody
1c28fb713c Bug 1133577 - Make context-menu open link/frame commands use messages to avoid unsafe CPOW warnings. r=mconley
--HG--
extra : rebase_source : bb8813cc9e2852b6b86822452657f427970b983b
2015-02-21 00:22:39 +00:00
Blair McBride
9faa472e7e Bug 1131911 - Extract page metadata extraction from Social.jsm to its own JSM. r=mixedpuppy
--HG--
extra : transplant_source : %2C%F3%04O%23%B0%7F%10%9A%BA%13%7Fy%18%F5S%1CZ%3D%01
2015-03-06 11:43:05 +13:00