Extract URL that doesn't inherit a parent's SecurityOrigin out into a constant.
https://bugs.webkit.org/show_bug.cgi?id=113780

Reviewed by Jochen Eisinger.

We're scheduling navigations to 'data:text/html,' in XSSAuditor in
order to end up on a page that doesn't inherit its parent's
SecurityOrigin. We'll be reusing this mechainsm to solve
http://wkbug.com/112903

This patch makes us more explicit about what we're doing and why.
It doesn't change any behavior: XSSAuditor tests should still pass.

* html/parser/XSSAuditorDelegate.cpp:
(WebCore::XSSAuditorDelegate::didBlockScript):
    Use SecurityOrigin::urlWithUniqueSecurityOrigin rather than a
    literal string to make our intentions clear.
* page/SecurityOrigin.cpp:
(WebCore::SecurityOrigin::urlWithUniqueSecurityOrigin):
* page/SecurityOrigin.h:
    Add the new static method.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed. Rebaseline several tests for Chromium that have better output after
r147492.

* platform/chromium-linux/editing/selection/select-missing-image-expected.png:
* platform/chromium-linux/fast/block/float/002-expected.png:
* platform/chromium-linux/fast/block/float/017-expected.png:
* platform/chromium-linux/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-linux/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-linux/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-linux/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-linux/fast/flexbox/023-expected.png:
* platform/chromium-linux/fast/flexbox/024-expected.png:
* platform/chromium-linux/fast/forms/input-value-expected.png:
* platform/chromium-linux/fast/forms/input-value-expected.txt:
* platform/chromium-linux/fast/invalid/012-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-mac-lion/editing/selection/select-missing-image-expected.png:
* platform/chromium-mac-lion/fast/block/float/002-expected.png:
* platform/chromium-mac-lion/fast/block/float/017-expected.png:
* platform/chromium-mac-lion/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-mac-lion/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-mac-lion/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-mac-lion/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-mac-lion/fast/flexbox/023-expected.png:
* platform/chromium-mac-lion/fast/flexbox/024-expected.png:
* platform/chromium-mac-lion/fast/forms/005-expected.png:
* platform/chromium-mac-lion/fast/forms/input-value-expected.png:
* platform/chromium-mac-lion/fast/invalid/012-expected.png:
* platform/chromium-mac-lion/fast/parser/comment-in-script-expected.png:
* platform/chromium-mac-lion/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-mac-lion/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-mac-snowleopard/fast/block/float/002-expected.png:
* platform/chromium-mac-snowleopard/fast/block/float/017-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-mac-snowleopard/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-mac-snowleopard/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-mac-snowleopard/fast/flexbox/023-expected.png:
* platform/chromium-mac-snowleopard/fast/flexbox/024-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/input-value-expected.png:
* platform/chromium-mac-snowleopard/fast/invalid/012-expected.png:
* platform/chromium-mac-snowleopard/fast/parser/comment-in-script-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-mac/editing/selection/select-missing-image-expected.png:
* platform/chromium-mac/fast/block/float/002-expected.png:
* platform/chromium-mac/fast/block/float/017-expected.png:
* platform/chromium-mac/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-mac/fast/dom/HTMLImageElement/image-alt-text-expected.txt: Renamed from LayoutTests/platform/chromium/fast/dom/HTMLImageElement/image-alt-text-expected.txt.
* platform/chromium-mac/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-mac/fast/dom/HTMLInputElement/input-image-alt-text-expected.txt: Renamed from LayoutTests/platform/chromium/fast/dom/HTMLInputElement/input-image-alt-text-expected.txt.
* platform/chromium-mac/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-mac/fast/encoding/utf-16-big-endian-expected.txt:
* platform/chromium-mac/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-mac/fast/encoding/utf-16-little-endian-expected.txt:
* platform/chromium-mac/fast/flexbox/023-expected.png:
* platform/chromium-mac/fast/flexbox/024-expected.png:
* platform/chromium-mac/fast/forms/005-expected.png:
* platform/chromium-mac/fast/forms/input-value-expected.png:
* platform/chromium-mac/fast/forms/input-value-expected.txt:
* platform/chromium-mac/fast/invalid/012-expected.png:
* platform/chromium-mac/fast/parser/comment-in-script-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-mac/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-mac/tables/mozilla/collapsing_borders/bug41262-3-expected.txt: Renamed from LayoutTests/platform/chromium/tables/mozilla/collapsing_borders/bug41262-3-expected.txt.
* platform/chromium-win/editing/selection/select-missing-image-expected.png:
* platform/chromium-win/fast/block/float/002-expected.png:
* platform/chromium-win/fast/block/float/017-expected.png:
* platform/chromium-win/fast/dom/HTMLImageElement/image-alt-text-expected.png:
* platform/chromium-win/fast/dom/HTMLImageElement/image-alt-text-expected.txt:
* platform/chromium-win/fast/dom/HTMLInputElement/input-image-alt-text-expected.png:
* platform/chromium-win/fast/dom/HTMLInputElement/input-image-alt-text-expected.txt:
* platform/chromium-win/fast/encoding/utf-16-big-endian-expected.png:
* platform/chromium-win/fast/encoding/utf-16-big-endian-expected.txt:
* platform/chromium-win/fast/encoding/utf-16-little-endian-expected.png:
* platform/chromium-win/fast/encoding/utf-16-little-endian-expected.txt:
* platform/chromium-win/fast/flexbox/023-expected.png:
* platform/chromium-win/fast/flexbox/024-expected.png:
* platform/chromium-win/fast/forms/input-value-expected.png:
* platform/chromium-win/fast/forms/input-value-expected.txt:
* platform/chromium-win/fast/invalid/012-expected.png:
* platform/chromium-win/fast/parser/comment-in-script-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-win/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-win/tables/mozilla/collapsing_borders/bug41262-3-expected.txt:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147527 268f45cc-cd09-0410-ab3c-d52691b4dbfc