Ehsan Akhgari
f4bd388765
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Neil Rashbrook
3f194429dd
Bug 758354 Stop unnecessarily preprocessing chrome r=dolske
2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948
Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends
2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb
Bug 758354 Stop unnecessarily preprocessing chrome r=dolske
2012-06-25 09:24:49 +01:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
aceman
bd62801033
Bug 738568 - remove Services.prefs.getBranch(null) occurences. r=gavin
2012-03-29 11:48:40 +02:00
Phil Ringnalda
941a3ed11c
Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE
2012-03-28 22:37:46 -07:00
aceman
5b045964d6
Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin
2012-03-28 21:00:14 -04:00
Gavin Sharp
596779abed
backout 110452fddc2a (bug 738568) since it broke viewsource
2012-03-27 18:06:10 -07:00
aceman
7684f16e43
Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin
2012-03-27 19:17:35 -04:00
Geoff Lankow
e48a86b087
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
6ea461379a
Back out 3d8fc342348b (bug 469434) for browser_contextmenu.js timeouts
2012-02-22 22:11:48 -08:00
Geoff Lankow
be666f6f23
Bug 469434 - Links in "view source" should have "copy link location" in context menu; r=dao
2012-02-19 22:47:06 +13:00
Simon Montagu
d5b6d8fbcf
Rename BrowserSetForcedDetector and remove unnecessary parameter. Bug 720310, r=gavin
2012-01-24 11:52:05 +02:00
Simon Montagu
d21db7f52d
Remove unused forcedDetector property. Bug 713825, r=bz
2012-01-24 11:52:05 +02:00
Simon Montagu
5c995efcb2
Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck
2012-01-24 11:52:05 +02:00
Simon Montagu
22832cf881
Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz
2012-01-24 11:52:04 +02:00
Henri Sivonen
28e870cbc4
Bug 700361 - Make viewSource.js assume a pre without an id starts on line 1. r=gavin.sharp.
2011-11-16 09:38:51 +02:00
Henri Sivonen
a42a25896b
Bug 482921 part 9 - Support tooltips in the View Source window. r=gavin.sharp.
2011-11-01 13:33:11 +02:00
arno renevier
9b66592dba
Bug 684908 - Save viewSource uri with content cacheKey; r=neil
2011-10-10 15:27:05 +01:00
Gavin Sharp
7cfe6f0204
Bug 652542: "Ignore warning" link in the view-source window no longer works, r=neil
2011-04-26 09:24:10 -04:00
Robert Kaiser
53e293cd73
bug 567587 - consistent IDs for view(Partial)Source, kill unused page editing function, r=gavin
2010-05-24 14:48:24 +02:00
Ehsan Akhgari
b441a7ac76
Back out changeset 6fc5d661ca55 because of a11y test failures
2010-05-19 10:48:30 -04:00
Asaf Romano
429f6ecb7b
Bug 566736 - Lazily initialize the findbar. r=gavin.
2010-05-19 15:23:43 +03:00
Neil Deakin
3fea5960c8
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
cb7087f56a
Bug 544018 - print preview doesn't work in view source , r=dao
2010-02-09 18:24:49 +02:00
Olli Pettay
afa76a6fe2
backout Bug 544018
2010-02-08 19:00:41 +02:00
Olli Pettay
fcad2fdbd3
Bug 544018 - print preview doesn't work in view source, r=dao
2010-02-08 18:16:57 +02:00
Blair McBride
e9afd84370
Bug 397937 - Handle view-source on malware and error pages more gracefully, r=mconnor
2009-12-23 22:03:37 -05:00
Tom Dyas
692f3e5c44
Bug 465265 - Support swipe gestures in View Source windows on Mac OS X. r=gavin, ui-r=faaborg
2009-11-06 17:38:22 +01:00
Dão Gottwald
e95bc52b78
Bug 517755 - use smart getters in View Source window. r=neil
2009-10-03 11:36:04 +02:00
Masahiro Yamada
3fc96b52b4
Bug 425588 "Go to line" should always parse line number as decimal r=mconnor, sr=roc
2009-06-18 14:23:04 +09:00
Phil Ringnalda
cbaac746dc
Bug 480080 - updateStatusBar not defined in gSelectionListener in viewSource.js (when it's getting notified of a selection change after the window has already closed), r=gavin
2009-05-08 21:36:55 -07:00
Josh Aas
4b9a846783
Backed out changeset 9f9b05760fff, bug 480080, to see if it fixes orange
2009-05-08 13:42:19 -04:00
Phil Ringnalda
b4a1cca87a
Bug 480080 - updateStatusBar not defined in gSelectionListener in viewSource.js (when it's getting notified of a selection change after the window has already closed), r=gavin
2009-05-07 20:28:04 -07:00
Phil Ringnalda
bc194063f1
Bug 379822 - Make view source character encoding menuitems work in Thunderbird by not reloading from history if history is disabled, r=gavin
2009-05-03 09:28:43 -07:00
Curtis Bartley
474a00cdf9
Bug 475542 - history/cache problem with view page source issuing a GET on an already POSTed form. r=gavin
2009-02-05 17:38:17 -05:00
Phil Ringnalda
21148a9ccb
Bug 473034 - Scrape the underscore off viewsource's content, r=gavin
2009-01-15 20:02:20 -08:00
81257d1027
Bug 469535 - Cr is not defined in viewSource.js, r=gavin
2008-12-31 22:10:19 -08:00
Stappel
81c8d58922
Bug 469302 - Page source code after form submit shows initial form page instead of new page, r=gavin, sr=mrbkap
2008-12-30 20:45:05 -08:00
Curtis Bartley
425a5b6738
Bug 463176 - NS_ERROR_FACTORY_NOT_REGISTERED from nsIDocShellHistory.useGlobalHistory opening view source; Disable all BACK/FORWARD UI and logic when disablehistory="true"; r=gavin.sharp
2008-12-06 18:06:59 +01:00
Steffen Wilberg
480f25b35e
Bug 464361: Add support for back and forward mouse buttons to View Source. r=gavin, a=beltzner
2008-11-15 18:32:08 +01:00
Curtis Bartley
deac435e2a
Bug 17612: front end patch to enable view-source link browsing, r=gavin
2008-11-04 23:01:33 -05:00
22a4a71d7d
[Bug 350693] "Character Encoding" in "View Source" window doesn't work p=Simon Montagu <smontagu@smontagu.org>, r=neil, sr=mscott, approval1.9=mtschrep
2008-05-09 13:38:49 -07:00
4c01718945
Bug 394473 - "caret/cursor in View Source is invisible since 20070628 {not rendered, seen, can't, cannot, shown, displayed}" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a1.9=beltzner]
2008-02-26 17:49:46 -08:00
812c9a4040
Bug 398009 - fix mangled license headers. a=stuart.
2007-10-06 05:08:39 -07:00
cae078a626
Bug 396176 - "Make change in viewSource() due to Bug 382074 backward compatible" [p=philip.chee@gmail.com (Philip Chee) r=Mano a1.9=mconnor]
2007-09-17 18:07:14 -07:00
af67751790
Bug 321954 - Make it easier for apps to hook into toolkit's printing component, patch nearly all by Ian Neal <iann_bugzilla@blueyonder.co.uk> with very little from me, r=gavin
2007-08-22 21:07:30 -07:00
fbd01d2392
Only override the charset in viewsource if the document charset was forced by the user. Bug 382074, r=mano
2007-08-11 11:55:27 -07:00
mozilla.mano@sent.com
97cb9cf2e7
Bug 288254 - Findbar XBL widget. r=gavin,masayuki,bienvenu.
2006-11-26 22:47:46 +00:00