Commit Graph

249 Commits

Author SHA1 Message Date
Bill McCloskey
e641723ad4 Bug 1127927 - Make link saving safe for e10s (r=mconley) 2015-02-11 12:55:29 -08:00
Nathan Froyd
d2e479b22d Bug 1118502 - part 2 - ensure addOneTab sees a referrer URI if it was available; r=mconley
addOneTab uses the existence of a referrer URI to determine where to
position the newly opened tab.  Bug 1031264 changed callsites so that a
referrer URI was no longer passed in if the opening link had
rel=noreferrer set on it.  This change, then, broke placement of newly
opened tabs if their opening link had rel=noreferrer on it.

Instead of not passing in the referrer URI if rel=noreferrer, let's
instead explicitly tell addOneTab whether rel=noreferrer was present on
the opening link.  Then addOneTab can hide the referrer URI from the
actual network request, while still using the referrer URI to determine
tab placement.
2015-02-06 14:00:45 -05:00
Nathan Froyd
3dc67a168e Bug 1118502 - part 1 - fixup grabbing of documentURIObject; r=mconley
The patch for bug 1031264 factored out an _openLinkInParameters
function.  But this new function grabbed the referrerURI from
|document|, rather from the passed in |doc|, whereas all the callers had
obtained |referrerURI| from the (to-be-passed-in) |doc| object.  Let's
fix this mix-up before going any further.
2015-02-06 13:02:44 -05:00
Neil Deakin
5e4b4cd307 Bug 1059219, show text-related items (clipboard, undo, etc) in context menu for input type=number, r=mconley 2015-02-10 21:00:05 -05:00
Christoph Kerschbaumer
fc2d9ddd3d Bug 1087726: Make JS callers of ios.newChannel call ios.newChannel2 in browser/ (r=gijs) 2014-10-24 14:36:11 -07:00
Bill McCloskey
3b0120e94a Bug 1072980 - Don't allow CPOWs to be passed to C++ code (r=mrbkap,ally,mconley) 2015-01-29 11:28:01 -08:00
Neil Deakin
c59b7336ca Bug 1066383, rework custom html menu item handling to support contextmenu attribute in separate process, r=janv,mconley,peterv 2014-12-16 11:21:11 -05:00
Carsten "Tomcat" Book
fa17e1ee61 Backed out changeset 8455b9eef8f8 (bug 1066383) for bustage on a CLOSED TREE 2014-12-22 14:36:02 +01:00
Neil Deakin
324ef14f83 Bug 1066383, rework custom html menu item handling to support contextmenu attribute in separate process, r=janv,mconley,peterv 2014-12-16 11:21:11 -05:00
Bill McCloskey
551b025f6b Bug 1072980 - Don't pass document CPOW to context menu (r=ally) 2014-12-18 17:34:24 -08:00
Nathan Froyd
6a4539c76d Bug 1031264 - make opening links in new {tabs,windows} honor rel="noreferrer"; r=mconley 2014-12-10 12:42:18 -05:00
Gijs Kruitbosch
1f4dbe6850 Bug 1100914 - switch telemetry to use an array of strings to indicate all states, r=jaws,f=bwinton 2014-11-20 16:07:46 +00:00
Matthew Gregan
12fbe6a15b Bug 1094310 - Disable media context menu items for blob and mediasource URLs. r=gavin 2014-11-19 16:52:03 +13:00
Dave Townsend
4060c5ea6f Bug 1060138: Add a hook for extensions to provide data to send across the synchronous contextmenu message. r=mconley 2014-11-17 10:58:13 -08:00
Dave Townsend
071c8cad7f Backing out bug 1060138 due to leaks. 2014-11-11 14:27:17 -08:00
Dave Townsend
48d5013ecf Bug 1060138: Add a hook for extensions to provide data to send across the synchronous contextmenu message. r=mconley 2014-11-11 12:52:13 -08:00
Mike Conley
8b0cd6f9a7 Bug 1067721 - [e10s] Make "Save Snapshot As" context menu item work for e10s. r=felipe. 2014-10-30 15:21:47 -04:00
Brad Lassey
b8d8ace943 Bug 1054959: re-land "Send Video To Device" feature with fixed test_contextmenu.html, r=gavin 2014-10-17 15:55:14 -07:00
Carsten "Tomcat" Book
363ff20ae3 Backed out changeset d38f7ebb2192 (bug 1054959) for m1 test failures 2014-10-17 09:58:52 +02:00
Brad Lassey
a554746fd0 bug 1054959 - Add 'Send Video To Device' to the context menu for sending videos from desktop to a second screen r=gavin, ui-r=madhava
* * *
bug 1054959 - follow up to fix context menut test r=orange CLOSED TREE
2014-10-15 18:24:34 -04:00
Wes Kocher
8993e08638 Backed out changeset 1828c0ae54b9 (bug 1054959) for mochitest-1 bustage on a CLOSED TREE 2014-10-16 15:13:30 -07:00
Brad Lassey
76281f263a bug 1054959 - Add 'Send Video To Device' to the context menu for sending videos from desktop to a second screen r=gavin, ui-r=madhava
* * *
bug 1054959 - follow up to fix context menut test r=orange CLOSED TREE
2014-10-15 18:24:34 -04:00
Ryan VanderMeulen
fbeb4979c7 Backed out changesets 93bf386d290e and 063cdd7b00cc (bug 1054959) for test_contextmenu.html failures.
CLOSED TREE
2014-10-16 15:19:41 -04:00
Brad Lassey
001e23b015 bug 1054959 - Add 'Send Video To Device' to the context menu for sending videos from desktop to a second screen r=gavin, ui-r=madhava 2014-10-15 18:24:34 -04:00
Wes Kocher
6cca0f5f73 Backed out changeset 402cbbf91165 (bug 1054959) for mochitest-1 bustage 2014-10-15 17:47:19 -07:00
Brad Lassey
50b4746735 bug 1054959 - Add 'Send Video To Device' to the context menu for sending videos from desktop to a second screen r=gavin, ui-r=madhava 2014-10-15 18:24:34 -04:00
Shane Caraveo
71de65e6a1 Bug 1014332 fix share context menu tests, r=jaws 2014-10-09 12:02:43 -07:00
Blake Kaplan
9d38823456 Bug 1026099 - Rework the spellchecker context menu to not use CPOWs. r=ehsan/billm/felipe
This patch fixes a few nits and typos in the C++ spellchecking code as well as
fixing the Finnish dictionary and multiple installed dictionaries in general (r=ehsan).

