Firefox/Projects/View Source in Tab: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with '== Summary == View source currently opens in a separate window that doesn't share the browser UI or features and, being in toolkit, requires overlays to tack on minimal integrati…')
 
(add a reference)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
== Summary ==
== Summary ==
View source currently opens in a separate window that doesn't share the browser UI or features and, being in toolkit, requires overlays to tack on minimal integration with Firefox. Without having a browser UI, the recent addition of link browsing feels incomplete since there's no way to open links in windows or tabs and back and forward are only available via the context menu.
* View source currently opens in a separate window that doesn't share the browser UI or features and, being in toolkit, requires overlays to tack on Firefox integration
If view source were opened in a tab, we'd get these features for free and they'd stay in sync with any changes made to them for normal browsing.
* Link browsing currently feels incomplete since there's no way to open links in windows or tabs and back and forward are only available via the context menu
* By opening in a tab, we get these features for free without duplication and they'd stay in sync with any changes made to them for normal browsing


== Current Status ==
== Current Status ==
Proposal


== Next Steps ==
== Next Steps ==
TBD


== Related Bugs ==  
== Related Bugs ==  
* {{bug|103622}}
* {{bug|103622}} - show view-source in a tab, not a separate window (SeaMonkey)
* {{bug|464336}}
* {{bug|464336}} - Can not middle click to open new tab on "view page source"
* {{bug|520397}}
* {{bug|469103}} - Linkified links in View Source should respect fragment
* {{bug|469103}}
* {{bug|469434}} -  links in "view source" should have "copy link location" in context menu
* {{bug|469434}}
* {{bug|469435}} - Ctrl+click on links should open new "View source" window
* {{bug|469435}}
* {{bug|520397}} - Open links in new tab with middle click from View source


== Team ==
== Team ==
Line 21: Line 24:


== Goals/Use Cases ==
== Goals/Use Cases ==
* Eliminate standalone view source window and replace with a content page
* Duplicate current features (selection source, MathML source (or drop it?), go to line, line wrap) using only content script where possible


== Non Goals ==
== Non Goals ==
* Line numbering
* Line numbering
* Better syntax highlighting
* Better syntax highlighting
* Pet feature here
 
== References ==
* [https://addons.mozilla.org/firefox/addon/5908 Source Viewer Tab]: An existing addon for the purpose. This reuses chrome://global/content/viewSource.xul with little changes.

Latest revision as of 01:52, 16 November 2009

Summary

  • View source currently opens in a separate window that doesn't share the browser UI or features and, being in toolkit, requires overlays to tack on Firefox integration
  • Link browsing currently feels incomplete since there's no way to open links in windows or tabs and back and forward are only available via the context menu
  • By opening in a tab, we get these features for free without duplication and they'd stay in sync with any changes made to them for normal browsing

Current Status

Proposal

Next Steps

TBD

Related Bugs

  • bug 103622 - show view-source in a tab, not a separate window (SeaMonkey)
  • bug 464336 - Can not middle click to open new tab on "view page source"
  • bug 469103 - Linkified links in View Source should respect fragment
  • bug 469434 - links in "view source" should have "copy link location" in context menu
  • bug 469435 - Ctrl+click on links should open new "View source" window
  • bug 520397 - Open links in new tab with middle click from View source

Team

TBD

Designs

Goals/Use Cases

  • Eliminate standalone view source window and replace with a content page
  • Duplicate current features (selection source, MathML source (or drop it?), go to line, line wrap) using only content script where possible

Non Goals

  • Line numbering
  • Better syntax highlighting

References

  • Source Viewer Tab: An existing addon for the purpose. This reuses chrome://global/content/viewSource.xul with little changes.