Commit Graph

181 Commits

Author SHA1 Message Date
J. Ryan Stinnett
d413f521fb Bug 1201535 - Test view source of srcdoc frames. r=mconley 2015-09-24 12:39:09 -05:00
Mike Conley
cc791bd652 Bug 1207629 - Don't assume that viewSourceUtils.js has Services in scope. r=jryans 2015-09-23 11:32:52 -04:00
J. Ryan Stinnett
9976236230 Bug 1204365 - Repair external view source file name and extension. r=mconley 2015-09-22 14:23:47 -05:00
Wes Kocher
7b3f9b8da9 Merge m-c to inbound, a=merge 2015-09-15 17:20:16 -07:00
J. Ryan Stinnett
568fb76791 Bug 1203624 - Measure view source usage. r=mconley p=ally 2015-09-15 15:56:25 -05:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
J. Ryan Stinnett
4b0810d447 Bug 1165599 - Restore basic external view source. r=jsantell
CLOSED TREE

This restores external view source after changes in bug 1025146.  It does
function in e10s, however the page descriptor is not used, so viewing a POST
result will GET the page instead.  This is the same as it was before bug
1025146.

Follow ups will add usage tracking and improve e10s behavior if there is enough
usage.
2015-09-09 15:41:20 -05:00
Neil Deakin
ca76cffd22 Bug 1134585, remove cpow usage from view selection source, r=mconley 2015-08-10 09:42:51 -04:00
Mike Conley
8d71a7c6b3 Bug 1146454 - Stop using CPOWs for printing. r=billm
We were passing around content window CPOWs before to indicate
which content to send to the printer. This was, naturally, causing
unsafe CPOW usage warnings - especially when attempting to get at
the content window of an iframe with the context menu printing
command.

This patch changes the printing mechanism to use outer window IDs
instead of CPOWs.
2015-07-03 16:06:04 -04:00
Mike Conley
0e68a02c6b 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
cca5c306a7 Bug 1169723 - Load view source frame script lazily. r=mconley 2015-06-04 18:17:53 -05:00
J. Ryan Stinnett
c87efb3568 Bug 1168084 - Persist view source tab options. r=mconley 2015-06-01 16:26:33 -05:00
J. Ryan Stinnett
0783f7e68b Bug 1168081 - Go to Line accesskey for view source tabs. r=Gijs 2015-05-29 11:51:27 -05:00
J. Ryan Stinnett
d702a7bac1 Bug 1067325 - Context menu actions for view source tabs. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
97827edc06 Bug 1067325 - MathML source in tab. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
036a4cf2a7 Bug 1067325 - Selection source in tab via frame scripts. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
763d7f18f4 Bug 1067325 - Update charset when history is disabled. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
6eb7b1da1a Bug 1067325 - Extract view source core to support tabs. r=mconley 2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
ab9bddde43 Bug 1067325 - Fix line endings in several browser / toolkit files. r=mconley 2015-05-23 18:17:50 -05:00
Birunthan Mohanathas
81f8950ec4 Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Mike Conley
872772f98f Bug 1163693 - Fix View Source external editor fallback. r=jryans. 2015-05-15 12:07:19 -04:00
Mike Conley
eeb785fdb3 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
877867dbe6 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
2139c2ee3a Bug 1025146 - Update ViewSource tests to account for refactor. r=jryans. 2015-04-24 16:47:08 -04:00
Mike Conley
6bc4cc4f1d Bug 1025146 - Modernize viewSource.js to use a frame script. r=jryans. 2015-04-24 17:32:57 -04:00
Mike Conley
a86a2070f9 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
14bd6c01dd Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug 2015-04-22 21:01:37 +12:00
Alex Verstak
0a23af5a89 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Sebastian Hengst
09b323c52f Bug 1143470 - Add BUG_COMPONENT to moz.build files in toolkit and xulrunner. r=gavin 2015-03-15 19:36:24 +01:00
Jonathan Griffin
8873726f67 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Abhinav Koppula
ab7e9c49fa Bug 951695 - Rename 'Character Encoding' to 'Text Encoding'. r=jaws 2015-02-27 18:10:30 -05:00
Ehsan Akhgari
5f854231c8 Bug 1116880 - Pass in the referrer policy to the savePrivacyAwareURI() call in openInExternalEditor(); r=geekboy 2015-01-02 17:53:11 -05:00
Bobby Holley
674918b7a2 Bug 1092388 - Clamp the entry and incumbent global to the current global if their principals don't match. r=bz 2014-11-13 11:13:36 -08:00
Mike Conley
7375e28be3 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.

--HG--
extra : amend_source : 12638e8fd0c0da9b3036d7892d02a360b7513ec5
2014-11-04 12:10:15 -05:00
Bill McCloskey
2b8c94ee67 Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
Jonathan Kew
facd9f0f7e bug 1057841 - use noncharacters as selection delimiters in viewPartialSource.js. r=gavin 2014-08-28 16:00:01 +01:00
Harshit Harchani
af93989de3 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
b6b202b6bb 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
Mark Hammond
763885adb1 Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Mike de Boer
d20177f8cb Bug 326743: support find-selection in view-source component. r=Unfocused 2014-02-28 16:07:37 +01:00
Neil Rashbrook
49a9db86d3 Bug 956657 Followup tweak r=Unfocused 2014-02-25 00:19:36 +00:00
Neil Rashbrook
65923a2021 Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused
--HG--
extra : rebase_source : 7fd31cfc4b8eefee38fa06e63351cc207a9208db
2014-02-23 18:28:04 +00:00
Ryan VanderMeulen
4f25d52cfa 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
d96baf2ded Bug 956657 Share more charset menu code between the view source window and the browser r=Unfocused
--HG--
extra : rebase_source : 6fd5f6565b6dd0c07db0d530ffa01311d6e6d643
2014-02-21 00:17:13 +00:00
James Kitchener
4c857ae66c Bug 464222 - Get relative links to resolve in parser view selection. r=dolske 2014-02-20 08:43:54 -05:00
Phil Ringnalda
6f0427c88e 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
e0ea3b6703 Bug 326743: support find-selection in view-source component. r=Unfocused 2014-02-14 14:04:25 +01:00
Mike de Boer
faf150b6a4 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
3e8f27bc11 Bug 326743: support find-selection in view-source component. r=Unfocused 2014-02-14 11:38:26 +01:00
Gregory Szorc
1f28da1c9c Bug 969021 - Part 1: Consolidate moz.build data into parent moz.build files; r=ted
Many moz.build files define things that could be defined in parent
moz.build files. Keeping the number of moz.build files low helps with
build times due to less I/O and fewer directories traversed.

This patch eliminates a lot of moz.build files by moving their content
into parent moz.build files.

--HG--
extra : rebase_source : 0cfdf2697d10532e5b03cd27fbaadb41f42b837c
extra : amend_source : 0119d4e4881217f105e0e4ba1dfa9c8f7295f3e9
extra : histedit_source : eb49e62c67af2005fdc08d9c9a07f56bee98d558%2C50951e960e450f9b0e48fc7e8ec369d8666a63b0
2014-02-06 13:00:20 -08:00