Commit graph

68 commits

Author SHA1 Message Date
Josh Matthews
be721d5624 Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz 2012-10-03 13:10:20 -04:00
Ehsan Akhgari
f4b598bf08 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
eaedd546e8 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
f58ad725ea Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
aee62bb4bd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
aceman
d2a90f50d5 Bug 738568 - remove Services.prefs.getBranch(null) occurences. r=gavin 2012-03-29 11:48:40 +02:00
Phil Ringnalda
9b1872fcc9 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
36a12e41b8 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-28 21:00:14 -04:00
Gavin Sharp
6bae99c0d1 backout 110452fddc2a (bug 738568) since it broke viewsource 2012-03-27 18:06:10 -07:00
aceman
8e811fc635 Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin 2012-03-27 19:17:35 -04: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
Simon Montagu
d7c7ea501c Rename BrowserSetForcedDetector and remove unnecessary parameter. Bug 720310, r=gavin 2012-01-24 11:52:05 +02:00
Simon Montagu
b94da4bbfd Remove unused forcedDetector property. Bug 713825, r=bz 2012-01-24 11:52:05 +02:00
Simon Montagu
01326f327c Move nsIDocumentCharsetInfo out of intl/chardet into nsIDocShell, Bug 713825, r=bz, mbrubeck 2012-01-24 11:52:05 +02:00
Simon Montagu
6055067770 Move nsIDocCharset out of intl/chardet into nsIDocShell, Bug 713825, r=bz 2012-01-24 11:52:04 +02:00
Henri Sivonen
3214082cc0 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
f65e867d6d Bug 482921 part 9 - Support tooltips in the View Source window. r=gavin.sharp. 2011-11-01 13:33:11 +02:00
arno renevier
479d96d73d Bug 684908 - Save viewSource uri with content cacheKey; r=neil 2011-10-10 15:27:05 +01:00
Gavin Sharp
13384c9632 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
bebc96132a 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
833dcad511 Back out changeset 6fc5d661ca55 because of a11y test failures 2010-05-19 10:48:30 -04:00
Asaf Romano
2761db6f94 Bug 566736 - Lazily initialize the findbar. r=gavin. 2010-05-19 15:23:43 +03: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
Blair McBride
ca68af6299 Bug 397937 - Handle view-source on malware and error pages more gracefully, r=mconnor 2009-12-23 22:03:37 -05:00
Tom Dyas
bfc3c2eecc 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
c9f547d402 Bug 517755 - use smart getters in View Source window. r=neil 2009-10-03 11:36:04 +02:00
Masahiro Yamada
df391d7de4 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
73396dba13 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
87d9570962 Backed out changeset 9f9b05760fff, bug 480080, to see if it fixes orange 2009-05-08 13:42:19 -04:00
Phil Ringnalda
f921a426ba 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
ab92f14eff 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
7ae7d77cc0 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
670e32bf1a Bug 473034 - Scrape the underscore off viewsource's content, r=gavin 2009-01-15 20:02:20 -08:00
timeless@mozdev.org
64c1ebc1ab Bug 469535 - Cr is not defined in viewSource.js, r=gavin 2008-12-31 22:10:19 -08:00
Stappel
3977ac1124 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
37dfbc1b69 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
3616a9b678 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
0829df0d64 Bug 17612: front end patch to enable view-source link browsing, r=gavin 2008-11-04 23:01:33 -05:00
mkmelin+mozilla@iki.fi
31060b4b05 [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
reed@reedloden.com
0ac3599db4 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
gerv@gerv.net
6dd53e09ca Bug 398009 - fix mangled license headers. a=stuart. 2007-10-06 05:08:39 -07:00
reed@reedloden.com
8580de2744 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
philringnalda@gmail.com
36d38a4df6 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
smontagu@smontagu.org
0e2dd9e951 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