It reworks the spellchecking context menu to use async message passing (in JS)
and reduces, by a little, the CPOW use in the context menu code (r=felipe).

Finally, the spellcheck IPDL no longer needs to be 'rpc' since we no longer
nest spellchecking calls, so it can go back to being 'sync' (r=billm).
2014-10-03 10:52:37 -04:00
Neil Deakin
dc27ce41b2 Bug 1071771, disable dictionary list when it cannot be accessed from another process. This makes the context menu work again after using it on a misspelled word, r=mconley 2014-09-30 12:05:53 -04:00
Bill McCloskey
1a26780eac Bug 1039528 - [e10s] Make "Inspect element" context menu item work (r=pbrosset) 2014-09-29 13:05:22 -07:00
Bill McCloskey
b5052503bc Bug 1067527 - [e10s] Use contentWindowAsCPOW in context menu code (r=mconley) 2014-09-23 15:48:53 -07:00
Mike Conley
ec715d3e33 Bug 1069567 - [e10s] Make remote browser contentPrincipals not be CPOWs. r=billm. 2014-09-18 19:26:50 -04:00
Mike Conley
ccdf09c9b4 Bug 899347 - [e10s] Make click-to-play work with e10s. Originally written by mbrubeck. r=gfritzsche,felipe,Unfocused.
We now use message passing and content scripts in order to implement click-to-play. This allows
us to use click-to-play in e10s windows.
2014-09-17 16:06:58 -04:00
Nigel Babu
e76fa73afd Merge fx-team to m-c with bustage fix, a=merge 2014-09-16 08:43:45 +05:30
Wes Kocher
877afbd303 Merge m-c to inbound a=merge 2014-09-15 16:41:45 -07:00
Shu-yu Guo
6cfc2eb110 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
Mike Conley
e3e02bb8ff Bug 899347 - [e10s] Make click-to-play work with e10s. Originally written by mbrubeck. r=gfritzsche,felipe,Unfocused.
We now use message passing and content scripts in order to implement click-to-play. This allows
us to use click-to-play in e10s windows.
2014-09-15 13:33:50 -04:00
Ryan VanderMeulen
0dc72151e1 Backed out changeset 5747034f2bcc (bug 899347) for mochitest-bc failures.
CLOSED TREE
2014-09-15 15:30:39 -04:00
Bill McCloskey
3db2817691 Bug 1047751 - Disable HTML-controlled context menu in e10s (r=mconley) 2014-09-12 12:58:23 -07:00
Wes Kocher
35a1c82941 Merge inbound to m-c a=merge 2014-08-25 17:19:50 -07:00
Gijs Kruitbosch
82126d4f29 Bug 991757 - add telemetry for the context menu, r=mconley,bgrins,f=bwinton 2014-08-14 20:44:59 +02:00
Jim Mathies
7a4a4eb478 Bug 903022 - Parent save-as file pickers to the browser window rather than the content window. r=gavin 2014-08-25 11:48:58 -05:00
Ed Morley
f5dc99b818 Backed out changeset 93cd3fc35cfc (bug 1014332) 2014-08-21 12:27:16 +01:00
Andrea
ff14ba51a7 Bug 991427 - Check if the last character of the string is part of a surrogate pair when truncating text for display in the context menu, to avoid splitting surrogate pairs, r=gavin 2014-08-16 17:06:10 -07:00
Shane Caraveo
de57b9d3d3 Bug 1014332 fix context menu tests to handle share, r=jaws 2014-08-15 14:23:24 -07:00
Ed Morley
ea0137b262 Merge mozilla-central and inbound 2014-08-12 17:56:08 +01:00
Allison Naaktgeboren
e2677dbf90 Bug 1030451-Update spellchecker context menu suggestions for multiprocess.r=billm 2014-08-11 13:07:54 -07:00
Ms2ger
d179b4ae59 Bug 1048780 - Call the standard matches() rather than the proprietary mozMatchesSelector(); r=jst
This also includes a test that mozMatchesSelector is still exposed and works.
2014-08-12 14:30:59 +02:00
Trishul Goel
5e1179f484 Bug 1038604 - Rename disableMCB to allowMixedContent. r=dao 2014-07-16 22:03:15 +02:00
Shane Caraveo
cd6ee63bd8 Bug 926417 add microdata support for share/marks, r=markh, r=felipe 2014-07-11 08:50:34 -07:00