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

Line 60: Line 60:
== Linkification of HREF and SRC URLs in Firefox 3.1 ==
== Linkification of HREF and SRC URLs in Firefox 3.1 ==


ipso facto.
A two pronged approach will be used for testing the linkification feature: Automated testing (using Mochitests) wherever possible, and manual testing elsewhere.  Since view source is heavily used by web developers and linkification has been a much requested extension, we can reasonably expect good test coverage from beta users.
 
# Does linkification work at all?  Mochitest can load a view-source page into an IFRAME and then scan the DOM for anchor elements.  Anchor elements will only be present if linkification is in effect.
# Are links being built correctly?  A Mochitest can examine the HREF attributes on anchor elements inside the view source page and can verify they are being built correctly.
# Do back and forward work? It might be possible to test this using the IFRAME approach and triggering back and forward programmatically.  This won't test key bindings, but key bindings are simple to test manually.
# Do back and forward key bindings work?  This really needs to be tested manually.
 
 
# Entity expansion is not carried out when view-source URLs are built (it should be).
# URLs that point to non-text resources (most especially images) are still turned into view-source URLs which will try to interpret them as text.  Since we don't need the mimetype to know for sure what sort of resource is being referenced, a smarter view-source handler is needed.  A view-source URL pointing to an image should be rendered as a regular URL pointing to an image would be.  This might be difficult to test programmatically, but it's pretty easy to test manually.


= Schedule Scoping =
= Schedule Scoping =
213

edits