Commit Graph
100 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 036e6d2fa3 Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book 12369728f5 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo 474f49adb7 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
J. Ryan Stinnett 2347dd475a Bug 1203395 - Repair view selection source in window mode. r=mconley 2015-09-29 14:12:54 -05:00
Shu-yu Guo 37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Neil Deakin d49e7b6617 Bug 1134585, remove cpow usage from view selection source, r=mconley 2015-08-10 09:42:51 -04:00
Mike Conley 5f278ad607 Bug 1181160 - Make print preview work in view source window when viewing source from a remote browser. r=jryans
We weren't making the print preview browser remote for the view source
window if the view source browser was remote, causing us to fail to
show the preview.
2015-07-03 18:20:07 -04:00
J. Ryan Stinnett d96ba9c294 Bug 1168084 - Persist view source tab options. r=mconley 2015-06-01 16:26:33 -05:00
J. Ryan Stinnett 8713aac2b6 Bug 1067325 - Context menu actions for view source tabs. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett cc8fe48b34 Bug 1067325 - Selection source in tab via frame scripts. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett c9a03e15c9 Bug 1067325 - Update charset when history is disabled. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett 90c30dc157 Bug 1067325 - Extract view source core to support tabs. r=mconley 2015-05-23 18:17:50 -05:00
Birunthan Mohanathas fe337d7c5e Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Mike Conley e9998ed74f Bug 1165050 - Make deprecation warnings in viewSource.js point to the right URL for documentation. r=jryans. 2015-05-15 11:40:49 -04:00
Mike Conley cdd3819a6e Bug 1158377 - Make link drag-and-drop work with view source windows opened on remote browsers. r=jryans. 2015-05-07 16:25:54 -04:00
Mike Conley 72d0f86227 Bug 1025146 - Modernize viewSource.js to use a frame script. r=jryans. 2015-04-24 17:32:57 -04:00
Francois Marier 37e736087c Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug 2015-04-22 21:01:37 +12:00
Mike Conley 94a2f1b5a8 Bug 1089815 - View source print preview browser does not have a message manager. r=Mossop.
<xul:browser>'s do not get messageManager's constructed for them unless they
have their type attribute set to "content", "content-targetable", or
"content-primary". This patch updates the view source print preview browser
with that type attribute, and also updates the PrintUtils documentation to
mention this requirement.
2014-11-04 12:10:15 -05:00
Harshit Harchani 396fd83200 Bug 1051221 - Changed way to remove 'view-souce:' in URL using regex-replace instead of substring, used while saving the MathML source page. r=MattN 2014-08-20 04:30:17 +05:30
Jim Blandy 39dc0c6097 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Neil Rashbrook d20bbf415e Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused 2014-02-23 18:28:04 +00:00
Ryan VanderMeulen 2efee8ce28 Backed out 3 changesets (bug 956657, bug 974824, bug 974258) for mochitest-other failures on a CLOSED TREE.
Backed out changeset 792ce962cad6 (bug 956657)
Backed out changeset a1574a6b0544 (bug 974824)
Backed out changeset ad851c771c04 (bug 974258)
2014-02-21 15:28:43 -05:00
Neil Rashbrook 16b51b9c2f Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused 2014-02-21 00:17:13 +00:00
Henri Sivonen ed64e1c604 Bug 959061 - Have only one "Chinese, Simplified" item in the Character Encoding menu. r=Unfocused. 2014-01-30 14:39:25 +02:00
Neil Rashbrook bf1aca28ee Bug 940907 Re-introduce the Character Encoding menu to the View Source window r=Unfocused 2014-01-06 08:44:19 +00:00
Jared Wein 3ef06aaed2 Bug 926487 - Replace className comparisons with classList.contains in viewSource.js. r=Unfocused 2013-12-12 18:14:25 -05:00
Henri Sivonen 86b1606c5c Bug 871161 - Stop inheriting charset where other browsers do not inherit it. r=bzbarsky. 2013-10-16 04:46:10 +03:00
Gavin Sharp 8785e29499 Bug 922338: update link to phishing protection info in Firefox, r=dao,wesj,mbrubeck,fabrice 2013-10-08 14:00:48 -07:00
Boris Zbarsky c3968d7813 Bug 792215. Convert quickstubs to using JSNative getters and setters. r=peterv 2012-09-25 14:44:40 -04:00
Neil Deakin a092850823 Bug 480356, move content page tooltip text generation code into tooltip binding so that it can be shared, r=neil,mratcliffe 2013-03-21 08:58:07 -04:00
Boris Zbarsky 268d0ca4ce Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug 2013-02-06 14:22:33 +00:00
Neil Rashbrook 776db6b863 Bug 803661 Can't save files from the view source window r=jdm 2012-10-20 00:37:35 +01:00
Josh Matthews a6d9debc97 Bug 795065 - Add privacy status to nsDownload. r=mak sr=bz 2012-10-03 13:10:20 -04:00
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