Commit Graph

42 Commits

Author SHA1 Message Date
Mark Banner
d07f540195 Bug 1328338 - Fix more no-undef eslint issues in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 78dXLYVW1gC
2017-01-03 11:55:24 +00:00
J. Ryan Stinnett
2347dd475a Bug 1203395 - Repair view selection source in window mode. r=mconley 2015-09-29 14:12:54 -05:00
Neil Deakin
d49e7b6617 Bug 1134585, remove cpow usage from view selection source, r=mconley 2015-08-10 09:42:51 -04:00
J. Ryan Stinnett
375b366378 Bug 1067325 - MathML source in tab. 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
90c30dc157 Bug 1067325 - Extract view source core to support tabs. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
3319e1fe68 Bug 1067325 - Fix line endings in several browser / toolkit files. r=mconley 2015-05-23 18:17:50 -05:00
Mike Conley
72d0f86227 Bug 1025146 - Modernize viewSource.js to use a frame script. r=jryans. 2015-04-24 17:32:57 -04:00
Alex Verstak
4e554d8cf6 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Jonathan Kew
af798073e7 bug 1057841 - use noncharacters as selection delimiters in viewPartialSource.js. r=gavin 2014-08-28 16:00:01 +01:00
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
James Kitchener
a39062a691 Bug 464222 - Get relative links to resolve in parser view selection. r=dolske 2014-02-20 08:43:54 -05:00
Scott Johnson
0efbfb5758 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06: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
Henri Sivonen
452ead3fdd Bug 713810 - Use the HTMLness mode of the original document for the View Selection Source serialization. r=gavin.sharp. 2012-01-19 09:51:49 +02:00
Boris Zbarsky
718e5745dd Bug 624763. When cloning the fragment we'll munge, clone it into a data document. r=smaug 2011-09-26 17:25:17 -04: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
Taras Glek
30d4e76d45 Bug 522229 - XML Pretty-Print no longer colored r=bz 2009-10-14 14:34:50 -07:00
Dão Gottwald
e95bc52b78 Bug 517755 - use smart getters in View Source window. r=neil 2009-10-03 11:36:04 +02:00
Phil Ringnalda
21148a9ccb Bug 473034 - Scrape the underscore off viewsource's content, r=gavin 2009-01-15 20:02:20 -08:00
Boris Zbarsky
ec2fe0764c Bug 465806. Use all of our security information from a single place. r+sr=jst 2008-12-11 16:00:37 -05:00
b31e183bf9 Bug 428653: 'view MathML source' broken due to bug 397791, r=mano, sr=jst, a=beltzner 2008-04-22 13:50:08 -07:00
asqueella@gmail.com
79b7f946f9 Bug 367616 - Find again 'eats' some characters in View selection source.
patch by Florian Qu��ze <f.qu@queze.net>
r=gavin
2007-01-31 14:25:32 +00:00
mozilla.mano@sent.com
97cb9cf2e7 Bug 288254 - Findbar XBL widget. r=gavin,masayuki,bienvenu. 2006-11-26 22:47:46 +00:00
gavin@gavinsharp.com
3f2e04b2c6 Bug 341112: LOAD_FLAGS_BYPASS_CACHE flag of nsIWebNavigation::loadURI doesn't work, patch by Nickolay Ponomarev <asqueella@gmail.com>, r=biesi, sr=darin 2006-07-08 21:25:08 +00:00
masayuki@d-toybox.com
6ff0218566 Bug 313149 the code of findBar.js should be protected in a prototype r=mconnor 2005-11-01 17:34:45 +00:00
rbs@maths.uq.edu.au
4a5ba6cf1d Prevent View Selection Source from triggering the crasher bug 252970, r+sr=bz, a=mconnor 2005-07-27 07:51:52 +00:00
rbs@maths.uq.edu.au
10bfa9fed8 Give the View Selection Source window a proper name, b=236465, r=mconnor, a=asa 2005-07-13 21:32:48 +00:00
steffen.wilberg@web.de
07b627f24d 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
gerv@gerv.net
c7ca93d489 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 17:07:35 +00:00
ben@bengoodger.com
5003aacad6 Landing the Aviary Branch (Toolkit sections excluding toolkit/content). 2004-11-30 22:54:13 +00:00
jshin@mailaps.org
66f66d36da bug 225695 : follow-up to the fix for bug 44272. the first part of three ; tree-wide sweep to replace escape/unescape with en|decodeURI(Component). r=bz, sr=rbs, a=asa 2003-12-03 21:41:37 +00:00
chanial@noos.fr
6923adbdb2 sync the source viewer with the suite 2003-10-22 08:02:23 +00:00
chanial@noos.fr
aaab3d5a79 bug 203069: Unable to search in page-source
sync'ing with seamonkey, use gBrowser instead of getBrowser()
2003-04-27 05:02:28 +00:00
chanial@noos.fr
ef15394a06 fixing view partial source by commenting a call to defunct edit page menuitem. 2003-03-05 23:22:50 +00:00
chanial@noos.fr
676292f97e Move the js console and dependencies as new extensions in toolkit/components.
NPOB
2003-03-01 08:07:13 +00:00