Commit graph

48 commits

Author SHA1 Message Date
Mike Conley
03b699b5f3 Bug 1146454 - Stop using CPOWs for printing. r=billm
We were passing around content window CPOWs before to indicate
which content to send to the printer. This was, naturally, causing
unsafe CPOW usage warnings - especially when attempting to get at
the content window of an iframe with the context menu printing
command.

This patch changes the printing mechanism to use outer window IDs
instead of CPOWs.

--HG--
extra : commitid : 7bG2asTYoDR
extra : rebase_source : 3d8d10dbd0d7ce4b2891d81b5f15d71341b79f84
2015-07-03 16:06:04 -04:00
J. Ryan Stinnett
3e6b1576a1 Bug 1067325 - Extract view source core to support tabs. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
2566a56af4 Bug 1067325 - Fix line endings in several browser / toolkit files. r=mconley 2015-05-23 18:17:50 -05:00
Mike Conley
7f28885d4a Bug 1025146 - Modernize viewSource.js to use a frame script. r=jryans.
--HG--
extra : rebase_source : f065220c34ca9e752ffbdfd379c546c162a908a3
2015-04-24 17:32:57 -04:00
Ian Neal
db0e0d280a Bug 756784 - Make file menu popup more consistent and easier to overlay r=gavin 2012-06-17 16:40:30 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Lankow
2abd364d27 Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao 2012-02-19 22:47:06 +13:00
Phil Ringnalda
06fa50e27e Back out 3d8fc342348b (bug 469434) for browser_contextmenu.js timeouts 2012-02-22 22:11:48 -08:00
Geoff Lankow
c646f211b4 Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao 2012-02-19 22:47:06 +13:00
Dão Gottwald
b5aa8e5c8e Bug 571567 - use <menupopup> instead of <popup>. r=enn 2010-06-22 08:34:21 +02:00
Robert Kaiser
bebc96132a bug 567587 - consistent IDs for view(Partial)Source, kill unused page editing function, r=gavin 2010-05-24 14:48:24 +02:00
Neil Deakin
f6cd0b6d60 Bug 545714, consolidate dropped link handlers into one single component and use it for security checking, r=mano,neil,sr=sicking 2010-04-18 14:27:18 -04:00
Olli Pettay
9fdb936eb2 Bug 544018 - print preview doesn't work in view source , r=dao 2010-02-09 18:24:49 +02:00
Olli Pettay
f09ebf9810 backout Bug 544018 2010-02-08 19:00:41 +02:00
Olli Pettay
93a48e52ac Bug 544018 - print preview doesn't work in view source, r=dao 2010-02-08 18:16:57 +02:00
Neil Deakin
2b862dc7a3 Bug 456106, use new drag and drop api in browser and toolkit, r=mano 2009-06-20 20:04:07 -04:00
masayuki@d-toybox.com
72f6e5a72f Bug 426501 ZoomIn/ZoomOut/ZoomReset should have alternative accel keys for localized builds. XUL part: r+ui-r=mconnor, a1.9=beltzner, XBL part: r=enndeakin, sr=neil, a1.9=dsicore 2008-04-23 01:04:08 -07:00
masayuki@d-toybox.com
8d9f23e370 backing out the previous patch. b=426501 2008-04-07 20:48:15 -07:00
masayuki@d-toybox.com
e82bf9d1d9 Bug 426501 ZoomIn/ZoomOut/ZoomReset should have alternative accel keys for localized builds #2 (xul part) r=moconnor, ui-r=mconnor+beltzner a1.9=mconnor+beltzner 2008-04-07 17:01:45 -07:00
reed@reedloden.com
790f4d20e5 Bug 415664 - "Source viewer needs menu icons" [p=ispence@gmail.com (Ian Spence) r=Mano a1.9=beltzner] 2008-03-19 23:06:46 -07:00
reed@reedloden.com
db7cd57c4e Bug 389628 - "Implement UI for full page zoom" [p=dao r=mconnor r+sr=sicking (for content/events/) a=blocking-firefox3+ for M9] 2007-10-25 16:02:20 -07:00
sdwilsh@shawnwilsher.com
44cbc3eab4 Bug 381468 - Convert toolkit application/x-javascript to application/javascript. r=gavin.sharp 2007-05-23 11:08:10 -07:00
mozilla.mano%sent.com
015f043c53 Bug 288254 - Findbar XBL widget. r=gavin,masayuki,bienvenu. 2006-11-26 22:47:46 +00:00
pkasting%google.com
0a0053c799 Bug 348298: Clean up Find Bar code, patch 1.
r=masayuki
2006-08-18 20:26:23 +00:00
gavin%gavinsharp.com
d659544321 Bug 340669: disable session history for view source, (nsISHistory undefined for Thunderbird), patch by Simon B�nzli <zeniko@gmail.com>, r=mconnor 2006-06-11 17:49:56 +00:00
smontagu%smontagu.org
6ad2ebf674 Remove the encoding menu from view selection source. Bug 314181, r=mconnor 2006-05-31 09:21:21 +00:00
masayuki%d-toybox.com
4149066af7 Bug 313149 the code of findBar.js should be protected in a prototype r=mconnor 2005-11-01 17:34:45 +00:00
gavin%gavinsharp.com
94afb56127 Bug 296827: Dragging & dropping text into the Find text box does not enable search buttons or initiate search, patch by Jorge Villalobos <jorge.villalobos@gmail.com>, r=mconnor 2005-09-19 23:39:03 +00:00
mozilla.mano%sent.com
e8ee5dabe0 Bug 278377 - add 'window' and 'help' menus to View Source windows. r=mconnor, a=bsmedberg. 2005-07-20 00:00:55 +00:00
rbs%maths.uq.edu.au
9399f742e7 Give the View Selection Source window a proper name, b=236465, r=mconnor, a=asa 2005-07-13 21:32:48 +00:00
db48x%yahoo.com
b0e8cdbebd bug 287792: View Source panel does not have 'Normal Text Size' option in 'View' menu
patch by Jason Barnabe <jason_barnabe@fastmail.fm>, r=mconnor, a=asa
2005-06-14 09:49:37 +00:00
jwalden%mit.edu
d9fae2c0bd Bug 279227 - Move find bar strings out of browser, #ifdef USE_FIND_BAR the find bar code that Thunderbird builds. r=mconnor 2005-03-30 05:28:55 +00:00
steffen.wilberg%web.de
48b20f11b3 Bug 222157: move contentAreaUtils.js from browser to toolkit because it's needed by ViewSource-SaveAs and Thunderbird (which still uses the xpfe version of that file). r=mconnor, cvs move by chase 2005-03-24 08:49:46 +00:00
bsmedberg%covad.net
e75d55a075 From bug 282057 - brand.dtd now lives in chrome://branding/locale/brand.dtd 2005-03-10 18:44:11 +00:00
rj.keller%beonex.com
4a60259722 Bug 256104 - Need element IDs in viewSource.xul r=mconnor@myrealbox.com 2005-03-08 22:58:24 +00:00
mozilla.mano%sent.com
85c00accbd [Mac] remove Print Preview from View Selection Source menu. patch by R.J. Keller <rj.keller@beonex.com>, r=mconnor 2005-01-25 00:18:58 +00:00
ben%bengoodger.com
a3b1eda480 Landing the Aviary Branch (Toolkit sections excluding toolkit/content). 2004-11-30 22:54:13 +00:00
rlk%trfenv.com
da25ffb6d6 bug 256104 - Need element IDs in viewSource.xul. r=mconnor@myrealbox.com 2004-08-19 16:49:24 +00:00
rlk%trfenv.com
6aca51cc71 Bug 215463 - add ctrl++/ctrl+- to View Source. r=p_ch@verizon.net 2004-03-20 17:52:28 +00:00
chanial%noos.fr
011251779d Hook up the "find in page" functionality in the toolkit, by adding the methods find(), findAgain() and findPrevious() and the property canFindAgain to the widgets browser.xml and tabbrowser.xml. Fixes bug 184741, 187059, 225530 and half of the long standing bug 222157. 2003-11-20 09:48:16 +00:00
chanial%noos.fr
5d5e8b9027 bug 224160: hook up Print Preview to view source. 2003-10-30 06:02:54 +00:00
chanial%noos.fr
ef1a3e7026 Hook up Page Setup and Print to view source. 2003-10-26 20:24:17 +00:00
chanial%noos.fr
a1ff9eb17b bug 223721 and 223728: fix view source and print preview bustage. patches by Steffen Wilberg <steffen.wilberg@web.de> 2003-10-26 16:10:59 +00:00
chanial%noos.fr
246f14c412 tri licencing 2003-10-26 03:28:11 +00:00
chanial%noos.fr
0c0ab06373 sync the source viewer with the suite 2003-10-22 08:02:23 +00:00
chanial%noos.fr
076495b36f fix bustage in partial source viewer 2003-10-14 08:05:04 +00:00
chanial%noos.fr
72fe8080ee removing comm.jar dependencies in the source viewer.
(bug 221668 and bug 173879). Commands Find, Save As and Print still have to be hooked properly.
2003-10-14 05:13:34 +00:00
chanial%noos.fr
f171e1c165 Move the js console and dependencies as new extensions in toolkit/components.
NPOB
2003-03-01 08:07:13 +00:00
Renamed from browser/base/content/viewPartialSource.xul (Browse further)