QA/Firefox3.5/TestPlan/Script Defer: Difference between revisions
< QA | Firefox3.5 | TestPlan
Jump to navigation
Jump to search
No edit summary |
|||
Line 9: | Line 9: | ||
= Test Strategy = | = Test Strategy = | ||
*defer loading of script and verify page loads | |||
*queuing of local scripts | |||
**queue 2 scripts, 1 doesn't exist, other still loads | |||
**queue a script that references other scripts | |||
*queuing of remote scripts | |||
**remote scripts will be deferred | |||
**mixed local/remote scripts will be deferred | |||
*accessing variables / functions from deferred script | |||
**have inline script call function in deferred script | |||
**have inline script update variable in deferred script | |||
*test cases will be developed using mochitests | |||
= Schedule Scoping = | = Schedule Scoping = |
Revision as of 15:59, 8 October 2008
- Feature Script Defer Test Plan
Overview
Script defer is a feature that has been in IE and other browsers for years since the HTML 4 spec. Basically this is an attribute for the <script> tag where we can defer loading one or more scripts so the page content will load without waiting for large or cross-domain scripts.
Test Strategy
- defer loading of script and verify page loads
- queuing of local scripts
- queue 2 scripts, 1 doesn't exist, other still loads
- queue a script that references other scripts
- queuing of remote scripts
- remote scripts will be deferred
- mixed local/remote scripts will be deferred
- accessing variables / functions from deferred script
- have inline script call function in deferred script
- have inline script update variable in deferred script
- test cases will be developed using mochitests
Schedule Scoping
- Landed in September
- Available in 3.1
- Many test cases included in bug
- Estimate 1 full day to develop and execute test cases
References
- [bug 28293]
- [WHATWG spec]