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

Jump to navigation Jump to search
Line 62: Line 62:
View Source is designed to retrieve the source for a page from the browser cache whenever possible.  This is because a server may return different data on two different requests, perhaps substantially so.  Generally, when the user chooses to view the source of a particular page, they want to see the original source used to render the page they're looking at, not whatever source the server returns from another request.
View Source is designed to retrieve the source for a page from the browser cache whenever possible.  This is because a server may return different data on two different requests, perhaps substantially so.  Generally, when the user chooses to view the source of a particular page, they want to see the original source used to render the page they're looking at, not whatever source the server returns from another request.


The easiest way to test this logic is with an HTML form that posts back to its own URL.  If the original form page and the page returned by the post look very different, then it's easy to test.  Submit the form, wait for the response, and then view source to verify that view source shows the HTML for the response, not the original form.  See bug xxx.
The easiest way to test this logic is with an HTML form that posts back to its own URL.  If the original form page and the page returned by the post look very different, then it's easy to test.  Submit the form, wait for the response, and then view source to verify that view source shows the HTML for the response, not the original form.  See bug [http://bugzilla.mozilla.org/show_bug.cgi?id=469302 Bug 469302].


== Linkification of HREF and SRC URLs in Firefox 3.1 ==
== Linkification of HREF and SRC URLs in Firefox 3.1 ==
213

edits

Navigation menu