QA/Firefox3.5/ViewSource Testplan: Difference between revisions

Line 8: Line 8:
   Are there particular challenges with testing this feature?
   Are there particular challenges with testing this feature?


The View Source feature displays the source HTML of a page as the original text, not as rendered markup.  The related View Selection Source command displays just the source for the selected range on the page.
The View Source feature displays the source markup for an HTML page as text rather than rendered markup.  The text is displayed with syntax-based coloring, but is otherwise identical to the text retrieved by the browser from the server or filesystem.  A new feature, "linkification" has been added for Firefox 3.1.  Linkification treats the values of HREF and SRC attributes as URLs.  So for example, imagine the following HTML:


View Page Source may be invoked several ways.
  <a href="http://www.example.com/about.html>About</a>.
1. Select '''View >> Page Source''' from the main menu.
2. Select '''View Page Source''' from the page context menu.
3. Press '''Ctrl-U/Cmd-U''' on the keyboard.


View Selection Source may only be invoked from the context menu when some content on the page is currently selected.
The text fragment <<<http://www.example.com/about.html>>> would be displayed as a hyperlink, linking to the URL "view-source:http://www.example.com/about.html".  Clicking on the link would replace the current source page with the source for the "about.html" page.


= Test Strategy =
= Test Strategy =
213

edits