Improve JS unit tests.

Currently, several JS files don't even have the basic "load" smoke-test
since they rely on globals not defined in the test environment. This CL
defines these globals so that they can be included in the basic test.


Review URL: https://chromiumcodereview.appspot.com/12087070

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@179576 0039d316-1c4b-4281-b951-d872f2087c98
3 files changed