QA/Firefox3.5/TestPlan/Script Defer: Difference between revisions

m
 
(3 intermediate revisions by one other user not shown)
Line 11: Line 11:
*defer loading of script and verify page loads
*defer loading of script and verify page loads
*queuing of local scripts
*queuing of local scripts
**queue 2 scripts, 1 doesn't exist, other still loads
**queue 2 scripts, other still loads
**queue a script that references other scripts
**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
*accessing variables / functions from deferred script
Line 22: Line 18:
**have inline script update variable in deferred script
**have inline script update variable in deferred script


*test cases will be developed using mochitests
There are a lot of corner cases such as testing all javascript functionality in both normal and defer.  One such bug came up where window.onload() would not call [[https://bugzilla.mozilla.org/show_bug.cgi?id=453801 bug 453801]]


= Schedule Scoping =
= Schedule Scoping =
Line 33: Line 29:
= References =
= References =


*[[https://bugzilla.mozilla.org/show_bug.cgi?id=28293| bug 28293]]
*[[https://bugzilla.mozilla.org/show_bug.cgi?id=28293 bug 28293]]
*[[http://www.whatwg.org/specs/web-apps/current-work/#attr-script-defer| WHATWG spec]]
*[[http://www.whatwg.org/specs/web-apps/current-work/#attr-script-defer WHATWG spec]]
1,457

edits