Auto-rebaseline for r162463

http://src.chromium.org/viewvc/blink?view=revision&revision=162463

BUG=157218
TBR=rosca@adobe.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162472 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add window null checks in BindingSecurity and DOMWindow.

Some Documents don't have Windows, Template elements' content attributes'
DocumentFragments, for example. This patch updates BindingSecurity and
error message generation in DOMWindow with that new understanding of the world.

Thanks to apavlov@ for writing the test. :)

R=apavlov@chromium.org
BUG=321005

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162473 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Improve XPathResult exception messages.

BUG=270033

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

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