For simplicity, in the Khronos WebGL conformance tests, an attempt has been made to keep most tests to a single file rather than splitting off the logic into a separate .js file. In order to keep these tests in sync in the future, it is strongly desirable to do the same in the WebKit versions of these layout tests.
Created attachment 61420 [details]
From the ChangeLog:
For each WebGL script-test layout test which has a corresponding copy in the Khronos repository, folded the .js into the .html. This will make it easier to synchronize these tests between repositories.
Committed r63250: <http://trac.webkit.org/changeset/63250>