Commit Graph

183 Commits

Author SHA1 Message Date
J. Ryan Stinnett
50e6689efa Bug 1169723 - Load view source frame script lazily. r=mconley 2015-06-04 18:17:53 -05: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
0a627b9c88 Bug 1168081 - Go to Line accesskey for view source tabs. r=Gijs 2015-05-29 11:51:27 -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
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
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
J. Ryan Stinnett
3319e1fe68 Bug 1067325 - Fix line endings in several browser / toolkit files. 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
d98e438815 Bug 1163693 - Fix View Source external editor fallback. r=jryans. 2015-05-15 12:07:19 -04: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
Mike Conley
261f419eb5 Bug 1025146 - Modernize ViewSourceUtils to be able to use outerWindowIDs to load document sources. r=jryans. 2015-04-01 14:59:37 -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
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
Abhinav Koppula
dfffe2d46c Bug 951695 - Rename 'Character Encoding' to 'Text Encoding'. r=jaws 2015-02-27 18:10:30 -05:00
Ehsan Akhgari
d4d4007fd7 Bug 1116880 - Pass in the referrer policy to the savePrivacyAwareURI() call in openInExternalEditor(); r=geekboy 2015-01-02 17:53:11 -05: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
Jonathan Kew
af798073e7 bug 1057841 - use noncharacters as selection delimiters in viewPartialSource.js. r=gavin 2014-08-28 16:00:01 +01: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
Mike de Boer
33358c9039 Bug 326743: support find-selection in view-source component. r=Unfocused 2014-02-28 16:07:37 +01:00
Neil Rashbrook
699506a897 Bug 956657 Followup tweak r=Unfocused 2014-02-25 00:19:36 +00: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
James Kitchener
a39062a691 Bug 464222 - Get relative links to resolve in parser view selection. r=dolske 2014-02-20 08:43:54 -05:00
Phil Ringnalda
50e6f1f793 Back out 024e6835e6ea:bece94ce2310 (bug 326743) for frequent 10.6 debug failures in browser_bug537013.js 2014-02-14 23:58:49 -08:00
Mike de Boer
d236fbb902 Bug 326743: support find-selection in view-source component. r=Unfocused 2014-02-14 14:04:25 +01:00
Mike de Boer
48741348a3 Backed out 5 changesets (bug 326743)
Backed out changeset 55fba7bccaaf (bug 326743)
Backed out changeset f4ab79254dfb (bug 326743)
Backed out changeset c8151192e447 (bug 326743)
Backed out changeset 57ceb72568c6 (bug 326743)
Backed out changeset 3081b9770c33 (bug 326743)
2014-02-14 12:55:13 +01:00
Mike de Boer
1dc6fcd8a2 Bug 326743: support find-selection in view-source component. r=Unfocused 2014-02-14 11:38:26 +01: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
Gijs Kruitbosch
7488aebb41 Bug 936442 - part 1: refactor CharsetMenu to allow Australis code to use it, r=Unfocused 2014-01-27 11:56:04 +00: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
42120db40e Bug 805374 - Clean up the Character Encoding menu. r=Gijs,Unfocused. 2013-11-26 09:31:52 +02: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
Mike de Boer
ae402778f3 Backed out 3 changesets (bug 893446, bug 893011, bug 869543)
Backed out changeset 452ca8b779f3 (bug 893446)
Backed out changeset e1bf70be67ec (bug 893011)
Backed out changeset 60865db5f5dc (bug 869543)
2013-09-13 11:01:40 +02:00
Ryan VanderMeulen
d75d63cbed Backed out changeset 6dcc6fc612e4 (bug 914180) for it was intended for Aurora only. 2013-09-13 14:53:00 -04:00
Mike de Boer
d11169c10b Bug 914180 - Backout moving findbar to the top. r=dao
Backs out changeset 452ca8b779f3 (bug 893446), changeset e1bf70be67ec (bug 893011), and changeset 60865db5f5dc (bug 869543).
2013-09-13 11:01:40 +02:00
Mike de Boer
de7383208b Bug 869543: move findbar to the top. r=dao 2013-07-11 12:44:34 +02: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
Scott Johnson
0efbfb5758 Bug 812372: Rename DocumentViewerImpl to nsDocumentViewer for consistency. [r=ehsan] 2012-11-28 18:26:39 -06:00
Ehsan Akhgari
09cb6bc6c1 Bug 815001 - Pass in the privacy information for the view sourced document to the web browser persist service when using an external view source program; r=jdm 2012-11-26 13:08:00 -05: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