Add layout test for access to naked global object

BUG=324812
R=verwaest@chromium.org

Review URL: https://codereview.chromium.org/99153004

git-svn-id: svn://svn.chromium.org/blink/trunk@163075 bbb929c8-8fbe-4397-9dbb-9b2b20218538