<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[162272] trunk</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/162272">162272</a></dd>
<dt>Author</dt> <dd>andersca@apple.com</dd>
<dt>Date</dt> <dd>2014-01-18 13:15:19 -0800 (Sat, 18 Jan 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove support for the viewsource attribute
https://bugs.webkit.org/show_bug.cgi?id=127232

Reviewed by Andreas Kling.

Source/WebCore:

The 'viewsource' attribute on frames is nonstandard, not used by anyone (the inspector has
its own syntax highlighting) and not audited.

This patch removes parsing of the viewsource attribute and the associated tests. A subsequent
patch will remove the code as well.

* html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::parseAttribute):

Source/WTF:

* wtf/FeatureDefines.h:

LayoutTests:

* .gitattributes:
* fast/frames/resources/viewsource-fake-image-file.png: Removed.
* fast/frames/resources/viewsource-frame-1.html: Removed.
* fast/frames/resources/viewsource-frame-2.html: Removed.
* fast/frames/resources/viewsource-frame-3.html: Removed.
* fast/frames/resources/viewsource-frame-4.html: Removed.
* fast/frames/resources/viewsource-frame-5.html: Removed.
* fast/frames/resources/viewsource-frame-unfinished-script.html: Removed.
* fast/frames/resources/viewsource-frame-unfinished-textarea.html: Removed.
* fast/frames/viewsource-attribute.html: Removed.
* fast/frames/viewsource-empty-attribute-value-expected.txt: Removed.
* fast/frames/viewsource-empty-attribute-value.html: Removed.
* fast/frames/viewsource-linebreak-expected.txt: Removed.
* fast/frames/viewsource-linebreak.html: Removed.
* fast/frames/viewsource-link-on-href-value-expected.txt: Removed.
* fast/frames/viewsource-link-on-href-value.html: Removed.
* fast/frames/viewsource-on-image-file.html: Removed.
* fast/frames/viewsource-plain-text-tags-expected.txt: Removed.
* fast/frames/viewsource-plain-text-tags.html: Removed.
* fast/frames/viewsource-unfinished-tags-expected.txt: Removed.
* fast/frames/viewsource-unfinished-tags.html: Removed.
* fast/frames/viewsource-xml-expected.txt: Removed.
* fast/frames/viewsource-xml.html: Removed.
* http/tests/security/resources/view-source-no-refresh.php: Removed.
* http/tests/security/view-source-javascript-url-in-document-expected.txt: Removed.
* http/tests/security/view-source-javascript-url-in-document.html: Removed.
* http/tests/security/view-source-no-javascript-url-expected.txt: Removed.
* http/tests/security/view-source-no-javascript-url.html: Removed.
* http/tests/security/view-source-no-refresh-expected.txt: Removed.
* http/tests/security/view-source-no-refresh.html: Removed.
* platform/efl/fast/frames/viewsource-attribute-expected.png: Removed.
* platform/efl/fast/frames/viewsource-attribute-expected.txt: Removed.
* platform/efl/fast/frames/viewsource-on-image-file-expected.png: Removed.
* platform/efl/fast/frames/viewsource-on-image-file-expected.txt: Removed.
* platform/mac/fast/frames/viewsource-attribute-expected.png: Removed.
* platform/mac/fast/frames/viewsource-attribute-expected.txt: Removed.
* platform/mac/fast/frames/viewsource-on-image-file-expected.png: Removed.
* platform/mac/fast/frames/viewsource-on-image-file-expected.txt: Removed.
* platform/win/TestExpectations:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsgitattributes">trunk/LayoutTests/.gitattributes</a></li>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsplatformwinTestExpectations">trunk/LayoutTests/platform/win/TestExpectations</a></li>
<li><a href="#trunkSourceWTFChangeLog">trunk/Source/WTF/ChangeLog</a></li>
<li><a href="#trunkSourceWTFwtfFeatureDefinesh">trunk/Source/WTF/wtf/FeatureDefines.h</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorehtmlHTMLFrameElementBasecpp">trunk/Source/WebCore/html/HTMLFrameElementBase.cpp</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsfastframesresourcesviewsourcefakeimagefilepng">trunk/LayoutTests/fast/frames/resources/viewsource-fake-image-file.png</a></li>
<li><a href="#trunkLayoutTestsfastframesresourcesviewsourceframe1html">trunk/LayoutTests/fast/frames/resources/viewsource-frame-1.html</a></li>
<li><a href="#trunkLayoutTestsfastframesresourcesviewsourceframe2html">trunk/LayoutTests/fast/frames/resources/viewsource-frame-2.html</a></li>
<li><a href="#trunkLayoutTestsfastframesresourcesviewsourceframe3html">trunk/LayoutTests/fast/frames/resources/viewsource-frame-3.html</a></li>
<li><a href="#trunkLayoutTestsfastframesresourcesviewsourceframe4html">trunk/LayoutTests/fast/frames/resources/viewsource-frame-4.html</a></li>
<li><a href="#trunkLayoutTestsfastframesresourcesviewsourceframe5html">trunk/LayoutTests/fast/frames/resources/viewsource-frame-5.html</a></li>
<li><a href="#trunkLayoutTestsfastframesresourcesviewsourceframeunfinishedscripthtml">trunk/LayoutTests/fast/frames/resources/viewsource-frame-unfinished-script.html</a></li>
<li><a href="#trunkLayoutTestsfastframesresourcesviewsourceframeunfinishedtextareahtml">trunk/LayoutTests/fast/frames/resources/viewsource-frame-unfinished-textarea.html</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourceattributehtml">trunk/LayoutTests/fast/frames/viewsource-attribute.html</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourceemptyattributevalueexpectedtxt">trunk/LayoutTests/fast/frames/viewsource-empty-attribute-value-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourceemptyattributevaluehtml">trunk/LayoutTests/fast/frames/viewsource-empty-attribute-value.html</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourcelinebreakexpectedtxt">trunk/LayoutTests/fast/frames/viewsource-linebreak-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourcelinebreakhtml">trunk/LayoutTests/fast/frames/viewsource-linebreak.html</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourcelinkonhrefvalueexpectedtxt">trunk/LayoutTests/fast/frames/viewsource-link-on-href-value-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourcelinkonhrefvaluehtml">trunk/LayoutTests/fast/frames/viewsource-link-on-href-value.html</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourceonimagefilehtml">trunk/LayoutTests/fast/frames/viewsource-on-image-file.html</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourceplaintexttagsexpectedtxt">trunk/LayoutTests/fast/frames/viewsource-plain-text-tags-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourceplaintexttagshtml">trunk/LayoutTests/fast/frames/viewsource-plain-text-tags.html</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourceunfinishedtagsexpectedtxt">trunk/LayoutTests/fast/frames/viewsource-unfinished-tags-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourceunfinishedtagshtml">trunk/LayoutTests/fast/frames/viewsource-unfinished-tags.html</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourcexmlexpectedtxt">trunk/LayoutTests/fast/frames/viewsource-xml-expected.txt</a></li>
<li><a href="#trunkLayoutTestsfastframesviewsourcexmlhtml">trunk/LayoutTests/fast/frames/viewsource-xml.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecurityresourcesviewsourcenorefreshphp">trunk/LayoutTests/http/tests/security/resources/view-source-no-refresh.php</a></li>
<li><a href="#trunkLayoutTestshttptestssecurityviewsourcejavascripturlindocumentexpectedtxt">trunk/LayoutTests/http/tests/security/view-source-javascript-url-in-document-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestssecurityviewsourcejavascripturlindocumenthtml">trunk/LayoutTests/http/tests/security/view-source-javascript-url-in-document.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecurityviewsourcenojavascripturlexpectedtxt">trunk/LayoutTests/http/tests/security/view-source-no-javascript-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestssecurityviewsourcenojavascripturlhtml">trunk/LayoutTests/http/tests/security/view-source-no-javascript-url.html</a></li>
<li><a href="#trunkLayoutTestshttptestssecurityviewsourcenorefreshexpectedtxt">trunk/LayoutTests/http/tests/security/view-source-no-refresh-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestssecurityviewsourcenorefreshhtml">trunk/LayoutTests/http/tests/security/view-source-no-refresh.html</a></li>
<li><a href="#trunkLayoutTestsplatformeflfastframesviewsourceattributeexpectedpng">trunk/LayoutTests/platform/efl/fast/frames/viewsource-attribute-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformeflfastframesviewsourceattributeexpectedtxt">trunk/LayoutTests/platform/efl/fast/frames/viewsource-attribute-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformeflfastframesviewsourceonimagefileexpectedpng">trunk/LayoutTests/platform/efl/fast/frames/viewsource-on-image-file-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformeflfastframesviewsourceonimagefileexpectedtxt">trunk/LayoutTests/platform/efl/fast/frames/viewsource-on-image-file-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastframesviewsourceattributeexpectedpng">trunk/LayoutTests/platform/mac/fast/frames/viewsource-attribute-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastframesviewsourceattributeexpectedtxt">trunk/LayoutTests/platform/mac/fast/frames/viewsource-attribute-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastframesviewsourceonimagefileexpectedpng">trunk/LayoutTests/platform/mac/fast/frames/viewsource-on-image-file-expected.png</a></li>
<li><a href="#trunkLayoutTestsplatformmacfastframesviewsourceonimagefileexpectedtxt">trunk/LayoutTests/platform/mac/fast/frames/viewsource-on-image-file-expected.txt</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsgitattributes"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/.gitattributes (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/.gitattributes        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/.gitattributes        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -104,7 +104,6 @@
</span><span class="cx"> fast/frames/javascript-url-as-framesrc-crash.html -crlf
</span><span class="cx"> fast/frames/resources/iframe-scroll-page-up-down-1.html -crlf
</span><span class="cx"> fast/frames/resources/iframe-scroll-page-up-down-2.html -crlf
</span><del>-fast/frames/viewsource-attribute.html -crlf
</del><span class="cx"> fast/inline/inline-padding-disables-text-quirk.html -crlf
</span><span class="cx"> fast/loader/submit-form-while-parsing-1.xhtml -crlf
</span><span class="cx"> fast/overflow/dynamic-hidden.html -crlf
</span></span></pre></div>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/ChangeLog        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,3 +1,50 @@
</span><ins>+2014-01-18  Anders Carlsson  &lt;andersca@apple.com&gt;
+
+        Remove support for the viewsource attribute
+        https://bugs.webkit.org/show_bug.cgi?id=127232
+
+        Reviewed by Andreas Kling.
+
+        * .gitattributes:
+        * fast/frames/resources/viewsource-fake-image-file.png: Removed.
+        * fast/frames/resources/viewsource-frame-1.html: Removed.
+        * fast/frames/resources/viewsource-frame-2.html: Removed.
+        * fast/frames/resources/viewsource-frame-3.html: Removed.
+        * fast/frames/resources/viewsource-frame-4.html: Removed.
+        * fast/frames/resources/viewsource-frame-5.html: Removed.
+        * fast/frames/resources/viewsource-frame-unfinished-script.html: Removed.
+        * fast/frames/resources/viewsource-frame-unfinished-textarea.html: Removed.
+        * fast/frames/viewsource-attribute.html: Removed.
+        * fast/frames/viewsource-empty-attribute-value-expected.txt: Removed.
+        * fast/frames/viewsource-empty-attribute-value.html: Removed.
+        * fast/frames/viewsource-linebreak-expected.txt: Removed.
+        * fast/frames/viewsource-linebreak.html: Removed.
+        * fast/frames/viewsource-link-on-href-value-expected.txt: Removed.
+        * fast/frames/viewsource-link-on-href-value.html: Removed.
+        * fast/frames/viewsource-on-image-file.html: Removed.
+        * fast/frames/viewsource-plain-text-tags-expected.txt: Removed.
+        * fast/frames/viewsource-plain-text-tags.html: Removed.
+        * fast/frames/viewsource-unfinished-tags-expected.txt: Removed.
+        * fast/frames/viewsource-unfinished-tags.html: Removed.
+        * fast/frames/viewsource-xml-expected.txt: Removed.
+        * fast/frames/viewsource-xml.html: Removed.
+        * http/tests/security/resources/view-source-no-refresh.php: Removed.
+        * http/tests/security/view-source-javascript-url-in-document-expected.txt: Removed.
+        * http/tests/security/view-source-javascript-url-in-document.html: Removed.
+        * http/tests/security/view-source-no-javascript-url-expected.txt: Removed.
+        * http/tests/security/view-source-no-javascript-url.html: Removed.
+        * http/tests/security/view-source-no-refresh-expected.txt: Removed.
+        * http/tests/security/view-source-no-refresh.html: Removed.
+        * platform/efl/fast/frames/viewsource-attribute-expected.png: Removed.
+        * platform/efl/fast/frames/viewsource-attribute-expected.txt: Removed.
+        * platform/efl/fast/frames/viewsource-on-image-file-expected.png: Removed.
+        * platform/efl/fast/frames/viewsource-on-image-file-expected.txt: Removed.
+        * platform/mac/fast/frames/viewsource-attribute-expected.png: Removed.
+        * platform/mac/fast/frames/viewsource-attribute-expected.txt: Removed.
+        * platform/mac/fast/frames/viewsource-on-image-file-expected.png: Removed.
+        * platform/mac/fast/frames/viewsource-on-image-file-expected.txt: Removed.
+        * platform/win/TestExpectations:
+
</ins><span class="cx"> 2014-01-18  Alexey Proskuryakov  &lt;ap@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         media/video-size.html is flaky
</span></span></pre></div>
<a id="trunkLayoutTestsfastframesresourcesviewsourcefakeimagefilepng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/fast/frames/resources/viewsource-fake-image-file.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsfastframesresourcesviewsourceframe1html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/resources/viewsource-frame-1.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/resources/viewsource-frame-1.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/resources/viewsource-frame-1.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
-&lt;hr noshade width=75%&gt;
-&lt;div align=&quot;center&quot; title=&quot;&quot; id=&quot;foo&quot;&gt;
-&lt;p&gt;hello world&lt;/p&gt;
-&lt;/div&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesresourcesviewsourceframe2html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/resources/viewsource-frame-2.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/resources/viewsource-frame-2.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/resources/viewsource-frame-2.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-&lt;script&gt;
-&lt;testscript&gt;
-&lt;/script&gt;
-
-&lt;style&gt;
-&lt;teststyle&gt;
-&lt;/style&gt;
-
-&lt;xmp&gt;
-&lt;testxmp&gt;
-&lt;/xmp&gt;
-
-&lt;textarea&gt;
-&lt;testtextarea&gt;
-&lt;/textarea&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesresourcesviewsourceframe3html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/resources/viewsource-frame-3.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/resources/viewsource-frame-3.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/resources/viewsource-frame-3.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;head&gt;&lt;base href=&quot;http://example.org/foo/&quot;&gt;&lt;/head&gt;
-&lt;body&gt;
-&lt;a href=&quot;bar&quot;&gt;http://example.org/foo/bar&lt;/a&gt;&lt;br&gt;
-&lt;a href=&quot;/bar&quot;&gt;http://example.org/bar&lt;/a&gt;&lt;br&gt;
-&lt;a href=&quot;http://example.org/foobar&quot;&gt;http://example.org/foobar&lt;/a&gt;&lt;br&gt;
-&lt;a href=&quot;bar?a&amp;amp;b&quot;&gt;http://example.org/foo/bar?a&amp;b&lt;/a&gt;
-&lt;/body&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesresourcesviewsourceframe4html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/resources/viewsource-frame-4.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/resources/viewsource-frame-4.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/resources/viewsource-frame-4.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;HEAD&gt;&lt;BASE HREF=&quot;http://example.org/foo/&quot;&gt;&lt;/HEAD&gt;
-&lt;BODY&gt;
-&lt;A HREF=&quot;bar&quot;&gt;http://example.org/foo/bar&lt;/A&gt;&lt;BR&gt;
-&lt;A HREF=&quot;/bar&quot;&gt;http://example.org/bar&lt;/A&gt;&lt;BR&gt;
-&lt;A HREF=&quot;http://example.org/foobar&quot;&gt;http://example.org/foobar&lt;/A&gt;&lt;BR&gt;
-&lt;A HREF=&quot;bar?a&amp;amp;b&quot;&gt;http://example.org/foo/bar?a&amp;b&lt;/A&gt;
-&lt;/BODY&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesresourcesviewsourceframe5html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/resources/viewsource-frame-5.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/resources/viewsource-frame-5.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/resources/viewsource-frame-5.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-
-
-&lt;p&gt;
-
-&lt;input
-
-
-type=&quot;text&quot;&gt;
-&lt;/p&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesresourcesviewsourceframeunfinishedscripthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/resources/viewsource-frame-unfinished-script.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/resources/viewsource-frame-unfinished-script.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/resources/viewsource-frame-unfinished-script.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-&lt;script&gt;foobar in script
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesresourcesviewsourceframeunfinishedtextareahtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/resources/viewsource-frame-unfinished-textarea.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/resources/viewsource-frame-unfinished-textarea.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/resources/viewsource-frame-unfinished-textarea.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-&lt;textarea&gt;foobar in textarea
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourceattributehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-attribute.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-attribute.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-attribute.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;body&gt;
-&lt;p&gt;You should see two 'hello world' frames below, each in 'view source' mode.&lt;/p&gt;
-&lt;hr&gt;
-&lt;iframe viewsource src=&quot;data:text/html,&lt;p&gt;hello world&lt;/p&gt;&quot;&gt;&lt;/iframe&gt;
-&lt;iframe src=&quot;data:text/html,&lt;frameset&gt;&lt;frame viewsource src='data:text/html,&lt;p&gt;hello world&lt;/p&gt;'&gt;&lt;/frameset&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourceemptyattributevalueexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-empty-attribute-value-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-empty-attribute-value-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-empty-attribute-value-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-You should see a frame in 'view source' mode below.
-
-The attributes with no value or an empty value should be displayed correctly in 'view source' mode.
-
-
-
---------
-Frame: 'sourceFrame'
---------
-&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01//EN&quot; &quot;http://www.w3.org/TR/html4/strict.dtd&quot;&gt;
-&lt;hr noshade width=75%&gt;
-&lt;div align=&quot;center&quot; title=&quot;&quot; id=&quot;foo&quot;&gt;
-&lt;p&gt;hello world&lt;/p&gt;
-&lt;/div&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourceemptyattributevaluehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-empty-attribute-value.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-empty-attribute-value.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-empty-attribute-value.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-    if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.dumpChildFramesAsText();
-    }
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;You should see a frame in 'view source' mode below.&lt;/p&gt;
-&lt;p&gt;The attributes with no value or an empty value should be displayed correctly in 'view source' mode.&lt;/p&gt;
-&lt;hr&gt;
-&lt;iframe viewsource name=&quot;sourceFrame&quot; src=&quot;resources/viewsource-frame-1.html&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourcelinebreakexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-linebreak-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-linebreak-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-linebreak-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-You should see a frame in 'view source' mode below.
-
-There should be no additional space at end of line. Number of line breaks should match source file.
-
-
-
---------
-Frame: 'sourceFrame'
---------
-
-
-&lt;p&gt;
-
-&lt;input
-
-
-type=&quot;text&quot;&gt;
-&lt;/p&gt;
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourcelinebreakhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-linebreak.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-linebreak.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-linebreak.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-    if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.dumpChildFramesAsText();
-    }
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;You should see a frame in 'view source' mode below.&lt;/p&gt;
-&lt;p&gt;There should be no additional space at end of line. Number of line breaks should match source file.&lt;/p&gt;
-&lt;hr&gt;
-&lt;iframe viewsource name=&quot;sourceFrame&quot; src=&quot;resources/viewsource-frame-5.html&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourcelinkonhrefvalueexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-link-on-href-value-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-link-on-href-value-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-link-on-href-value-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-PASS
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourcelinkonhrefvaluehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-link-on-href-value.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-link-on-href-value.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-link-on-href-value.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,74 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;!-- This tests that a base element is respected in rendering anchors on viewsource page. --&gt;
-&lt;head&gt;
-&lt;script&gt;
-    if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.waitUntilDone();
-    }
-
-    function checkFrame(id) {
-        var frame = document.getElementById(id);
-
-        // Update this list when you modified resources/viewsource-frame-{3,4}.html .
-        var expected = [
-            // This will be matched with the href in the base element.
-            [ &quot;http://example.org/foo/&quot;, &quot;http://example.org/foo/&quot; ],
-            [ &quot;bar&quot;, &quot;http://example.org/foo/bar&quot; ],
-            [ &quot;/bar&quot;, &quot;http://example.org/bar&quot; ],
-            // This shouldn't be affected.
-            [ &quot;http://example.org/foobar&quot;, &quot;http://example.org/foobar&quot; ],
-            // We should interpret escape chars in the href. 
-            // Note that innerHTML escapes '&amp;'s (and other special characters) so
-            // this is saying we expect the text of the href to be &quot;bar?a&amp;amp;b&quot; 
-            // and the URL to be &quot;http://example.org/foo/bar?a&amp;b&quot;
-            [ &quot;bar?a&amp;amp;amp;b&quot;, &quot;http://example.org/foo/bar?a&amp;b&quot; ]
-        ];
-
-        var elements = frame.contentDocument.documentElement.getElementsByTagName(&quot;a&quot;);
-        if (!elements || elements.length !== 5) {
-            return false;
-        }
-
-        var ok = true;
-        for (var i = 0; i &lt; elements.length; ++i) {
-            var element = elements.item(i);
-            if (element.innerHTML !== expected[i][0] || element.href !== expected[i][1]) {
-                ok = false;
-                break;
-            }
-        }
-        return ok;
-    }
-
-    function report() {
-        var resultText = &quot;FAIL&quot;;
-        // Check that links are added on href values regardless of the case of tag names.
-        if (checkFrame(&quot;lower&quot;) &amp;&amp; checkFrame(&quot;upper&quot;)) {
-            resultText = &quot;PASS&quot;;
-        }
-        if (window.testRunner) {
-            document.open();
-            document.write(resultText);
-            document.close();
-
-            testRunner.notifyDone();
-        } else {
-            document.getElementById(&quot;result&quot;).textContent = resultText;
-        }
-    }
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;report()&quot;&gt;
-&lt;p&gt;
-In a frame below which is in 'view source' mode, each link on the value of the
-href attribute in anchor elements must have the same address as the anchor
-element's contents.
-&lt;/p&gt;
-&lt;hr&gt;
-&lt;iframe viewsource src=&quot;resources/viewsource-frame-3.html&quot; width=&quot;600&quot; id=&quot;lower&quot;&gt;&lt;/iframe&gt;
-&lt;iframe viewsource src=&quot;resources/viewsource-frame-4.html&quot; width=&quot;600&quot; id=&quot;upper&quot;&gt;&lt;/iframe&gt;
-&lt;hr&gt;
-&lt;div id=&quot;result&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourceonimagefilehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-on-image-file.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-on-image-file.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-on-image-file.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;body&gt;
-&lt;p&gt;You should see 'hello world' in the frame below in 'view source' mode.&lt;/p&gt;
-&lt;hr&gt;
-&lt;iframe viewsource src=&quot;resources/viewsource-fake-image-file.png&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourceplaintexttagsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-plain-text-tags-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-plain-text-tags-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-plain-text-tags-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-script: PASS PASS PASS style: PASS PASS PASS xmp: PASS PASS PASS textarea: PASS PASS PASS
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourceplaintexttagshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-plain-text-tags.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-plain-text-tags.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-plain-text-tags.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,54 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-    if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.waitUntilDone();
-    }
-
-    function found(text, regexString)
-    {
-        var matches = text.match(new RegExp(regexString, 'g'));
-        if (matches &amp;&amp; matches.length === 1) 
-            return 'PASS';
-        else 
-            return 'FAIL';
-    }
-    
-    function testSection(text, name) {
-        return name + ': ' +
-             found(text, '&lt;span class=&quot;webkit-html-tag&quot;&gt;&amp;lt;' + name + '&amp;gt;') + ' ' +
-             found(text, '&lt;td class=&quot;webkit-line-content&quot;&gt;&amp;lt;test' + name + '&amp;gt;') + ' ' +
-             found(text, '&lt;span class=&quot;webkit-html-tag&quot;&gt;&amp;lt;/' + name + '&amp;gt;') + '\n';
-    }
-
-    function report(frame)
-    {
-        var result = frame.contentDocument.documentElement.innerHTML;
-        var resultText = '';
-
-        resultText += testSection(result, 'script');
-        resultText += testSection(result, 'style');
-        resultText += testSection(result, 'xmp');
-        resultText += testSection(result, 'textarea');
-
-        if (window.testRunner) {
-            document.open();
-            document.write(resultText);
-            document.close();
-            testRunner.notifyDone();
-        } else {
-            document.getElementById(&quot;result&quot;).textContent = resultText;
-        }
-    }
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;You should see a frame in 'view source' mode below.&lt;/p&gt;
-&lt;p&gt;None of the &quot;&amp;lt;testxxx&amp;gt;&quot; strings shown below should be colorized like HTML.&lt;/p&gt;
-&lt;hr&gt;
-&lt;div id=&quot;result&quot;&gt;&lt;/div&gt;
-&lt;hr&gt;
-&lt;iframe viewsource src=&quot;resources/viewsource-frame-2.html&quot; height=&quot;250&quot; onload=&quot;report(this)&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourceunfinishedtagsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-unfinished-tags-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-unfinished-tags-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-unfinished-tags-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-script: PASS
-textarea: PASS
-
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourceunfinishedtagshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-unfinished-tags.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-unfinished-tags.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-unfinished-tags.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-    if (window.testRunner) {
-        testRunner.dumpAsText();
-        testRunner.waitUntilDone();
-    }
-
-    var results = {};
-    function report(frame, tag) {
-        var result = frame.contentDocument.documentElement.innerHTML;
-        var regex = new RegExp(&quot;foobar&quot;, &quot;g&quot;);
-        matches = result.match(regex);
-
-        if (matches)
-            var resultText = &quot;PASS&quot;;
-        else
-            var resultText = &quot;FAIL&quot;;
-
-        results[tag] = resultText;
-        if (window.testRunner &amp;&amp; results[&quot;script&quot;] &amp;&amp; results[&quot;textarea&quot;]) {
-            document.open();
-            document.write(&quot;script: &quot; + results[&quot;script&quot;] + &quot;&lt;br&gt;&quot;);
-            document.write(&quot;textarea: &quot; + results[&quot;textarea&quot;] + &quot;&lt;br&gt;&quot;);
-            document.close();
-
-            testRunner.notifyDone();
-        } else {
-            document.getElementById(tag + &quot;_result&quot;).textContent = resultText;
-        }
-    }
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;You should see a frame in 'view source' mode below.&lt;/p&gt;
-&lt;p&gt;&quot;foobar&quot; should be seen after the &amp;lt;script&amp;gt; tag and &amp;lt;textarea&amp;gt; tag.&lt;/p&gt;
-&lt;hr&gt;
-&lt;div id=&quot;result&quot;&gt;
-&lt;div id=&quot;script_result&quot;&gt;&lt;/div&gt;
-&lt;div id=&quot;textarea_result&quot;&gt;&lt;/div&gt;
-&lt;hr&gt;
-&lt;iframe viewsource src=&quot;resources/viewsource-frame-unfinished-script.html&quot; height=&quot;250&quot; onload=&quot;report(this, 'script')&quot;&gt;&lt;/iframe&gt;
-&lt;iframe viewsource src=&quot;resources/viewsource-frame-unfinished-textarea.html&quot; height=&quot;250&quot; onload=&quot;report(this, 'textarea')&quot;&gt;&lt;/iframe&gt;
-&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourcexmlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-xml-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-xml-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-xml-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-
-
---------
-Frame: '&lt;!--framePath //&lt;!--frame0--&gt;--&gt;'
---------
-&lt;?xml version=&quot;1.0&quot;?&gt;&lt;div&gt;&lt;section/&gt;&lt;/div&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsfastframesviewsourcexmlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/fast/frames/viewsource-xml.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/frames/viewsource-xml.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/fast/frames/viewsource-xml.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-
-&lt;script&gt;
-if (window.testRunner) {
-    testRunner.dumpAsText();
-    testRunner.dumpChildFramesAsText();
-}
-&lt;/script&gt;
-
-&lt;iframe viewsource src='data:text/html,&lt;?xml version=&quot;1.0&quot;?&gt;&lt;div&gt;&lt;section/&gt;&lt;/div&gt;'&gt;&lt;/iframe&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestssecurityresourcesviewsourcenorefreshphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/security/resources/view-source-no-refresh.php (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/resources/view-source-no-refresh.php        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/http/tests/security/resources/view-source-no-refresh.php        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-&lt;?php
-  header('HTTP/1.0 200 OK');
-  header('Content-type: text/html');
-  header('Refresh: 0;URL=javascript:window.top.location=&quot;about:blank&quot;');
-?&gt;
-
-&lt;head&gt;
-&lt;meta http-equiv='refresh' content='0;URL=javascript:window.top.location=&quot;about:blank&quot;'/&gt;
-&lt;/head&gt;
-&lt;body&gt;
-This is the viewsource iframe.
-&lt;/body&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestssecurityviewsourcejavascripturlindocumentexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/security/view-source-javascript-url-in-document-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/view-source-javascript-url-in-document-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/http/tests/security/view-source-javascript-url-in-document-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-ALERT: PASS: Function called.
-Adding 'viewsource' to a frame after a document has loaded should not block JavaScript URL execution in the already-loaded document.
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestssecurityviewsourcejavascripturlindocumenthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/security/view-source-javascript-url-in-document.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/view-source-javascript-url-in-document.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/http/tests/security/view-source-javascript-url-in-document.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
-    &lt;script&gt;
-        if (window.testRunner) {
-            testRunner.dumpAsText();
-            testRunner.waitUntilDone();
-        }
-    &lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-    &lt;p&gt;Adding 'viewsource' to a frame after a document has loaded should not
-    block JavaScript URL execution in the already-loaded document.&lt;/p&gt;
-    &lt;iframe srcdoc=&quot;
-        &lt;script&gt;
-            window.onload = function() {
-                window.parent.document.querySelector('iframe').setAttribute('viewsource', '');
-
-                document.querySelector('a').click();
-
-                alert(calledFunction ? 'PASS: Function called.' : 'FAIL: Function not called.');
-
-                if (window.testRunner)
-                    testRunner.notifyDone();
-            };
-
-            var calledFunction = false;
-            function pass() {
-                calledFunction = true;
-            }
-        &lt;/script&gt;
-        &lt;a href='javascript:pass();'&gt;Yay!&lt;/a&gt;&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestssecurityviewsourcenojavascripturlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/security/view-source-no-javascript-url-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/view-source-no-javascript-url-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/http/tests/security/view-source-no-javascript-url-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-CONSOLE MESSAGE: Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;null&quot;.  The frame requesting access has a protocol of &quot;http&quot;, the frame being accessed has a protocol of &quot;http&quot;. Protocols must match.
-
-This test passes if it does not alert FAIL.
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestssecurityviewsourcenojavascripturlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/security/view-source-no-javascript-url.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/view-source-no-javascript-url.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/http/tests/security/view-source-no-javascript-url.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;body&gt;
-&lt;script&gt;
-if (window.testRunner)
-  testRunner.dumpAsText();
-&lt;/script&gt;
-&lt;script&gt;
-function loaded() {
-  frames[0].location = &quot;javascript:alert('FAIL');&quot;;
-}
-&lt;/script&gt;
-&lt;p&gt;This test passes if it does not alert FAIL.&lt;/p&gt;
-&lt;iframe viewsource src=&quot;resources/innocent-victim.html&quot; onload=&quot;loaded()&quot;&gt;
-&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestssecurityviewsourcenorefreshexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/security/view-source-no-refresh-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/view-source-no-refresh-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/http/tests/security/view-source-no-refresh-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Success - did not redirect to Javascript
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestssecurityviewsourcenorefreshhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/security/view-source-no-refresh.html (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/security/view-source-no-refresh.html        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/http/tests/security/view-source-no-refresh.html        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;body&gt;
-&lt;script&gt;
-if (window.testRunner) {
-  testRunner.waitUntilDone();
-  testRunner.dumpAsText();
-}
-&lt;/script&gt;
-&lt;script&gt;
-function done() {
-  if (window.testRunner)
-    testRunner.notifyDone();
-}
-
-function loaded() {
-  // Unfortunately need to wait a little to ensure the top level page
-  // transition occurs in the failure case.
-  setTimeout(&quot;done()&quot;, 1000);
-}
-&lt;/script&gt;
-&lt;p&gt;Success - did not redirect to Javascript&lt;/p&gt;
-&lt;iframe viewsource src=&quot;resources/view-source-no-refresh.php&quot; onload=&quot;loaded()&quot;&gt;
-&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformeflfastframesviewsourceattributeexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/efl/fast/frames/viewsource-attribute-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflfastframesviewsourceattributeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/efl/fast/frames/viewsource-attribute-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/fast/frames/viewsource-attribute-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/platform/efl/fast/frames/viewsource-attribute-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,69 +0,0 @@
</span><del>-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 479x17
-          text run at (0,0) width 479: &quot;You should see two 'hello world' frames below, each in 'view source' mode.&quot;
-      RenderBlock {HR} at (0,34) size 784x2 [border: (1px inset #000000)]
-      RenderBlock (anonymous) at (0,44) size 784x158
-        RenderIFrame {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
-          layer at (0,0) size 300x150
-            RenderView at (0,0) size 300x150
-          layer at (0,0) size 300x150 layerType: background only
-          layer at (0,0) size 31x150
-            RenderBlock (positioned) zI: -1 {DIV} at (0,0) size 31x150 [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none]
-          layer at (0,0) size 300x150 layerType: foreground only
-            RenderBlock {HTML} at (0,0) size 300x150
-              RenderBody {BODY} at (0,0) size 300x150
-                RenderTable {TABLE} at (0,0) size 300x15
-                  RenderTableSection {TBODY} at (0,0) size 300x15
-                    RenderTableRow {TR} at (0,0) size 300x15
-                      RenderTableCell {TD} at (0,3) size 31x10 [color=#808080] [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none] [r=0 c=0 rs=1 cs=1]
-                        RenderInline (generated) at (0,0) size 5x10
-                          RenderCounter at (21,0) size 5x10
-                            text run at (21,0) width 5: &quot;1&quot;
-                      RenderTableCell {TD} at (31,0) size 269x15 [r=0 c=1 rs=1 cs=1]
-                        RenderInline {SPAN} at (0,0) size 24x15 [color=#881280]
-                          RenderText {#text} at (5,0) size 24x15
-                            text run at (5,0) width 24: &quot;&lt;p&gt;&quot;
-                        RenderText {#text} at (29,0) size 88x15
-                          text run at (29,0) width 88: &quot;hello world&quot;
-                        RenderInline {SPAN} at (0,0) size 32x15 [color=#881280]
-                          RenderText {#text} at (117,0) size 32x15
-                            text run at (117,0) width 32: &quot;&lt;/p&gt;&quot;
-        RenderText {#text} at (304,140) size 4x17
-          text run at (304,140) width 4: &quot; &quot;
-        RenderIFrame {IFRAME} at (308,0) size 304x154 [border: (2px inset #000000)]
-          layer at (0,0) size 300x150
-            RenderView at (0,0) size 300x150
-          layer at (0,0) size 300x150
-            RenderBlock {HTML} at (0,0) size 300x150
-              RenderFrameSet {FRAMESET} at (0,0) size 300x150
-                RenderFrame {FRAME} at (0,0) size 300x150
-                  layer at (0,0) size 300x150
-                    RenderView at (0,0) size 300x150
-                  layer at (0,0) size 300x150 layerType: background only
-                  layer at (0,0) size 31x150
-                    RenderBlock (positioned) zI: -1 {DIV} at (0,0) size 31x150 [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none]
-                  layer at (0,0) size 300x150 layerType: foreground only
-                    RenderBlock {HTML} at (0,0) size 300x150
-                      RenderBody {BODY} at (0,0) size 300x150
-                        RenderTable {TABLE} at (0,0) size 300x15
-                          RenderTableSection {TBODY} at (0,0) size 300x15
-                            RenderTableRow {TR} at (0,0) size 300x15
-                              RenderTableCell {TD} at (0,3) size 31x10 [color=#808080] [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none] [r=0 c=0 rs=1 cs=1]
-                                RenderInline (generated) at (0,0) size 5x10
-                                  RenderCounter at (21,0) size 5x10
-                                    text run at (21,0) width 5: &quot;1&quot;
-                              RenderTableCell {TD} at (31,0) size 269x15 [r=0 c=1 rs=1 cs=1]
-                                RenderInline {SPAN} at (0,0) size 24x15 [color=#881280]
-                                  RenderText {#text} at (5,0) size 24x15
-                                    text run at (5,0) width 24: &quot;&lt;p&gt;&quot;
-                                RenderText {#text} at (29,0) size 88x15
-                                  text run at (29,0) width 88: &quot;hello world&quot;
-                                RenderInline {SPAN} at (0,0) size 32x15 [color=#881280]
-                                  RenderText {#text} at (117,0) size 32x15
-                                    text run at (117,0) width 32: &quot;&lt;/p&gt;&quot;
-        RenderText {#text} at (0,0) size 0x0
</del></span></pre></div>
<a id="trunkLayoutTestsplatformeflfastframesviewsourceonimagefileexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/efl/fast/frames/viewsource-on-image-file-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformeflfastframesviewsourceonimagefileexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/efl/fast/frames/viewsource-on-image-file-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/fast/frames/viewsource-on-image-file-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/platform/efl/fast/frames/viewsource-on-image-file-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 447x17
-          text run at (0,0) width 447: &quot;You should see 'hello world' in the frame below in 'view source' mode.&quot;
-      RenderBlock {HR} at (0,34) size 784x2 [border: (1px inset #000000)]
-      RenderBlock (anonymous) at (0,44) size 784x154
-        RenderIFrame {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
-          layer at (0,0) size 300x150
-            RenderView at (0,0) size 300x150
-          layer at (0,0) size 300x150 layerType: background only
-          layer at (0,0) size 31x150
-            RenderBlock (positioned) zI: -1 {DIV} at (0,0) size 31x150 [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none]
-          layer at (0,0) size 300x150 layerType: foreground only
-            RenderBlock {HTML} at (0,0) size 300x150
-              RenderBody {BODY} at (0,0) size 300x150
-                RenderTable {TABLE} at (0,0) size 300x15
-                  RenderTableSection {TBODY} at (0,0) size 300x15
-                    RenderTableRow {TR} at (0,0) size 300x15
-                      RenderTableCell {TD} at (0,3) size 31x10 [color=#808080] [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none] [r=0 c=0 rs=1 cs=1]
-                        RenderInline (generated) at (0,0) size 5x10
-                          RenderCounter at (21,0) size 5x10
-                            text run at (21,0) width 5: &quot;1&quot;
-                      RenderTableCell {TD} at (31,0) size 269x15 [r=0 c=1 rs=1 cs=1]
-                        RenderText {#text} at (5,0) size 88x15
-                          text run at (5,0) width 88: &quot;hello world&quot;
-        RenderText {#text} at (0,0) size 0x0
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastframesviewsourceattributeexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/frames/viewsource-attribute-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastframesviewsourceattributeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/frames/viewsource-attribute-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/frames/viewsource-attribute-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/platform/mac/fast/frames/viewsource-attribute-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,69 +0,0 @@
</span><del>-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 479x18
-          text run at (0,0) width 479: &quot;You should see two 'hello world' frames below, each in 'view source' mode.&quot;
-      RenderBlock {HR} at (0,34) size 784x2 [border: (1px inset #000000)]
-      RenderBlock (anonymous) at (0,44) size 784x158
-        RenderIFrame {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
-          layer at (0,0) size 300x150
-            RenderView at (0,0) size 300x150
-          layer at (0,0) size 300x150 layerType: background only
-          layer at (0,0) size 31x150
-            RenderBlock (positioned) zI: -1 {DIV} at (0,0) size 31x150 [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none]
-          layer at (0,0) size 300x150 layerType: foreground only
-            RenderBlock {HTML} at (0,0) size 300x150
-              RenderBody {BODY} at (0,0) size 300x150
-                RenderTable {TABLE} at (0,0) size 300x15
-                  RenderTableSection {TBODY} at (0,0) size 300x15
-                    RenderTableRow {TR} at (0,0) size 300x15
-                      RenderTableCell {TD} at (0,4) size 31x10 [color=#808080] [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none] [r=0 c=0 rs=1 cs=1]
-                        RenderInline (generated) at (0,0) size 5x10
-                          RenderCounter at (21,0) size 5x10
-                            text run at (21,0) width 5: &quot;1&quot;
-                      RenderTableCell {TD} at (31,0) size 269x15 [r=0 c=1 rs=1 cs=1]
-                        RenderInline {SPAN} at (0,0) size 24x15 [color=#881280]
-                          RenderText {#text} at (5,0) size 24x15
-                            text run at (5,0) width 24: &quot;&lt;p&gt;&quot;
-                        RenderText {#text} at (29,0) size 88x15
-                          text run at (29,0) width 88: &quot;hello world&quot;
-                        RenderInline {SPAN} at (0,0) size 32x15 [color=#881280]
-                          RenderText {#text} at (117,0) size 32x15
-                            text run at (117,0) width 32: &quot;&lt;/p&gt;&quot;
-        RenderText {#text} at (304,140) size 4x18
-          text run at (304,140) width 4: &quot; &quot;
-        RenderIFrame {IFRAME} at (308,0) size 304x154 [border: (2px inset #000000)]
-          layer at (0,0) size 300x150
-            RenderView at (0,0) size 300x150
-          layer at (0,0) size 300x150
-            RenderBlock {HTML} at (0,0) size 300x150
-              RenderFrameSet {FRAMESET} at (0,0) size 300x150
-                RenderFrame {FRAME} at (0,0) size 300x150
-                  layer at (0,0) size 300x150
-                    RenderView at (0,0) size 300x150
-                  layer at (0,0) size 300x150 layerType: background only
-                  layer at (0,0) size 31x150
-                    RenderBlock (positioned) zI: -1 {DIV} at (0,0) size 31x150 [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none]
-                  layer at (0,0) size 300x150 layerType: foreground only
-                    RenderBlock {HTML} at (0,0) size 300x150
-                      RenderBody {BODY} at (0,0) size 300x150
-                        RenderTable {TABLE} at (0,0) size 300x15
-                          RenderTableSection {TBODY} at (0,0) size 300x15
-                            RenderTableRow {TR} at (0,0) size 300x15
-                              RenderTableCell {TD} at (0,4) size 31x10 [color=#808080] [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none] [r=0 c=0 rs=1 cs=1]
-                                RenderInline (generated) at (0,0) size 5x10
-                                  RenderCounter at (21,0) size 5x10
-                                    text run at (21,0) width 5: &quot;1&quot;
-                              RenderTableCell {TD} at (31,0) size 269x15 [r=0 c=1 rs=1 cs=1]
-                                RenderInline {SPAN} at (0,0) size 24x15 [color=#881280]
-                                  RenderText {#text} at (5,0) size 24x15
-                                    text run at (5,0) width 24: &quot;&lt;p&gt;&quot;
-                                RenderText {#text} at (29,0) size 88x15
-                                  text run at (29,0) width 88: &quot;hello world&quot;
-                                RenderInline {SPAN} at (0,0) size 32x15 [color=#881280]
-                                  RenderText {#text} at (117,0) size 32x15
-                                    text run at (117,0) width 32: &quot;&lt;/p&gt;&quot;
-        RenderText {#text} at (0,0) size 0x0
</del></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastframesviewsourceonimagefileexpectedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/frames/viewsource-on-image-file-expected.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacfastframesviewsourceonimagefileexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/platform/mac/fast/frames/viewsource-on-image-file-expected.txt (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/fast/frames/viewsource-on-image-file-expected.txt        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/platform/mac/fast/frames/viewsource-on-image-file-expected.txt        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {P} at (0,0) size 784x18
-        RenderText {#text} at (0,0) size 447x18
-          text run at (0,0) width 447: &quot;You should see 'hello world' in the frame below in 'view source' mode.&quot;
-      RenderBlock {HR} at (0,34) size 784x2 [border: (1px inset #000000)]
-      RenderBlock (anonymous) at (0,44) size 784x154
-        RenderIFrame {IFRAME} at (0,0) size 304x154 [border: (2px inset #000000)]
-          layer at (0,0) size 300x150
-            RenderView at (0,0) size 300x150
-          layer at (0,0) size 300x150 layerType: background only
-          layer at (0,0) size 31x150
-            RenderBlock (positioned) zI: -1 {DIV} at (0,0) size 31x150 [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none]
-          layer at (0,0) size 300x150 layerType: foreground only
-            RenderBlock {HTML} at (0,0) size 300x150
-              RenderBody {BODY} at (0,0) size 300x150
-                RenderTable {TABLE} at (0,0) size 300x15
-                  RenderTableSection {TBODY} at (0,0) size 300x15
-                    RenderTableRow {TR} at (0,0) size 300x15
-                      RenderTableCell {TD} at (0,4) size 31x10 [color=#808080] [bgcolor=#F0F0F0] [border: none (1px solid #BBBBBB) none] [r=0 c=0 rs=1 cs=1]
-                        RenderInline (generated) at (0,0) size 5x10
-                          RenderCounter at (21,0) size 5x10
-                            text run at (21,0) width 5: &quot;1&quot;
-                      RenderTableCell {TD} at (31,0) size 269x15 [r=0 c=1 rs=1 cs=1]
-                        RenderText {#text} at (5,0) size 88x15
-                          text run at (5,0) width 88: &quot;hello world&quot;
-        RenderText {#text} at (0,0) size 0x0
</del></span></pre></div>
<a id="trunkLayoutTestsplatformwinTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/win/TestExpectations (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win/TestExpectations        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/LayoutTests/platform/win/TestExpectations        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -377,9 +377,6 @@
</span><span class="cx"> fast/encoding/frame-default-enc.html
</span><span class="cx"> http/tests/misc/frame-default-enc-same-domain.html
</span><span class="cx"> 
</span><del>-#&lt;rdar://problem/5829328&gt; REGRESSION: fast/frames/viewsource-empty-attribute-value.html fails on Windows intermittently
-fast/frames/viewsource-empty-attribute-value.html
-
</del><span class="cx"> # &lt;rdar://problem/5539822&gt; REGRESSION (Leopard): svg/custom/stroke-width-click.svg test failing
</span><span class="cx"> svg/custom/stroke-width-click.svg
</span><span class="cx"> 
</span><span class="lines">@@ -2030,8 +2027,6 @@
</span><span class="cx"> fast/css/acid2.html
</span><span class="cx"> fast/css/acid2-pixel.html
</span><span class="cx"> fast/css/border-height.html
</span><del>-fast/frames/viewsource-attribute.html
-fast/frames/viewsource-on-image-file.html
</del><span class="cx"> fast/inline/inline-padding-disables-text-quirk.html
</span><span class="cx"> fast/inline/inline-text-quirk-bpm.html
</span><span class="cx"> fast/layers/scroll-rect-to-visible.html
</span></span></pre></div>
<a id="trunkSourceWTFChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/ChangeLog (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/ChangeLog        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/Source/WTF/ChangeLog        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,5 +1,14 @@
</span><span class="cx"> 2014-01-18  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Remove support for the viewsource attribute
+        https://bugs.webkit.org/show_bug.cgi?id=127232
+
+        Reviewed by Andreas Kling.
+
+        * wtf/FeatureDefines.h:
+
+2014-01-18  Anders Carlsson  &lt;andersca@apple.com&gt;
+
</ins><span class="cx">         Remove ENABLE_THREADED_HTML_PARSER defines everywhere
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=127225
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWTFwtfFeatureDefinesh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WTF/wtf/FeatureDefines.h (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WTF/wtf/FeatureDefines.h        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/Source/WTF/wtf/FeatureDefines.h        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -830,10 +830,6 @@
</span><span class="cx"> #define ENABLE_VIEWPORT 0
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><del>-#if !defined(ENABLE_VIEWSOURCE_ATTRIBUTE)
-#define ENABLE_VIEWSOURCE_ATTRIBUTE 1
-#endif
-
</del><span class="cx"> #if !defined(ENABLE_VIEW_MODE_CSS_MEDIA)
</span><span class="cx"> #define ENABLE_VIEW_MODE_CSS_MEDIA 1
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/Source/WebCore/ChangeLog        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -1,5 +1,21 @@
</span><span class="cx"> 2014-01-18  Anders Carlsson  &lt;andersca@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Remove support for the viewsource attribute
+        https://bugs.webkit.org/show_bug.cgi?id=127232
+
+        Reviewed by Andreas Kling.
+
+        The 'viewsource' attribute on frames is nonstandard, not used by anyone (the inspector has
+        its own syntax highlighting) and not audited.
+
+        This patch removes parsing of the viewsource attribute and the associated tests. A subsequent
+        patch will remove the code as well.
+
+        * html/HTMLFrameElementBase.cpp:
+        (WebCore::HTMLFrameElementBase::parseAttribute):
+
+2014-01-18  Anders Carlsson  &lt;andersca@apple.com&gt;
+
</ins><span class="cx">         XMLTreeViewer shouldn't use the view source mode
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=127229
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebCorehtmlHTMLFrameElementBasecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/html/HTMLFrameElementBase.cpp (162271 => 162272)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/html/HTMLFrameElementBase.cpp        2014-01-18 21:14:42 UTC (rev 162271)
+++ trunk/Source/WebCore/html/HTMLFrameElementBase.cpp        2014-01-18 21:15:19 UTC (rev 162272)
</span><span class="lines">@@ -119,12 +119,6 @@
</span><span class="cx">         else if (equalIgnoringCase(value, &quot;no&quot;))
</span><span class="cx">             m_scrolling = ScrollbarAlwaysOff;
</span><span class="cx">         // FIXME: If we are already attached, this has no effect.
</span><del>-#if ENABLE(VIEWSOURCE_ATTRIBUTE)
-    } else if (name == viewsourceAttr) {
-        m_viewSource = !value.isNull();
-        if (contentFrame())
-            contentFrame()-&gt;setInViewSourceMode(viewSourceMode());
-#endif
</del><span class="cx">     } else if (name == onbeforeloadAttr)
</span><span class="cx">         setAttributeEventListener(eventNames().beforeloadEvent, name, value);
</span><span class="cx">     else if (name == onbeforeunloadAttr) {
</span></span></pre>
</div>
</div>

</body>
</html>