Bug 963528 - Don't allocate zero-sized script data. r=luke.

--HG--
extra : rebase_source : 16beebadc53671e68b73d920ad96c366f48206d3