Move some test-only code out of production code.

BUG=none
R=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160787 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move Prerender* to platform/

BUG=297477

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160788 bbb929c8-8fbe-4397-9dbb-9b2b20218538
PseudoElement doesn't need to check confusingAndOftenMisusedAttached()

If a PseudoElement exists then it's attached. This code was confused.
Unfortunately there's nothing good to assert here except
confusingAndOftenMisusedAttached() which kind of defeats the purpose of
removing this caller.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160789 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge lazyReattach into lazyReattachIfAttached

No one should be calling lazyReattach() on elements outside the active
document and all elements inside the active document are attached so
it doesn't make sense to have the non IfAttached version of this
function.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160790 bbb929c8-8fbe-4397-9dbb-9b2b20218538
FullScreenElementStack should not use confusingAndOftenMisusedAttached()

This code wants Document::isActive() instead.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160791 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Try to fix SHA1Test.RFC3174 -- I forgot space for the nul character.

BUG=none
TBR=falken@chromium.org

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

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