<!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>[164518] trunk/LayoutTests</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/164518">164518</a></dd>
<dt>Author</dt> <dd>bburg@apple.com</dd>
<dt>Date</dt> <dd>2014-02-21 17:58:54 -0800 (Fri, 21 Feb 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>Move unported Web Inspector tests to LayoutTests/inspector-obsolete
https://bugs.webkit.org/show_bug.cgi?id=129183

Rubber-stamped by Timothy Hatcher.

Move inspector/ to inspector-obsolete/.
Move http/tests/inspector/ to inspector-obsolete/http-tests/.
Fold http/tests/inspector-enabled/ into inspector-obsolete/http-tests/.

I have elided about 1100 lines of rename Changelog spew;
no filenames have been altered in this reorganization.

Remove mentions of obsolete tests from TestExpectations. Remove skips
for inspector-obsolete/ from port-specific expectations, and just
put it in the generic expectations file.

Remove inspector-protocol/heap-profiler tests, as they are obsolete.

* TestExpectations:
 * inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree-expected.txt: Removed.
* inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html: Removed.
* inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt: Removed.
* inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.html: Removed.
* inspector-protocol/heap-profiler/resources/heap-snapshot-common.js: Removed.
* inspector-protocol/heap-profiler/resources/page-with-function.html: Removed.
* inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt: Removed.
* inspector-protocol/heap-profiler/take-heap-snapshot.html: Removed.
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/mac-wk2/TestExpectations:
* platform/mac/TestExpectations:
* platform/win-xp/TestExpectations:
* platform/win/TestExpectations:
* platform/wincairo/TestExpectations:
* platform/wk2/TestExpectations:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformeflTestExpectations">trunk/LayoutTests/platform/efl/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformgtkTestExpectations">trunk/LayoutTests/platform/gtk/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacTestExpectations">trunk/LayoutTests/platform/mac/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2TestExpectations">trunk/LayoutTests/platform/mac-wk2/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformwinTestExpectations">trunk/LayoutTests/platform/win/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformwinxpTestExpectations">trunk/LayoutTests/platform/win-xp/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformwincairoTestExpectations">trunk/LayoutTests/platform/wincairo/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsplatformwk2TestExpectations">trunk/LayoutTests/platform/wk2/TestExpectations</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/LayoutTests/inspector-obsolete/</li>
<li>trunk/LayoutTests/inspector-obsolete/console/</li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsolealerttoStringexceptionexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/alert-toString-exception-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsolealerttoStringexceptionhtml">trunk/LayoutTests/inspector-obsolete/console/alert-toString-exception.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleclientsignoredinprivatebrowsingexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/clients-ignored-in-privatebrowsing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleclientsignoredinprivatebrowsinghtml">trunk/LayoutTests/inspector-obsolete/console/clients-ignored-in-privatebrowsing.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsolecommandlineapiexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/command-line-api-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsolecommandlineapiinspectexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/command-line-api-inspect-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsolecommandlineapiinspecthtml">trunk/LayoutTests/inspector-obsolete/console/command-line-api-inspect.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsolecommandlineapihtml">trunk/LayoutTests/inspector-obsolete/console/command-line-api.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleObjectoverwrittenexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-Object-overwritten-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleObjectoverwrittenhtml">trunk/LayoutTests/inspector-obsolete/console/console-Object-overwritten.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleapioncallframeexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-api-on-call-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleapioncallframehtml">trunk/LayoutTests/inspector-obsolete/console/console-api-on-call-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleassertexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-assert-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleasserthtml">trunk/LayoutTests/inspector-obsolete/console/console-assert.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolebindfakeexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-bind-fake-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolebindfakehtml">trunk/LayoutTests/inspector-obsolete/console/console-bind-fake.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleclearfunctionexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-clear-function-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleclearfunctionhtml">trunk/LayoutTests/inspector-obsolete/console/console-clear-function.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolecommandclearexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-command-clear-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolecommandclearhtml">trunk/LayoutTests/inspector-obsolete/console/console-command-clear.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolecsswarningsexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-css-warnings-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolecsswarningshtml">trunk/LayoutTests/inspector-obsolete/console/console-css-warnings.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoledirexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-dir-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoledirglobalexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-dir-global-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoledirglobalhtml">trunk/LayoutTests/inspector-obsolete/console/console-dir-global.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoledirhtml">trunk/LayoutTests/inspector-obsolete/console/console-dir.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalblockedexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-blocked-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalblockedhtml">trunk/LayoutTests/inspector-obsolete/console/console-eval-blocked.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalcommentexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-comment-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalcommenthtml">trunk/LayoutTests/inspector-obsolete/console/console-eval-comment.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalfakeexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-fake-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalfakehtml">trunk/LayoutTests/inspector-obsolete/console/console-eval-fake.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalglobalexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-global-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalglobalhtml">trunk/LayoutTests/inspector-obsolete/console/console-eval-global.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalscopedexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-scoped-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalscopedhtml">trunk/LayoutTests/inspector-obsolete/console/console-eval-scoped.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalsyntaxerrorexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-syntax-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalsyntaxerrorhtml">trunk/LayoutTests/inspector-obsolete/console/console-eval-syntax-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalthrowundefinedexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-throw-undefined-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalthrowundefinedhtml">trunk/LayoutTests/inspector-obsolete/console/console-eval-throw-undefined.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalundefinedoverrideexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-eval-undefined-override-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalundefinedoverridehtml">trunk/LayoutTests/inspector-obsolete/console/console-eval-undefined-override.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleevalhtml">trunk/LayoutTests/inspector-obsolete/console/console-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleexceptionstacktracesexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-exception-stack-traces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleexceptionstacktraceshtml">trunk/LayoutTests/inspector-obsolete/console/console-exception-stack-traces.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleexternalarrayexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-external-array-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleexternalarrayhtml">trunk/LayoutTests/inspector-obsolete/console/console-external-array.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelastresultexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-last-result-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelastresulthtml">trunk/LayoutTests/inspector-obsolete/console/console-last-result.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelogbeforeinspectoropenexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-log-before-inspector-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelogbeforeinspectoropenhtml">trunk/LayoutTests/inspector-obsolete/console/console-log-before-inspector-open.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelogdocumentprotoexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-log-document-proto-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelogdocumentprotohtml">trunk/LayoutTests/inspector-obsolete/console/console-log-document-proto.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelognativefuncsexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-log-native-funcs-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelogsyntaxerrorexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-log-syntax-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelogsyntaxerrorhtml">trunk/LayoutTests/inspector-obsolete/console/console-log-syntax-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelogtoStringobjectexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-log-toString-object-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelogtoStringobjecthtml">trunk/LayoutTests/inspector-obsolete/console/console-log-toString-object.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelongevalcrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-long-eval-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolelongevalcrashhtml">trunk/LayoutTests/inspector-obsolete/console/console-long-eval-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolemessageformatexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-message-format-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolemessageformathtml">trunk/LayoutTests/inspector-obsolete/console/console-message-format.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolemessagesstacktracesexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-messages-stack-traces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolemessagesstacktraceshtml">trunk/LayoutTests/inspector-obsolete/console/console-messages-stack-traces.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolenativefunctiontostringexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-native-function-to-string-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolenativefunctiontostringhtml">trunk/LayoutTests/inspector-obsolete/console/console-native-function-to-string.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolenestedgroupexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-nested-group-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolenestedgrouphtml">trunk/LayoutTests/inspector-obsolete/console/console-nested-group.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleobjectconstructornameexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-object-constructor-name-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleobjectconstructornamehtml">trunk/LayoutTests/inspector-obsolete/console/console-object-constructor-name.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleobjectpreviewexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-object-preview-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleobjectpreviewhtml">trunk/LayoutTests/inspector-obsolete/console/console-object-preview.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleoriginatingcommandexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-originating-command-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleoriginatingcommandhtml">trunk/LayoutTests/inspector-obsolete/console/console-originating-command.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolepreservelogexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-preserve-log-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolepreserveloghtml">trunk/LayoutTests/inspector-obsolete/console/console-preserve-log.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolerepeatcountexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-repeat-count-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolerepeatcounthtml">trunk/LayoutTests/inspector-obsolete/console/console-repeat-count.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolestringformatexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-string-format-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolestringformathtml">trunk/LayoutTests/inspector-obsolete/console/console-string-format.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolesubstitutedexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-substituted-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolesubstitutedhtml">trunk/LayoutTests/inspector-obsolete/console/console-substituted.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoletestsexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-tests-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoletestshtml">trunk/LayoutTests/inspector-obsolete/console/console-tests.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoletraceexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-trace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoletraceinevalexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-trace-in-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoletraceinevalhtml">trunk/LayoutTests/inspector-obsolete/console/console-trace-in-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoletracehtml">trunk/LayoutTests/inspector-obsolete/console/console-trace.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleuncaughtexceptionexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleuncaughtexceptioninevalexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-in-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleuncaughtexceptioninevalhtml">trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-in-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleuncaughtexceptionhtml">trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleurllinecolumnexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-url-line-column-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsoleurllinecolumnhtml">trunk/LayoutTests/inspector-obsolete/console/console-url-line-column.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolexmldocumentexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-xml-document-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolexmldocumenthtml">trunk/LayoutTests/inspector-obsolete/console/console-xml-document.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolexpathexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/console-xpath-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleconsolexpathhtml">trunk/LayoutTests/inspector-obsolete/console/console-xpath.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleinspecthtmlallcollectionexpectedtxt">trunk/LayoutTests/inspector-obsolete/console/inspect-html-all-collection-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleinspecthtmlallcollectionhtml">trunk/LayoutTests/inspector-obsolete/console/inspect-html-all-collection.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/console/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleresourceslogsourcejs">trunk/LayoutTests/inspector-obsolete/console/resources/log-source.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleresourcessyntaxerrorjs">trunk/LayoutTests/inspector-obsolete/console/resources/syntax-error.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteconsoleresourcesuncaughtiniframehtml">trunk/LayoutTests/inspector-obsolete/console/resources/uncaught-in-iframe.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/debugger/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerbreakpointmanagerexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/breakpoint-manager-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerbreakpointmanagerhtml">trunk/LayoutTests/inspector-obsolete/debugger/breakpoint-manager.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggercopystacktraceexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/copy-stack-trace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggercopystacktracehtml">trunk/LayoutTests/inspector-obsolete/debugger/copy-stack-trace.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggeractivationcrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggeractivationcrashhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggeractivationcrash2expectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggeractivationcrash2html">trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash2.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerautocontinueonsyntaxerrorexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-autocontinue-on-syntax-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerautocontinueonsyntaxerrorhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-autocontinue-on-syntax-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerbreakpointsnotactivatedonreloadexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerbreakpointsnotactivatedonreloadhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-breakpoints-not-activated-on-reload.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggercompileandrunexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-compile-and-run-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggercompileandrunhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-compile-and-run.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggercompletionsoncallframeexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-completions-on-call-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggercompletionsoncallframehtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-completions-on-call-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggercyclicrefexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-cyclic-ref-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggercyclicrefhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-cyclic-ref.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerevaloncallframeexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-on-call-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerevaloncallframehtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-on-call-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerevalwhilepausedexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-while-paused-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerevalwhilepausedhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-while-paused.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggernonestedpauseexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-no-nested-pause-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggernonestedpausehtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-no-nested-pause.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseinevalscriptexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-eval-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseinevalscripthtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-eval-script.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseininternalexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-internal-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseininternalhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-internal.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedeventhandlerexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-event-handler-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedeventhandlerhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-event-handler.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedscriptinjectionexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-injection-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedscriptinjectionhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-injection.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedscripturlexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedscripturlhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-url.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseondebuggerstatementexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-debugger-statement-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseondebuggerstatementhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-debugger-statement.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonexceptionexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-exception-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonexceptionhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-exception.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonfailedassertionexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-failed-assertion-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonfailedassertionhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-failed-assertion.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerreloadonpauseexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-reload-on-pause-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerreloadonpausehtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-reload-on-pause.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerscriptsexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerscriptsreloadexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-reload-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerscriptsreloadhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-reload.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerscriptshtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggersetbreakpointregexexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-set-breakpoint-regex-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggersetbreakpointregexhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-set-breakpoint-regex.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepinexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-in-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepinhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-in.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepoutexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-out-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepouthtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-out.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepoverexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-over-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepoverhtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-over.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggersuspendactivedomobjectsexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/debugger-suspend-active-dom-objects-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerdebuggersuspendactivedomobjectshtml">trunk/LayoutTests/inspector-obsolete/debugger/debugger-suspend-active-dom-objects.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerevalonpauseblockedexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/eval-on-pause-blocked-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerevalonpauseblockedhtml">trunk/LayoutTests/inspector-obsolete/debugger/eval-on-pause-blocked.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerfunctiondetailsexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/function-details-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerfunctiondetailshtml">trunk/LayoutTests/inspector-obsolete/debugger/function-details.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggeropencloseopenexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/open-close-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggeropencloseopenhtml">trunk/LayoutTests/inspector-obsolete/debugger/open-close-open.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerpauseininlinescriptexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/pause-in-inline-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerpauseininlinescripthtml">trunk/LayoutTests/inspector-obsolete/debugger/pause-in-inline-script.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerpauseininternalscriptexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/pause-in-internal-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerpauseininternalscripthtml">trunk/LayoutTests/inspector-obsolete/debugger/pause-in-internal-script.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/debugger/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcesdynamicscriptjs">trunk/LayoutTests/inspector-obsolete/debugger/resources/dynamic-script.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourceseditmebreakpointsjs">trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-breakpoints.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourceseditmesyntaxerrorjs">trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-syntax-error.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourceseditmewhenpausedjs">trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-when-paused.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourceseditmejs">trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcesobfuscatedjs">trunk/LayoutTests/inspector-obsolete/debugger/resources/obfuscated.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcespauseonblockedbycspjs">trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-by-csp.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcespauseonblockedeventhandlerjs">trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-event-handler.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcespauseonblockedscriptinjectionjs">trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-script-injection.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcespauseonblockedscripturljs">trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-script-url.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcesscript1js">trunk/LayoutTests/inspector-obsolete/debugger/resources/script1.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcesscript2js">trunk/LayoutTests/inspector-obsolete/debugger/resources/script2.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcesscript3js">trunk/LayoutTests/inspector-obsolete/debugger/resources/script3.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerresourcessyntaxerrorhtml">trunk/LayoutTests/inspector-obsolete/debugger/resources/syntax-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerscriptformatterexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerscriptformattersearchexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-search-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerscriptformattersearchhtml">trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-search.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggerscriptformatterhtml">trunk/LayoutTests/inspector-obsolete/debugger/script-formatter.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggersourceurlcommentexpectedtxt">trunk/LayoutTests/inspector-obsolete/debugger/source-url-comment-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletedebuggersourceurlcommenthtml">trunk/LayoutTests/inspector-obsolete/debugger/source-url-comment.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/elements/</li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsdomagentqueryselectorexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/dom-agent-query-selector-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsdomagentqueryselectorhtml">trunk/LayoutTests/inspector-obsolete/elements/dom-agent-query-selector.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsdomsearchcrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/dom-search-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsdomsearchcrashhtml">trunk/LayoutTests/inspector-obsolete/elements/dom-search-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementseditstyleattributeexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/edit-style-attribute-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementseditstyleattributehtml">trunk/LayoutTests/inspector-obsolete/elements/edit-style-attribute.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementselementspanelreloadassertexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/elements-panel-reload-assert-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementselementspanelreloadasserthtml">trunk/LayoutTests/inspector-obsolete/elements/elements-panel-reload-assert.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementselementspanelsearchexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/elements-panel-search-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementselementspanelsearchhtml">trunk/LayoutTests/inspector-obsolete/elements/elements-panel-search.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementselementspanelstylesexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/elements-panel-styles-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementselementspanelstyleshtml">trunk/LayoutTests/inspector-obsolete/elements/elements-panel-styles.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightnodeexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-node-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightnoderegionsexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-node-regions-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightnoderegionshtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-node-regions.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightnodescaledexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scaled-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightnodescaledhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scaled.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightnodescrollexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scroll-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightnodescrollhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scroll.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightnodehtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-node.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowhorizbtexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-horiz-bt-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowhorizbthtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-horiz-bt.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformhorizbtexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-horiz-bt-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformhorizbthtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-horiz-bt.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformvertlrexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-lr-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformvertlrhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-lr.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformvertrlexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-rl-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformvertrlhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-rl.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowvertlrexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-lr-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowvertlrhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-lr.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowvertrlexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-rl-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowvertrlhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-rl.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightsvgrootexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightsvgrootzoomedexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-zoomed-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightsvgrootzoomedhtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-zoomed.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementshighlightsvgroothtml">trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsmutateunknownnodeexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/mutate-unknown-node-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsmutateunknownnodehtmldisabled">trunk/LayoutTests/inspector-obsolete/elements/mutate-unknown-node.html-disabled</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsperformundoundoexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/perform-undo-undo-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsperformundoundohtml">trunk/LayoutTests/inspector-obsolete/elements/perform-undo-undo.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresolvealiennodeexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/resolve-alien-node-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresolvealiennodehtml">trunk/LayoutTests/inspector-obsolete/elements/resolve-alien-node.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresolvenodeblockedexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/resolve-node-blocked-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresolvenodeblockedhtml">trunk/LayoutTests/inspector-obsolete/elements/resolve-node-blocked.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/elements/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresourcesdomsearchcrashiframehtml">trunk/LayoutTests/inspector-obsolete/elements/resources/dom-search-crash-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresourceselementspanelrewritehrefiframehtml">trunk/LayoutTests/inspector-obsolete/elements/resources/elements-panel-rewrite-href-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresourceselementspanelstylescss">trunk/LayoutTests/inspector-obsolete/elements/resources/elements-panel-styles.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresourceshideshortcutiframehtml">trunk/LayoutTests/inspector-obsolete/elements/resources/hide-shortcut-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresourceshighlightnodescalediframehtml">trunk/LayoutTests/inspector-obsolete/elements/resources/highlight-node-scaled-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresourcessethtmlviaresourceiframehtml">trunk/LayoutTests/inspector-obsolete/elements/resources/set-html-via-resource-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsresourcessetouterhtmlbodyiframehtml">trunk/LayoutTests/inspector-obsolete/elements/resources/set-outer-html-body-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetattributeexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/set-attribute-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetattributenonhtmlexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/set-attribute-non-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetattributenonhtmlsvg">trunk/LayoutTests/inspector-obsolete/elements/set-attribute-non-html.svg</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetattributehtml">trunk/LayoutTests/inspector-obsolete/elements/set-attribute.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtml2expectedtxt">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtml2html">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-2.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtmlbodyexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-body-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtmlbodyhtml">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-body.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtmlexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtmlforxhtmlexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-for-xhtml-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtmlforxhtmlxhtml">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-for-xhtml.xhtml</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtmltestjs">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementssetouterhtmlhtml">trunk/LayoutTests/inspector-obsolete/elements/set-outer-html.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsundosetouterhtml2expectedtxt">trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsundosetouterhtml2html">trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-2.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsundosetouterhtmlexpectedtxt">trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteelementsundosetouterhtmlhtml">trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/</li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/appcache/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheappcacheiframemanifestsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-iframe-manifests-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheappcacheiframemanifestshtml">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-iframe-manifests.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheappcachemanifestwithnonexistingfileexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-manifest-with-non-existing-file-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheappcachemanifestwithnonexistingfilehtml">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-manifest-with-non-existing-file.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheappcacheswapexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-swap-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheappcacheswaphtml">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-swap.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheappcachetestjs">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-test.js</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheresourcesmanifestphp">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/manifest.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheresourcespagewithmanifestphp">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/page-with-manifest.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheresourcesversionedmanifestphp">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/versioned-manifest.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsappcacheresourceswithversionedmanifestphp">trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/with-versioned-manifest.php</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/audits/</li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/audits/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsauditsresourcesabepng">trunk/LayoutTests/inspector-obsolete/http-tests/audits/resources/abe.png</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsauditssetcookieheaderauditnofalsepositiveexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/audits/set-cookie-header-audit-no-false-positive-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsauditssetcookieheaderauditnofalsepositivehtml">trunk/LayoutTests/inspector-obsolete/http-tests/audits/set-cookie-header-audit-no-false-positive.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestschangeiframesrcexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/change-iframe-src-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestschangeiframesrchtml">trunk/LayoutTests/inspector-obsolete/http-tests/change-iframe-src.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestscompilerscriptmappingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/compiler-script-mapping-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestscompilerscriptmappinghtml">trunk/LayoutTests/inspector-obsolete/http-tests/compiler-script-mapping.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestscompilersourcemappingdebugexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/compiler-source-mapping-debug-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestscompilersourcemappingdebughtml">trunk/LayoutTests/inspector-obsolete/http-tests/compiler-source-mapping-debug.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolecdcompletionsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-completions-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolecdcompletionshtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-completions.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolecdexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolecdhtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-cd.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsoleclearargumentsonframenavigationexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-navigation-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsoleclearargumentsonframenavigationhtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-navigation.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsoleclearargumentsonframeremoveexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-remove-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsoleclearargumentsonframeremovehtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-remove.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolecrossoriginiframeloggingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-cross-origin-iframe-logging-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolecrossoriginiframelogginghtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-cross-origin-iframe-logging.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolelogbeforeframenavigationexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-log-before-frame-navigation-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolelogbeforeframenavigationhtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-log-before-frame-navigation.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsoleresourceerrorsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-resource-errors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsoleresourceerrorshtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-resource-errors.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsoletestjs">trunk/LayoutTests/inspector-obsolete/http-tests/console-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolewebsocketerrorhtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-websocket-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolexhrloggingasyncexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolexhrloggingasynchtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-async.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolexhrloggingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsconsolexhrlogginghtml">trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdatabaseopenexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/database-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdatabaseopenhtml">trunk/LayoutTests/inspector-obsolete/http-tests/database-open.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdebuggertestjs">trunk/LayoutTests/inspector-obsolete/http-tests/debugger-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdedicatedworkerslistexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/dedicated-workers-list-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdedicatedworkerslisthtml">trunk/LayoutTests/inspector-obsolete/http-tests/dedicated-workers-list.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdocumentwriteexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/document-write-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdocumentwritehtml">trunk/LayoutTests/inspector-obsolete/http-tests/document-write.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdomstorageopenexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/dom-storage-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdomstorageopenhtml">trunk/LayoutTests/inspector-obsolete/http-tests/dom-storage-open.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdynamicscriptsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/dynamic-scripts-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsdynamicscriptshtml">trunk/LayoutTests/inspector-obsolete/http-tests/dynamic-scripts.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestselementstestjs">trunk/LayoutTests/inspector-obsolete/http-tests/elements-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsheadersexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-headers-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsheadershtml">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-headers.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsiframeevalexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-iframe-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsiframeevalhtml">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-iframe-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsignorecacheexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-ignore-cache-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsignorecachehtml">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-ignore-cache.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsnetworkredirectexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-redirect-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsnetworkredirecthtml">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-redirect.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionsnetworktestjs">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsextensionstestjs">trunk/LayoutTests/inspector-obsolete/http-tests/extensions-test.js</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasedataexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-data-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasedatahtml">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasenamesexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-names-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasenameshtml">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-names.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasestructureexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-structure-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasestructurehtml">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-structure.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbindexeddbtestjs">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/indexeddb-test.js</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbresourceswithoutindexeddbhtml">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources/without-indexed-db.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbresourcespanelexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources-panel-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsindexeddbresourcespanelhtml">trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources-panel.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsinjectedscriptdiscardexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/injected-script-discard-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsinjectedscriptdiscardhtml">trunk/LayoutTests/inspector-obsolete/http-tests/injected-script-discard.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsinspectelementexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/inspect-element-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsinspectelementhtml">trunk/LayoutTests/inspector-obsolete/http-tests/inspect-element.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsinspectiframefromdifferentdomainexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/inspect-iframe-from-different-domain-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsinspectiframefromdifferentdomainhtml">trunk/LayoutTests/inspector-obsolete/http-tests/inspect-iframe-from-different-domain.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsinspectortestjs">trunk/LayoutTests/inspector-obsolete/http-tests/inspector-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsisolatedfilesystemtestjs">trunk/LayoutTests/inspector-obsolete/http-tests/isolated-filesystem-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsliveedittestjs">trunk/LayoutTests/inspector-obsolete/http-tests/live-edit-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsmodifycrossdomainruleexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/modify-cross-domain-rule-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsmodifycrossdomainrulehtml">trunk/LayoutTests/inspector-obsolete/http-tests/modify-cross-domain-rule.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/network/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkasyncxhrjsonmimetypeexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/async-xhr-json-mime-type-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkasyncxhrjsonmimetypehtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/async-xhr-json-mime-type.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkcachedresourcedestroyedmovedtostorageexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-moved-to-storage-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkcachedresourcedestroyedmovedtostoragehtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-moved-to-storage.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkcachedresourcedestroyedtoobigdiscardedexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-too-big-discarded-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkcachedresourcedestroyedtoobigdiscardedhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-too-big-discarded.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkcsssourcemappingurlexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/css-source-mapping-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkcsssourcemappingurlhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/css-source-mapping-url.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkdownloadexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/download-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkdownloadhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/download.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkharcontentexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/har-content-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkharcontenthtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/har-content.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkimageastextloadingdataurlexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/image-as-text-loading-data-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkimageastextloadingdataurlhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/image-as-text-loading-data-url.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcachedresourceswithsameurlsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cachedresources-with-same-urls-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcachedresourceswithsameurlshtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cachedresources-with-same-urls.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkclearcacheexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cache-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkclearcachehtmldisabled">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cache.html-disabled</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkclearcookiesexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cookies-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkclearcookieshtmldisabled">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cookies.html-disabled</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcontentreplacementembedexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-embed-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcontentreplacementembedhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-embed.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcontentreplacementxhrexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-xhr-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcontentreplacementxhrhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-xhr.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcyrillicxhrexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cyrillic-xhr-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcyrillicxhrhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cyrillic-xhr.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablecachememoryexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-memory-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablecachememoryhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-memory.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablecachexhrsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-xhrs-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablecachexhrshtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-xhrs.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablingchecknomemoryleakexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disabling-check-no-memory-leak-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablingchecknomemoryleakhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disabling-check-no-memory-leak.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkembedexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-embed-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkembedhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-embed.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkemptyxhrexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-empty-xhr-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkemptyxhrhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-empty-xhr.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkiframeloadanddeleteexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-iframe-load-and-delete-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkiframeloadanddeletehtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-iframe-load-and-delete.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkimage404expectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-image-404-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkimage404html">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-image-404.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkinitiatorexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkinitiatorfromconsoleexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-from-console-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkinitiatorfromconsolehtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-from-console.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkinitiatorhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkpreviewjsonexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-preview-json-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkpreviewjsonhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-preview-json.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkrequestrevisioncontentexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-request-revision-content-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkrequestrevisioncontenthtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-request-revision-content.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksharedworkerexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-shared-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksharedworkerhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-shared-worker.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksidebarwidthexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-sidebar-width-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksidebarwidthhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-sidebar-width.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizechunkedexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-chunked-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizechunkedhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-chunked.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizeexpectedchunkedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-expected-chunked.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizeexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizesyncexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-sync-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizesynchtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-sync.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizehtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworktimingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-timing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworktiminghtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-timing.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkworkerexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkworkerhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-worker.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrasyncdoubleexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-double-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrasyncdoublehtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-double.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrasyncexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrasynchtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrreplayexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-replay-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrreplayhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-replay.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrsameurlasmainresourceexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-same-url-as-main-resource-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrsameurlasmainresourcehtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-same-url-as-main-resource.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrsyncexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-sync-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrsynchtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-sync.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkpingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/ping-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkpinghtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/ping.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkrequestnamepathexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/request-name-path-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkrequestnamepathhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/request-name-path.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkrequestparametersdecodingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/request-parameters-decoding-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkrequestparametersdecodinghtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/request-parameters-decoding.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresources404php">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/404.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcescp1251xml">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/cp1251.xml</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcescyrillichtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/cyrillic.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesdownloadzzz">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/download.zzz</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesechopayloadphp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/echo-payload.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesemptyhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/empty.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesinitiatorcss">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/initiator.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesjsonphp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/json.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesplugindataphp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/plugin-data.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesrandomcachedphp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/random-cached.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesrandomscriptphp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/random-script.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesresourcephp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/resource.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesscriptastextwithaveryveryveryveryveryveryveryveryveryveryveryveryveryverylongurlphp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesscriptastextphp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script-as-text.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesscriptjs">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessetcookiephp">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/set-cookie.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessharedworkerjs">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/shared-worker.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessilent_scriptjs">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/silent_script.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessourcemapteststylecss">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessourcemapteststylecssmap">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.css.map</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessourcemapteststylescss">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.scss</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesstylecss">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/style.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesutf8xml">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/utf8.xml</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesworkerjs">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/worker.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesxframeoptionsdenycgi">trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/x-frame-options-deny.cgi</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadinglongurlexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-long-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadinglongurlhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-long-url.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadingwithcaretexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-with-caret-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadingwithcarethtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-with-caret.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadinghtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkxframeoptionsdenyexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network/x-frame-options-deny-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkxframeoptionsdenyhtml">trunk/LayoutTests/inspector-obsolete/http-tests/network/x-frame-options-deny.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkpreflightoptionsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/network-preflight-options-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworkpreflightoptionshtml">trunk/LayoutTests/inspector-obsolete/http-tests/network-preflight-options.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsnetworktestjs">trunk/LayoutTests/inspector-obsolete/http-tests/network-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsprotocoltestjs">trunk/LayoutTests/inspector-obsolete/http-tests/protocol-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourceharconversionexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-conversion-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourceharconversionhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-conversion.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourceharheadersexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-headers-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourceharheadershtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-headers.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourceharpagesexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-pages-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourceharpageshtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-pages.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcemaincookiesexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-main-cookies-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcemaincookiesphp">trunk/LayoutTests/inspector-obsolete/http-tests/resource-main-cookies.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourceparametersexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-parameters-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourceparametershtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-parameters.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcerequestcontentafterloadingandclearingcacheexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcerequestcontentafterloadingandclearingcachehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-after-loading-and-clearing-cache.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcerequestcontentwhileloadingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-while-loading-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcerequestcontentwhileloadinghtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-while-loading.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreedocumenturlexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-document-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreedocumenturlhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-document-url.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeerrorsreloadexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-errors-reload-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeerrorsreloadhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-errors-reload.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeeventsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-events-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeeventshtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-events.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeframeaddexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-add-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeframeaddhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-add.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeframenavigateexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-navigate-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeframenavigatehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-navigate.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeinvalidmimetypecsscontentexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeinvalidmimetypecsscontenthtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-invalid-mime-type-css-content.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreemimetypeexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-mimetype-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreemimetypehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-mimetype.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreenoxhrsexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-no-xhrs-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreenoxhrshtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-no-xhrs.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreenonuniqueurlexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-non-unique-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreenonuniqueurlhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-non-unique-url.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreereloadexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-reload-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreereloadhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-reload.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreetestjs">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-test.js</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesdummyiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/dummy-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesdynamicscriptjs">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/dynamic-script.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesemptypng">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/empty.png</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreeframeaddiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-add-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreeframenavigateiframeafterhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreeframenavigateiframebeforehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreenonuniqueurliframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-non-unique-url-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreereloadiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-reload-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesscriptinitialjs">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/script-initial.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesscriptnavigatedjs">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/script-navigated.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesinitial2css">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-initial-2.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesinitialcss">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-initial.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesnavigatedcss">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-navigated.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesnonuniqueurlcss">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-non-unique-url.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesheettextplainphp">trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/stylesheet-text-plain.php</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcescompiledjs">trunk/LayoutTests/inspector-obsolete/http-tests/resources/compiled.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesconsolecdcompletionsiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-cd-completions-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesconsolecdiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-cd-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesconsoleclearargumentsiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-clear-arguments-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesconsoleclearargumentstestjs">trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-clear-arguments-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesconsolelogframeafternavigationhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-log-frame-after-navigation.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesconsolelogframebeforenavigationhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-log-frame-before-navigation.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesconsoleresourceerrorsiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-resource-errors-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcescorstargetphp">trunk/LayoutTests/inspector-obsolete/http-tests/resources/cors-target.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcescrossoriginiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/cross-origin-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesdedicatedworkerjs">trunk/LayoutTests/inspector-obsolete/http-tests/resources/dedicated-worker.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesdynamicscriptjs">trunk/LayoutTests/inspector-obsolete/http-tests/resources/dynamic-script.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesechoheadersphp">trunk/LayoutTests/inspector-obsolete/http-tests/resources/echo-headers.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesemptyzip">trunk/LayoutTests/inspector-obsolete/http-tests/resources/empty.zip</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesexamplecssmap">trunk/LayoutTests/inspector-obsolete/http-tests/resources/example.css.map</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesexamplescss">trunk/LayoutTests/inspector-obsolete/http-tests/resources/example.scss</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionmainhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-main.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionmainjs">trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-main.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionpanelhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-panel.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionsidebarhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-sidebar.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionsframeevalhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/extensions-frame-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesharpagesiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/har-pages-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesharpagesnavigationtargethtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/har-pages-navigation-target.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesiframefromdifferentdomaindatahtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/iframe-from-different-domain-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesinspectelementiframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/inspect-element-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesposttargetcgi">trunk/LayoutTests/inspector-obsolete/http-tests/resources/post-target.cgi</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesresourceformdatareceiveriframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/resource-form-data-receiver-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcessourcemapjson">trunk/LayoutTests/inspector-obsolete/http-tests/resources/source-map.json</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcessource1js">trunk/LayoutTests/inspector-obsolete/http-tests/resources/source1.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcessource2js">trunk/LayoutTests/inspector-obsolete/http-tests/resources/source2.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcestestscannerhtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/test-scanner.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcesxhrexistshtml">trunk/LayoutTests/inspector-obsolete/http-tests/resources/xhr-exists.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsresourcestestjs">trunk/LayoutTests/inspector-obsolete/http-tests/resources-test.js</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/search/</li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchconcatenatedhtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search-concatenated.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchcss">trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchhtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchjs">trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchmatchindexexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/search/resources-search-match-index-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchmatchindexhtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/resources-search-match-index.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchscriptssearchscopeexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/search/scripts-search-scope-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchscriptssearchscopehtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/scripts-search-scope.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinconcatenatedscriptexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-concatenated-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinconcatenatedscripthtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-concatenated-script.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinnonexistingresourceexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-non-existing-resource-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinnonexistingresourcehtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-non-existing-resource.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinresourceexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resource-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinresourcehtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resource.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinresourcesexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resources-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinresourceshtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resources.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinscriptexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinscripthtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-script.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinstaticexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-static-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchinstatichtml">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-static.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestssearchsearchtestjs">trunk/LayoutTests/inspector-obsolete/http-tests/search/search-test.js</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracescspinjectedcontentwarningcontainsstacktraceexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracescspinjectedcontentwarningcontainsstacktracehtml">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-injected-content-warning-contains-stacktrace.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracescspinlinewarningcontainsstacktraceexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracescspinlinewarningcontainsstacktracehtml">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-inline-warning-contains-stacktrace.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracescspsetIntervalwarningcontainsstacktraceexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracescspsetIntervalwarningcontainsstacktracehtml">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setInterval-warning-contains-stacktrace.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracescspsetTimeoutwarningcontainsstacktraceexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracescspsetTimeoutwarningcontainsstacktracehtml">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setTimeout-warning-contains-stacktrace.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracesresourcescspinlinetestjs">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/csp-inline-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstacktracesresourcesstacktracetestjs">trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/stacktrace-test.js</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/styles/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesmodifycrossdomainrulecss">trunk/LayoutTests/inspector-obsolete/http-tests/styles/modify-cross-domain-rule.css</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesresourcesstylesredirectedcsscss">trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/styles-redirected-css.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesresourcesstylesredirectedcssphp">trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/styles-redirected-css.php</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesresourcesxsltransformedxsl">trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/xsl-transformed.xsl</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesstylesredirectedcssexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/styles/styles-redirected-css-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesstylesredirectedcsshtml">trunk/LayoutTests/inspector-obsolete/http-tests/styles/styles-redirected-css.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesxsltransformedexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/styles/xsl-transformed-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesxsltransformedxml">trunk/LayoutTests/inspector-obsolete/http-tests/styles/xsl-transformed.xml</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesheetsourcemappingexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/stylesheet-source-mapping-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsstylesheetsourcemappinghtml">trunk/LayoutTests/inspector-obsolete/http-tests/stylesheet-source-mapping.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttpteststimelinetestjs">trunk/LayoutTests/inspector-obsolete/http-tests/timeline-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestswebsocketframeerrorexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/web-socket-frame-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestswebsocketframeerrorhtml">trunk/LayoutTests/inspector-obsolete/http-tests/web-socket-frame-error.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/http-tests/websocket/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestswebsockettimelinewebsocketeventexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/websocket/timeline-websocket-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestswebsockettimelinewebsocketeventhtml">trunk/LayoutTests/inspector-obsolete/http-tests/websocket/timeline-websocket-event.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestswebsocketwebsocketframeexpectedtxt">trunk/LayoutTests/inspector-obsolete/http-tests/websocket/web-socket-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestswebsocketwebsocketframehtml">trunk/LayoutTests/inspector-obsolete/http-tests/websocket/web-socket-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletehttptestsworkspacetestjs">trunk/LayoutTests/inspector-obsolete/http-tests/workspace-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteinspectedobjectsnotoverridenexpectedtxt">trunk/LayoutTests/inspector-obsolete/inspected-objects-not-overriden-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteinspectedobjectsnotoverridenhtml">trunk/LayoutTests/inspector-obsolete/inspected-objects-not-overriden.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteloadresourcesynchronouslyutf8expectedtxt">trunk/LayoutTests/inspector-obsolete/load-resource-synchronously-utf8-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteloadresourcesynchronouslyutf8html">trunk/LayoutTests/inspector-obsolete/load-resource-synchronously-utf8.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/profiler/</li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofileragentcrashonstartexpectedtxt">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-agent-crash-on-start-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofileragentcrashonstarthtml">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-agent-crash-on-start.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofilerparameterlessprofileendcrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofilerparameterlessprofileendcrashhtml">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-parameterless-profile-end-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofileremovalexpectedtxt">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profile-removal-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofileremovalhtml">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profile-removal.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofilingexpectedtxt">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofilingwithoutinspectorexpectedtxt">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-without-inspector-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofilingwithoutinspectorhtml">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-without-inspector.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofilinghtml">trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteprofilerprofilertestjs">trunk/LayoutTests/inspector-obsolete/profiler/profiler-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteremoteobjectexpectedtxt">trunk/LayoutTests/inspector-obsolete/remote-object-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteremoteobjecthtml">trunk/LayoutTests/inspector-obsolete/remote-object.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletereportAPIerrorsexpectedtxt">trunk/LayoutTests/inspector-obsolete/report-API-errors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletereportAPIerrorshtml">trunk/LayoutTests/inspector-obsolete/report-API-errors.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletereportprotocolerrorsexpectedtxt">trunk/LayoutTests/inspector-obsolete/report-protocol-errors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletereportprotocolerrorshtml">trunk/LayoutTests/inspector-obsolete/report-protocol-errors.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/runtime/</li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimecallFunctionOnexpectedtxt">trunk/LayoutTests/inspector-obsolete/runtime/runtime-callFunctionOn-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimecallFunctionOnhtml">trunk/LayoutTests/inspector-obsolete/runtime/runtime-callFunctionOn.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimegetPropertiesexpectedtxt">trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimegetPropertiesisOwnPropertyexpectedtxt">trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-isOwnProperty-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimegetPropertiesisOwnPropertyhtml">trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-isOwnProperty.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimegetPropertieshtml">trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimelocalStoragegetPropertiesexpectedtxt">trunk/LayoutTests/inspector-obsolete/runtime/runtime-localStorage-getProperties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimelocalStoragegetPropertieshtml">trunk/LayoutTests/inspector-obsolete/runtime/runtime-localStorage-getProperties.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimesetPropertyValueexpectedtxt">trunk/LayoutTests/inspector-obsolete/runtime/runtime-setPropertyValue-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteruntimeruntimesetPropertyValuehtml">trunk/LayoutTests/inspector-obsolete/runtime/runtime-setPropertyValue.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletescriptexecutionstatechangenotificationexpectedtxt">trunk/LayoutTests/inspector-obsolete/script-execution-state-change-notification-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletescriptexecutionstatechangenotificationhtml">trunk/LayoutTests/inspector-obsolete/script-execution-state-change-notification.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestoragepaneldomstorageemptyexpectedtxt">trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-empty-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestoragepaneldomstorageemptyhtml">trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-empty.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestoragepaneldomstorageexpectedtxt">trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestoragepaneldomstorageupdateexpectedtxt">trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-update-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestoragepaneldomstorageupdatehtml">trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-update.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestoragepaneldomstoragehtml">trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/styles/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesaddnewruleinlinestylecspexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-inline-style-csp-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesaddnewruleinlinestylecsphtml">trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-inline-style-csp.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesaddnewruleinvalidselectorexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-invalid-selector-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesaddnewruleinvalidselectorhtml">trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-invalid-selector.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesaddnewrulewithstyleafterbodyexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-with-style-after-body-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesaddnewrulewithstyleafterbodyhtml">trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-with-style-after-body.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesgetsetstylesheettextexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/get-set-stylesheet-text-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesgetsetstylesheettexthtml">trunk/LayoutTests/inspector-obsolete/styles/get-set-stylesheet-text.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesimportpseudoclasscrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/import-pseudoclass-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesimportpseudoclasscrashhtml">trunk/LayoutTests/inspector-obsolete/styles/import-pseudoclass-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesinjectstylesheetexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/inject-stylesheet-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesinjectstylesheethtml">trunk/LayoutTests/inspector-obsolete/styles/inject-stylesheet.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesparsestylesheeterrorsexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/parse-stylesheet-errors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesparsestylesheeterrorshtml">trunk/LayoutTests/inspector-obsolete/styles/parse-stylesheet-errors.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesparseutf8bomexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/parse-utf8-bom-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesparseutf8bomhtml">trunk/LayoutTests/inspector-obsolete/styles/parse-utf8-bom.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesregionstylecrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/region-style-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesregionstylecrashhtml">trunk/LayoutTests/inspector-obsolete/styles/region-style-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesremovedrulecrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/removed-rule-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesremovedrulecrashhtml">trunk/LayoutTests/inspector-obsolete/styles/removed-rule-crash.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/styles/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesfromcsspng">trunk/LayoutTests/inspector-obsolete/styles/resources/fromcss.png</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesgetsetstylesheettextcss">trunk/LayoutTests/inspector-obsolete/styles/resources/get-set-stylesheet-text.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesiframedpng">trunk/LayoutTests/inspector-obsolete/styles/resources/iframed.png</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesimportpseudoclasscrashemptycss">trunk/LayoutTests/inspector-obsolete/styles/resources/import-pseudoclass-crash-empty.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesimportpseudoclasscrashcss">trunk/LayoutTests/inspector-obsolete/styles/resources/import-pseudoclass-crash.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesinjectstylesheetiframedatahtml">trunk/LayoutTests/inspector-obsolete/styles/resources/inject-stylesheet-iframe-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesmediaqueries1css">trunk/LayoutTests/inspector-obsolete/styles/resources/media-queries-1.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesmediaqueriescss">trunk/LayoutTests/inspector-obsolete/styles/resources/media-queries.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesparseutf8bommaincss">trunk/LayoutTests/inspector-obsolete/styles/resources/parse-utf8-bom-main.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesparseutf8bomresetcss">trunk/LayoutTests/inspector-obsolete/styles/resources/parse-utf8-bom-reset.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesselectorlinecss">trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesselectorlinecssmap">trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.css.map</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesselectorlinescss">trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.scss</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstyleshistorycss">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-history.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstylesiframedatahtml">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-iframe-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstylesnewAPI1css">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API-1.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstylesnewAPI2css">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API-2.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstylesnewAPIcss">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstylessourcelinesinlineiframehtml">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-source-lines-inline-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstylessourceoffsetscss">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-source-offsets.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstylesurllinkifyiframehtml">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-url-linkify-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesresourcesstylesurllinkifycss">trunk/LayoutTests/inspector-obsolete/styles/resources/styles-url-linkify.css</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesselectorlistexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/selector-list-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesselectorlisthtml">trunk/LayoutTests/inspector-obsolete/styles/selector-list.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylessetpropertyboundariesexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/set-property-boundaries-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylessetpropertyboundarieshtml">trunk/LayoutTests/inspector-obsolete/styles/set-property-boundaries.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesaddblankpropertyexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-add-blank-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesaddblankpropertyhtml">trunk/LayoutTests/inspector-obsolete/styles/styles-add-blank-property.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesaddinvalidpropertyexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-add-invalid-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesaddinvalidpropertyhtml">trunk/LayoutTests/inspector-obsolete/styles/styles-add-invalid-property.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylescomputedtraceexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-computed-trace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylescomputedtracehtml">trunk/LayoutTests/inspector-obsolete/styles/styles-computed-trace.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisableinheritedexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-inherited-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisableinheritedhtml">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-inherited.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisablethenchangeexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-change-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisablethenchangehtml">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-change.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisablethendeleteexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-delete-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisablethendeletehtml">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-delete.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisablethenenableexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisablethenenableoverridenuaexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-overriden-ua-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisablethenenableoverridenuahtml">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-overriden-ua.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesdisablethenenablehtml">trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesformattingexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-formatting-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesformattinghtml">trunk/LayoutTests/inspector-obsolete/styles/styles-formatting.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstyleshistoryexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-history-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstyleshistoryhtml">trunk/LayoutTests/inspector-obsolete/styles/styles-history.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesiframeexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-iframe-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesiframehtml">trunk/LayoutTests/inspector-obsolete/styles/styles-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesincludehostrulescrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-include-host-rules-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesincludehostrulescrashhtml">trunk/LayoutTests/inspector-obsolete/styles/styles-include-host-rules-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesinvalidcolorvaluesexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-invalid-color-values-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesinvalidcolorvalueshtml">trunk/LayoutTests/inspector-obsolete/styles/styles-invalid-color-values.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesnewAPIexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-new-API-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesnewAPIhtml">trunk/LayoutTests/inspector-obsolete/styles/styles-new-API.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesoverridenpropertiesexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-overriden-properties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylesoverridenpropertieshtml">trunk/LayoutTests/inspector-obsolete/styles/styles-overriden-properties.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylessourcelinesexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylessourcelinesinlineexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylessourcelinesinlinehtml">trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-inline.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylessourcelineshtml">trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylessourceoffsetsexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/styles-source-offsets-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesstylessourceoffsetshtml">trunk/LayoutTests/inspector-obsolete/styles/styles-source-offsets.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundoaddnewruleexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/undo-add-new-rule-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundoaddnewrulehtml">trunk/LayoutTests/inspector-obsolete/styles/undo-add-new-rule.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundoaddpropertyexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/undo-add-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundoaddpropertyhtml">trunk/LayoutTests/inspector-obsolete/styles/undo-add-property.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundoaddrulecrashexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/undo-add-rule-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundoaddrulecrashhtml">trunk/LayoutTests/inspector-obsolete/styles/undo-add-rule-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundochangepropertyexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/undo-change-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundochangepropertyhtml">trunk/LayoutTests/inspector-obsolete/styles/undo-change-property.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundopropertytoggleexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/undo-property-toggle-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundopropertytogglehtml">trunk/LayoutTests/inspector-obsolete/styles/undo-property-toggle.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundosetselectortextexpectedtxt">trunk/LayoutTests/inspector-obsolete/styles/undo-set-selector-text-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletestylesundosetselectortexthtml">trunk/LayoutTests/inspector-obsolete/styles/undo-set-selector-text.html</a></li>
<li>trunk/LayoutTests/inspector-obsolete/timeline/</li>
<li>trunk/LayoutTests/inspector-obsolete/timeline/resources/</li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcesanImagepng">trunk/LayoutTests/inspector-obsolete/timeline/resources/anImage.png</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcesanotherImagepng">trunk/LayoutTests/inspector-obsolete/timeline/resources/anotherImage.png</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcesbigpng">trunk/LayoutTests/inspector-obsolete/timeline/resources/big.png</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcestestbmp">trunk/LayoutTests/inspector-obsolete/timeline/resources/test.bmp</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcestestgif">trunk/LayoutTests/inspector-obsolete/timeline/resources/test.gif</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcestestico">trunk/LayoutTests/inspector-obsolete/timeline/resources/test.ico</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcestestjpg">trunk/LayoutTests/inspector-obsolete/timeline/resources/test.jpg</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcestestpng">trunk/LayoutTests/inspector-obsolete/timeline/resources/test.png</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcestestwebp">trunk/LayoutTests/inspector-obsolete/timeline/resources/test.webp</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcestimelineiframedatahtml">trunk/LayoutTests/inspector-obsolete/timeline/resources/timeline-iframe-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelineresourcestimelineiframepainthtml">trunk/LayoutTests/inspector-obsolete/timeline/resources/timeline-iframe-paint.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineanimationframeexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-animation-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineanimationframehtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-animation-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinedecoderesizeexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-decode-resize-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinedecoderesizehtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-decode-resize.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinedomcontentloadedeventexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-dom-content-loaded-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinedomcontentloadedeventhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-dom-content-loaded-event.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineeventdispatchexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-event-dispatch-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineeventdispatchhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-event-dispatch.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineframesexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-frames-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineframeshtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-frames.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineinjectedscriptevalexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-injected-script-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineinjectedscriptevalhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-injected-script-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinelayoutexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinelayoutreasonexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-reason-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinelayoutreasonhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-reason.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinelayouthtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineloadeventexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineloadeventhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-event.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineloadexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineloadhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-load.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkreceiveddataexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-received-data-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkreceiveddatahtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-received-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkresourceexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkresourcehtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkresourcejs">trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinepaintexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-paint-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinepainthtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-paint.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineparsehtmlexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-parse-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelineparsehtmlhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-parse-html.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinerecalculatestylesexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-recalculate-styles-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinerecalculatestyleshtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-recalculate-styles.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinereceiveresponseeventexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-receive-response-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinereceiveresponseeventhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-receive-response-event.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag1expectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag1html">trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-1.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag2expectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag2html">trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag2js">trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2.js</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinestarttimeexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-start-time-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinestarttimehtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-start-time.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetimeexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetimestampexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-stamp-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetimestamphtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-stamp.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetimehtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-time.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetimerexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetimerfiredfromevalcallsiteexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-fired-from-eval-call-site-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetimerfiredfromevalcallsitehtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-fired-from-eval-call-site.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetimerhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetrivialexpectedtxt">trunk/LayoutTests/inspector-obsolete/timeline/timeline-trivial-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoletetimelinetimelinetrivialhtml">trunk/LayoutTests/inspector-obsolete/timeline/timeline-trivial.html</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteutilitiesexpectedtxt">trunk/LayoutTests/inspector-obsolete/utilities-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorobsoleteutilitieshtml">trunk/LayoutTests/inspector-obsolete/utilities.html</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheappcacheiframemanifestsexpectedtxt">trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheappcacheiframemanifestshtml">trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheappcachemanifestwithnonexistingfileexpectedtxt">trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheappcachemanifestwithnonexistingfilehtml">trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheappcacheswapexpectedtxt">trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheappcacheswaphtml">trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheappcachetestjs">trunk/LayoutTests/http/tests/inspector/appcache/appcache-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheresourcesmanifestphp">trunk/LayoutTests/http/tests/inspector/appcache/resources/manifest.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheresourcespagewithmanifestphp">trunk/LayoutTests/http/tests/inspector/appcache/resources/page-with-manifest.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheresourcesversionedmanifestphp">trunk/LayoutTests/http/tests/inspector/appcache/resources/versioned-manifest.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorappcacheresourceswithversionedmanifestphp">trunk/LayoutTests/http/tests/inspector/appcache/resources/with-versioned-manifest.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorauditsresourcesabepng">trunk/LayoutTests/http/tests/inspector/audits/resources/abe.png</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorauditssetcookieheaderauditnofalsepositiveexpectedtxt">trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorauditssetcookieheaderauditnofalsepositivehtml">trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorchangeiframesrcexpectedtxt">trunk/LayoutTests/http/tests/inspector/change-iframe-src-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorchangeiframesrchtml">trunk/LayoutTests/http/tests/inspector/change-iframe-src.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorcompilerscriptmappingexpectedtxt">trunk/LayoutTests/http/tests/inspector/compiler-script-mapping-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorcompilerscriptmappinghtml">trunk/LayoutTests/http/tests/inspector/compiler-script-mapping.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorcompilersourcemappingdebugexpectedtxt">trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorcompilersourcemappingdebughtml">trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolecdcompletionsexpectedtxt">trunk/LayoutTests/http/tests/inspector/console-cd-completions-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolecdcompletionshtml">trunk/LayoutTests/http/tests/inspector/console-cd-completions.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolecdexpectedtxt">trunk/LayoutTests/http/tests/inspector/console-cd-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolecdhtml">trunk/LayoutTests/http/tests/inspector/console-cd.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolecrossoriginiframeloggingexpectedtxt">trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolecrossoriginiframelogginghtml">trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsoleresourceerrorsexpectedtxt">trunk/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsoleresourceerrorshtml">trunk/LayoutTests/http/tests/inspector/console-resource-errors.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsoletestjs">trunk/LayoutTests/http/tests/inspector/console-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolewebsocketerrorhtml">trunk/LayoutTests/http/tests/inspector/console-websocket-error.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolexhrloggingasyncexpectedtxt">trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolexhrloggingasynchtml">trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolexhrloggingexpectedtxt">trunk/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorconsolexhrlogginghtml">trunk/LayoutTests/http/tests/inspector/console-xhr-logging.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectordebuggertestjs">trunk/LayoutTests/http/tests/inspector/debugger-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorelementstestjs">trunk/LayoutTests/http/tests/inspector/elements-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsheadersexpectedtxt">trunk/LayoutTests/http/tests/inspector/extensions-headers-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsheadershtml">trunk/LayoutTests/http/tests/inspector/extensions-headers.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsiframeevalexpectedtxt">trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsiframeevalhtml">trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsignorecacheexpectedtxt">trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsignorecachehtml">trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsnetworkredirectexpectedtxt">trunk/LayoutTests/http/tests/inspector/extensions-network-redirect-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsnetworkredirecthtml">trunk/LayoutTests/http/tests/inspector/extensions-network-redirect.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionsnetworktestjs">trunk/LayoutTests/http/tests/inspector/extensions-network-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorextensionstestjs">trunk/LayoutTests/http/tests/inspector/extensions-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbdatabasedataexpectedtxt">trunk/LayoutTests/http/tests/inspector/indexeddb/database-data-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbdatabasedatahtml">trunk/LayoutTests/http/tests/inspector/indexeddb/database-data.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbdatabasenamesexpectedtxt">trunk/LayoutTests/http/tests/inspector/indexeddb/database-names-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbdatabasenameshtml">trunk/LayoutTests/http/tests/inspector/indexeddb/database-names.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbdatabasestructureexpectedtxt">trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbdatabasestructurehtml">trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbindexeddbtestjs">trunk/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbresourceswithoutindexeddbhtml">trunk/LayoutTests/http/tests/inspector/indexeddb/resources/without-indexed-db.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbresourcespanelexpectedtxt">trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorindexeddbresourcespanelhtml">trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorinspectelementexpectedtxt">trunk/LayoutTests/http/tests/inspector/inspect-element-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorinspectelementhtml">trunk/LayoutTests/http/tests/inspector/inspect-element.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorinspectiframefromdifferentdomainexpectedtxt">trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorinspectiframefromdifferentdomainhtml">trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorinspectortestjs">trunk/LayoutTests/http/tests/inspector/inspector-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorisolatedfilesystemtestjs">trunk/LayoutTests/http/tests/inspector/isolated-filesystem-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorliveedittestjs">trunk/LayoutTests/http/tests/inspector/live-edit-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectormodifycrossdomainruleexpectedtxt">trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectormodifycrossdomainrulehtml">trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkasyncxhrjsonmimetypeexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkasyncxhrjsonmimetypehtml">trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedmovedtostorageexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedmovedtostoragehtml">trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedtoobigdiscardedexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedtoobigdiscardedhtml">trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkcsssourcemappingurlexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkcsssourcemappingurlhtml">trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkdownloadexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/download-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkdownloadhtml">trunk/LayoutTests/http/tests/inspector/network/download.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkharcontentexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/har-content-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkharcontenthtml">trunk/LayoutTests/http/tests/inspector/network/har-content.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkimageastextloadingdataurlexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkimageastextloadingdataurlhtml">trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkcachedresourceswithsameurlsexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkcachedresourceswithsameurlshtml">trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkclearcacheexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-clear-cache-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkclearcachehtmldisabled">trunk/LayoutTests/http/tests/inspector/network/network-clear-cache.html-disabled</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkclearcookiesexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkclearcookieshtmldisabled">trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies.html-disabled</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementembedexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementembedhtml">trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementxhrexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementxhrhtml">trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkcyrillicxhrexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkcyrillicxhrhtml">trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkdisablecachememoryexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkdisablecachememoryhtml">trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkdisablecachexhrsexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkdisablecachexhrshtml">trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkdisablingchecknomemoryleakexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkdisablingchecknomemoryleakhtml">trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkembedexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-embed-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkembedhtml">trunk/LayoutTests/http/tests/inspector/network/network-embed.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkemptyxhrexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkemptyxhrhtml">trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkiframeloadanddeleteexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkiframeloadanddeletehtml">trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkimage404expectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-image-404-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkimage404html">trunk/LayoutTests/http/tests/inspector/network/network-image-404.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkinitiatorexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-initiator-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkinitiatorfromconsoleexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkinitiatorfromconsolehtml">trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkinitiatorhtml">trunk/LayoutTests/http/tests/inspector/network/network-initiator.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkpreviewjsonexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkpreviewjsonhtml">trunk/LayoutTests/http/tests/inspector/network/network-preview-json.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkrequestrevisioncontentexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkrequestrevisioncontenthtml">trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksharedworkerexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-shared-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksharedworkerhtml">trunk/LayoutTests/http/tests/inspector/network/network-shared-worker.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksidebarwidthexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksidebarwidthhtml">trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksizechunkedexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-size-chunked-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksizechunkedhtml">trunk/LayoutTests/http/tests/inspector/network/network-size-chunked.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksizeexpectedchunkedtxt">trunk/LayoutTests/http/tests/inspector/network/network-size-expected-chunked.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksizeexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-size-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksizesyncexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-size-sync-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksizesynchtml">trunk/LayoutTests/http/tests/inspector/network/network-size-sync.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworksizehtml">trunk/LayoutTests/http/tests/inspector/network/network-size.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworktimingexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-timing-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworktiminghtml">trunk/LayoutTests/http/tests/inspector/network/network-timing.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkworkerexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-worker-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkworkerhtml">trunk/LayoutTests/http/tests/inspector/network/network-worker.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncdoubleexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncdoublehtml">trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrasynchtml">trunk/LayoutTests/http/tests/inspector/network/network-xhr-async.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrreplayexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrreplayhtml">trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrsameurlasmainresourceexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrsameurlasmainresourcehtml">trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrsyncexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworknetworkxhrsynchtml">trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkpingexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/ping-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkpinghtml">trunk/LayoutTests/http/tests/inspector/network/ping.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkrequestnamepathexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/request-name-path-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkrequestnamepathhtml">trunk/LayoutTests/http/tests/inspector/network/request-name-path.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkrequestparametersdecodingexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkrequestparametersdecodinghtml">trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresources404php">trunk/LayoutTests/http/tests/inspector/network/resources/404.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcescp1251xml">trunk/LayoutTests/http/tests/inspector/network/resources/cp1251.xml</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcescyrillichtml">trunk/LayoutTests/http/tests/inspector/network/resources/cyrillic.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesdownloadzzz">trunk/LayoutTests/http/tests/inspector/network/resources/download.zzz</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesechopayloadphp">trunk/LayoutTests/http/tests/inspector/network/resources/echo-payload.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesemptyhtml">trunk/LayoutTests/http/tests/inspector/network/resources/empty.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesinitiatorcss">trunk/LayoutTests/http/tests/inspector/network/resources/initiator.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesjsonphp">trunk/LayoutTests/http/tests/inspector/network/resources/json.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesplugindataphp">trunk/LayoutTests/http/tests/inspector/network/resources/plugin-data.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesrandomcachedphp">trunk/LayoutTests/http/tests/inspector/network/resources/random-cached.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesrandomscriptphp">trunk/LayoutTests/http/tests/inspector/network/resources/random-script.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesresourcephp">trunk/LayoutTests/http/tests/inspector/network/resources/resource.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesscriptastextwithaveryveryveryveryveryveryveryveryveryveryveryveryveryverylongurlphp">trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesscriptastextphp">trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesscriptjs">trunk/LayoutTests/http/tests/inspector/network/resources/script.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcessetcookiephp">trunk/LayoutTests/http/tests/inspector/network/resources/set-cookie.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcessharedworkerjs">trunk/LayoutTests/http/tests/inspector/network/resources/shared-worker.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcessilent_scriptjs">trunk/LayoutTests/http/tests/inspector/network/resources/silent_script.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylecss">trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylecssmap">trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css.map</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylescss">trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.scss</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesstylecss">trunk/LayoutTests/http/tests/inspector/network/resources/style.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesutf8xml">trunk/LayoutTests/http/tests/inspector/network/resources/utf8.xml</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesworkerjs">trunk/LayoutTests/http/tests/inspector/network/resources/worker.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkresourcesxframeoptionsdenycgi">trunk/LayoutTests/http/tests/inspector/network/resources/x-frame-options-deny.cgi</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkscriptastextloadingexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkscriptastextloadinglongurlexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkscriptastextloadinglongurlhtml">trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkscriptastextloadingwithcaretexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkscriptastextloadingwithcarethtml">trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkscriptastextloadinghtml">trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkxframeoptionsdenyexpectedtxt">trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkxframeoptionsdenyhtml">trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkpreflightoptionsexpectedtxt">trunk/LayoutTests/http/tests/inspector/network-preflight-options-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworkpreflightoptionshtml">trunk/LayoutTests/http/tests/inspector/network-preflight-options.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectornetworktestjs">trunk/LayoutTests/http/tests/inspector/network-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorprotocoltestjs">trunk/LayoutTests/http/tests/inspector/protocol-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourceharconversionexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-har-conversion-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourceharconversionhtml">trunk/LayoutTests/http/tests/inspector/resource-har-conversion.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourceharheadersexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-har-headers-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourceharheadershtml">trunk/LayoutTests/http/tests/inspector/resource-har-headers.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourceharpagesexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-har-pages-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourceharpageshtml">trunk/LayoutTests/http/tests/inspector/resource-har-pages.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcemaincookiesexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-main-cookies-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcemaincookiesphp">trunk/LayoutTests/http/tests/inspector/resource-main-cookies.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourceparametersexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-parameters-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourceparametershtml">trunk/LayoutTests/http/tests/inspector/resource-parameters.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentafterloadingandclearingcacheexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentafterloadingandclearingcachehtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentwhileloadingexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentwhileloadinghtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreedocumenturlexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreedocumenturlhtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeerrorsreloadexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeerrorsreloadhtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeeventsexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeeventshtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframeaddexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframeaddhtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframenavigateexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframenavigatehtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeinvalidmimetypecsscontentexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeinvalidmimetypecsscontenthtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreemimetypeexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreemimetypehtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenoxhrsexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenoxhrshtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenonuniqueurlexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenonuniqueurlhtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreereloadexpectedtxt">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreereloadhtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcetreetestjs">trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesdummyiframehtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dummy-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesdynamicscriptjs">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dynamic-script.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesemptypng">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/empty.png</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframeaddiframehtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframenavigateiframeafterhtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframenavigateiframebeforehtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreenonuniqueurliframehtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-non-unique-url-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreereloadiframehtml">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-reload-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesscriptinitialjs">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-initial.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesscriptnavigatedjs">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesinitial2css">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial-2.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesinitialcss">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesnavigatedcss">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-navigated.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesnonuniqueurlcss">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-non-unique-url.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesheettextplainphp">trunk/LayoutTests/http/tests/inspector/resource-tree/resources/stylesheet-text-plain.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcescompiledjs">trunk/LayoutTests/http/tests/inspector/resources/compiled.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesconsolecdcompletionsiframehtml">trunk/LayoutTests/http/tests/inspector/resources/console-cd-completions-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesconsolecdiframehtml">trunk/LayoutTests/http/tests/inspector/resources/console-cd-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesconsoleresourceerrorsiframehtml">trunk/LayoutTests/http/tests/inspector/resources/console-resource-errors-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcescorstargetphp">trunk/LayoutTests/http/tests/inspector/resources/cors-target.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcescrossoriginiframehtml">trunk/LayoutTests/http/tests/inspector/resources/cross-origin-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesechoheadersphp">trunk/LayoutTests/http/tests/inspector/resources/echo-headers.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesemptyzip">trunk/LayoutTests/http/tests/inspector/resources/empty.zip</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesexamplecssmap">trunk/LayoutTests/http/tests/inspector/resources/example.css.map</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesexamplescss">trunk/LayoutTests/http/tests/inspector/resources/example.scss</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesextensionmainhtml">trunk/LayoutTests/http/tests/inspector/resources/extension-main.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesextensionmainjs">trunk/LayoutTests/http/tests/inspector/resources/extension-main.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesextensionpanelhtml">trunk/LayoutTests/http/tests/inspector/resources/extension-panel.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesextensionsidebarhtml">trunk/LayoutTests/http/tests/inspector/resources/extension-sidebar.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesextensionsframeevalhtml">trunk/LayoutTests/http/tests/inspector/resources/extensions-frame-eval.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesharpagesiframehtml">trunk/LayoutTests/http/tests/inspector/resources/har-pages-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesharpagesnavigationtargethtml">trunk/LayoutTests/http/tests/inspector/resources/har-pages-navigation-target.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesiframefromdifferentdomaindatahtml">trunk/LayoutTests/http/tests/inspector/resources/iframe-from-different-domain-data.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesinspectelementiframehtml">trunk/LayoutTests/http/tests/inspector/resources/inspect-element-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesposttargetcgi">trunk/LayoutTests/http/tests/inspector/resources/post-target.cgi</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesresourceformdatareceiveriframehtml">trunk/LayoutTests/http/tests/inspector/resources/resource-form-data-receiver-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcessourcemapjson">trunk/LayoutTests/http/tests/inspector/resources/source-map.json</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcessource1js">trunk/LayoutTests/http/tests/inspector/resources/source1.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcessource2js">trunk/LayoutTests/http/tests/inspector/resources/source2.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcestestscannerhtml">trunk/LayoutTests/http/tests/inspector/resources/test-scanner.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcesxhrexistshtml">trunk/LayoutTests/http/tests/inspector/resources/xhr-exists.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorresourcestestjs">trunk/LayoutTests/http/tests/inspector/resources-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchresourcessearchconcatenatedhtml">trunk/LayoutTests/http/tests/inspector/search/resources/search-concatenated.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchresourcessearchcss">trunk/LayoutTests/http/tests/inspector/search/resources/search.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchresourcessearchhtml">trunk/LayoutTests/http/tests/inspector/search/resources/search.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchresourcessearchjs">trunk/LayoutTests/http/tests/inspector/search/resources/search.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchresourcessearchmatchindexexpectedtxt">trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchresourcessearchmatchindexhtml">trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchscriptssearchscopeexpectedtxt">trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchscriptssearchscopehtml">trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinconcatenatedscriptexpectedtxt">trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinconcatenatedscripthtml">trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinnonexistingresourceexpectedtxt">trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinnonexistingresourcehtml">trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinresourceexpectedtxt">trunk/LayoutTests/http/tests/inspector/search/search-in-resource-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinresourcehtml">trunk/LayoutTests/http/tests/inspector/search/search-in-resource.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinresourcesexpectedtxt">trunk/LayoutTests/http/tests/inspector/search/search-in-resources-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinresourceshtml">trunk/LayoutTests/http/tests/inspector/search/search-in-resources.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinscriptexpectedtxt">trunk/LayoutTests/http/tests/inspector/search/search-in-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinscripthtml">trunk/LayoutTests/http/tests/inspector/search/search-in-script.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinstaticexpectedtxt">trunk/LayoutTests/http/tests/inspector/search/search-in-static-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchinstatichtml">trunk/LayoutTests/http/tests/inspector/search/search-in-static.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorsearchsearchtestjs">trunk/LayoutTests/http/tests/inspector/search/search-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracescspinjectedcontentwarningcontainsstacktraceexpectedtxt">trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracescspinjectedcontentwarningcontainsstacktracehtml">trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracescspinlinewarningcontainsstacktraceexpectedtxt">trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracescspinlinewarningcontainsstacktracehtml">trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracescspsetIntervalwarningcontainsstacktraceexpectedtxt">trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracescspsetIntervalwarningcontainsstacktracehtml">trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracescspsetTimeoutwarningcontainsstacktraceexpectedtxt">trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracescspsetTimeoutwarningcontainsstacktracehtml">trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracesresourcescspinlinetestjs">trunk/LayoutTests/http/tests/inspector/stacktraces/resources/csp-inline-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstacktracesresourcesstacktracetestjs">trunk/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesmodifycrossdomainrulecss">trunk/LayoutTests/http/tests/inspector/styles/modify-cross-domain-rule.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesresourcesstylesredirectedcsscss">trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.css</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesresourcesstylesredirectedcssphp">trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.php</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesresourcesxsltransformedxsl">trunk/LayoutTests/http/tests/inspector/styles/resources/xsl-transformed.xsl</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesstylesredirectedcssexpectedtxt">trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesstylesredirectedcsshtml">trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesxsltransformedexpectedtxt">trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesxsltransformedxml">trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed.xml</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesheetsourcemappingexpectedtxt">trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorstylesheetsourcemappinghtml">trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectortimelinetestjs">trunk/LayoutTests/http/tests/inspector/timeline-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorwebsocketframeerrorexpectedtxt">trunk/LayoutTests/http/tests/inspector/web-socket-frame-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorwebsocketframeerrorhtml">trunk/LayoutTests/http/tests/inspector/web-socket-frame-error.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorwebsockettimelinewebsocketeventexpectedtxt">trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorwebsockettimelinewebsocketeventhtml">trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorwebsocketwebsocketframeexpectedtxt">trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorwebsocketwebsocketframehtml">trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorworkspacetestjs">trunk/LayoutTests/http/tests/inspector/workspace-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframenavigationexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframenavigationhtml">trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframeremoveexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframeremovehtml">trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledconsolelogbeforeframenavigationexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledconsolelogbeforeframenavigationhtml">trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddatabaseopenexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/database-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddatabaseopenhtml">trunk/LayoutTests/http/tests/inspector-enabled/database-open.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddedicatedworkerslistexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddedicatedworkerslisthtml">trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddocumentwriteexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/document-write-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddocumentwritehtml">trunk/LayoutTests/http/tests/inspector-enabled/document-write.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddomstorageopenexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddomstorageopenhtml">trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddynamicscriptsexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenableddynamicscriptshtml">trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledinjectedscriptdiscardexpectedtxt">trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard-expected.txt</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledinjectedscriptdiscardhtml">trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledresourcesconsoleclearargumentsiframehtml">trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-iframe.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledresourcesconsoleclearargumentstestjs">trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-test.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledresourcesconsolelogframeafternavigationhtml">trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-after-navigation.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledresourcesconsolelogframebeforenavigationhtml">trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-before-navigation.html</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledresourcesdedicatedworkerjs">trunk/LayoutTests/http/tests/inspector-enabled/resources/dedicated-worker.js</a></li>
<li><a href="#trunkLayoutTestshttptestsinspectorenabledresourcesdynamicscriptjs">trunk/LayoutTests/http/tests/inspector-enabled/resources/dynamic-script.js</a></li>
<li><a href="#trunkLayoutTestsinspectorconsolealerttoStringexceptionexpectedtxt">trunk/LayoutTests/inspector/console/alert-toString-exception-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsolealerttoStringexceptionhtml">trunk/LayoutTests/inspector/console/alert-toString-exception.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleclientsignoredinprivatebrowsingexpectedtxt">trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleclientsignoredinprivatebrowsinghtml">trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsolecommandlineapiexpectedtxt">trunk/LayoutTests/inspector/console/command-line-api-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsolecommandlineapiinspectexpectedtxt">trunk/LayoutTests/inspector/console/command-line-api-inspect-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsolecommandlineapiinspecthtml">trunk/LayoutTests/inspector/console/command-line-api-inspect.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsolecommandlineapihtml">trunk/LayoutTests/inspector/console/command-line-api.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleObjectoverwrittenexpectedtxt">trunk/LayoutTests/inspector/console/console-Object-overwritten-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleObjectoverwrittenhtml">trunk/LayoutTests/inspector/console/console-Object-overwritten.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleapioncallframeexpectedtxt">trunk/LayoutTests/inspector/console/console-api-on-call-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleapioncallframehtml">trunk/LayoutTests/inspector/console/console-api-on-call-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleassertexpectedtxt">trunk/LayoutTests/inspector/console/console-assert-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleasserthtml">trunk/LayoutTests/inspector/console/console-assert.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolebindfakeexpectedtxt">trunk/LayoutTests/inspector/console/console-bind-fake-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolebindfakehtml">trunk/LayoutTests/inspector/console/console-bind-fake.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleclearfunctionexpectedtxt">trunk/LayoutTests/inspector/console/console-clear-function-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleclearfunctionhtml">trunk/LayoutTests/inspector/console/console-clear-function.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolecommandclearexpectedtxt">trunk/LayoutTests/inspector/console/console-command-clear-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolecommandclearhtml">trunk/LayoutTests/inspector/console/console-command-clear.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolecsswarningsexpectedtxt">trunk/LayoutTests/inspector/console/console-css-warnings-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolecsswarningshtml">trunk/LayoutTests/inspector/console/console-css-warnings.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoledirexpectedtxt">trunk/LayoutTests/inspector/console/console-dir-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoledirglobalexpectedtxt">trunk/LayoutTests/inspector/console/console-dir-global-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoledirglobalhtml">trunk/LayoutTests/inspector/console/console-dir-global.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoledirhtml">trunk/LayoutTests/inspector/console/console-dir.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalblockedexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-blocked-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalblockedhtml">trunk/LayoutTests/inspector/console/console-eval-blocked.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalcommentexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-comment-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalcommenthtml">trunk/LayoutTests/inspector/console/console-eval-comment.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalfakeexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-fake-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalfakehtml">trunk/LayoutTests/inspector/console/console-eval-fake.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalglobalexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-global-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalglobalhtml">trunk/LayoutTests/inspector/console/console-eval-global.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalscopedexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-scoped-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalscopedhtml">trunk/LayoutTests/inspector/console/console-eval-scoped.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalsyntaxerrorexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-syntax-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalsyntaxerrorhtml">trunk/LayoutTests/inspector/console/console-eval-syntax-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalthrowundefinedexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-throw-undefined-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalthrowundefinedhtml">trunk/LayoutTests/inspector/console/console-eval-throw-undefined.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalundefinedoverrideexpectedtxt">trunk/LayoutTests/inspector/console/console-eval-undefined-override-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalundefinedoverridehtml">trunk/LayoutTests/inspector/console/console-eval-undefined-override.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleevalhtml">trunk/LayoutTests/inspector/console/console-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleexceptionstacktracesexpectedtxt">trunk/LayoutTests/inspector/console/console-exception-stack-traces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleexceptionstacktraceshtml">trunk/LayoutTests/inspector/console/console-exception-stack-traces.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleexternalarrayexpectedtxt">trunk/LayoutTests/inspector/console/console-external-array-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleexternalarrayhtml">trunk/LayoutTests/inspector/console/console-external-array.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelastresultexpectedtxt">trunk/LayoutTests/inspector/console/console-last-result-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelastresulthtml">trunk/LayoutTests/inspector/console/console-last-result.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelogbeforeinspectoropenexpectedtxt">trunk/LayoutTests/inspector/console/console-log-before-inspector-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelogbeforeinspectoropenhtml">trunk/LayoutTests/inspector/console/console-log-before-inspector-open.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelogdocumentprotoexpectedtxt">trunk/LayoutTests/inspector/console/console-log-document-proto-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelogdocumentprotohtml">trunk/LayoutTests/inspector/console/console-log-document-proto.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelognativefuncsexpectedtxt">trunk/LayoutTests/inspector/console/console-log-native-funcs-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelogsyntaxerrorexpectedtxt">trunk/LayoutTests/inspector/console/console-log-syntax-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelogsyntaxerrorhtml">trunk/LayoutTests/inspector/console/console-log-syntax-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelogtoStringobjectexpectedtxt">trunk/LayoutTests/inspector/console/console-log-toString-object-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelogtoStringobjecthtml">trunk/LayoutTests/inspector/console/console-log-toString-object.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelongevalcrashexpectedtxt">trunk/LayoutTests/inspector/console/console-long-eval-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolelongevalcrashhtml">trunk/LayoutTests/inspector/console/console-long-eval-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolemessageformatexpectedtxt">trunk/LayoutTests/inspector/console/console-message-format-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolemessageformathtml">trunk/LayoutTests/inspector/console/console-message-format.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolemessagesstacktracesexpectedtxt">trunk/LayoutTests/inspector/console/console-messages-stack-traces-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolemessagesstacktraceshtml">trunk/LayoutTests/inspector/console/console-messages-stack-traces.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolenativefunctiontostringexpectedtxt">trunk/LayoutTests/inspector/console/console-native-function-to-string-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolenativefunctiontostringhtml">trunk/LayoutTests/inspector/console/console-native-function-to-string.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolenestedgroupexpectedtxt">trunk/LayoutTests/inspector/console/console-nested-group-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolenestedgrouphtml">trunk/LayoutTests/inspector/console/console-nested-group.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleobjectconstructornameexpectedtxt">trunk/LayoutTests/inspector/console/console-object-constructor-name-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleobjectconstructornamehtml">trunk/LayoutTests/inspector/console/console-object-constructor-name.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleobjectpreviewexpectedtxt">trunk/LayoutTests/inspector/console/console-object-preview-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleobjectpreviewhtml">trunk/LayoutTests/inspector/console/console-object-preview.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleoriginatingcommandexpectedtxt">trunk/LayoutTests/inspector/console/console-originating-command-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleoriginatingcommandhtml">trunk/LayoutTests/inspector/console/console-originating-command.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolepreservelogexpectedtxt">trunk/LayoutTests/inspector/console/console-preserve-log-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolepreserveloghtml">trunk/LayoutTests/inspector/console/console-preserve-log.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolerepeatcountexpectedtxt">trunk/LayoutTests/inspector/console/console-repeat-count-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolerepeatcounthtml">trunk/LayoutTests/inspector/console/console-repeat-count.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolestringformatexpectedtxt">trunk/LayoutTests/inspector/console/console-string-format-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolestringformathtml">trunk/LayoutTests/inspector/console/console-string-format.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolesubstitutedexpectedtxt">trunk/LayoutTests/inspector/console/console-substituted-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolesubstitutedhtml">trunk/LayoutTests/inspector/console/console-substituted.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoletestsexpectedtxt">trunk/LayoutTests/inspector/console/console-tests-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoletestshtml">trunk/LayoutTests/inspector/console/console-tests.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoletraceexpectedtxt">trunk/LayoutTests/inspector/console/console-trace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoletraceinevalexpectedtxt">trunk/LayoutTests/inspector/console/console-trace-in-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoletraceinevalhtml">trunk/LayoutTests/inspector/console/console-trace-in-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoletracehtml">trunk/LayoutTests/inspector/console/console-trace.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptionexpectedtxt">trunk/LayoutTests/inspector/console/console-uncaught-exception-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptioninevalexpectedtxt">trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptioninevalhtml">trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptionhtml">trunk/LayoutTests/inspector/console/console-uncaught-exception.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleurllinecolumnexpectedtxt">trunk/LayoutTests/inspector/console/console-url-line-column-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsoleurllinecolumnhtml">trunk/LayoutTests/inspector/console/console-url-line-column.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolexmldocumentexpectedtxt">trunk/LayoutTests/inspector/console/console-xml-document-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolexmldocumenthtml">trunk/LayoutTests/inspector/console/console-xml-document.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolexpathexpectedtxt">trunk/LayoutTests/inspector/console/console-xpath-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleconsolexpathhtml">trunk/LayoutTests/inspector/console/console-xpath.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleinspecthtmlallcollectionexpectedtxt">trunk/LayoutTests/inspector/console/inspect-html-all-collection-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleinspecthtmlallcollectionhtml">trunk/LayoutTests/inspector/console/inspect-html-all-collection.html</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleresourceslogsourcejs">trunk/LayoutTests/inspector/console/resources/log-source.js</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleresourcessyntaxerrorjs">trunk/LayoutTests/inspector/console/resources/syntax-error.js</a></li>
<li><a href="#trunkLayoutTestsinspectorconsoleresourcesuncaughtiniframehtml">trunk/LayoutTests/inspector/console/resources/uncaught-in-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerbreakpointmanagerexpectedtxt">trunk/LayoutTests/inspector/debugger/breakpoint-manager-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerbreakpointmanagerhtml">trunk/LayoutTests/inspector/debugger/breakpoint-manager.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggercopystacktraceexpectedtxt">trunk/LayoutTests/inspector/debugger/copy-stack-trace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggercopystacktracehtml">trunk/LayoutTests/inspector/debugger/copy-stack-trace.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggeractivationcrashexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-activation-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggeractivationcrashhtml">trunk/LayoutTests/inspector/debugger/debugger-activation-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggeractivationcrash2expectedtxt">trunk/LayoutTests/inspector/debugger/debugger-activation-crash2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggeractivationcrash2html">trunk/LayoutTests/inspector/debugger/debugger-activation-crash2.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerautocontinueonsyntaxerrorexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerautocontinueonsyntaxerrorhtml">trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerbreakpointsnotactivatedonreloadexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerbreakpointsnotactivatedonreloadhtml">trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggercompileandrunexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-compile-and-run-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggercompileandrunhtml">trunk/LayoutTests/inspector/debugger/debugger-compile-and-run.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggercompletionsoncallframeexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggercompletionsoncallframehtml">trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggercyclicrefexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggercyclicrefhtml">trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerevaloncallframeexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerevaloncallframehtml">trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerevalwhilepausedexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerevalwhilepausedhtml">trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggernonestedpauseexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggernonestedpausehtml">trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseinevalscriptexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseinevalscripthtml">trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseininternalexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseininternalhtml">trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedeventhandlerexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedeventhandlerhtml">trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscriptinjectionexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscriptinjectionhtml">trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscripturlexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscripturlhtml">trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseondebuggerstatementexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseondebuggerstatementhtml">trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonexceptionexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonexceptionhtml">trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonfailedassertionexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerpauseonfailedassertionhtml">trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerreloadonpauseexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerreloadonpausehtml">trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerscriptsexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-scripts-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerscriptsreloadexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-scripts-reload-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerscriptsreloadhtml">trunk/LayoutTests/inspector/debugger/debugger-scripts-reload.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerscriptshtml">trunk/LayoutTests/inspector/debugger/debugger-scripts.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggersetbreakpointregexexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggersetbreakpointregexhtml">trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerstepinexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-step-in-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerstepinhtml">trunk/LayoutTests/inspector/debugger/debugger-step-in.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerstepoutexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-step-out-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerstepouthtml">trunk/LayoutTests/inspector/debugger/debugger-step-out.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerstepoverexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-step-over-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggerstepoverhtml">trunk/LayoutTests/inspector/debugger/debugger-step-over.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggersuspendactivedomobjectsexpectedtxt">trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerdebuggersuspendactivedomobjectshtml">trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerevalonpauseblockedexpectedtxt">trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerevalonpauseblockedhtml">trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerfunctiondetailsexpectedtxt">trunk/LayoutTests/inspector/debugger/function-details-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerfunctiondetailshtml">trunk/LayoutTests/inspector/debugger/function-details.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggeropencloseopenexpectedtxt">trunk/LayoutTests/inspector/debugger/open-close-open-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggeropencloseopenhtml">trunk/LayoutTests/inspector/debugger/open-close-open.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerpauseininlinescriptexpectedtxt">trunk/LayoutTests/inspector/debugger/pause-in-inline-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerpauseininlinescripthtml">trunk/LayoutTests/inspector/debugger/pause-in-inline-script.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerpauseininternalscriptexpectedtxt">trunk/LayoutTests/inspector/debugger/pause-in-internal-script-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerpauseininternalscripthtml">trunk/LayoutTests/inspector/debugger/pause-in-internal-script.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcesdynamicscriptjs">trunk/LayoutTests/inspector/debugger/resources/dynamic-script.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourceseditmebreakpointsjs">trunk/LayoutTests/inspector/debugger/resources/edit-me-breakpoints.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourceseditmesyntaxerrorjs">trunk/LayoutTests/inspector/debugger/resources/edit-me-syntax-error.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourceseditmewhenpausedjs">trunk/LayoutTests/inspector/debugger/resources/edit-me-when-paused.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourceseditmejs">trunk/LayoutTests/inspector/debugger/resources/edit-me.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcesobfuscatedjs">trunk/LayoutTests/inspector/debugger/resources/obfuscated.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcespauseonblockedbycspjs">trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-by-csp.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcespauseonblockedeventhandlerjs">trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-event-handler.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcespauseonblockedscriptinjectionjs">trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-injection.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcespauseonblockedscripturljs">trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-url.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcesscript1js">trunk/LayoutTests/inspector/debugger/resources/script1.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcesscript2js">trunk/LayoutTests/inspector/debugger/resources/script2.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcesscript3js">trunk/LayoutTests/inspector/debugger/resources/script3.js</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerresourcessyntaxerrorhtml">trunk/LayoutTests/inspector/debugger/resources/syntax-error.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerscriptformatterexpectedtxt">trunk/LayoutTests/inspector/debugger/script-formatter-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerscriptformattersearchexpectedtxt">trunk/LayoutTests/inspector/debugger/script-formatter-search-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerscriptformattersearchhtml">trunk/LayoutTests/inspector/debugger/script-formatter-search.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggerscriptformatterhtml">trunk/LayoutTests/inspector/debugger/script-formatter.html</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggersourceurlcommentexpectedtxt">trunk/LayoutTests/inspector/debugger/source-url-comment-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectordebuggersourceurlcommenthtml">trunk/LayoutTests/inspector/debugger/source-url-comment.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsdomagentqueryselectorexpectedtxt">trunk/LayoutTests/inspector/elements/dom-agent-query-selector-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsdomagentqueryselectorhtml">trunk/LayoutTests/inspector/elements/dom-agent-query-selector.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsdomsearchcrashexpectedtxt">trunk/LayoutTests/inspector/elements/dom-search-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsdomsearchcrashhtml">trunk/LayoutTests/inspector/elements/dom-search-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementseditstyleattributeexpectedtxt">trunk/LayoutTests/inspector/elements/edit-style-attribute-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementseditstyleattributehtml">trunk/LayoutTests/inspector/elements/edit-style-attribute.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementselementspanelreloadassertexpectedtxt">trunk/LayoutTests/inspector/elements/elements-panel-reload-assert-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementselementspanelreloadasserthtml">trunk/LayoutTests/inspector/elements/elements-panel-reload-assert.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementselementspanelsearchexpectedtxt">trunk/LayoutTests/inspector/elements/elements-panel-search-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementselementspanelsearchhtml">trunk/LayoutTests/inspector/elements/elements-panel-search.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementselementspanelstylesexpectedtxt">trunk/LayoutTests/inspector/elements/elements-panel-styles-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementselementspanelstyleshtml">trunk/LayoutTests/inspector/elements/elements-panel-styles.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightnodeexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-node-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightnoderegionsexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-node-regions-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightnoderegionshtml">trunk/LayoutTests/inspector/elements/highlight-node-regions.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightnodescaledexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-node-scaled-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightnodescaledhtml">trunk/LayoutTests/inspector/elements/highlight-node-scaled.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightnodescrollexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightnodescrollhtml">trunk/LayoutTests/inspector/elements/highlight-node-scroll.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightnodehtml">trunk/LayoutTests/inspector/elements/highlight-node.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-regions-flow-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowhorizbtexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowhorizbthtml">trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowtransformexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowtransformhorizbtexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowtransformhorizbthtml">trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertlrexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertlrhtml">trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertrlexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertrlhtml">trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowtransformhtml">trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowvertlrexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowvertlrhtml">trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowvertrlexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowvertrlhtml">trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightregionsflowhtml">trunk/LayoutTests/inspector/elements/highlight-regions-flow.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightsvgrootexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-svg-root-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightsvgrootzoomedexpectedtxt">trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightsvgrootzoomedhtml">trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementshighlightsvgroothtml">trunk/LayoutTests/inspector/elements/highlight-svg-root.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsmutateunknownnodeexpectedtxt">trunk/LayoutTests/inspector/elements/mutate-unknown-node-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsmutateunknownnodehtmldisabled">trunk/LayoutTests/inspector/elements/mutate-unknown-node.html-disabled</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsperformundoundoexpectedtxt">trunk/LayoutTests/inspector/elements/perform-undo-undo-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsperformundoundohtml">trunk/LayoutTests/inspector/elements/perform-undo-undo.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresolvealiennodeexpectedtxt">trunk/LayoutTests/inspector/elements/resolve-alien-node-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresolvealiennodehtml">trunk/LayoutTests/inspector/elements/resolve-alien-node.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresolvenodeblockedexpectedtxt">trunk/LayoutTests/inspector/elements/resolve-node-blocked-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresolvenodeblockedhtml">trunk/LayoutTests/inspector/elements/resolve-node-blocked.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresourcesdomsearchcrashiframehtml">trunk/LayoutTests/inspector/elements/resources/dom-search-crash-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresourceselementspanelrewritehrefiframehtml">trunk/LayoutTests/inspector/elements/resources/elements-panel-rewrite-href-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresourceselementspanelstylescss">trunk/LayoutTests/inspector/elements/resources/elements-panel-styles.css</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresourceshideshortcutiframehtml">trunk/LayoutTests/inspector/elements/resources/hide-shortcut-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresourceshighlightnodescalediframehtml">trunk/LayoutTests/inspector/elements/resources/highlight-node-scaled-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresourcessethtmlviaresourceiframehtml">trunk/LayoutTests/inspector/elements/resources/set-html-via-resource-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsresourcessetouterhtmlbodyiframehtml">trunk/LayoutTests/inspector/elements/resources/set-outer-html-body-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetattributeexpectedtxt">trunk/LayoutTests/inspector/elements/set-attribute-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetattributenonhtmlexpectedtxt">trunk/LayoutTests/inspector/elements/set-attribute-non-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetattributenonhtmlsvg">trunk/LayoutTests/inspector/elements/set-attribute-non-html.svg</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetattributehtml">trunk/LayoutTests/inspector/elements/set-attribute.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtml2expectedtxt">trunk/LayoutTests/inspector/elements/set-outer-html-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtml2html">trunk/LayoutTests/inspector/elements/set-outer-html-2.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtmlbodyexpectedtxt">trunk/LayoutTests/inspector/elements/set-outer-html-body-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtmlbodyhtml">trunk/LayoutTests/inspector/elements/set-outer-html-body.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtmlexpectedtxt">trunk/LayoutTests/inspector/elements/set-outer-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtmlforxhtmlexpectedtxt">trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtmlforxhtmlxhtml">trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtmltestjs">trunk/LayoutTests/inspector/elements/set-outer-html-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorelementssetouterhtmlhtml">trunk/LayoutTests/inspector/elements/set-outer-html.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsundosetouterhtml2expectedtxt">trunk/LayoutTests/inspector/elements/undo-set-outer-html-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsundosetouterhtml2html">trunk/LayoutTests/inspector/elements/undo-set-outer-html-2.html</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsundosetouterhtmlexpectedtxt">trunk/LayoutTests/inspector/elements/undo-set-outer-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorelementsundosetouterhtmlhtml">trunk/LayoutTests/inspector/elements/undo-set-outer-html.html</a></li>
<li><a href="#trunkLayoutTestsinspectorinspectedobjectsnotoverridenexpectedtxt">trunk/LayoutTests/inspector/inspected-objects-not-overriden-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorinspectedobjectsnotoverridenhtml">trunk/LayoutTests/inspector/inspected-objects-not-overriden.html</a></li>
<li><a href="#trunkLayoutTestsinspectorloadresourcesynchronouslyutf8expectedtxt">trunk/LayoutTests/inspector/load-resource-synchronously-utf8-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorloadresourcesynchronouslyutf8html">trunk/LayoutTests/inspector/load-resource-synchronously-utf8.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofileragentcrashonstartexpectedtxt">trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofileragentcrashonstarthtml">trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofilerparameterlessprofileendcrashexpectedtxt">trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofilerparameterlessprofileendcrashhtml">trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofilerprofileremovalexpectedtxt">trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofilerprofileremovalhtml">trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofilerprofilingexpectedtxt">trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofilerprofilingwithoutinspectorexpectedtxt">trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofilerprofilingwithoutinspectorhtml">trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilercpuprofilerprofilinghtml">trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprofilerprofilertestjs">trunk/LayoutTests/inspector/profiler/profiler-test.js</a></li>
<li><a href="#trunkLayoutTestsinspectorremoteobjectexpectedtxt">trunk/LayoutTests/inspector/remote-object-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorremoteobjecthtml">trunk/LayoutTests/inspector/remote-object.html</a></li>
<li><a href="#trunkLayoutTestsinspectorreportAPIerrorsexpectedtxt">trunk/LayoutTests/inspector/report-API-errors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorreportAPIerrorshtml">trunk/LayoutTests/inspector/report-API-errors.html</a></li>
<li><a href="#trunkLayoutTestsinspectorreportprotocolerrorsexpectedtxt">trunk/LayoutTests/inspector/report-protocol-errors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorreportprotocolerrorshtml">trunk/LayoutTests/inspector/report-protocol-errors.html</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimecallFunctionOnexpectedtxt">trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimecallFunctionOnhtml">trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn.html</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimegetPropertiesexpectedtxt">trunk/LayoutTests/inspector/runtime/runtime-getProperties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimegetPropertiesisOwnPropertyexpectedtxt">trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimegetPropertiesisOwnPropertyhtml">trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty.html</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimegetPropertieshtml">trunk/LayoutTests/inspector/runtime/runtime-getProperties.html</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimelocalStoragegetPropertiesexpectedtxt">trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimelocalStoragegetPropertieshtml">trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties.html</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimesetPropertyValueexpectedtxt">trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorruntimeruntimesetPropertyValuehtml">trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue.html</a></li>
<li><a href="#trunkLayoutTestsinspectorscriptexecutionstatechangenotificationexpectedtxt">trunk/LayoutTests/inspector/script-execution-state-change-notification-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorscriptexecutionstatechangenotificationhtml">trunk/LayoutTests/inspector/script-execution-state-change-notification.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstoragepaneldomstorageemptyexpectedtxt">trunk/LayoutTests/inspector/storage-panel-dom-storage-empty-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstoragepaneldomstorageemptyhtml">trunk/LayoutTests/inspector/storage-panel-dom-storage-empty.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstoragepaneldomstorageexpectedtxt">trunk/LayoutTests/inspector/storage-panel-dom-storage-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstoragepaneldomstorageupdateexpectedtxt">trunk/LayoutTests/inspector/storage-panel-dom-storage-update-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstoragepaneldomstorageupdatehtml">trunk/LayoutTests/inspector/storage-panel-dom-storage-update.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstoragepaneldomstoragehtml">trunk/LayoutTests/inspector/storage-panel-dom-storage.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesaddnewruleinlinestylecspexpectedtxt">trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesaddnewruleinlinestylecsphtml">trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesaddnewruleinvalidselectorexpectedtxt">trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesaddnewruleinvalidselectorhtml">trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesaddnewrulewithstyleafterbodyexpectedtxt">trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesaddnewrulewithstyleafterbodyhtml">trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesgetsetstylesheettextexpectedtxt">trunk/LayoutTests/inspector/styles/get-set-stylesheet-text-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesgetsetstylesheettexthtml">trunk/LayoutTests/inspector/styles/get-set-stylesheet-text.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesimportpseudoclasscrashexpectedtxt">trunk/LayoutTests/inspector/styles/import-pseudoclass-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesimportpseudoclasscrashhtml">trunk/LayoutTests/inspector/styles/import-pseudoclass-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesinjectstylesheetexpectedtxt">trunk/LayoutTests/inspector/styles/inject-stylesheet-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesinjectstylesheethtml">trunk/LayoutTests/inspector/styles/inject-stylesheet.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesparsestylesheeterrorsexpectedtxt">trunk/LayoutTests/inspector/styles/parse-stylesheet-errors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesparsestylesheeterrorshtml">trunk/LayoutTests/inspector/styles/parse-stylesheet-errors.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesparseutf8bomexpectedtxt">trunk/LayoutTests/inspector/styles/parse-utf8-bom-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesparseutf8bomhtml">trunk/LayoutTests/inspector/styles/parse-utf8-bom.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesregionstylecrashexpectedtxt">trunk/LayoutTests/inspector/styles/region-style-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesregionstylecrashhtml">trunk/LayoutTests/inspector/styles/region-style-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesremovedrulecrashexpectedtxt">trunk/LayoutTests/inspector/styles/removed-rule-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesremovedrulecrashhtml">trunk/LayoutTests/inspector/styles/removed-rule-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesfromcsspng">trunk/LayoutTests/inspector/styles/resources/fromcss.png</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesgetsetstylesheettextcss">trunk/LayoutTests/inspector/styles/resources/get-set-stylesheet-text.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesiframedpng">trunk/LayoutTests/inspector/styles/resources/iframed.png</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesimportpseudoclasscrashemptycss">trunk/LayoutTests/inspector/styles/resources/import-pseudoclass-crash-empty.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesimportpseudoclasscrashcss">trunk/LayoutTests/inspector/styles/resources/import-pseudoclass-crash.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesinjectstylesheetiframedatahtml">trunk/LayoutTests/inspector/styles/resources/inject-stylesheet-iframe-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesmediaqueries1css">trunk/LayoutTests/inspector/styles/resources/media-queries-1.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesmediaqueriescss">trunk/LayoutTests/inspector/styles/resources/media-queries.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesparseutf8bommaincss">trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-main.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesparseutf8bomresetcss">trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-reset.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesselectorlinecss">trunk/LayoutTests/inspector/styles/resources/selector-line.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesselectorlinecssmap">trunk/LayoutTests/inspector/styles/resources/selector-line.css.map</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesselectorlinescss">trunk/LayoutTests/inspector/styles/resources/selector-line.scss</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstyleshistorycss">trunk/LayoutTests/inspector/styles/resources/styles-history.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstylesiframedatahtml">trunk/LayoutTests/inspector/styles/resources/styles-iframe-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstylesnewAPI1css">trunk/LayoutTests/inspector/styles/resources/styles-new-API-1.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstylesnewAPI2css">trunk/LayoutTests/inspector/styles/resources/styles-new-API-2.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstylesnewAPIcss">trunk/LayoutTests/inspector/styles/resources/styles-new-API.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstylessourcelinesinlineiframehtml">trunk/LayoutTests/inspector/styles/resources/styles-source-lines-inline-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstylessourceoffsetscss">trunk/LayoutTests/inspector/styles/resources/styles-source-offsets.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstylesurllinkifyiframehtml">trunk/LayoutTests/inspector/styles/resources/styles-url-linkify-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesresourcesstylesurllinkifycss">trunk/LayoutTests/inspector/styles/resources/styles-url-linkify.css</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesselectorlistexpectedtxt">trunk/LayoutTests/inspector/styles/selector-list-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesselectorlisthtml">trunk/LayoutTests/inspector/styles/selector-list.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylessetpropertyboundariesexpectedtxt">trunk/LayoutTests/inspector/styles/set-property-boundaries-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylessetpropertyboundarieshtml">trunk/LayoutTests/inspector/styles/set-property-boundaries.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesaddblankpropertyexpectedtxt">trunk/LayoutTests/inspector/styles/styles-add-blank-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesaddblankpropertyhtml">trunk/LayoutTests/inspector/styles/styles-add-blank-property.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesaddinvalidpropertyexpectedtxt">trunk/LayoutTests/inspector/styles/styles-add-invalid-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesaddinvalidpropertyhtml">trunk/LayoutTests/inspector/styles/styles-add-invalid-property.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylescomputedtraceexpectedtxt">trunk/LayoutTests/inspector/styles/styles-computed-trace-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylescomputedtracehtml">trunk/LayoutTests/inspector/styles/styles-computed-trace.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisableinheritedexpectedtxt">trunk/LayoutTests/inspector/styles/styles-disable-inherited-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisableinheritedhtml">trunk/LayoutTests/inspector/styles/styles-disable-inherited.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisablethenchangeexpectedtxt">trunk/LayoutTests/inspector/styles/styles-disable-then-change-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisablethenchangehtml">trunk/LayoutTests/inspector/styles/styles-disable-then-change.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisablethendeleteexpectedtxt">trunk/LayoutTests/inspector/styles/styles-disable-then-delete-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisablethendeletehtml">trunk/LayoutTests/inspector/styles/styles-disable-then-delete.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisablethenenableexpectedtxt">trunk/LayoutTests/inspector/styles/styles-disable-then-enable-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisablethenenableoverridenuaexpectedtxt">trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisablethenenableoverridenuahtml">trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesdisablethenenablehtml">trunk/LayoutTests/inspector/styles/styles-disable-then-enable.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesformattingexpectedtxt">trunk/LayoutTests/inspector/styles/styles-formatting-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesformattinghtml">trunk/LayoutTests/inspector/styles/styles-formatting.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstyleshistoryexpectedtxt">trunk/LayoutTests/inspector/styles/styles-history-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstyleshistoryhtml">trunk/LayoutTests/inspector/styles/styles-history.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesiframeexpectedtxt">trunk/LayoutTests/inspector/styles/styles-iframe-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesiframehtml">trunk/LayoutTests/inspector/styles/styles-iframe.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesincludehostrulescrashexpectedtxt">trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesincludehostrulescrashhtml">trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesinvalidcolorvaluesexpectedtxt">trunk/LayoutTests/inspector/styles/styles-invalid-color-values-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesinvalidcolorvalueshtml">trunk/LayoutTests/inspector/styles/styles-invalid-color-values.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesnewAPIexpectedtxt">trunk/LayoutTests/inspector/styles/styles-new-API-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesnewAPIhtml">trunk/LayoutTests/inspector/styles/styles-new-API.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesoverridenpropertiesexpectedtxt">trunk/LayoutTests/inspector/styles/styles-overriden-properties-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylesoverridenpropertieshtml">trunk/LayoutTests/inspector/styles/styles-overriden-properties.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylessourcelinesexpectedtxt">trunk/LayoutTests/inspector/styles/styles-source-lines-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylessourcelinesinlineexpectedtxt">trunk/LayoutTests/inspector/styles/styles-source-lines-inline-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylessourcelinesinlinehtml">trunk/LayoutTests/inspector/styles/styles-source-lines-inline.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylessourcelineshtml">trunk/LayoutTests/inspector/styles/styles-source-lines.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylessourceoffsetsexpectedtxt">trunk/LayoutTests/inspector/styles/styles-source-offsets-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesstylessourceoffsetshtml">trunk/LayoutTests/inspector/styles/styles-source-offsets.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundoaddnewruleexpectedtxt">trunk/LayoutTests/inspector/styles/undo-add-new-rule-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundoaddnewrulehtml">trunk/LayoutTests/inspector/styles/undo-add-new-rule.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundoaddpropertyexpectedtxt">trunk/LayoutTests/inspector/styles/undo-add-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundoaddpropertyhtml">trunk/LayoutTests/inspector/styles/undo-add-property.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundoaddrulecrashexpectedtxt">trunk/LayoutTests/inspector/styles/undo-add-rule-crash-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundoaddrulecrashhtml">trunk/LayoutTests/inspector/styles/undo-add-rule-crash.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundochangepropertyexpectedtxt">trunk/LayoutTests/inspector/styles/undo-change-property-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundochangepropertyhtml">trunk/LayoutTests/inspector/styles/undo-change-property.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundopropertytoggleexpectedtxt">trunk/LayoutTests/inspector/styles/undo-property-toggle-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundopropertytogglehtml">trunk/LayoutTests/inspector/styles/undo-property-toggle.html</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundosetselectortextexpectedtxt">trunk/LayoutTests/inspector/styles/undo-set-selector-text-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorstylesundosetselectortexthtml">trunk/LayoutTests/inspector/styles/undo-set-selector-text.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcesanImagepng">trunk/LayoutTests/inspector/timeline/resources/anImage.png</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcesanotherImagepng">trunk/LayoutTests/inspector/timeline/resources/anotherImage.png</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcesbigpng">trunk/LayoutTests/inspector/timeline/resources/big.png</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcestestbmp">trunk/LayoutTests/inspector/timeline/resources/test.bmp</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcestestgif">trunk/LayoutTests/inspector/timeline/resources/test.gif</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcestestico">trunk/LayoutTests/inspector/timeline/resources/test.ico</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcestestjpg">trunk/LayoutTests/inspector/timeline/resources/test.jpg</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcestestpng">trunk/LayoutTests/inspector/timeline/resources/test.png</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcestestwebp">trunk/LayoutTests/inspector/timeline/resources/test.webp</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcestimelineiframedatahtml">trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelineresourcestimelineiframepainthtml">trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-paint.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineanimationframeexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-animation-frame-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineanimationframehtml">trunk/LayoutTests/inspector/timeline/timeline-animation-frame.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinedecoderesizeexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-decode-resize-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinedecoderesizehtml">trunk/LayoutTests/inspector/timeline/timeline-decode-resize.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinedomcontentloadedeventexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinedomcontentloadedeventhtml">trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineeventdispatchexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-event-dispatch-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineeventdispatchhtml">trunk/LayoutTests/inspector/timeline/timeline-event-dispatch.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineframesexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-frames-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineframeshtml">trunk/LayoutTests/inspector/timeline/timeline-frames.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineinjectedscriptevalexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineinjectedscriptevalhtml">trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinelayoutexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-layout-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinelayoutreasonexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-layout-reason-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinelayoutreasonhtml">trunk/LayoutTests/inspector/timeline/timeline-layout-reason.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinelayouthtml">trunk/LayoutTests/inspector/timeline/timeline-layout.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineloadeventexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineloadeventhtml">trunk/LayoutTests/inspector/timeline/timeline-load-event.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineloadexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-load-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineloadhtml">trunk/LayoutTests/inspector/timeline/timeline-load.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinenetworkreceiveddataexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-network-received-data-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinenetworkreceiveddatahtml">trunk/LayoutTests/inspector/timeline/timeline-network-received-data.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinenetworkresourceexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-network-resource-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinenetworkresourcehtml">trunk/LayoutTests/inspector/timeline/timeline-network-resource.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinenetworkresourcejs">trunk/LayoutTests/inspector/timeline/timeline-network-resource.js</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinepaintexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-paint-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinepainthtml">trunk/LayoutTests/inspector/timeline/timeline-paint.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineparsehtmlexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-parse-html-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelineparsehtmlhtml">trunk/LayoutTests/inspector/timeline/timeline-parse-html.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinerecalculatestylesexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinerecalculatestyleshtml">trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinereceiveresponseeventexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-receive-response-event-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinereceiveresponseeventhtml">trunk/LayoutTests/inspector/timeline/timeline-receive-response-event.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinescripttag1expectedtxt">trunk/LayoutTests/inspector/timeline/timeline-script-tag-1-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinescripttag1html">trunk/LayoutTests/inspector/timeline/timeline-script-tag-1.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinescripttag2expectedtxt">trunk/LayoutTests/inspector/timeline/timeline-script-tag-2-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinescripttag2html">trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinescripttag2js">trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.js</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinestarttimeexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-start-time-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinestarttimehtml">trunk/LayoutTests/inspector/timeline/timeline-start-time.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetimeexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-time-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetimestampexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-time-stamp-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetimestamphtml">trunk/LayoutTests/inspector/timeline/timeline-time-stamp.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetimehtml">trunk/LayoutTests/inspector/timeline/timeline-time.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetimerexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-timer-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetimerfiredfromevalcallsiteexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetimerfiredfromevalcallsitehtml">trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetimerhtml">trunk/LayoutTests/inspector/timeline/timeline-timer.html</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetrivialexpectedtxt">trunk/LayoutTests/inspector/timeline/timeline-trivial-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectortimelinetimelinetrivialhtml">trunk/LayoutTests/inspector/timeline/timeline-trivial.html</a></li>
<li><a href="#trunkLayoutTestsinspectorutilitiesexpectedtxt">trunk/LayoutTests/inspector/utilities-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorutilitieshtml">trunk/LayoutTests/inspector/utilities.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolheapprofilerheapsnapshotwithdetacheddomtreeexpectedtxt">trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolheapprofilerheapsnapshotwithdetacheddomtreehtml">trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolheapprofilerheapsnapshotwitheventlistenerexpectedtxt">trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolheapprofilerheapsnapshotwitheventlistenerhtml">trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolheapprofilerresourcesheapsnapshotcommonjs">trunk/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolheapprofilerresourcespagewithfunctionhtml">trunk/LayoutTests/inspector-protocol/heap-profiler/resources/page-with-function.html</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolheapprofilertakeheapsnapshotexpectedtxt">trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt</a></li>
<li><a href="#trunkLayoutTestsinspectorprotocolheapprofilertakeheapsnapshothtml">trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/ChangeLog        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +1,43 @@
</span><span class="cx"> 2014-02-21  Brian Burg  &lt;bburg@apple.com&gt;
</span><span class="cx"> 
</span><ins>+        Move unported Web Inspector tests to LayoutTests/inspector-obsolete
+        https://bugs.webkit.org/show_bug.cgi?id=129183
+
+        Rubber-stamped by Timothy Hatcher.
+
+        Move inspector/ to inspector-obsolete/.
+        Move http/tests/inspector/ to inspector-obsolete/http-tests/.
+        Fold http/tests/inspector-enabled/ into inspector-obsolete/http-tests/.
+
+        I have elided about 1100 lines of rename Changelog spew;
+        no filenames have been altered in this reorganization.
+
+        Remove mentions of obsolete tests from TestExpectations. Remove skips
+        for inspector-obsolete/ from port-specific expectations, and just
+        put it in the generic expectations file.
+
+        Remove inspector-protocol/heap-profiler tests, as they are obsolete.
+
+        * TestExpectations:
+         * inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree-expected.txt: Removed.
+        * inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html: Removed.
+        * inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt: Removed.
+        * inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.html: Removed.
+        * inspector-protocol/heap-profiler/resources/heap-snapshot-common.js: Removed.
+        * inspector-protocol/heap-profiler/resources/page-with-function.html: Removed.
+        * inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt: Removed.
+        * inspector-protocol/heap-profiler/take-heap-snapshot.html: Removed.
+        * platform/efl/TestExpectations:
+        * platform/gtk/TestExpectations:
+        * platform/mac-wk2/TestExpectations:
+        * platform/mac/TestExpectations:
+        * platform/win-xp/TestExpectations:
+        * platform/win/TestExpectations:
+        * platform/wincairo/TestExpectations:
+        * platform/wk2/TestExpectations:
+
+2014-02-21  Brian Burg  &lt;bburg@apple.com&gt;
+
</ins><span class="cx">         Web Inspector: remove old inspector tests that cannot be ported
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=129168
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -46,10 +46,8 @@
</span><span class="cx"> # This test will run slowly in debug mode, but is plenty fast in release.
</span><span class="cx"> [ Debug ] js/regress/emscripten-memops.html [ Skip ]
</span><span class="cx"> 
</span><del>-# Skipping the tests for the old inspector UI
-inspector [ Skip ]
-http/tests/inspector [ Skip ]
-http/tests/inspector-enabled [ Skip ]
</del><ins>+# Skip tests for the old inspector UI that will be ported or removed soon.
+inspector-obsolete [ Skip ]
</ins><span class="cx"> 
</span><span class="cx"> webkit.org/b/112521 [ Release ] webaudio/javascriptaudionode.html [ Pass Failure ]
</span><span class="cx"> webkit.org/b/112521 [ Debug ] webaudio/javascriptaudionode.html [ Pass Crash ]
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheappcacheiframemanifestsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,81 +0,0 @@
</span><del>-Tests that application cache model keeps track of manifest urls and statuses correctly.
-
-Bug 64581
-Dumping application cache tree:
-    (empty)
-Dumping application cache model:
-    (empty)
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        Frame: frame1 (page-with-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        status:       IDLE
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        Frame: frame1 (page-with-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        status:       IDLE
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        Frame: frame1 (page-with-manifest.php)
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        Frame: frame2 (page-with-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        status:       IDLE
-    Frame: frame2
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        status:       IDLE
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        Frame: frame1 (page-with-manifest.php)
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        Frame: frame2 (page-with-manifest.php)
-        Frame: frame3 (page-with-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        status:       IDLE
-    Frame: frame2
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        status:       IDLE
-    Frame: frame3
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        status:       IDLE
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        Frame: frame1 (page-with-manifest.php)
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        Frame: frame2 (page-with-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        status:       IDLE
-    Frame: frame2
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
-        status:       IDLE
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        Frame: frame1 (page-with-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
-        status:       IDLE
-
-Dumping application cache tree:
-    (empty)
-Dumping application cache model:
-    (empty)
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheappcacheiframemanifestshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,107 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;appcache-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var frameId1;
-    var frameId2;
-    var frameId3;
-
-    WebInspector.showPanel(&quot;resources&quot;);
-    InspectorTest.dumpApplicationCache();
-    InspectorTest.createAndNavigateIFrame(&quot;resources/page-with-manifest.php?manifestId=1&quot;, step1);
-
-    function step1(frameId)
-    {
-        frameId1 = frameId;
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;manifest.php?manifestId=1&quot;, applicationCache.IDLE, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.navigateIFrame(frameId1, &quot;resources/page-with-manifest.php?manifestId=2&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;manifest.php?manifestId=2&quot;, applicationCache.IDLE, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.createAndNavigateIFrame(&quot;resources/page-with-manifest.php?manifestId=1&quot;, step5);
-    }
-
-    function step5(frameId)
-    {
-        frameId2 = frameId;
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId2, &quot;manifest.php?manifestId=1&quot;, applicationCache.IDLE, step6);
-    }
-
-    function step6()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.createAndNavigateIFrame(&quot;resources/page-with-manifest.php?manifestId=1&quot;, step7);
-    }
-
-    function step7(frameId)
-    {
-        frameId3 = frameId;
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId3, &quot;manifest.php?manifestId=1&quot;, applicationCache.IDLE, step8);
-    }
-
-    function step8()
-    {
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId2, &quot;manifest.php?manifestId=1&quot;, applicationCache.IDLE, step9);
-    }
-
-    function step9()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.removeIFrame(frameId3, step10);
-    }
-
-    function step10()
-    {
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId3, &quot;&quot;, applicationCache.UNCACHED, step11);
-    }
-
-    function step11()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.removeIFrame(frameId2, step12);
-    }
-
-    function step12()
-    {
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId2, &quot;&quot;, applicationCache.UNCACHED, step13);
-    }
-
-    function step13()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.removeIFrame(frameId1, step14);
-    }
-
-    function step14()
-    {
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;&quot;, applicationCache.UNCACHED, step15);
-    }
-
-    function step15()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that application cache model keeps track of manifest urls and statuses correctly.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=64581&quot;&gt;Bug 64581&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheappcachemanifestwithnonexistingfileexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/inspector/appcache/resources/non-existing-file could not be fetched.
-Tests that application cache model keeps track of manifest urls and statuses correctly when there is a non existing file listed in manifest.
-
-Bug 64581
-Dumping application cache tree:
-    (empty)
-Dumping application cache model:
-    (empty)
-
-Dumping application cache tree:
-    (empty)
-Dumping application cache model:
-    (empty)
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheappcachemanifestwithnonexistingfilehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;appcache-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var frameId1;
-    var frameId2;
-    var frameId3;
-
-    WebInspector.showPanel(&quot;resources&quot;);
-    InspectorTest.startApplicationCacheStatusesRecording();
-    InspectorTest.dumpApplicationCache();
-    InspectorTest.createAndNavigateIFrame(&quot;resources/page-with-manifest.php?manifestId=with-non-existing-file&quot;, step1);
-
-    function step1(frameId)
-    {
-        frameId1 = frameId;
-        // Waiting for at least two status events notifications from backend, to make sure
-        // we are not completing test before loading application cache.
-        InspectorTest.ensureFrameStatusEventsReceived(frameId, 2, step2)
-    }
-
-    function step2()
-    {
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;&quot;, applicationCache.UNCACHED, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that application cache model keeps track of manifest urls and statuses correctly when there is a non existing file listed in manifest.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=64581&quot;&gt;Bug 64581&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheappcacheswapexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests that application cache model keeps track of manifest urls and statuses correctly after UPDATEREADY event and swapCache() call.
-
-Bug 72123
-Dumping application cache tree:
-    (empty)
-Dumping application cache model:
-    (empty)
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
-        Frame: frame1 (with-versioned-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
-        status:       IDLE
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
-        Frame: frame1 (with-versioned-manifest.php)
-        Frame: frame2 (with-versioned-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
-        status:       UPDATEREADY
-    Frame: frame2
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
-        status:       UPDATEREADY
-
-Dumping application cache tree:
-    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
-        Frame: frame1 (with-versioned-manifest.php)
-        Frame: frame2 (with-versioned-manifest.php)
-Dumping application cache model:
-    Frame: frame1
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
-        status:       IDLE
-    Frame: frame2
-        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
-        status:       UPDATEREADY
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheappcacheswaphtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;appcache-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var frameId1;
-    var frameId2;
-
-    WebInspector.showPanel(&quot;resources&quot;);
-    InspectorTest.startApplicationCacheStatusesRecording();
-    InspectorTest.dumpApplicationCache();
-    InspectorTest.createAndNavigateIFrame(&quot;resources/with-versioned-manifest.php&quot;, step1);
-
-    function step1(frameId)
-    {
-        frameId1 = frameId;
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;resources/versioned-manifest.php&quot;, applicationCache.IDLE, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/versioned-manifest.php?command=step&quot;, true, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.createAndNavigateIFrame(&quot;resources/with-versioned-manifest.php&quot;, step4);
-    }
-
-    function step4(frameId)
-    {
-        frameId2 = frameId;
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;resources/versioned-manifest.php&quot;, applicationCache.UPDATEREADY, step5);
-    }
-
-    function step5(frameId)
-    {
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId2, &quot;resources/versioned-manifest.php&quot;, applicationCache.UPDATEREADY, step6);
-    }
-
-    function step6()
-    {
-        InspectorTest.dumpApplicationCache();
-
-        InspectorTest.swapFrameCache(frameId1);
-        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;resources/versioned-manifest.php&quot;, applicationCache.IDLE, step7);
-    }
-
-    function step7()
-    {
-        InspectorTest.dumpApplicationCache();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that application cache model keeps track of manifest urls and statuses correctly after UPDATEREADY event and swapCache() call.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=72123&quot;&gt;Bug 72123&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheappcachetestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/appcache-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/appcache-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/appcache-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,210 +0,0 @@
</span><del>-var framesCount = 0;
-
-function createAndNavigateIFrame(url)
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.src = url;
-    iframe.name = &quot;frame&quot; + ++framesCount;
-    iframe.id = iframe.name;
-    document.body.appendChild(iframe);
-}
-
-function removeIFrame(name)
-{
-    var iframe = document.querySelector(&quot;#&quot; + name);
-    iframe.parentElement.removeChild(iframe);
-}
-
-function navigateIFrame(name, url)
-{
-    var iframe = document.querySelector(&quot;#&quot; + name);
-    iframe.src = url;
-}
-
-function swapFrameCache(name)
-{
-    var iframe = document.querySelector(&quot;#&quot; + name);
-    iframe.contentWindow.applicationCache.swapCache();
-}
-
-var initialize_ApplicationCacheTest = function() {
-
-InspectorTest.createAndNavigateIFrame = function(url, callback)
-{
-    InspectorTest.addSniffer(WebInspector.ResourceTreeModel.prototype, &quot;_frameNavigated&quot;, frameNavigated);
-    InspectorTest.evaluateInPage(&quot;createAndNavigateIFrame(unescape('&quot; + escape(url) + &quot;'))&quot;);
-
-    function frameNavigated(frame)
-    {
-        callback(frame.id);
-    }
-}
-
-InspectorTest.navigateIFrame = function(frameId, url, callback)
-{
-    var frame = WebInspector.resourceTreeModel.frameForId(frameId)
-    InspectorTest.evaluateInPage(&quot;navigateIFrame(unescape('&quot; + escape(frame.name) +&quot;'), unescape('&quot; + escape(url) + &quot;'))&quot;);
-    InspectorTest.addSniffer(WebInspector.ResourceTreeModel.prototype, &quot;_frameNavigated&quot;, frameNavigated);
-
-    function frameNavigated(frame)
-    {
-        callback(frame.id);
-    }
-}
-
-InspectorTest.removeIFrame = function(frameId, callback)
-{
-    var frame = WebInspector.resourceTreeModel.frameForId(frameId)
-    InspectorTest.evaluateInPage(&quot;removeIFrame(unescape('&quot; + escape(frame.name) +&quot;'))&quot;);
-    InspectorTest.addSniffer(WebInspector.ResourceTreeModel.prototype, &quot;_frameDetached&quot;, frameDetached);
-
-    function frameDetached(frame)
-    {
-        callback(frame.id);
-    }
-}
-
-InspectorTest.swapFrameCache = function(frameId)
-{
-    var frame = WebInspector.resourceTreeModel.frameForId(frameId);
-    InspectorTest.evaluateInPage(&quot;swapFrameCache(unescape('&quot; + escape(frame.name) +&quot;'))&quot;);
-}
-
-
-InspectorTest.dumpApplicationCache = function()
-{
-    InspectorTest.dumpApplicationCacheTree();
-    InspectorTest.dumpApplicationCacheModel();
-    InspectorTest.addResult(&quot;&quot;);
-}
-
-InspectorTest.dumpApplicationCacheTree = function()
-{
-    InspectorTest.addResult(&quot;Dumping application cache tree:&quot;);
-    var applicationCacheTreeElement = WebInspector.panels.resources.applicationCacheListTreeElement;
-    if (!applicationCacheTreeElement.children.length) {
-        InspectorTest.addResult(&quot;    (empty)&quot;);
-        return;
-    }
-    for (var i = 0; i &lt; applicationCacheTreeElement.children.length; ++i) {
-        var manifestTreeElement = applicationCacheTreeElement.children[i];
-        InspectorTest.addResult(&quot;    Manifest URL: &quot; + manifestTreeElement.manifestURL);
-        if (!manifestTreeElement.children.length) {
-            InspectorTest.addResult(&quot;    (no frames)&quot;);
-            continue;
-        }
-        for (var j = 0; j &lt; manifestTreeElement.children.length; ++j) {
-            var frameTreeElement = manifestTreeElement.children[j];
-            InspectorTest.addResult(&quot;        Frame: &quot; + frameTreeElement.displayName);
-        }
-    }
-}
-
-InspectorTest.frameIdToString = function(frameId)
-{
-    if (!InspectorTest.framesByFrameId)
-        InspectorTest.framesByFrameId = {};
-    var frame = WebInspector.resourceTreeModel.frameForId(frameId);
-    if (!frame)
-        frame = InspectorTest.framesByFrameId[frameId];
-    InspectorTest.framesByFrameId[frameId] = frame;
-
-    return frame.name;
-}
-
-InspectorTest.applicationCacheStatusToString = function(status)
-{
-    var statusInformation = {};
-    statusInformation[applicationCache.UNCACHED]    = &quot;UNCACHED&quot;;
-    statusInformation[applicationCache.IDLE]        = &quot;IDLE&quot;;
-    statusInformation[applicationCache.CHECKING]    = &quot;CHECKING&quot;;
-    statusInformation[applicationCache.DOWNLOADING] = &quot;DOWNLOADING&quot;;
-    statusInformation[applicationCache.UPDATEREADY] = &quot;UPDATEREADY&quot;;
-    statusInformation[applicationCache.OBSOLETE]    = &quot;OBSOLETE&quot;;
-    return statusInformation[status] || statusInformation[applicationCache.UNCACHED];
-}
-
-InspectorTest.dumpApplicationCacheModel = function()
-{
-    InspectorTest.addResult(&quot;Dumping application cache model:&quot;);
-    var model = WebInspector.panels.resources._applicationCacheModel;
-
-    var frameIds = [];
-    for (var frameId in model._manifestURLsByFrame)
-        frameIds.push(frameId);
-
-    function compareFunc(a, b) {
-        return InspectorTest.frameIdToString(a).localeCompare(InspectorTest.frameIdToString(b));
-    }
-    frameIds.sort(compareFunc);
-
-    if (!frameIds.length) {
-        InspectorTest.addResult(&quot;    (empty)&quot;);
-        return;
-    }
-    for (var i = 0; i &lt; frameIds.length; ++i) {
-        var frameId = frameIds[i];
-        var manifestURL = model.frameManifestURL(frameId);
-        var status = model.frameManifestStatus(frameId);
-        InspectorTest.addResult(&quot;    Frame: &quot; + InspectorTest.frameIdToString(frameId));
-        InspectorTest.addResult(&quot;        manifest url: &quot; + manifestURL);
-        InspectorTest.addResult(&quot;        status:       &quot; + InspectorTest.applicationCacheStatusToString(status));
-    }
-}
-
-InspectorTest.waitForFrameManifestURLAndStatus = function(frameId, manifestURL, status, callback)
-{
-    var frameManifestStatus = WebInspector.panels.resources._applicationCacheModel.frameManifestStatus(frameId);
-    var frameManifestURL = WebInspector.panels.resources._applicationCacheModel.frameManifestURL(frameId);
-    if (frameManifestStatus === status &amp;&amp; frameManifestURL.indexOf(manifestURL) !== -1) {
-        callback();
-        return;
-    }
-
-    var handler = InspectorTest.waitForFrameManifestURLAndStatus.bind(this, frameId, manifestURL, status, callback);
-    InspectorTest.addSniffer(WebInspector.ApplicationCacheModel.prototype, &quot;_frameManifestUpdated&quot;, handler);
-}
-
-InspectorTest.startApplicationCacheStatusesRecording = function()
-{
-    if (InspectorTest.applicationCacheStatusesRecords) {
-        InspectorTest.applicationCacheStatusesRecords = {};
-        return;
-    }
-
-    InspectorTest.applicationCacheStatusesRecords = {};
-    function addRecord(frameId, manifestURL, status) {
-        var record = {};
-        record.manifestURL = manifestURL;
-        record.status = status;
-        if (!InspectorTest.applicationCacheStatusesRecords[frameId])
-            InspectorTest.applicationCacheStatusesRecords[frameId] = [];
-        InspectorTest.applicationCacheStatusesRecords[frameId].push(record);
-
-        if (InspectorTest.awaitedFrameStatusEventsCount &amp;&amp; InspectorTest.awaitedFrameStatusEventsCount[frameId]) {
-            InspectorTest.awaitedFrameStatusEventsCount[frameId].count--;
-            if (!InspectorTest.awaitedFrameStatusEventsCount[frameId].count)
-                InspectorTest.awaitedFrameStatusEventsCount[frameId].callback();
-        }
-    }
-
-    InspectorTest.addSniffer(WebInspector.ApplicationCacheModel.prototype, &quot;_frameManifestUpdated&quot;, addRecord, true);
-}
-
-InspectorTest.ensureFrameStatusEventsReceived = function(frameId, count, callback)
-{
-    var records = InspectorTest.applicationCacheStatusesRecords[frameId] || [];
-    var eventsLeft = count - records.length;
-
-    if (!eventsLeft) {
-        callback();
-        return;
-    }
-
-    if (!InspectorTest.awaitedFrameStatusEventsCount)
-        InspectorTest.awaitedFrameStatusEventsCount = {};
-    InspectorTest.awaitedFrameStatusEventsCount[frameId] = { count: eventsLeft, callback: callback };
-}
-
-};
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheresourcesmanifestphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/resources/manifest.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/resources/manifest.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/resources/manifest.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-&lt;?php
-    header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
-    header(&quot;Cache-Control: no-cache, must-revalidate&quot;);
-    header(&quot;Pragma: no-cache&quot;);
-    header(&quot;Content-Type: text/cache-manifest&quot;);
-
-    $manifestId = $_GET[&quot;manifestId&quot;];
-
-    echo(&quot;CACHE MANIFEST\n&quot;);
-    echo(&quot;# &quot; . $manifestId . &quot;\n&quot;);
-    echo(&quot;page-with-manifest.php?manifestId=&quot; . $manifestId . &quot;\n&quot;);
-
-    if ($manifestId == &quot;with-non-existing-file&quot;)
-        echo(&quot;non-existing-file\n&quot;);
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheresourcespagewithmanifestphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/resources/page-with-manifest.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/resources/page-with-manifest.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/resources/page-with-manifest.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-&lt;?php
-$manifestId = $_GET[&quot;manifestId&quot;];
-echo &quot;&lt;html manifest=\&quot;manifest.php?manifestId=&quot; . $manifestId . &quot;\&quot;&gt;\n&quot;;
-?&gt;
-&lt;head&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;?php
-$manifestId = $_GET[&quot;manifestId&quot;];
-echo &quot;Page with manifest #&quot; . $manifestId. &quot;.\n&quot;;
-?&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheresourcesversionedmanifestphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/resources/versioned-manifest.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/resources/versioned-manifest.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/resources/versioned-manifest.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-&lt;?php
-require_once '../../../resources/portabilityLayer.php';
-
-$tmpFile = sys_get_temp_dir() . &quot;/&quot; . &quot;appcache_manifest_counter&quot;;
-
-function getCount($file)
-{
-    if (!file_exists($file)) {
-        file_put_contents($file, &quot;0&quot;);
-        return &quot;0&quot;;
-    }
-    return file_get_contents($file);
-}
-
-function stepCounter($file)
-{
-    if (file_exists($file)) {
-        $value = getCount($file);
-        file_put_contents($file, ++$value);
-    }
-}
-
-if (&quot;step&quot; == $_GET['command'])
-    stepCounter($tmpFile);
-
-header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
-header(&quot;Cache-Control: no-cache, must-revalidate&quot;);
-header(&quot;Pragma: no-cache&quot;);
-header(&quot;Content-Type: text/cache-manifest&quot;);
-
-print(&quot;CACHE MANIFEST\n&quot;);
-print(&quot;# version &quot; . getCount($tmpFile) . &quot;\n&quot;);
-print(&quot;with-versioned-manifest.php\n&quot;);
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorappcacheresourceswithversionedmanifestphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/appcache/resources/with-versioned-manifest.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/appcache/resources/with-versioned-manifest.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/appcache/resources/with-versioned-manifest.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;html manifest=&quot;versioned-manifest.php&quot;&gt;
-&lt;head&gt;
-&lt;/head&gt;
-&lt;body&gt;
-Page with versioned manifest
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorauditsresourcesabepng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/audits/resources/abe.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorauditssetcookieheaderauditnofalsepositiveexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests there is no false positive Set-Cookie audit error. 
-Page reloaded.
-Success, no Set-Cookie headers found.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorauditssetcookieheaderauditnofalsepositivehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var test = function()
-{
-    InspectorTest.reloadPage(step1);
-
-    function step1()
-    {
-        WebInspector.showPanel(&quot;network&quot;);
-        var requests = WebInspector.panels.network.requests;
-        for (var i = 0; i &lt; requests.length; ++i)
-            InspectorTest.assertTrue(requests[i].responseHeaderValue(&quot;Set-Cookie&quot;) === undefined);
-        InspectorTest.addResult(&quot;Success, no Set-Cookie headers found.&quot;);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-Tests there is no false positive Set-Cookie audit error.
-&lt;img src=&quot;resources/abe.png&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorchangeiframesrcexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/change-iframe-src-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/change-iframe-src-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/change-iframe-src-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: IFRAME HOST: 127.0.0.1:8000
-CONSOLE MESSAGE: line 6: IFRAME HOST: localhost:8000
-
-Tests that Elements panel allows to change src attribute on iframes inside inspected page. See bug 41350.
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorchangeiframesrchtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/change-iframe-src.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/change-iframe-src.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/change-iframe-src.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,43 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;title&gt;Change inspected iframe's &quot;src&quot; attribute.&lt;/title&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var onIFrameLoadCalled = false;
-function onIFrameLoad()
-{
-    if (onIFrameLoadCalled)
-        return;
-    onIFrameLoadCalled = true;
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.nodeWithId(&quot;receiver&quot;, step1);
-
-    function step1(node)
-    {
-        node.setAttribute(&quot;src&quot;, &quot;src=\&quot;http://localhost:8000/inspector/resources/iframe-from-different-domain-data.html\&quot;&quot;);
-        InspectorTest.addConsoleSniffer(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-    &lt;iframe src=&quot;resources/iframe-from-different-domain-data.html&quot; id=&quot;receiver&quot; onload=&quot;onIFrameLoad()&quot;&gt;&lt;/iframe&gt;
-    &lt;p&gt;
-    Tests that Elements panel allows to change src attribute on iframes
-    inside inspected page.
-    See &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41350&quot;&gt;bug 41350&lt;/a&gt;.
-    &lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorcompilerscriptmappingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/compiler-script-mapping-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/compiler-script-mapping-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/compiler-script-mapping-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,77 +0,0 @@
</span><del>-Tests SourceMap and CompilerScriptMapping.
-
-
-Running: testSimpleMap
-example.js === example.js
-0 === 0
-9 === 9
-example.js === example.js
-0 === 0
-13 === 13
-example.js === example.js
-0 === 0
-25 === 25
-example.js === example.js
-2 === 2
-4 === 4
-example.js === example.js
-2 === 2
-11 === 11
-example.js === example.js
-2 === 2
-24 === 24
-0 === 0
-0 === 0
-0 === 0
-17 === 17
-0 === 0
-18 === 18
-0 === 0
-29 === 29
-0 === 0
-29 === 29
-
-Running: testNoMappingEntry
-example.js === example.js
-0 === 0
-0 === 0
-example.js === example.js
-0 === 0
-2 === 2
-
-Running: testEmptyLine
-example.js === example.js
-0 === 0
-0 === 0
-3 === 3
-1 === 1
-
-Running: testSections
-source1.js === source1.js
-0 === 0
-0 === 0
-source1.js === source1.js
-2 === 2
-1 === 1
-source2.js === source2.js
-0 === 0
-0 === 0
-source2.js === source2.js
-2 === 2
-1 === 1
-
-Running: testResolveSourceMapURL
-http://example.com/map.json === http://example.com/map.json
-http://example.com/map.json === http://example.com/map.json
-http://example.com/scripts/../maps/map.json === http://example.com/scripts/../maps/map.json
-
-Running: testCompilerScriptMapping
-
-Running: testCompilerScriptMappingWhenResourceWasLoadedAfterSource
-
-Running: testInlinedSourceMap
-&lt;source content&gt; === &lt;source content&gt;
-
-Running: testSourceMapCouldNotBeLoaded
-compiled.js
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorcompilerscriptmappinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/compiler-script-mapping.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/compiler-script-mapping.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/compiler-script-mapping.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,342 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;workspace-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    var defaultScriptMapping;
-    var resourceScriptMapping;
-
-    function createCompilerScriptMapping()
-    {
-        InspectorTest.createWorkspace();
-        var compilerScriptMapping = new WebInspector.CompilerScriptMapping(InspectorTest.testWorkspace, InspectorTest.testNetworkWorkspaceProvider);
-        resourceScriptMapping = new WebInspector.ResourceScriptMapping(InspectorTest.testWorkspace);
-        defaultScriptMapping = new WebInspector.DefaultScriptMapping(InspectorTest.testWorkspace);
-        return compilerScriptMapping;
-    }
-
-    function checkMapping(compiledLineNumber, compiledColumnNumber, sourceURL, sourceLineNumber, sourceColumnNumber, mapping)
-    {
-        var entry = mapping.findEntry(compiledLineNumber, compiledColumnNumber);
-        InspectorTest.addResult(sourceURL + &quot; === &quot; + entry[2]);
-        InspectorTest.addResult(sourceLineNumber + &quot; === &quot; + entry[3]);
-        InspectorTest.addResult(sourceColumnNumber + &quot; === &quot; + entry[4]);
-    }
-
-    function checkReverseMapping(compiledLineNumber, compiledColumnNumber, sourceURL, sourceLineNumber, mapping)
-    {
-        var entry = mapping.findEntryReversed(sourceURL, sourceLineNumber);
-        InspectorTest.addResult(compiledLineNumber + &quot; === &quot; + entry[0]);
-        InspectorTest.addResult(compiledColumnNumber + &quot; === &quot; + entry[1]);
-    }
-
-    InspectorTest.runTestSuite([
-        function testSimpleMap(next)
-        {
-            /*
-                example.js:
-                0         1         2         3
-                012345678901234567890123456789012345
-                function add(variable_x, variable_y)
-                {
-                    return variable_x + variable_y;
-                }
-
-                var global = &quot;foo&quot;;
-                ----------------------------------------
-                example-compiled.js:
-                0         1         2         3
-                012345678901234567890123456789012345
-                function add(a,b){return a+b}var global=&quot;foo&quot;;
-            */
-            var mappingPayload = {
-                &quot;mappings&quot;:&quot;AAASA,QAAAA,IAAG,CAACC,CAAD,CAAaC,CAAb,CACZ,CACI,MAAOD,EAAP,CAAoBC,CADxB,CAIA,IAAIC,OAAS;&quot;,
-                &quot;sources&quot;:[&quot;example.js&quot;]
-            };
-            var mapping = new WebInspector.SourceMap(&quot;source-map.json&quot;, mappingPayload);
-
-            checkMapping(0, 9, &quot;example.js&quot;, 0, 9, mapping);
-            checkMapping(0, 13, &quot;example.js&quot;, 0, 13, mapping);
-            checkMapping(0, 15, &quot;example.js&quot;, 0, 25, mapping);
-            checkMapping(0, 18, &quot;example.js&quot;, 2, 4, mapping);
-            checkMapping(0, 25, &quot;example.js&quot;, 2, 11, mapping);
-            checkMapping(0, 27, &quot;example.js&quot;, 2, 24, mapping);
-
-            checkReverseMapping(0, 0, &quot;example.js&quot;, 0, mapping);
-            checkReverseMapping(0, 17, &quot;example.js&quot;, 1, mapping);
-            checkReverseMapping(0, 18, &quot;example.js&quot;, 2, mapping);
-            checkReverseMapping(0, 29, &quot;example.js&quot;, 4, mapping);
-            checkReverseMapping(0, 29, &quot;example.js&quot;, 5, mapping);
-
-            next();
-        },
-
-        function testNoMappingEntry(next)
-        {
-            var mappingPayload = {
-                &quot;mappings&quot;:&quot;AAAA,C,CAAE;&quot;,
-                &quot;sources&quot;:[&quot;example.js&quot;]
-            };
-            var mapping = new WebInspector.SourceMap(&quot;source-map.json&quot;, mappingPayload);
-            checkMapping(0, 0, &quot;example.js&quot;, 0, 0, mapping);
-            var entry = mapping.findEntry(0, 1);
-            InspectorTest.assertEquals(2, entry.length);
-            checkMapping(0, 2, &quot;example.js&quot;, 0, 2, mapping);
-            next();
-        },
-
-        function testEmptyLine(next)
-        {
-            var mappingPayload = {
-                &quot;mappings&quot;:&quot;AAAA;;;CACA&quot;,
-                &quot;sources&quot;:[&quot;example.js&quot;]
-            };
-            var mapping = new WebInspector.SourceMap(&quot;source-map.json&quot;, mappingPayload);
-            checkMapping(0, 0, &quot;example.js&quot;, 0, 0, mapping);
-            checkReverseMapping(3, 1, &quot;example.js&quot;, 1, mapping);
-            next();
-        },
-
-        function testSections(next)
-        {
-            var mappingPayload = {
-                &quot;sections&quot;: [{
-                    &quot;offset&quot;: { &quot;line&quot;: 0, &quot;column&quot;: 0 },
-                    &quot;map&quot;: {
-                        &quot;mappings&quot;:&quot;AAAA,CAEC&quot;,
-                        &quot;sources&quot;:[&quot;source1.js&quot;, &quot;source2.js&quot;]
-                    }
-                }, {
-                    &quot;offset&quot;: { &quot;line&quot;: 2, &quot;column&quot;: 10 },
-                    &quot;map&quot;: {
-                        &quot;mappings&quot;:&quot;AAAA,CAEC&quot;,
-                        &quot;sources&quot;:[&quot;source2.js&quot;]
-                    }
-                }
-            ]};
-            var mapping = new WebInspector.SourceMap(&quot;source-map.json&quot;, mappingPayload);
-            InspectorTest.assertEquals(2, mapping.sources().length);
-            checkMapping(0, 0, &quot;source1.js&quot;, 0, 0, mapping);
-            checkMapping(0, 1, &quot;source1.js&quot;, 2, 1, mapping);
-            checkMapping(2, 10, &quot;source2.js&quot;, 0, 0, mapping);
-            checkMapping(2, 11, &quot;source2.js&quot;, 2, 1, mapping);
-            next();
-        },
-
-        function testResolveSourceMapURL(next)
-        {
-            var func = WebInspector.ParsedURL.completeURL;
-            InspectorTest.addResult(&quot;http://example.com/map.json === &quot; + func(&quot;http://example.com/script.js&quot;, &quot;http://example.com/map.json&quot;));
-            InspectorTest.addResult(&quot;http://example.com/map.json === &quot; + func(&quot;http://example.com/script.js&quot;, &quot;/map.json&quot;));
-            InspectorTest.addResult(&quot;http://example.com/scripts/../maps/map.json === &quot; + func(&quot;http://example.com/scripts/script.js&quot;, &quot;../maps/map.json&quot;));
-            next();
-        },
-
-        function testCompilerScriptMapping(next)
-        {
-            var script;
-            WebInspector.debuggerModel._reset();
-            var mapping = createCompilerScriptMapping();
-            var originalUISourceCode;
-            step1();
-
-            function step1()
-            {
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalUISourceCodeAdded);
-                script = InspectorTest.createScriptMock(&quot;compiled.js&quot;, 0, 0, true, &quot;&quot;);
-                script.sourceMapURL = &quot;http://localhost:8000/inspector/resources/source-map.json&quot;;
-                defaultScriptMapping.addScript(script);
-                resourceScriptMapping.addScript(script);
-                mapping.addScript(script);
-                afterScriptAdded();
-            }
-
-            function originalUISourceCodeAdded(uiSourceCode)
-            {
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalResourceUISourceCodeAdded);
-                InspectorTest.addMockUISourceCodeToWorkspace(&quot;compiled.js&quot;, WebInspector.resourceTypes.Script, &quot;&quot;);
-            }
-
-            function originalResourceUISourceCodeAdded(uiSourceCode)
-            {
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(firstUISourceCodeAdded);
-                originalUISourceCode = uiSourceCode;
-            }
-
-            function firstUISourceCodeAdded(uiSourceCode)
-            {
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(secondUISourceCodeAdded);
-            }
-
-            function secondUISourceCodeAdded(uiSourceCode) { }
-
-            function afterScriptAdded(uiSourceCode)
-            {
-                var uiSourceCode1 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/source1.js&quot;);
-                var uiSourceCode2 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/source2.js&quot;);
-
-                InspectorTest.checkUILocation(uiSourceCode1, 4, 4, script.rawLocationToUILocation(0, 81));
-                InspectorTest.checkUILocation(uiSourceCode1, 5, 4, script.rawLocationToUILocation(0, 93));
-                InspectorTest.checkUILocation(uiSourceCode2, 7, 4, script.rawLocationToUILocation(1, 151));
-                InspectorTest.checkUILocation(originalUISourceCode, 1, 200, script.rawLocationToUILocation(1, 200));
-
-                InspectorTest.checkRawLocation(script, 0, 42, uiSourceCode1.uiLocationToRawLocation(3, 10));
-                InspectorTest.checkRawLocation(script, 1, 85, uiSourceCode2.uiLocationToRawLocation(0, 0));
-                InspectorTest.checkRawLocation(script, 1, 110, uiSourceCode2.uiLocationToRawLocation(5, 2));
-
-                uiSourceCode1.requestContent(didRequestContent1);
-
-                function didRequestContent1(content, contentEncoded, mimeType)
-                {
-                    InspectorTest.assertEquals(0, content.indexOf(&quot;window.addEventListener&quot;));
-                    uiSourceCode2.requestContent(didRequestContent2);
-                }
-
-                function didRequestContent2(content, contentEncoded, mimeType)
-                {
-                    InspectorTest.assertEquals(0, content.indexOf(&quot;function ClickHandler()&quot;));
-                    next();
-                }
-            }
-        },
-
-        function testCompilerScriptMappingWhenResourceWasLoadedAfterSource(next)
-        {
-            var script;
-            WebInspector.debuggerModel._reset();
-            var mapping = createCompilerScriptMapping();
-            var originalUISourceCode;
-            step1();
-
-            function step1()
-            {
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(function() { });
-                script = InspectorTest.createScriptMock(&quot;compiled.js&quot;, 0, 0, true, &quot;&quot;);
-                script.sourceMapURL = &quot;http://localhost:8000/inspector/resources/source-map.json&quot;;
-                defaultScriptMapping.addScript(script);
-                resourceScriptMapping.addScript(script);
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(firstUISourceCodeAdded);
-                mapping.addScript(script);
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalResourceUISourceCodeAdded);
-                InspectorTest.addMockUISourceCodeToWorkspace(&quot;compiled.js&quot;, WebInspector.resourceTypes.Script, &quot;&quot;);
-                afterScriptAdded();
-            }
-
-            function originalResourceUISourceCodeAdded(uiSourceCode) {
-                originalUISourceCode = uiSourceCode;
-            }
-
-            function firstUISourceCodeAdded(uiSourceCode)
-            {
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(function() { });
-            }
-
-            function afterScriptAdded(uiSourceCode)
-            {
-                var uiSourceCode1 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/source1.js&quot;);
-                var uiSourceCode2 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/source2.js&quot;);
-
-                InspectorTest.checkUILocation(uiSourceCode1, 4, 4, script.rawLocationToUILocation(0, 81));
-                InspectorTest.checkUILocation(uiSourceCode1, 5, 4, script.rawLocationToUILocation(0, 93));
-                InspectorTest.checkUILocation(uiSourceCode2, 7, 4, script.rawLocationToUILocation(1, 151));
-                InspectorTest.checkUILocation(originalUISourceCode, 1, 200, script.rawLocationToUILocation(1, 200));
-
-                InspectorTest.checkRawLocation(script, 0, 42, uiSourceCode1.uiLocationToRawLocation(3, 10));
-                InspectorTest.checkRawLocation(script, 1, 85, uiSourceCode2.uiLocationToRawLocation(0, 0));
-                InspectorTest.checkRawLocation(script, 1, 110, uiSourceCode2.uiLocationToRawLocation(5, 2));
-
-                uiSourceCode1.requestContent(didRequestContent1);
-
-                function didRequestContent1(content, contentEncoded, mimeType)
-                {
-                    InspectorTest.assertEquals(0, content.indexOf(&quot;window.addEventListener&quot;));
-                    uiSourceCode2.requestContent(didRequestContent2);
-                }
-
-                function didRequestContent2(content, contentEncoded, mimeType)
-                {
-                    InspectorTest.assertEquals(0, content.indexOf(&quot;function ClickHandler()&quot;));
-                    next();
-                }
-            }
-        },
-
-        function testInlinedSourceMap(next)
-        {
-            WebInspector.debuggerModel._reset();
-            var mapping = createCompilerScriptMapping();
-            var script = InspectorTest.createScriptMock(&quot;http://example.com/compiled.js&quot;, 0, 0, true, &quot;&quot;);
-            var sourceMap = {
-                &quot;file&quot;:&quot;compiled.js&quot;,
-                &quot;mappings&quot;:&quot;AAASA,QAAAA,IAAG,CAACC,CAAD,CAAaC,CAAb,CACZ,CACI,MAAOD,EAAP,CAAoBC,CADxB,CAIA,IAAIC,OAAS;&quot;,
-                &quot;sources&quot;:[&quot;source.js&quot;],
-                &quot;sourcesContent&quot;:[&quot;&lt;source content&gt;&quot;]
-            };
-            script.sourceMapURL = &quot;data:application/json;base64,&quot; + btoa(JSON.stringify(sourceMap));
-            InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(compiledUISourceCodeAdded);
-
-            function compiledUISourceCodeAdded(uiSourceCode)
-            {
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalUISourceCodeAdded);
-            }
-
-            function originalUISourceCodeAdded(uiSourceCode) { }
-            
-            defaultScriptMapping.addScript(script);
-            resourceScriptMapping.addScript(script);
-            mapping.addScript(script);
-
-            var uiSourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://example.com/source.js&quot;);
-
-            InspectorTest.checkUILocation(uiSourceCode, 2, 4, mapping.rawLocationToUILocation(WebInspector.debuggerModel.createRawLocation(script, 0, 18)));
-            InspectorTest.checkRawLocation(script, 0, 18, mapping.uiLocationToRawLocation(uiSourceCode, 2, 4));
-
-            uiSourceCode.requestContent(didRequestContent);
-
-            function didRequestContent(content, contentEncoded, mimeType)
-            {
-                InspectorTest.addResult(&quot;&lt;source content&gt; === &quot; + content);
-                next();
-            }
-        },
-
-        function testSourceMapCouldNotBeLoaded(next)
-        {
-            WebInspector.settings.sourceMapsEnabled.set(true);
-            WebInspector.debuggerModel._reset();
-            InspectorTest.createWorkspace();
-            var debuggerScriptMapping = new WebInspector.DebuggerScriptMapping(InspectorTest.testWorkspace, InspectorTest.testNetworkWorkspaceProvider);
-
-            InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(compiledUISourceCodeAdded);
-            var script = InspectorTest.createScriptMock(&quot;compiled.js&quot;, 0, 0, true, &quot;&quot;);
-
-            function compiledUISourceCodeAdded(uiSourceCode)
-            {
-                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalUISourceCodeAdded);
-            }
-
-            function originalUISourceCodeAdded(uiSourceCode) { }
-
-            script.sourceMapURL = &quot;http://localhost:8000/inspector/resources/source-map.json_&quot;;
-            console.error = function() {}; // Error message is platform dependent.
-            debuggerScriptMapping._parsedScriptSource({data:script});
-            var uiLocation = script.rawLocationToUILocation(0, 0);
-            InspectorTest.addResult(uiLocation.uiSourceCode.originURL());
-            next();
-        }
-    ]);
-};
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests SourceMap and CompilerScriptMapping.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorcompilersourcemappingdebugexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 2: button clicked!
-Tests installing compiler source map in scripts panel.
-
-
-Debugger was enabled.
-
-Running: testSetBreakpoint
-Page reloaded.
-Script source was shown.
-Script execution paused.
-Call stack:
-    0) handleClick (compiled.js:2)
-    1) clickButton (compiler-source-mapping-debug.html:11)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorcompilersourcemappingdebughtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/compiled.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function clickButton()
-{
-    document.getElementById('test').click();
-}
-
-function test()
-{
-    InspectorTest.runDebuggerTestSuite([
-        function testSetBreakpoint(next)
-        {
-            WebInspector.settings.sourceMapsEnabled.set(true);
-            InspectorTest.reloadPage(pageReloaded);
-
-            function pageReloaded()
-            {
-                InspectorTest.showScriptSource(&quot;source1.js&quot;, didShowSource);
-            }
-
-            function didShowSource(sourceFrame)
-            {
-                InspectorTest.addResult(&quot;Script source was shown.&quot;);
-                InspectorTest.setBreakpoint(sourceFrame, 14, &quot;&quot;, true);
-                InspectorTest.waitUntilPaused(paused);
-                InspectorTest.evaluateInPage(&quot;setTimeout(clickButton, 0)&quot;);
-            }
-
-            function paused(callFrames)
-            {
-                InspectorTest.captureStackTrace(callFrames);
-                next();
-            }
-        }
-    ]);
-};
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests installing compiler source map in scripts panel.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolecdcompletionsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-cd-completions-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-cd-completions-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-cd-completions-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Test that completions in the context of an iframe with a different origin will result in names of its global variables. Test passes if all global variables are found among completions AND there are NO console messages. Bug 65457.
-
-
-myGlobalVar
-myGlobalFunction
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolecdcompletionshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-cd-completions.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-cd-completions.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-cd-completions.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.showConsolePanel();
-    var selector = WebInspector.consoleView._frameSelector._selectElement;
-    var option = selector.firstChild;
-    while (option) {
-        if (option.textContent &amp;&amp; option.textContent.startsWith(&quot;myIFrame&quot;))
-            break;
-        option = option.nextSibling;
-    }
-    if (!option) {
-        InspectorTest.addResult(&quot;FAILED: myIFrame not found in the context list&quot;);
-        InspectorTest.completeTest();
-        return;
-    }
-    option.selected = true;
-    WebInspector.consoleView._frameChanged();
-
-    WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;myGlob&quot;, false, checkCompletions.bind(this));
-    function checkCompletions(completions)
-    {
-        var expected = [&quot;myGlobalVar&quot;, &quot;myGlobalFunction&quot;];
-        for (var i = 0; i &lt; expected.length; ++i) {
-            if (completions.indexOf(expected[i]) !== -1)
-                InspectorTest.addResult(expected[i]);
-            else
-                InspectorTest.addResult(&quot;NOT FOUND: &quot; + expected[i]);
-        }
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Test that completions in the context of an iframe with a different origin will
-result in names of its global variables. Test passes if all global variables
-are found among completions AND there are NO console messages.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65457&quot;&gt;Bug 65457.&lt;/a&gt;
-&lt;/p&gt;
-&lt;iframe name=&quot;myIFrame&quot; src=&quot;http://localhost:8000/inspector/resources/console-cd-completions-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolecdexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-cd-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-cd-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-cd-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that console evaluation can be performed in an iframe context.Bug 19872.
-
-
-foo = 2011
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolecdhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-cd.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-cd.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-cd.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,43 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.showConsolePanel();
-    var selector = WebInspector.consoleView._frameSelector._selectElement;
-    var option = selector.firstChild;
-    while (option) {
-        if (option.textContent &amp;&amp; option.textContent.startsWith(&quot;myIFrame&quot;))
-            break;
-        option = option.nextSibling;
-    }
-    if (!option) {
-        InspectorTest.addResult(&quot;FAILED: myIFrame not found in the context list&quot;);
-        InspectorTest.completeTest();
-        return;
-    }
-    option.selected = true;
-    WebInspector.consoleView._frameChanged();
-
-    InspectorTest.evaluateInConsoleAndDump(&quot;foo&quot;, finish);
-    function finish()
-    {
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Tests that console evaluation can be performed in an iframe context.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=19872&quot;&gt;Bug 19872.&lt;/a&gt;
-&lt;/p&gt;
-&lt;iframe name=&quot;myIFrame&quot; src=&quot;http://localhost:8000/inspector/resources/console-cd-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolecrossoriginiframeloggingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +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;http://localhost:8000&quot;. Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;http://localhost:8000&quot;. Protocols, domains, and ports must match.
-CONSOLE MESSAGE: Unable to post message to http://127.0.0.1:8000. Recipient has origin http://localhost:8000.
-
-Tests that cross origin errors are logged with source url and line number.
-
-
-Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;http://localhost:8000&quot;. Protocols, domains, and ports must match. console-cross-origin-iframe-logging.html:9
-Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;http://localhost:8000&quot;. Protocols, domains, and ports must match. [native code]:1
-Unable to post message to http://127.0.0.1:8000. Recipient has origin http://localhost:8000.
- [native code]:1
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolecrossoriginiframelogginghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function accessFrame()
-{
-    // Should fail.
-    var host = frames[0].location.host;
-
-    // Should fail.
-    frames[0].location.reload();
-
-    // Should fail.
-    frames[0].postMessage(&quot;fail&quot;, &quot;http://127.0.0.1:8000&quot;);
-}
-
-function test()
-{
-    var finishAttemptsLeft = 4;
-    InspectorTest.addConsoleSniffer(maybeFinish, true);
-    ConsoleAgent.setMonitoringXHREnabled(true, step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInPage(&quot;accessFrame()&quot;, maybeFinish);
-    }
-
-    function maybeFinish()
-    {
-        --finishAttemptsLeft;
-        if (finishAttemptsLeft)
-            return;
-
-        ConsoleAgent.setMonitoringXHREnabled(false, finish);
-    }
-
-    function finish()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that cross origin errors are logged with source url and line number.&lt;/p&gt;
-&lt;iframe src=&quot;http://localhost:8000/inspector/resources/cross-origin-iframe.html&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsoleresourceerrorsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-Tests that errors to load a resource cause error messages to be logged to console.
-
-
-GET http://127.0.0.1:8000/inspector/missing.css 404 (Not Found) console-resource-errors-iframe.html:3 console-message console-error-level
-GET http://127.0.0.1:8000/inspector/non-existent-iframe.html 404 (Not Found) non-existent-iframe.html:1 console-message console-error-level
-GET http://127.0.0.1:8000/inspector/non-existent-script.js 404 (Not Found) console-resource-errors-iframe.html:4 console-message console-error-level
-GET http://127.0.0.1:8000/inspector/non-existent-xhr 404 (Not Found) [native code]:1send [native code]:1loadXHR console-resource-errors.html:18performActions console-resource-errors.html:10eval codeeval [native code]:1evaluate [native code]:1_evaluateOn_evaluateAndWrapevaluate console-message console-error-level
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsoleresourceerrorshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-resource-errors.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-resource-errors.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-resource-errors.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function performActions()
-{
-    loadXHR();
-    loadIframe();
-}
-
-function loadXHR()
-{
-    var xhr = new XMLHttpRequest();
-    xhr.open(&quot;GET&quot;,&quot;non-existent-xhr&quot;, false);
-    xhr.send(null);
-}
-
-function loadIframe()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.src = &quot;resources/console-resource-errors-iframe.html&quot;;
-    document.body.appendChild(iframe);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(addMessage, true);
-
-    var messageCount = 0;
-    function addMessage(message)
-    {
-       if (message.toString().indexOf(&quot;non-existent-iframe&quot;) !== -1) {
-           InspectorTest.expandConsoleMessages();
-           InspectorTest.dumpConsoleMessagesWithClasses(true);
-           InspectorTest.completeTest();
-        }
-    }
-
-    InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that errors to load a resource cause error messages to be logged to console.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsoletestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,91 +0,0 @@
</span><del>-var initialize_ConsoleTest = function() {
-
-InspectorTest.showConsolePanel = function()
-{
-    WebInspector.showPanel(&quot;console&quot;);
-    WebInspector.drawer.immediatelyFinishAnimation();
-}
-
-InspectorTest.dumpConsoleMessages = function(printOriginatingCommand, dumpClassNames)
-{
-    var result = [];
-    var messages = WebInspector.consoleView._visibleMessages;
-    for (var i = 0; i &lt; messages.length; ++i) {
-        var element = messages[i].toMessageElement();
-
-        if (dumpClassNames) {
-            var classNames = [];
-            for (var node = element.firstChild; node; node = node.traverseNextNode(element)) {
-                if (node.nodeType === Node.ELEMENT_NODE &amp;&amp; node.className)
-                    classNames.push(node.className);
-            }
-        }
-
-        InspectorTest.addResult(element.textContent.replace(/\u200b/g, &quot;&quot;) + (dumpClassNames ? &quot; &quot; + classNames.join(&quot; &gt; &quot;) : &quot;&quot;));
-        if (printOriginatingCommand &amp;&amp; messages[i].originatingCommand) {
-            var originatingElement = messages[i].originatingCommand.toMessageElement();
-            InspectorTest.addResult(&quot;Originating from: &quot; + originatingElement.textContent.replace(/\u200b/g, &quot;&quot;));
-        }
-    }
-    return result;
-}
-
-InspectorTest.dumpConsoleMessagesWithStyles = function(sortMessages)
-{
-    var result = [];
-    var messages = WebInspector.consoleView._visibleMessages;
-    for (var i = 0; i &lt; messages.length; ++i) {
-        var element = messages[i].toMessageElement();
-        InspectorTest.addResult(element.textContent.replace(/\u200b/g, &quot;&quot;));
-        var spans = element.querySelectorAll(&quot;.console-message-text &gt; span &gt; span&quot;);
-        for (var j = 0; j &lt; spans.length; j++)
-            InspectorTest.addResult(&quot;Styled text #&quot; + j + &quot;: &quot; + (spans[j].style.cssText || &quot;NO STYLES DEFINED&quot;));
-    }
-}
-
-InspectorTest.dumpConsoleMessagesWithClasses = function(sortMessages) {
-    var result = [];
-    var messages = WebInspector.consoleView._visibleMessages;
-    for (var i = 0; i &lt; messages.length; ++i) {
-        var element = messages[i].toMessageElement();
-        result.push(element.textContent.replace(/\u200b/g, &quot;&quot;) + &quot; &quot; + element.getAttribute(&quot;class&quot;));
-    }
-    if (sortMessages)
-        result.sort();
-    for (var i = 0; i &lt; messages.length; ++i)
-        InspectorTest.addResult(result[i]);
-}
-
-InspectorTest.expandConsoleMessages = function()
-{
-    var messages = WebInspector.consoleView._visibleMessages;
-    for (var i = 0; i &lt; messages.length; ++i) {
-        var element = messages[i].toMessageElement();
-        var node = element;
-        while (node) {
-            if (node.treeElementForTest)
-                node.treeElementForTest.expand();
-            node = node.traverseNextNode(element);
-        }
-    }
-}
-
-InspectorTest.checkConsoleMessagesDontHaveParameters = function()
-{
-    var messages = WebInspector.consoleView._visibleMessages;
-    for (var i = 0; i &lt; messages.length; ++i) {
-        var m = messages[i];
-        InspectorTest.addResult(&quot;Message[&quot; + i + &quot;]:&quot;);
-        InspectorTest.addResult(&quot;Message: &quot; + WebInspector.displayNameForURL(m.url) + &quot;:&quot; + m.line + &quot; &quot; + m.message);
-        if (&quot;_parameters&quot; in m) {
-            if (m._parameters)
-                InspectorTest.addResult(&quot;FAILED: message parameters list is not empty: &quot; + m._parameters);
-            else
-                InspectorTest.addResult(&quot;SUCCESS: message parameters list is empty. &quot;);
-        } else {
-            InspectorTest.addResult(&quot;FAILED: didn't find _parameters field in the message.&quot;);
-        }
-    }
-}
-
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolewebsocketerrorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-websocket-error.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-websocket-error.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-websocket-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,84 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var testFunctions = [testDNSLookup, testSSLCertificate];
-var nextTestIndex = 0;
-
-function onload()
-{
-    if (window.testRunner)
-        testRunner.waitUntilDone();
-    if (!window.WebSocket) {
-        console.log(&quot;WebSocket is not supported.&quot;); return;
-    }
-    doNextTest();
-}
-
-function doNextTest()
-{
-    if (nextTestIndex == testFunctions.length) {
-        runTest();
-        return;
-    }
-    var testFunction = testFunctions[nextTestIndex];
-    nextTestIndex++;
-    testFunction();
-}
-
-function testDNSLookup()
-{
-    console.log(&quot;testDNSLookup: Test started.&quot;);
-    var ws = new WebSocket(&quot;ws://nonexistent.domain.invalid/&quot;); // Network error should be logged to console.
-    ws.onopen = function() {
-        console.log(&quot;testDNSLookup: onopen is called.&quot;);
-        ws.close();
-    };
-    ws.onerror = function() {
-        console.log(&quot;testDNSLookup: onerror is called.&quot;);
-        ws.close();
-    };
-    ws.onclose = function() {
-        console.log(&quot;testDNSLookup: onclose is called.&quot;);
-        doNextTest();
-    };
-}
-
-function testSSLCertificate()
-{
-    console.log(&quot;testSSLCertificate: Test started.&quot;);
-    // The following statement should cause &quot;Untrusted root certificate&quot; error.
-    // Note that port 8443 serves HTTPS content rather than secure WebSocket,
-    // but it does not matter because the test does not send or receive any payload.
-    var ws = new WebSocket(&quot;wss://127.0.0.1:8443/&quot;);
-    ws.onopen = function() {
-        console.log(&quot;testSSLCertificate: onopen is called.&quot;);
-        ws.close();
-    };
-    ws.onerror = function() {
-        console.log(&quot;testSSLCertificate: onerror is called.&quot;);
-        ws.close();
-    };
-    ws.onclose = function() {
-        console.log(&quot;testSSLCertificate: onclose is called.&quot;);
-        doNextTest();
-    };
-}
-
-function test()
-{
-    InspectorTest.dumpConsoleMessages();
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-WebSocket's network errors should be logged to console.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolexhrloggingasyncexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-CONSOLE MESSAGE: line 6: XHR loaded: 2
-Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled for asynchronous XHRs.
-
-Bug 79229
-XHR finished loading: &quot;http://127.0.0.1:8000/inspector/resources/xhr-exists.html&quot;. [native code]:1
-XHR loaded: 1 network-test.js:6
-XHR loaded: 2 network-test.js:6
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolexhrloggingasynchtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,54 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    step1();
-
-    function makeRequest(callback)
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/xhr-exists.html&quot;, true, callback);
-    }
-
-    function step1()
-    {
-        function callback()
-        {
-            makeRequest(step2);
-        }
-
-        ConsoleAgent.setMonitoringXHREnabled(true, callback);
-    }
-
-    function step2()
-    {
-        function callback()
-        {
-            makeRequest(step3);
-        }
-
-        ConsoleAgent.setMonitoringXHREnabled(false, callback);
-    }
-
-    function step3()
-    {
-        function finish()
-        {
-            InspectorTest.dumpConsoleMessages();
-            InspectorTest.completeTest();
-        }
-        InspectorTest.runAfterPendingDispatches(finish);
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled for asynchronous XHRs.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=79229&quot;&gt;Bug 79229&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolexhrloggingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 10: sending a %s request to %s
-CONSOLE MESSAGE: line 10: sending a %s request to %s
-CONSOLE MESSAGE: line 10: sending a %s request to %s
-CONSOLE MESSAGE: line 10: sending a %s request to %s
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/xhr-exists.html. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
-CONSOLE MESSAGE: line 10: sending a %s request to %s
-CONSOLE MESSAGE: line 10: sending a %s request to %s
-CONSOLE MESSAGE: line 10: sending a %s request to %s
-CONSOLE MESSAGE: line 10: sending a %s request to %s
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/xhr-exists.html. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
-Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled.
-
-sending a GET request to resources/xhr-exists.html console-xhr-logging.html:10
-XHR finished loading: &quot;http://127.0.0.1:8000/inspector/resources/xhr-exists.html&quot;. [native code]:1
-sending a GET request to resources/xhr-does-not-exist.html console-xhr-logging.html:10
-GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html 404 (Not Found) [native code]:1
-XHR finished loading: &quot;http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html&quot;. [native code]:1
-sending a POST request to resources/post-target.cgi console-xhr-logging.html:10
-XHR finished loading: &quot;http://127.0.0.1:8000/inspector/resources/post-target.cgi&quot;. [native code]:1
-sending a GET request to http://localhost:8000/inspector/resources/xhr-exists.html console-xhr-logging.html:10
-XMLHttpRequest cannot load http://localhost:8000/inspector/resources/xhr-exists.html. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. [native code]:1
-sending a GET request to resources/xhr-exists.html console-xhr-logging.html:10
-sending a GET request to resources/xhr-does-not-exist.html console-xhr-logging.html:10
-GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html 404 (Not Found) [native code]:1
-sending a POST request to resources/post-target.cgi console-xhr-logging.html:10
-sending a GET request to http://localhost:8000/inspector/resources/xhr-exists.html console-xhr-logging.html:10
-XMLHttpRequest cannot load http://localhost:8000/inspector/resources/xhr-exists.html. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. [native code]:1
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorconsolexhrlogginghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/console-xhr-logging.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/console-xhr-logging.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/console-xhr-logging.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,68 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function requestHelper(method, url)
-{
-    // Make synchronous requests for simplicity.
-    console.log(&quot;sending a %s request to %s&quot;, method, url);
-    makeSimpleXHR(method, url, false);
-}
-
-function makeRequests()
-{
-    // 1. Page that exists.
-    requestHelper(&quot;GET&quot;, &quot;resources/xhr-exists.html&quot;);
-    // 2. Page that doesn't exist.
-    requestHelper(&quot;GET&quot;, &quot;resources/xhr-does-not-exist.html&quot;);
-    // 3. POST to a page.
-    requestHelper(&quot;POST&quot;, &quot;resources/post-target.cgi&quot;);
-    // 4. Cross-origin request
-    requestHelper(&quot;GET&quot;, &quot;http://localhost:8000/inspector/resources/xhr-exists.html&quot;);
-}
-
-function test()
-{
-    step1();
-
-    function step1()
-    {
-        function callback()
-        {
-            InspectorTest.evaluateInPage(&quot;makeRequests()&quot;, step2);
-        }
-        ConsoleAgent.setMonitoringXHREnabled(true, callback);
-    }
-
-    function step2()
-    {
-        function callback()
-        {
-            InspectorTest.evaluateInPage(&quot;makeRequests()&quot;, step3);
-        }
-        ConsoleAgent.setMonitoringXHREnabled(false, callback);
-    }
-
-    function step3()
-    {
-        function finish()
-        {
-            InspectorTest.dumpConsoleMessages();
-            InspectorTest.completeTest();
-        }
-        InspectorTest.runAfterPendingDispatches(finish);
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectordebuggertestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/debugger-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/debugger-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/debugger-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,312 +0,0 @@
</span><del>-var initialize_DebuggerTest = function() {
-
-InspectorTest.startDebuggerTest = function(callback, quiet)
-{
-    if (quiet !== undefined)
-        InspectorTest._quiet = quiet;
-    WebInspector.showPanel(&quot;scripts&quot;);
-
-    if (WebInspector.debuggerModel.debuggerEnabled())
-        startTest();
-    else {
-        InspectorTest.addSniffer(WebInspector.debuggerModel, &quot;_debuggerWasEnabled&quot;, startTest);
-        WebInspector.debuggerModel.enableDebugger();
-    }
-
-    function startTest()
-    {
-        InspectorTest.addResult(&quot;Debugger was enabled.&quot;);
-        InspectorTest.addSniffer(WebInspector.debuggerModel, &quot;_pausedScript&quot;, InspectorTest._pausedScript, true);
-        InspectorTest.addSniffer(WebInspector.debuggerModel, &quot;_resumedScript&quot;, InspectorTest._resumedScript, true);
-        InspectorTest.safeWrap(callback)();
-    }
-};
-
-InspectorTest.finishDebuggerTest = function(callback)
-{
-    var scriptsPanel = WebInspector.panels.scripts;
-
-    WebInspector.debuggerModel.setBreakpointsActive(true);
-    InspectorTest.resumeExecution(disableDebugger);
-
-    function disableDebugger()
-    {
-        if (!WebInspector.debuggerModel.debuggerEnabled())
-            completeTest();
-        else {
-            InspectorTest.addSniffer(WebInspector.debuggerModel, &quot;_debuggerWasDisabled&quot;, debuggerDisabled);
-            WebInspector.debuggerModel.disableDebugger();
-        }
-    }
-
-    function debuggerDisabled()
-    {
-        InspectorTest.addResult(&quot;Debugger was disabled.&quot;);
-        callback();
-    }
-};
-
-InspectorTest.completeDebuggerTest = function()
-{
-    InspectorTest.finishDebuggerTest(InspectorTest.completeTest.bind(InspectorTest));
-};
-
-InspectorTest.runDebuggerTestSuite = function(testSuite)
-{
-    var testSuiteTests = testSuite.slice();
-
-    function runner()
-    {
-        if (!testSuiteTests.length) {
-            InspectorTest.completeDebuggerTest();
-            return;
-        }
-
-        var nextTest = testSuiteTests.shift();
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(&quot;Running: &quot; + /function\s([^(]*)/.exec(nextTest)[1]);
-        InspectorTest.safeWrap(nextTest)(runner, runner);
-    }
-
-    InspectorTest.startDebuggerTest(runner);
-}
-
-InspectorTest.runTestFunctionAndWaitUntilPaused = function(callback)
-{
-    InspectorTest.evaluateInConsole(&quot;setTimeout(testFunction, 0)&quot;);
-    InspectorTest.addResult(&quot;Set timer for test function.&quot;);
-    InspectorTest.waitUntilPaused(callback);
-};
-
-InspectorTest.waitUntilPaused = function(callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    if (InspectorTest._callFrames)
-        callback(InspectorTest._callFrames);
-    else
-        InspectorTest._waitUntilPausedCallback = callback;
-};
-
-InspectorTest.waitUntilResumed = function(callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    if (!InspectorTest._callFrames)
-        callback();
-    else
-        InspectorTest._waitUntilResumedCallback = callback;
-};
-
-InspectorTest.resumeExecution = function(callback)
-{
-    if (WebInspector.panels.scripts.paused)
-        WebInspector.panels.scripts._togglePause();
-    InspectorTest.waitUntilResumed(callback);
-};
-
-InspectorTest.captureStackTrace = function(callFrames, dropLineNumbers, verbose)
-{
-    InspectorTest.addResult(&quot;Call stack:&quot;);
-    for (var i = 0; i &lt; callFrames.length; i++) {
-        var frame = callFrames[i];
-        var script = WebInspector.debuggerModel.scriptForId(frame.location.scriptId);
-        var url;
-        var lineNumber;
-        var dropFrameLineNumber = dropLineNumbers;
-        if (script) {
-            url = WebInspector.displayNameForURL(script.sourceURL);
-            lineNumber = frame.location.lineNumber + 1;
-        } else {
-            url = &quot;(internal script)&quot;;
-            dropFrameLineNumber =  true;
-        }
-        var s = &quot;    &quot; + i + &quot;) &quot; + frame.functionName + &quot; (&quot; + url + (dropFrameLineNumber ? &quot;&quot; : &quot;:&quot; + lineNumber) + &quot;)&quot;;
-        InspectorTest.addResult(s);
-    }
-};
-
-InspectorTest.dumpSourceFrameContents = function(sourceFrame)
-{
-    InspectorTest.addResult(&quot;==Source frame contents start==&quot;);
-    var textEditor = sourceFrame._textEditor;
-    for (var i = 0; i &lt; textEditor.linesCount; ++i)
-        InspectorTest.addResult(textEditor.line(i));
-    InspectorTest.addResult(&quot;==Source frame contents end==&quot;);
-};
-
-InspectorTest._pausedScript = function(callFrames, reason, auxData)
-{
-    if (!InspectorTest._quiet)
-        InspectorTest.addResult(&quot;Script execution paused.&quot;);
-    InspectorTest._callFrames = callFrames;
-    if (InspectorTest._waitUntilPausedCallback) {
-        var callback = InspectorTest._waitUntilPausedCallback;
-        delete InspectorTest._waitUntilPausedCallback;
-        callback(InspectorTest._callFrames);
-    }
-}
-
-InspectorTest._resumedScript = function()
-{
-    if (!InspectorTest._quiet)
-        InspectorTest.addResult(&quot;Script execution resumed.&quot;);
-    delete InspectorTest._callFrames;
-    if (InspectorTest._waitUntilResumedCallback) {
-        var callback = InspectorTest._waitUntilResumedCallback;
-        delete InspectorTest._waitUntilResumedCallback;
-        callback();
-    }
-};
-
-InspectorTest.showUISourceCode = function(uiSourceCode, callback)
-{
-    var panel = WebInspector.showPanel(&quot;scripts&quot;);
-    panel.showUISourceCode(uiSourceCode);
-    var sourceFrame = panel.visibleView;
-    if (sourceFrame.loaded)
-        callback(sourceFrame);
-    else
-        InspectorTest.addSniffer(sourceFrame, &quot;onTextEditorContentLoaded&quot;, callback.bind(null, sourceFrame));
-};
-
-InspectorTest.showScriptSource = function(scriptName, callback)
-{
-    var panel = WebInspector.showPanel(&quot;scripts&quot;);
-    var uiSourceCodes = panel._workspace.uiSourceCodes();
-    for (var i = 0; i &lt; uiSourceCodes.length; ++i) {
-        if (uiSourceCodes[i].name() === scriptName) {
-            InspectorTest.showUISourceCode(uiSourceCodes[i], callback);
-            return;
-        }
-    }
-
-    InspectorTest.addSniffer(WebInspector.ScriptsPanel.prototype, &quot;_addUISourceCode&quot;, InspectorTest.showScriptSource.bind(InspectorTest, scriptName, callback));
-};
-
-InspectorTest.dumpScriptsNavigator = function(navigator, prefix)
-{
-    prefix = prefix || &quot;&quot;;
-    InspectorTest.addResult(prefix + &quot;Dumping ScriptsNavigator 'Scripts' tab:&quot;);
-    dumpNavigatorTreeOutline(prefix, navigator._scriptsView._scriptsTree);
-    InspectorTest.addResult(prefix + &quot;Dumping ScriptsNavigator 'Content scripts' tab:&quot;);
-    dumpNavigatorTreeOutline(prefix, navigator._contentScriptsView._scriptsTree);
-
-    function dumpNavigatorTreeElement(prefix, treeElement)
-    {
-        InspectorTest.addResult(prefix + treeElement.titleText);
-        for (var i = 0; i &lt; treeElement.children.length; ++i)
-            dumpNavigatorTreeElement(prefix + &quot;  &quot;, treeElement.children[i]);
-    }
-
-    function dumpNavigatorTreeOutline(prefix, treeOutline)
-    {
-        for (var i = 0; i &lt; treeOutline.children.length; ++i)
-            dumpNavigatorTreeElement(prefix + &quot;  &quot;, treeOutline.children[i]);
-    }
-    InspectorTest.addResult(&quot;&quot;);
-};
-
-InspectorTest.setBreakpoint = function(sourceFrame, lineNumber, condition, enabled)
-{
-    sourceFrame._setBreakpoint(lineNumber, condition, enabled);
-};
-
-InspectorTest.removeBreakpoint = function(sourceFrame, lineNumber)
-{
-    sourceFrame._breakpointManager.findBreakpoint(sourceFrame._uiSourceCode, lineNumber).remove();
-};
-
-
-InspectorTest.expandProperties = function(properties, callback)
-{
-    var index = 0;
-    function expandNextPath()
-    {
-        if (index === properties.length) {
-            InspectorTest.safeWrap(callback)();
-            return;
-        }
-        var parentTreeElement = properties[index++];
-        var path = properties[index++];
-        InspectorTest._expandProperty(parentTreeElement, path, 0, expandNextPath);
-    }
-    InspectorTest.runAfterPendingDispatches(expandNextPath);
-};
-
-InspectorTest._expandProperty = function(parentTreeElement, path, pathIndex, callback)
-{
-    if (pathIndex === path.length) {
-        InspectorTest.addResult(&quot;Expanded property: &quot; + path.join(&quot;.&quot;));
-        callback();
-        return;
-    }
-    var name = path[pathIndex++];
-    var propertyTreeElement = InspectorTest._findChildPropertyTreeElement(parentTreeElement, name);
-    if (!propertyTreeElement) {
-       InspectorTest.addResult(&quot;Failed to expand property: &quot; + path.slice(0, pathIndex).join(&quot;.&quot;));
-       InspectorTest.completeDebuggerTest();
-       return;
-    }
-    propertyTreeElement.expand();
-    InspectorTest.runAfterPendingDispatches(InspectorTest._expandProperty.bind(InspectorTest, propertyTreeElement, path, pathIndex, callback));
-};
-
-InspectorTest._findChildPropertyTreeElement = function(parent, childName)
-{
-    var children = parent.children;
-    for (var i = 0; i &lt; children.length; i++) {
-        var treeElement = children[i];
-        var property = treeElement.property;
-        if (property.name === childName)
-            return treeElement;
-    }
-};
-
-InspectorTest.setQuiet = function(quiet)
-{
-    InspectorTest._quiet = quiet;
-};
-
-InspectorTest.queryScripts = function(filter)
-{
-    var scripts = [];
-    for (var scriptId in WebInspector.debuggerModel._scripts) {
-        var script = WebInspector.debuggerModel._scripts[scriptId];
-        if (!filter || filter(script))
-            scripts.push(script);
-    }
-    return scripts;
-};
-
-InspectorTest.createScriptMock = function(url, startLine, startColumn, isContentScript, source)
-{
-    var scriptId = ++InspectorTest._lastScriptId;
-    var lineCount = source.lineEndings().length;
-    var endLine = startLine + lineCount - 1;
-    var endColumn = lineCount === 1 ? startColumn + source.length : source.length - source.lineEndings()[lineCount - 2];
-    var hasSourceURL = !!source.match(/\/\/@\ssourceURL=\s*(\S*?)\s*$/m);
-    var script = new WebInspector.Script(scriptId, url, startLine, startColumn, endLine, endColumn, isContentScript, null, hasSourceURL);
-    script.requestContent = function(callback) { callback(source, false, &quot;text/javascript&quot;); };
-    WebInspector.debuggerModel._registerScript(script);
-    return script;
-}
-
-InspectorTest._lastScriptId = 0;
-
-InspectorTest.checkRawLocation = function(script, lineNumber, columnNumber, location)
-{
-    InspectorTest.assertEquals(script.scriptId, location.scriptId, &quot;Incorrect scriptId&quot;);
-    InspectorTest.assertEquals(lineNumber, location.lineNumber, &quot;Incorrect lineNumber&quot;);
-    InspectorTest.assertEquals(columnNumber, location.columnNumber, &quot;Incorrect columnNumber&quot;);
-};
-
-InspectorTest.checkUILocation = function(uiSourceCode, lineNumber, columnNumber, location)
-{
-    InspectorTest.assertEquals(uiSourceCode, location.uiSourceCode, &quot;Incorrect uiSourceCode, expected '&quot; + (uiSourceCode ? uiSourceCode.originURL() : null) + &quot;',&quot; +
-                                                                    &quot; but got '&quot; + (location.uiSourceCode ? location.uiSourceCode.originURL() : null) + &quot;'&quot;);
-    InspectorTest.assertEquals(lineNumber, location.lineNumber, &quot;Incorrect lineNumber, expected '&quot; + lineNumber + &quot;', but got '&quot; + location.lineNumber + &quot;'&quot;);
-    InspectorTest.assertEquals(columnNumber, location.columnNumber, &quot;Incorrect columnNumber, expected '&quot; + columnNumber + &quot;', but got '&quot; + location.columnNumber + &quot;'&quot;);
-};
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorelementstestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/elements-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/elements-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/elements-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,644 +0,0 @@
</span><del>-var initialize_ElementTest = function() {
-
-InspectorTest.findNode = function(matchFunction, callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-    var result = null;
-    var topLevelChildrenRequested = false;
-    var pendingRequests = 0;
-    function processChildren(topLevel, children)
-    {
-        pendingRequests--;
-        if (result)
-            return;
-
-        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i) {
-            var childNode = children[i];
-            if (matchFunction(childNode)) {
-                result = childNode;
-                callback(result);
-                return;
-            }
-            pendingRequests++;
-            childNode.getChildNodes(processChildren.bind(null, false));
-        }
-
-        if (topLevel)
-            topLevelChildrenRequested = true;
-        if (topLevelChildrenRequested &amp;&amp; !result &amp;&amp; !pendingRequests)
-            callback(null);
-    }
-    pendingRequests++;
-
-    WebInspector.domAgent.requestDocument(documentRequested.bind(this));
-    function documentRequested(doc)
-    {
-        doc.getChildNodes(processChildren.bind(this, true));
-    }
-};
-
-InspectorTest.nodeWithId = function(idValue, callback)
-{
-    function nodeIdMatches(node)
-    {
-        return node.getAttribute(&quot;id&quot;) === idValue;
-    }
-    InspectorTest.findNode(nodeIdMatches, callback);
-}
-
-InspectorTest.expandedNodeWithId = function(idValue)
-{
-    var result;
-    function callback(node)
-    {
-        result = node;
-    }
-    InspectorTest.nodeWithId(idValue, callback);
-    return result;
-}
-
-InspectorTest.selectNodeWithId = function(idValue, callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-    function onNodeFound(node)
-    {
-        if (node)
-            WebInspector._updateFocusedNode(node.id);
-        callback(node);
-    }
-    InspectorTest.nodeWithId(idValue, onNodeFound);
-}
-
-InspectorTest.waitForStyles = function(idValue, callback, requireRebuild)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    (function sniff(node, rebuild)
-    {
-        if ((rebuild || !requireRebuild) &amp;&amp; node &amp;&amp; node.getAttribute(&quot;id&quot;) === idValue) {
-            callback();
-            return;
-        }
-        InspectorTest.addSniffer(WebInspector.StylesSidebarPane.prototype, &quot;_nodeStylesUpdatedForTest&quot;, sniff);
-    })(null);
-}
-
-InspectorTest.selectNodeAndWaitForStyles = function(idValue, callback)
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-
-    callback = InspectorTest.safeWrap(callback);
-
-    var targetNode;
-
-    InspectorTest.waitForStyles(idValue, stylesUpdated, true);
-    InspectorTest.selectNodeWithId(idValue, nodeSelected);
-
-    function nodeSelected(node)
-    {
-        targetNode = node;
-    }
-
-    function stylesUpdated()
-    {
-        callback(targetNode);
-    }
-}
-
-InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    function stylesCallback(targetNode)
-    {
-        InspectorTest.addSniffer(WebInspector.SidebarPane.prototype, &quot;onContentReady&quot;, callback);
-        WebInspector.panels.elements.sidebarPanes.computedStyle.expand();
-    }
-
-    InspectorTest.selectNodeAndWaitForStyles(idValue, stylesCallback);
-}
-
-InspectorTest.dumpSelectedElementStyles = function(excludeComputed, excludeMatched, omitLonghands, includeSelectorGroupMarks)
-{
-    function extractText(element)
-    {
-        var text = element.textContent;
-        if (text)
-            return text;
-        element = element.querySelector(&quot;[data-uncopyable]&quot;);
-        return element ? element.getAttribute(&quot;data-uncopyable&quot;) : &quot;&quot;;
-    }
-
-    function buildMarkedSelectors(element)
-    {
-        var result = &quot;&quot;;
-        for (var node = element.firstChild; node; node = node.nextSibling) {
-            if (node.nodeType === Node.ELEMENT_NODE &amp;&amp; node.className === &quot;selector-matches&quot;)
-                result += &quot;[$&quot; + node.textContent + &quot;$]&quot;;
-            else
-                result += node.textContent;
-        }
-        return result;
-    }
-
-    var styleSections = WebInspector.panels.elements.sidebarPanes.styles.sections;
-    for (var pseudoId in styleSections) {
-        var pseudoName = WebInspector.StylesSidebarPane.PseudoIdNames[pseudoId];
-        var sections = styleSections[pseudoId];
-        for (var i = 0; i &lt; sections.length; ++i) {
-            var section = sections[i];
-            if (section.computedStyle &amp;&amp; excludeComputed)
-                continue;
-            if (section.rule &amp;&amp; excludeMatched)
-                continue;
-            if (section.element.previousSibling &amp;&amp; section.element.previousSibling.className === &quot;sidebar-separator&quot;)
-                InspectorTest.addResult(&quot;======== &quot; + section.element.previousSibling.textContent + &quot; ========&quot;);
-            InspectorTest.addResult((section.expanded ? &quot;[expanded] &quot; : &quot;[collapsed] &quot;) + (section.noAffect ? &quot;[no-affect] &quot; : &quot;&quot;));
-            var chainEntries = section.titleElement.children;
-            for (var j = 0; j &lt; chainEntries.length; ++j) {
-                var chainEntry = chainEntries[j];
-                var entryLine = includeSelectorGroupMarks ? buildMarkedSelectors(chainEntry.children[1]) : chainEntry.children[1].textContent;
-                if (chainEntry.children[2])
-                    entryLine += &quot; &quot; + chainEntry.children[2].textContent;
-                entryLine += &quot; (&quot; + extractText(chainEntry.children[0]) + &quot;)&quot;;
-                InspectorTest.addResult(entryLine);
-            }
-            section.expand();
-            InspectorTest.dumpStyleTreeOutline(section.propertiesTreeOutline, omitLonghands ? 1 : 2);
-            InspectorTest.addResult(&quot;&quot;);
-        }
-        InspectorTest.addResult(&quot;&quot;);
-    }
-}
-
-InspectorTest.toggleStyleProperty = function(propertyName, checked)
-{
-    var treeItem = InspectorTest.getElementStylePropertyTreeItem(propertyName);
-    treeItem.toggleEnabled({ target: { checked: checked }, consume: function() { } });
-}
-
-InspectorTest.toggleMatchedStyleProperty = function(propertyName, checked)
-{
-    var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(propertyName);
-    treeItem.toggleEnabled({ target: { checked: checked }, consume: function() { } });
-}
-
-InspectorTest.expandAndDumpSelectedElementEventListeners = function(callback)
-{
-    InspectorTest.expandSelectedElementEventListeners(function() {
-        InspectorTest.dumpSelectedElementEventListeners(callback);
-    });
-}
-
-InspectorTest.expandSelectedElementEventListeners = function(callback)
-{
-    var sidebarPane = WebInspector.panels.elements.sidebarPanes.eventListeners;
-    sidebarPane.expand();
-
-    InspectorTest.runAfterPendingDispatches(function() {
-        InspectorTest.expandSelectedElementEventListenersSubsections(callback);
-    });
-}
-
-InspectorTest.expandSelectedElementEventListenersSubsections = function(callback)
-{
-    var eventListenerSections = WebInspector.panels.elements.sidebarPanes.eventListeners.sections;
-    for (var i = 0; i &lt; eventListenerSections.length; ++i)
-        eventListenerSections[i].expand();
-
-    // Multiple sections may expand.
-    InspectorTest.runAfterPendingDispatches(function() {
-        InspectorTest.expandSelectedElementEventListenersEventBars(callback);
-    });
-}
-
-InspectorTest.expandSelectedElementEventListenersEventBars = function(callback)
-{
-    var eventListenerSections = WebInspector.panels.elements.sidebarPanes.eventListeners.sections;
-    for (var i = 0; i &lt; eventListenerSections.length; ++i) {
-        var eventBarChildren = eventListenerSections[i]._eventBars.children;
-        for (var j = 0; j &lt; eventBarChildren.length; ++j)
-            eventBarChildren[j]._section.expand();
-    }
-
-    // Multiple sections may expand.
-    InspectorTest.runAfterPendingDispatches(callback);
-}
-
-InspectorTest.dumpSelectedElementEventListeners = function(callback)
-{
-    function formatSourceNameProperty(value)
-    {
-        return &quot;[clipped-for-test]/&quot; + value.replace(/(.*?\/)LayoutTests/, &quot;LayoutTests&quot;);
-    }
-
-    var eventListenerSections = WebInspector.panels.elements.sidebarPanes.eventListeners.sections;
-    for (var i = 0; i &lt; eventListenerSections.length; ++i) {
-        var section = eventListenerSections[i];
-        var eventType = section._title;
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(&quot;======== &quot; + eventType + &quot; ========&quot;);
-        var eventBarChildren = section._eventBars.children;
-        for (var j = 0; j &lt; eventBarChildren.length; ++j) {
-            var objectPropertiesSection = eventBarChildren[j]._section;
-            InspectorTest.dumpObjectPropertySection(objectPropertiesSection, {
-                sourceName: formatSourceNameProperty
-            });
-        }
-    }
-
-    callback();
-}
-
-InspectorTest.dumpObjectPropertySection = function(section, formatters)
-{
-    var expandedSubstring = section.expanded ? &quot;[expanded]&quot; : &quot;[collapsed]&quot;;
-    InspectorTest.addResult(expandedSubstring + &quot; &quot; + section.titleElement.textContent + &quot; &quot; + section.subtitleAsTextForTest);
-    if (!section.propertiesForTest)
-        return;
-
-    for (var i = 0; i &lt; section.propertiesForTest.length; ++i) {
-        var property = section.propertiesForTest[i];
-        var key = property.name;
-        var value = property.value._description;
-        if (key in formatters)
-            value = formatters[key](value);
-        InspectorTest.addResult(&quot;    &quot; + key + &quot;: &quot; + value);
-    }
-}
-
-InspectorTest.dumpObjectPropertySectionDeep = function(section)
-{
-    function domNodeToString(node) {
-        if (node)
-            return &quot;'&quot; + node.textContent + &quot;'&quot;;
-        else
-            return &quot;null&quot;;
-    }
-    function dumpTreeElementRecursively(treeElement, prefix) {
-        if (&quot;nameElement&quot; in treeElement)
-            InspectorTest.addResult(prefix + domNodeToString(treeElement.nameElement) + &quot; =&gt; &quot; + domNodeToString(treeElement.valueElement));
-        else
-            InspectorTest.addResult(prefix + treeElement.title);
-        for (var i = 0; i &lt; treeElement.children.length; i++)
-            dumpTreeElementRecursively(treeElement.children[i], prefix + &quot;    &quot;);
-    }
-
-    var childNodes = section.propertiesTreeOutline.children;
-    for (var i = 0; i &lt; childNodes.length; i++) {
-        dumpTreeElementRecursively(childNodes[i], &quot;&quot;);
-    }
-}
-
-// FIXME: this returns the first tree item found (may fail for same-named properties in a style).
-InspectorTest.getElementStylePropertyTreeItem = function(propertyName)
-{
-    var styleSections = WebInspector.panels.elements.sidebarPanes.styles.sections[0];
-    var elementStyleSection = styleSections[1];
-    return InspectorTest.getFirstPropertyTreeItemForSection(elementStyleSection, propertyName);
-};
-
-// FIXME: this returns the first tree item found (may fail for same-named properties in a style).
-InspectorTest.getMatchedStylePropertyTreeItem = function(propertyName)
-{
-    var styleSections = WebInspector.panels.elements.sidebarPanes.styles.sections[0];
-    for (var i = 1; i &lt; styleSections.length; ++i) {
-        var treeItem = InspectorTest.getFirstPropertyTreeItemForSection(styleSections[i], propertyName);
-        if (treeItem)
-            return treeItem;
-    }
-    return null;
-};
-
-InspectorTest.getFirstPropertyTreeItemForSection = function(section, propertyName)
-{
-    var outline = section.propertiesTreeOutline;
-    for (var i = 0; i &lt; outline.children.length; ++i) {
-        var treeItem = outline.children[i];
-        if (treeItem.name === propertyName)
-            return treeItem;
-    }
-    return null;
-};
-
-InspectorTest.dumpStyleTreeOutline = function(treeItem, depth)
-{
-    var children = treeItem.children;
-    for (var i = 0; i &lt; children.length; ++i)
-        InspectorTest.dumpStyleTreeItem(children[i], &quot;&quot;, depth || 2);
-};
-
-InspectorTest.dumpStyleTreeItem = function(treeItem, prefix, depth)
-{
-    // Filter out width and height properties in order to minimize
-    // potential diffs.
-    if (!treeItem.listItemElement.textContent.indexOf(&quot;width&quot;) ||
-        !treeItem.listItemElement.textContent.indexOf(&quot;height&quot;))
-        return;
-
-    if (treeItem.listItemElement.hasStyleClass(&quot;inherited&quot;))
-        return;
-    var typePrefix = &quot;&quot;;
-    if (treeItem.listItemElement.hasStyleClass(&quot;overloaded&quot;) || treeItem.listItemElement.hasStyleClass(&quot;inactive&quot;) || treeItem.listItemElement.hasStyleClass(&quot;not-parsed-ok&quot;))
-        typePrefix += &quot;/-- overloaded --/ &quot;;
-    if (treeItem.listItemElement.hasStyleClass(&quot;disabled&quot;))
-        typePrefix += &quot;/-- disabled --/ &quot;;
-    var textContent = treeItem.listItemElement.textContent;
-
-    // Add non-selectable url text.
-    var textData = treeItem.listItemElement.querySelector(&quot;[data-uncopyable]&quot;);
-    if (textData)
-        textContent += textData.getAttribute(&quot;data-uncopyable&quot;);
-    InspectorTest.addResult(prefix + typePrefix + textContent);
-    if (--depth) {
-        treeItem.expand();
-        var children = treeItem.children;
-        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i)
-            InspectorTest.dumpStyleTreeItem(children[i], prefix + &quot;    &quot;, depth);
-    }
-};
-
-InspectorTest.dumpElementsTree = function(rootNode, depth)
-{
-    function beautify(element)
-    {
-        return element.innerText.replace(/\u200b/g, &quot;&quot;).replace(/\n/g, &quot;\\n&quot;).trim();
-    }
-
-    function dumpMap(name, map)
-    {
-        var result = [];
-        for (var id in map)
-            result.push(id + &quot;=&quot; + map[id]);
-        if (!result.length)
-            return &quot;&quot;;
-        return name + &quot;:[&quot; + result.join(&quot;,&quot;) + &quot;]&quot;;
-    }
-
-    function userPropertyDataDump(treeItem)
-    {
-        if (treeItem._elementCloseTag)
-            return &quot;&quot;;
-
-        var userProperties = &quot;&quot;;
-        var node = treeItem.representedObject;
-        if (node) {
-            userProperties += dumpMap(&quot;userProperties&quot;, node._userProperties);
-            var dump = dumpMap(&quot;descendantUserAttributeCounters&quot;, node._descendantUserPropertyCounters);
-            if (dump) {
-                if (userProperties)
-                    userProperties += &quot;, &quot;;
-                userProperties += dump;
-            }
-            if (userProperties)
-                userProperties = &quot; [&quot; + userProperties + &quot;]&quot;;
-        }
-        return userProperties;
-    }
-
-    function print(treeItem, prefix, depth)
-    {
-        if (treeItem.listItemElement) {
-            var expander;
-            if (treeItem.hasChildren) {
-                if (treeItem.expanded)
-                    expander = &quot;- &quot;;
-                else
-                    expander = &quot;+ &quot;;
-            } else
-                expander = &quot;  &quot;;
-
-            var userProperties = userPropertyDataDump(treeItem);
-            InspectorTest.addResult(prefix + expander + beautify(treeItem.listItemElement) + userProperties);
-        }
-
-        if (!treeItem.expanded)
-            return;
-
-        var children = treeItem.children;
-        for (var i = 0; depth &amp;&amp; children &amp;&amp; i &lt; children.length - 1; ++i)
-            print(children[i], prefix + &quot;    &quot;, depth - 1);
-
-        // Closing tag.
-        if (children &amp;&amp; children.length)
-            print(children[children.length - 1], prefix, depth);
-    }
-
-    WebInspector.panels.elements.treeOutline._updateModifiedNodes();
-    var treeOutline = WebInspector.panels.elements.treeOutline;
-    print(rootNode ? treeOutline.findTreeElement(rootNode) : treeOutline, &quot;&quot;, depth || 10000);
-};
-
-InspectorTest.expandElementsTree = function(callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    function expand(treeItem)
-    {
-        var children = treeItem.children;
-        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i) {
-            children[i].expand();
-            expand(children[i]);
-        }
-    }
-
-    function onAllNodesAvailable()
-    {
-        WebInspector.panels.elements.treeOutline._updateModifiedNodes();
-        expand(WebInspector.panels.elements.treeOutline);
-        callback();
-    }
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.findNode(function() { return false; }, onAllNodesAvailable);
-};
-
-InspectorTest.dumpDOMAgentTree = function()
-{
-    if (!WebInspector.domAgent._document)
-        return;
-
-    function dump(node, prefix, startIndex)
-    {
-        InspectorTest.addResult(prefix + node.nodeName() + &quot;[&quot; + (node.id - startIndex)+ &quot;]&quot;);
-        var children = node.children;
-        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i)
-            dump(children[i], prefix + &quot;    &quot;, startIndex);
-    }
-    dump(WebInspector.domAgent._document, &quot;&quot;, WebInspector.domAgent._document.id - 1);
-};
-
-InspectorTest.rangeText = function(range)
-{
-    if (!range)
-        return &quot;[undefined-undefined]&quot;;
-    return &quot;[&quot; + range.startLine + &quot;:&quot; + range.startColumn + &quot;-&quot; + range.endLine + &quot;:&quot; + range.endColumn + &quot;]&quot;;
-}
-
-InspectorTest.generateUndoTest = function(testBody)
-{
-    function result(next)
-    {
-        var testNode = InspectorTest.expandedNodeWithId(/function\s([^(]*)/.exec(testBody)[1]);
-        InspectorTest.addResult(&quot;Initial:&quot;);
-        InspectorTest.dumpElementsTree(testNode);
-
-        testBody(undo);
-
-        function undo()
-        {
-            InspectorTest.addResult(&quot;Post-action:&quot;);
-            InspectorTest.dumpElementsTree(testNode);
-            WebInspector.domAgent.undo(redo);
-        }
-
-        function redo()
-        {
-            InspectorTest.addResult(&quot;Post-undo (initial):&quot;);
-            InspectorTest.dumpElementsTree(testNode);
-            WebInspector.domAgent.redo(done);
-        }
-
-        function done()
-        {
-            InspectorTest.addResult(&quot;Post-redo (action):&quot;);
-            InspectorTest.dumpElementsTree(testNode);
-            next();
-        }
-    }
-    result.toString = function()
-    {
-        return testBody.toString();
-    }
-    return result;
-}
-
-const indent = &quot;    &quot;;
-
-InspectorTest.dumpRulesArray = function(rules, currentIndent)
-{
-    if (!rules)
-        return;
-    currentIndent = currentIndent || &quot;&quot;;
-    for (var i = 0; i &lt; rules.length; ++i)
-        InspectorTest.dumpRule(rules[i], currentIndent);
-}
-
-InspectorTest.dumpRuleMatchesArray = function(matches, currentIndent)
-{
-    if (!matches)
-        return;
-    currentIndent = currentIndent || &quot;&quot;;
-    for (var i = 0; i &lt; matches.length; ++i)
-        InspectorTest.dumpRule(matches[i].rule, currentIndent);
-}
-
-InspectorTest.dumpRule = function(rule, currentIndent)
-{
-    function selectorRange()
-    {
-        if (!rule.selectorList || !rule.selectorList.range)
-            return &quot;&quot;;
-        var range = rule.selectorList.range;
-        return &quot;, &quot; + range.startLine + &quot;:&quot; + range.startColumn + &quot;-&quot; + range.endLine + &quot;:&quot; + range.endColumn;
-    }
-
-    currentIndent = currentIndent || &quot;&quot;;
-
-    if (!rule.type || rule.type === &quot;style&quot;) {
-        InspectorTest.addResult(currentIndent + rule.selectorList.text + &quot;: [&quot; + rule.origin + selectorRange() + &quot;] {&quot;);
-        InspectorTest.dumpStyle(rule.style, currentIndent + indent);
-        InspectorTest.addResult(currentIndent + &quot;}&quot;);
-        return;
-    }
-
-    if (rule.type === &quot;media&quot;) {
-        InspectorTest.addResult(currentIndent + &quot;@media &quot; + rule.mediaText + &quot; {&quot;);
-        InspectorTest.dumpRulesArray(rule.childRules, currentIndent + indent);
-        InspectorTest.addResult(currentIndent + &quot;}&quot;);
-        return;
-    }
-
-    if (rule.type === &quot;import&quot;) {
-        InspectorTest.addResult(currentIndent + &quot;@import: header=&quot; + InspectorTest.rangeText(rule.headerRange) + &quot;, body=&quot; + InspectorTest.rangeText(rule.bodyRange));
-        return;
-    }
-
-    if (rule.type === &quot;page&quot; || rule.type === &quot;font-face&quot;) {
-        if (rule.type === &quot;page&quot;)
-            InspectorTest.addResult(currentIndent + rule.selectorList.text + &quot; {&quot;);
-        else
-            InspectorTest.addResult(currentIndent + &quot;@&quot; + rule.type + &quot; &quot; + (rule.selectorList.text ? rule.selectorList.text + &quot; &quot; : &quot;&quot;)  + &quot;{&quot;);
-        InspectorTest.dumpStyle(rule.style, currentIndent + indent);
-        InspectorTest.addResult(currentIndent + &quot;}&quot;);
-        return;
-    }
-
-    if (rule.type === &quot;charset&quot;) {
-        InspectorTest.addResult(&quot;@charset&quot;);
-        return;
-    }
-
-    InspectorTest.addResult(currentIndent + &quot;[UNKNOWN RULE]: header=&quot; + InspectorTest.rangeText(rule.headerRange) + &quot;, body=&quot; + InspectorTest.rangeText(rule.bodyRange));
-}
-
-InspectorTest.dumpStyle = function(style, currentIndent)
-{
-    currentIndent = currentIndent || &quot;&quot;;
-    if (!style) {
-        InspectorTest.addResult(currentIndent + &quot;[NO STYLE]&quot;);
-        return;
-    }
-    for (var i = 0; i &lt; style.cssProperties.length; ++i) {
-        var property = style.cssProperties[i];
-        if (property.status !== &quot;disabled&quot;)
-            InspectorTest.addResult(currentIndent + &quot;['&quot; + property.name + &quot;':'&quot; + property.value + &quot;'&quot; + (property.priority === &quot;important&quot; ? &quot; is-important&quot; : &quot;&quot;) + ((&quot;parsedOk&quot; in property) ? &quot; non-parsed&quot; : &quot;&quot;) +&quot;] @&quot; + InspectorTest.rangeText(property.range) + &quot; &quot; + (property.status || &quot;style&quot;));
-        else
-            InspectorTest.addResult(currentIndent + &quot;[text='&quot; + property.text + &quot;'] &quot; + property.status);
-    }
-}
-
-};
-
-function dumpInspectorHighlightRects()
-{
-    var rectNames = [&quot;margin&quot;, &quot;border&quot;, &quot;padding&quot;, &quot;content&quot;];
-    var rects = window.internals.inspectorHighlightRects();
-    for (var i = 0; i &lt; rects.length; i++)
-    {
-        var rectName = (i &lt; rectNames.length ? rectNames[i] : &quot;untitled&quot;);
-        var rect = rects.item(i);
-        output(rectName + &quot; rect is &quot; + rect.width + &quot; x &quot; + rect.height + &quot; at (&quot; + rect.left + &quot;, &quot; + rect.top + &quot;)&quot;);
-    }
-}
-
-function dumpInspectorHighlightedRegions()
-{
-    var highlight = window.internals.inspectorHighlightObject();
-    if (!highlight.length) {
-        output(&quot;No highlighted node.&quot;);
-        return;
-    }
-    // Reformat the string using JSON.stringify.
-    var json = JSON.parse(highlight);
-    if (!json.elementInfo || !json.elementInfo.regionFlowInfo) {
-        output(&quot;No highlighted regions.&quot;);
-        return;
-    }
-    output(JSON.stringify(json.elementInfo.regionFlowInfo, null, 4));
-}
-
-function dumpInspectorHighlightedNode()
-{
-    var highlight = window.internals.inspectorHighlightObject();
-    if (!highlight.length) {
-        output(&quot;No highlighted node.&quot;);
-        return;
-    }
-    // Reformat the string using JSON.stringify.
-    var json = JSON.parse(highlight);
-    if (!json) {
-        output(&quot;No highlighted node.&quot;);
-        return;
-    }
-    output(JSON.stringify(json, null, 4));
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsheadersexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-headers-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-headers-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-headers-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests WebInspector extension API
-
-HTTP_X_WEBINSPECTOR_EXTENSION: test
-HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
-Started extension.
-Running tests...
-RUNNING TEST: extension_testAddHeaders
-All tests done.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsheadershtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-headers.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-headers.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-headers.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;extensions-test.js&quot;&gt;&lt;/script&gt;
-&lt;script type=&quot;text/javascript&quot;&gt;
-
-function extension_testAddHeaders(nextTest)
-{
-    webInspector.network.addRequestHeaders({
-        &quot;x-webinspector-extension&quot;: &quot;test&quot;,
-        &quot;user-agent&quot;: &quot;Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)&quot;
-    });
-    function cleanUpHeaders()
-    {
-        webInspector.network.addRequestHeaders({
-            &quot;x-webinspector-extension&quot;: null,
-            &quot;user-agent&quot;: null
-        });
-    }
-    webInspector.inspectedWindow.eval(&quot;doXHR()&quot;, callbackAndNextTest(cleanUpHeaders, nextTest));
-}
-
-function doXHR()
-{
-    var xhr = new XMLHttpRequest();
-    xhr.open(&quot;GET&quot;, &quot;resources/echo-headers.php&quot;, false);
-    xhr.send(null);
-    // Can't use output() here due to output order instability: this is invoked by inspectedWindow.eval(),
-    // which is not serialized against output from extension, as the latter is posted asynchronously via
-    // postMessage to front-end window.
-    document.getElementById(&quot;headers&quot;).textContent += xhr.responseText;
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests WebInspector extension API&lt;/p&gt;
-&lt;div style=&quot;white-space: pre&quot; id=&quot;headers&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsiframeevalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-Tests WebInspector extension API
-
-
-Started extension.
-Running tests...
-RUNNING TEST: extension_testEvalInIFrame
-Evaluate: &quot;/inspector/resources/extensions-frame-eval.html&quot; (exception: undefined)
-RUNNING TEST: extension_testEvalInIFrameBadOption
-log: Extension server error: Object not found: bogus
-Evaluate: undefined (exception: [object Object])
-All tests done.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsiframeevalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;extensions-test.js&quot;&gt;&lt;/script&gt;
-&lt;script type=&quot;text/javascript&quot;&gt;
-
-function extension_testEvalInIFrame(nextTest) 
-{
-    var url = 'http://127.0.0.1:8000/inspector/resources/extensions-frame-eval.html';
-    var origin = &quot;http://127.0.0.1:8000&quot;
-    var options = {
-        frameURL: url
-    };
-    var loc = &quot;window.location.pathname&quot;;
-    webInspector.inspectedWindow.eval(loc, options, callbackAndNextTest(extension_onEval, nextTest));
-}
-
-function extension_testEvalInIFrameBadOption(nextTest) 
-{
-    var url = 'http://127.0.0.1:8000/inspector/resources/extensions-frame-eval.html';
-    var origin = &quot;http://127.0.0.1:8000&quot;
-    var options = {
-        frameURL: url,
-        scriptExecutionContext: &quot;bogus&quot;
-    };
-    var loc = &quot;window.location.pathname&quot;;
-    webInspector.inspectedWindow.eval(loc, options, callbackAndNextTest(extension_onEval, nextTest));
-}
-
-function extension_onEval(value, isException)
-{
-    output(&quot;Evaluate: &quot; + JSON.stringify(value) + &quot; (exception: &quot; + isException + &quot;)&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests WebInspector extension API&lt;/p&gt;
-&lt;iframe src=&quot;resources/extensions-frame-eval.html&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsignorecacheexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 1: Done.
-CONSOLE MESSAGE: line 1: Done.
-CONSOLE MESSAGE: line 1: Done.
-Tests ignoreCache flag of WebInspector.inspectedPage.reload()
-
-Started extension.
-Running tests...
-RUNNING TEST: extension_testIgnoreCache
-Page reloaded.
-Page reloaded.
-afterNormalReload === beforeReload
-afterNormalReload !== afterReloadWithIgnoreCache
-All tests done.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsignorecachehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;extensions-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;network/resources/random-script.php&quot;&gt;&lt;/script&gt;
-
-&lt;script type=&quot;text/javascript&quot;&gt;
-
-function extension_testIgnoreCache(nextTest)
-{
-    var beforeReload;
-    var afterReloadWithIgnoreCache;
-    var afterNormalReload;
-
-    function onNormalReload()
-    {
-        webInspector.inspectedWindow.eval(&quot;randomValue&quot;, function(value) {
-            afterNormalReload = value;
-            evaluateOnFrontend(&quot;InspectorTest.runWhenPageLoads(reply)&quot;, onReloadWithIgnoreCache);
-            webInspector.inspectedWindow.reload({ ignoreCache: true });
-        });
-    };
-
-    function onReloadWithIgnoreCache()
-    {
-        webInspector.inspectedWindow.eval(&quot;randomValue&quot;, function(value) {
-            afterReloadWithIgnoreCache = value;
-            output(&quot;afterNormalReload &quot; + (afterNormalReload === beforeReload ? &quot;===&quot; : &quot;!==&quot; ) + &quot; beforeReload&quot;);
-            output(&quot;afterNormalReload &quot; + (afterNormalReload === afterReloadWithIgnoreCache ? &quot;===&quot; : &quot;!==&quot; ) + &quot; afterReloadWithIgnoreCache&quot;);
-            nextTest();
-        });
-    }
-
-    webInspector.inspectedWindow.eval(&quot;randomValue&quot;, function(value) {
-        beforeReload = value;
-        evaluateOnFrontend(&quot;InspectorTest.runWhenPageLoads(reply)&quot;, onNormalReload);
-        webInspector.inspectedWindow.reload();
-    });
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests ignoreCache flag of WebInspector.inspectedPage.reload()&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsnetworkredirectexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-network-redirect-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-network-redirect-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-network-redirect-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,22 +0,0 @@
</span><del>-Tests WebInspector extension API returns valid data for redirected resources
-
-Page reloaded.
-Started extension.
-Running tests...
-RUNNING TEST: extension_testGetRedirectRequestContent
-content: null, encoding: 
-RUNNING TEST: extension_testRedirectRequestFinished
-Finished request: http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?status=302
-Finished request: http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?redirected=true
-RUNNING TEST: extension_testRedirectRequestInHAR
-Requests in HAR:
-http://127.0.0.1:8000/inspector/extensions-network-redirect.html
-http://127.0.0.1:8000/inspector/extensions-network-test.js
-http://127.0.0.1:8000/inspector/extensions-test.js
-http://127.0.0.1:8000/inspector/inspector-test.js
-http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?redirected=true
-http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?redirected=true
-http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?status=302
-http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?status=302
-All tests done.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsnetworkredirecthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-network-redirect.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-network-redirect.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-network-redirect.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,103 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;extensions-network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;extensions-test.js&quot;&gt;&lt;/script&gt;
-&lt;script type=&quot;text/javascript&quot;&gt;
-
-function extension_doRequest(force, callback)
-{
-    function callbackWrapper(request)
-    {
-        var lastCallback = !request || /\?redirected=true$/.test(request.request.url);
-        if (lastCallback)
-            webInspector.network.onRequestFinished.removeListener(callbackWrapper);
-        callback(request, lastCallback);
-    }
-    webInspector.network.onRequestFinished.addListener(callbackWrapper);
-    webInspector.inspectedWindow.eval(&quot;doRequest(&quot; + force + &quot;)&quot;, function(result) {
-        if (result)
-            callbackWrapper(null);
-    });
-}
-
-function extension_testGetRedirectRequestContent(nextTest)
-{
-    function onRequestFinished(request, lastCallback)
-    {
-        if (!lastCallback)
-            return;
-        extension_getRequestByUrl([ /redirect-methods-result.php\?status=302$/ ], function(request) {
-            request.getContent(onContent);
-        });
-    }
-    function onContent(content, encoding)
-    {
-        output(&quot;content: &quot; + content + &quot;, encoding: &quot; + encoding);
-        nextTest();
-    }
-    extension_doRequest(false, onRequestFinished);
-}
-
-function extension_testRedirectRequestInHAR(nextTest)
-{
-    function onRequestFinished(resource, lastCallback)
-    {
-        if (lastCallback)
-            webInspector.network.getHAR(onHAR);
-    }
-    function onHAR(har)
-    {
-        var entries = har.entries;
-        var urls = [];
-        for (var i = 0; i &lt; entries.length; ++i) {
-            var url = entries[i].request.url;
-            // Workaround for GTK DRT that requests favicon.ico along with the page.
-            if (!/\/favicon\.ico$/.test(url))
-                urls.push(url);
-        }
-        urls.sort();
-        output(&quot;Requests in HAR:\n&quot; + urls.join(&quot;\n&quot;));
-        nextTest();
-    }
-    extension_doRequest(false, onRequestFinished);
-}
-
-function extension_testRedirectRequestFinished(nextTest)
-{
-    function onRequestFinished(request, lastCallback)
-    {
-        output(&quot;Finished request: &quot; + request.request.url);
-        if (lastCallback)
-            nextTest();
-    }
-    extension_doRequest(true, onRequestFinished);
-}
-
-var requestDone = false;
-
-function doRequest(force)
-{
-    // Only do request once per test suite, to make tests independent on each other.
-    // Returns true iff request is alredy done (so the caller shouldn't wait for onFinished).
-    if (requestDone &amp;&amp; !force)
-        return true;
-    requestDone = true;
-    // We can't use XHR here -- the content for XHRs is pushed from back-end.
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.src = &quot;/loading/resources/redirect-methods-result.php?status=302&quot;;
-    document.body.appendChild(iframe);
-    return false;
-}
-
-var test = function()
-{
-    InspectorTest.reloadPage(InspectorTest.runExtensionTests);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests WebInspector extension API returns valid data for redirected resources&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionsnetworktestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-network-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-network-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-network-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-function extension_getRequestByUrl(urls, callback)
-{
-    function onHAR(response)
-    {
-        var entries = response.entries;
-        for (var i = 0; i &lt; entries.length; ++i) {
-            for (var url = 0; url &lt; urls.length; ++url) {
-                if (urls[url].test(entries[i].request.url)) {
-                    callback(entries[i]);
-                    return;
-                }
-            }
-        }
-    }
-    webInspector.network.getHAR(onHAR);
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorextensionstestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/extensions-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/extensions-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/extensions-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,74 +0,0 @@
</span><del>-function extensionFunctions()
-{
-    var functions = &quot;&quot;;
-
-    for (symbol in window) {
-        if (/^extension_/.exec(symbol) &amp;&amp; typeof window[symbol] === &quot;function&quot;)
-            functions += window[symbol].toString();
-    }
-    return functions;
-}
-
-var initialize_ExtensionsTest = function()
-{
-
-window.buildPlatformExtensionAPI = function(extensionInfo)
-{
-    function platformExtensionAPI(coreAPI)
-    {
-        window.webInspector = coreAPI;
-        window._extensionServerForTests = extensionServer;
-    }
-    return platformExtensionAPI.toString();
-}
-
-InspectorTest._replyToExtension = function(requestId, port)
-{
-    WebInspector.extensionServer._dispatchCallback(requestId, port);
-}
-
-function onEvaluate(message, port)
-{
-    var reply = WebInspector.extensionServer._dispatchCallback.bind(WebInspector.extensionServer, message.requestId, port);
-    try {
-        eval(message.expression);
-    } catch (e) {
-        InspectorTest.addResult(&quot;Exception while running: &quot; + message.expression + &quot;\n&quot; + (e.stack || e));
-        InspectorTest.completeTest();
-    }
-}
-
-WebInspector.extensionServer._registerHandler(&quot;evaluateForTestInFrontEnd&quot;, onEvaluate);
-
-InspectorTest.showPanel = function(panelId)
-{
-    if (panelId === &quot;extension&quot;)
-        panelId = WebInspector.inspectorView._panelOrder[WebInspector.inspectorView._panelOrder.length - 1];
-    WebInspector.showPanel(panelId);
-}
-
-InspectorTest.runExtensionTests = function()
-{
-    RuntimeAgent.evaluate(&quot;location.href&quot;, &quot;console&quot;, false, function(error, result) {
-        if (error)
-            return;
-        var pageURL = result.value;
-        var extensionURL = (/^https?:/.test(pageURL) ?
-            pageURL.replace(/^(https?:\/\/[^/]*\/).*$/,&quot;$1&quot;) :
-            pageURL.replace(/\/inspector\/extensions\/[^/]*$/, &quot;/http/tests&quot;)) +
-            &quot;/inspector/resources/extension-main.html&quot;;
-        WebInspector.addExtensions([{ startPage: extensionURL, name: &quot;test extension&quot;, exposeWebInspectorNamespace: true }]);
-    });
-}
-
-}
-
-function extension_showPanel(panelId, callback)
-{
-    evaluateOnFrontend(&quot;InspectorTest.showPanel(unescape('&quot; + escape(panelId) + &quot;')); reply();&quot;, callback);
-}
-
-var test = function()
-{
-    InspectorTest.runExtensionTests();
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbdatabasedataexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/database-data-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/database-data-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/database-data-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,67 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback1
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback2
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback3
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback4
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback5
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback6
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback7
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback8
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback9
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback10
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback11
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback12
-Tests that data is correctly loaded by IndexedDBModel from IndexedDB object store and index.
-
-Dumping values, fromIndex = false, skipCount = 0, pageSize = 2, idbKeyRange = null
-    Key = key_01, primaryKey = key_01, value = {&quot;key&quot;:&quot;key_01&quot;,&quot;value&quot;:&quot;value_01&quot;}
-    Key = key_02, primaryKey = key_02, value = {&quot;key&quot;:&quot;key_02&quot;,&quot;value&quot;:&quot;value_02&quot;}
-    hasMore = true
-Dumping values, fromIndex = false, skipCount = 2, pageSize = 2, idbKeyRange = null
-    Key = key_03, primaryKey = key_03, value = {&quot;key&quot;:&quot;key_03&quot;,&quot;value&quot;:&quot;value_03&quot;}
-    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
-    hasMore = true
-Dumping values, fromIndex = false, skipCount = 4, pageSize = 2, idbKeyRange = null
-    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
-    Key = key_06, primaryKey = key_06, value = {&quot;key&quot;:&quot;key_06&quot;,&quot;value&quot;:&quot;value_06&quot;}
-    hasMore = false
-Dumping values, fromIndex = false, skipCount = 5, pageSize = 2, idbKeyRange = null
-    Key = key_06, primaryKey = key_06, value = {&quot;key&quot;:&quot;key_06&quot;,&quot;value&quot;:&quot;value_06&quot;}
-    hasMore = false
-Dumping values, fromIndex = false, skipCount = 6, pageSize = 2, idbKeyRange = null
-    hasMore = false
-Dumping values, fromIndex = false, skipCount = 7, pageSize = 2, idbKeyRange = null
-    hasMore = false
-Dumping values, fromIndex = false, skipCount = 0, pageSize = 2, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
-    Key = key_03, primaryKey = key_03, value = {&quot;key&quot;:&quot;key_03&quot;,&quot;value&quot;:&quot;value_03&quot;}
-    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
-    hasMore = true
-Dumping values, fromIndex = false, skipCount = 0, pageSize = 3, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
-    Key = key_03, primaryKey = key_03, value = {&quot;key&quot;:&quot;key_03&quot;,&quot;value&quot;:&quot;value_03&quot;}
-    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
-    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
-    hasMore = false
-Dumping values, fromIndex = false, skipCount = 0, pageSize = 4, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
-    Key = key_03, primaryKey = key_03, value = {&quot;key&quot;:&quot;key_03&quot;,&quot;value&quot;:&quot;value_03&quot;}
-    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
-    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
-    hasMore = false
-Dumping values, fromIndex = false, skipCount = 1, pageSize = 2, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
-    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
-    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
-    hasMore = false
-Dumping values, fromIndex = false, skipCount = 1, pageSize = 3, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
-    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
-    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
-    hasMore = false
-Dumping values, fromIndex = false, skipCount = 1, pageSize = 4, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
-    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
-    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
-    hasMore = false
-Dumping values, fromIndex = true, skipCount = 0, pageSize = 2, idbKeyRange = null
-    Key = value_01, primaryKey = key_01, value = {&quot;key&quot;:&quot;key_01&quot;,&quot;value&quot;:&quot;value_01&quot;}
-    Key = value_02, primaryKey = key_02, value = {&quot;key&quot;:&quot;key_02&quot;,&quot;value&quot;:&quot;value_02&quot;}
-    hasMore = true
-Cleared data from objectStore
-Dumping values, fromIndex = false, skipCount = 0, pageSize = 10, idbKeyRange = null
-    hasMore = false
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbdatabasedatahtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/database-data.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/database-data.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/database-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,229 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;indexeddb-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange;
-    var indexedDBModel = new WebInspector.IndexedDBModel();
-    var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id;
-    var securityOrigin = &quot;http://127.0.0.1:8000&quot;;
-    var databaseName = &quot;testDatabase&quot;;
-    var objectStoreName = &quot;testObjectStore&quot;;
-    var indexName = &quot;testIndexName&quot;;
-    var databaseId = new WebInspector.IndexedDBModel.DatabaseId(securityOrigin, databaseName);
-
-    function addIDBValues(count, callback)
-    {
-        var i = 0;
-        addValues();
-
-        function addValues()
-        {
-            if (i == count) {
-                callback();
-                return;
-            }
-            ++i;
-            var id = i &lt; 10 ? &quot;0&quot; + i : i;
-            var key = &quot;key_&quot; + id;
-            var value = &quot;value_&quot; + id;
-            InspectorTest.addIDBValue(mainFrameId, databaseName, objectStoreName, { key: key, value: value }, &quot;&quot;, addValues);
-        }
-    }
-
-    function loadValuesAndDump(fromIndex, idbKeyRange, skipCount, pageSize, callback)
-    {
-        var idbKeyRangeString = idbKeyRange ? &quot;{lower:\&quot;&quot; + idbKeyRange.lower + &quot;\&quot;,lowerOpen:&quot; + idbKeyRange.lowerOpen + &quot;,upper:\&quot;&quot; + idbKeyRange.upper + &quot;\&quot;,upperOpen:&quot; + idbKeyRange.upperOpen + &quot;}&quot; : &quot;null&quot;;
-        InspectorTest.addResult(&quot;Dumping values, fromIndex = &quot; + fromIndex + &quot;, skipCount = &quot; + skipCount + &quot;, pageSize = &quot; + pageSize + &quot;, idbKeyRange = &quot; + idbKeyRangeString);
-        if (fromIndex)
-            indexedDBModel.loadIndexData(databaseId, objectStoreName, indexName, idbKeyRange, skipCount, pageSize, innerCallback);
-        else
-            indexedDBModel.loadObjectStoreData(databaseId, objectStoreName, idbKeyRange, skipCount, pageSize, innerCallback);
-
-        function innerCallback(entries, hasMore)
-        {
-            var index = 0;
-            var entry;
-            dumpEntries();
-
-            function dumpEntries()
-            {
-                if (index === entries.length) {
-                    InspectorTest.addResult(&quot;    hasMore = &quot; + hasMore);
-                    callback();
-                    return;
-                }
-                entry = entries[index];
-                entry.value.callFunctionJSON(dumpMe, undefined, dumped.bind(this));
-                ++index;
-            }
-
-            function dumpMe()
-            {
-                return &quot;{\&quot;key\&quot;:\&quot;&quot; + this.key + &quot;\&quot;,\&quot;value\&quot;:\&quot;&quot; + this.value + &quot;\&quot;}&quot;;
-            }
-
-            function dumped(value)
-            {
-                InspectorTest.addResult(&quot;    Key = &quot; + entry.key.description + &quot;, primaryKey = &quot; + entry.primaryKey.description + &quot;, value = &quot; + value);
-                dumpEntries();
-            }
-        }
-    }
-
-    InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, fillDatabase, false);
-
-    function fillDatabase()
-    {
-        InspectorTest.createDatabase(mainFrameId, databaseName, step2);
-
-        function step2()
-        {
-            InspectorTest.createObjectStore(mainFrameId, databaseName, objectStoreName, &quot;key&quot;, true, step3);
-        }
-
-        function step3()
-        {
-            InspectorTest.createObjectStoreIndex(mainFrameId, databaseName, objectStoreName, indexName, &quot;value&quot;, false, true, step4);
-        }
-
-        function step4()
-        {
-            addIDBValues(6, refreshDatabaseNames);
-        }
-    }
-
-    function refreshDatabaseNames()
-    {
-        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, refreshDatabase, false);
-        indexedDBModel.refreshDatabaseNames();
-    }
-
-    function refreshDatabase()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, runObjectStoreTests);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function runObjectStoreTests()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, runObjectStoreTests);
-        loadValuesAndDump(false, null, 0, 2, step2)
-
-        function step2()
-        {
-            loadValuesAndDump(false, null, 2, 2, step3)
-        }
-
-        function step3()
-        {
-            loadValuesAndDump(false, null, 4, 2, step4);
-        }
-
-        function step4()
-        {
-            loadValuesAndDump(false, null, 5, 2, step5);
-        }
-
-        function step5()
-        {
-            loadValuesAndDump(false, null, 6, 2, step6);
-        }
-
-        function step6()
-        {
-            loadValuesAndDump(false, null, 7, 2, step7);
-        }
-
-        function step7()
-        {
-            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 0, 2, step8);
-        }
-
-        function step8()
-        {
-            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 0, 3, step9);
-        }
-
-        function step9()
-        {
-            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 0, 4, step10);
-        }
-
-        function step10()
-        {
-            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 1, 2, step11);
-        }
-
-        function step11()
-        {
-            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 1, 3, step12);
-        }
-
-        function step12()
-        {
-            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 1, 4, step13);
-        }
-
-        function step13()
-        {
-            runIndexTests();
-        }
-    }
-
-    function runIndexTests()
-    {
-        loadValuesAndDump(true, null, 0, 2, step2)
-
-        function step2()
-        {
-            runClearTests();
-        }
-    }
-
-    function runClearTests()
-    {
-        indexedDBModel.clearObjectStore(databaseId, objectStoreName, step1);
-        InspectorTest.addResult(&quot;Cleared data from objectStore&quot;);
-
-        function step1() {
-            indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step2);
-            indexedDBModel.refreshDatabase(databaseId);
-        }
-        function step2() {
-            indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step2);
-            loadValuesAndDump(false, null, 0, 10, step3);
-        }
-
-        function step3() {
-            deleteDatabase();
-        }
-    }
-
-    function deleteDatabase() {
-        InspectorTest.deleteObjectStoreIndex(mainFrameId, databaseName, objectStoreName, indexName, step2);
-
-        function step2()
-        {
-            InspectorTest.deleteObjectStore(mainFrameId, databaseName, objectStoreName, step3);
-        }
-
-        function step3()
-        {
-            InspectorTest.deleteDatabase(mainFrameId, databaseName, step4);
-        }
-
-        function step4()
-        {
-            InspectorTest.completeTest();
-        }
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that data is correctly loaded by IndexedDBModel from IndexedDB object store and index.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbdatabasenamesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/database-names-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/database-names-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/database-names-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,21 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback1
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback2
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback3
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback4
-Tests that database names are correctly loaded and saved in IndexedDBModel.
-
-Dumping database names:
-
-Dumping database names:
-    testDatabase1
-
-Dumping database names:
-    testDatabase1
-    testDatabase2
-
-Dumping database names:
-    testDatabase1
-
-Dumping database names:
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbdatabasenameshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/database-names.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/database-names.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/database-names.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,83 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;indexeddb-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var indexedDBModel = new WebInspector.IndexedDBModel();
-    var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id;
-
-    function dumpDatabaseNames()
-    {
-        InspectorTest.addResult(&quot;Dumping database names:&quot;);
-        var securityOrigins = WebInspector.resourceTreeModel.securityOrigins();
-        var securityOrigin = securityOrigins[0];
-        var names = indexedDBModel._databaseNamesBySecurityOrigin[securityOrigin];
-        for (var i = 0; i &lt; names.length; ++i)
-            InspectorTest.addResult(&quot;    &quot; + names[i]);
-        InspectorTest.addResult(&quot;&quot;);
-    }
-
-    InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step2, false);
-
-    function step2()
-    {
-        dumpDatabaseNames();
-        InspectorTest.createDatabase(mainFrameId, &quot;testDatabase1&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step4, false);
-        indexedDBModel.refreshDatabaseNames();
-    }
-
-    function step4()
-    {
-        dumpDatabaseNames();
-        InspectorTest.createDatabase(mainFrameId, &quot;testDatabase2&quot;, step5);
-    }
-
-    function step5()
-    {
-        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step6, false);
-        indexedDBModel.refreshDatabaseNames();
-    }
-
-    function step6()
-    {
-        dumpDatabaseNames();
-        InspectorTest.deleteDatabase(mainFrameId, &quot;testDatabase2&quot;, step7);
-    }
-
-    function step7()
-    {
-        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step8, false);
-        indexedDBModel.refreshDatabaseNames();
-    }
-
-    function step8()
-    {
-        dumpDatabaseNames();
-        InspectorTest.deleteDatabase(mainFrameId, &quot;testDatabase1&quot;, step9);
-    }
-
-    function step9()
-    {
-        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step10, false);
-        indexedDBModel.refreshDatabaseNames();
-    }
-
-    function step10()
-    {
-        dumpDatabaseNames();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that database names are correctly loaded and saved in IndexedDBModel.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbdatabasestructureexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,123 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback1
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback2
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback3
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback4
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback5
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback6
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback7
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback8
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback9
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback10
-Tests that database names are correctly loaded and saved in IndexedDBModel.
-
-Dumping database:
-Dumping database:
-testDatabase1
-    intVersion: 1
-    objectStores:
-
-Dumping database:
-testDatabase1
-    intVersion: 2
-    objectStores:
-    testObjectStore1
-        keyPath: &quot;test.key.path&quot;
-        autoIncrement: true
-        indexes: 
-
-Dumping database:
-testDatabase1
-    intVersion: 3
-    objectStores:
-    testObjectStore1
-        keyPath: &quot;test.key.path&quot;
-        autoIncrement: true
-        indexes: 
-    testObjectStore2
-        keyPath: null
-        autoIncrement: false
-        indexes: 
-
-Dumping database:
-testDatabase1
-    intVersion: 4
-    objectStores:
-    testObjectStore1
-        keyPath: &quot;test.key.path&quot;
-        autoIncrement: true
-        indexes: 
-    testObjectStore2
-        keyPath: null
-        autoIncrement: false
-        indexes: 
-        testIndexName1
-            keyPath: &quot;&quot;
-            unique: false
-            multiEntry: true
-
-Dumping database:
-testDatabase1
-    intVersion: 5
-    objectStores:
-    testObjectStore1
-        keyPath: &quot;test.key.path&quot;
-        autoIncrement: true
-        indexes: 
-    testObjectStore2
-        keyPath: null
-        autoIncrement: false
-        indexes: 
-        testIndexName1
-            keyPath: &quot;&quot;
-            unique: false
-            multiEntry: true
-        testIndexName2
-            keyPath: [&quot;key.path1&quot;,&quot;key.path2&quot;]
-            unique: true
-            multiEntry: false
-
-Dumping database:
-testDatabase1
-    intVersion: 6
-    objectStores:
-    testObjectStore1
-        keyPath: &quot;test.key.path&quot;
-        autoIncrement: true
-        indexes: 
-    testObjectStore2
-        keyPath: null
-        autoIncrement: false
-        indexes: 
-        testIndexName1
-            keyPath: &quot;&quot;
-            unique: false
-            multiEntry: true
-
-Dumping database:
-testDatabase1
-    intVersion: 7
-    objectStores:
-    testObjectStore1
-        keyPath: &quot;test.key.path&quot;
-        autoIncrement: true
-        indexes: 
-    testObjectStore2
-        keyPath: null
-        autoIncrement: false
-        indexes: 
-
-Dumping database:
-testDatabase1
-    intVersion: 8
-    objectStores:
-    testObjectStore1
-        keyPath: &quot;test.key.path&quot;
-        autoIncrement: true
-        indexes: 
-
-Dumping database:
-testDatabase1
-    intVersion: 9
-    objectStores:
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbdatabasestructurehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,198 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;indexeddb-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var indexedDBModel = new WebInspector.IndexedDBModel();
-    var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id;
-    var databaseName = &quot;testDatabase1&quot;;
-    var securityOrigin = &quot;http://127.0.0.1:8000&quot;;
-    var databaseId = new WebInspector.IndexedDBModel.DatabaseId(securityOrigin, databaseName);
-
-    function dumpDatabase()
-    {
-        InspectorTest.addResult(&quot;Dumping database:&quot;);
-        var database = indexedDBModel._databases.get(databaseId);
-        if (!database)
-            return;
-        InspectorTest.addResult(database.databaseId.name);
-        InspectorTest.addResult(&quot;    intVersion: &quot; + database.intVersion);
-        InspectorTest.addResult(&quot;    objectStores:&quot;);
-        var objectStoreNames = [];
-        for (var objectStoreName in database.objectStores)
-            objectStoreNames.push(objectStoreName);
-        objectStoreNames.sort();
-        for (var i = 0; i &lt; objectStoreNames.length; ++i) {
-            var objectStore = database.objectStores[objectStoreNames[i]];
-            InspectorTest.addResult(&quot;    &quot; + objectStore.name);
-            InspectorTest.addResult(&quot;        keyPath: &quot; + JSON.stringify(objectStore.keyPath));
-            InspectorTest.addResult(&quot;        autoIncrement: &quot; + objectStore.autoIncrement);
-            InspectorTest.addResult(&quot;        indexes: &quot;);
-            var indexNames = [];
-            for (var indexName in objectStore.indexes)
-                indexNames.push(indexName);
-            indexNames.sort();
-            for (var j = 0; j &lt; indexNames.length; ++j) {
-                var index = objectStore.indexes[indexNames[j]];
-                InspectorTest.addResult(&quot;        &quot; + index.name);
-                InspectorTest.addResult(&quot;            keyPath: &quot; + JSON.stringify(index.keyPath));
-                InspectorTest.addResult(&quot;            unique: &quot; + index.unique);
-                InspectorTest.addResult(&quot;            multiEntry: &quot; + index.multiEntry);
-            }
-        }
-        InspectorTest.addResult(&quot;&quot;);
-    }
-
-    InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step2, false);
-
-    function step2()
-    {
-        InspectorTest.createDatabase(mainFrameId, databaseName, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step4, false);
-        indexedDBModel.refreshDatabaseNames();
-    }
-
-    function step4()
-    {
-        dumpDatabase();
-
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step5);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step5()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step5);
-        dumpDatabase();
-
-        InspectorTest.createObjectStore(mainFrameId, databaseName, &quot;testObjectStore1&quot;, &quot;test.key.path&quot;, true, step6);
-    }
-
-    function step6()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step7);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step7()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step7);
-        dumpDatabase();
-
-        InspectorTest.createObjectStore(mainFrameId, databaseName, &quot;testObjectStore2&quot;, null, false, step8);
-    }
-
-    function step8()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step9);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step9()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step9);
-        dumpDatabase();
-
-        InspectorTest.createObjectStoreIndex(mainFrameId, databaseName, &quot;testObjectStore2&quot;, &quot;testIndexName1&quot;, &quot;&quot;, false, true, step10);
-    }
-
-    function step10()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step11);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step11()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step11);
-        dumpDatabase();
-
-        InspectorTest.createObjectStoreIndex(mainFrameId, databaseName, &quot;testObjectStore2&quot;, &quot;testIndexName2&quot;, [&quot;key.path1&quot;, &quot;key.path2&quot;], true, false, step12);
-    }
-
-    function step12()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step13);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step13()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step13);
-        dumpDatabase();
-
-        InspectorTest.deleteObjectStoreIndex(mainFrameId, databaseName, &quot;testObjectStore2&quot;, &quot;testIndexName2&quot;, step14);
-    }
-
-    function step14()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step15);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step15()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step15);
-        dumpDatabase();
-
-        InspectorTest.deleteObjectStoreIndex(mainFrameId, databaseName, &quot;testObjectStore2&quot;, &quot;testIndexName1&quot;, step16);
-    }
-
-    function step16()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step17);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step17()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step17);
-        dumpDatabase();
-
-        InspectorTest.deleteObjectStore(mainFrameId, databaseName, &quot;testObjectStore2&quot;, step18);
-    }
-
-    function step18()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step19);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step19()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step19);
-        dumpDatabase();
-
-        InspectorTest.deleteObjectStore(mainFrameId, databaseName, &quot;testObjectStore1&quot;, step20);
-    }
-
-    function step20()
-    {
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step21);
-        indexedDBModel.refreshDatabase(databaseId);
-    }
-
-    function step21()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step21);
-        dumpDatabase();
-        InspectorTest.deleteDatabase(mainFrameId, databaseName, step22);
-    }
-
-    function step22()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that database names are correctly loaded and saved in IndexedDBModel.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbindexeddbtestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,259 +0,0 @@
</span><del>-var initialize_IndexedDBTest = function() {
-
-InspectorTest.dumpIndexedDBTree = function()
-{
-    InspectorTest.addResult(&quot;Dumping IndexedDB tree:&quot;);
-    var indexedDBTreeElement = WebInspector.panels.resources.indexedDBListTreeElement;
-    if (!indexedDBTreeElement.children.length) {
-        InspectorTest.addResult(&quot;    (empty)&quot;);
-        return;
-    }
-    for (var i = 0; i &lt; indexedDBTreeElement.children.length; ++i) {
-        var databaseTreeElement = indexedDBTreeElement.children[i];
-        InspectorTest.addResult(&quot;    database: &quot; + databaseTreeElement.titleText);
-        if (!databaseTreeElement.children.length) {
-            InspectorTest.addResult(&quot;        (no object stores)&quot;);
-            continue;
-        }
-        for (var j = 0; j &lt; databaseTreeElement.children.length; ++j) {
-            var objectStoreTreeElement = databaseTreeElement.children[j];
-            InspectorTest.addResult(&quot;        Object store: &quot; + objectStoreTreeElement.titleText);
-            if (!objectStoreTreeElement.children.length) {
-                InspectorTest.addResult(&quot;            (no indexes)&quot;);
-                continue;
-            }
-            for (var j = 0; j &lt; objectStoreTreeElement.children.length; ++j) {
-                var indexTreeElement = objectStoreTreeElement.children[j];
-                InspectorTest.addResult(&quot;            Index: &quot; + indexTreeElement.titleText);
-            }
-        }
-    }
-}
-
-var lastCallbackId = 0;
-var callbacks = {};
-var callbackIdPrefix = &quot;InspectorTest.IndexedDB_callback&quot;;
-InspectorTest.evaluateWithCallback = function(frameId, methodName, parameters, callback)
-{
-    InspectorTest._installIndexedDBSniffer();
-    var callbackId = ++lastCallbackId;
-    callbacks[callbackId] = callback;
-    var parametersString = &quot;dispatchCallback.bind(this, \&quot;&quot; + callbackIdPrefix + callbackId + &quot;\&quot;)&quot;;
-    for (var i = 0; i &lt; parameters.length; ++i)
-        parametersString += &quot;, &quot; + JSON.stringify(parameters[i]);
-
-    var requestString = methodName + &quot;(&quot; + parametersString + &quot;)&quot;;
-    InspectorTest.evaluateInPage(requestString);
-};
-
-InspectorTest._installIndexedDBSniffer = function()
-{
-    InspectorTest.addConsoleSniffer(consoleMessageOverride, false);
-
-    function consoleMessageOverride(msg)
-    {
-        var text = msg._messageText;
-        if (!text.startsWith(callbackIdPrefix)) {
-            InspectorTest.addConsoleSniffer(consoleMessageOverride, false);
-            return;
-        }
-        var callbackId = text.substring(callbackIdPrefix.length);
-        callbacks[callbackId].call();
-        delete callbacks[callbackId];
-    }
-};
-
-InspectorTest.createDatabase = function(frameId, databaseName, callback)
-{
-    InspectorTest.evaluateWithCallback(frameId, &quot;createDatabase&quot;, [databaseName], callback)
-};
-
-InspectorTest.deleteDatabase = function(frameId, databaseName, callback)
-{
-    InspectorTest.evaluateWithCallback(frameId, &quot;deleteDatabase&quot;, [databaseName], callback)
-};
-
-InspectorTest.createObjectStore = function(frameId, databaseName, objectStoreName, keyPath, autoIncrement, callback)
-{
-    InspectorTest.evaluateWithCallback(frameId, &quot;createObjectStore&quot;, [databaseName, objectStoreName, keyPath, autoIncrement], callback)
-};
-
-InspectorTest.deleteObjectStore = function(frameId, databaseName, objectStoreName, callback)
-{
-    InspectorTest.evaluateWithCallback(frameId, &quot;deleteObjectStore&quot;, [databaseName, objectStoreName], callback)
-};
-
-InspectorTest.createObjectStoreIndex = function(frameId, databaseName, objectStoreName, objectStoreIndexName, keyPath, unique, multiEntry, callback)
-{
-    InspectorTest.evaluateWithCallback(frameId, &quot;createObjectStoreIndex&quot;, [databaseName, objectStoreName, objectStoreIndexName, keyPath, unique, multiEntry], callback)
-};
-
-InspectorTest.deleteObjectStoreIndex = function(frameId, databaseName, objectStoreName, objectStoreIndexName, callback)
-{
-    InspectorTest.evaluateWithCallback(frameId, &quot;deleteObjectStoreIndex&quot;, [databaseName, objectStoreName, objectStoreIndexName], callback)
-};
-
-InspectorTest.addIDBValue = function(frameId, databaseName, objectStoreName, value, key, callback)
-{
-    InspectorTest.evaluateWithCallback(frameId, &quot;addIDBValue&quot;, [databaseName, objectStoreName, value, key], callback)
-};
-
-};
-
-var indexedDB = window.indexeddb || window.webkitIndexedDB;
-window.IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction;
-
-function dispatchCallback(callbackId)
-{
-    console.log(callbackId);
-}
-
-function onIndexedDBError(e)
-{
-    console.error(&quot;IndexedDB error: &quot; + e);
-}
-
-function onIndexedDBBlocked(e)
-{
-    console.error(&quot;IndexedDB blocked: &quot; + e);
-}
-
-function doWithDatabase(databaseName, callback)
-{
-    function innerCallback()
-    {
-        var db = request.result;
-        callback(db);
-    }
-
-    var request = indexedDB.open(databaseName);
-    request.onblocked = onIndexedDBBlocked;
-    request.onerror = onIndexedDBError;
-    request.onsuccess = innerCallback;
-}
-
-function doWithVersionTransaction(databaseName, callback, commitCallback)
-{
-    doWithDatabase(databaseName, step2);
-
-    function step2(db)
-    {
-        var version = db.version;
-        db.close();
-        request = indexedDB.open(databaseName, version + 1);
-        request.onerror = onIndexedDBError;
-        request.onupgradeneeded = onUpgradeNeeded;
-        request.onsuccess = onOpened;
-
-        function onUpgradeNeeded(e)
-        {
-            var db = e.target.result;
-            var trans = e.target.transaction;
-            callback(db, trans);
-        }
-
-        function onOpened(e)
-        {
-            var db = e.target.result;
-            db.close();
-            commitCallback();
-        }
-    }
-}
-
-function doWithReadWriteTransaction(databaseName, objectStoreName, callback, commitCallback)
-{
-    doWithDatabase(databaseName, step2);
-
-    function step2(db)
-    {
-        var transaction = db.transaction([objectStoreName], 'readwrite');
-        var objectStore = transaction.objectStore(objectStoreName);
-        callback(objectStore, innerCommitCallback);
-
-        function innerCommitCallback()
-        {
-            db.close();
-            commitCallback();
-        }
-    }
-}
-
-function createDatabase(callback, databaseName)
-{
-    var request = indexedDB.open(databaseName);
-    request.onerror = onIndexedDBError;
-    request.onsuccess = closeDatabase;
-
-    function closeDatabase()
-    {
-        request.result.close();
-        callback();
-    }
-}
-
-function deleteDatabase(callback, databaseName)
-{
-    var request = indexedDB.deleteDatabase(databaseName);
-    request.onerror = onIndexedDBError;
-    request.onsuccess = callback;
-}
-
-function createObjectStore(callback, databaseName, objectStoreName, keyPath, autoIncrement)
-{
-    doWithVersionTransaction(databaseName, withTransactionCallback, callback);
-
-    function withTransactionCallback(db, transaction)
-    {
-        var store = db.createObjectStore(objectStoreName, { keyPath: keyPath, autoIncrement: autoIncrement });
-    }
-}
-
-function deleteObjectStore(callback, databaseName, objectStoreName)
-{
-    doWithVersionTransaction(databaseName, withTransactionCallback, callback);
-
-    function withTransactionCallback(db, transaction)
-    {
-        var store = db.deleteObjectStore(objectStoreName);
-    }
-}
-
-function createObjectStoreIndex(callback, databaseName, objectStoreName, objectStoreIndexName, keyPath, unique, multiEntry)
-{
-    doWithVersionTransaction(databaseName, withTransactionCallback, callback);
-
-    function withTransactionCallback(db, transaction)
-    {
-        var objectStore = transaction.objectStore(objectStoreName);
-        objectStore.createIndex(objectStoreIndexName, keyPath, { unique: unique, multiEntry: multiEntry });
-    }
-}
-
-function deleteObjectStoreIndex(callback, databaseName, objectStoreName, objectStoreIndexName)
-{
-    doWithVersionTransaction(databaseName, withTransactionCallback, callback);
-
-    function withTransactionCallback(db, transaction)
-    {
-        var objectStore = transaction.objectStore(objectStoreName);
-        objectStore.deleteIndex(objectStoreIndexName);
-    }
-}
-
-function addIDBValue(callback, databaseName, objectStoreName, value, key)
-{
-    doWithReadWriteTransaction(databaseName, objectStoreName, withTransactionCallback, callback)
-
-    function withTransactionCallback(objectStore, commitCallback)
-    {
-        var request;
-        if (key)
-            request = objectStore.add(value, key);
-        else
-            request = objectStore.add(value);
-        request.onerror = onIndexedDBError;
-        request.onsuccess = commitCallback;
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbresourceswithoutindexeddbhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/resources/without-indexed-db.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/resources/without-indexed-db.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/resources/without-indexed-db.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;script&gt;
-window.onload = function()
-{
-    function notifyFrontend()
-    {
-        InspectorTest.pageLoaded();
-    }
-    testRunner.dumpAsText();
-    testRunner.waitUntilDone();
-    testRunner.evaluateInWebInspector(0, &quot;(&quot; + notifyFrontend + &quot;)()&quot;);
-}
-&lt;/script&gt;
-&lt;p&gt;Page without Indexed DB.&lt;/p&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbresourcespanelexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback1
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback2
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback3
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback4
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback5
-CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback6
-Tests IndexedDB tree element on resources panel.
-
-Expanded IndexedDB tree element.
-Dumping IndexedDB tree:
-    (empty)
-Created database.
-Database added.
-Database loaded.
-Dumping IndexedDB tree:
-    database: testDatabase - http://127.0.0.1:8000
-        Object store: testObjectStore
-            Index: testIndexName
-Navigated to another security origin.
-Database removed.
-Page reloaded.
-Dumping IndexedDB tree:
-    (empty)
-Navigated back.
-Database added.
-Database loaded.
-Page reloaded.
-Dumping IndexedDB tree:
-    database: testDatabase - http://127.0.0.1:8000
-        Object store: testObjectStore
-            Index: testIndexName
-Deleted database.
-Database removed.
-Dumping IndexedDB tree:
-    (empty)
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorindexeddbresourcespanelhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,125 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;indexeddb-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id;
-    var indexedDBModel;
-    var withoutIndexedDBURL = &quot;http://localhost:8000/inspector/indexeddb/resources/without-indexed-db.html&quot;;
-    var originalURL = &quot;http://127.0.0.1:8000/inspector/indexeddb/resources-panel.html&quot;;
-    var databaseName = &quot;testDatabase&quot;;
-    var objectStoreName = &quot;testObjectStore&quot;;
-    var indexName = &quot;testIndexName&quot;;
-
-    function createDatabase(callback)
-    {
-        InspectorTest.createDatabase(mainFrameId, databaseName, step2);
-
-        function step2()
-        {
-            InspectorTest.createObjectStore(mainFrameId, databaseName, objectStoreName, &quot;&quot;, false, step3);
-        }
-
-        function step3()
-        {
-            InspectorTest.createObjectStoreIndex(mainFrameId, databaseName, objectStoreName, indexName, &quot;&quot;, false, false, callback);
-        }
-    }
-
-    function deleteDatabase(callback)
-    {
-        InspectorTest.deleteObjectStoreIndex(mainFrameId, databaseName, objectStoreName, indexName, step2);
-
-        function step2()
-        {
-            InspectorTest.deleteObjectStore(mainFrameId, databaseName, objectStoreName, step3);
-        }
-
-        function step3()
-        {
-            InspectorTest.deleteDatabase(mainFrameId, databaseName, callback);
-        }
-    }
-
-    WebInspector.showPanel(&quot;resources&quot;);
-
-    InspectorTest.addSniffer(WebInspector.IndexedDBTreeElement.prototype, &quot;_indexedDBAdded&quot;, indexedDBAdded, true);
-    function indexedDBAdded()
-    {
-        InspectorTest.addResult(&quot;Database added.&quot;);
-    }
-
-    InspectorTest.addSniffer(WebInspector.IndexedDBTreeElement.prototype, &quot;_indexedDBRemoved&quot;, indexedDBRemoved, true);
-    function indexedDBRemoved()
-    {
-        InspectorTest.addResult(&quot;Database removed.&quot;);
-    }
-
-    InspectorTest.addSniffer(WebInspector.IndexedDBTreeElement.prototype, &quot;_indexedDBLoaded&quot;, indexedDBLoaded, true);
-    function indexedDBLoaded()
-    {
-        InspectorTest.addResult(&quot;Database loaded.&quot;);
-    }
-
-    InspectorTest.addResult(&quot;Expanded IndexedDB tree element.&quot;);
-    WebInspector.panels.resources.indexedDBListTreeElement.expand();
-
-    InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, indexedDBTreeElementExpanded, false);
-    function indexedDBTreeElementExpanded()
-    {
-        InspectorTest.dumpIndexedDBTree();
-        InspectorTest.addResult(&quot;Created database.&quot;);
-        createDatabase(databaseCreated);
-    }
-
-    function databaseCreated()
-    {
-        indexedDBModel = WebInspector.panels.resources.indexedDBListTreeElement._indexedDBModel;
-        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, databaseLoaded);
-        WebInspector.panels.resources.indexedDBListTreeElement.refreshIndexedDB();
-    }
-
-    function databaseLoaded()
-    {
-        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, databaseLoaded);
-        InspectorTest.dumpIndexedDBTree();
-        InspectorTest.addResult(&quot;Navigated to another security origin.&quot;);
-        InspectorTest.navigate(withoutIndexedDBURL, navigatedAway);
-    }
-
-    function navigatedAway()
-    {
-        InspectorTest.dumpIndexedDBTree();
-        InspectorTest.addResult(&quot;Navigated back.&quot;);
-        InspectorTest.navigate(originalURL, navigatedBack);
-    }
-
-    function navigatedBack()
-    {
-        InspectorTest.dumpIndexedDBTree();
-        InspectorTest.addResult(&quot;Deleted database.&quot;);
-        deleteDatabase(databaseDeleted);
-    }
-
-    function databaseDeleted()
-    {
-        WebInspector.panels.resources.indexedDBListTreeElement.refreshIndexedDB();
-        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, databaseNamesLoadedAfterDeleting, false);
-    }
-
-    function databaseNamesLoadedAfterDeleting()
-    {
-        InspectorTest.dumpIndexedDBTree();
-        WebInspector.panels.resources.indexedDBListTreeElement.collapse();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests IndexedDB tree element on resources panel.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorinspectelementexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/inspect-element-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/inspect-element-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/inspect-element-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that inspect element action works for iframe children (https://bugs.webkit.org/show_bug.cgi?id=76808).
-
-
-div#div
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorinspectelementhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/inspect-element.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/inspect-element.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/inspect-element.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;).treeOutline.
-        addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, selectedNodeChanged, this);
-    function selectedNodeChanged(event)
-    {
-        var node = event.data;
-        if (!node)
-            return;
-
-        if (node.getAttribute(&quot;id&quot;) == &quot;div&quot;) {
-            InspectorTest.addResult(node.appropriateSelectorFor());
-            InspectorTest.completeTest();
-        }
-    }
-    InspectorTest.evaluateInConsole(&quot;inspect(iframeDivElement)&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Tests that inspect element action works for iframe children (https://bugs.webkit.org/show_bug.cgi?id=76808).
-&lt;/p&gt;
-
-&lt;iframe src=&quot;resources/inspect-element-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorinspectiframefromdifferentdomainexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: IFRAME HOST: localhost:8000
-
-Tests that style properties of elements in iframes loaded from domain different from the main document domain can be inspected. See bug 31587.
-
-background: green;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorinspectiframefromdifferentdomainhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;title&gt;Inspect style in iframe from different domain.&lt;/title&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var onIFrameLoadCalled = false;
-function onIFrameLoad()
-{
-    if (onIFrameLoadCalled)
-        return;
-    onIFrameLoadCalled = true;
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;iframe-body&quot;, step1);
-
-    function step1()
-    {
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;background&quot;);
-        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-    &lt;iframe src=&quot;http://localhost:8000/inspector/resources/iframe-from-different-domain-data.html&quot; id=&quot;receiver&quot; onload=&quot;onIFrameLoad()&quot;&gt;&lt;/iframe&gt;
-    &lt;p&gt;
-    Tests that style properties of elements in iframes loaded from domain different from
-    the main document domain can be inspected.
-    See &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=31587&quot;&gt;bug 31587&lt;/a&gt;.
-    &lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorinspectortestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/inspector-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/inspector-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/inspector-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,610 +0,0 @@
</span><del>-var initialize_InspectorTest = function() {
-
-var results = [];
-var resultsSynchronized = false;
-
-function consoleOutputHook(messageType)
-{
-    InspectorTest.addResult(messageType + &quot;: &quot; + Array.prototype.slice.call(arguments, 1));
-}
-
-console.log = consoleOutputHook.bind(InspectorTest, &quot;log&quot;);
-console.error = consoleOutputHook.bind(InspectorTest, &quot;error&quot;);
-console.info = consoleOutputHook.bind(InspectorTest, &quot;info&quot;);
-
-InspectorTest.Output = {   // override in window.initialize_yourName
-    testComplete: function()
-    {
-        RuntimeAgent.evaluate(&quot;didEvaluateForTestInFrontend(&quot; + InspectorTest.completeTestCallId + &quot;, \&quot;\&quot;)&quot;, &quot;test&quot;);
-    },
-
-    addResult: function(text)
-    {
-        InspectorTest.evaluateInPage(&quot;output(unescape('&quot; + escape(text) + &quot;'))&quot;);
-    },
-    
-    clearResults: function()
-    {
-        InspectorTest.evaluateInPage(&quot;clearOutput()&quot;);
-    }
-};
-
-InspectorTest.completeTest = function()
-{
-    function testDispatchQueueIsEmpty() {
-        if (!WebInspector.dispatchQueueIsEmpty()) {
-            // Wait for unprocessed messages.
-            setTimeout(testDispatchQueueIsEmpty, 10);
-            return;
-        }
-        InspectorTest.Output.testComplete();
-    }
-    testDispatchQueueIsEmpty();
-}
-
-InspectorTest.evaluateInConsole = function(code, callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    WebInspector.consoleView.visible = true;
-    WebInspector.consoleView.prompt.text = code;
-    var event = document.createEvent(&quot;KeyboardEvent&quot;);
-    event.initKeyboardEvent(&quot;keydown&quot;, true, true, null, &quot;Enter&quot;, &quot;&quot;);
-    WebInspector.consoleView.prompt.proxyElement.dispatchEvent(event);
-    InspectorTest.addConsoleSniffer(
-        function(commandResult) {
-            callback(commandResult.toMessageElement().textContent);
-        });
-}
-
-InspectorTest.evaluateInConsoleAndDump = function(code, callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    function mycallback(text)
-    {
-        InspectorTest.addResult(code + &quot; = &quot; + text);
-        callback(text);
-    }
-    InspectorTest.evaluateInConsole(code, mycallback);
-}
-
-InspectorTest.evaluateInPage = function(code, callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    function mycallback(error, result, wasThrown)
-    {
-        if (!error)
-            callback(WebInspector.RemoteObject.fromPayload(result), wasThrown);
-    }
-    RuntimeAgent.evaluate(code, &quot;console&quot;, false, mycallback);
-}
-
-InspectorTest.evaluateInPageWithTimeout = function(code)
-{
-    InspectorTest.evaluateInPage(&quot;setTimeout(unescape('&quot; + escape(code) + &quot;'))&quot;);
-}
-
-InspectorTest.addResult = function(text)
-{
-    results.push(text);
-    if (resultsSynchronized)
-        InspectorTest.Output.addResult(text);
-    else {
-        InspectorTest.Output.clearResults();
-        for (var i = 0; i &lt; results.length; ++i)
-            InspectorTest.Output.addResult(results[i]);
-        resultsSynchronized = true;
-    }
-}
-
-InspectorTest.addResults = function(textArray)
-{
-    if (!textArray)
-        return;
-    for (var i = 0, size = textArray.length; i &lt; size; ++i)
-        InspectorTest.addResult(textArray[i]);
-}
-
-function onError(event)
-{
-    window.removeEventListener(&quot;error&quot;, onError);
-    InspectorTest.addResult(&quot;Uncaught exception in inspector front-end: &quot; + event.message + &quot; [&quot; + event.filename + &quot;:&quot; + event.lineno + &quot;]&quot;);
-    InspectorTest.completeTest();
-}
-
-window.addEventListener(&quot;error&quot;, onError);
-
-InspectorTest.formatters = {};
-
-InspectorTest.formatters.formatAsTypeName = function(value)
-{
-    return &quot;&lt;&quot; + typeof value + &quot;&gt;&quot;;
-}
-
-InspectorTest.formatters.formatAsRecentTime = function(value)
-{
-    if (typeof value !== &quot;object&quot; || !(value instanceof Date))
-        return InspectorTest.formatAsTypeName(value);
-    var delta = Date.now() - value;
-    return 0 &lt;= delta &amp;&amp; delta &lt; 30 * 60 * 1000 ? &quot;&lt;plausible&gt;&quot; : value;
-}
-
-InspectorTest.addObject = function(object, customFormatters, prefix, firstLinePrefix)
-{
-    prefix = prefix || &quot;&quot;;
-    firstLinePrefix = firstLinePrefix || prefix;
-    InspectorTest.addResult(firstLinePrefix + &quot;{&quot;);
-    var propertyNames = Object.keys(object);
-    propertyNames.sort();
-    for (var i = 0; i &lt; propertyNames.length; ++i) {
-        var prop = propertyNames[i];
-        if (typeof object.hasOwnProperty === &quot;function&quot; &amp;&amp; !object.hasOwnProperty(prop))
-            continue;
-        var prefixWithName = &quot;    &quot; + prefix + prop + &quot; : &quot;;
-        var propValue = object[prop];
-        if (customFormatters &amp;&amp; customFormatters[prop]) {
-            var formatterName = customFormatters[prop];
-            if (formatterName !== &quot;skip&quot;) {
-                var formatter = InspectorTest.formatters[formatterName];
-                InspectorTest.addResult(prefixWithName + formatter(propValue));
-            }
-        } else
-            InspectorTest.dump(propValue, customFormatters, &quot;    &quot; + prefix, prefixWithName);
-    }
-    InspectorTest.addResult(prefix + &quot;}&quot;);
-}
-
-InspectorTest.addArray = function(array, customFormatters, prefix, firstLinePrefix)
-{
-    prefix = prefix || &quot;&quot;;
-    firstLinePrefix = firstLinePrefix || prefix;
-    InspectorTest.addResult(firstLinePrefix + &quot;[&quot;);
-    for (var i = 0; i &lt; array.length; ++i)
-        InspectorTest.dump(array[i], customFormatters, prefix + &quot;    &quot;);
-    InspectorTest.addResult(prefix + &quot;]&quot;);
-}
-
-InspectorTest.dump = function(value, customFormatters, prefix, prefixWithName)
-{
-    prefixWithName = prefixWithName || prefix;
-    if (prefixWithName &amp;&amp; prefixWithName.length &gt; 80) {
-        InspectorTest.addResult(prefixWithName + &quot;was skipped due to prefix length limit&quot;);
-        return;
-    }
-    if (value === null)
-        InspectorTest.addResult(prefixWithName + &quot;null&quot;);
-    else if (value instanceof Array)
-        InspectorTest.addArray(value, customFormatters, prefix, prefixWithName);
-    else if (typeof value === &quot;object&quot;)
-        InspectorTest.addObject(value, customFormatters, prefix, prefixWithName);
-    else if (typeof value === &quot;string&quot;)
-        InspectorTest.addResult(prefixWithName + &quot;\&quot;&quot; + value + &quot;\&quot;&quot;);
-    else
-        InspectorTest.addResult(prefixWithName + value);
-}
-
-InspectorTest.assertGreaterOrEqual = function(a, b, message)
-{
-    if (a &lt; b)
-        InspectorTest.addResult(&quot;FAILED: &quot; + (message ? message + &quot;: &quot; : &quot;&quot;) + a + &quot; &lt; &quot; + b);
-}
-
-InspectorTest.navigate = function(url, callback)
-{
-    InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(callback);
-
-    WebInspector.panel(&quot;network&quot;)._reset();
-    InspectorTest.evaluateInConsole(&quot;window.location = '&quot; + url + &quot;'&quot;);
-}
-
-InspectorTest.hardReloadPage = function(callback, scriptToEvaluateOnLoad, scriptPreprocessor)
-{
-    InspectorTest._innerReloadPage(true, callback, scriptToEvaluateOnLoad, scriptPreprocessor);
-}
-
-InspectorTest.reloadPage = function(callback, scriptToEvaluateOnLoad, scriptPreprocessor)
-{
-    InspectorTest._innerReloadPage(false, callback, scriptToEvaluateOnLoad, scriptPreprocessor);
-}
-
-InspectorTest._innerReloadPage = function(hardReload, callback, scriptToEvaluateOnLoad, scriptPreprocessor)
-{
-    InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(callback);
-
-    if (WebInspector.panels.network)
-        WebInspector.panels.network._reset();
-    PageAgent.reload(hardReload, scriptToEvaluateOnLoad, scriptPreprocessor);
-}
-
-InspectorTest.pageLoaded = function()
-{
-    resultsSynchronized = false;
-    InspectorTest.addResult(&quot;Page reloaded.&quot;);
-    if (InspectorTest._pageLoadedCallback) {
-        var callback = InspectorTest._pageLoadedCallback;
-        delete InspectorTest._pageLoadedCallback;
-        callback();
-    }
-}
-
-InspectorTest.runWhenPageLoads = function(callback)
-{
-    var oldCallback = InspectorTest._pageLoadedCallback;
-    function chainedCallback()
-    {
-        if (oldCallback)
-            oldCallback();
-        callback();
-    }
-    InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(chainedCallback);
-}
-
-InspectorTest.runAfterPendingDispatches = function(callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-    InspectorBackend.runAfterPendingDispatches(callback);
-}
-
-InspectorTest.createKeyEvent = function(keyIdentifier, ctrlKey, altKey, shiftKey, metaKey)
-{
-    var evt = document.createEvent(&quot;KeyboardEvent&quot;);
-    evt.initKeyboardEvent(&quot;keydown&quot;, true /* can bubble */, true /* can cancel */, null /* view */, keyIdentifier, &quot;&quot;, ctrlKey, altKey, shiftKey, metaKey);
-    return evt;
-}
-
-InspectorTest.runTestSuite = function(testSuite)
-{
-    var testSuiteTests = testSuite.slice();
-
-    function runner()
-    {
-        if (!testSuiteTests.length) {
-            InspectorTest.completeTest();
-            return;
-        }
-        var nextTest = testSuiteTests.shift();
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(&quot;Running: &quot; + /function\s([^(]*)/.exec(nextTest)[1]);
-        InspectorTest.safeWrap(nextTest)(runner, runner);
-    }
-    runner();
-}
-
-InspectorTest.assertEquals = function(expected, found, message)
-{
-    if (expected === found)
-        return;
-
-    var error;
-    if (message)
-        error = &quot;Failure (&quot; + message + &quot;):&quot;;
-    else
-        error = &quot;Failure:&quot;;
-    throw new Error(error + &quot; expected &lt;&quot; + expected + &quot;&gt; found &lt;&quot; + found + &quot;&gt;&quot;);
-}
-
-InspectorTest.assertTrue = function(found, message)
-{
-    InspectorTest.assertEquals(true, !!found, message);
-}
-
-InspectorTest.safeWrap = function(func, onexception)
-{
-    function result()
-    {
-        if (!func)
-            return;
-        var wrapThis = this;
-        try {
-            return func.apply(wrapThis, arguments);
-        } catch(e) {
-            InspectorTest.addResult(&quot;Exception while running: &quot; + func + &quot;\n&quot; + (e.stack || e));
-            if (onexception)
-                InspectorTest.safeWrap(onexception)();
-            else
-                InspectorTest.completeTest();
-        }
-    }
-    return result;
-}
-
-InspectorTest.addSniffer = function(receiver, methodName, override, opt_sticky)
-{
-    override = InspectorTest.safeWrap(override);
-
-    var original = receiver[methodName];
-    if (typeof original !== &quot;function&quot;)
-        throw (&quot;Cannot find method to override: &quot; + methodName);
-
-    receiver[methodName] = function(var_args) {
-        try {
-            var result = original.apply(this, arguments);
-        } finally {
-            if (!opt_sticky)
-                receiver[methodName] = original;
-        }
-        // In case of exception the override won't be called.
-        try {
-            override.apply(this, arguments);
-        } catch (e) {
-            throw (&quot;Exception in overriden method '&quot; + methodName + &quot;': &quot; + e);
-        }
-        return result;
-    };
-}
-
-InspectorTest.addConsoleSniffer = function(override, opt_sticky)
-{
-    InspectorTest.addSniffer(WebInspector.ConsoleView.prototype, &quot;_appendConsoleMessage&quot;, override, opt_sticky);
-}
-
-InspectorTest.override = function(receiver, methodName, override, opt_sticky)
-{
-    override = InspectorTest.safeWrap(override);
-
-    var original = receiver[methodName];
-    if (typeof original !== &quot;function&quot;)
-        throw (&quot;Cannot find method to override: &quot; + methodName);
-
-    receiver[methodName] = function(var_args) {
-        try {
-            try {
-                var result = override.apply(this, arguments);
-            } catch (e) {
-                throw (&quot;Exception in overriden method '&quot; + methodName + &quot;': &quot; + e);
-            }
-        } finally {
-            if (!opt_sticky)
-                receiver[methodName] = original;
-        }
-        return result;
-    };
-
-    return original;
-}
-
-InspectorTest.textContentWithLineBreaks = function(node)
-{
-    var buffer = &quot;&quot;;
-    var currentNode = node;
-    while (currentNode = currentNode.traverseNextNode(node)) {
-        if (currentNode.nodeType === Node.TEXT_NODE)
-            buffer += currentNode.nodeValue;
-        else if (currentNode.nodeName === &quot;LI&quot;)
-            buffer += &quot;\n    &quot;;
-        else if (currentNode.classList.contains(&quot;console-message&quot;))
-            buffer += &quot;\n\n&quot;;
-    }
-    return buffer;
-}
-
-InspectorTest.StringOutputStream = function(callback)
-{
-    this._callback = callback;
-    this._buffer = &quot;&quot;;
-};
-
-InspectorTest.StringOutputStream.prototype = {
-    write: function(chunk, callback)
-    {
-        this._buffer += chunk;
-        if (callback)
-            callback(this);
-    },
-
-    close: function()
-    {
-        this._callback(this._buffer);
-    }
-};
-
-InspectorTest.MockSetting = function(value)
-{
-    this._value = value;
-};
-
-InspectorTest.MockSetting.prototype = {
-    get: function() {
-        return this._value;
-    },
-
-    set: function(value) {
-        this._value = value;
-    }
-};
-
-};
-
-var initializeCallId = 0;
-var runTestCallId = 1;
-var completeTestCallId = 2;
-var frontendReopeningCount = 0;
-
-function reopenFrontend()
-{
-    closeFrontend(openFrontendAndIncrement);
-}
-
-function closeFrontend(callback)
-{
-    // Do this asynchronously to allow InspectorBackendDispatcher to send response
-    // back to the frontend before it's destroyed.
-    setTimeout(function() {
-        testRunner.closeWebInspector();
-        callback();
-    }, 0);
-}
-
-function openFrontendAndIncrement()
-{
-    frontendReopeningCount++;
-    testRunner.showWebInspector();
-    runTest();
-}
-
-function runAfterIframeIsLoaded()
-{
-    if (window.testRunner)
-        testRunner.waitUntilDone();
-    function step()
-    {
-        if (!window.iframeLoaded)
-            setTimeout(step, 100);
-        else
-            runTest();
-    }
-    setTimeout(step, 100);
-}
-
-function runTest(enableWatchDogWhileDebugging)
-{
-    if (!window.testRunner)
-        return;
-
-    testRunner.dumpAsText();
-    testRunner.waitUntilDone();
-
-    function initializeFrontend(initializationFunctions)
-    {
-        if (window.InspectorTest) {
-            InspectorTest.pageLoaded();
-            return;
-        }
-
-        InspectorTest = {};
-    
-        for (var i = 0; i &lt; initializationFunctions.length; ++i) {
-            try {
-                initializationFunctions[i]();
-            } catch (e) {
-                console.error(&quot;Exception in test initialization: &quot; + e);
-                InspectorTest.completeTest();
-            }
-        }
-    }
-
-    function runTestInFrontend(testFunction, completeTestCallId)
-    {
-        if (InspectorTest.completeTestCallId) 
-            return;
-
-        InspectorTest.completeTestCallId = completeTestCallId;
-
-        WebInspector.showPanel(&quot;audits&quot;);
-        try {
-            testFunction();
-        } catch (e) {
-            console.error(&quot;Exception during test execution: &quot; + e,  (e.stack ? e.stack : &quot;&quot;) );
-            InspectorTest.completeTest();
-        }
-    }
-
-    var initializationFunctions = [ String(initialize_InspectorTest) ];
-    for (var name in window) {
-        if (name.indexOf(&quot;initialize_&quot;) === 0 &amp;&amp; typeof window[name] === &quot;function&quot; &amp;&amp; name !== &quot;initialize_InspectorTest&quot;)
-            initializationFunctions.push(window[name].toString());
-    }
-    var parameters = [&quot;[&quot; + initializationFunctions + &quot;]&quot;];
-    var toEvaluate = &quot;(&quot; + initializeFrontend + &quot;)(&quot; + parameters.join(&quot;, &quot;) + &quot;);&quot;;
-    testRunner.evaluateInWebInspector(initializeCallId, toEvaluate);
-
-    parameters = [test, completeTestCallId];
-    toEvaluate = &quot;(&quot; + runTestInFrontend + &quot;)(&quot; + parameters.join(&quot;, &quot;) + &quot;);&quot;;
-    testRunner.evaluateInWebInspector(runTestCallId, toEvaluate);
-
-    if (enableWatchDogWhileDebugging) {
-        function watchDog()
-        {
-            console.log(&quot;Internal watchdog triggered at 20 seconds. Test timed out.&quot;);
-            closeInspectorAndNotifyDone();
-        }
-        window._watchDogTimer = setTimeout(watchDog, 20000);
-    }
-}
-
-function didEvaluateForTestInFrontend(callId)
-{
-    if (callId !== completeTestCallId)
-        return;
-    delete window.completeTestCallId;
-    // Close inspector asynchrously to allow caller of this
-    // function send response before backend dispatcher and frontend are destroyed.
-    setTimeout(closeInspectorAndNotifyDone, 0);
-}
-
-function closeInspectorAndNotifyDone()
-{
-    if (window._watchDogTimer)
-        clearTimeout(window._watchDogTimer);
-
-    testRunner.closeWebInspector();
-    setTimeout(function() {
-        testRunner.notifyDone();
-    }, 0);
-}
-
-var outputElement;
-
-function output(text)
-{
-    if (!outputElement) {
-        var intermediate = document.createElement(&quot;div&quot;);
-        document.body.appendChild(intermediate);
-
-        var intermediate2 = document.createElement(&quot;div&quot;);
-        intermediate.appendChild(intermediate2);
-
-        outputElement = document.createElement(&quot;div&quot;);
-        outputElement.className = &quot;output&quot;;
-        outputElement.id = &quot;output&quot;;
-        outputElement.style.whiteSpace = &quot;pre&quot;;
-        intermediate2.appendChild(outputElement);
-    }
-    outputElement.appendChild(document.createTextNode(text));
-    outputElement.appendChild(document.createElement(&quot;br&quot;));
-}
-
-function clearOutput()
-{
-    if (outputElement) {
-        outputElement.parentNode.removeChild(outputElement);
-        outputElement = null;
-    }
-}
-
-function StandaloneTestRunnerStub()
-{
-}
-
-StandaloneTestRunnerStub.prototype = {
-    dumpAsText: function()
-    {
-    },
-
-    waitUntilDone: function()
-    {
-    },
-
-    closeWebInspector: function()
-    {
-        window.opener.postMessage([&quot;closeWebInspector&quot;], &quot;*&quot;);
-    },
-
-    notifyDone: function()
-    {
-        var actual = document.body.innerText + &quot;\n&quot;;
-        window.opener.postMessage([&quot;notifyDone&quot;, actual], &quot;*&quot;);
-    },
-
-    evaluateInWebInspector: function(callId, script)
-    {
-        window.opener.postMessage([&quot;evaluateInWebInspector&quot;, callId, script], &quot;*&quot;);
-    },
-
-    display: function() { }
-}
-
-if (!window.testRunner &amp;&amp; window.opener)
-    window.testRunner = new StandaloneTestRunnerStub();
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorisolatedfilesystemtestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/isolated-filesystem-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/isolated-filesystem-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/isolated-filesystem-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,63 +0,0 @@
</span><del>-var initialize_IsolatedFileSystemTest = function() {
-
-InspectorTest.createIsolatedFileSystemManager = function(workspace, fileSystemMapping)
-{
-    var manager = new MockIsolatedFileSystemManager();
-    manager.fileSystemWorkspaceProvider = new WebInspector.FileSystemWorkspaceProvider(manager, workspace);
-    manager.fileSystemMapping = fileSystemMapping;
-    return manager;
-}
-
-var MockIsolatedFileSystem = function(path, files)
-{
-    this._path = path;
-    this._files = files;
-};
-MockIsolatedFileSystem.prototype = {
-    path: function()
-    {
-        return this._path;
-    },
-
-    requestFileContent: function(path, callback)
-    {
-        callback(this._files[path]);
-    },
-
-    setFileContent: function(path, newContent, callback)
-    {
-        this._files[path] = newContent;
-        callback();
-    },
-
-    requestFilesRecursive: function(path, callback)
-    {
-        var files = Object.keys(this._files);
-        for (var i = 0; i &lt; files.length; ++i)
-            callback(files[i]);
-    },
-}
-
-var MockIsolatedFileSystemManager = function() {};
-MockIsolatedFileSystemManager.prototype = {
-    addMockFileSystem: function(path, files)
-    {
-        var fileSystem = new MockIsolatedFileSystem(path, files);
-        this._fileSystems = this._fileSystems || {};
-        this._fileSystems[path] = fileSystem;
-        this.fileSystemMapping.addFileSystemMapping(path);
-        this.dispatchEventToListeners(WebInspector.IsolatedFileSystemManager.Events.FileSystemAdded, fileSystem);
-    },
-
-    removeMockFileSystem: function(path)
-    {
-        var fileSystem = this._fileSystems[path];
-        delete this._fileSystems[path];
-        this.fileSystemMapping.removeFileSystemMapping(path);
-        this.dispatchEventToListeners(WebInspector.IsolatedFileSystemManager.Events.FileSystemRemoved, fileSystem);
-    },
-
-    __proto__: WebInspector.Object.prototype
-}
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorliveedittestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/live-edit-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/live-edit-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/live-edit-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,27 +0,0 @@
</span><del>-var initialize_LiveEditTest = function() {
-
-InspectorTest.replaceInSource = function(sourceFrame, string, replacement)
-{
-    sourceFrame._textEditor._mainPanel.setReadOnly(false);
-    for (var i = 0; i &lt; sourceFrame._textEditor.linesCount; ++i) {
-        var line = sourceFrame._textEditor.line(i);
-        var column = line.indexOf(string);
-        if (column === -1)
-            continue;
-        range = new WebInspector.TextRange(i, column, i, column + string.length);
-        var newRange = sourceFrame._textEditor.editRange(range, replacement);
-        break;
-    }
-}
-
-InspectorTest.commitSource = function(sourceFrame)
-{
-    sourceFrame._commitEditing();
-}
-
-InspectorTest.undoSourceEditing = function(sourceFrame)
-{
-    sourceFrame._textEditor._mainPanel._handleUndoRedo(false);
-}
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectormodifycrossdomainruleexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-Tests that modifying a rule in a stylesheet loaded from a different domain does not crash the renderer.
-
-Text
-
-Running: testSetUp
-
-Running: testAddProperty
-=== Rule modified ===
-color: green;
-width: 100%;
-=== Selector changed ===
-body {
-  color: green;
-  width: 100%;
-}
-Affects selected (#inspected) node: false
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectormodifycrossdomainrulehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,110 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;http://localhost:8000/inspector/styles/modify-cross-domain-rule.css&quot;&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var nodeId;
-    var allRules;
-    var rule;
-    var matchedRules;
-
-    WebInspector.showPanel(&quot;elements&quot;);
-
-    InspectorTest.runTestSuite([
-        function testSetUp(next) {
-            InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, selectCallback);
-
-            function selectCallback()
-            {
-                var idToDOMNode = WebInspector.domAgent._idToDOMNode;
-                for (var id in idToDOMNode) {
-                    node = idToDOMNode[id];
-                    if (node.getAttribute &amp;&amp; node.getAttribute(&quot;id&quot;) === &quot;inspected&quot;) {
-                        nodeId = parseInt(id, 10);
-                        break;
-                    }
-                }
-
-                if (!nodeId) {
-                    InspectorTest.completeTest();
-                    return;
-                }
-
-                WebInspector.cssModel.getMatchedStylesAsync(nodeId, false, false, callback);
-            }
-
-            function callback(rules)
-            {
-                if (!rules || !rules.matchedCSSRules || !rules.matchedCSSRules.length) {
-                    InspectorTest.addResult(&quot;[!] No rules found&quot;);
-                    InspectorTest.completeTest();
-                    return;
-                }
-
-                allRules = rules.matchedCSSRules;
-                next();
-            }
-        },
-
-        function testAddProperty(next)
-        {
-            for (var i = 0; i &lt; allRules.length; ++i) {
-                if (allRules[i].isRegular) {
-                    rule = allRules[i];
-                    break;
-                }
-            }
-            rule.style.appendProperty(&quot;width&quot;, &quot;100%&quot;, callback);
-            function callback(newStyle)
-            {
-                InspectorTest.addResult(&quot;=== Rule modified ===&quot;);
-                if (!newStyle) {
-                    InspectorTest.addResult(&quot;[!] No valid rule style received&quot;);
-                    InspectorTest.completeTest();
-                } else {
-                    dumpProperties(newStyle);
-                    WebInspector.cssModel.setRuleSelector(rule.id, nodeId, &quot;body&quot;, successCallback, failureCallback);
-                }
-            }
-
-            function successCallback(rule, doesAffectSelectedNode)
-            {
-                InspectorTest.addResult(&quot;=== Selector changed ===&quot;);
-                InspectorTest.addResult(rule.selectorText + &quot; {&quot; + rule.style.cssText + &quot;}&quot;);
-                InspectorTest.addResult(&quot;Affects selected (#inspected) node: &quot; + doesAffectSelectedNode);
-                next();
-            }
-
-            function failureCallback()
-            {
-                InspectorTest.addResult(&quot;[!] Failed to change selector&quot;);
-                InspectorTest.completeTest();
-            }
-        }
-    ]);
-
-    function dumpProperties(style)
-    {
-       if (!style)
-           return;
-       var allProperties = style.allProperties;
-       for (var i = 0; i &lt; allProperties.length; ++i)
-           InspectorTest.addResult(allProperties[i].text);
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that modifying a rule in a stylesheet loaded from a different domain does not crash the renderer.
-&lt;/p&gt;
-
-&lt;div id=&quot;inspected&quot;&gt;Text&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkasyncxhrjsonmimetypeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests XHR network resource content for asynchronous requests with application/json mime type. Bug 80684
-
-http://127.0.0.1:8000/inspector/network/resources/json.php
-resource.type: xhr
-resource.content before requesting content: undefined
-resource.content after requesting content: {&quot;number&quot;: &quot;42&quot;}
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkasyncxhrjsonmimetypehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/json.php&quot;, true, step2);
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
-        InspectorTest.assertTrue(!request1.failed, &quot;Resource loading failed.&quot;);
-        request1.requestContent(step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
- &lt;p&gt;
- Tests XHR network resource content for asynchronous requests with application/json mime type.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=80684&quot;&gt;Bug 80684&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedmovedtostorageexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 16: Done1.
-CONSOLE MESSAGE: line 26: Done2.
-Tests content is moved from cached resource to resource agent's data storage when cached resource is destroyed.
-
-Bug 92108  
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=400
-request.type: image
-request.content.length after requesting content: 536
-Releasing cached resource.
-request.content.length after requesting content: 536
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedmovedtostoragehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,109 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var image;
-function loadFirstImage() {
-    image = new Image();
-    image.onload = firstImageLoaded;
-    document.body.appendChild(image);
-    image.src = &quot;resources/resource.php?type=image&amp;random=1&amp;size=400&quot;;
-}
-
-function firstImageLoaded()
-{
-    console.log(&quot;Done1.&quot;);
-}
-
-function loadSecondImage() {
-    image.onload = secondImageLoaded;
-    image.src = &quot;resources/resource.php?type=image&amp;random=1&amp;size=200&quot;;
-}
-
-function secondImageLoaded()
-{
-    console.log(&quot;Done2.&quot;);
-}
-
-function forceCachedResourceLoaderGC() {
-    if (window.internals)
-        window.internals.garbageCollectDocumentResources();
-}
-
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    var imageRequest;
-    function step1()
-    {
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;loadFirstImage()&quot;);
-    }
-
-    function step2()
-    {
-        imageRequest = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        imageRequest.requestContent(step3);
-    }
-
-    var originalContentLength;
-    function step3()
-    {
-        InspectorTest.addResult(imageRequest.url);
-        InspectorTest.addResult(&quot;request.type: &quot; + imageRequest.type);
-        InspectorTest.addResult(&quot;request.content.length after requesting content: &quot; + imageRequest.content.length);
-        originalContentLength = imageRequest.content.length;
-        InspectorTest.assertTrue(imageRequest.content.length &gt; 0, &quot;No content before destroying CachedResource.&quot;);
-
-        InspectorTest.addResult(&quot;Releasing cached resource.&quot;);
-        // Loading another image to the same image element so that the original image cached resource is released.
-        InspectorTest.addConsoleSniffer(step4);
-        InspectorTest.evaluateInPage(&quot;loadSecondImage()&quot;);
-    }
-
-    function step4(msg)
-    {
-        // Disable-enable cache to force MemoryCache::evictResources().
-        NetworkAgent.setCacheDisabled(true, step5);
-    }
-
-    function step5(msg)
-    {
-        NetworkAgent.setCacheDisabled(false, step6);
-    }
-
-    function step6()
-    {
-        // Force CachedResourceLoader garbage collector run.
-        InspectorTest.evaluateInPage(&quot;forceCachedResourceLoaderGC()&quot;);
-
-        // Re-request content now that CachedResource should have been destroyed.
-        delete imageRequest._content;
-        imageRequest.requestContent(step7);
-    }
-
-    function step7()
-    {
-        InspectorTest.addResult(&quot;request.content.length after requesting content: &quot; + imageRequest.content.length);
-        originalContentLength = imageRequest.content.length;
-        InspectorTest.assertTrue(imageRequest.content.length === originalContentLength, &quot;Content changed after cached resource was destroyed&quot;);
-        InspectorTest.resetInspectorResourcesData(step8);
-    }
-
-    function step8()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests content is moved from cached resource to resource agent's data storage when cached resource is destroyed.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=92108&quot;&gt;Bug 92108&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedtoobigdiscardedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 23: Done1.
-CONSOLE MESSAGE: line 33: Done2.
-Tests cached resource content is discarded when cached resource is destroyed if content size is too big for the resource agent's data storage.
-
-Bug 92108  
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=400
-request.type: image
-request.content.length after requesting content: 536
-Releasing cached resource.
-request.content after requesting content: null
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedtoobigdiscardedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,106 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var image;
-function loadFirstImage() {
-    if (!window.internals) {
-        console.log(&quot;This test can not be run as window.internals is not available.&quot;);
-        return;
-    }
-    // Make sure there is no enough space to save content in resource agent's storage.
-    internals.setInspectorResourcesDataSizeLimits(100, 100);
-
-    image = new Image();
-    image.onload = firstImageLoaded;
-    document.body.appendChild(image);
-    image.src = &quot;resources/resource.php?type=image&amp;random=1&amp;size=400&quot;;
-}
-
-function firstImageLoaded()
-{
-    console.log(&quot;Done1.&quot;);
-}
-
-function loadSecondImage() {
-    image.onload = secondImageLoaded;
-    image.src = &quot;resources/resource.php?type=image&amp;random=1&amp;size=200&quot;;
-}
-
-function secondImageLoaded()
-{
-    console.log(&quot;Done2.&quot;);
-}
-
-function forceCachedResourceLoaderGC() {
-    if (window.internals)
-        window.internals.garbageCollectDocumentResources();
-}
-
-function test()
-{
-    var imageRequest;
-    InspectorTest.addConsoleSniffer(step2);
-    InspectorTest.evaluateInPage(&quot;loadFirstImage()&quot;);
-
-    function step2()
-    {
-        imageRequest = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        imageRequest.requestContent(step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(imageRequest.url);
-        InspectorTest.addResult(&quot;request.type: &quot; + imageRequest.type);
-        InspectorTest.addResult(&quot;request.content.length after requesting content: &quot; + imageRequest.content.length);
-        InspectorTest.assertTrue(imageRequest.content.length &gt; 0, &quot;No content before destroying CachedResource.&quot;);
-
-        InspectorTest.addResult(&quot;Releasing cached resource.&quot;);
-        // Loading another image to the same image element so that the original image cached resource is released.
-        InspectorTest.addConsoleSniffer(step4);
-        InspectorTest.evaluateInPage(&quot;loadSecondImage()&quot;);
-    }
-
-    function step4(msg)
-    {
-        // Disable-enable cache to force MemoryCache::evictResources().
-        NetworkAgent.setCacheDisabled(true, step5);
-    }
-
-    function step5(msg)
-    {
-        NetworkAgent.setCacheDisabled(false, step6);
-    }
-
-    function step6()
-    {
-        // Force CachedResourceLoader garbage collector run.
-        InspectorTest.evaluateInPage(&quot;forceCachedResourceLoaderGC()&quot;);
-
-        // Re-request content now that CachedResource should have been destroyed.
-        delete imageRequest._content;
-        imageRequest.requestContent(step7);
-    }
-
-    function step7()
-    {
-        InspectorTest.addResult(&quot;request.content after requesting content: &quot; + imageRequest.content);
-        InspectorTest.assertTrue(!imageRequest.content, &quot;Content available after CachedResource was destroyed.&quot;);
-        InspectorTest.resetInspectorResourcesData(step8);
-    }
-
-    function step8()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests cached resource content is discarded when cached resource is destroyed if content size is too big for the resource agent's data storage.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=92108&quot;&gt;Bug 92108&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkcsssourcemappingurlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Tests that the extraResourceInfo in Network.loadingFinished contains a sourceMapURL for a Stylesheet containing a sourceMappingURL. Also then tests that Page.getResourceTree contains the sourceMapURL for the resource.
-
-Response received for style.css
-Network.loadingFailed extraResourceInfo contains a sourceMapURL: source-map-test-style.css.map
-Page.getResourceTree resourcePayload contains sourceMapURL: source-map-test-style.css.map
-SUCCESS
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkcsssourcemappingurlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,88 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadStylesheetWithSourceMappingURL()
-{
-    var link = document.createElement(&quot;link&quot;);
-    link.rel = &quot;stylesheet&quot;;
-    link.type = &quot;text/css&quot;;
-    link.href = &quot;resources/source-map-test-style.css&quot;;
-    document.head.appendChild(link);
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFinished&quot;, loadingFinished);
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFailed&quot;, loadingFailed);
-
-    InspectorTest.evaluateInPage(&quot;loadStylesheetWithSourceMappingURL()&quot;);
-
-    function loadingFinished(requestId, timestamp, sourceMapURL)
-    {
-        var request = WebInspector.networkLog.requestForId(requestId);
-        if (/source-map-test-style\.css$/.exec(request.url)) {
-            InspectorTest.addResult(&quot;Response received for style.css&quot;);
-            if (sourceMapURL) {
-                InspectorTest.addResult(&quot;Network.loadingFailed extraResourceInfo contains a sourceMapURL: &quot; + sourceMapURL);
-                afterLoadingResource();
-            } else {
-                InspectorTest.addResult(&quot;Network.loadingFailed extraResourceInfo missing sourceMapURL&quot;);
-                InspectorTest.addResult(&quot;FAILURE&quot;);
-                InspectorTest.completeTest();
-            }
-        }
-    }
-
-    function loadingFailed(requestId, time, localizedDescription, canceled)
-    {
-        var request = WebInspector.networkLog.requestForId(requestId);
-        if (/source-map-test-style\.css$/.exec(request.url)) {
-            InspectorTest.addResult(&quot;Failed to load source-map-test-style.css&quot;);
-            InspectorTest.addResult(&quot;FAILURE&quot;);
-            InspectorTest.completeTest();
-        }
-    }
-
-    function afterLoadingResource()
-    {
-        PageAgent.getResourceTree(processResourceTree);
-
-        function processResourceTree(error, mainFramePayload)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;Page.getResourceTree error: &quot; + error);
-                InspectorTest.addResult(&quot;FAILURE&quot;);
-                InspectorTest.completeTest();
-                return;
-            }
-
-            var resources = mainFramePayload.resources;
-            for (var i = 0; i &lt; resources.length; ++i) {
-                var resourcePayload = resources[i];
-                if (/source-map-test-style\.css$/.exec(resourcePayload.url)) {
-                    if (resourcePayload.sourceMapURL) {
-                        InspectorTest.addResult(&quot;Page.getResourceTree resourcePayload contains sourceMapURL: &quot; + resourcePayload.sourceMapURL);
-                        InspectorTest.addResult(&quot;SUCCESS&quot;);
-                        InspectorTest.completeTest();
-                    } else {
-                        InspectorTest.addResult(&quot;Page.getResourceTree resourcePayload missing sourceMapURL&quot;);
-                        InspectorTest.addResult(&quot;FAILURE&quot;);
-                        InspectorTest.completeTest();
-                    }
-                    return;
-                }
-            }
-
-            InspectorTest.addResult(&quot;Page.getResourceTree missing source-map-test-style.css&quot;);
-            InspectorTest.addResult(&quot;FAILURE&quot;);
-            InspectorTest.completeTest();
-        }
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that the extraResourceInfo in Network.loadingFinished contains a sourceMapURL for a Stylesheet containing a sourceMappingURL. Also then tests that Page.getResourceTree contains the sourceMapURL for the resource.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkdownloadexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/download-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/download-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/download-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Tests that responseReceived is called on NetworkDispatcher for downloads.
-
-
-Received response for download.zzz
-SUCCESS
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkdownloadhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/download.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/download.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/download.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadIFrameWithDownload()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.setAttribute(&quot;src&quot;, &quot;resources/download.zzz&quot;);
-    document.body.appendChild(iframe);
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;responseReceived&quot;, responseReceived);
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFailed&quot;, loadingFailed);
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFinished&quot;, loadingFinished);
-    InspectorTest.evaluateInPage(&quot;loadIFrameWithDownload()&quot;);
-
-    function responseReceived(requestId, time, resourceType, response)
-    {
-        var request = WebInspector.networkLog.requestForId(requestId);
-        if (/download\.zzz/.exec(request.url)) {
-            InspectorTest.addResult(&quot;Received response for download.zzz&quot;);
-            InspectorTest.addResult(&quot;SUCCESS&quot;);
-            InspectorTest.completeTest();
-        }
-    }
-
-    function loadingFinished(requestId, finishTime)
-    {
-        var request = WebInspector.networkLog.requestForId(requestId);
-        if (/download\.zzz/.exec(request.url))
-            InspectorTest.completeTest();
-    }
-
-    function loadingFailed(requestId, time, localizedDescription, canceled)
-    {
-        var request = WebInspector.networkLog.requestForId(requestId);
-        if (/download\.zzz/.exec(request.url))
-            InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that responseReceived is called on NetworkDispatcher for downloads.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkharcontentexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/har-content-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/har-content-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/har-content-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests conversion of Inspector's resource representation into HAR format.
-
-initiator.css: .image-background {
-    background-image: url(&quot;resource.php?type=image&amp;random=1&amp;size=200&quot;);
-}
-
-.image-background-2 {
-    background-image: url(&quot;resource.php?type=image&amp;random=1&amp;size=300&quot;);
-}
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkharcontenthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/har-content.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/har-content.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/har-content.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-var test = function()
-{
-    const requestRegExp = /\/initiator.css$/;
-
-    function onRequestFinished()
-    {
-        var writer = new WebInspector.HARWriter();
-        var stream = new InspectorTest.StringOutputStream(onSaved);
-        writer.write(stream, WebInspector.networkLog.requests, new WebInspector.Progress());
-    }
-
-    function onSaved(data)
-    {
-        var har = JSON.parse(data);
-        InspectorTest.addResult(&quot;initiator.css: &quot; + findEntry(har, requestRegExp).response.content.text);
-        InspectorTest.completeTest();
-    }
-
-    function findEntry(har, regexp)
-    {
-        var entries = har.log.entries;
-        for (var i = 0; i &lt; entries.length; ++i) {
-             var entry = entries[i];
-             if (regexp.test(entry.request.url))
-                 return entry;
-        }
-        InspectorTest.addResult(&quot;FAIL: can't find resource for &quot; + regexp);
-        return null;
-    }
-
-    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/initiator.css&quot;, false, onRequestFinished);
-}
-&lt;/script&gt;
-
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests conversion of Inspector's resource representation into HAR format.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkimageastextloadingdataurlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that long data: URLs are correctly trimmed in MIME type console warnings.
-
-Bug 100083  
-Resource interpreted as Image but transferred with MIME type text/plain: &quot;data:text/plain;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgMCAgMDAwMEAwME…DcdDWnwrOxQAR8I6emHKTSbNFCOyo0Vvg1kVtpCe6dIXZI8TsRC1HbzUoEk/UnDWSXvOdwif/Z&quot;. image-as-text-loading-data-url.html:9
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkimageastextloadingdataurlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadImage()
-{
-    var i = document.createElement('img');
-    i.src = &quot;data:text/plain;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCABLAEsDAREAAhEBAxEB/8QAHQAAAAcBAQEAAAAAAAAAAAAAAAECBAUGBwgDCf/EADoQAAEDAgQDBQcBBgcAAAAAAAECAwQFEQAGEiEHEzEUFiJBUQgVMlJhkaGBCSMkQmOxU2JxcsHh8P/EABoBAAMBAQEBAAAAAAAAAAAAAAABAgMEBQb/xAAvEQACAgEDAQUHBAMAAAAAAAAAAQIRAxIhMUEEEyJhgQVRcZGx0fAUMqHBIzPx/9oADAMBAAIRAxEAPwCT93q9MeYbA93q9MABe71DyOAQPd6vQ4YAMBXphADsCvlOAAuwKHkcAA7Ar5ThgDsKvlwgB2JXy4ANE7qO6CrlKKfM6Tb7430Eie7CvkP2waAC7sK+T8YNAgd2FfJ+MGgAd2FfJ+MGgdg7sK+T8YNABd2FD+X8YNABd2F/J+MLQFg7sK+X8YNAA7sq+T8YNAWb+xlswjpBCmD1HT8Y1aTJG0jKjC37Ib0AjyHhGBMGA5Lbbtrtv0SkXJw2wEdzkE2SkE+lt/tgVMVBnJf9P8YqgC7l/wBP8YekDyfyWbAhq4HUAYTQBnI4+S3rgoYlWR0oJWdgOu3TCoLPBeXGkqICQf0whF3jLS80VlQsDa2AZ6xw2td+iAL4QxciS1GHNunfwjzAwPYBbMpp4oulJdIvqvbAD2HlMIckOh0BCAm/i3JP0xcXTES6IDS0ggCx9RjQQ2W20l5SAkEDa9vPCsBhMQpCy2EXJ/mSLg4QC2IzCGrvJ5hJ3v0wAJtSf8BP2wDKn74jl3ks2V5AWtc4xbLUT1flNp5THb4jEx0qDUR6ShDjpHUJSTcmxHQYONuorIOurqUdiKHY78dayUrBAG9yel/QYiVotU+CEYzQ9S5jjUlJb0J8JX1V9cJSG4loyrXpNWrLLYuWdVyQb3+n23/TFqVuiXHazTg/oQQk39L46LMiOdTIkyU/uyEnqdQ/8cIBFVmCHLS34O0myQytxCV/okkHy9PLABXapU50UlrsDza9VrKTax/0wgIwt1QHeI+D/mQQcMDnjhx7RuX88dqazVIhZPfN0tvIddIcWTpBSq1gRuTf6fXHzfZfamLtDazNQfx5OpwcVa3ONcx06tVLME4KnOzpsyZJV2Zpxbzy1IUolaFBIUpJAJ1jbbe1wMP9OptyjXztv8944ZaW53f7JPHscWsjxqHWIzkir5ejst9qSzZKkJASlKlkm7mwv0JFtuuPXwSc40+hjNU9jd3ewuL5kiC26gIKQXUAmx6gHHVpT6EamjkDjt+0CpGQeLkSg5divsQ8pVFcWuNqXGb98JQ3yzFZK0rU2htSieb4SooKbAHUHpSeyC7W51rw04mU3itw+oOb6E+8ql1iN2lkPtpS63ZSkLQsAkBSVoUk2JG2GSZd7YHHCscGOF7UqjBpVQqz7tOD7qSoxU8pSlOAdCbAjfYXHTbHNnnKEfDyy4pNny8iuTMzN8x9t+Yt9F1yFqUtwpHh2X12Ft7/AN8eDllDG/FLde86K8OyOv8AhH7Z9U4Q8KaZlKp0qVmWdTl9mhz5EtYdXHLivCVOJ8RbSUpR8QISQbbYuHtbwtaP5/PQy7vnSZRN9q7PTlSqLzbcxhuRMkSEMIXzkMpcdUsNpUpBJSkKCQL7BIAsBbFR7ZJq4q0/P7+7g2fZ9W+tejOZ8tcV8y0Ft6NJqDbzSVkuxnYjZ1WtZQItqHW4uDuCL743l2Ls2V3pr4OvQ6Z3TtW/h/JYo/HiS2AiRRhMYZdCkSWJZacjrBA+FYJRY3/m873xzv2ZihJSwycX5GLg5q0aZwn9rRPCqc45QZ9co8SRKEydSKgwmVEmOWAVzFIJc3AHjBCgL2I3xpCPbcTuM4zXnsRLE+KN8pn7RadWJZRFy/lKXGAT/D+9X4748XiIKgb7bWKRY779MdS7Zlh/txNea3XzRisMnaXPmcM8XM50TMnGPN9brEWo0qVUKzKqTsMNpdSlLjmtKEkqGpPTfa/W++OtTzTgp41F35v7Hr4sfsnXpzZMqV1tGDdVzTkt72rfbezrjgR7cI4O+ztlvLkfK8eQ9TY8pEV2dUdCnC5IcdZUttI6DWoquoEgJta+/LLteTvHhxwtrr0PNyY8dKWFuq6pc72tunG+33oPE72uKnxNp7UHNGZGK5HjPGQzHg0pPJS7cdEpCUKSPhTrUrrfY48ycO3dovXPSvd/zf0svHirlev59TLahxfS8G/d9JeLq7hD0iQyyNI66QlK7IB8yfMDfGS9m4lfeSbXkvxm0cE5PeXJBI4ozEuKKo0Vc0rtzwnnKF9tPMevc9b6U2H3x6UOx9nSvR87+lhpePwx6/nOxGHiTmwWCK1V30gAcyM2200f9qeWbD0/46Y0ccS6JGscaS2V+i+xbHOHNRhT0kNUOboulampwYA9QpOob2I6A9ccveJrlnVTT4RNQuHMNfJWinsdveb1vxGp7a7K28IupJJUk3Cknbe/kSPK3y9hJKPCJFnhlS0q5fu99biSEJHaYh5e/wAAJXubkbKBO46dcJZJVae3qDp7VuWGk8KKZUJCIjVBamaNlF51hakEKtpKQdRINhsMLvW+GJquUODlDKLzxaVS6A+4FKYUFsRneUobBO6SQoXPhNvPC7ycFs38ydEZ7tL5DeXlDLr7ytFNpTDe4SpcuKlRPoClOrcjYWFr2wKcqpv6jrfZEFJyhlyVqU69CYSk20e8o513vYbJJF/+sXrkuP7BeZG9z6Q5zVs1qiISfCpS5TS1BA66UjSgWtaygThuTqmmUpNNtEdOypB5C2YFSoEYbLL8uYpzWTtbSgISkfof74FOuU2HK5HdFyvlpNLjCdVWFzNN3VR6iEt6vPSNJ29N8Y5Hk1PSlXmtzoxuCitbd+T2NajzMvrEqoS0JqaXUDnSXIhKOWLJSkrSBZAsBYnT1viO7d8teph3u3CPOo5gylKYRzaxHitMEHU3ykltWnRYHTqSbJG438I3t1lYEnxdhLI3u0g6LPolEUXafXmkIcKni4vlKX1JJ1KRq2JvfqNtxti5QUtmgjkmlsyRg1uniDJLM+nLiPa31pWWgkqcUSSAbeI2uAAT0NuhxlLHCTtouOWcVSHERiDmcGVEhQ6mEquHIjYcaClpIsbI0lRFxc7i3Xa2K0qPvJeRvZ0Rszh1limx9dQixm1MtpKA6EKW2AfiNhvcje9736b4vW11M+eiGVVoOR1PyILy6a2UxyXm23Ro0g3USRc6lA3JSbmwtvilJ/uX9id1pYl/K2RasIja2KIlbTYjoQkLQdIF06wkp1DxfEd/K++F3kk+WU1dbIZx8vZKYS048zSHGXbpaPLXy79TdWo72HmRuDfDc3bpirYboydw6ngyBAjWcJP7p11KevkOaLD9Bh97kW1hp8jwzdJkLyqhfa5IU3JlaSl9Yty2FFA2PQW6ffHFhf8Ala+B25Uu61eX3IzhNleltU/L9V7IHJ0hhpS3XVqcGouAakpUSEnYbgA47s+SVyV9TmwwjSddCVzfW5tOaPZXhG/ipCTykJTqTrRsbDcfQ7YjHFXQ58l34P5By5VnK5Up1FhTJdMUFRFSGQtLRU00T4D4TvcgEHSSoi2o3jLkkoxiny2KEIuW6LfX6FAj0OY/Hitw1y5aXX0wxyEOq+G6kIsk7AeXmT1JvnHxKmbuEU7SMpzZmipUjLEaXGeQmUosNF5xhtxRQtxIUCVJPUYmPilT8yYfvosmScrUfPVOEmtUuJJfKnGw40ylgpSE2ATywnSB9LYbyTVbnRLDjTexWstZJobHErMNPNObfhimQVhmUVPpCnHSlavGTuQOvXr6nGuScu6Tvq/qcShFTkvIs1By1SM0VZuFUqXCejB5WlDcdDWnwrOxQAR8I6emHKTSbNFCOyo0Vvg1kVtpCe6dIXZI8TsRC1HbzUoEk/UnDWSXvOdwif/Z&quot;;
-    document.body.appendChild(i);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step1);
-    InspectorTest.evaluateInPage(&quot;loadImage()&quot;);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that long data: URLs are correctly trimmed in MIME type console warnings.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=100083&quot;&gt;Bug 100083&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkcachedresourceswithsameurlsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 23: Done.
-Tests that when we load two different images from the same url (e.g. counters), their content is different in network panel as well.
-
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkcachedresourceswithsameurlshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadImages()
-{
-    var image = new Image();
-    image.onload = step2;
-    image.src = &quot;resources/resource.php?type=image&amp;random=1&quot;;
-    document.body.appendChild(image);
-}
-
-function step2()
-{
-    var image = new Image();
-    image.onload = imageLoaded;
-    image.src = &quot;resources/resource.php?type=image&amp;random=1&quot;;
-    document.body.appendChild(image);
-}
-
-function imageLoaded()
-{
-    console.log(&quot;Done.&quot;);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step2, true);
-    InspectorTest.evaluateInPage(&quot;loadImages()&quot;);
-
-    function step2(msg)
-    {
-        // inspector-test.js appears in network panel occasionally in Safari on
-        // Mac, so checking two last requests.
-        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
-        request1.requestContent(contentLoaded);
-        request2.requestContent(contentLoaded);
-    }
-
-    var contentLoadedCount = 0;
-    function contentLoaded()
-    {
-        if (++contentLoadedCount !== 2)
-            return;
-
-        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
-
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(request2.url);
-        InspectorTest.assertTrue(request1.content !== request2.content);
-        InspectorTest.completeTest();
-    }
-
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that when we load two different images from the same url (e.g. counters),
-their content is different in network panel as well.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkclearcacheexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-clear-cache-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-clear-cache-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-clear-cache-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 13: First XHR loaded.
-CONSOLE MESSAGE: line 28: Done.
-Tests clearing browser cache from inspector.
-
-http://127.0.0.1:8000/inspector/network/resources/random-cached.php
-http://127.0.0.1:8000/inspector/network/resources/random-cached.php
-http://127.0.0.1:8000/inspector/network/resources/random-cached.php
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkclearcachehtmldisabled"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-clear-cache.html-disabled (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-clear-cache.html-disabled        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-clear-cache.html-disabled        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, true, step2);
-    }
-
-    function step2(msg)
-    {
-        if (typeof(NetworkAgent.clearBrowserCache) === 'function')
-            NetworkAgent.clearBrowserCache(step3);
-        else
-            step3();
-    }
-
-    function step3(msg)
-    {
-        InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, true, step4);
-
-        function firstXHRLoaded()
-        {
-            InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, true, step4);
-        }
-    }
-
-    function step4(msg)
-    {
-        // inspector-test.js appears in network panel occasionally in Safari on
-        // Mac, so checking two last resources.
-        var resourcesCount = WebInspector.panel(&quot;network&quot;).resources.length;
-        var resource1 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 3];
-        var resource2 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 2];
-        var resource3 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 1];
-        resource1.requestContent(contentLoaded);
-        resource2.requestContent(contentLoaded);
-        resource3.requestContent(contentLoaded);
-    }
-
-    var contentLoadedCount = 0;
-    function contentLoaded()
-    {
-        if (++contentLoadedCount !== 3)
-            return;
-
-        var resourcesCount = WebInspector.panel(&quot;network&quot;).resources.length;
-        var resource1 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 3];
-        var resource2 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 2];
-        var resource3 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 1];
-
-        InspectorTest.addResult(resource1.url);
-        InspectorTest.addResult(resource2.url);
-        InspectorTest.addResult(resource3.url);
-        InspectorTest.assertTrue(resource1.content !== resource2.content);
-        InspectorTest.assertTrue(resource2.content === resource3.content);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt;Tests clearing browser cache from inspector.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkclearcookiesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 13: First XHR loaded.
-CONSOLE MESSAGE: line 28: Done.
-Tests clearing browser cookies from inspector.
-
-http://127.0.0.1:8000/inspector/network/resources/set-cookie.php
-http://127.0.0.1:8000/inspector/network/resources/set-cookie.php
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkclearcookieshtmldisabled"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies.html-disabled (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies.html-disabled        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies.html-disabled        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,70 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/set-cookie.php&quot;, true, step2);
-    }
-
-    function step2(msg)
-    {
-        if (typeof(NetworkAgent.clearBrowserCookies) === 'function')
-            NetworkAgent.clearBrowserCookies(step3);
-        else
-            step3();
-    }
-
-    function step3(msg)
-    {
-        InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/set-cookie.php&quot;, true, firstXHRLoaded);
-
-        function firstXHRLoaded()
-        {
-            InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/set-cookie.php&quot;, true, step4);
-        }
-    }
-
-    function step4(msg)
-    {
-        // inspector-test.js appears in network panel occasionally in Safari on
-        // Mac, so checking two last resources.
-        var resourcesCount = WebInspector.panel(&quot;network&quot;).resources.length;
-        var resource1 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 2];
-        var resource2 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 1];
-
-        InspectorTest.addResult(resource1.url);
-        InspectorTest.addResult(resource2.url);
-
-        InspectorTest.assertTrue(!hasRequestCookieWithName(resource1, &quot;TestCookie&quot;));
-        InspectorTest.assertTrue(hasRequestCookieWithName(resource2, &quot;TestCookie&quot;));
-        InspectorTest.completeTest();
-
-    }
-
-    function hasRequestCookieWithName(resource, name)
-    {
-        var requestCookies = resource.requestCookies;
-        if (!requestCookies)
-            return false;
-        for (var  i = 0; i &lt; requestCookies.length; i++) {
-            if (requestCookies[i].name === name)
-                return true;
-        }
-        return false;
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt;Tests clearing browser cookies from inspector.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementembedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 58: Done.
-Tests NetworkResourcesData logic for embed content replacement.
-
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?size=200
-resource.content after requesting content: null
-http://127.0.0.1:8000/inspector/network/resources/resource.php?size=100
-resource.content after requesting content: ****************************************************************************************************
-http://127.0.0.1:8000/inspector/network/resources/resource.php?size=201
-resource.content after requesting content: null
-http://127.0.0.1:8000/inspector/network/resources/resource.php?size=100
-resource.content after requesting content: ****************************************************************************************************
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementembedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,117 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var loadedFirstURL = false;
-function streamLoaded()
-{
-    if (loadedFirstURL)
-        return;
-
-    loadedFirstURL = true;
-    loadURLs();
-}
-
-var snifferInstalled = false;
-function onSnifferInstalled()
-{
-    snifferInstalled = true;
-    loadURLs();
-}
-
-function loadURLs()
-{
-    if (!snifferInstalled || !loadedFirstURL)
-        return;
-
-    if (!window.internals) {
-        console.log(&quot;This test can not be run as window.internals is not available.&quot;);
-        return;
-    }
-    internals.setInspectorResourcesDataSizeLimits(300, 200);
-
-    // Here we test replacement logic. We save first two resources content,
-    // discard third resource content once we see its size exceeds limit,
-    // and finally replace first resource content with the last resource content.
-
-    plg.getURLNotify(&quot;resources/resource.php?size=200&quot;, null, &quot;loadURL2&quot;);
-}
-
-function loadURL2()
-{
-    plg.getURLNotify(&quot;resources/resource.php?size=100&quot;, null, &quot;loadURL3&quot;);
-}
-
-function loadURL3()
-{
-    plg.getURLNotify(&quot;resources/resource.php?size=201&quot;, null, &quot;loadURL4&quot;);
-}
-
-function loadURL4()
-{
-    plg.getURLNotify(&quot;resources/resource.php?size=100&quot;, null, &quot;allURLsLoaded&quot;);
-}
-
-function allURLsLoaded()
-{
-    console.log(&quot;Done.&quot;);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step1);
-    InspectorTest.evaluateInPage(&quot;onSnifferInstalled()&quot;);
-
-    function dumpRequest(request, callback)
-    {
-        if (!request)
-            return callback();
-        InspectorTest.addResult(request.url);
-
-        function contentLoaded()
-        {
-            InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request.content);
-            callback();
-        }
-
-        request.requestContent(contentLoaded);
-    }
-
-    function step1()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 4];
-        dumpRequest(request, step2);
-    }
-
-    function step2()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 3];
-        dumpRequest(request, step3);
-    }
-
-    function step3()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        dumpRequest(request, step4);
-    }
-
-    function step4()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        dumpRequest(request, step5);
-    }
-
-    function step5()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt;Tests NetworkResourcesData logic for embed content replacement.&lt;/p&gt;
-    &lt;embed name=&quot;plg&quot; type=&quot;application/x-webkit-test-netscape&quot; src=&quot;resources/resource.php?type=image&quot; onstreamload=&quot;streamLoaded()&quot;&gt;&lt;/embed&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementxhrexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 13: Done.
-CONSOLE MESSAGE: line 6: XHR loaded: 1
-CONSOLE MESSAGE: line 6: XHR loaded: 2
-CONSOLE MESSAGE: line 6: XHR loaded: 3
-CONSOLE MESSAGE: line 6: XHR loaded: 4
-Tests NetworkResourcesData logic for XHR content replacement.
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?size=200
-resource.content: null
-http://127.0.0.1:8000/inspector/network/resources/resource.php?size=100
-resource.content: ****************************************************************************************************
-http://127.0.0.1:8000/inspector/network/resources/resource.php?size=201
-resource.content: null
-http://127.0.0.1:8000/inspector/network/resources/resource.php?size=100
-resource.content: ****************************************************************************************************
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementxhrhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,95 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function setInspectorResourcesDataSizeLimits()
-{
-    if (!window.internals) {
-        console.log(&quot;This test can not be run as window.internals is not available.&quot;);
-        return;
-    }
-    internals.setInspectorResourcesDataSizeLimits(300, 200);
-    console.log(&quot;Done.&quot;);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(dataSizeLimitsSet);
-    InspectorTest.evaluateInPage(&quot;setInspectorResourcesDataSizeLimits()&quot;);
-
-    function dataSizeLimitsSet()
-    {
-        // Here we test replacement logic. We save first two resources content,
-        // discard third resource content once we see its size exceeds limit,
-        // and finally replace first resource content with the last resource content.
-
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?size=200&quot;, false, xhrLoaded1);
-    }
-
-    function xhrLoaded1()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?size=100&quot;, false, xhrLoaded2);
-    }
-
-    function xhrLoaded2()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?size=201&quot;, false, xhrLoaded3);
-    }
-
-    function xhrLoaded3()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?size=100&quot;, false, step1);
-    }
-
-    function dumpRequest(request, callback)
-    {
-        if (!request)
-            return callback();
-        InspectorTest.addResult(request.url);
-
-        function contentLoaded()
-        {
-            InspectorTest.addResult(&quot;resource.content: &quot; + request.content);
-            callback();
-        }
-
-        request.requestContent(contentLoaded);
-    }
-
-    function step1()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 4];
-        dumpRequest(request, step2);
-    }
-
-    function step2()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 3];
-        dumpRequest(request, step3);
-    }
-
-    function step3()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        dumpRequest(request, step4);
-    }
-
-    function step4()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        dumpRequest(request, step5);
-    }
-
-    function step5()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt; Tests NetworkResourcesData logic for XHR content replacement.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkcyrillicxhrexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-CONSOLE MESSAGE: line 6: XHR loaded: 2
-Tests cyrillic xhr content is correctly loaded in inspector.
-
-Bug 79026
-http://127.0.0.1:8000/inspector/network/resources/cyrillic.html
-resource.content: The following line contains a word &quot;success&quot; written with cyrillic letters.
-SUССЕSS
-
-http://127.0.0.1:8000/inspector/network/resources/cyrillic.html
-resource.content: The following line contains a word &quot;success&quot; written with cyrillic letters.
-SUССЕSS
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkcyrillicxhrhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function dumpRequest(request, callback)
-    {
-        if (!request)
-            return callback();
-        InspectorTest.addResult(request.url);
-
-        function contentLoaded()
-        {
-            InspectorTest.addResult(&quot;resource.content: &quot; + request.content);
-            callback();
-        }
-
-        request.requestContent(contentLoaded);
-    }
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/cyrillic.html&quot;, false, firstXHRLoaded);
-
-        function firstXHRLoaded()
-        {
-            InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/cyrillic.html&quot;, true, step2);
-        }
-    }
-
-    function step2()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        dumpRequest(request, step3);
-    }
-
-    function step3()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        dumpRequest(request, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt; Tests cyrillic xhr content is correctly loaded in inspector.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=79026&quot;&gt;Bug 79026&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkdisablecachememoryexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 1: Done.
-CONSOLE MESSAGE: line 1: Done.
-CONSOLE MESSAGE: line 1: Done.
-Tests disabling cache from inspector.
-
-Page reloaded.
-Page reloaded.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkdisablecachememoryhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,92 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function scheduleScriptLoad() {
-    window.setTimeout(loadScript, 0);
-}
-
-function loadScript() {
-    var script = document.createElement(&quot;script&quot;);
-    script.type = &quot;text/javascript&quot;;
-    script.src = &quot;resources/random-script.php&quot;;
-    document.head.appendChild(script);
-}
-
-function test()
-{
-    var content1;
-    var content2;
-    var content3;
-
-    function loadScriptAndGetContent(callback)
-    {
-        InspectorTest.addConsoleSniffer(scriptLoaded);
-        InspectorTest.evaluateInPage(&quot;scheduleScriptLoad()&quot;);
-
-        function scriptLoaded()
-        {
-            var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
-            var request = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
-            request.requestContent(contentLoaded);
-        }
-
-        function contentLoaded()
-        {
-            var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
-            var request = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
-            callback(request.content);
-        }
-    }
-
-    loadScriptAndGetContent(step1);
-
-    function step1(content)
-    {
-        content1 = content;
-        InspectorTest.reloadPage(step2);
-    }
-
-    function step2(msg)
-    {
-        loadScriptAndGetContent(step3);
-    }
-
-    function step3(content)
-    {
-        content2 = content;
-        NetworkAgent.setCacheDisabled(true, step4);
-    }
-
-    function step4(msg)
-    {
-        InspectorTest.reloadPage(step5);
-    }
-
-    function step5(msg)
-    {
-        loadScriptAndGetContent(step6);
-    }
-
-    function step6(content)
-    {
-        content3 = content;
-
-        InspectorTest.assertTrue(content1 === content2, &quot;First and second scripts should be equal.&quot;);
-        InspectorTest.assertTrue(content2 !== content3, &quot;Second and third scripts should differ.&quot;);
-        NetworkAgent.setCacheDisabled(false, step7);
-    }
-
-    function step7(msg)
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt;Tests disabling cache from inspector.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkdisablecachexhrsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-CONSOLE MESSAGE: line 6: XHR loaded: 2
-CONSOLE MESSAGE: line 6: XHR loaded: 3
-Tests disabling cache from inspector.
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?random=1&amp;cached=1
-http://127.0.0.1:8000/inspector/network/resources/resource.php?random=1&amp;cached=1
-http://127.0.0.1:8000/inspector/network/resources/resource.php?random=1&amp;cached=1
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkdisablecachexhrshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,75 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?random=1&amp;cached=1&quot;, true, firstXHRLoaded);
-
-        function firstXHRLoaded()
-        {
-            InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?random=1&amp;cached=1&quot;, true, step2);
-        }
-    }
-
-    function step2(msg)
-    {
-        NetworkAgent.setCacheDisabled(true, step3);
-    }
-
-    function step3(msg)
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?random=1&amp;cached=1&quot;, true, step4);
-    }
-
-    function step4(msg)
-    {
-        // inspector-test.js appears in network panel occasionally in Safari on
-        // Mac, so checking two last resources.
-        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 3];
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
-        var request3 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
-        request1.requestContent(contentLoaded);
-        request2.requestContent(contentLoaded);
-        request3.requestContent(contentLoaded);
-    }
-
-    var contentLoadedCount = 0;
-    function contentLoaded()
-    {
-        if (++contentLoadedCount !== 3)
-            return;
-
-        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 3];
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
-        var request3 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
-
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(request2.url);
-        InspectorTest.addResult(request3.url);
-        InspectorTest.assertTrue(request1.content === request2.content, &quot;First and second resources are equal&quot;);
-        InspectorTest.assertTrue(request2.content !== request3.content, &quot;Second and third resources differ&quot;);
-        NetworkAgent.setCacheDisabled(false, step5);
-    }
-
-    function step5(msg)
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt;Tests disabling cache from inspector.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkdisablingchecknomemoryleakexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests that after disabling network domain, content saved on backend is removed. Bug 67995
-
-resource.content after disabling network domain: null
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkdisablingchecknomemoryleakhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, true, step2);
-    }
-
-    function step2()
-    {
-        NetworkAgent.disable(step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        request1.requestContent(step4);
-    }
-
-    function step4()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource.content after disabling network domain: &quot; + request1.content);
-        NetworkAgent.enable(step5);
-    }
-
-    function step5()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
- &lt;p&gt;
- Tests that after disabling network domain, content saved on backend is removed.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=67995&quot;&gt;Bug 67995&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkembedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-embed-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-embed-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-embed-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 58: Done.
-Tests that network panel shows content for embed objects.
-
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image
-resource.type: other
-resource.content before requesting content: undefined
-resource.content after requesting content: null
-http://127.0.0.1:8000/inspector/network/resources/plugin-data.php?filename=utf8.xml&amp;mimetype=text/html&amp;charset=utf8
-resource.type: other
-resource.content before requesting content: undefined
-resource.content after requesting content: &lt;?xml version='1.0' encoding='utf-8'?&gt;
-&lt;root&gt;
-  &lt;utf8&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/utf8&gt;
-&lt;/root&gt;
-
-http://127.0.0.1:8000/inspector/network/resources/plugin-data.php?filename=cp1251.xml&amp;mimetype=text/html&amp;charset=cp1251
-resource.type: other
-resource.content before requesting content: undefined
-resource.content after requesting content: &lt;?xml version='1.0' encoding='cp1251'?&gt;
-&lt;root&gt;
-  &lt;cp1251&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/cp1251&gt;
-&lt;/root&gt;
-
-http://127.0.0.1:8000/inspector/network/resources/plugin-data.php?filename=utf8.xml&amp;mimetype=application/xml
-resource.type: other
-resource.content before requesting content: undefined
-resource.content after requesting content: &lt;?xml version='1.0' encoding='utf-8'?&gt;
-&lt;root&gt;
-  &lt;utf8&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/utf8&gt;
-&lt;/root&gt;
-
-http://127.0.0.1:8000/inspector/network/resources/plugin-data.php?filename=cp1251.xml&amp;mimetype=application/xml
-resource.type: other
-resource.content before requesting content: undefined
-resource.content after requesting content: &lt;?xml version='1.0' encoding='cp1251'?&gt;
-&lt;root&gt;
-  &lt;cp1251&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/cp1251&gt;
-&lt;/root&gt;
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkembedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-embed.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-embed.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-embed.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,132 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var loadedFirstURL = false;
-function streamLoaded()
-{
-    if (loadedFirstURL)
-        return;
-
-    loadedFirstURL = true;
-    loadURLs();
-}
-
-var snifferInstalled = false;
-function onSnifferInstalled()
-{
-    snifferInstalled = true;
-    loadURLs();
-}
-
-function loadURLs()
-{
-    if (!snifferInstalled || !loadedFirstURL)
-        return;
-
-    // Binary content should not be available.
-    plg.getURLNotify(&quot;resources/resource.php?type=image&quot;, null, &quot;loadURL2&quot;);
-}
-
-function loadURL2()
-{
-    // This resource content should be correctly decoded.
-    plg.getURLNotify(&quot;resources/plugin-data.php?filename=utf8.xml&amp;mimetype=text/html&amp;charset=utf8&quot;, null, &quot;loadURL3&quot;);
-}
-
-function loadURL3()
-{
-    // This resource content should be correctly decoded.
-    plg.getURLNotify(&quot;resources/plugin-data.php?filename=cp1251.xml&amp;mimetype=text/html&amp;charset=cp1251&quot;, null, &quot;loadURL4&quot;);
-}
-
-function loadURL4()
-{
-    // This resource content should be correctly decoded.
-    plg.getURLNotify(&quot;resources/plugin-data.php?filename=utf8.xml&amp;mimetype=application/xml&quot;, null, &quot;loadURL5&quot;);
-}
-
-function loadURL5()
-{
-    // This resource content should be correctly decoded.
-    plg.getURLNotify(&quot;resources/plugin-data.php?filename=cp1251.xml&amp;mimetype=application/xml&quot;, null, &quot;allURLsLoaded&quot;);
-}
-
-function allURLsLoaded()
-{
-    console.log(&quot;Done.&quot;);
-}
-
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;onSnifferInstalled()&quot;);
-    }
-
-    function dumpRequest(request, callback)
-    {
-        if (!request)
-            return callback();
-        InspectorTest.addResult(request.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request.content);
-
-        function contentLoaded()
-        {
-            InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request.content);
-            callback();
-        }
-
-        request.requestContent(contentLoaded);
-    }
-
-    function step2()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 5];
-        dumpRequest(request, step3);
-    }
-
-    function step3()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 4];
-        dumpRequest(request, step4);
-    }
-
-    function step4()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 3];
-        dumpRequest(request, step5);
-    }
-
-    function step5()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        dumpRequest(request, step6);
-    }
-
-    function step6()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        dumpRequest(request, step7);
-    }
-
-    function step7()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt;Tests that network panel shows content for embed objects.&lt;/p&gt;
-    &lt;embed name=&quot;plg&quot; type=&quot;application/x-webkit-test-netscape&quot; src=&quot;resources/resource.php?type=image&quot; onstreamload=&quot;streamLoaded()&quot;&gt;&lt;/embed&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkemptyxhrexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-CONSOLE MESSAGE: line 6: XHR loaded: 2
-Tests empty xhr content is correctly loaded in inspector.
-
-Bug 79026
-http://127.0.0.1:8000/inspector/network/resources/empty.html
-resource.content: 
-http://127.0.0.1:8000/inspector/network/resources/empty.html
-resource.content: 
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkemptyxhrhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function dumpRequest(request, callback)
-    {
-        if (!request)
-            return callback();
-        InspectorTest.addResult(request.url);
-
-        function contentLoaded()
-        {
-            InspectorTest.addResult(&quot;resource.content: &quot; + request.content);
-            callback();
-        }
-
-        request.requestContent(contentLoaded);
-    }
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/empty.html&quot;, false, firstXHRLoaded);
-
-        function firstXHRLoaded()
-        {
-            InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/empty.html&quot;, true, step2);
-        }
-    }
-
-    function step2()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        dumpRequest(request, step3);
-    }
-
-    function step3()
-    {
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        dumpRequest(request, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt; Tests empty xhr content is correctly loaded in inspector.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=79026&quot;&gt;Bug 79026&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkiframeloadanddeleteexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 36: Done.
-Tests that if iframe is loaded and then deleted, inspector could still show its content. Note that if iframe.src is changed to &quot;javascript:'...some html...'&quot; after loading, then we have different codepath, hence two tests;
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php
-resource.type: document
-resource.content before requesting content: undefined
-resource.content after requesting content: Hello world
-http://127.0.0.1:8000/inspector/network/resources/resource.php
-resource.type: document
-resource.content before requesting content: undefined
-resource.content after requesting content: Hello world
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkiframeloadanddeletehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,82 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var iframe;
-
-function loadIframe()
-{
-    iframe = document.createElement(&quot;iframe&quot;);
-    document.body.appendChild(iframe);
-    iframe.onload = iframeLoaded;
-    iframe.src = &quot;resources/resource.php&quot;;
-}
-
-function iframeLoaded()
-{
-    document.body.removeChild(iframe);
-
-    loadIframeAndChangeSrcAfterLoad();
-}
-
-function loadIframeAndChangeSrcAfterLoad()
-{
-    iframe = document.createElement(&quot;iframe&quot;);
-    document.body.appendChild(iframe);
-    iframe.onload = iframeLoadedChangeSrc;
-    iframe.src = &quot;resources/resource.php&quot;;
-}
-
-function iframeLoadedChangeSrc()
-{
-    iframe.onload = null;
-    iframe.src = &quot;javascript:'&lt;html&gt;&lt;/html&gt;'&quot;;
-    document.body.removeChild(iframe);
-    console.log(&quot;Done.&quot;);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step2);
-    InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
-        request1.requestContent(step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
-
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request2.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request2.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request2.content);
-        request2.requestContent(step4);
-    }
-
-    function step4()
-    {
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request2.content);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-  &lt;p&gt;
-    Tests that if iframe is loaded and then deleted, inspector could still show its content.
-    Note that if iframe.src is changed to &quot;javascript:'...some html...'&quot; after
-    loading, then we have different codepath, hence two tests;
-  &lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkimage404expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-image-404-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-image-404-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-image-404-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 15: Done.
-Tests content is available for failed image request.
-
-Bug 84265
-http://127.0.0.1:8000/inspector/network/resources/404.php
-resource.type: image
-resource.content before requesting content: undefined
-resource.content after requesting content: 404 - resource was not found.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkimage404html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-image-404.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-image-404.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-image-404.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,54 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadData()
-{
-    var image = new Image();
-    image.src = &quot;resources/404.php&quot;;
-    image.onerror = resourceLoaded;
-}
-
-function resourceLoaded()
-{
-    console.log(&quot;Done.&quot;);
-}
-
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;loadData()&quot;);
-    }
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
-        InspectorTest.assertTrue(!request1.failed, &quot;Resource loading failed.&quot;);
-        request1.requestContent(step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests content is available for failed image request.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=84265&quot;&gt;Bug 84265&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkinitiatorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-initiator-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-initiator-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-initiator-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 34: Done.
-Tests resources initiator for images initiated by IMG tag, static CSS, CSS class added from JavaScript and XHR.
-
-Bug 65105 
-This div has background image set from CSS.
-This div will have background image set from JavaScript.
-Page reloaded.
-http://127.0.0.1:8000/inspector/network/resources/initiator.css: parser
-    http://127.0.0.1:8000/inspector/network/network-initiator.html 3
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=100: parser
-    http://127.0.0.1:8000/inspector/network/network-initiator.html 107
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=200: parser
-    http://127.0.0.1:8000/inspector/network/network-initiator.html 108
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=300: script
-    addClassToDivStep2 http://127.0.0.1:8000/inspector/network/network-initiator.html 17
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=400: script
-    loadData http://127.0.0.1:8000/inspector/network/network-initiator.html 29
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkinitiatorfromconsoleexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that there is no javascript error when console evaluation causes resource loading.
-
-Bug 65466
-Page reloaded.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkinitiatorfromconsolehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var test = function()
-{
-    InspectorTest.reloadPage(step1);
-
-    function findRequestByURL(url)
-    {
-        var requests = WebInspector.networkLog.requests;
-        for (var i = 0; i &lt; requests.length; ++i) {
-            if (url.test(requests[i].url))
-                return requests[i];
-        }
-    }
-
-    function step1()
-    {
-        WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestStarted, onRequest);
-        var str = &quot;&quot;;
-        str += &quot;var s = document.createElement(\&quot;script\&quot;);&quot;;
-        str += &quot;s.src = \&quot;resources/silent_script.js\&quot;;&quot;;
-        str += &quot;document.head.appendChild(s);&quot;;
-        WebInspector.runtimeModel.evaluate(str, &quot;console&quot;, true, undefined, undefined, undefined, function(){});
-    }
-
-    function onRequest(event)
-    {
-        var request = event.data;
-        if (/silent_script.js/.test(request.url))
-            step2();
-    }
-
-    function step2()
-    {
-        if (!findRequestByURL(/silent_script.js/))
-            return;
-
-        WebInspector.panel(&quot;network&quot;).show();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that there is no javascript error when console evaluation causes resource loading.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65466&quot;&gt;Bug 65466&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkinitiatorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-initiator.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-initiator.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-initiator.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,111 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link href=&quot;resources/initiator.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function addClassToDiv()
-{
-    // We need to setTimeout, to make sure that style recalculation scheduling
-    // is really triggered by adding a class to the div.
-    window.setTimeout(addClassToDivStep2, 0);
-}
-
-function addClassToDivStep2()
-{
-    document.getElementById(&quot;div-without-class&quot;).className = &quot;image-background-2&quot;;
-}
-
-function loadData()
-{
-    var xhr = new XMLHttpRequest();
-    xhr.onreadystatechange = function()
-    {
-        if (xhr.readyState === XMLHttpRequest.DONE)
-            resourceLoaded();
-    };
-    xhr.open(&quot;GET&quot;, &quot;resources/resource.php?type=image&amp;random=1&amp;size=400&quot;, true);
-    xhr.send(null);
-}
-
-function resourceLoaded()
-{
-    console.log(&quot;Done.&quot;);
-}
-
-var test = function()
-{
-    InspectorTest.hardReloadPage(step1);
-
-    function findRequestByURL(url)
-    {
-        var requests = WebInspector.networkLog.requests;
-        for (var i = 0; i &lt; requests.length; ++i) {
-            if (url.test(requests[i].url))
-                return requests[i];
-        }
-    }
-
-    function step1()
-    {
-        WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequest);
-        InspectorTest.evaluateInPage(&quot;addClassToDiv()&quot;, step2);
-    }
-
-    function onRequest(event)
-    {
-        var request = event.data;
-        if (/size=300/.test(request.url))
-            step2();
-    }
-
-    function step2()
-    {
-        if (!findRequestByURL(/size=300/))
-            return;
-
-        InspectorTest.addConsoleSniffer(step3);
-        InspectorTest.evaluateInPage(&quot;loadData()&quot;);
-    }
-
-    function step3()
-    {
-        function dumpInitiator(request)
-        {
-            var initiator = request.initiator;
-            InspectorTest.addResult(request.url + &quot;: &quot; + initiator.type);
-            if (initiator.url)
-                InspectorTest.addResult(&quot;    &quot; + initiator.url + &quot; &quot; + initiator.lineNumber);
-            if (initiator.stackTrace) {
-                var stackTrace = initiator.stackTrace;
-                for (var i = 0; i &lt; stackTrace.length; ++i) {
-                    var frame = stackTrace[i];
-                    if (frame.lineNumber) {
-                        InspectorTest.addResult(&quot;    &quot; + frame.functionName + &quot; &quot; + frame.url + &quot; &quot; + frame.lineNumber);
-                        break;
-                    }
-                }
-            }
-        }
-
-        dumpInitiator(findRequestByURL(/initiator\.css/));
-        dumpInitiator(findRequestByURL(/size=100/));
-        dumpInitiator(findRequestByURL(/size=200/));
-        dumpInitiator(findRequestByURL(/size=300/));
-        dumpInitiator(findRequestByURL(/size=400/));
-
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests resources initiator for images initiated by IMG tag, static CSS, CSS class added from JavaScript and XHR.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65105&quot;&gt;Bug 65105&lt;/a&gt;
-&lt;img src=&quot;resources/resource.php?type=image&amp;random=1&amp;size=100&quot;&gt;
-&lt;div class=&quot;image-background&quot;&gt;This div has background image set from CSS.&lt;/div&gt;
-&lt;div id=&quot;div-without-class&quot;&gt;This div will have background image set from JavaScript.&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkpreviewjsonexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Tests RequestJSONView ability to parse JSON passed in XHR, JSONP
-
-Bug 65559
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkpreviewjsonhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-preview-json.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-preview-json.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-preview-json.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;network&quot;);
-
-    var testData;
-
-    testData = &quot;while(1);&quot;;
-    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSON(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
-
-    testData = &quot;{\&quot;name\&quot;: \&quot;value\&quot;&quot;;
-    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSON(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
-
-    testData = &quot;{\&quot;name\&quot;: \&quot;value\&quot;}&quot;;
-    var parsedJSON = WebInspector.RequestJSONView.parseJSON(testData);
-    InspectorTest.assertEquals(parsedJSON.prefix, &quot;&quot;);
-    InspectorTest.assertEquals(parsedJSON.data.name, &quot;value&quot;);
-    InspectorTest.assertEquals(parsedJSON.suffix, &quot;&quot;);
-
-    testData = &quot;while(1); {\&quot;name\&quot;: \&quot;value\&quot;}&quot;;
-    parsedJSON = WebInspector.RequestJSONView.parseJSON(testData);
-    InspectorTest.assertEquals(parsedJSON.prefix, &quot;while(1); &quot;);
-    InspectorTest.assertEquals(parsedJSON.data.name, &quot;value&quot;);
-    InspectorTest.assertEquals(parsedJSON.suffix, &quot;&quot;);
-
-    testData = &quot;func({)&quot;;
-    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSONP(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
-
-    testData = &quot;func){(&quot;;
-    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSONP(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
-
-    testData = &quot;func({\&quot;name\&quot;: \&quot;value\&quot;}&quot;;
-    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSONP(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
-
-    testData = &quot;func{\&quot;name\&quot;: \&quot;value\&quot;})&quot;;
-    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSONP(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
-
-    testData = &quot;func({\&quot;name\&quot;: \&quot;value\&quot;})&quot;;
-    var parsedJSONP = WebInspector.RequestJSONView.parseJSONP(testData);
-    InspectorTest.assertEquals(parsedJSONP.prefix, &quot;func(&quot;);
-    InspectorTest.assertEquals(parsedJSONP.data.name, &quot;value&quot;);
-    InspectorTest.assertEquals(parsedJSONP.suffix, &quot;)&quot;);
-
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests RequestJSONView ability to parse JSON passed in XHR, JSONP&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65559&quot;&gt;Bug 65559&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkrequestrevisioncontentexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Tests how revision requests content if original content was not loaded yet.
-
-Bug 63631
-http://127.0.0.1:8000/inspector/network/resources/style.css
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkrequestrevisioncontenthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadStylesheet()
-{
-    var css = document.createElement(&quot;link&quot;);
-    css.rel = &quot;stylesheet&quot;;
-    css.type = &quot;text/css&quot;;
-    css.href = &quot;resources/style.css&quot;;
-    document.head.appendChild(css);
-}
-
-function test()
-{
-    WebInspector.workspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, step2);
-    InspectorTest.evaluateInPage(&quot;loadStylesheet()&quot;);
-
-    var resource;
-    function step2(event)
-    {
-        var eventUISourceCode = event.data;
-        if (eventUISourceCode.originURL().indexOf(&quot;style.css&quot;) == -1)
-            return;
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        uiSourceCode = WebInspector.workspace.uiSourceCodeForOriginURL(request.url);
-        if (!uiSourceCode)
-            return;
-        uiSourceCode.addRevision(&quot;&quot;);
-        uiSourceCode.history[0].requestContent(step3);
-    }
-
-    function step3(content)
-    {
-        InspectorTest.addResult(uiSourceCode.originURL());
-        InspectorTest.addResult(content);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests how revision requests content if original content was not loaded yet.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=63631&quot;&gt;Bug 63631&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksharedworkerexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-shared-worker-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-shared-worker-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-shared-worker-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 14: Done.
-Tests that shared worker content is available in network panel.
-
-Bug 65929
-http://127.0.0.1:8000/inspector/network/resources/shared-worker.js
-resource.type: script
-resource.content before requesting content: undefined
-resource.content after requesting content: onconnect = function(event)
-{
-    var port = event.ports[0];
-    port.postMessage(&quot;Done.&quot;);
-}
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksharedworkerhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-shared-worker.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-shared-worker.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-shared-worker.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadData()
-{
-    var worker = new SharedWorker(&quot;resources/shared-worker.js&quot;);
-    worker.port.onmessage = workerLoaded;
-}
-
-function workerLoaded(event)
-{
-    console.log(event.data);
-}
-
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;loadData()&quot;);
-    }
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
-        request1.requestContent(step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that shared worker content is available in network panel.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65929&quot;&gt;Bug 65929&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksidebarwidthexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests network panel sidebar width with and without preference set.
-
-Bug 65256
-Sidebar width: 200
-Sidebar width: 242
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksidebarwidthhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, true, step2);
-
-    var oldSetting;
-    function step2()
-    {
-        var panel = WebInspector.panel(&quot;network&quot;);
-        var setting = WebInspector.settings[panel._sidebarWidthSettingName()];
-        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-
-        oldSetting = setting.get();
-        panel.show();
-
-        setting.set(undefined);
-        panel._showRequest(request);
-        InspectorTest.addResult(&quot;Sidebar width: &quot; + panel.sidebarElement.offsetWidth);
-        panel._toggleGridMode();
-
-        setting.set(242);
-        panel._showRequest(request);
-        InspectorTest.addResult(&quot;Sidebar width: &quot; + panel.sidebarElement.offsetWidth);
-        panel._closeVisibleRequest(request);
-
-        setting.set(oldSetting);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests network panel sidebar width with and without preference set.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65256&quot;&gt;Bug 65256&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksizechunkedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-size-chunked-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-size-chunked-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-size-chunked-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 15: Done.
-Tests network resource size reporting for chunked transfer encoding.
-
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500&amp;gzip=true&amp;chunked=true
-resourceSize: 500
-transferSize: 937
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksizechunkedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-size-chunked.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-size-chunked.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-size-chunked.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadImages()
-{
-    var image = document.createElement(&quot;img&quot;);
-    image.onload = resourceLoaded;
-    image.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=image&amp;size=500&amp;gzip=true&amp;chunked=true&quot;);
-    document.body.appendChild(image);
-}
-
-function resourceLoaded()
-{
-    console.log(&quot;Done.&quot;);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step2);
-    InspectorTest.evaluateInPage(&quot;loadImages()&quot;);
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resourceSize: &quot; + request1.resourceSize);
-        InspectorTest.addResult(&quot;transferSize: &quot; + request1.transferSize);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests network resource size reporting for chunked transfer encoding.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksizeexpectedchunkedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-size-expected-chunked.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-size-expected-chunked.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-size-expected-chunked.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 22: Done.
-Tests network resource size reporting.
-
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500&amp;gzip=true%chunked=true
-resourceSize: 500
-transferSize: 208
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksizeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-size-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-size-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-size-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 22: Done.
-Tests network resource size reporting.
-
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500
-resourceSize: 500
-transferSize: 500
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500&amp;gzip=true
-resourceSize: 500
-transferSize: 202
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksizesyncexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-size-sync-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-size-sync-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-size-sync-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests network resource size reporting for synchronous requests.
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500&amp;gzip=true&amp;chunked=true
-resourceSize: 500
-transferSize: 937
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksizesynchtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-size-sync.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-size-sync.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-size-sync.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?type=image&amp;size=500&amp;gzip=true&amp;chunked=true&quot;, false, step2);
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resourceSize: &quot; + request1.resourceSize);
-        InspectorTest.addResult(&quot;transferSize: &quot; + request1.transferSize);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests network resource size reporting for synchronous requests.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworksizehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-size.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-size.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-size.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,54 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadImages()
-{
-    var image = document.createElement(&quot;img&quot;);
-    image.onload = resourceLoaded;
-    image.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=image&amp;size=500&quot;);
-    document.body.appendChild(image);
-
-    var image2 = document.createElement(&quot;img&quot;);
-    image2.onload = resourceLoaded;
-    image2.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=image&amp;size=500&amp;gzip=true&quot;);
-    document.body.appendChild(image2);
-}
-
-var loadedResourceCount = 0;
-function resourceLoaded()
-{
-    if (++loadedResourceCount === 2) {
-        console.log(&quot;Done.&quot;);
-    }
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step2);
-    InspectorTest.evaluateInPage(&quot;loadImages()&quot;);
-
-    function step2()
-    {
-        // inspector-test.js appears in network panel occasionally in Safari on
-        // Mac, so checking two last resources.
-        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resourceSize: &quot; + request1.resourceSize);
-        InspectorTest.addResult(&quot;transferSize: &quot; + (request1.transferSize - request1.responseHeadersSize));
-
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
-        InspectorTest.addResult(request2.url);
-        InspectorTest.addResult(&quot;resourceSize: &quot; + request2.resourceSize);
-        InspectorTest.addResult(&quot;transferSize: &quot; + (request2.transferSize - request2.responseHeadersSize));
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests network resource size reporting.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworktimingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-timing-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-timing-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-timing-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 22: Done.
-Tests network panel timing.
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=js&amp;wait=100&amp;send=200&amp;jsdelay=300&amp;jscontent=resourceLoaded()
-http://127.0.0.1:8000/inspector/network/resources/resource.php?type=js&amp;wait=100&amp;send=100&amp;jscontent=resourceLoaded()
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworktiminghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-timing.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-timing.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-timing.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadScripts()
-{
-    // Wait 100 ms, then serve for 200ms file containing 300ms loop.
-    var script = document.createElement(&quot;script&quot;);
-    script.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=js&amp;wait=100&amp;send=200&amp;jsdelay=300&amp;jscontent=resourceLoaded()&quot;);
-    document.head.appendChild(script);
-
-    // Wait 100 ms, then serve for 100ms and call console.log in content.
-    script = document.createElement(&quot;script&quot;);
-    script.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=js&amp;wait=100&amp;send=100&amp;jscontent=resourceLoaded()&quot;);
-    document.head.appendChild(script);
-}
-
-var loadedResourceCount = 0;
-function resourceLoaded()
-{
-    if (++loadedResourceCount === 2)
-        console.log(&quot;Done.&quot;);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step2);
-    InspectorTest.evaluateInPage(&quot;loadScripts()&quot;);
-
-    function step2()
-    {
-        // inspector-test.js appears in network panel occasionally in Safari on
-        // Mac, so checking two last requests.
-        var requests = WebInspector.networkLog.requests;
-        var requestsCount = requests.length;
-        var request1 = requests[requestsCount - 2];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.assertGreaterOrEqual(request1.latency * 1000, 100, &quot;Latency of the first resource&quot;);
-        InspectorTest.assertGreaterOrEqual(request1.duration * 1000, 300, &quot;Duration of the first resource&quot;);
-
-        var request2 = requests[requestsCount - 1];
-        InspectorTest.addResult(request2.url);
-        InspectorTest.assertGreaterOrEqual(request2.latency * 1000, 100, &quot;Latency of the second resource&quot;);
-        InspectorTest.assertGreaterOrEqual(request2.duration * 1000, 100, &quot;Duration of the second resource&quot;);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests network panel timing.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkworkerexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-worker-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-worker-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-worker-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 14: Done.
-Tests that worker content is available in network panel.
-
-Bug 65929
-http://127.0.0.1:8000/inspector/network/resources/worker.js
-resource.type: script
-resource.content before requesting content: undefined
-resource.content after requesting content: postMessage(&quot;Done.&quot;);
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkworkerhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-worker.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-worker.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-worker.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadData()
-{
-    var worker = new Worker(&quot;resources/worker.js&quot;);
-    worker.onmessage = workerLoaded;
-}
-
-function workerLoaded(event)
-{
-    console.log(event.data);
-}
-
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;loadData()&quot;);
-    }
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
-        request1.requestContent(step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that worker content is available in network panel.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65929&quot;&gt;Bug 65929&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncdoubleexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-CONSOLE MESSAGE: line 6: XHR loaded: 2
-Tests responses in network tab for two XHRs sent without any delay between them. Bug 91630
-resource1.content: request1
-resource2.content: request2
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncdoublehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHRWithPayload(&quot;POST&quot;, &quot;resources/echo-payload.php&quot;, true, 'request1', step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.makeSimpleXHRWithPayload(&quot;POST&quot;, &quot;resources/echo-payload.php&quot;, true, 'request2', step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        request1.requestContent(step4);
-        request2.requestContent(step4);
-    }
-
-    var toLoad = 2;
-    function step4()
-    {
-        if (--toLoad)
-            return;
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
-        var request2 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource1.content: &quot; + request1.content);
-        InspectorTest.addResult(&quot;resource2.content: &quot; + request2.content);
-        InspectorTest.assertTrue(request1.content === 'request1' &amp;&amp; request2.content === 'request2');
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-Tests responses in network tab for two XHRs sent without any delay between them.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=91630&quot;&gt;Bug 91630&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests XHR network resource type and content for asynchronous requests. Bug 61205
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php
-resource.type: xhr
-resource.content before requesting content: undefined
-resource.content after requesting content: Hello world
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrasynchtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-async.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-async.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-async.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,43 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, true, step2);
-    }
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
-        InspectorTest.assertTrue(!request1.failed, &quot;Resource loading failed.&quot;);
-        request1.requestContent(step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
- &lt;p&gt;
- Tests XHR network resource type and content for asynchronous requests.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61205&quot;&gt;Bug 61205&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrreplayexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-CONSOLE MESSAGE: line 6: XHR loaded: 2
-CONSOLE MESSAGE: line 6: XHR loaded: 3
-CONSOLE MESSAGE: line 6: XHR loaded: 4
-CONSOLE MESSAGE: line 6: XHR loaded: 5
-CONSOLE MESSAGE: line 6: XHR loaded: 6
-CONSOLE MESSAGE: line 6: XHR loaded: 7
-CONSOLE MESSAGE: line 6: XHR loaded: 8
-Tests XHR replaying. Bug 95187
-
-Running: testGetStaticAsync
-Dumping request: 
-    url: http://user:password@127.0.0.1:8000/inspector/network/resources/empty.html
-    requestMethod: GET
-    test request header value: headerValue
-
-Running: testGetStaticSync
-Dumping request: 
-    url: http://user:password@127.0.0.1:8000/inspector/network/resources/empty.html
-    requestMethod: GET
-    test request header value: headerValue
-
-Running: testGetCachedAsync
-Dumping request: 
-    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random-cached.php
-    requestMethod: GET
-    test request header value: headerValue
-
-Running: testGetCachedSync
-Dumping request: 
-    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random-cached.php
-    requestMethod: GET
-    test request header value: headerValue
-
-Running: testGetRandomAsync
-Dumping request: 
-    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random.php
-    requestMethod: GET
-    test request header value: headerValue
-
-Running: testGetRandomSync
-Dumping request: 
-    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random.php
-    requestMethod: GET
-    test request header value: headerValue
-
-Running: testPostAsync
-Dumping request: 
-    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random.php
-    requestFormData: payload
-    requestMethod: POST
-    test request header value: headerValue
-
-Running: testPostSync
-Dumping request: 
-    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random.php
-    requestFormData: payload
-    requestMethod: POST
-    test request header value: headerValue
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrreplayhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,109 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var networkPanel = WebInspector.showPanel(&quot;network&quot;);
-
-    function lastRequest()
-    {
-        return networkPanel.requests[networkPanel.requests.length - 1];
-    }
-
-    function dumpRequest(request)
-    {
-        InspectorTest.addResult(&quot;Dumping request: &quot;);
-        InspectorTest.addResult(&quot;    url: &quot; + request.url);
-        if (request.requestFormData)
-            InspectorTest.addResult(&quot;    requestFormData: &quot; + request.requestFormData);
-        InspectorTest.addResult(&quot;    requestMethod: &quot; + request.requestMethod);
-        InspectorTest.addResult(&quot;    test request header value: &quot; + request.requestHeaderValue(&quot;headerName&quot;));
-    }
-
-    function assertRequestEqual(request1, request2)
-    {
-        InspectorTest.assertEquals(request1.url, request2.url, &quot;Requests have different url&quot;);
-        InspectorTest.assertEquals(request1.requestFormData, request2.requestFormData, &quot;Requests have different requestFormData&quot;);
-        InspectorTest.assertEquals(request1.requestMethod, request2.requestMethod, &quot;Requests have different requestMethod&quot;);
-        InspectorTest.assertEquals(request1.requestHeadersText, request2.requestHeadersText, &quot;Requests have different requestHeadersText&quot;);
-    }
-
-    function testXHRReplay(method, url, async, user, password, headers, withCredentials, payload, callback)
-    {
-        InspectorTest.resetInspectorResourcesData(step1);
-
-        function step1()
-        {
-            InspectorTest.makeXHR(method, url, async, user, password, headers, withCredentials, payload, step2);
-        }
-
-        var originalRequest;
-        function step2()
-        {
-            originalRequest = lastRequest();
-            dumpRequest(originalRequest);
-            NetworkAgent.replayXHR(originalRequest.requestId);
-            InspectorTest.addSniffer(WebInspector.NetworkLogView.prototype, &quot;_appendRequest&quot;, step3);
-        }
-
-        function step3()
-        {
-            var replayedRequest = lastRequest();
-            assertRequestEqual(originalRequest, replayedRequest);
-            callback();
-        }
-    }
-
-
-    InspectorTest.runTestSuite([
-        function testGetStaticAsync(next)
-        {
-            testXHRReplay(&quot;GET&quot;, &quot;resources/empty.html&quot;, true, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
-        },
-
-        function testGetStaticSync(next)
-        {
-            testXHRReplay(&quot;GET&quot;, &quot;resources/empty.html&quot;, false, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
-        },
-
-        function testGetCachedAsync(next)
-        {
-            testXHRReplay(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, true, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
-        },
-
-        function testGetCachedSync(next)
-        {
-            testXHRReplay(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, false, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
-        },
-
-        function testGetRandomAsync(next)
-        {
-            testXHRReplay(&quot;GET&quot;, &quot;resources/random.php&quot;, true, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
-        },
-
-        function testGetRandomSync(next)
-        {
-            testXHRReplay(&quot;GET&quot;, &quot;resources/random.php&quot;, false, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
-        },
-
-        function testPostAsync(next)
-        {
-            testXHRReplay(&quot;POST&quot;, &quot;resources/random.php&quot;, true, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, &quot;payload&quot;, next);
-        },
-
-        function testPostSync(next)
-        {
-            testXHRReplay(&quot;POST&quot;, &quot;resources/random.php&quot;, false, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, &quot;payload&quot;, next);
-        }
-    ]);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-Tests XHR replaying.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=95187&quot;&gt;Bug 95187&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrsameurlasmainresourceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests that XHRs with the same url as a main resource have correct category.
-
-Bug 68648
-xhr
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrsameurlasmainresourcehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;network-xhr-same-url-as-main-resource.html&quot;, true, step2);
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.type.name());
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that XHRs with the same url as a main resource have correct category.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=68648&quot;&gt;Bug 68648&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrsyncexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests XHR network resource type and content for synchronous requests. Bug 61205
-
-http://127.0.0.1:8000/inspector/network/resources/resource.php
-resource.type: xhr
-resource.content before requesting content: undefined
-resource.content after requesting content: Hello world
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworknetworkxhrsynchtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,43 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // Since this test could be run together with other inspector backend cache
-    // tests, we need to reset size limits to default ones.
-    InspectorTest.resetInspectorResourcesData(step1);
-
-    function step1()
-    {
-        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, false, step2);
-    }
-
-    function step2()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(request1.url);
-        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
-        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
-        InspectorTest.assertTrue(!request1.failed, &quot;Resource loading failed.&quot;);
-        request1.requestContent(step3);
-    }
-
-    function step3()
-    {
-        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
-        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
- &lt;p&gt;
- Tests XHR network resource type and content for synchronous requests.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61205&quot;&gt;Bug 61205&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkpingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/ping-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/ping-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/ping-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-ping
-Tests that hyperlink auditing (ping) requests appear in network panel.
-
-http://127.0.0.1:8000/inspector/network/ping.html
-resource.isPingRequest(): true
-resource.requestContentType: text/ping
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkpinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/ping.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/ping.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/ping.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function onload()
-{
-    if (window.testRunner)
-        testRunner.overridePreference(&quot;WebKitHyperlinkAuditingEnabled&quot;, 1);
-    runTest();
-}
-
-function navigateLink()
-{
-    var evt = document.createEvent(&quot;MouseEvents&quot;);
-    evt.initMouseEvent(&quot;click&quot;);
-    var link = document.getElementById(&quot;pingLink&quot;);
-    link.dispatchEvent(evt);
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;requestWillBeSent&quot;, step2);
-    InspectorTest.evaluateInPage(&quot;navigateLink()&quot;);
-
-    function step2()
-    {
-        // inspector-test.js appears in network panel occasionally in Safari on
-        // Mac, so checking last request.
-        var requests = WebInspector.networkLog.requests;
-        var requestsCount = requests.length;
-        var request = requests[requestsCount - 1];
-
-        InspectorTest.addResult(request.url);
-        InspectorTest.addResult(&quot;resource.isPingRequest(): &quot; + request.isPingRequest());
-        InspectorTest.addResult(&quot;resource.requestContentType: &quot; + request.requestContentType());
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;a id=&quot;pingLink&quot; href=&quot;#&quot; ping=&quot;ping.html&quot;&gt;ping&lt;/a&gt;
-&lt;p&gt;Tests that hyperlink auditing (ping) requests appear in network panel.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkrequestnamepathexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/request-name-path-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/request-name-path-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/request-name-path-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-Tests name() and path() methods of NetworkRequest.
-
-Bug 101064
-Dumping request name and path for url: http://www.example.com/foo/bar/baz?key=value
-    name = baz?key=value
-    path = www.example.com/foo/bar
-Dumping request name and path for url: http://www.example.com/foo/bar/?key=value
-    name = ?key=value
-    path = www.example.com/foo/bar
-Dumping request name and path for url: http://www.example.com/foo/bar/baz
-    name = baz
-    path = www.example.com/foo/bar
-Dumping request name and path for url: http://www.example.com/foo/bar/
-    name = bar/
-    path = www.example.com/foo
-Dumping request name and path for url: http://www.example.com/baz?key=value
-    name = baz?key=value
-    path = www.example.com
-Dumping request name and path for url: http://www.example.com/?key=value
-    name = ?key=value
-    path = www.example.com
-Dumping request name and path for url: http://www.example.com/baz
-    name = baz
-    path = www.example.com
-Dumping request name and path for url: http://www.example.com/
-    name = www.example.com
-    path = 
-Dumping request name and path for url: http://127.0.0.1/foo/bar/baz?key=value
-    name = baz?key=value
-    path = /foo/bar
-Dumping request name and path for url: http://127.0.0.1/foo/bar/?key=value
-    name = ?key=value
-    path = /foo/bar
-Dumping request name and path for url: http://127.0.0.1/foo/bar/baz
-    name = baz
-    path = /foo/bar
-Dumping request name and path for url: http://127.0.0.1/foo/bar/
-    name = bar/
-    path = /foo
-Dumping request name and path for url: http://127.0.0.1/baz?key=value
-    name = baz?key=value
-    path = 
-Dumping request name and path for url: http://127.0.0.1/?key=value
-    name = ?key=value
-    path = 
-Dumping request name and path for url: http://127.0.0.1/baz
-    name = baz
-    path = 
-Dumping request name and path for url: http://127.0.0.1/
-    name = 127.0.0.1
-    path = 
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkrequestnamepathhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/request-name-path.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/request-name-path.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/request-name-path.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,44 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    function createNetworkRequestForURLAndDumpNameAndPath(url)
-    {
-        InspectorTest.addResult(&quot;Dumping request name and path for url: &quot; + url);
-        var request = new WebInspector.NetworkRequest(0, url);
-        InspectorTest.addResult(&quot;    name = &quot; + request.name());
-        InspectorTest.addResult(&quot;    path = &quot; + request.path());
-    }
-
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/foo/bar/baz?key=value&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/foo/bar/?key=value&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/foo/bar/baz&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/foo/bar/&quot;);
-
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/baz?key=value&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/?key=value&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/baz&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/&quot;);
-
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/foo/bar/baz?key=value&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/foo/bar/?key=value&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/foo/bar/baz&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/foo/bar/&quot;);
-
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/baz?key=value&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/?key=value&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/baz&quot;);
-    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/&quot;);
-
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests name() and path() methods of NetworkRequest.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=101064&quot;&gt;Bug 101064&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkrequestparametersdecodingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Tests how request headers are decoded in network item view.
-
-Bug 74422
-Original value: Test+%21%40%23%24%25%5E%26*%28%29_%2B+parameters.
-Decoded value: Test !@#$%^&amp;*()_+ parameters.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkrequestparametersdecodinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,21 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-        WebInspector.showPanel(&quot;network&quot;);
-    var value = &quot;Test+%21%40%23%24%25%5E%26*%28%29_%2B+parameters.&quot;;
-    var parameterElement = WebInspector.RequestHeadersView.prototype._formatParameter(value, &quot;&quot;, true);
-    InspectorTest.addResult(&quot;Original value: &quot; + value);
-    InspectorTest.addResult(&quot;Decoded value: &quot; + parameterElement.textContent);
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
- &lt;p&gt;Tests how request headers are decoded in network item view.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61205&quot;&gt;Bug 74422&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresources404php"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/404.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/404.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/404.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-&lt;?php
-    header(&quot;HTTP/1.0 404 Not Found&quot;);
-    echo(&quot;404 - resource was not found.&quot;);
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcescp1251xml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/cp1251.xml (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/cp1251.xml        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/cp1251.xml        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-&lt;?xml version='1.0' encoding='cp1251'?&gt;
-&lt;root&gt;
-  &lt;cp1251&gt;SU\xD1\xD1\xC5SS - These 'CCE' are cyrillic letters.&lt;/cp1251&gt;
-&lt;/root&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcescyrillichtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/cyrillic.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/cyrillic.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/cyrillic.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-The following line contains a word &quot;success&quot; written with cyrillic letters.
-SUССЕSS
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesdownloadzzz"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/download.zzz (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/download.zzz        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/download.zzz        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-Test resource for triggering downloads.
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesechopayloadphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/echo-payload.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/echo-payload.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/echo-payload.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-&lt;?php
-        echo file_get_contents('php://input');
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesemptyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/empty.html ( => )</h4>
<pre class="diff"><span>
<span class="info">Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/initiator.css
===================================================================
</span><del>--- trunk/LayoutTests/http/tests/inspector/network/resources/initiator.css        2014-02-22 01:03:51 UTC (rev 164517)
</del><ins>+++ trunk/LayoutTests/http/tests/inspector/network/resources/initiator.css        2014-02-22 01:58:54 UTC (rev 164518)
</ins><span class="lines">@@ -1,8 +0,0 @@
</span><del>-.image-background {
-    background-image: url(&quot;resource.php?type=image&amp;random=1&amp;size=200&quot;);
-}
-
-.image-background-2 {
-    background-image: url(&quot;resource.php?type=image&amp;random=1&amp;size=300&quot;);
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesjsonphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/json.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/json.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/json.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-&lt;?php
-    header(&quot;Content-Type: application/json&quot;);
-?&gt;
-{&quot;number&quot;: &quot;42&quot;}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesplugindataphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/plugin-data.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/plugin-data.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/plugin-data.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-&lt;?php
-    $mimetype = $_GET[&quot;mimetype&quot;];
-    $filename = $_GET[&quot;filename&quot;];
-    $charset = $_GET[&quot;charset&quot;];
-
-    header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
-    header(&quot;Cache-Control: no-store, no-cache, must-revalidate&quot;);
-    header(&quot;Pragma: no-cache&quot;);
-    if ($charset)
-        header(&quot;Content-Type: &quot; . $mimetype . &quot;; charset=&quot; . $charset);
-    else
-        header(&quot;Content-Type: &quot; . $mimetype);
-
-    readfile($filename);
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesrandomcachedphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/random-cached.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/random-cached.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/random-cached.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-&lt;?php
-    if ($_SERVER[&quot;HTTP_IF_MODIFIED_SINCE&quot;]) {
-        header(&quot;HTTP/1.0 304 Not Modified&quot;);
-        exit;
-    }
-
-    $max_age = 12 * 31 * 24 * 60 * 60; //one year
-    $expires = gmdate(DATE_RFC1123, time() + $max_age);
-    $last_modified = gmdate(DATE_RFC1123, time() - $max_age);
-
-    header(&quot;Cache-Control: public, max-age=&quot; . 5*$max_age);
-    header(&quot;Cache-control: max-age=0&quot;);
-    header(&quot;Expires: &quot; . $expires);
-    header(&quot;Content-Type: text/html&quot;);
-    header(&quot;Last-Modified: &quot; . $last_modified);
-
-    echo(rand());
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesrandomscriptphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/random-script.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/random-script.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/random-script.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-&lt;?php
-    if ($_SERVER[&quot;HTTP_IF_MODIFIED_SINCE&quot;]) {
-        header(&quot;HTTP/1.0 304 Not Modified&quot;);
-        exit;
-    }
-
-    $max_age = 12 * 31 * 24 * 60 * 60; //one year
-    $expires = gmdate(DATE_RFC1123, time() + $max_age);
-    $last_modified = gmdate(DATE_RFC1123, time() - $max_age);
-
-    header(&quot;Cache-Control: public, max-age=&quot; . 5*$max_age);
-    header(&quot;Cache-control: max-age=0&quot;);
-    header(&quot;Expires: &quot; . $expires);
-    header(&quot;Content-Type: text/html&quot;);
-    header(&quot;Last-Modified: &quot; . $last_modified);
-
-    echo(&quot;console.log(\&quot;Done.\&quot;);&quot;);
-    echo(&quot;var randomValue = &quot; . rand() . &quot;;&quot;);
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesresourcephp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/resource.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/resource.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/resource.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,119 +0,0 @@
</span><del>-&lt;?php
-    $type = $_GET[&quot;type&quot;];
-    $wait = $_GET[&quot;wait&quot;];
-    $send = $_GET[&quot;send&quot;];
-    $size = $_GET[&quot;size&quot;];
-    $gzip = $_GET[&quot;gzip&quot;];
-    $jsdelay = $_GET[&quot;jsdelay&quot;];
-    $jscontent = $_GET[&quot;jscontent&quot;];
-    $chunked = $_GET[&quot;chunked&quot;];
-    $random = $_GET[&quot;random&quot;];
-    $cached = $_GET[&quot;cached&quot;];
-
-    # Wait before sending response
-    if ($wait)
-        usleep($wait * 1000);
-
-    # Exit early if we return 304 code.
-    if ($cached &amp;&amp; $_SERVER[&quot;HTTP_IF_MODIFIED_SINCE&quot;]) {
-        header(&quot;HTTP/1.0 304 Not Modified&quot;);
-        exit;
-    }
-
-    # Enable gzip compression if needed
-    if ($gzip)
-        ob_start(&quot;ob_gzhandler&quot;);
-
-    # Send headers
-    if ($cached) {
-        $max_age = 12 * 31 * 24 * 60 * 60; //one year
-        $expires = gmdate(DATE_RFC1123, time() + $max_age);
-        $last_modified = gmdate(DATE_RFC1123, time() - $max_age);
-
-        header(&quot;Cache-Control: public, max-age=&quot; . 5*$max_age);
-        header(&quot;Cache-control: max-age=0&quot;);
-        header(&quot;Expires: &quot; . $expires);
-        header(&quot;Last-Modified: &quot; . $last_modified);
-    } else {
-        header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
-        header(&quot;Cache-Control: no-store, no-cache, must-revalidate&quot;);
-        header(&quot;Pragma: no-cache&quot;);
-    }
-    if ($type == &quot;js&quot;)
-        header(&quot;Content-Type:text/javascript; charset=UTF-8&quot;);
-    else if ($type == &quot;image&quot;)
-        header(&quot;Content-Type: image/png&quot;);
-    else
-        header(&quot;Content-Type: text/plain&quot;);
-
-    # Flush headers and sleep bofore sending response
-    if ($send) {
-        flush();
-        usleep($send * 1000);
-    }
-
-    if ($type == &quot;js&quot;) {
-        # Send JavaScript file
-        $bytes_emitted = 0;
-        if ($jsdelay) {
-            # JavaScript file should block on load
-?&gt;
-function __foo(seconds) {
-    var now =  Date.now();
-    var counter = Number(0);
-    while(now + seconds  &gt; Date.now()) { counter = Number(counter + 1); }
-}
-__foo(&lt;?php echo($jsdelay)?&gt;);
-&lt;?php
-            $bytes_emitted += 175;
-        }
-
-        if (!$jscontent)
-            $jscontent = &quot;function foo() {}&quot;;
-
-        # JavaScript file should issue given command.
-        echo($jscontent);
-        $bytes_emitted += strlen($jscontent);
-
-        if ($size) {
-            for ($i = 0; $i &lt; $size - $bytes_emitted; ++$i)
-                echo(&quot;/&quot;);
-        }
-    } else if ($type == &quot;image&quot;) {
-        $base64data = &quot;iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kICQsw&quot; . 
-            &quot;ARCJCogAAABFSURBVEjH7ZLBCQAwCAONdP+V0xVqq0gx9w+Gi2ZCTAcXGWbe8G4Dq9DekS&quot; .
-            &quot;kPaGeFgfYJVODlCTnWADILoEg3vplACLEBN9UGG9+mxboAAAAASUVORK5CYII=&quot;;
-        $data = base64_decode($base64data);
-        $data_len = strlen($data);
-        print($data);
-        if ($size) {
-            if ($chunked) {
-                ob_flush();
-                flush();
-            }
-            for ($i = 0; $size &amp;&amp; $i &lt; $size - $data_len; ++$i)
-                echo(&quot;=&quot;);
-        } else if ($random)
-            echo(rand());
-    } else {
-        # Generate dummy text/html.
-        if ($size) {
-            for ($i = 0; $i &lt; $size; ++$i) {
-                if ($chunked &amp;&amp; (1 == $i)) {
-                    ob_flush();
-                    flush();
-                }
-                echo(&quot;*&quot;);
-            }
-        } else {
-            echo(&quot;Hello &quot;);
-            if ($chunked) {
-                ob_flush();
-                flush();
-            }
-            echo(&quot;world&quot;);
-            if ($random)
-                echo(&quot;: &quot; . rand());
-        }
-    }
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesscriptastextwithaveryveryveryveryveryveryveryveryveryveryveryveryveryverylongurlphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-&lt;?php
-    header(&quot;Content-Type: text/plain&quot;);
-?&gt;
-
-function foo()
-{
-    var bar = 42;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesscriptastextphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-&lt;?php
-    header(&quot;Content-Type: text/plain&quot;);
-?&gt;
-
-function foo()
-{
-    var bar = 42;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesscriptjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/script.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/script.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-console.log(&quot;Done.&quot;);
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcessetcookiephp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/set-cookie.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/set-cookie.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/set-cookie.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-&lt;?php
-    header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
-    header(&quot;Cache-Control: no-store, no-cache, must-revalidate&quot;);
-    header(&quot;Pragma: no-cache&quot;);
-    header(&quot;Content-Type: text/plain&quot;);
-    setcookie(&quot;TestCookie&quot;, &quot;TestCookieValue&quot;);
-
-    echo(&quot;Cookie set.&quot;);
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcessharedworkerjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/shared-worker.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/shared-worker.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/shared-worker.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-onconnect = function(event)
-{
-    var port = event.ports[0];
-    port.postMessage(&quot;Done.&quot;);
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcessilent_scriptjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/silent_script.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/silent_script.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/silent_script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-function foo()
-{
-    return 2 + 2;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylecss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-#container {
-  background: papayawhip; }
-  #container #inspected {
-    color: green; }
-
-/*# sourceMappingURL=source-map-test-style.css.map */
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylecssmap"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css.map (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css.map        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css.map        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-{
-&quot;version&quot;: &quot;3&quot;,
-&quot;mappings&quot;: &quot;AAAA,UAAW;EACP,UAAU,EAAE,UAAU;EAEtB,qBAAW;IACP,KAAK,EAAE,KAAK&quot;,
-&quot;sources&quot;: [&quot;style.scss&quot;],
-&quot;file&quot;: &quot;style.css&quot;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylescss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.scss (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.scss        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.scss        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-#container {
-    background: papayawhip;
-
-    #inspected {
-        color: green;
-    }
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesstylecss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/style.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/style.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/style.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-body {
-    color: black;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesutf8xml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/utf8.xml (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/utf8.xml        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/utf8.xml        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-&lt;?xml version='1.0' encoding='utf-8'?&gt;
-&lt;root&gt;
-  &lt;utf8&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/utf8&gt;
-&lt;/root&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesworkerjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/worker.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/worker.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/worker.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-postMessage(&quot;Done.&quot;);
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkresourcesxframeoptionsdenycgi"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/resources/x-frame-options-deny.cgi (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/resources/x-frame-options-deny.cgi        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/resources/x-frame-options-deny.cgi        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-#!/usr/bin/perl -wT
-use strict;
-
-print &quot;Content-Type: text/html\n&quot;;
-print &quot;Cache-Control: no-cache, no-store\n&quot;;
-print &quot;X-FRAME-OPTIONS: deny\n\n&quot;;
-
-print &quot;&lt;p&gt;FAIL: This should not show up.&lt;/p&gt;\n&quot;;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkscriptastextloadingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests console message when script is loaded with incorrect text/html mime type.
-
-Bug 69972
-Resource interpreted as Script but transferred with MIME type text/plain: &quot;http://127.0.0.1:8000/inspector/network/resources/script-as-text.php&quot;. [native code]:1
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkscriptastextloadinglongurlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that long URLs are correctly trimmed in anchor links.
-
-Bug 100095
-Resource interpreted as Script but transferred with MIME type text/plain: &quot;http://127.0.0.1:8000/inspector/network/resources/script-as-text-with-a-ver…y-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php&quot;. [native code]:1
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkscriptastextloadinglongurlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadScript()
-{
-    var i = document.createElement('script');
-    i.src = &quot;http://127.0.0.1:8000/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php&quot;;
-    document.body.appendChild(i);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step1);
-    InspectorTest.evaluateInPage(&quot;loadScript()&quot;);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that long URLs are correctly trimmed in anchor links.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=100095&quot;&gt;Bug 100095&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkscriptastextloadingwithcaretexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests console message when script is loaded with incorrect text/html mime type and the URL contains the '^' character.
-
-Bug 103248
-Resource interpreted as Script but transferred with MIME type text/plain: &quot;http://127.0.0.1:8000/inspector/network/resources/script-as-text.php?this-i…-with^carats^like^these^because^who^doesnt^love^strange^characters^in^urls&quot;. [native code]:1
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkscriptastextloadingwithcarethtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadScript()
-{
-    var s = document.createElement(&quot;script&quot;);
-    s.src = &quot;resources/script-as-text.php?this-is-a-weird=querystring-with^carats^like^these^because^who^doesnt^love^strange^characters^in^urls&quot;;
-    document.body.appendChild(s);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step1);
-    InspectorTest.evaluateInPage(&quot;loadScript()&quot;);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests console message when script is loaded with incorrect text/html mime
-type and the URL contains the '^' character.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=103248&quot;&gt;Bug 103248&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkscriptastextloadinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadScript()
-{
-    var s = document.createElement(&quot;script&quot;);
-    s.src = &quot;resources/script-as-text.php&quot;;
-    document.body.appendChild(s);
-}
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(step1);
-    InspectorTest.evaluateInPage(&quot;loadScript()&quot;);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests console message when script is loaded with incorrect text/html mime type.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=69972&quot;&gt;Bug 69972&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkxframeoptionsdenyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: Refused to display 'http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny.cgi' in a frame because it set 'X-Frame-Options' to 'deny'.
-Tests that responseReceived is called on NetworkDispatcher for resource requests denied due to X-Frame-Options header.
-
-
-Received response for x-frame-options-deny.cgi
-SUCCESS
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkxframeoptionsdenyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadIFrameWithDownload()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.setAttribute(&quot;src&quot;, &quot;http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny.cgi&quot;);
-    document.body.appendChild(iframe);
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;responseReceived&quot;, responseReceived);
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFailed&quot;, loadingFailed);
-    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFinished&quot;, loadingFinished);
-    InspectorTest.evaluateInPage(&quot;loadIFrameWithDownload()&quot;);
-
-    function responseReceived(requestId, time, resourceType, response)
-    {
-        var request = WebInspector.networkLog.requestForId(requestId);
-        if (/x-frame-options-deny\.cgi/.exec(request.url)) {
-            InspectorTest.addResult(&quot;Received response for x-frame-options-deny.cgi&quot;);
-            InspectorTest.addResult(&quot;SUCCESS&quot;);
-            InspectorTest.completeTest();
-        }
-    }
-
-    function loadingFinished(requestId, finishTime)
-    {
-        var request = WebInspector.networkLog.requestForId(requestId);
-        if (/x-frame-options-deny\.cgi/.exec(request.url))
-            InspectorTest.completeTest();
-    }
-
-    function loadingFailed(requestId, time, localizedDescription, canceled)
-    {
-        var request = WebInspector.networkLog.requestForId(requestId);
-        if (/x-frame-options-deny\.cgi/.exec(request.url))
-            InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that responseReceived is called on NetworkDispatcher for resource requests denied due to X-Frame-Options header.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkpreflightoptionsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network-preflight-options-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network-preflight-options-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network-preflight-options-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/cors-target.php?id=0&amp;deny=yes. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/cors-target.php?id=1&amp;deny=yes. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/cors-target.php?id=3&amp;deny=yes. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/cors-target.php?id=4&amp;deny=yes. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
-Tests that preflight OPTIONS requests appear in Network resources
-
-Bug 63712
-0 xhr:POST http://localhost:8000/inspector/resources/cors-target.php?id=0&amp;deny=yes
-1 xhr:OPTIONS http://localhost:8000/inspector/resources/cors-target.php?id=1&amp;deny=yes
-2 xhr:OPTIONS http://localhost:8000/inspector/resources/cors-target.php?id=2
-2 xhr:POST http://localhost:8000/inspector/resources/cors-target.php?id=2
-3 other:POST http://localhost:8000/inspector/resources/cors-target.php?id=3&amp;deny=yes
-4 xhr:OPTIONS http://localhost:8000/inspector/resources/cors-target.php?id=4&amp;deny=yes
-5 xhr:OPTIONS http://localhost:8000/inspector/resources/cors-target.php?id=5
-5 xhr:POST http://localhost:8000/inspector/resources/cors-target.php?id=5
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworkpreflightoptionshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network-preflight-options.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network-preflight-options.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network-preflight-options.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,89 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script type=&quot;text/javascript&quot;&gt;
-function sendXHR(url, forcePreflight, async, callback)
-{
-    var xhr = new XMLHttpRequest();
-
-    xhr.onreadystatechange = function()
-    {
-        if (xhr.readyState === XMLHttpRequest.DONE) {
-            if (typeof(callback) === &quot;function&quot;)
-                callback();
-        }
-    };
-
-    xhr.open(&quot;POST&quot;, url, async);
-    xhr.setRequestHeader(&quot;Content-Type&quot;, forcePreflight ? &quot;application/xml&quot; : &quot;text/plain&quot;);
-    try {
-        xhr.send(&quot;&lt;xml&gt;&lt;/xml&gt;&quot;);  // Denied requests will cause exceptions.
-    } catch (e) {
-    }
-}
-
-var baseTargetURL = &quot;http://localhost:8000/inspector/resources/cors-target.php&quot;;
-
-function targetURL(id, deny, addTimestamp)
-{
-    var result = baseTargetURL + &quot;?id=&quot; + id;
-    if (deny)
-        result += &quot;&amp;deny=yes&quot;;
-    if (addTimestamp)
-        result += &quot;&amp;date=&quot; + Date.now();
-    return result;
-}
-
-function doCrossOriginXHR()
-{
-    // Failed POSTs with no preflight check should result in a POST request being logged
-    sendXHR(targetURL(0, true, false), false, false);
-    // Failed POSTs with preflight check should result in an OPTIONS request being logged
-    sendXHR(targetURL(1, true, false), true, false);
-    // Successful POSTs with preflight check should result in an OPTIONS request followed by POST request being logged
-    // Generate request name based on timestamp to defeat OPTIONS request caching (this is only relevant for repeated invocations of the test in signle instance of DRT)
-    sendXHR(targetURL(2, false, true), true, false);
-
-    // And now send the same requests asynchronously
-    // Add redundant async parameter to ensure this request differs from the one above.
-    sendXHR(targetURL(3, true, false), false, true, step2);
-}
-
-function step2()
-{
-    sendXHR(targetURL(4, true, false), true, true, step3);
-}
-
-function step3()
-{
-    sendXHR(targetURL(5, false, true), true, true);
-}
-
-var test = function()
-{
-    var requestMessages = [];
-    var postRequestsCount = 0;
-    function onRequest(event)
-    {
-        var request = event.data;
-        var idMatch = /\?id=([0-9]*)&amp;/.exec(request.url);
-        var requestId = idMatch[1];
-        var requestMessage = requestId + &quot; &quot; + request.type + &quot;:&quot; + request.requestMethod + &quot; &quot; + request.url.replace(/[&amp;?]date=\d+/, &quot;&quot;);
-        requestMessages.push(requestMessage);
-        if (request.requestMethod === &quot;POST&quot; &amp;&amp; ++postRequestsCount === 4) {
-            requestMessages.sort();
-            for (var i = 0; i &lt; requestMessages.length; i++)
-                InspectorTest.addResult(requestMessages[i]);
-            InspectorTest.completeTest();
-        }
-    }
-    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequest);
-    InspectorTest.evaluateInPage(&quot;doCrossOriginXHR();&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that preflight OPTIONS requests appear in Network resources&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=63712&quot;&gt;Bug 63712&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectornetworktestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/network-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/network-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/network-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,113 +0,0 @@
</span><del>-// This goes before everything else to keep console message line number invariant.
-var lastXHRIndex = 0;
-function xhrLoadedCallback()
-{
-    // We need to make sure the console message text is unique so that we don't end up with repeat count update only.
-    console.log(&quot;XHR loaded: &quot; + (++lastXHRIndex));
-}
-
-var initialize_NetworkTest = function() {
-
-InspectorTest.dumpNetworkRequests = function()
-{
-    var requests = WebInspector.panel(&quot;network&quot;).requests.slice();
-    requests.sort(function(a, b) {return a.url.localeCompare(b.url);});
-    InspectorTest.addResult(&quot;resources count = &quot; + requests.length);
-    for (i = 0; i &lt; requests.length; i++)
-        InspectorTest.addResult(requests[i].url);
-}
-
-InspectorTest.resetInspectorResourcesData = function(callback)
-{
-    InspectorTest.evaluateInPage(&quot;resetInspectorResourcesData()&quot;, nextStep);
-
-    function nextStep(result)
-    {
-        if (!result) {
-            InspectorTest.addResult(&quot;This test can not be run as window.internals is not available.&quot;);
-            Inspector.completeTest();
-        } else
-            callback();
-    }
-}
-
-InspectorTest.makeSimpleXHR = function(method, url, async, callback)
-{
-    InspectorTest.makeXHR(method, url, async, undefined, undefined, [], false, undefined, callback);
-}
-
-InspectorTest.makeSimpleXHRWithPayload = function(method, url, async, payload, callback)
-{
-    InspectorTest.makeXHR(method, url, async, undefined, undefined, [], false, payload, callback);
-}
-
-InspectorTest.makeXHR = function(method, url, async, user, password, headers, withCredentials, payload, callback)
-{
-    var args = {};
-    args.method = method;
-    args.url = url;
-    args.async = async;
-    args.user = user;
-    args.password = password;
-    args.headers = headers;
-    args.withCredentials = withCredentials;
-    args.payload = payload;
-    var jsonArgs = JSON.stringify(args).replace(/\&quot;/g, &quot;\\\&quot;&quot;);
-
-    function innerCallback(msg)
-    {
-        if (msg._messageText.indexOf(&quot;XHR loaded&quot;) !== -1)
-            callback();
-        else
-            InspectorTest.addConsoleSniffer(innerCallback);
-    }
-
-    InspectorTest.addConsoleSniffer(innerCallback);
-    InspectorTest.evaluateInPage(&quot;makeXHRForJSONArguments(\&quot;&quot; + jsonArgs + &quot;\&quot;)&quot;);
-}
-
-};
-
-function makeSimpleXHR(method, url, async, callback)
-{
-    makeSimpleXHRWithPayload(method, url, async, null, callback);
-}
-
-function makeSimpleXHRWithPayload(method, url, async, payload, callback)
-{
-    makeXHR(method, url, async, undefined, undefined, [], false, payload, callback)
-}
-
-function makeXHR(method, url, async, user, password, headers, withCredentials, payload, callback)
-{
-    var xhr = new XMLHttpRequest();
-    xhr.onreadystatechange = function()
-    {
-        if (xhr.readyState === XMLHttpRequest.DONE) {
-            if (typeof(callback) === &quot;function&quot;)
-                callback();
-        }
-    }
-    xhr.open(method, url, async, user, password);
-    xhr.withCredentials = withCredentials;
-    for (var  i = 0; i &lt; headers.length; ++i)
-        xhr.setRequestHeader(headers[i][0], headers[i][1]);
-    xhr.send(payload);
-}
-
-function makeXHRForJSONArguments(jsonArgs)
-{
-    var args = JSON.parse(jsonArgs);
-    makeXHR(args.method, args.url, args.async, args.user, args.password, args.headers, args.withCredentials, args.payload, xhrLoadedCallback);
-}
-
-
-function resetInspectorResourcesData()
-{
-    if (!window.internals)
-        return false;
-
-    internals.setInspectorResourcesDataSizeLimits(10 * 1000 * 1000, 1000 * 1000);
-    return true;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorprotocoltestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/protocol-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/protocol-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/protocol-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,129 +0,0 @@
</span><del>-var initialize_ProtocolTest = function() {
-
-InspectorTest.filterProps = function(object, nondeterministicProps)
-{
-    if (object instanceof Object)
-        for (var prop in object)
-            if (prop in nondeterministicProps)
-                object[prop] = &quot;&lt;&quot; + typeof object[prop] + &quot;&gt;&quot;;
-            else
-                object[prop] = this.filterProps(object[prop], nondeterministicProps);
-    else if (object instanceof Array)
-        for (var i = 0; i &lt; object.length; ++i)
-            object[i] = this.filterProps(object[i], nondeterministicProps);
-    else if (typeof object === &quot;number&quot;)
-        object = &quot;&lt;number&gt;&quot;;
-    else if (typeof object === &quot;string&quot; &amp;&amp; object.indexOf(&quot;\&quot;id\&quot;&quot;) != -1)
-        object = &quot;&lt;string&gt;&quot;;
-    return object;
-};
-
-InspectorTest._dumpEvent = function()
-{
-    var args = Array.prototype.slice.call(arguments);
-    var eventName = args.shift();
-    InspectorTest._agentCoverage[eventName] = &quot;checked&quot;;
-    InspectorTest.addResult(&quot;event &quot; + InspectorTest._agentName + &quot;.&quot; + eventName);
-    InspectorTest.addObject(InspectorTest._lastReceivedMessage, InspectorTest._customFormatters);
-    InspectorTest.addResult(&quot;&quot;);
-
-    var originalEventHandler = args.shift();
-    originalEventHandler.apply(this, args);
-};
-
-
-InspectorTest._dumpCallArguments = function(callArguments)
-{
-    var callArgumentsCopy = JSON.parse(JSON.stringify(callArguments));
-    var agentName = callArgumentsCopy.shift();
-    var functionName = callArgumentsCopy.shift();
-    this.filterProps(callArgumentsCopy, this._customFormatters);
-    var expression = JSON.stringify(callArgumentsCopy);
-    expression = expression.slice(1, expression.length - 1).replace(/\&quot;&lt;number&gt;\&quot;/g, &quot;&lt;number&gt;&quot;).replace(/\&quot;&lt;string&gt;\&quot;/g, &quot;&lt;string&gt;&quot;);
-
-    InspectorTest.addResult(&quot;-----------------------------------------------------------&quot;);
-    InspectorTest.addResult(agentName + &quot;.&quot; + functionName + &quot;(&quot; + expression + &quot;)&quot;);
-    InspectorTest.addResult(&quot;&quot;);
-};
-
-InspectorTest._callback = function(result)
-{
-    InspectorTest.addResult(&quot;response:&quot;);
-    InspectorTest.addObject(InspectorTest._lastReceivedMessage, InspectorTest._customFormatters);
-    InspectorTest.addResult(&quot;&quot;);
-    InspectorTest._runNextTest();
-};
-
-InspectorTest._runNextTest = function()
-{
-    var step = ++this._step;
-    var nextTest = this._testSuite[step];
-    if (nextTest) {
-        InspectorTest._dumpCallArguments(nextTest);
-
-        nextTest.push(this._callback.bind(this));
-
-        var agentName = nextTest.shift();
-        var functionName = nextTest.shift();
-        window[agentName][functionName].apply(window[agentName], nextTest);
-
-        var lastSentMessage = InspectorTest._lastSentMessage; // This is because the next call will override _lastSentMessage.
-        InspectorTest.addResult(&quot;request:&quot;);
-        InspectorTest.addObject(lastSentMessage, InspectorTest._customFormatters);
-        InspectorTest.addResult(&quot;&quot;);
-
-        if (agentName === this._agentName)
-            this._agentCoverage[functionName] = &quot;checked&quot;;
-    }
-    else {
-        InspectorTest.addResult(&quot;===========================================================&quot;);
-        InspectorTest.addResult(&quot;Coverage for &quot; + this._agentName);
-        InspectorTest.addObject(this._agentCoverage);
-        InspectorBackend.dispatch = this._originalDispatch;
-        InspectorFrontendHost.sendMessageToBackend = this._originalSendMessageToBackend;
-        this.completeTest();
-    }
-};
-
-InspectorTest.runProtocolTestSuite = function(agentName, testSuite, nondeterministicProps)
-{
-    this._agentName = agentName;
-    this._testSuite = testSuite;
-    this._customFormatters = {};
-    for (var i = 0; i &lt; nondeterministicProps.length; ++i)
-        this._customFormatters[nondeterministicProps[i]] = &quot;formatAsTypeName&quot;;
-    var agent = window[agentName];
-
-    this._agentCoverage = {};
-    for (var key in agent)
-        this._agentCoverage[key] = &quot;not checked&quot;;
-
-    var domain = agentName.replace(/Agent$/,&quot;&quot;);
-    var domainMessagesHandler = InspectorBackend._domainDispatchers[domain];
-    for (var eventName in domainMessagesHandler) {
-        if (typeof domainMessagesHandler[eventName] !== &quot;function&quot;)
-            continue;
-        this._agentCoverage[eventName] = &quot;not checked&quot;;
-        domainMessagesHandler[eventName] = InspectorTest._dumpEvent.bind(domainMessagesHandler, eventName, domainMessagesHandler[eventName]);
-    }
-
-    this._originalDispatch = InspectorBackend.dispatch;
-    InspectorBackend.dispatch = function(message)
-    {
-        InspectorTest._lastReceivedMessage = (typeof message === &quot;string&quot;) ? JSON.parse(message) : message;
-        InspectorTest._originalDispatch.apply(InspectorBackend, [message]);
-    }
-
-    this._originalSendMessageToBackend = InspectorFrontendHost.sendMessageToBackend;
-    InspectorFrontendHost.sendMessageToBackend = function(message)
-    {
-        InspectorTest._lastSentMessage = JSON.parse(message);
-        InspectorTest._originalSendMessageToBackend.apply(InspectorFrontendHost, [message]);
-    }
-
-    this._step = -1;
-
-    this._runNextTest();
-};
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourceharconversionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-har-conversion-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-har-conversion-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-har-conversion-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,226 +0,0 @@
</span><del>-Tests conversion of Inspector's resource representation into HAR format.
-
-Page reloaded.
-{
-    version : &lt;string&gt;
-    creator : {
-        name : &quot;WebInspector&quot;
-        version : &lt;string&gt;
-    }
-    pages : [
-        {
-            startedDateTime : &lt;object&gt;
-            id : &lt;string&gt;
-            title : &quot;http://127.0.0.1:8000/inspector/resource-har-conversion.html&quot;
-            pageTimings : {
-                onContentLoad : &lt;number&gt;
-                onLoad : &lt;number&gt;
-            }
-        }
-    ]
-    entries : [
-        {
-            pageref : &quot;page_1&quot;
-            startedDateTime : &lt;object&gt;
-            time : &lt;number&gt;
-            request : {
-                method : &quot;GET&quot;
-                url : &quot;http://127.0.0.1:8000/inspector/inspector-test.js&quot;
-                httpVersion : &quot;HTTP/1.1&quot;
-                headers : &lt;object&gt;
-                queryString : [
-                ]
-                cookies : [
-                    {
-                        name : &quot;a&quot;
-                        value : &quot;b&quot;
-                        path : &quot;/path&quot;
-                        domain : &quot;example.com&quot;
-                        expires : null
-                        httpOnly : false
-                        secure : false
-                    }
-                    {
-                        name : &quot;a1&quot;
-                        value : &quot;b1&quot;
-                        path : undefined
-                        domain : undefined
-                        expires : null
-                        httpOnly : false
-                        secure : false
-                    }
-                    {
-                        name : &quot;c1&quot;
-                        value : &quot;d1&quot;
-                        path : undefined
-                        domain : undefined
-                        expires : null
-                        httpOnly : false
-                        secure : false
-                    }
-                ]
-                headersSize : &lt;number&gt;
-                bodySize : &lt;number&gt;
-            }
-            response : {
-                status : 304
-                statusText : &quot;Not Modified&quot;
-                httpVersion : &quot;HTTP/1.1&quot;
-                headers : &lt;object&gt;
-                cookies : [
-                    {
-                        name : &quot;x&quot;
-                        value : &quot;y&quot;
-                        path : &quot;/path&quot;
-                        domain : &quot;example.com&quot;
-                        expires : null
-                        httpOnly : true
-                        secure : true
-                    }
-                    {
-                        name : &quot;x1&quot;
-                        value : &quot;y1&quot;
-                        path : undefined
-                        domain : undefined
-                        expires : null
-                        httpOnly : false
-                        secure : false
-                    }
-                    {
-                        name : &quot;z2&quot;
-                        value : &quot;y2&quot;
-                        path : undefined
-                        domain : undefined
-                        expires : null
-                        httpOnly : false
-                        secure : false
-                    }
-                ]
-                content : {
-                    size : &lt;number&gt;
-                    compression : &lt;number&gt;
-                    mimeType : &quot;text/plain&quot;
-                }
-                redirectURL : &quot;&quot;
-                headersSize : &lt;number&gt;
-                bodySize : &lt;number&gt;
-            }
-            cache : {
-            }
-            timings : &lt;object&gt;
-        }
-        {
-            pageref : &quot;page_1&quot;
-            startedDateTime : &lt;object&gt;
-            time : &lt;number&gt;
-            request : {
-                method : &quot;GET&quot;
-                url : &quot;http://127.0.0.1:8000/inspector/resource-har-conversion.html&quot;
-                httpVersion : &quot;HTTP/1.1&quot;
-                headers : &lt;object&gt;
-                queryString : [
-                ]
-                cookies : [
-                ]
-                headersSize : &lt;number&gt;
-                bodySize : &lt;number&gt;
-            }
-            response : {
-                status : 200
-                statusText : &quot;OK&quot;
-                httpVersion : &quot;HTTP/1.1&quot;
-                headers : &lt;object&gt;
-                cookies : [
-                ]
-                content : {
-                    size : &lt;number&gt;
-                    compression : &lt;number&gt;
-                    mimeType : &quot;text/html&quot;
-                }
-                redirectURL : &quot;&quot;
-                headersSize : &lt;number&gt;
-                bodySize : &lt;number&gt;
-            }
-            cache : {
-            }
-            timings : &lt;object&gt;
-        }
-        {
-            pageref : &quot;page_1&quot;
-            startedDateTime : &lt;object&gt;
-            time : &lt;number&gt;
-            request : {
-                method : &quot;GET&quot;
-                url : &quot;http://127.0.0.1:8000/inspector/resources-test.js&quot;
-                httpVersion : &quot;HTTP/1.1&quot;
-                headers : &lt;object&gt;
-                queryString : [
-                ]
-                cookies : [
-                ]
-                headersSize : &lt;number&gt;
-                bodySize : &lt;number&gt;
-            }
-            response : {
-                status : 304
-                statusText : &quot;Not Modified&quot;
-                httpVersion : &quot;HTTP/1.1&quot;
-                headers : &lt;object&gt;
-                cookies : [
-                ]
-                content : {
-                    size : &lt;number&gt;
-                    compression : &lt;number&gt;
-                    mimeType : &quot;text/plain&quot;
-                }
-                redirectURL : &quot;&quot;
-                headersSize : &lt;number&gt;
-                bodySize : &lt;number&gt;
-            }
-            cache : {
-            }
-            timings : &lt;object&gt;
-        }
-        {
-            pageref : &quot;page_1&quot;
-            startedDateTime : &lt;object&gt;
-            time : &lt;number&gt;
-            request : {
-                method : &quot;POST&quot;
-                url : &quot;http://127.0.0.1:8000/inspector/resources/post-target.cgi&quot;
-                httpVersion : &quot;HTTP/1.1&quot;
-                headers : &lt;object&gt;
-                queryString : [
-                ]
-                cookies : [
-                ]
-                headersSize : &lt;number&gt;
-                bodySize : &lt;number&gt;
-                postData : {
-                    mimeType : &quot;text/xml&quot;
-                    text : &quot;&lt;xml&gt;&lt;/xml&gt;&quot;
-                }
-            }
-            response : {
-                status : 200
-                statusText : &quot;OK&quot;
-                httpVersion : &quot;HTTP/1.1&quot;
-                headers : &lt;object&gt;
-                cookies : [
-                ]
-                content : {
-                    size : &lt;number&gt;
-                    compression : &lt;number&gt;
-                    mimeType : &quot;application/xml&quot;
-                }
-                redirectURL : &quot;&quot;
-                headersSize : &lt;number&gt;
-                bodySize : &lt;number&gt;
-            }
-            cache : {
-            }
-            timings : &lt;object&gt;
-        }
-    ]
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourceharconversionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-har-conversion.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-har-conversion.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-har-conversion.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,72 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function doXHR()
-{
-    var xhr = new XMLHttpRequest();
-    xhr.open(&quot;POST&quot;, &quot;resources/post-target.cgi&quot;, false);
-    xhr.setRequestHeader(&quot;Content-Type&quot;, &quot;text/xml&quot;);
-    xhr.send(&quot;&lt;xml&gt;&lt;/xml&gt;&quot;);
-}
-
-var test = function()
-{
-    InspectorTest.reloadPage(step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInPage(&quot;doXHR()&quot;, step2);
-    }
-
-    function step2()
-    {
-        function findRequestByURL(url)
-        {
-            var requests = WebInspector.networkLog.requests;
-            for (var i = 0; i &lt; requests.length; ++i) {
-                if (url.test(requests[i].url))
-                    return requests[i];
-            }
-        }
-
-        function addCookieHeadersToRequest(request)
-        {
-            request.requestHeaders = [
-                { name: &quot;Cookie&quot;, value: &quot;a=b; $Path=/path; $Domain=example.com; a1=b1\nc1=d1&quot; }
-            ];
-
-            request.responseHeaders = [
-                { name: &quot;Set-Cookie&quot;, value: &quot;x=y; Path=/path; Domain=example.com; Discard; httpOnly; Secure; Version=1\nx1=y1\nz2=y2&quot; }
-            ];
-        }
-
-        addCookieHeadersToRequest(findRequestByURL(/inspector-test\.js$/));
-        var log = (new WebInspector.HARLog(WebInspector.networkLog.requests)).build();
-        // Filter out favicon.ico requests that only appear on certain platforms.
-        log.entries = log.entries.filter(function(entry) {
-            return !/favicon\.ico$/.test(entry.request.url);
-        });
-        log.entries.sort(InspectorTest.requestURLComparer);
-        InspectorTest.addObject(log, InspectorTest.HARPropertyFormattersWithSize);
-        var pageTimings = log.pages[0].pageTimings;
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests conversion of Inspector's resource representation into HAR format.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourceharheadersexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-har-headers-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-har-headers-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-har-headers-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,72 +0,0 @@
</span><del>-Tests the nondeterministic bits of HAR conversion via the magic of hard-coded values.
-
-Resource:{
-    request : {
-        headers : [
-            {
-                name : &quot;Request&quot;
-                value : &quot;request-value&quot;
-            }
-        ]
-        headersSize : 72
-        headersText : &quot;GET http://example.com/inspector-test.js HTTP/1.1\r\nRequest: headers-text&quot;
-    }
-    response : {
-        headers : [
-            {
-                name : &quot;Response&quot;
-                value : &quot;response-value&quot;
-            }
-        ]
-        headersSize : 39
-        headersText : &quot;HTTP/1.1 200 OK\r\nResponse: headers-text&quot;
-        resourceSize : 1000
-        transferSize : 539
-    }
-}
-HAR:{
-    cache : {
-    }
-    request : {
-        bodySize : 0
-        cookies : [
-        ]
-        headers : [
-            {
-                name : &quot;Request&quot;
-                value : &quot;request-value&quot;
-            }
-        ]
-        headersSize : 72
-        httpVersion : &quot;HTTP/1.1&quot;
-        method : &quot;GET&quot;
-        queryString : [
-        ]
-        url : &quot;http://example.com/inspector-test.js&quot;
-    }
-    response : {
-        bodySize : 500
-        content : {
-            compression : 500
-            mimeType : &quot;text/html&quot;
-            size : 1000
-        }
-        cookies : [
-        ]
-        headers : [
-            {
-                name : &quot;Response&quot;
-                value : &quot;response-value&quot;
-            }
-        ]
-        headersSize : 39
-        httpVersion : &quot;HTTP/1.1&quot;
-        redirectURL : &quot;&quot;
-        status : 200
-        statusText : &quot;OK&quot;
-    }
-    startedDateTime : &lt;object&gt;
-    time : &lt;number&gt;
-    timings : &lt;object&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourceharheadershtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-har-headers.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-har-headers.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-har-headers.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-var test = function()
-{
-    function visibleNewlines(s)
-    {
-        return s.replace(/\r/, &quot;\\r&quot;).replace(/\n/, &quot;\\n&quot;);
-    }
-
-    function setRequestValues(request)
-    {
-        request.requestHeaders = [
-            { name: &quot;Request&quot;, value: &quot;request-value&quot; }
-        ];
-        request.requestHeadersText = &quot;GET http://example.com/inspector-test.js HTTP/1.1\r\nRequest: headers-text&quot;;
-
-        request.responseHeaders = [
-            { name: &quot;Response&quot;, value: &quot;response-value&quot; }
-        ];
-        request.responseHeadersText = &quot;HTTP/1.1 200 OK\r\nResponse: headers-text&quot;;
-
-        request.documentURL = &quot;http://example.com/inspector-test.js&quot;;
-        request.requestMethod = &quot;GET&quot;;
-        request.mimeType = &quot;text/html&quot;;
-        request.statusCode = 200;
-        request.statusText = &quot;OK&quot;;
-        request.resourceSize = 1000;
-        request._transferSize = 539; // 39 = header size at the end of the day
-    }
-
-    var testRequest = new WebInspector.NetworkRequest(&quot;testRequest&quot;, &quot;http://example.com/inspector-test.js&quot;, 1); 
-    setRequestValues(testRequest);
-    var requestResults = {
-        &quot;request&quot;: {
-            &quot;headers&quot;: testRequest.requestHeaders,
-            &quot;headersText&quot;: visibleNewlines(testRequest.requestHeadersText),
-            &quot;headersSize&quot;: testRequest.requestHeadersSize,
-        },
-        &quot;response&quot;: {
-            &quot;headers&quot;: testRequest.responseHeaders,
-            &quot;headersText&quot;: visibleNewlines(testRequest.responseHeadersText),
-            &quot;headersSize&quot;: testRequest.responseHeadersSize,
-            &quot;resourceSize&quot;: testRequest.resourceSize,
-            &quot;transferSize&quot;: testRequest.transferSize
-        }
-    };
-    InspectorTest.addObject(requestResults, {}, &quot;&quot;, &quot;Resource:&quot;);
-
-    var stillNondeterministic = {
-        &quot;startedDateTime&quot;: &quot;formatAsTypeName&quot;,
-        &quot;time&quot;: &quot;formatAsTypeName&quot;,
-        &quot;timings&quot;: &quot;formatAsTypeName&quot;
-    };
-    InspectorTest.addObject(new WebInspector.HAREntry(testRequest).build(), stillNondeterministic, &quot;&quot;, &quot;HAR:&quot;);
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the nondeterministic bits of HAR conversion via the magic of hard-coded values.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourceharpagesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-har-pages-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-har-pages-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-har-pages-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-Tests conversion of Inspector's resource representation into HAR format.
-
-{
-    0 : {
-        id : &lt;string&gt;
-        pageTimings : {
-            onContentLoad : &lt;number&gt;
-            onLoad : &lt;number&gt;
-        }
-        startedDateTime : &lt;plausible&gt;
-        title : &quot;http://127.0.0.1:8000/resources/redirect.php?url=/inspector/resources/har-pages-navigation-target.html&quot;
-    }
-    1 : {
-        id : &lt;string&gt;
-        pageTimings : {
-            onContentLoad : &lt;number&gt;
-            onLoad : &lt;number&gt;
-        }
-        startedDateTime : &lt;plausible&gt;
-        title : &quot;http://127.0.0.1:8000/inspector/resource-har-pages.html&quot;
-    }
-}
-page: page_2 url: http://127.0.0.1:8000/inspector/inspector-test.js
-page: page_2 url: http://127.0.0.1:8000/inspector/resource-har-pages.html
-page: page_2 url: http://127.0.0.1:8000/inspector/resources-test.js
-page: page_1 url: http://127.0.0.1:8000/inspector/resources/har-pages-iframe.html
-page: page_1 url: http://127.0.0.1:8000/inspector/resources/har-pages-navigation-target.html
-page: page_1 url: http://127.0.0.1:8000/inspector/resources/source1.js
-page: page_1 url: http://127.0.0.1:8000/resources/redirect.php?url=/inspector/resources/har-pages-navigation-target.html
-Page reloaded.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourceharpageshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-har-pages.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-har-pages.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-har-pages.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-var test = function()
-{
-    function step1()
-    {
-        var hadNavigation = false;
-
-        function onRequestFinished(event)
-        {
-            var request = event.data;
-            if (/\/har-pages-navigation-target\.html$/.test(request.url))
-                hadNavigation = true;
-            if (hadNavigation &amp;&amp; /\/resource-har-pages\.html$/.test(request.url)) {
-                WebInspector.networkManager.removeEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequestFinished)
-                step2();
-            }
-        }
-        WebInspector.showPanel(&quot;network&quot;);
-        var networkLogView = WebInspector.panel(&quot;network&quot;)._networkLogView;
-        // networkLogView.clear();
-        networkLogView._preserveLogToggle.toggled = true;
-        WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequestFinished);
-        InspectorTest.evaluateInPage(&quot;location.href = '/resources/redirect.php?url=/inspector/resources/har-pages-navigation-target.html';&quot;);
-    }
-
-    function step2()
-    {
-        var log = (new WebInspector.HARLog(WebInspector.panel(&quot;network&quot;)._networkLogView._requests)).build();
-        InspectorTest.addObject(log.pages, InspectorTest.HARPropertyFormattersWithSize);
-
-        // Filter out favicon.ico requests that only appear on certain platforms.
-        log.entries = log.entries.filter(function(entry) {
-            return !/favicon\.ico$/.test(entry.request.url);
-        });
-        log.entries.sort(InspectorTest.requestURLComparer);
-        for (var i = 0; i &lt; log.entries.length; ++i) {
-            var entry = log.entries[i];
-            InspectorTest.addResult(&quot;page: &quot; + entry.pageref + &quot; url: &quot; + entry.request.url);
-        }
-        InspectorTest.completeTest();
-    }
-
-    step1();
-}
-
-&lt;/script&gt;
-
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests conversion of Inspector's resource representation into HAR format.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcemaincookiesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-main-cookies-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-main-cookies-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-main-cookies-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-This tests that the cookie set by main resource is shown in resources panel.
-
-bug 65770.
-Page reloaded.
-Cookie: cookieName=cookieValue.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcemaincookiesphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-main-cookies.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-main-cookies.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-main-cookies.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;?php
-    if (!$_COOKIE[&quot;cookieName&quot;])
-        setcookie(&quot;cookieName&quot;, &quot;cookieValue&quot;);
-?&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var cookieName = &quot;cookieName&quot;;
-    var cookieDomain = &quot;127.0.0.1&quot;;
-    var cookieURL = &quot;http://&quot; + cookieDomain + &quot;/&quot;;
-    // Ensure cookie is deleted before testing.
-    PageAgent.deleteCookie(cookieName, cookieURL, step1);
-
-    function step1()
-    {
-        InspectorTest.reloadPage(step2);
-    }
-
-    function step2()
-    {
-        WebInspector.Cookies.getCookiesAsync(step3);
-    }
-
-    function step3(allCookies)
-    {
-        for (var i = 0; i &lt; allCookies.length; i++) {
-          var cookie = allCookies[i];
-            if (cookie.name() === cookieName &amp;&amp; cookie.domain() == cookieDomain) {
-                InspectorTest.addResult(&quot;Cookie: &quot; + cookie.name() + &quot;=&quot; + cookie.value() + &quot;.&quot;);
-            }
-        }
-        // Ensure cookie is deleted after testing.
-        PageAgent.deleteCookie(cookieName, cookieURL, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt;This tests that the cookie set by main resource is shown in resources panel.&lt;/p&gt;
-    &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65770&quot;&gt;bug 65770&lt;/a&gt;.
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourceparametersexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-parameters-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-parameters-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-parameters-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,62 +0,0 @@
</span><del>-Tests that resources panel shows form data parameters.
-
-  
-
-{
-    cache : {
-    }
-    request : {
-        bodySize : &lt;number&gt;
-        cookies : [
-        ]
-        headers : &lt;object&gt;
-        headersSize : &lt;number&gt;
-        httpVersion : &quot;HTTP/1.1&quot;
-        method : &quot;POST&quot;
-        postData : {
-            mimeType : &quot;application/x-www-form-urlencoded&quot;
-            params : [
-                {
-                    name : &quot;formParam1&quot;
-                    value : &quot;formValue1&quot;
-                }
-                {
-                    name : &quot;formParam2&quot;
-                    value : &quot;&quot;
-                }
-            ]
-            text : &quot;formParam1=formValue1&amp;formParam2=&quot;
-        }
-        queryString : [
-            {
-                name : &quot;queryParam1&quot;
-                value : &quot;queryValue1&quot;
-            }
-            {
-                name : &quot;queryParam2&quot;
-                value : &quot;&quot;
-            }
-        ]
-        url : &quot;http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&amp;queryParam2=&quot;
-    }
-    response : {
-        bodySize : &lt;number&gt;
-        content : {
-            compression : &lt;number&gt;
-            mimeType : &quot;application/xml&quot;
-            size : 14
-        }
-        cookies : [
-        ]
-        headers : &lt;object&gt;
-        headersSize : &lt;number&gt;
-        httpVersion : &quot;HTTP/1.1&quot;
-        redirectURL : &quot;&quot;
-        status : 200
-        statusText : &quot;OK&quot;
-    }
-    startedDateTime : &lt;plausible&gt;
-    time : &lt;number&gt;
-    timings : &lt;object&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourceparametershtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-parameters.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-parameters.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-parameters.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-function submit()
-{
-    document.getElementById(&quot;submit&quot;).click();
-}
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;submit()&quot;);
-    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequestFinished);
-
-    function onRequestFinished(event)
-    {
-        var request = event.data;
-        if (request.url !== &quot;http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&amp;queryParam2=#fragmentParam1=fragmentValue1&amp;fragmentParam2=&quot;)
-            return;
-        InspectorTest.addObject(new WebInspector.HAREntry(request).build(), InspectorTest.HARPropertyFormatters);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that resources panel shows form data parameters.
-&lt;/p&gt;
-&lt;form target=&quot;target-iframe&quot; method=&quot;POST&quot; action=&quot;http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&amp;queryParam2=#fragmentParam1=fragmentValue1&amp;fragmentParam2=&quot;&gt;
-&lt;input name=&quot;formParam1&quot; value=&quot;formValue1&quot;&gt;
-&lt;input name=&quot;formParam2&quot;&gt;
-&lt;input id=&quot;submit&quot; type=&quot;submit&quot;&gt;
-&lt;/form&gt;
-&lt;iframe name=&quot;target-iframe&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentafterloadingandclearingcacheexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-Tests resource content is correctly loaded if Resource.requestContent was called before network request was finished.
-
-Bug 90153
-Adding dynamic script: 
-Waiting for script request to finish: 
-Clearing memory cache: 
-Requesting content: 
-Resource url: http://127.0.0.1:8000/inspector/resource-tree/resources/dynamic-script.js
-Resource content: function foo() {
-}
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentafterloadingandclearingcachehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
-&lt;script&gt;
-function createScriptTag()
-{
-    var scriptElement = document.createElement(&quot;script&quot;);
-    scriptElement.src = &quot;resources/dynamic-script.js&quot;;
-    document.head.appendChild(scriptElement);
-}
-
-function test()
-{
-    InspectorTest.addResult(&quot;Adding dynamic script: &quot;);
-    InspectorTest.evaluateInPage(&quot;createScriptTag()&quot;, step2);
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;Waiting for script request to finish: &quot;);
-        InspectorTest.runAfterResourcesAreFinished([&quot;dynamic-script.js&quot;], step3)
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;Clearing memory cache: &quot;);
-        NetworkAgent.setCacheDisabled(true, step4);
-    }
-
-    function step4()
-    {
-        NetworkAgent.setCacheDisabled(false, step5);
-    }
-
-    var resource;
-    function step5()
-    {
-        InspectorTest.addResult(&quot;Requesting content: &quot;);
-        resource = InspectorTest.resourceMatchingURL(&quot;dynamic-script.js&quot;);
-        resource.requestContent(step6);
-    }
-
-    function step6(content)
-    {
-        InspectorTest.assertTrue(!!content, &quot;No content available.&quot;);
-        InspectorTest.addResult(&quot;Resource url: &quot; + resource.url);
-        InspectorTest.addResult(&quot;Resource content: &quot; + content);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests resource content is correctly loaded if Resource.requestContent was called before network request was finished.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=90153&quot;&gt;Bug 90153&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentwhileloadingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests resource content is correctly loaded if Resource.requestContent was called before network request was finished.
-
-Bug 90153
-Resource url: http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-Resource content: html {
-    background-color: green;
-}
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentwhileloadinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadStylesheet()
-{
-    var styleElement = document.createElement(&quot;link&quot;);
-    styleElement.rel = &quot;stylesheet&quot;;
-    styleElement.href = &quot;resources/styles-initial.css&quot;;
-    document.head.appendChild(styleElement);
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector.ResourceTreeFrame.prototype, &quot;_addRequest&quot;, requestAdded, true);
-    InspectorTest.addSniffer(PageAgent, &quot;getResourceContent&quot;, pageAgentGetResourceContentCalled, true);
-    InspectorTest.evaluateInPage(&quot;loadStylesheet()&quot;);
-    var contentWasRequested = false;
-    var resource;
-
-    function requestAdded(request)
-    {
-        if (request.url.indexOf(&quot;styles-initial&quot;) === -1)
-            return;
-        resource = InspectorTest.resourceMatchingURL(&quot;styles-initial&quot;);
-        if (!resource || !resource.request || contentWasRequested)
-            return;
-        resource.requestContent(contentLoaded);
-        contentWasRequested = true;
-    }
-
-    function pageAgentGetResourceContentCalled()
-    {
-        InspectorTest.assertTrue(resource.request.finished);
-    }
-
-    function contentLoaded(content)
-    {
-        InspectorTest.addResult(&quot;Resource url: &quot; + resource.url);
-        InspectorTest.addResult(&quot;Resource content: &quot; + content);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests resource content is correctly loaded if Resource.requestContent was called before network request was finished.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=90153&quot;&gt;Bug 90153&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreedocumenturlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests that resources have proper documentURL set in the tree model.
-
-
-http://127.0.0.1:8000/inspector/inspector-test.js =&gt; http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html =&gt; http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js =&gt; http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html
-http://127.0.0.1:8000/inspector/resource-tree/resources/dummy-iframe.html =&gt; http://127.0.0.1:8000/inspector/resource-tree/resources/dummy-iframe.html
-http://127.0.0.1:8000/inspector/resources-test.js =&gt; http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreedocumenturlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.runAfterResourcesAreFinished([&quot;dummy-iframe.html&quot;, &quot;inspector-test.js&quot;, &quot;resources-test.js&quot;, &quot;resource-tree-test.js&quot;], step1);
-
-    function step1()
-    {
-        function formatter(resource)
-        {
-            return resource.url + &quot; =&gt; &quot; + resource.documentURL;
-        }
-    
-        InspectorTest.dumpResources(formatter);    
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Tests that resources have proper documentURL set in the tree model.
-&lt;/p&gt;
-
-&lt;iframe src=&quot;resources/dummy-iframe.html&quot; onload=&quot;runTest()&quot;&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeerrorsreloadexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 4: Console error 1.
-CONSOLE MESSAGE: line 5: Console error 2.
-CONSOLE MESSAGE: line 4: Console error 1.
-CONSOLE MESSAGE: line 5: Console error 2.
-Tests that console messages are matched to resources after page reload.
-
-Bug 60701
-Page reloaded.
-Number of errors for the main resource: 2
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeerrorsreloadhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,55 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-console.error(&quot;Console error 1.&quot;);
-console.error(&quot;Console error 2.&quot;);
-&lt;/script&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var resourcesWereFinished = false;
-    var pageWasReloaded = false;
-
-    WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.MainFrameNavigated, frameNavigated);
-    InspectorTest.reloadPage(pageReloaded);
-
-    function frameNavigated()
-    {
-        InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-errors-reload.html&quot;], resourcesFinished);
-    }
-
-    function resourcesFinished()
-    {
-        if (pageWasReloaded)
-            step1();
-        else
-            resourcesWereFinished = true;
-    }
-
-    function pageReloaded()
-    {
-        if (resourcesWereFinished)
-            step1();
-        else
-            pageWasReloaded = true;
-
-    }
-
-    function step1()
-    {
-        var resource = WebInspector.resourceTreeModel.resourceForURL(&quot;http://127.0.0.1:8000/inspector/resource-tree/resource-tree-errors-reload.html&quot;);
-        InspectorTest.addResult(&quot;Number of errors for the main resource: &quot; + resource.errors);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that console messages are matched to resources after page reload.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60701&quot;&gt;Bug 60701&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeeventsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-Tests top frame navigation events.
-
-
-Navigating child frame 1
-    FrameAdded : child1
-    FrameNavigated : child1
-    SecurityOriginAdded : http://frame/child1.html
-Navigating child frame 1 to a different URL
-    SecurityOriginRemoved : http://frame/child1.html
-    FrameNavigated : child1
-    SecurityOriginAdded : http://frame/child1-new.html
-Navigating child frame 2
-    FrameAdded : child2
-    FrameNavigated : child2
-    SecurityOriginAdded : http://frame/child2.html
-Detaching child frame 1
-    SecurityOriginRemoved : http://frame/child1-new.html
-    FrameDetached : child1
-Navigating root frame
-    SecurityOriginRemoved : http://frame/child2.html
-    SecurityOriginRemoved : http://frame/root1.html
-    FrameDetached : child2
-    FrameDetached : root1
-    FrameAdded : root2
-    FrameNavigated : root2
-    MainFrameNavigated : root2
-    SecurityOriginAdded : http://frame/root2.html
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeeventshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,80 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.runAfterResourcesAreFinished([&quot;dummy-iframe.html&quot;, &quot;inspector-test.js&quot;, &quot;resources-test.js&quot;, &quot;resource-tree-test.js&quot;], step1);
-
-    function step1()
-    {
-        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;root1&quot;));
-
-        for (var eventName in WebInspector.ResourceTreeModel.EventTypes)
-            WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes[eventName], eventHandler.bind(this, eventName));
-    
-        function eventHandler(eventName, event)
-        {
-            switch (eventName) {
-            case &quot;FrameAdded&quot;:
-            case &quot;FrameNavigated&quot;:
-            case &quot;FrameDetached&quot;:
-            case &quot;MainFrameNavigated&quot;:
-                var frame = event.data;
-                InspectorTest.addResult(&quot;    &quot; + eventName + &quot; : &quot; + frame.id);
-                break;
-            case &quot;SecurityOriginAdded&quot;:
-            case &quot;SecurityOriginRemoved&quot;:
-                var securityOrigin = event.data;
-                InspectorTest.addResult(&quot;    &quot; + eventName + &quot; : &quot; + securityOrigin);
-                break;
-            default:
-            }
-            
-        }
-
-        InspectorTest.addResult(&quot;Navigating child frame 1&quot;);
-        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;child1&quot;, &quot;root1&quot;));
-        InspectorTest.addResult(&quot;Navigating child frame 1 to a different URL&quot;);
-        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;child1&quot;, &quot;root1&quot;, &quot;child1-new&quot;));
-        InspectorTest.addResult(&quot;Navigating child frame 2&quot;);
-        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;child2&quot;, &quot;root1&quot;));
-        InspectorTest.addResult(&quot;Detaching child frame 1&quot;);
-        WebInspector.resourceTreeModel._frameDetached(&quot;child1&quot;);
-
-        InspectorTest.addResult(&quot;Navigating root frame&quot;);
-        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;root2&quot;));
-        InspectorTest.completeTest();
-    }
-
-    function createFramePayload(id, parentId, name)
-    {
-        var framePayload = {};
-        framePayload.id = id;
-        framePayload.parentId = parentId || &quot;&quot;;
-        framePayload.loaderId = &quot;loader-&quot; + id;
-        framePayload.name = &quot;frame-&quot; + id;
-        framePayload.url = &quot;http://frame/&quot; + (name || id) + &quot;.html&quot;;
-        framePayload.securityOrigin = framePayload.url;
-        framePayload.mimeType = &quot;text/html&quot;;
-        return framePayload;
-    }
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Tests top frame navigation events.
-&lt;/p&gt;
-
-&lt;iframe src=&quot;resources/dummy-iframe.html&quot; onload=&quot;runTest()&quot;&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframeaddexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,69 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 21: iframe navigated
-Tests resource tree model on iframe addition, compares resource tree against golden. Every line is important.
-
-Before addition
-====================================
-Resources:
-script http://127.0.0.1:8000/inspector/inspector-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html
-script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-script http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources URL Map:
-http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources Tree:
-Frames
-    (resource-tree-frame-add.html)
-        Scripts
-            inspector-test.js
-            resource-tree-test.js
-            resources-test.js
-        Stylesheets
-            styles-initial.css
-        resource-tree-frame-add.html
-
-After addition
-====================================
-Resources:
-script http://127.0.0.1:8000/inspector/inspector-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html
-script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html
-script http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css
-script http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources URL Map:
-http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html == http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html
-http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js == http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css
-http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources Tree:
-Frames
-    (resource-tree-frame-add.html)
-        (resource-tree-frame-add-iframe.html)
-            Scripts
-                script-navigated.js
-            Stylesheets
-                styles-navigated.css
-            resource-tree-frame-add-iframe.html
-        Scripts
-            inspector-test.js
-            resource-tree-test.js
-            resources-test.js
-        Stylesheets
-            styles-initial.css
-        resource-tree-frame-add.html
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframeaddhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,63 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
-
-&lt;script&gt;
-
-function createIframe()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.setAttribute(&quot;src&quot;, &quot;resources/resource-tree-frame-add-iframe.html&quot;);
-    iframe.onload = onIframeLoad;
-    document.body.appendChild(iframe);
-}
-
-function onIframeLoad()
-{
-    console.log(&quot;iframe navigated&quot;);
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;resources&quot;);
-    InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-frame-add.html&quot;, &quot;resource-tree-test.js&quot;, &quot;styles-initial.css&quot;], step1);
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Before addition&quot;);
-        InspectorTest.addResult(&quot;====================================&quot;);
-        InspectorTest.dumpResourceTreeEverything();
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;createIframe()&quot;);
-    }
-
-    function step2()
-    {
-        InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-frame-add-iframe.html&quot;, &quot;styles-navigated.css&quot;, &quot;script-navigated.js&quot;], step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(&quot;After addition&quot;);
-        InspectorTest.addResult(&quot;====================================&quot;);
-        InspectorTest.dumpResourceTreeEverything();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests resource tree model on iframe addition, compares resource tree against golden. Every line is important.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframenavigateexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,81 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 22: iframe navigated
-Tests resource tree model on iframe navigation, compares resource tree against golden. Every line is important.
-
-Before navigation
-====================================
-Resources:
-script http://127.0.0.1:8000/inspector/inspector-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html
-script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html
-script http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-script http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources URL Map:
-http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html == http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html
-http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js == http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources Tree:
-Frames
-    (resource-tree-frame-navigate.html)
-        iframe(resource-tree-frame-navigate-iframe-before.html)
-            Scripts
-                script-initial.js
-            Stylesheets
-                styles-initial-2.css
-            resource-tree-frame-navigate-iframe-before.html
-        Scripts
-            inspector-test.js
-            resource-tree-test.js
-            resources-test.js
-        Stylesheets
-            styles-initial.css
-        resource-tree-frame-navigate.html
-
-After navigation
-====================================
-Resources:
-script http://127.0.0.1:8000/inspector/inspector-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html
-script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html
-script http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css
-script http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources URL Map:
-http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html == http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html
-http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js == http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css
-http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources Tree:
-Frames
-    (resource-tree-frame-navigate.html)
-        iframe(resource-tree-frame-navigate-iframe-after.html)
-            Scripts
-                script-navigated.js
-            Stylesheets
-                styles-navigated.css
-            resource-tree-frame-navigate-iframe-after.html
-        Scripts
-            inspector-test.js
-            resource-tree-test.js
-            resources-test.js
-        Stylesheets
-            styles-initial.css
-        resource-tree-frame-navigate.html
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframenavigatehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,66 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
-
-&lt;script&gt;
-
-function navigateIframe()
-{
-    var iframe = document.getElementById(&quot;iframe&quot;);
-    iframe.removeAttribute(&quot;onload&quot;);
-    iframe.onload = onIframeLoad;
-    iframe.setAttribute(&quot;src&quot;, &quot;resources/resource-tree-frame-navigate-iframe-after.html&quot;);
-    document.body.appendChild(iframe);
-}
-
-function onIframeLoad()
-{
-    console.log(&quot;iframe navigated&quot;);
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;resources&quot;);
-    InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-frame-navigate-iframe-before.html&quot;, &quot;script-initial.js&quot;, &quot;styles-initial.css&quot;, &quot;styles-initial-2.css&quot;], step1);
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Before navigation&quot;);
-        InspectorTest.addResult(&quot;====================================&quot;);
-        InspectorTest.dumpResourceTreeEverything();
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;navigateIframe()&quot;);
-    }
-
-    function step2()
-    {
-        InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-frame-navigate-iframe-after.html&quot;, &quot;styles-navigated.css&quot;, &quot;script-navigated.js&quot;], step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(&quot;After navigation&quot;);
-        InspectorTest.addResult(&quot;====================================&quot;);
-        InspectorTest.dumpResourceTreeEverything();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Tests resource tree model on iframe navigation, compares resource tree against golden. Every line is important.
-&lt;/p&gt;
-
-&lt;iframe id=&quot;iframe&quot; src=&quot;resources/resource-tree-frame-navigate-iframe-before.html&quot; onload=&quot;runTest()&quot;&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeinvalidmimetypecsscontentexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests that content is correctly shown for css loaded with invalid mime type in quirks mode.
-
-Bug 80528
-http://127.0.0.1:8000/inspector/resource-tree/resources/stylesheet-text-plain.php
-Resource.content: body {
-    background-color: green:
-}
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeinvalidmimetypecsscontenthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/stylesheet-text-plain.php&quot; type=&quot;text/css&quot;&gt;
-&lt;script&gt;
-function test()
-{
-    var cssResource;
-
-    InspectorTest.runAfterResourcesAreFinished([&quot;stylesheet-text-plain.php&quot;], step1);
-
-    function step1()
-    {
-        WebInspector.resourceTreeModel.forAllResources(findCSSResource);
-        function findCSSResource(resource)
-        {
-            if (resource.url.indexOf(&quot;stylesheet-text-plain.php&quot;) !== -1)
-                cssResource = resource;
-        }
-        InspectorTest.addResult(cssResource.url);
-        InspectorTest.assertEquals(cssResource.type, WebInspector.resourceTypes.Stylesheet, &quot;Resource type should be Stylesheet.&quot;);
-        InspectorTest.assertTrue(!cssResource.failed, &quot;Resource loading failed.&quot;);
-        cssResource.requestContent(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;Resource.content: &quot; + cssResource.content);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that content is correctly shown for css loaded with invalid mime type in quirks mode.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=80528&quot;&gt;Bug 80528&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreemimetypeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests that resources panel correctly shows mime type when it loads data from memory cache.
-
-Bug 63701 
-script application/x-javascript http://127.0.0.1:8000/inspector/inspector-test.js
-document text/html http://127.0.0.1:8000/inspector/resource-tree/resource-tree-mimetype.html
-script application/x-javascript http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-image image/png http://127.0.0.1:8000/inspector/resource-tree/resources/empty.png
-stylesheet text/css http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreemimetypehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
-&lt;script&gt;
-function test()
-{
-    WebInspector.panel(&quot;network&quot;)._reset();
-    WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.CachedResourcesLoaded, step2);
-    WebInspector.resourceTreeModel._fetchResourceTree();
-
-    function step2()
-    {
-        function format(resource)
-        {
-            return resource.type.name() + &quot; &quot; + resource.mimeType + &quot; &quot; + resource.url;
-        }
-
-        InspectorTest.dumpResources(format);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that resources panel correctly shows mime type when it loads data from memory cache.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=63701&quot;&gt;Bug 63701&lt;/a&gt;
-&lt;img src=&quot;resources/empty.png&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenoxhrsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: XHR loaded: 1
-Tests that XHRs are not added to resourceTreeModel.
-
-Bug 60321
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenoxhrshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, false, step2);
-
-    function step2()
-    {
-        var resource = WebInspector.resourceTreeModel.resourceForURL(&quot;http://127.0.0.1:8000/inspector/resource-tree/resources/resource.php&quot;);
-        InspectorTest.assertTrue(!resource, &quot;XHR resource should not be added to resourceTreeModel.&quot;);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that XHRs are not added to resourceTreeModel.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60321&quot;&gt;Bug 60321&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenonuniqueurlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-Tests resources panel shows several resources with the same url if they were loaded with inspector already opened.
-
-
-Resources Tree:
-Frames
-    (resource-tree-non-unique-url.html)
-        (resource-tree-non-unique-url-iframe.html)
-            Images
-                styles-non-unique-url.css
-            Stylesheets
-                styles-non-unique-url.css
-            resource-tree-non-unique-url-iframe.html
-        Scripts
-            inspector-test.js
-            resource-tree-test.js
-            resources-test.js
-        resource-tree-non-unique-url.html
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenonuniqueurlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function loadIframe()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    document.body.appendChild(iframe);
-    iframe.src = &quot;resources/resource-tree-non-unique-url-iframe.html&quot;;
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;resources&quot;);
-    InspectorTest.addSniffer(WebInspector.FrameTreeElement.prototype, &quot;appendResource&quot;, onResource, true);
-
-    var cssRequestsCount = 0;
-    function onResource(resource)
-    {
-        if (resource.url.match(/\.css$/) &amp;&amp; ++cssRequestsCount === 2) {
-            InspectorTest.addResult(&quot;Resources Tree:&quot;);
-            InspectorTest.dumpResourcesTree();
-            InspectorTest.completeTest();
-        }
-    }
-
-    InspectorTest.evaluateInPage(&quot;loadIframe();&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests resources panel shows several resources with the same url if they were loaded with inspector already opened.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreereloadexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-Tests resource tree model on page reload, compares resource tree against golden. Every line is important.
-
-
-Page reloaded.
-Resources:
-script http://127.0.0.1:8000/inspector/inspector-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-reload.html
-script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-document http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-reload-iframe.html
-script http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css
-stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-script http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources URL Map:
-http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-reload.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-reload.html
-http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-reload-iframe.html == http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-reload-iframe.html
-http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js == http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css
-http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
-http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
-
-Resources Tree:
-Frames
-    (resource-tree-reload.html)
-        (resource-tree-reload-iframe.html)
-            Scripts
-                script-initial.js
-            Stylesheets
-                styles-initial-2.css
-            resource-tree-reload-iframe.html
-        Scripts
-            inspector-test.js
-            resource-tree-test.js
-            resources-test.js
-        Stylesheets
-            styles-initial.css
-        resource-tree-reload.html
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreereloadhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;resources&quot;);
-
-    InspectorTest.reloadPage(step1);
-
-    function step1()
-    {
-        InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-reload-iframe.html&quot;, &quot;script-initial.js&quot;, &quot;styles-initial-2.css&quot;], step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.dumpResourceTreeEverything();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Tests resource tree model on page reload, compares resource tree against golden. Every line is important.
-&lt;/p&gt;
-
-&lt;iframe src=&quot;resources/resource-tree-reload-iframe.html&quot; onload=&quot;runTest()&quot;&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcetreetestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,89 +0,0 @@
</span><del>-var initialize_ResourceTreeTest = function() {
-
-InspectorTest.dumpResources = function(formatter)
-{
-    var results = [];
-
-    function formatterWrapper(resource)
-    {
-        if (formatter)
-            results.push({ resource: resource, text: formatter(resource) });
-        else
-            results.push({ resource: resource, text: resource.url });
-    }
-
-    WebInspector.resourceTreeModel.forAllResources(formatterWrapper);
-
-    function comparator(result1, result2)
-    {
-        return result1.resource.url.localeCompare(result2.resource.url);
-    }
-    results.sort(comparator);
-
-    for (var i = 0; i &lt; results.length; ++i)
-        InspectorTest.addResult(results[i].text);
-}
-
-InspectorTest.dumpResourcesURLMap = function()
-{
-    var results = [];
-    WebInspector.resourceTreeModel.forAllResources(collect);
-    function collect(resource)
-    {
-        results.push({ url: resource.url, resource: WebInspector.resourceTreeModel.resourceForURL(resource.url) });
-    }
-
-    function comparator(result1, result2)
-    {
-        if (result1.url &gt; result2.url)
-            return 1;
-        if (result2.url &gt; result1.url)
-            return -1;
-        return 0;
-    }
-
-    results.sort(comparator);
-
-    for (var i = 0; i &lt; results.length; ++i)
-        InspectorTest.addResult(results[i].url + &quot; == &quot; + results[i].resource.url);
-}
-
-InspectorTest.dumpResourcesTree = function()
-{
-    function dump(treeItem, prefix)
-    {
-        // We don't need to print the bubbles content here.
-        if (typeof(treeItem._resetBubble) === &quot;function&quot;)
-            treeItem._resetBubble();
-
-        InspectorTest.addResult(prefix + treeItem.listItemElement.textContent);
-
-        treeItem.expand();
-        var children = treeItem.children;
-        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i)
-            dump(children[i], prefix + &quot;    &quot;);
-    }
-
-    dump(WebInspector.showPanel(&quot;resources&quot;).resourcesListTreeElement, &quot;&quot;);
-}
-
-InspectorTest.dumpResourceTreeEverything = function()
-{
-    function format(resource)
-    {
-        return resource.type.name() + &quot; &quot; + resource.url;
-    }
-
-    InspectorTest.addResult(&quot;Resources:&quot;);
-    InspectorTest.dumpResources(format);
-
-    InspectorTest.addResult(&quot;&quot;);
-    InspectorTest.addResult(&quot;Resources URL Map:&quot;);
-    InspectorTest.dumpResourcesURLMap();
-
-    InspectorTest.addResult(&quot;&quot;);
-    InspectorTest.addResult(&quot;Resources Tree:&quot;);
-    InspectorTest.dumpResourcesTree();
-}
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesdummyiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dummy-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dummy-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dummy-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesdynamicscriptjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dynamic-script.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dynamic-script.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dynamic-script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-function foo() {
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesemptypng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/empty.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframeaddiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;html&gt;
-
-&lt;head&gt;
-&lt;script src=&quot;script-navigated.js&quot;&gt;&lt;/script&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-navigated.css&quot;&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframenavigateiframeafterhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;html&gt;
-
-&lt;head&gt;
-&lt;script src=&quot;script-navigated.js&quot;&gt;&lt;/script&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-navigated.css&quot;&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframenavigateiframebeforehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;html&gt;
-
-&lt;head&gt;
-&lt;script src=&quot;script-initial.js&quot;&gt;&lt;/script&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-initial-2.css&quot;&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreenonuniqueurliframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-non-unique-url-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-non-unique-url-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-non-unique-url-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-non-unique-url.css&quot;&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreereloadiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-reload-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-reload-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-reload-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;html&gt;
-
-&lt;head&gt;
-&lt;script src=&quot;script-initial.js&quot;&gt;&lt;/script&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-initial-2.css&quot;&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesscriptinitialjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-initial.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-initial.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-initial.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-function foo() {
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesscriptnavigatedjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-function foo() {
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesinitial2css"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial-2.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial-2.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial-2.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-html {
-    background-color: green;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesinitialcss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-html {
-    background-color: green;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesnavigatedcss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-navigated.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-navigated.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-navigated.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-html {
-    background-color: green;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesnonuniqueurlcss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-non-unique-url.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-non-unique-url.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-non-unique-url.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-body {
-    background: url();
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesheettextplainphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resource-tree/resources/stylesheet-text-plain.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resource-tree/resources/stylesheet-text-plain.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resource-tree/resources/stylesheet-text-plain.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-&lt;?php
-    header(&quot;Content-Type: text/plain&quot;);
-?&gt;
-body {
-    background-color: green:
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcescompiledjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/compiled.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/compiled.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/compiled.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-window.addEventListener(&quot;load&quot;,function(){var a=document.createElement(&quot;button&quot;);a.id=&quot;test&quot;;a.addEventListener(&quot;click&quot;,handleClick,!0);document.body.appendChild(a);a=document.createElement(&quot;div&quot;);a.id=&quot;barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr&quot;;
-document.body.appendChild(a)});function handleClick(a){(new ClickHandler).handle(a)};function ClickHandler(){}ClickHandler.prototype.handle=function(){console.log(&quot;button clicked!&quot;)};
-//@ sourceMappingURL=source-map.json  
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesconsolecdcompletionsiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/console-cd-completions-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/console-cd-completions-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/console-cd-completions-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-&lt;script&gt;
-var myGlobalVar = 2011;
-function myGlobalFunction() { }
-&lt;/script&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesconsolecdiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/console-cd-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/console-cd-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/console-cd-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-&lt;script&gt;
-var foo = 2011;
-&lt;/script&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesconsoleresourceerrorsiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/console-resource-errors-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/console-resource-errors-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/console-resource-errors-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../missing.css&quot;&gt;
-&lt;script src=&quot;../non-existent-script.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;iframe src=&quot;../non-existent-iframe.html&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcescorstargetphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/cors-target.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/cors-target.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/cors-target.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;?php
-    parse_str($_SERVER['QUERY_STRING'], $queryParams);
-    if ($queryParams[&quot;deny&quot;] != &quot;yes&quot;) {
-        header(&quot;Access-control-allow-origin: http://127.0.0.1:8000&quot;);
-        header(&quot;Access-control-allow-headers: Content-Type&quot;);
-    }
-    header(&quot;Content-Type: text/plain&quot;);
-
-    print &quot;body&quot;
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcescrossoriginiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/cross-origin-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/cross-origin-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/cross-origin-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;/head&gt;
-&lt;body&gt;
-  &lt;p&gt;Cross origin frame.&lt;p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesechoheadersphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/echo-headers.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/echo-headers.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/echo-headers.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-&lt;?php
-
-$headers = Array('HTTP_X_WEBINSPECTOR_EXTENSION', 'HTTP_USER_AGENT');
-
-foreach ($headers as $header) {
-    echo $header . &quot;: &quot; . $_SERVER[$header] . &quot;\n&quot;;
-}
-
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesemptyzip"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/empty.zip (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/empty.zip        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/empty.zip        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-PK
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesexamplecssmap"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/example.css.map (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/example.css.map        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/example.css.map        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-{
-&quot;version&quot;: &quot;3&quot;,
-&quot;mappings&quot;: &quot;;AACA,CAAE;EACA,GAAG,EAAE,GAAG;;EAER,SAAS,EAAE,IAAI&quot;,
-&quot;sources&quot;: [&quot;example.scss&quot;],
-&quot;file&quot;: &quot;example.css&quot;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesexamplescss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/example.scss (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/example.scss        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/example.scss        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-/* Comment */
-a {
-  foo: bar;
-/* SOME COMMENT */
-  font-size: 12px;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesextensionmainhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/extension-main.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/extension-main.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/extension-main.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;extension-main.js&quot;&gt;&lt;/script&gt;
-&lt;script type=&quot;text/javascript&quot;&gt;
-output(&quot;Started extension.&quot;);
-fetchTests();
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesextensionmainjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/extension-main.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/extension-main.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/extension-main.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,120 +0,0 @@
</span><del>-function trimURL(url)
-{
-    if (!url)
-        return;
-    if (/^data:/.test(url))
-        return url.replace(/,.*$/, &quot;...&quot;);
-    return url.replace(/.*\//, &quot;.../&quot;);
-}
-
-function dumpObject(object, nondeterministicProps, prefix, firstLinePrefix)
-{
-    prefix = prefix || &quot;&quot;;
-    firstLinePrefix = firstLinePrefix || prefix;
-    output(firstLinePrefix + &quot;{&quot;);
-    var propertyNames = Object.keys(object);
-    propertyNames.sort();
-    
-    for (var i = 0; i &lt; propertyNames.length; ++i) {
-        var prop = propertyNames[i];
-        var prefixWithName = prefix + &quot;    &quot; + prop + &quot; : &quot;;
-        var propValue = object[prop];
-        if (nondeterministicProps &amp;&amp; prop in nondeterministicProps) {
-            var value = nondeterministicProps[prop] === &quot;url&quot; ? trimURL(propValue) : &quot;&lt;&quot; + typeof propValue + &quot;&gt;&quot;;
-            output(prefixWithName + value);
-        } else if (typeof propValue === &quot;object&quot; &amp;&amp; propValue != null)
-            dumpObject(propValue, nondeterministicProps, prefix + &quot;    &quot;, prefixWithName);
-        else if (typeof propValue === &quot;string&quot;)
-            output(prefixWithName + &quot;\&quot;&quot; + propValue + &quot;\&quot;&quot;);
-        else if (typeof propValue === &quot;function&quot;)
-            output(prefixWithName + &quot;&lt;function&gt;&quot;);
-        else
-            output(prefixWithName + propValue);
-    }
-    output(prefix + &quot;}&quot;);
-}
-
-function dumpArray(result)
-{
-    if (result instanceof Array) {
-        for (var i = 0; i &lt; result.length; ++i)
-            output(result[i]);
-    } else
-        output(result);
-}
-
-function evaluateOnFrontend(expression, callback)
-{
-    window._extensionServerForTests.sendRequest({ command: &quot;evaluateForTestInFrontEnd&quot;, expression: expression }, callback);
-}
-
-function output(message)
-{
-    evaluateOnFrontend(&quot;InspectorTest.addResult(unescape('&quot; + escape(message) + &quot;'));&quot;);
-}
-
-function onError(event)
-{
-    window.removeEventListener(&quot;error&quot;, onError);
-    output(&quot;Uncaught exception in extension context: &quot; + event.message + &quot; [&quot; + event.filename + &quot;:&quot; + event.lineno + &quot;]&quot;);
-    evaluateOnFrontend(&quot;InspectorTest.completeTest();&quot;);
-}
-
-window.addEventListener(&quot;error&quot;, onError);
-
-function fetchTests()
-{
-    function callback(result)
-    {
-         window.eval(result);
-         runTests();
-    }
-    webInspector.inspectedWindow.eval(&quot;extensionFunctions()&quot;, callback);
-}
-
-function runTests()
-{
-    output(&quot;Running tests...&quot;);
-    var tests = [];
-    for (var symbol in this) {
-        if (/^extension_test/.test(symbol) &amp;&amp; typeof this[symbol] === &quot;function&quot;)
-            tests.push(symbol);
-    }
-    tests = tests.sort();
-    var testChain = onTestsDone;
-    for (var test = tests.pop(); test; test = tests.pop())
-        testChain = bind(runTest, this, bind(this[test], this, testChain), test);
-    testChain();
-}
-
-function onTestsDone()
-{
-    output(&quot;All tests done.&quot;);
-    evaluateOnFrontend(&quot;InspectorTest.completeTest();&quot;);
-}
-
-function runTest(test, name)
-{
-    output(&quot;RUNNING TEST: &quot; + name);
-    try {
-        test();
-    } catch (e) {
-        output(name + &quot;: &quot; + e);
-    }
-}
-
-function callbackAndNextTest(callback, nextTest)
-{
-    function callbackWrapper()
-    {
-        callback.apply(this, arguments);
-        nextTest.call(this);
-    }
-    return callbackWrapper;
-}
-
-function bind(func, thisObject)
-{
-    var args = Array.prototype.slice.call(arguments, 2);
-    return function() { return func.apply(thisObject, args.concat(Array.prototype.slice.call(arguments, 0))); };
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesextensionpanelhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/extension-panel.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/extension-panel.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/extension-panel.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;extension-main.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesextensionsidebarhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/extension-sidebar.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/extension-sidebar.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/extension-sidebar.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,2 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesextensionsframeevalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/extensions-frame-eval.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/extensions-frame-eval.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/extensions-frame-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;script&gt;
-// Some JS to create a context
-window.iAmAnIFrame = true;
-&lt;/script&gt;
-&lt;/html&gt;
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesharpagesiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/har-pages-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/har-pages-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/har-pages-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script type=&quot;text/javascript&quot;&gt;
-function redirectBack()
-{
-    top.location.href = &quot;/inspector/resource-har-pages.html&quot;;
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;redirectBack()&quot;&gt;
-&lt;script src=&quot;source1.js&quot;&gt;&lt;/script&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesharpagesnavigationtargethtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/har-pages-navigation-target.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/har-pages-navigation-target.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/har-pages-navigation-target.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;body&gt;
-&lt;iframe src=&quot;har-pages-iframe.html&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesiframefromdifferentdomaindatahtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/iframe-from-different-domain-data.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/iframe-from-different-domain-data.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/iframe-from-different-domain-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-function onload()
-{
-    console.log(&quot;IFRAME HOST: &quot; + window.location.host);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body id=&quot;iframe-body&quot; style=&quot;background:green;&quot; onload=&quot;onload()&quot;&gt;
-Inspect me.
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesinspectelementiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/inspect-element-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/inspect-element-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/inspect-element-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-&lt;html&gt;
-
-&lt;body&gt;
-&lt;div id=&quot;div&quot;&gt;Element to inspect&lt;/div&gt;
-&lt;/body&gt;
-
-&lt;script&gt;
-top.iframeDivElement = document.getElementById(&quot;div&quot;);
-&lt;/script&gt;
-
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesposttargetcgi"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/post-target.cgi (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/post-target.cgi        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/post-target.cgi        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-#!/usr/bin/perl -wT
-
-print &quot;Content-Type: application/xml\n\n&quot;;
-print &quot;&lt;xml&gt;42&lt;/xml&gt;\n&quot;;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesresourceformdatareceiveriframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/resource-form-data-receiver-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/resource-form-data-receiver-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/resource-form-data-receiver-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcessourcemapjson"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/source-map.json (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/source-map.json        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/source-map.json        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-{
-&quot;version&quot;:3,
-&quot;file&quot;:&quot;compiled.js&quot;,
-&quot;sourceRoot&quot;: &quot;&quot;,
-&quot;lineCount&quot;:2,
-&quot;mappings&quot;:&quot;AACAA,MAAAC,iBAAuB,CAAC,MAAD,CAAS,QAAQ,EACxC,CACI,IAAIC,EAASC,QAAAC,cAAsB,CAAC,QAAD,CACnCF,EAAAG,GAAA,CAAY,MACZH,EAAAD,iBAAuB,CAAC,OAAD,CAAUK,WAAV,CAAuB,CAAA,CAAvB,CACvBH,SAAAI,KAAAC,YAAyB,CAACN,CAAD,CAErBO,EAAAA,CAAMN,QAAAC,cAAsB,CAAC,KAAD,CAChCK,EAAAJ,GAAA,CAAS,ocACTF;QAAAI,KAAAC,YAAyB,CAACC,CAAD,CAR7B,CADuB,CAYvBH,SAASA,YAAW,CAACI,CAAD,CACpB,CAEIC,CAD8BC,IAAZC,YAClBF,QAAc,CAACD,CAAD,CAFlB,C,CCbAG,QAASA,aAAY,EACrB,EAGAA,YAAAC,UAAAH,OAAA,CAAgCI,QAAQ,EACxC,CACIC,OAAAC,IAAW,CAAC,iBAAD,CADf,C;&quot;,
-&quot;sources&quot;:[&quot;source1.js&quot;,&quot;source2.js&quot;],
-&quot;names&quot;:[&quot;window&quot;,&quot;addEventListener&quot;,&quot;button&quot;,&quot;document&quot;,&quot;createElement&quot;,&quot;id&quot;,&quot;handleClick&quot;,&quot;body&quot;,&quot;appendChild&quot;,&quot;bar&quot;,&quot;event&quot;,&quot;handle&quot;,&quot;handler&quot;,&quot;ClickHandler&quot;,&quot;prototype&quot;,&quot;ClickHandler.prototype.handle&quot;,&quot;console&quot;,&quot;log&quot;]
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcessource1js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/source1.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/source1.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/source1.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-window.addEventListener('load', function()
-{
-    var button = document.createElement('button');
-    button.id = 'test';
-    button.addEventListener('click', handleClick, true);
-    document.body.appendChild(button);
-
-    var bar = document.createElement('div');
-    bar.id = 'barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr';
-    document.body.appendChild(bar);
-});
-
-function handleClick(event)
-{
-    var handler = new ClickHandler();
-    handler.handle(event);
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcessource2js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/source2.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/source2.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/source2.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-function ClickHandler()
-{
-}
-
-ClickHandler.prototype.handle = function(event)
-{
-    console.log('button clicked!');
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcestestscannerhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/test-scanner.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/test-scanner.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/test-scanner.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,68 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;script&gt;
-var tests = [];
-
-scanFolder(&quot;inspector/console&quot;);
-// scanFolder(&quot;inspector/debugger&quot;);
-scanFolder(&quot;inspector/editor&quot;);
-scanFolder(&quot;inspector/elements&quot;);
-scanFolder(&quot;inspector/profiler&quot;);
-scanFolder(&quot;inspector/styles&quot;);
-scanFolder(&quot;inspector/timeline&quot;);
-scanFolder(&quot;inspector&quot;);
-
-function scanFolder(folder)
-{
-    var xhr = new XMLHttpRequest();
-    xhr.open(&quot;GET&quot;, &quot;/LayoutTests/&quot; + folder + &quot;/&quot;, false);
-    xhr.send(null);
-    var text = xhr.responseText;
-    var element = document.createElement(&quot;div&quot;);
-    element.innerHTML = text;
-    var links = element.querySelectorAll(&quot;a&quot;);
-    for (var i = 0; i &lt; links.length; ++i) {
-        var link = links[i].href;
-        var match = link.match(/[^\/]*\/([^\/]+\.html)$/);
-        if (!match)
-            continue;
-        var path = &quot;/LayoutTests/&quot; + folder + &quot;/&quot; + match[1];
-        var expected = fetchExpectations(path);
-        tests.push([path, expected]);
-    }
-}
-
-function fetchExpectations(path)
-{
-    var ext = path.lastIndexOf(&quot;.&quot;);
-    path = path.substring(0, ext) + &quot;-expected.txt&quot;;
-    var chromiumPath = path.replace(&quot;/LayoutTests/&quot;, &quot;/LayoutTests/platform/chromium/&quot;);
-
-    var expectations = fetch(chromiumPath) || fetch(path) || &quot;&quot;;
-
-    var expectationLines = expectations.split(&quot;\n&quot;);
-    var filtered = [];
-    for (var i = 0; i &lt; expectationLines.length; ++i) {
-        if (!expectationLines[i].indexOf(&quot;ALERT: &quot;) ||
-            !expectationLines[i].indexOf(&quot;CONSOLE MESSAGE: &quot;)) {
-            filtered = [];
-            continue;
-        }
-        filtered.push(expectationLines[i]);
-    }
-    return filtered.join(&quot;\n&quot;);
-}
-
-function fetch(path)
-{
-    var xhr = new XMLHttpRequest();
-    xhr.open(&quot;GET&quot;, path, false);
-    xhr.send(null);
-    return xhr.status !== 404 ? xhr.responseText : &quot;&quot;;
-}
-
-window.parent.postMessage([&quot;tests&quot;, tests], &quot;*&quot;);
-
-&lt;/script&gt;
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcesxhrexistshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources/xhr-exists.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources/xhr-exists.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources/xhr-exists.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-&lt;p&gt;Existing File&lt;/p&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorresourcestestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/resources-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/resources-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/resources-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,99 +0,0 @@
</span><del>-var initialize_ResourceTest = function() {
-
-InspectorTest.HARPropertyFormatters = {
-    bodySize: &quot;formatAsTypeName&quot;,
-    compression: &quot;formatAsTypeName&quot;,
-    headers: &quot;formatAsTypeName&quot;,
-    headersSize: &quot;formatAsTypeName&quot;,
-    id: &quot;formatAsTypeName&quot;,
-    onContentLoad: &quot;formatAsTypeName&quot;,
-    onLoad: &quot;formatAsTypeName&quot;,
-    receive: &quot;formatAsTypeName&quot;,
-    startedDateTime: &quot;formatAsRecentTime&quot;,
-    time: &quot;formatAsTypeName&quot;,
-    timings: &quot;formatAsTypeName&quot;,
-    version: &quot;formatAsTypeName&quot;,
-    wait: &quot;formatAsTypeName&quot;,
-};
-
-// addObject checks own properties only, so make a deep copy rather than use prototype.
-
-InspectorTest.HARPropertyFormattersWithSize = JSON.parse(JSON.stringify(InspectorTest.HARPropertyFormatters));
-InspectorTest.HARPropertyFormattersWithSize.size = &quot;formatAsTypeName&quot;;
-
-
-InspectorTest.requestURLComparer = function(r1, r2)
-{
-    return r1.request.url.localeCompare(r2.request.url);
-}
-
-InspectorTest.runAfterCachedResourcesProcessed = function(callback)
-{
-    if (!WebInspector.resourceTreeModel._cachedResourcesProcessed)
-        WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.CachedResourcesLoaded, callback);
-    else
-        callback();
-}
-
-InspectorTest.runAfterResourcesAreFinished = function(resourceURLs, callback)
-{
-    var resourceURLsMap = resourceURLs.keySet();
-
-    function checkResources()
-    {
-        for (url in resourceURLsMap) {
-            var resource = InspectorTest.resourceMatchingURL(url);
-            if (resource)
-                delete resourceURLsMap[url];
-        }
-        if (!Object.keys(resourceURLsMap).length) {
-            WebInspector.resourceTreeModel.removeEventListener(WebInspector.ResourceTreeModel.EventTypes.ResourceAdded, checkResources);
-            callback();
-        }
-    }
-    checkResources();
-    if (Object.keys(resourceURLsMap).length)
-        WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.ResourceAdded, checkResources);
-}
-
-InspectorTest.showResource = function(resourceURL, callback)
-{
-    var reported = false;
-    function callbackWrapper(sourceFrame)
-    {
-        if (reported)
-            return;
-        callback(sourceFrame);
-        reported = true;
-    }
-
-    function showResourceCallback()
-    {
-        var resource = InspectorTest.resourceMatchingURL(resourceURL);
-        if (!resource)
-            return;
-        WebInspector.panels.resources.showResource(resource, 1);
-        var sourceFrame = WebInspector.panels.resources._resourceViewForResource(resource);
-        if (sourceFrame.loaded)
-            callbackWrapper(sourceFrame);
-        else
-            InspectorTest.addSniffer(sourceFrame, &quot;onTextEditorContentLoaded&quot;, callbackWrapper.bind(null, sourceFrame));
-    }
-    InspectorTest.runAfterResourcesAreFinished([resourceURL], showResourceCallback);
-}
-
-InspectorTest.resourceMatchingURL = function(resourceURL)
-{
-    var result = null;
-    WebInspector.resourceTreeModel.forAllResources(visit);
-    function visit(resource)
-    {
-        if (resource.url.indexOf(resourceURL) !== -1) {
-            result = resource;
-            return true;
-        }
-    }
-    return result;
-}
-
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchresourcessearchconcatenatedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/resources/search-concatenated.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/resources/search-concatenated.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/resources/search-concatenated.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-function searchTestUniqueString()
-{
-    var variable = 0;
-    // searchTestUniqueString two occurences on the same line searchTestUniqueString
-    var variable2 = 0;
-}
-&lt;/script&gt;&lt;script&gt;
-function doSomething()
-{
-    searchTestUniqueString();
-    // SEARCHTestUniqueString();
-}
-&lt;/script&gt;
-&lt;link href=&quot;search.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
-&lt;script&gt;
-function searchTestUniqueString2()
-{
-    var variable = 0;
-    /* searchTestUniqueString two occurences on the same line searchTestUniqueString */ } &lt;/script&gt;&lt;script&gt; function doSomething2() { searchTestUniqueString();
-    // SEARCHTestUniqueString();
-}
-&lt;/script&gt;
-&lt;/script&gt;
-&lt;body&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchresourcessearchcss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/resources/search.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/resources/search.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/resources/search.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-div.searchTestUniqueString {
-    background-color: red;
-}
-
-div.searchTestUniqueString:hover {
-    /* another searchTestUniqueString occurence */
-    background-color: red;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchresourcessearchhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/resources/search.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/resources/search.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/resources/search.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link href=&quot;search.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
-&lt;script src=&quot;search.js&quot;&gt;&lt;/script&gt;
-&lt;body&gt;
-&lt;div&gt;searchTestUniqueString&lt;/div&gt;
-&lt;div&gt;other text&lt;/div&gt;
-&lt;!-- searchTestUniqueString --&gt;
-&lt;div&gt;some other text&lt;/div&gt;
-&lt;div id=&quot;searchTestUniqueString&quot;&gt;div text&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchresourcessearchjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/resources/search.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/resources/search.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/resources/search.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-function searchTestUniqueString()
-{
-    var variable = 0;
-    // searchTestUniqueString two occurences on the same line searchTestUniqueString
-    var variable2 = 0;
-}
-
-function doSomething()
-{
-    searchTestUniqueString();
-    // SEARCHTestUniqueString();
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchresourcessearchmatchindexexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,120 +0,0 @@
</span><del>-Tests search match index calculation in resources panel.
-
-Bug 66050
-
-Running: test1
-Running test for matches counts: [1]
-Element index: 1, index: 0, match index: 1.
-Element index: 1, index: 0, match index: 1.
-Element index: 1, index: 0, match index: 1.
-Element index: 1, index: 0, match index: 1.
-Element index: 1, index: 0, match index: 1.
-Element index: 1, index: 0, match index: 1.
-
-
-Running: test2
-Running test for matches counts: [1,2,3]
-Element index: 1, index: 0, match index: 1.
-Element index: 2, index: 0, match index: 2.
-Element index: 2, index: 1, match index: 3.
-Element index: 3, index: 0, match index: 4.
-Element index: 3, index: 1, match index: 5.
-Element index: 3, index: 2, match index: 6.
-Element index: 1, index: 0, match index: 1.
-Element index: 3, index: 2, match index: 6.
-Element index: 3, index: 1, match index: 5.
-Element index: 3, index: 0, match index: 4.
-Element index: 2, index: 1, match index: 3.
-Element index: 2, index: 0, match index: 2.
-Element index: 1, index: 0, match index: 1.
-Element index: 3, index: 2, match index: 6.
-Element index: 1, index: 0, match index: 1.
-Element index: 3, index: 2, match index: 6.
-
-
-Running: test3
-Running test for matches counts: [1,0,2,0,3]
-Element index: 1, index: 0, match index: 1.
-Element index: 3, index: 0, match index: 2.
-Element index: 3, index: 1, match index: 3.
-Element index: 5, index: 0, match index: 4.
-Element index: 5, index: 1, match index: 5.
-Element index: 5, index: 2, match index: 6.
-Element index: 1, index: 0, match index: 1.
-Element index: 5, index: 2, match index: 6.
-Element index: 5, index: 1, match index: 5.
-Element index: 5, index: 0, match index: 4.
-Element index: 3, index: 1, match index: 3.
-Element index: 3, index: 0, match index: 2.
-Element index: 1, index: 0, match index: 1.
-Element index: 5, index: 2, match index: 6.
-Element index: 1, index: 0, match index: 1.
-Element index: 5, index: 2, match index: 6.
-Element index: 3, index: 0, match index: 2.
-Element index: 1, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 4.
-Element index: 3, index: 1, match index: 3.
-
-
-Running: test4
-Running test for matches counts: [0,0,0,3,0,0,0,3,0,0,0]
-Element index: 4, index: 0, match index: 1.
-Element index: 4, index: 1, match index: 2.
-Element index: 4, index: 2, match index: 3.
-Element index: 8, index: 0, match index: 4.
-Element index: 8, index: 1, match index: 5.
-Element index: 8, index: 2, match index: 6.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-Element index: 8, index: 1, match index: 5.
-Element index: 8, index: 0, match index: 4.
-Element index: 4, index: 2, match index: 3.
-Element index: 4, index: 1, match index: 2.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-Element index: 8, index: 0, match index: 4.
-Element index: 4, index: 2, match index: 3.
-Element index: 8, index: 0, match index: 4.
-Element index: 4, index: 2, match index: 3.
-Element index: 8, index: 0, match index: 4.
-Element index: 4, index: 2, match index: 3.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-Element index: 4, index: 0, match index: 1.
-Element index: 8, index: 2, match index: 6.
-
-
-Running: test5
-Running test for matches counts: [0,0,0,0,1,0,0,0]
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-Element index: 5, index: 0, match index: 1.
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchresourcessearchmatchindexhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,130 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    WebInspector.showPanel(&quot;resources&quot;);
-
-    var FakeElement = function(elements, index, searchMatchesCount)
-    {
-        this._elements = elements;
-        this.index = index;
-        this.searchMatchesCount = searchMatchesCount;
-    };
-
-    FakeElement.prototype = {
-        // Ignore all parameters.
-        traversePreviousTreeElement: function()
-        {
-            return this.index &gt; 0 ? this._elements[this.index - 1] : null;
-        },
-
-        // Ignore all parameters.
-        traverseNextTreeElement: function()
-        {
-            return this.index &lt; this._elements.length - 1 ? this._elements[this.index + 1] : null;
-        }
-    };
-
-    function createElementsTreeWithMatchesCounts(matchesCounts)
-    {
-        var elements = [];
-        var totalMatchesCount = 0;
-        var element = new FakeElement(elements, 0, 0);
-        elements.push(element);
-        for (var i = 0; i &lt; matchesCounts.length; ++i) {
-            element = new FakeElement(elements, i + 1, matchesCounts[i]);
-            elements.push(element);
-            totalMatchesCount += matchesCounts[i];
-        }
-        elements.totalMatchesCount = totalMatchesCount;
-        return elements;
-    }
-
-    function dumpSearchResult(searchResult)
-    {
-        if (searchResult) {
-            var elementIndex = searchResult.treeElement.index;
-            var index = searchResult.index;
-            var matchIndex = searchResult.currentMatchIndex;
-            InspectorTest.addResult(&quot;Element index: &quot; + elementIndex + &quot;, index: &quot; + index + &quot;, match index: &quot; + matchIndex + &quot;.&quot;);
-        } else
-            InspectorTest.addResult(&quot;No search result found.&quot;);
-    }
-
-    function runTestForMatchesCounts(matchesCounts)
-    {
-        InspectorTest.addResult(&quot;Running test for matches counts: &quot; + JSON.stringify(matchesCounts));
-        var elements = createElementsTreeWithMatchesCounts(matchesCounts);
-        var controller = new WebInspector.ResourcesSearchController(elements[0], elements.totalMatchesCount);
-        var lastSearchResult;
-
-        // First of all make a full cycle through the tree.
-        for (var i = 0; i &lt; elements.totalMatchesCount + 1; ++i) {
-            lastSearchResult = controller.nextSearchResult(lastSearchResult ? lastSearchResult.treeElement : null);
-            dumpSearchResult(lastSearchResult);
-            if (!lastSearchResult)
-                break;
-        }
-
-        // Then make another one in the opposite direction.
-        for (var i = 0; i &lt; elements.totalMatchesCount + 1; ++i) {
-            lastSearchResult = controller.previousSearchResult(lastSearchResult ? lastSearchResult.treeElement : null);
-            dumpSearchResult(lastSearchResult);
-            if (!lastSearchResult)
-                break;
-        }
-
-        // Now dump next and previous search results for each element without search matches.
-        for (var i = 0; i &lt; elements.length; ++i) {
-            if (elements[i].searchMatchesCount === 0) {
-                var searchResult = controller.nextSearchResult(elements[i]);
-                dumpSearchResult(searchResult);
-                searchResult = controller.previousSearchResult(elements[i]);
-                dumpSearchResult(searchResult);
-            }
-        }
-        InspectorTest.addResult(&quot;&quot;);
-    }
-
-    InspectorTest.runTestSuite([
-        function test1(next)
-        {
-            runTestForMatchesCounts([1]);
-            next();
-        },
-
-        function test2(next)
-        {
-            runTestForMatchesCounts([1, 2, 3]);
-            next();
-        },
-
-        function test3(next)
-        {
-            runTestForMatchesCounts([1, 0, 2, 0, 3]);
-            next();
-        },
-
-        function test4(next)
-        {
-            runTestForMatchesCounts([0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0]);
-            next();
-        },
-
-        function test5(next)
-        {
-            runTestForMatchesCounts([0, 0, 0, 0, 1, 0, 0, 0]);
-            next();
-        }
-    ]);
-
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests search match index calculation in resources panel.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=66050&quot;&gt;Bug 66050&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchscriptssearchscopeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-
-
-Running: testIgnoreCase
-Search result #1: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.css
-  search match #1: lineNumber = 0, lineContent = 'div.searchTestUniqueString {'
-  search match #2: lineNumber = 4, lineContent = 'div.searchTestUniqueString:hover {'
-  search match #3: lineNumber = 5, lineContent = '    /* another searchTestUniqueString occurence */'
-Search result #2: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.html
-  search match #1: lineNumber = 5, lineContent = '&lt;div&gt;searchTestUniqueString&lt;/div&gt;'
-  search match #2: lineNumber = 7, lineContent = '&lt;!-- searchTestUniqueString --&gt;'
-  search match #3: lineNumber = 9, lineContent = '&lt;div id=&quot;searchTestUniqueString&quot;&gt;div text&lt;/div&gt;'
-Search result #3: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.js
-  search match #1: lineNumber = 0, lineContent = 'function searchTestUniqueString()'
-  search match #2: lineNumber = 3, lineContent = '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-  search match #3: lineNumber = 9, lineContent = '    searchTestUniqueString();'
-  search match #4: lineNumber = 10, lineContent = '    // SEARCHTestUniqueString();'
-
-Running: testCaseSensitive
-Search result #1: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.css
-  search match #1: lineNumber = 0, lineContent = 'div.searchTestUniqueString {'
-  search match #2: lineNumber = 4, lineContent = 'div.searchTestUniqueString:hover {'
-  search match #3: lineNumber = 5, lineContent = '    /* another searchTestUniqueString occurence */'
-Search result #2: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.html
-  search match #1: lineNumber = 5, lineContent = '&lt;div&gt;searchTestUniqueString&lt;/div&gt;'
-  search match #2: lineNumber = 7, lineContent = '&lt;!-- searchTestUniqueString --&gt;'
-  search match #3: lineNumber = 9, lineContent = '&lt;div id=&quot;searchTestUniqueString&quot;&gt;div text&lt;/div&gt;'
-Search result #3: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.js
-  search match #1: lineNumber = 0, lineContent = 'function searchTestUniqueString()'
-  search match #2: lineNumber = 3, lineContent = '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-  search match #3: lineNumber = 9, lineContent = '    searchTestUniqueString();'
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchscriptssearchscopehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,80 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;title&gt;Change inspected iframe's &quot;src&quot; attribute.&lt;/title&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    WebInspector.showPanel(&quot;scripts&quot;);
-    InspectorTest.runAfterResourcesAreFinished([&quot;search.html&quot;, &quot;search.js&quot;, &quot;search.css&quot;], step1)
-
-    function runSearchAndDumpResults(searchConfig, callback)
-    {
-        var searchResults = [];
-        var scope = new WebInspector.ScriptsSearchScope(WebInspector.workspace);
-        scope.performSearch(searchConfig, searchResultCallback, searchFinishedCallback);
-
-        function searchResultCallback(searchResult)
-        {
-            searchResults.push(searchResult);
-        }
-
-        function searchFinishedCallback()
-        {
-            function filterOutEmptySearchResults(searchResult)
-            {
-                return searchResult.searchMatches.length;
-            }
-            searchResults = searchResults.filter(filterOutEmptySearchResults);
-
-            for (var i = 0; i &lt; searchResults.length; ++i) {
-                var searchResult = searchResults[i];
-                var uiSourceCode = searchResult.uiSourceCode;
-                var searchMatches = searchResult.searchMatches;
-
-                if (!searchMatches.length)
-                    continue;
-                InspectorTest.addResult(&quot;Search result #&quot; + (i + 1) + &quot;: uiSourceCode.uri = &quot; + uiSourceCode.uri());
-                for (var j = 0; j &lt; searchMatches.length; ++j) {
-                    var lineNumber = searchMatches[j].lineNumber;
-                    var lineContent = searchMatches[j].lineContent;
-                    InspectorTest.addResult(&quot;  search match #&quot; + (j + 1) + &quot;: lineNumber = &quot; + lineNumber + &quot;, lineContent = '&quot; + lineContent + &quot;'&quot;);
-                }
-            }
-            callback();
-        }
-    }
-
-    function step1()
-    {
-        InspectorTest.runTestSuite([
-            function testIgnoreCase(next)
-            {
-                var searchConfig = {};
-                searchConfig.query = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-                searchConfig.ignoreCase = true;
-                searchConfig.isRegex = false;
-                runSearchAndDumpResults(searchConfig, next);
-            },
-
-            function testCaseSensitive(next)
-            {
-                var searchConfig = {};
-                searchConfig.query = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-                searchConfig.ignoreCase = false;
-                searchConfig.isRegex = false;
-                runSearchAndDumpResults(searchConfig, next);
-            },
-        ]);
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;iframe src=&quot;resources/search.html&quot;&gt;
-&lt;p&gt;Tests that ScriptSearchScope performs search across all sources correctly.&lt;/p&gt;
-See &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41350&quot;&gt;bug 41350&lt;/a&gt;.
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinconcatenatedscriptexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-Tests concatenated script search in inspector debugger agent.
-
-Bug 69015  
-Debugger was enabled.
-http://127.0.0.1:8000/inspector/search/resources/search-concatenated.html
-Search matches: 
-lineNumber: 3, line: 'function searchTestUniqueString()'
-lineNumber: 6, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 12, line: '    searchTestUniqueString();'
-lineNumber: 13, line: '    // SEARCHTestUniqueString();'
-lineNumber: 18, line: 'function searchTestUniqueString2()'
-lineNumber: 21, line: '    /* searchTestUniqueString two occurences on the same line searchTestUniqueString */ } '
-lineNumber: 21, line: ' function doSomething2() { searchTestUniqueString();'
-lineNumber: 22, line: '    // SEARCHTestUniqueString();'
-
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinconcatenatedscripthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // This file should not match search query.
-    var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runAfterResourcesAreFinished([&quot;search-concatenated.html&quot;], step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.showScriptSource(&quot;search-concatenated.html&quot;, step3);
-    }
-
-    function step3()
-    {
-        var url = &quot;http://127.0.0.1:8000/inspector/search/resources/search-concatenated.html&quot;;
-        var scripts = InspectorTest.queryScripts(function(s) { return s.sourceURL === url; });
-        var contentProvider = new WebInspector.ConcatenatedScriptsContentProvider(scripts);
-        InspectorTest.addResult(url);
-        contentProvider.searchInContent(text, false, false, step4);
-    }
-
-    function step4(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Tests concatenated script search in inspector debugger agent.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=69015&quot;&gt;Bug 69015&lt;/a&gt;
-
-&lt;iframe src=&quot;resources/search-concatenated.html&quot; onload=&quot;runTest()&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinnonexistingresourceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Tests single resource search in inspector page agent with non existing resource url does not cause a crash.
-
-Bug 69767  
-Search matches: 
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinnonexistingresourcehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // This file should not match search query.
-    var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-    InspectorTest.runAfterResourcesAreFinished([&quot;search.js&quot;], step2);
-
-    function step2()
-    {
-        var resource = WebInspector.resourceForURL(&quot;http://127.0.0.1:8000/inspector/search/resources/search.js&quot;);
-        var url = &quot;http://127.0.0.1:8000/inspector/search/resources/non-existing.js&quot;;
-        PageAgent.searchInResource(resource.frameId, url, text, step3);
-    }
-
-    function step3(error, searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Tests single resource search in inspector page agent with non existing resource url does not cause a crash.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=69767&quot;&gt;Bug 69767&lt;/a&gt;
-
-&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinresourceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-resource-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-resource-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-resource-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,27 +0,0 @@
</span><del>-Tests single resource search in inspector page agent.
-
-Bug 68998  
-http://127.0.0.1:8000/inspector/search/resources/search.js
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-lineNumber: 10, line: '    // SEARCHTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-lineNumber: 10, line: '    // SEARCHTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinresourcehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-resource.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-resource.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-resource.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,62 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.runAfterResourcesAreFinished([&quot;search.js&quot;], step2);
-    var resource;
-
-    function step2()
-    {
-        resource = WebInspector.resourceForURL(&quot;http://127.0.0.1:8000/inspector/search/resources/search.js&quot;);
-        InspectorTest.addResult(resource.url);
-
-        // This file should not match search query.
-        var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-        resource.searchInContent(text, false, false, step3);
-    }
-
-    function step3(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        // This file should not match search query.
-        var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-        resource.searchInContent(text, true, false, step4);
-    }
-
-    function step4(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        var text = &quot;[a-z]earchTestUniqueString&quot;;
-        resource.searchInContent(text, false, true, step5);
-    }
-
-    function step5(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        var text = &quot;[a-z]earchTestUniqueString&quot;;
-        resource.searchInContent(text, true, true, step6);
-    }
-
-    function step6(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Tests single resource search in inspector page agent.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=68998&quot;&gt;Bug 68998&lt;/a&gt;
-
-&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinresourcesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-resources-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-resources-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-resources-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-Tests backend search in inspector.
-
-Bug 61205  
-Case insensitive, non regex:
-Search results: 
-url: http://127.0.0.1:8000/inspector/search/resources/search.css, matchesCount: 3
-url: http://127.0.0.1:8000/inspector/search/resources/search.js, matchesCount: 5
-url: http://127.0.0.1:8000/inspector/search/resources/search.html, matchesCount: 3
-
-Case sensitive, non regex:
-Search results: 
-url: http://127.0.0.1:8000/inspector/search/resources/search.css, matchesCount: 3
-url: http://127.0.0.1:8000/inspector/search/resources/search.js, matchesCount: 4
-url: http://127.0.0.1:8000/inspector/search/resources/search.html, matchesCount: 3
-
-Case insensitive, regex:
-Search results: 
-url: http://127.0.0.1:8000/inspector/search/resources/search.css, matchesCount: 3
-url: http://127.0.0.1:8000/inspector/search/resources/search.js, matchesCount: 5
-url: http://127.0.0.1:8000/inspector/search/resources/search.html, matchesCount: 3
-
-Case sensitive, regex:
-Search results: 
-url: http://127.0.0.1:8000/inspector/search/resources/search.css, matchesCount: 3
-url: http://127.0.0.1:8000/inspector/search/resources/search.js, matchesCount: 4
-url: http://127.0.0.1:8000/inspector/search/resources/search.html, matchesCount: 3
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinresourceshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-resources.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-resources.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-resources.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    // This file should not match search query.
-    var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-
-    InspectorTest.addResult(&quot;Case insensitive, non regex:&quot;);
-    PageAgent.searchInResources(text, false, false, step2);
-
-    function step2(error, searchResults)
-    {
-        InspectorTest.dumpSearchResults(searchResults);
-        InspectorTest.addResult(&quot;Case sensitive, non regex:&quot;);
-        PageAgent.searchInResources(text, true, false, step3);
-    }
-
-    function step3(error, searchResults)
-    {
-        InspectorTest.dumpSearchResults(searchResults);
-        InspectorTest.addResult(&quot;Case insensitive, regex:&quot;);
-        PageAgent.searchInResources(text, false, true, step4);
-    }
-
-    function step4(error, searchResults)
-    {
-        InspectorTest.dumpSearchResults(searchResults);
-        InspectorTest.addResult(&quot;Case sensitive, regex:&quot;);
-        PageAgent.searchInResources(text, true, true, step5);
-    }
-
-    function step5(error, searchResults)
-    {
-        InspectorTest.dumpSearchResults(searchResults);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Tests backend search in inspector.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61205&quot;&gt;Bug 61205&lt;/a&gt;
-
-&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinscriptexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-script-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-script-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,29 +0,0 @@
</span><del>-Tests script search in inspector debugger agent.
-
-Bug 69015  
-Debugger was enabled.
-http://127.0.0.1:8000/inspector/search/resources/search.js
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-lineNumber: 10, line: '    // SEARCHTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-lineNumber: 10, line: '    // SEARCHTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinscripthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-script.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-script.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,75 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.startDebuggerTest(step1);
-    var script;
-
-    function step1()
-    {
-        InspectorTest.runAfterResourcesAreFinished([&quot;search.js&quot;], step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.showScriptSource(&quot;search.js&quot;, step3);
-    }
-
-    function step3()
-    {
-        var url = &quot;http://127.0.0.1:8000/inspector/search/resources/search.js&quot;;
-        var scripts = InspectorTest.queryScripts(function(s) { return s.sourceURL === url; });
-        script = scripts[0];
-        InspectorTest.addResult(script.sourceURL);
-
-        // This file should not match search query.
-        var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-        script.searchInContent(text, false, false, step4);
-    }
-
-    function step4(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        // This file should not match search query.
-        var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
-        script.searchInContent(text, true, false, step5);
-    }
-
-    function step5(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        var text = &quot;[a-z]earchTestUniqueString&quot;;
-        script.searchInContent(text, false, true, step6);
-    }
-
-    function step6(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        var text = &quot;[a-z]earchTestUniqueString&quot;;
-        script.searchInContent(text, true, true, step7);
-    }
-
-    function step7(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        InspectorTest.completeDebuggerTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Tests script search in inspector debugger agent.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=69015&quot;&gt;Bug 69015&lt;/a&gt;
-
-&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinstaticexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-static-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-static-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-static-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-Tests static content provider search.
-
-Bug 70354  
-http://127.0.0.1:8000/inspector/search/resources/search.js
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-
-Search matches: 
-lineNumber: 0, line: 'function searchTestUniqueString()'
-lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
-lineNumber: 9, line: '    searchTestUniqueString();'
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchinstatichtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-in-static.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-in-static.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-in-static.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,67 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.runAfterResourcesAreFinished([&quot;search.js&quot;], step2);
-    var resource;
-    var staticContentProvider;
-
-    function step2()
-    {
-        resource = WebInspector.resourceForURL(&quot;http://127.0.0.1:8000/inspector/search/resources/search.js&quot;);
-        resource.requestContent(step3);
-    }
-
-    function step3()
-    {
-        staticContentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, resource.content);
-        InspectorTest.addResult(resource.url);
-
-        var text = &quot;searchTestUniqueString&quot;;
-        staticContentProvider.searchInContent(text, true, false, step4);
-    }
-
-    function step4(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        var text = &quot;searchTestUniqueString&quot;;
-        staticContentProvider.searchInContent(text, true, false, step5);
-    }
-
-    function step5(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        var text = &quot;[a-z]earchTestUniqueString&quot;;
-        staticContentProvider.searchInContent(text, false, true, step6);
-    }
-
-    function step6(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        var text = &quot;[a-z]earchTestUniqueString&quot;;
-        staticContentProvider.searchInContent(text, true, true, step7);
-    }
-
-    function step7(searchMatches)
-    {
-        InspectorTest.dumpSearchMatches(searchMatches);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Tests static content provider search.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=70354&quot;&gt;Bug 70354&lt;/a&gt;
-
-&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorsearchsearchtestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/search/search-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/search/search-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/search/search-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-var initialize_SearchTest = function() {
-
-InspectorTest.dumpSearchResults = function(searchResults)
-{
-    function comparator(a, b)
-    {
-        a.url.localeCompare(b.url);
-    }
-    searchResults.sort(comparator);
-
-    InspectorTest.addResult(&quot;Search results: &quot;);
-    for (var i = 0; i &lt; searchResults.length; i++)
-        InspectorTest.addResult(&quot;url: &quot; + searchResults[i].url + &quot;, matchesCount: &quot; + searchResults[i].matchesCount);
-    InspectorTest.addResult(&quot;&quot;);
-};
-
-InspectorTest.dumpSearchMatches = function(searchMatches)
-{
-    InspectorTest.addResult(&quot;Search matches: &quot;);
-    for (var i = 0; i &lt; searchMatches.length; i++)
-        InspectorTest.addResult(&quot;lineNumber: &quot; + searchMatches[i].lineNumber + &quot;, line: '&quot; + searchMatches[i].lineContent + &quot;'&quot;);
-    InspectorTest.addResult(&quot;&quot;);
-};
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracescspinjectedcontentwarningcontainsstacktraceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-CONSOLE MESSAGE: Refused to load the image 'http://127.0.0.1:8000/resources/abe.png' because it violates the following Content Security Policy directive: &quot;img-src 'none'&quot;.
-
-This test injects a blocked image from JavaScript. The resulting console error should contain a stack trace.
-
-
-Message[0]: csp-injected-content-warning-contains-stacktrace.html:12 Refused to load the image 'http://127.0.0.1:8000/resources/abe.png' because it violates the following Content Security Policy directive: &quot;img-src 'none'&quot;.
-
-Stack Trace:
-
-    url: http://127.0.0.1:8000/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html
-    function: thisTest
-    line: 12
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracescspinjectedcontentwarningcontainsstacktracehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,21 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-    &lt;head&gt;
-        &lt;meta http-equiv='Content-Security-Policy' content=&quot;img-src 'none'&quot;&gt;
-        &lt;script src='/inspector/console-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/debugger-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/inspector-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/stacktraces/resources/stacktrace-test.js'&gt;&lt;/script&gt;
-        &lt;script&gt;
-            function thisTest() {
-                var img = document.createElement('img');
-                img.src = '/resources/abe.png';
-                document.body.appendChild(img);
-            }
-        &lt;/script&gt;
-    &lt;/head&gt;
-    &lt;body onload='runTest()'&gt;
-        &lt;p&gt;This test injects a blocked image from JavaScript. The resulting console
-        error should contain a stack trace.&lt;/p&gt;
-    &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracescspinlinewarningcontainsstacktraceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-CONSOLE MESSAGE: Refused to execute inline script because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
-
-This test injects an inline script from JavaScript. The resulting console error should contain a stack trace.
-
-Message[0]: [native code]:0 Refused to execute inline script because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
-
-Stack Trace:
-
-    url: [native code]
-    function: appendChild
-    line: 0
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracescspinlinewarningcontainsstacktracehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-    &lt;head&gt;
-        &lt;meta http-equiv='Content-Security-Policy' content=&quot;script-src 'self'&quot;&gt;
-        &lt;script src='/inspector/console-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/debugger-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/inspector-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/stacktraces/resources/stacktrace-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/stacktraces/resources/csp-inline-test.js'&gt;&lt;/script&gt;
-    &lt;/head&gt;
-    &lt;body&gt;
-        &lt;p&gt;This test injects an inline script from JavaScript. The resulting
-        console error should contain a stack trace.&lt;/p&gt;
-    &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracescspsetIntervalwarningcontainsstacktraceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-CONSOLE MESSAGE: Refused to evaluate script because it violates the following Content Security Policy directive: &quot;script-src 'self' 'unsafe-inline'&quot;.
-
-This test attempts to evaluate script via setInterval. The resulting console error should contain a stack trace tied to line 11.
-
-Message[0]: csp-setInterval-warning-contains-stacktrace.html:11 Refused to evaluate script because it violates the following Content Security Policy directive: &quot;script-src 'self' 'unsafe-inline'&quot;.
-
-Stack Trace:
-
-    url: http://127.0.0.1:8000/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html
-    function: thisTest
-    line: 11
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracescspsetIntervalwarningcontainsstacktracehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-    &lt;head&gt;
-        &lt;meta http-equiv='Content-Security-Policy' content=&quot;script-src 'self' 'unsafe-inline'&quot;&gt;
-        &lt;script src='/inspector/console-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/debugger-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/inspector-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/stacktraces/resources/stacktrace-test.js'&gt;&lt;/script&gt;
-        &lt;script&gt;
-            function thisTest() {
-                var id = setInterval('log(&quot;FAIL&quot;)', 0);
-                if (id != 0)
-                    log('FAIL: Return value for string (should be 0): ' + id);
-                else
-                    log('PASS: Return value for blocked setInterval is 0');
-            }
-        &lt;/script&gt;
-    &lt;/head&gt;
-    &lt;body onload='runTest()'&gt;
-        &lt;p&gt;This test attempts to evaluate script via setInterval. The resulting console
-        error should contain a stack trace tied to line 11.&lt;/p&gt;
-    &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracescspsetTimeoutwarningcontainsstacktraceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-CONSOLE MESSAGE: Refused to evaluate script because it violates the following Content Security Policy directive: &quot;script-src 'self' 'unsafe-inline'&quot;.
-
-This test attempts to evaluate script via setTimeout. The resulting console error should contain a stack trace tied to line 11.
-
-Message[0]: csp-setTimeout-warning-contains-stacktrace.html:11 Refused to evaluate script because it violates the following Content Security Policy directive: &quot;script-src 'self' 'unsafe-inline'&quot;.
-
-Stack Trace:
-
-    url: http://127.0.0.1:8000/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html
-    function: thisTest
-    line: 11
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracescspsetTimeoutwarningcontainsstacktracehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-    &lt;head&gt;
-        &lt;meta http-equiv='Content-Security-Policy' content=&quot;script-src 'self' 'unsafe-inline'&quot;&gt;
-        &lt;script src='/inspector/console-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/debugger-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/inspector-test.js'&gt;&lt;/script&gt;
-        &lt;script src='/inspector/stacktraces/resources/stacktrace-test.js'&gt;&lt;/script&gt;
-        &lt;script&gt;
-            function thisTest() {
-                var id = setTimeout('log(&quot;FAIL&quot;)', 0);
-                if (id != 0)
-                    log('FAIL: Return value for string (should be 0): ' + id);
-                else
-                    log('PASS: Return value for blocked setInterval is 0');
-            }
-        &lt;/script&gt;
-    &lt;/head&gt;
-    &lt;body onload='runTest()'&gt;
-        &lt;p&gt;This test attempts to evaluate script via setTimeout. The resulting console
-        error should contain a stack trace tied to line 11.&lt;/p&gt;
-    &lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracesresourcescspinlinetestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/resources/csp-inline-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/resources/csp-inline-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/resources/csp-inline-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-function thisTest() {
-    var s = document.createElement('script');
-    s.innerText = &quot;alert('FAIL.');&quot;
-    document.body.appendChild(s);
-}
-window.onload = runTest;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstacktracesresourcesstacktracetestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,22 +0,0 @@
</span><del>-function test() {
-    InspectorTest.addConsoleSniffer(addMessage);
-
-    function addMessage(message) {
-        var messages = WebInspector.consoleView._visibleMessages;
-        for (var i = 0; i &lt; messages.length; ++i) {
-            var m = messages[i];
-            InspectorTest.addResult(&quot;Message[&quot; + i + &quot;]: &quot; + WebInspector.displayNameForURL(m.url) + &quot;:&quot; + m.line + &quot; &quot; + m.message);
-            var trace = m.stackTrace;
-            if (!trace) {
-                InspectorTest.addResult(&quot;FAIL: no stack trace attached to message #&quot; + i);
-            } else {
-                InspectorTest.addResult(&quot;Stack Trace:\n&quot;);
-                InspectorTest.addResult(&quot;    url: &quot; + trace[0].url);
-                InspectorTest.addResult(&quot;    function: &quot; + trace[0].functionName);
-                InspectorTest.addResult(&quot;    line: &quot; + trace[0].lineNumber);
-            }
-        }
-        InspectorTest.completeTest();
-    }
-    InspectorTest.evaluateInPage(&quot;thisTest()&quot;);
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesmodifycrossdomainrulecss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/styles/modify-cross-domain-rule.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/styles/modify-cross-domain-rule.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/styles/modify-cross-domain-rule.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-#inspected {
-  color: green;
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesresourcesstylesredirectedcsscss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-div {
-    background-color: red;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesresourcesstylesredirectedcssphp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.php (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.php        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-&lt;?php
-    header(&quot;Location: styles-redirected-css.css&quot;);
-?&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesresourcesxsltransformedxsl"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/styles/resources/xsl-transformed.xsl (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/styles/resources/xsl-transformed.xsl        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/styles/resources/xsl-transformed.xsl        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-&lt;?xml version='1.0' encoding='utf-8'?&gt;
-&lt;xsl:stylesheet version=&quot;1.0&quot;
-                id=&quot;stylesheet&quot;
-                xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;
-    &lt;xsl:template match=&quot;items&quot;&gt;
-        &lt;html&gt;
-        &lt;head&gt;
-        &lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-        &lt;script src=&quot;../elements-test.js&quot;&gt;&lt;/script&gt;
-        &lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-        &lt;script&gt;
-        function test()
-        {
-            InspectorTest.reloadPage(step1);
-
-            function step1()
-            {
-                InspectorTest.runAfterResourcesAreFinished([&quot;xsl-transformed.xsl&quot;], InspectorTest.expandElementsTree.bind(InspectorTest, step2));
-            }
-
-            function step2()
-            {
-                InspectorTest.dumpElementsTree();
-                InspectorTest.completeTest();
-            }
-        }
-        &lt;/script&gt;
-        &lt;/head&gt;
-        &lt;body onload=&quot;runTest()&quot;&gt;
-        &lt;p&gt;Tests that XSL-transformed documents in the main frame are rendered correctly in the Elements panel. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=111313&quot;&gt;Bug 111313&lt;/a&gt;&lt;/p&gt;
-        &lt;xsl:for-each select=&quot;item&quot;&gt;
-          &lt;span&gt;&lt;xsl:value-of select=&quot;.&quot;/&gt;&lt;/span&gt;
-        &lt;/xsl:for-each&gt;
-        &lt;/body&gt;
-        &lt;/html&gt;
-    &lt;/xsl:template&gt;
-&lt;/xsl:stylesheet&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesstylesredirectedcssexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests that styles in redirected css are editable.
-
-Bug 68631
-test
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesstylesredirectedcsshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-redirected-css.php&quot; type=&quot;text/css&quot;&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;test_div&quot;, step1);
-
-    function step1()
-    {
-        var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(&quot;background-color&quot;);
-        treeItem.property.setDisabled(true, step2);
-    }
-
-    function step2(newStyle)
-    {
-        InspectorTest.assertTrue(!!newStyle, &quot;Could not disable style in redirected css.&quot;);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that styles in redirected css are editable.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=68631&quot;&gt;Bug 68631&lt;/a&gt;
-
-&lt;div id=&quot;test_div&quot;&gt;test&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesxsltransformedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-Tests that XSL-transformed documents in the main frame are rendered correctly in the Elements panel. Bug 111313
-
-OneTwoThree
-Page reloaded.
-- &lt;html&gt;
-    - &lt;head&gt;
-          &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
-          &lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-          &lt;script src=&quot;../elements-test.js&quot;&gt;&lt;/script&gt;
-          &lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
-        - &lt;script&gt;
-              function test()\n        {\n            InspectorTest.reloadPage(step1);\n\n            function step1()\n            {\n                InspectorTest.runAfterResourcesAreFinished([&quot;xsl-transformed.xsl&quot;], InspectorTest.expandElementsTree.bind(InspectorTest, step2));\n            }\n\n            function step2()\n            {\n                InspectorTest.dumpElementsTree();\n                InspectorTest.completeTest();\n            }\n        }\n
-          &lt;/script&gt;
-      &lt;/head&gt;
-    - &lt;body onload=&quot;runTest()&quot;&gt;
-        - &lt;p&gt;
-              &quot;Tests that XSL-transformed documents in the main frame are rendered correctly in the Elements panel. &quot;
-              &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=111313&quot;&gt;Bug 111313&lt;/a&gt;
-          &lt;/p&gt;
-          &lt;span&gt;One&lt;/span&gt;
-          &lt;span&gt;Two&lt;/span&gt;
-          &lt;span&gt;Three&lt;/span&gt;
-        - &lt;div&gt;
-            - &lt;div&gt;
-                - &lt;div class=&quot;output&quot; id=&quot;output&quot; style=&quot;white-space: pre;&quot;&gt;
-                      &quot;Page reloaded.&quot;
-                      &lt;br&gt;
-                  &lt;/div&gt;
-              &lt;/div&gt;
-          &lt;/div&gt;
-      &lt;/body&gt;
-  &lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesxsltransformedxml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed.xml (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed.xml        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed.xml        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-&lt;?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;resources/xsl-transformed.xsl&quot;?&gt;
-&lt;items&gt;
-  &lt;item&gt;One&lt;/item&gt;
-  &lt;item&gt;Two&lt;/item&gt;
-  &lt;item&gt;Three&lt;/item&gt;
-&lt;/items&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesheetsourcemappingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests SourceMap and StyleSheetMapping.
-
-PASS
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorstylesheetsourcemappinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,90 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;workspace-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.createWorkspace();
-    var cssModel = new WebInspector.CSSStyleModel(InspectorTest.testWorkspace);
-    var mapping = new WebInspector.SASSSourceMapping(cssModel, InspectorTest.testWorkspace, InspectorTest.testNetworkWorkspaceProvider);
-    var stylesSourceMapping = new WebInspector.StylesSourceMapping(cssModel, InspectorTest.testWorkspace);
-
-    InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(cssUISourceCodeAdded);
-    InspectorTest.addMockUISourceCodeToWorkspace(&quot;http://localhost:8000/inspector/resources/example.css&quot;, WebInspector.resourceTypes.Stylesheet, &quot;&quot;);
-    var event = { data: createMockStyleSheetResource(&quot;http://localhost:8000/inspector/resources/example.css&quot;, &quot;text/css&quot;,
-        &quot;/* Comment */\n&quot; +
-        &quot;a {\n&quot; +
-        &quot;  foo: bar;\n&quot; +
-        &quot;  /* SOME COMMENT */\n&quot; +
-        &quot;  font-size: 12px; }\n\n&quot; +
-        &quot;/*# sourceMappingURL=example.css.map */&quot;) };
-    stylesSourceMapping._resourceAdded(event);
-    mapping._resourceAdded(event);
-    afterStyleSheetAdded();
-
-    function createMockStyleSheetResource(url, mimeType, content)
-    {
-        const documentURL = &quot;http://localhost:8000/inspector/stylesheet-source-mapping.html&quot;;
-        const frame = WebInspector.resourceTreeModel.mainFrame;
-        var resource = new WebInspector.Resource(null, url, documentURL, frame.id, frame.loaderId, WebInspector.resourceTypes.Stylesheet, mimeType);
-        resource.requestContent = function(callback)
-        {
-            callback(content, false, mimeType);
-        }
-        return resource;
-    }
-
-
-    function cssUISourceCodeAdded(uiSourceCode)
-    {
-        InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(scssUISourceCodeAdded);
-    }
-
-    function scssUISourceCodeAdded(uiSourceCode)
-    {
-    }
-
-    function rawLocationToUILocation(line, column, url)
-    {
-        return cssModel.rawLocationToUILocation(new WebInspector.CSSLocation(&quot;http://localhost:8000/inspector/resources/example.css&quot;, line, column));
-    }
-
-    function afterStyleSheetAdded()
-    {
-        var cssUISourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/example.css&quot;);
-        var scssUISourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/example.scss&quot;);
-
-        InspectorTest.checkUILocation(cssUISourceCode, 0, 3, rawLocationToUILocation(0, 3));
-        InspectorTest.checkUILocation(scssUISourceCode, 1, 0, rawLocationToUILocation(1, 0));
-        InspectorTest.checkUILocation(scssUISourceCode, 2, 2, rawLocationToUILocation(2, 4));
-        InspectorTest.checkUILocation(scssUISourceCode, 2, 5, rawLocationToUILocation(2, 6));
-        InspectorTest.checkUILocation(scssUISourceCode, 2, 7, rawLocationToUILocation(2, 9));
-        InspectorTest.checkUILocation(scssUISourceCode, 2, 10, rawLocationToUILocation(3, 7));
-        InspectorTest.checkUILocation(scssUISourceCode, 4, 2, rawLocationToUILocation(4, 8));
-        InspectorTest.checkUILocation(scssUISourceCode, 4, 2, rawLocationToUILocation(4, 10));
-        InspectorTest.checkUILocation(scssUISourceCode, 4, 11, rawLocationToUILocation(4, 11));
-        InspectorTest.checkUILocation(scssUISourceCode, 4, 13, rawLocationToUILocation(4, 15));
-        InspectorTest.checkUILocation(scssUISourceCode, 4, 17, rawLocationToUILocation(4, 20));
-        scssUISourceCode.requestContent(didRequestContent);
-
-        function didRequestContent(content, contentEncoded, mimeType)
-        {
-            InspectorTest.assertEquals(0, content.indexOf(&quot;/* Comment */&quot;));
-            InspectorTest.addResult(&quot;PASS&quot;);
-            InspectorTest.completeTest();
-        }
-    }
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests SourceMap and StyleSheetMapping.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectortimelinetestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/timeline-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/timeline-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/timeline-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,237 +0,0 @@
</span><del>-var initialize_Timeline = function() {
-
-// Scrub values when printing out these properties in the record or data field.
-InspectorTest.timelinePropertyFormatters = {
-    children: &quot;formatAsTypeName&quot;,
-    endTime: &quot;formatAsTypeName&quot;,
-    requestId: &quot;formatAsTypeName&quot;,
-    startTime: &quot;formatAsTypeName&quot;,
-    stackTrace: &quot;formatAsTypeName&quot;,
-    url: &quot;formatAsTypeName&quot;,
-    scriptName: &quot;formatAsTypeName&quot;,
-    usedHeapSize: &quot;formatAsTypeName&quot;,
-    usedHeapSizeDelta: &quot;skip&quot;,
-    mimeType: &quot;formatAsTypeName&quot;,
-    id: &quot;formatAsTypeName&quot;,
-    counters: &quot;formatAsTypeName&quot;,
-    timerId: &quot;formatAsTypeName&quot;,
-    scriptLine: &quot;formatAsTypeName&quot;,
-    lineNumber: &quot;formatAsTypeName&quot;,
-    frameId: &quot;formatAsTypeName&quot;,
-    encodedDataLength: &quot;formatAsTypeName&quot;,
-    identifier: &quot;formatAsTypeName&quot;,
-    clip: &quot;formatAsTypeName&quot;,
-    root: &quot;formatAsTypeName&quot;,
-};
-
-InspectorTest.startTimeline = function(callback)
-{
-    InspectorTest._timelineRecords = [];
-    WebInspector.panel(&quot;timeline&quot;).toggleTimelineButton.toggled = true;
-    WebInspector.panel(&quot;timeline&quot;)._model._collectionEnabled = true;
-    TimelineAgent.start(5, true, false, callback);
-    function addRecord(record)
-    {
-        InspectorTest._timelineRecords.push(record);
-        for (var i = 0; record.children &amp;&amp; i &lt; record.children.length; ++i)
-            addRecord(record.children[i]);
-    }
-    InspectorTest._addTimelineEvent = function(event)
-    {
-        addRecord(event.data);
-    }
-    WebInspector.timelineManager.addEventListener(WebInspector.TimelineManager.EventTypes.TimelineEventRecorded, InspectorTest._addTimelineEvent);
-};
-
-
-InspectorTest.waitForRecordType = function(recordType, callback)
-{
-    WebInspector.timelineManager.addEventListener(WebInspector.TimelineManager.EventTypes.TimelineEventRecorded, addEvent);
-
-    function addEvent(event)
-    {
-        addRecord(event.data);
-    }
-    function addRecord(record)
-    {
-        if (record.type !== WebInspector.TimelineModel.RecordType[recordType]) {
-            for (var i = 0; record.children &amp;&amp; i &lt; record.children.length; ++i)
-                addRecord(record.children[i]);
-            return;
-        }
-        WebInspector.timelineManager.removeEventListener(WebInspector.TimelineManager.EventTypes.TimelineEventRecorded, addEvent);
-        callback(record);
-    }
-}
-
-InspectorTest.stopTimeline = function(callback)
-{
-    function didStop()
-    {
-        WebInspector.timelineManager.removeEventListener(WebInspector.TimelineManager.EventTypes.TimelineEventRecorded, InspectorTest._addTimelineEvent);
-        WebInspector.panel(&quot;timeline&quot;).toggleTimelineButton.toggled = false;
-        WebInspector.panel(&quot;timeline&quot;)._model._collectionEnabled = false;
-        callback(InspectorTest._timelineRecords);
-    }
-    TimelineAgent.stop(didStop);
-};
-
-InspectorTest.evaluateWithTimeline = function(actions, doneCallback)
-{
-    InspectorTest.startTimeline(step1);
-    function step1()
-    {
-        InspectorTest.evaluateInPage(actions, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.stopTimeline(doneCallback);
-    }
-
-}
-
-InspectorTest.performActionsAndPrint = function(actions, typeName, includeTimeStamps)
-{
-    function callback()
-    {
-        InspectorTest.printTimelineRecords(typeName);
-        if (includeTimeStamps) {
-            InspectorTest.addResult(&quot;Timestamp records: &quot;);
-            InspectorTest.printTimestampRecords(typeName);
-        }
-        InspectorTest.completeTest();
-    }
-    InspectorTest.evaluateWithTimeline(actions, callback)
-};
-
-InspectorTest.printTimelineRecords = function(typeName, formatter)
-{
-    InspectorTest.innerPrintTimelineRecords(InspectorTest._timelineRecords, typeName, formatter);
-};
-
-InspectorTest.printTimestampRecords = function(typeName, formatter)
-{
-    InspectorTest.innerPrintTimelineRecords(WebInspector.panels.timeline._presentationModel.eventDividerRecords().select(&quot;_record&quot;), typeName, formatter);
-};
-
-InspectorTest.innerPrintTimelineRecords = function(records, typeName, formatter)
-{
-    for (var i = 0; i &lt; records.length; ++i) {
-        if (typeName &amp;&amp; records[i].type === WebInspector.TimelineModel.RecordType[typeName])
-            InspectorTest.printTimelineRecordProperties(records[i]);
-        if (formatter)
-            formatter(records[i]);
-    }
-};
-
-// Dump just the record name, indenting output on separate lines for subrecords
-InspectorTest.dumpTimelineRecord = function(record, level) 
-{
-    if (typeof level !== &quot;number&quot;)
-        level = 0;
-    var prefix = &quot;&quot;;
-    var suffix = &quot;&quot;;
-    for (var i = 0; i &lt; level ; ++i)
-        prefix = &quot;----&quot; + prefix;
-    if (level &gt; 0)
-        prefix = prefix + &quot;&gt; &quot;;
-    if (record.type === WebInspector.TimelineModel.RecordType.TimeStamp) {
-        suffix = &quot; : &quot; + record.data.message;
-    }
-    InspectorTest.addResult(prefix + InspectorTest._timelineAgentTypeToString(record.type) + suffix);
-
-    var numChildren = record.children ? record.children.length : 0;
-    for (var i = 0; i &lt; numChildren; ++i)
-        InspectorTest.dumpTimelineRecord(record.children[i], level + 1);
-};
-
-InspectorTest.dumpTimelineRecords = function(timelineRecords)
-{
-    for (var i = 0; i &lt; timelineRecords.length; ++i)
-        InspectorTest.dumpTimelineRecord(timelineRecords[i], 0);
-};
-
-InspectorTest.printTimelineRecordProperties = function(record)
-{
-    InspectorTest.addResult(InspectorTest._timelineAgentTypeToString(record.type) + &quot; Properties:&quot;);
-    // Use this recursive routine to print the properties
-    InspectorTest.addObject(record, InspectorTest.timelinePropertyFormatters);
-};
-
-InspectorTest._timelineAgentTypeToString = function(numericType)
-{
-    for (var prop in WebInspector.TimelineModel.RecordType) {
-        if (WebInspector.TimelineModel.RecordType[prop] === numericType)
-            return prop;
-    }
-    return undefined;
-};
-
-InspectorTest.findPresentationRecord = function(type)
-{
-    var result;
-    function findByType(record)
-    {
-        if (record.type !== type)
-            return false;
-        result = record;
-        return true;
-    }
-    var records = WebInspector.panel(&quot;timeline&quot;)._rootRecord().children;
-    WebInspector.TimelinePresentationModel.forAllRecords(records, findByType);
-    return result;
-}
-
-InspectorTest.FakeFileReader = function(input, delegate, callback)
-{
-    this._delegate = delegate;
-    this._callback = callback;
-    this._input = input;
-    this._loadedSize = 0;
-    this._fileSize = input.length;
-};
-
-InspectorTest.FakeFileReader.prototype = {
-    start: function(output)
-    {
-        this._delegate.onTransferStarted(this);
-
-        var length = this._input.length;
-        var half = (length + 1) &gt;&gt; 1;
-
-        var chunk = this._input.substring(0, half);
-        this._loadedSize += chunk.length;
-        output.write(chunk);
-        this._delegate.onChunkTransferred(this);
-
-        chunk = this._input.substring(half);
-        this._loadedSize += chunk.length;
-        output.write(chunk);
-        this._delegate.onChunkTransferred(this);
-
-        output.close();
-        this._delegate.onTransferFinished(this);
-
-        this._callback();
-    },
-
-    cancel: function() { },
-
-    loadedSize: function()
-    {
-        return this._loadedSize;
-    },
-
-    fileSize: function()
-    {
-        return this._fileSize;
-    },
-
-    fileName: function()
-    {
-        return &quot;fakeFile&quot;;
-    }
-};
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorwebsocketframeerrorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/web-socket-frame-error-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/web-socket-frame-error-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/web-socket-frame-error-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8000/websocket/tests/hybi/does_not_exist' failed: Unexpected response code: 404
-Closed.
-Tests that WebSocketFrames errors are visible to Web Inspector.
-
-1: Unexpected response code: 404
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorwebsocketframeerrorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/web-socket-frame-error.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/web-socket-frame-error.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/web-socket-frame-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../../../js-test-resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var ws;
-function sendMessages() {
-    ws = new WebSocket(&quot;ws://localhost:8000/websocket/tests/hybi/does_not_exist&quot;);
-    ws.onclose = function()
-    {
-        debug(&quot;Closed.&quot;);
-    };
-}
-
-function test() {
-    function onRequest(event)
-    {
-        var request = event.data;
-        if (request._type._name === &quot;websocket&quot;) {
-            for (var i = 0; i &lt; request.frames().length; i++) {
-                var frame = request.frame(i);
-                var result = String.sprintf(&quot;%d: %s&quot;, (i + 1), frame.errorMessage);
-                InspectorTest.addResult(result);
-                if (frame.errorMessage)
-                    InspectorTest.completeTest();
-            }
-        }
-    }
-    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestUpdated, onRequest);
-    InspectorTest.evaluateInPage(&quot;sendMessages()&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that WebSocketFrames errors are visible to Web Inspector.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorwebsockettimelinewebsocketeventexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-Tests the Timeline events for WebSocket
-
-WebSocketCreate Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        identifier : &lt;number&gt;
-        url : &lt;string&gt;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;WebSocketCreate&quot;
-    usedHeapSize : &lt;number&gt;
-}
-WebSocketSendHandshakeRequest Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        identifier : &lt;number&gt;
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;WebSocketSendHandshakeRequest&quot;
-    usedHeapSize : &lt;number&gt;
-}
-WebSocketReceiveHandshakeResponse Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        identifier : &lt;number&gt;
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;WebSocketReceiveHandshakeResponse&quot;
-    usedHeapSize : &lt;number&gt;
-}
-WebSocketDestroy Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        identifier : &lt;number&gt;
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;WebSocketDestroy&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorwebsockettimelinewebsocketeventhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,44 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    var ws = new WebSocket(&quot;ws://127.0.0.1:8880/websocket/tests/hybi/simple&quot;);
-
-    testRunner.display();
-}
-
-function test()
-{
-    InspectorTest.startTimeline(function() {
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-    });
-
-    InspectorTest.waitForRecordType(&quot;WebSocketDestroy&quot;, finish);
-
-    function finish()
-    {
-        InspectorTest.printTimelineRecords(&quot;WebSocketCreate&quot;);
-        InspectorTest.printTimelineRecords(&quot;WebSocketSendHandshakeRequest&quot;);
-        InspectorTest.printTimelineRecords(&quot;WebSocketReceiveHandshakeResponse&quot;);
-        InspectorTest.printTimelineRecords(&quot;WebSocketDestroy&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-if (!window.testRunner)
-    setTimeout(performActions, 2000);
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline events for WebSocket
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorwebsocketwebsocketframeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-Connected.
-Tests that WebSocketFrames are being sent and recieved by Web Inspector.
-
-1- sent: test
-1- sent: test
-2- sent: exit
-1- sent: test
-2- sent: exit
-3- received: test
-1- sent: test
-2- sent: exit
-3- received: test
-4- received: exit
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorwebsocketwebsocketframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../../../../js-test-resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var ws;
-function sendMessages() {
-    ws = new WebSocket(&quot;ws://localhost:8880/websocket/tests/hybi/echo&quot;);
-    ws.onopen = function()
-    {
-        debug(&quot;Connected.&quot;);
-        ws.send(&quot;test&quot;);
-        ws.send(&quot;exit&quot;);
-    };
-}
-
-function test() {
-    function onRequest(event)
-    {
-        var request = event.data;
-        if (request._type._name === &quot;websocket&quot;) {
-            for (var i = 0; i &lt; request.frames().length; i++) {
-                var frame = request.frame(i);
-                var result = String.sprintf(&quot;%d-%s: %s&quot;, (i + 1), frame.sent ? &quot; sent&quot; : &quot; received&quot;, frame.payloadData);
-                InspectorTest.addResult(result);
-                if (!frame.sent &amp;&amp; frame.payloadData === &quot;exit&quot;)
-                    InspectorTest.completeTest();
-            }
-        }
-    }
-    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestUpdated, onRequest);
-    InspectorTest.evaluateInPage(&quot;sendMessages()&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that WebSocketFrames are being sent and recieved by Web Inspector.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorworkspacetestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector/workspace-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector/workspace-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector/workspace-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,63 +0,0 @@
</span><del>-var initialize_WorkspaceTest = function() {
-
-InspectorTest.createWorkspace = function(ignoreEvents)
-{
-    InspectorTest.testFileMapping = new WebInspector.FileMapping();
-    InspectorTest.testFileSystemMapping = new WebInspector.FileSystemMappingImpl();
-    InspectorTest.testFileSystemMapping._fileSystemMappingSetting = new InspectorTest.MockSetting({});
-
-    InspectorTest.testWorkspace = new WebInspector.Workspace(InspectorTest.testFileMapping, InspectorTest.testFileSystemMapping);
-    InspectorTest.testNetworkWorkspaceProvider = new WebInspector.SimpleWorkspaceProvider(InspectorTest.testWorkspace, WebInspector.projectTypes.Network);
-    if (ignoreEvents)
-        return;
-    InspectorTest.testWorkspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, InspectorTest._defaultUISourceCodeProviderEventHandler);
-    InspectorTest.testWorkspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeRemoved, InspectorTest._defaultUISourceCodeProviderEventHandler);
-}
-
-InspectorTest.waitForWorkspaceUISourceCodeAddedEvent = function(callback, count)
-{
-    InspectorTest.uiSourceCodeAddedEventsLeft = count || 1;
-    InspectorTest.testWorkspace.removeEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, InspectorTest._defaultUISourceCodeProviderEventHandler);
-    InspectorTest.testWorkspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, uiSourceCodeAdded);
-
-    function uiSourceCodeAdded(event)
-    {
-        if (!(--InspectorTest.uiSourceCodeAddedEventsLeft)) {
-            InspectorTest.testWorkspace.removeEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, uiSourceCodeAdded);
-            InspectorTest.testWorkspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, InspectorTest._defaultUISourceCodeProviderEventHandler);
-        }
-        callback(event.data);
-    }
-}
-
-InspectorTest.addMockUISourceCodeToWorkspace = function(url, type, content)
-{
-    var isDocument = type === WebInspector.resourceTypes.Document;
-    var mockContentProvider = new WebInspector.StaticContentProvider(type, content);
-    InspectorTest.testNetworkWorkspaceProvider.addFileForURL(url, mockContentProvider, !isDocument);
-}
-
-InspectorTest._defaultUISourceCodeProviderEventHandler = function(event)
-{
-    var uiSourceCode = event.data;
-    throw new Error(&quot;Unexpected UISourceCodeProvider event: &quot; + event.type + &quot;: &quot; + uiSourceCode.uri() + &quot;.&quot;);
-}
-
-InspectorTest.dumpUISourceCode = function(uiSourceCode, callback)
-{
-    var url = uiSourceCode.originURL().replace(/.*LayoutTests/, &quot;LayoutTests&quot;);
-    InspectorTest.addResult(&quot;UISourceCode: &quot; + url);
-    InspectorTest.addResult(&quot;UISourceCode is editable: &quot; + uiSourceCode.isEditable());
-    if (uiSourceCode.contentType() === WebInspector.resourceTypes.Script || uiSourceCode.contentType() === WebInspector.resourceTypes.Document)
-        InspectorTest.addResult(&quot;UISourceCode is content script: &quot; + !!uiSourceCode.isContentScript);
-    uiSourceCode.requestContent(didRequestContent);
-
-    function didRequestContent(content, contentEncoded, mimeType)
-    {
-        InspectorTest.addResult(&quot;Mime type: &quot; + mimeType);
-        InspectorTest.addResult(&quot;UISourceCode content: &quot; + content);
-        callback();
-    }
-}
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframenavigationexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 2: A message with first argument string
-CONSOLE MESSAGE: line 3: 2011
-CONSOLE MESSAGE: line 4: [object Window]
-Tests that Web Inspector will discard console message arguments when iframe where the message was logged is navigated to a different page.
-
-
-PASSED: found argument counts for 3 messages
-PASSED: message #0 has no arguments.
-PASSED: message #1 has no arguments.
-PASSED: message #2 has no arguments.
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframenavigationhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;resources/console-clear-arguments-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-if (window.testRunner) {
-    testRunner.waitUntilDone();
-    testRunner.dumpAsText();
-}
-
-var loadCount = 0;
-function frameLoaded(event) {
-    ++loadCount;
-    if (loadCount === 1) {
-        document.getElementById('theFrame').src = &quot;about:blank&quot;;
-        return;
-    }
-
-    dumpConsoleMessageArgumentCounts();
-    if (window.testRunner)
-        testRunner.notifyDone();
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;
-Tests that Web Inspector will discard console message arguments when iframe where the message was
-logged is navigated to a different page.
-&lt;/p&gt;
-&lt;iframe id=&quot;theFrame&quot; onload=&quot;frameLoaded(event)&quot; src=&quot;resources/console-clear-arguments-iframe.html&quot;&gt;&lt;/iframe&gt;
-&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframeremoveexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 2: A message with first argument string
-CONSOLE MESSAGE: line 3: 2011
-CONSOLE MESSAGE: line 4: [object Window]
-Tests that console message arguments will be cleared when iframe where the messages were created is removed.
-
-PASSED: found argument counts for 3 messages
-PASSED: message #0 has no arguments.
-PASSED: message #1 has no arguments.
-PASSED: message #2 has no arguments.
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframeremovehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;resources/console-clear-arguments-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-if (window.testRunner) {
-    testRunner.waitUntilDone();
-    testRunner.dumpAsText();
-}
-
-function removeIFrame()
-{
-    var container = document.getElementById('container');
-    var child = container.firstChild;
-    while (child) {
-        container.removeChild(child);
-        child = container.firstChild;
-    }
-    dumpConsoleMessageArgumentCounts();
-    if (window.testRunner)
-        testRunner.notifyDone();
-}
-
-function createIFrame()
-{
-    var iframe = document.createElement('iframe');
-    iframe.setAttribute('src', 'resources/console-clear-arguments-iframe.html');
-    iframe.onload= removeIFrame;
-    document.getElementById('container').appendChild(iframe);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;createIFrame()&quot;&gt;
-&lt;p&gt;
-Tests that console message arguments will be cleared when iframe where the messages were
-created is removed.
-&lt;/p&gt;
-&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;
-&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledconsolelogbeforeframenavigationexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 5: Console message (C) %d with element
-Tests that Web Inspector won't crash if there are messages written to console from a frame which has already navigated to a page from a different domain.
-
-
-Received console messages:
-Message[0]:
-Message: resources/console-log-frame-before-navigation.html:5 Console message (C) %d with element
-TEST COMPLETE.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledconsolelogbeforeframenavigationhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    if (window.testRunner)
-        testRunner.waitUntilDone();
-}
-
-window.addEventListener(&quot;message&quot;, receiveMessage, false);
-
-function receiveMessage(event) {
-    if (event.data != &quot;frameReloaded&quot;) {
-        testFailed(&quot;Unexpected message: &quot; + event.data);
-        if (window.testRunner)
-            testRunner.notifyDone();
-        return;
-    }
-    if (window.testRunner)
-        testRunner.showWebInspector();
-    runTest();
-}
-
-function test()
-{
-    var messages = WebInspector.console.messages;
-    InspectorTest.addResult(&quot;Received console messages:&quot;);
-    for (var i = 0; i &lt; messages.length; ++i) {
-        var m = messages[i];
-        InspectorTest.addResult(&quot;Message[&quot; + i + &quot;]:&quot;);
-        InspectorTest.addResult(&quot;Message: &quot; + WebInspector.displayNameForURL(m.url) + &quot;:&quot; + m.line + &quot; &quot; + m.message);
-    }
-    InspectorTest.addResult(&quot;TEST COMPLETE.&quot;);
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests that Web Inspector won't crash if there are messages written to console from a frame which has already navigated to a page from a different domain.
-&lt;/p&gt;
-&lt;iframe id=&quot;theFrame&quot; src=&quot;resources/console-log-frame-before-navigation.html&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddatabaseopenexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/database-open-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/database-open-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/database-open-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Tests that Web Inspector gets populated with databases that were opened before inspector is shown.
-
-Name: InspectorDatabaseTest
-Version: 1.0
-Domain: 127.0.0.1
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddatabaseopenhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/database-open.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/database-open.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/database-open.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    if (window.testRunner)
-        testRunner.waitUntilDone();
-
-    var db = openDatabase(&quot;InspectorDatabaseTest&quot;, &quot;1.0&quot;, &quot;Test of database instrumentation&quot;, 1);
-
-    if (window.testRunner)
-        testRunner.showWebInspector();
-    runTest();
-}
-
-function test()
-{
-    function run()
-    {
-        var databases = WebInspector.databaseModel.databases();
-        for (var i = 0; i &lt; databases.length; ++i) {
-            InspectorTest.addResult(&quot;Name: &quot; + databases[i].name);
-            InspectorTest.addResult(&quot;Version: &quot; + databases[i].version);
-            InspectorTest.addResult(&quot;Domain: &quot; + databases[i].domain);
-        }
-        InspectorTest.completeTest();
-    }
-    InspectorBackend.runAfterPendingDispatches(run);
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;Tests that Web Inspector gets populated with databases that were opened before inspector is shown.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddedicatedworkerslistexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 20: Received message from worker 1
-CONSOLE MESSAGE: line 20: Received message from worker 2
-Tests that dedicated workers created before worker inspection was enabled will be reported to the front-end. Bug 72020
-
-Worker inspection enabled
-Added worker: 1
-Added worker: 2
-Done.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddedicatedworkerslisthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,63 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-function handleLoad()
-{
-    if (window.testRunner)
-        testRunner.waitUntilDone();
-
-    var worker1 = new Worker(&quot;resources/dedicated-worker.js?id=1&quot;);
-    worker1.onmessage = handleMessageFromWorker;
-    var worker2 = new Worker(&quot;resources/dedicated-worker.js?id=2&quot;);
-    worker2.onmessage = handleMessageFromWorker;
-    var messageCount = 0;
-    function handleMessageFromWorker(event)
-    {
-        messageCount++;
-        console.log(&quot;Received message from worker &quot; + messageCount);
-        if (messageCount === 2) {
-            if (window.testRunner)
-                testRunner.showWebInspector();
-            runTest();
-        }
-    }
-}
-
-
-function test()
-{
-    WorkerAgent.disable(didDisableWorkerInspection);
-
-    function didDisableWorkerInspection()
-    {
-        WebInspector.workerManager.addEventListener(WebInspector.WorkerManager.Events.WorkerAdded, workerAdded, this);
-        WorkerAgent.enable();
-        InspectorTest.addResult(&quot;Worker inspection enabled&quot;);
-    }
-
-    var workerCount = 0;
-    function workerAdded()
-    {
-        workerCount++;
-        InspectorTest.addResult(&quot;Added worker: &quot; + workerCount);
-        if (workerCount === 2) {
-            InspectorTest.addResult(&quot;Done.&quot;);
-            InspectorTest.completeTest();
-        }
-    }
-};
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;handleLoad()&quot;&gt;
-&lt;p&gt;Tests that dedicated workers created before worker inspection was enabled will be reported to the front-end.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=72020&quot;&gt;Bug 72020&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddocumentwriteexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/document-write-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/document-write-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/document-write-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 4: Line 4
-CONSOLE MESSAGE: line 5: Line 5
-CONSOLE MESSAGE: line 1: Line 1 in document.write
-CONSOLE MESSAGE: line 4: Line 4 in document.write
-CONSOLE MESSAGE: line 7: Line 7
-CONSOLE MESSAGE: line 25: Line 25
-CONSOLE MESSAGE: line 1: script element
-CONSOLE MESSAGE: line 1: document.write from onload
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddocumentwritehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/document-write.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/document-write.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/document-write.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;script&gt;console.log(&quot;Line 4&quot;);&lt;/script&gt;
-&lt;script&gt;console.log(&quot;Line 5&quot;);&lt;/script&gt;
-&lt;script&gt;document.write(&quot;&lt;scrip&quot; + &quot;t&gt;console.log(\&quot;Line 1 in document.write\&quot;);\n\n\nconsole.log(\&quot;Line 4 in document.write\&quot;);&lt;/sc&quot; + &quot;ript&gt;&quot;);&lt;/script&gt;
-&lt;script&gt;console.log(&quot;Line 7&quot;);&lt;/script&gt;
-
-&lt;script&gt;
-
-function onload()
-{
-    if (window.testRunner)
-        testRunner.dumpAsText();
-
-    var script = document.createElement(&quot;script&quot;);
-    script.textContent = &quot;console.log(\&quot;script element\&quot;)&quot;;
-    document.head.appendChild(script);
-    document.write(&quot;&lt;scrip&quot; + &quot;t&gt;console.log(\&quot;document.write from onload\&quot;);&lt;/sc&quot; + &quot;ript&gt;&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;console.log('Line 25'); onload();&quot;&gt;
-&lt;p&gt;
-Tests that console reports zero line number for scripts generated with document.write. See https://bugs.webkit.org/show_bug.cgi?id=71099.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddomstorageopenexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Tests that Web Inspector gets populated with DOM storages according to security origins found in the page.
-
-SecurityOrigin: http://127.0.0.1:8000
-IsLocalStorage: true
-SecurityOrigin: http://127.0.0.1:8000
-IsLocalStorage: false
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddomstorageopenhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    if (window.testRunner)
-        testRunner.waitUntilDone();
-
-    window.sessionStorage[&quot;inspector&quot;] = &quot;true&quot;;
-
-    if (window.testRunner)
-        testRunner.showWebInspector();
-    runTest();
-}
-
-function test()
-{
-    function callback()
-    {
-        var storages = WebInspector.domStorageModel.storages();
-        for (var i = 0; i &lt; storages.length; ++i) {
-            InspectorTest.addResult(&quot;SecurityOrigin: &quot; + storages[i].securityOrigin);
-            InspectorTest.addResult(&quot;IsLocalStorage: &quot; + storages[i].isLocalStorage);
-        }
-        InspectorTest.completeTest();
-    }
-    InspectorBackend.runAfterPendingDispatches(callback);
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;Tests that Web Inspector gets populated with DOM storages according to security origins found in the page.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddynamicscriptsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-Tests that scripts for dynamically added script elements are shown in sources panel if inspector is opened after the scripts were loaded.
-
-Bug 99324
-Debugger was enabled.
-UISourceCodes:
-    debugger-test.js
-    dynamic-script.js
-    dynamic-scripts.html
-    evalSourceURL.js
-    inspector-test.js
-    scriptElementContentSourceURL.js
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenableddynamicscriptshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,82 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function appendDynamicScriptElement(src, content)
-{
-    var scriptElement = document.createElement(&quot;script&quot;);
-    if (src)
-        scriptElement.src = src;
-    else
-        scriptElement.textContent = content;
-    document.head.appendChild(scriptElement);
-}
-
-function loadScripts()
-{
-    var sourceURLComment = &quot;\n //@ sourceURL=&quot;;
-    window.eval(&quot;function fooEval() {}&quot;);
-    window.eval(&quot;function fooEvalSourceURL() {}&quot; + sourceURLComment + &quot;evalSourceURL.js&quot;);
-    appendDynamicScriptElement(&quot;&quot;, &quot;function fooScriptElementContent1() {}&quot;);
-    appendDynamicScriptElement(&quot;&quot;, &quot;function fooScriptElementContent2() {}&quot;);
-    appendDynamicScriptElement(&quot;&quot;, &quot;function fooScriptElementContentSourceURL() {}&quot; + sourceURLComment + &quot;scriptElementContentSourceURL.js&quot;);
-    appendDynamicScriptElement(&quot;resources/dynamic-script.js&quot;);
-}
-
-function onload()
-{
-    if (window.testRunner)
-        testRunner.waitUntilDone();
-    loadScripts();
-}
-
-function scriptLoaded()
-{
-    if (window.testRunner)
-        testRunner.showWebInspector();
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.startDebuggerTest(step2);
-
-    function step2()
-    {
-        InspectorTest.runAfterPendingDispatches(step3);
-    }
-
-    function step3()
-    {
-        var panel = WebInspector.showPanel(&quot;scripts&quot;);
-        var uiSourceCodes = WebInspector.workspace.uiSourceCodesForProjectType(WebInspector.projectTypes.Network);
-        var urls = uiSourceCodes.map(function(uiSourceCode) { return uiSourceCode.name(); });
-        urls.sort();
-        
-        var whiteList = [&quot;debugger-test.js&quot;, &quot;dynamic-script.js&quot;, &quot;dynamic-scripts.html&quot;, &quot;evalSourceURL.js&quot;, &quot;inspector-test.js&quot;, &quot;scriptElementContentSourceURL.js&quot;];
-        function filter(url)
-        {
-            for (var i = 0; i &lt; whiteList.length; ++i) {
-                if (url.indexOf(whiteList[i]) !== -1)
-                    return true;
-            }
-                
-            return false;
-        }
-        urls = urls.filter(filter);
-
-        InspectorTest.addResult(&quot;UISourceCodes:&quot;);
-        for (var i = 0; i &lt; urls.length; ++i)
-            InspectorTest.addResult(&quot;    &quot; + urls[i]);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;Tests that scripts for dynamically added script elements are shown in sources panel if inspector is opened after the scripts were loaded.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=99324&quot;&gt;Bug 99324&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledinjectedscriptdiscardexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 1: Opening front-end for the first time
-CONSOLE MESSAGE: line 1: Resolved object successfully
-CONSOLE MESSAGE: line 1: Opening front-end second time
-CONSOLE MESSAGE: line 1: Error resolving object
-Tests that injected script is discarded upon front-end close.
-
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledinjectedscriptdiscardhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,75 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function openWebInspector()
-{
-    if (window.testRunner) {
-        testRunner.waitUntilDone();
-        testRunner.showWebInspector();
-        runTest();
-    }
-}
-
-function reopenWebInspector(objectId)
-{
-    window.objectId = unescape(objectId);
-    testRunner.closeWebInspector();
-    setTimeout(function() {
-      testRunner.showWebInspector();
-      runTest();
-    }, 0);
-}
-
-function test()
-{
-    RuntimeAgent.evaluate(&quot;window.objectId&quot;, dispatch);
-
-    function dispatch(error, result, wasThrown)
-    {
-        if (result.type !== &quot;string&quot;) {
-            InspectorTest.evaluateInPage(&quot;console.log('Opening front-end for the first time')&quot;);
-            installHandleInInjectedScript();
-        } else {
-            InspectorTest.evaluateInPage(&quot;console.log('Opening front-end second time')&quot;);
-            checkHandleInInjectedScript(result.value, InspectorTest.completeTest);
-        }
-    }
-
-    function installHandleInInjectedScript()
-    {
-        RuntimeAgent.evaluate(&quot;({ handle : \&quot;handle\&quot; })&quot;, storeIdInTargetWindow);
-
-        function storeIdInTargetWindow(error, result, wasThrown)
-        {
-            checkHandleInInjectedScript(result.objectId, reopenInspector);
-
-            function reopenInspector()
-            {
-                InspectorTest.evaluateInPage(&quot;reopenWebInspector('&quot; + escape(result.objectId) + &quot;')&quot;);
-            }
-        }
-    }
-
-    function checkHandleInInjectedScript(objectId, callback)
-    {
-        RuntimeAgent.getProperties(objectId, false, propertiesAvailable);
-
-        function propertiesAvailable(error, properties)
-        {
-            InspectorTest.evaluateInPage(error ? &quot;console.log('Error resolving object')&quot; : &quot;console.log('Resolved object successfully')&quot;, callback);
-        }
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;openWebInspector()&quot;&gt;
-&lt;p&gt;
-Tests that injected script is discarded upon front-end close.
-&lt;/p&gt;
-&lt;div id=&quot;container&quot;/&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledresourcesconsoleclearargumentsiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-&lt;script&gt;
-console.log(&quot;A message with first argument string&quot;, &quot;Second argument which should be discarded on iframe removal&quot;);
-console.log(2011, &quot;A message with first argument integer&quot;);
-console.log(window, &quot;A message with first argument window&quot;);
-&lt;/script&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledresourcesconsoleclearargumentstestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-function print(text)
-{
-    var output = document.getElementById(&quot;output&quot;);
-    var div = document.createElement(&quot;div&quot;);
-    div.textContent = text;
-    output.appendChild(div);
-}
-
-function dumpConsoleMessageArgumentCounts()
-{
-    var consoleMessageArgumentCounts = window.internals.consoleMessageArgumentCounts();
-    if (consoleMessageArgumentCounts.length === 3)
-        print(&quot;PASSED: found argument counts for 3 messages&quot;);
-    else
-        print(&quot;FAILED: unexpected number of messages: &quot; + consoleMessageArgumentCounts.length);
-
-    for (var i = 0; i &lt; consoleMessageArgumentCounts.length; i++) {
-        var count = consoleMessageArgumentCounts[i];
-        if (count == 0)
-            print(&quot;PASSED: message #&quot; + i + &quot; has no arguments.&quot;);
-        else
-            print(&quot;FAILED: message #&quot; + i + &quot; has &quot; + count + &quot; arguments.&quot;);
-    }
-}
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledresourcesconsolelogframeafternavigationhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-after-navigation.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-after-navigation.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-after-navigation.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-function handleLoad() {
-    window.parent.postMessage(&quot;frameReloaded&quot;, &quot;*&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;handleLoad()&quot;&gt;
-New Inner Content.
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledresourcesconsolelogframebeforenavigationhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-before-navigation.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-before-navigation.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-before-navigation.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-function handleLoad() {
-  console.log(&quot;Console message (C) %d with element&quot;, 2010, document.documentElement);
-
-  setTimeout(function() {
-    // Note that localhost is different from the 127.0.0.1 that tests are runnung against. So this navigation
-    // is in fact cross-domain.
-    document.location = &quot;http://localhost:8000/inspector-enabled/resources/console-log-frame-after-navigation.html&quot;;
-  }, 0);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;handleLoad()&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledresourcesdedicatedworkerjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/resources/dedicated-worker.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/resources/dedicated-worker.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/resources/dedicated-worker.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-var workerId = location.search.substring(4);
-postMessage(&quot;Worker &quot; + workerId + &quot; started.&quot;);
-doWork();
-setInterval(doWork, 1000);
-function doWork() {
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestshttptestsinspectorenabledresourcesdynamicscriptjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/http/tests/inspector-enabled/resources/dynamic-script.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/http/tests/inspector-enabled/resources/dynamic-script.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/http/tests/inspector-enabled/resources/dynamic-script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-function fooDynamicScript()
-{
-}
-
-scriptLoaded();
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsolealerttoStringexceptionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/alert-toString-exception-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/alert-toString-exception-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/alert-toString-exception-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: Exception in toString().
-CONSOLE MESSAGE: line 6: Exception in toString().
-Test that browser won't crash if inspector is opened for a page that fails to convert alert() argument to string. The test passes if it doesn't crash. Bug 60541
-
-Page reloaded.
-Exception in toString(). alert-toString-exception.html:6
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsolealerttoStringexceptionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/alert-toString-exception.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/alert-toString-exception.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/alert-toString-exception.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-alert({toString: function() { throw &quot;Exception in toString().&quot;; }});
-&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.reloadPage(function() {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    });
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that browser won't crash if inspector is opened for a page that fails to convert
-alert() argument to string. The test passes if it doesn't crash.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60541&quot;&gt;Bug 60541&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleclientsignoredinprivatebrowsingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-In PrivateBrowsing mode, console messages are visible in the Console, but aren't sent to ChromeClients (or printf'd) in order to ensure they never end up in logs. Better safe than sorry.
-
-log: This should show up once console messages are dumped, but should _not_ show up as a &quot;CONSOLE MESSAGE:&quot; at the top of the output.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleclientsignoredinprivatebrowsinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    if (window.testRunner)
-        testRunner.setPrivateBrowsingEnabled(true);
-
-    console.log('This should show up once console messages are dumped, but should _not_ show up as a &quot;CONSOLE MESSAGE:&quot; at the top of the output.');
-
-    InspectorTest.dumpConsoleMessages();
-
-    if (window.testRunner)
-        testRunner.setPrivateBrowsingEnabled(false);
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;In PrivateBrowsing mode, console messages are visible in the Console, but
-aren't sent to ChromeClients (or printf'd) in order to ensure they never end
-up in logs. Better safe than sorry.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsolecommandlineapiexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/command-line-api-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/command-line-api-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/command-line-api-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 1223: The console function $() has changed from $=getElementById(id) to $=querySelector(selector). You might try $(&quot;#%s&quot;)
-Tests that command line api works.
-
-
-
-String($0)
-&quot;[object HTMLParagraphElement]&quot;
-
-
-$3
-undefined
-
-
-String(keys([3,4]))
-&quot;0,1&quot;
-
-
-String(values([3,4]))
-&quot;3,4&quot;
-
-
-String($('#foo'))
-&quot;[object HTMLParagraphElement]&quot;
-
-
-String($('#foo', document.body))
-&quot;[object HTMLParagraphElement]&quot;
-
-
-String($('#foo', 'non-node'))
-&quot;[object HTMLParagraphElement]&quot;
-
-
-String($('#foo', $('#bar')))
-&quot;null&quot;
-
-
-String($$('p#foo'))
-&quot;[object NodeList]&quot;
-
-
-String($$('p#foo', document.body))
-&quot;[object NodeList]&quot;
-
-
-String($('foo'))
-The console function $() has changed from $=getElementById(id) to $=querySelector(selector). You might try $(&quot;#foo&quot;)
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsolecommandlineapiinspectexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/command-line-api-inspect-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/command-line-api-inspect-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/command-line-api-inspect-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-Tests that inspect() command line api works.
-
-
-Running: testRevealElement
-
-
-WebInspector.inspect called with: p#p1
-WebInspector.inspect's hints are: []
-inspect($('#p1')) = 
-Selected node id: 'p1'.
-
-Running: testRevealDatabase
-
-
-WebInspector.inspect called with: Database
-WebInspector.inspect's hints are: [&quot;databaseId&quot;]
-inspect(db) = Database {version: &quot;1.0&quot;, transaction: function, readTransaction: function, changeVersion: function}
-
-Running: testRevealDatabase2
-
-
-WebInspector.inspect called with: Database
-WebInspector.inspect's hints are: [&quot;databaseId&quot;]
-inspect(db2) = Database {version: &quot;1.0&quot;, transaction: function, readTransaction: function, changeVersion: function}
-
-Running: testRevealLocalStorage
-
-
-WebInspector.inspect called with: Storage
-WebInspector.inspect's hints are: [&quot;domStorageId&quot;]
-inspect(localStorage) = Storage {}
-
-Running: testRevealSessionStorage
-
-
-WebInspector.inspect called with: Storage
-WebInspector.inspect's hints are: [&quot;domStorageId&quot;]
-inspect(sessionStorage) = Storage {}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsolecommandlineapiinspecthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/command-line-api-inspect.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/command-line-api-inspect.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/command-line-api-inspect.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,76 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    window.db = openDatabase(&quot;InspectorDatabaseTest&quot;, &quot;1.0&quot;, &quot;Test of database reveal in inspector&quot;, 1);
-    window.db2 = openDatabase(&quot;InspectorDatabaseTest2&quot;, &quot;1.0&quot;, &quot;Test of database reveal in inspector&quot;, 1);
-    localStorage[&quot;inspector&quot;] = &quot;Test of local storage reveal in inspector&quot;;
-    sessionStorage[&quot;inspector&quot;] = &quot;Test of session storage reveal in inspector&quot;;
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector, &quot;inspect&quot;, sniffInspect, true);
-
-    function sniffInspect(objectId, hints)
-    {
-        InspectorTest.addResult(&quot;WebInspector.inspect called with: &quot; + objectId.description);
-        InspectorTest.addResult(&quot;WebInspector.inspect's hints are: &quot; + JSON.stringify(Object.keys(hints)));
-    }
-
-    function evalAndDump(expression, next)
-    {
-        InspectorTest.addResult(&quot;\n&quot;);
-        InspectorTest.evaluateInConsoleAndDump(expression, next);
-    }
-
-    InspectorTest.runTestSuite([
-        function testRevealElement(next)
-        {
-            InspectorTest.addSniffer(WebInspector, &quot;_updateFocusedNode&quot;, step2);
-            evalAndDump(&quot;inspect($('#p1'))&quot;);
-
-            function step2()
-            {
-                InspectorTest.addResult(&quot;Selected node id: '&quot; + WebInspector.panels.elements.selectedDOMNode().getAttribute(&quot;id&quot;) + &quot;'.&quot;);
-                next();
-            }
-        },
-
-        function testRevealDatabase(next)
-        {
-            evalAndDump(&quot;inspect(db)&quot;, next);
-        },
-
-        function testRevealDatabase2(next)
-        {
-            evalAndDump(&quot;inspect(db2)&quot;, next);
-        },
-
-        function testRevealLocalStorage(next)
-        {
-            evalAndDump(&quot;inspect(localStorage)&quot;, next);
-        },
-
-        function testRevealSessionStorage(next)
-        {
-            evalAndDump(&quot;inspect(sessionStorage)&quot;, next);
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p id=&quot;p1&quot;&gt;
-Tests that inspect() command line api works.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsolecommandlineapihtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/command-line-api.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/command-line-api.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/command-line-api.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var test = function()
-{
-    var expressions = [
-        &quot;String($0)&quot;,
-        &quot;$3&quot;,
-        &quot;String(keys([3,4]))&quot;,
-        &quot;String(values([3,4]))&quot;,
-        &quot;String($('#foo'))&quot;,
-        &quot;String($('#foo', document.body))&quot;,
-        &quot;String($('#foo', 'non-node'))&quot;,
-        &quot;String($('#foo', $('#bar')))&quot;,
-        &quot;String($$('p#foo'))&quot;,
-        &quot;String($$('p#foo', document.body))&quot;,
-        &quot;String($('foo'))&quot;
-    ];
-
-    InspectorTest.selectNodeWithId(&quot;foo&quot;, step1);
-
-    function step1(node)
-    {
-        if (!expressions.length) {
-            InspectorTest.dumpConsoleMessages();
-            InspectorTest.completeTest();
-            return;
-        }
-        var expression = expressions[0];
-        expressions.splice(0, 1);
-        WebInspector.log(&quot;\n&quot;);
-        InspectorTest.evaluateInConsole(expression, step1);
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p id=&quot;foo&quot;&gt;
-Tests that command line api works.
-&lt;/p&gt;&lt;p id=&quot;bar&quot;&gt;&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleObjectoverwrittenexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-Object-overwritten-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-Object-overwritten-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-Object-overwritten-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that Web Inspector's console is not broken if Object is overwritten in the inspected page. Test passes if the expression is evaluated in the console and no errors printed. Bug 101320.
-
-var foo = {bar:2012}; foo
-Object {bar: 2012}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleObjectoverwrittenhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-Object-overwritten.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-Object-overwritten.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-Object-overwritten.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,29 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-Object = function() {};
-
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;var foo = {bar:2012}; foo&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that Web Inspector's console is not broken if Object is overwritten in the inspected page.
-Test passes if the expression is evaluated in the console and no errors printed.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=101320&quot;&gt;Bug 101320.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleapioncallframeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-api-on-call-frame-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-api-on-call-frame-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-api-on-call-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-Test that command line api does not mask values of scope variables while evaluating on a call frame.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Evaluated in console in the top frame context: dir + clear + inspect = &quot;dirclearinspect&quot;
-Evaluated in console in the top frame context: typeof $$ = &quot;function&quot;
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleapioncallframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-api-on-call-frame.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-api-on-call-frame.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-api-on-call-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-window.inspect = &quot;inspect&quot;;
-var clear = &quot;clear&quot;;
-
-function testFunction()
-{
-    var dir = &quot;dir&quot;;
-    debugger;
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.evaluateInConsole(&quot;dir + clear + inspect&quot;, step3);
-    }
-
-    function step3(result)
-    {
-        InspectorTest.addResult(&quot;Evaluated in console in the top frame context: dir + clear + inspect = &quot; + result);
-        InspectorTest.evaluateInConsole(&quot;typeof $$&quot;, step4);
-    }
-
-    function step4(result)
-    {
-        InspectorTest.addResult(&quot;Evaluated in console in the top frame context: typeof $$ = &quot; + result);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that command line api does not mask values of scope variables while evaluating
-on a call frame.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleassertexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-assert-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-assert-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-assert-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: 1
-CONSOLE MESSAGE: line 10: a
-Tests that console.assert() will dump a message and stack trace with source URLs and line numbers.
-
-Assertion failed: 1 console-assert.html:9b console-assert.html:9a console-assert.html:15
-Assertion failed: a b console-assert.html:10b console-assert.html:10a console-assert.html:15
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleasserthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-assert.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-assert.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-assert.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function b()
-{
-    console.assert(false, 1);
-    console.assert(false, &quot;a&quot;, &quot;b&quot;);
-}
-
-function a()
-{
-    b();
-}
-
-function test()
-{
-    var callCount = 0;
-    function callback()
-    {
-        if (++callCount === 2) {
-            InspectorTest.expandConsoleMessages();
-            InspectorTest.dumpConsoleMessages();
-            InspectorTest.completeTest();
-        }
-    }
-    InspectorTest.evaluateInPage(&quot;setTimeout(a, 0)&quot;);
-    InspectorTest.addConsoleSniffer(callback, true);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that console.assert() will dump a message and stack trace with source URLs and line numbers.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolebindfakeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-bind-fake-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-bind-fake-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-bind-fake-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that overriding Function.prototype.bind does not break inspector.
-
-foo
-&quot;fooValue&quot;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolebindfakehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-bind-fake.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-bind-fake.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-bind-fake.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,29 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var foo = 'fooValue';
-
-Function.prototype.bind = function () { throw &quot;:P&quot;; };
-
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;foo&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that overriding Function.prototype.bind does not break inspector.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleclearfunctionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-clear-function-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-clear-function-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-clear-function-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 10: one
-CONSOLE MESSAGE: line 11: two
-CONSOLE MESSAGE: line 12: three
-Tests that console is cleared via console.clear() method
-
-Bug 101021
-=== Before clear ===
-one console-clear-function.html:10
-two console-clear-function.html:11
-three console-clear-function.html:12
-=== After clear ===
-Console was cleared console-clear-function.html:19
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleclearfunctionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-clear-function.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-clear-function.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-clear-function.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function log()
-{
-    // Fill console.
-    console.log(&quot;one&quot;);
-    console.log(&quot;two&quot;);
-    console.log(&quot;three&quot;);
-}
-
-log();
-
-function foo()
-{
-    console.clear();
-}
-
-function test()
-{
-    InspectorTest.addResult(&quot;=== Before clear ===&quot;);
-    InspectorTest.dumpConsoleMessages();
-
-    RuntimeAgent.evaluate(&quot;foo();&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;=== After clear ===&quot;);
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    };
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that console is cleared via console.clear() method
-&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=101021&quot;&gt;Bug 101021 &lt;/a&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolecommandclearexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-command-clear-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-command-clear-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-command-clear-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: one
-CONSOLE MESSAGE: line 10: two
-CONSOLE MESSAGE: line 11: three
-Tests that console is cleared upon clear() eval in console.
-
-=== Before clear ===
-one console-command-clear.html:9
-two console-command-clear.html:10
-three console-command-clear.html:11
-=== After clear ===
-undefined
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolecommandclearhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-command-clear.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-command-clear.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-command-clear.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function log() {
-    // Fill console.
-    console.log(&quot;one&quot;);
-    console.log(&quot;two&quot;);
-    console.log(&quot;three&quot;);
-}
-
-log();
-
-function test()
-{
-
-    InspectorTest.addResult(&quot;=== Before clear ===&quot;); 
-    InspectorTest.dumpConsoleMessages();
-
-    function callback()
-    {
-        InspectorTest.addResult(&quot;=== After clear ===&quot;); 
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-    InspectorTest.evaluateInConsole(&quot;clear()&quot;, callback);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-    Tests that console is cleared upon clear() eval in console.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolecsswarningsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-css-warnings-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-css-warnings-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-css-warnings-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-Tests CSS warnings are properly exposed.
-
-Invalid CSS property declaration at: # console-css-warnings.html:10
-Invalid CSS property declaration at: { console-css-warnings.html:15
-Invalid CSS property declaration at: # console-css-warnings.html:18
-Invalid CSS property declaration at: # console-css-warnings.html:22
-Invalid CSS property declaration at: # console-css-warnings.html:32
-Unexpected CSS token: @ console-css-warnings.html:33
-Unexpected CSS token: { console-css-warnings.html:37
-Unexpected CSS token: { console-css-warnings.html:38
-Unexpected CSS token: { console-css-warnings.html:39
-Unexpected CSS token: { console-css-warnings.html:40
-Unexpected CSS token: @ console-css-warnings.html:44
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolecsswarningshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-css-warnings.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-css-warnings.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-css-warnings.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,69 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;style&gt;
-x {}
-
-x {
-    #
-}
-
-x {
-    color: red;
-    {}}
-
-x {
-    ### {}}
-
-x {
-   color: red;
-   #########
-}
-
-x {
-   color: red {};
-   color: #;
-}
-
-x {
-   color: red;
-   ###;
-   color: @;
-}
-
-x {
-    color{};
-    color{#};
-    color{###};
-    color{{{}}};
-}
-
-x {
-    color: @;  /* Test simple error to ensure parsing recovered. */
-}
-
-&lt;/style&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    // Ensure script generated errors don't go to the console.
-    var style = document.createElement('style');
-    style.textContent = &quot;x{y:*}&quot;;
-    document.head.appendChild(style);
-
-    InspectorTest.expandConsoleMessages();
-    InspectorTest.dumpConsoleMessages();
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p id=&quot;p&quot;&gt;Tests CSS warnings are properly exposed.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoledirexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-dir-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-dir-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-dir-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: test1,test2
-CONSOLE MESSAGE: line 10: [object NodeList]
-CONSOLE MESSAGE: line 11: [object XPathResult]
-Tests that console logging dumps proper messages.
-
-
-
-Array[2]
-    0: &quot;test1&quot;
-    1: &quot;test2&quot;
-    length: 2
-    __proto__: Array[0] console-dir.html:9
-
-NodeList[1]
-    0: html
-    constructor: NodeListConstructor
-    length: 1
-    __proto__: NodeListPrototype console-dir.html:10
-
-XPathResult
-    booleanValue: [Exception: XPathException]
-    constructor: XPathResultConstructor
-    invalidIteratorState: false
-    numberValue: [Exception: XPathException]
-    resultType: 4
-    singleNodeValue: [Exception: XPathException]
-    snapshotLength: [Exception: XPathException]
-    stringValue: [Exception: XPathException]
-    __proto__: XPathResultPrototype console-dir.html:11
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoledirglobalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-dir-global-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-dir-global-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-dir-global-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: [object Window]
-Tests that console dumps global object with properties.
-
-{
-    Array : 1
-    console : 1
-    constructor : 1
-    document : 1
-    doit : 1
-    eval : 1
-    frames : 1
-    window : 1
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoledirglobalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-dir-global.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-dir-global.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-dir-global.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function doit()
-{
-    console.dir(window);
-    runTest();
-}
-
-function test()
-{
-    RuntimeAgent.evaluate(&quot;window&quot;, &quot;console&quot;, false, evalCallback);
-
-    function evalCallback(error, result)
-    {
-        if (error) {
-            testController.notifyDone(&quot;Exception:&quot; + error);
-            return;
-        }
-        if (result.type === &quot;error&quot;)
-            testController.notifyDone(&quot;Exception:&quot; + result);
-        var objectProxy = WebInspector.RemoteObject.fromPayload(result);
-        objectProxy.getOwnProperties(getPropertiesCallback);
-    }
-
-    function getPropertiesCallback(properties)
-    {
-        properties.sort(WebInspector.ObjectPropertiesSection.CompareProperties);
-        var golden = { &quot;window&quot;: 1, &quot;document&quot;: 1, &quot;eval&quot;: 1, &quot;console&quot;: 1, &quot;frames&quot;: 1, &quot;Array&quot;: 1, &quot;doit&quot;: 1 }; 
-        var result = {};
-        for (var i = 0; i &lt; properties.length; ++i) {
-            var name = properties[i].name;
-            if (golden[name])
-                result[name] = 1;
-        }
-        InspectorTest.addObject(result);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;doit()&quot;&gt;
-&lt;p&gt;
-Tests that console dumps global object with properties.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoledirhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-dir.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-dir.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-dir.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    console.dir([&quot;test1&quot;, &quot;test2&quot;]);
-    console.dir(document.childNodes);
-    console.dir(document.evaluate(&quot;//head&quot;, document, null, XPathResult.ANY_TYPE, null));
-    runTest();
-}
-
-function test()
-{
-    var messages = WebInspector.console.messages;
-    for (var i = 0; i &lt; messages.length; ++i) {
-        var element = messages[i].toMessageElement();
-        var node = element.traverseNextNode(element);
-        while (node) {
-            if (node._section) {
-                messages[i].section = node._section;
-                node._section.expanded = true;
-                break;
-            }
-            node = node.traverseNextNode(element);
-        }
-    }
-
-    InspectorTest.runAfterPendingDispatches(dumpConsoleMessages);
-
-    function dumpConsoleMessages()
-    {
-        InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspector.consoleView.messagesElement));
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests that console logging dumps proper messages.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalblockedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-blocked-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-blocked-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-blocked-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that evaluation in console still works even if script evals are prohibited by Content-Security-Policy. Bug 60800.
-
-1+2
-3
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalblockedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-blocked.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-blocked.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-blocked.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'unsafe-inline'&quot;&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;1+2&quot;, step1);
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that evaluation in console still works even if script evals are prohibited by Content-Security-Policy.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60800&quot;&gt;Bug 60800.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalcommentexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-comment-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-comment-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-comment-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that evaluating an expression containing a single line comment does not cause an erroneous error. Bug 116292.
-
-// test
-undefined
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalcommenthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-comment.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-comment.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-comment.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;// test&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that evaluating an expression containing a single line comment does not cause an erroneous error.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=116292&quot;&gt;Bug 116292.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that simple evaluations may be performed in the console.
-
-1+2
-3
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalfakeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-fake-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-fake-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-fake-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that overriding window.eval does not break inspector.
-
-foo
-&quot;fooValue&quot;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalfakehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-fake.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-fake.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-fake.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,29 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var foo = 'fooValue';
-
-window.eval = &quot;Non-function&quot;;
-
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;foo&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that overriding window.eval does not break inspector.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalglobalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-global-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-global-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-global-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Tests that simple evaluations may be performed in the console on global object.
-
-foo
-&quot;fooValue&quot;
-bar
-Object {a: &quot;b&quot;}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalglobalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-global.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-global.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-global.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var foo = 'fooValue';
-var bar = {
-    a: 'b'
-};
-
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;foo&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInConsole(&quot;bar&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that simple evaluations may be performed in the console on global object.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalscopedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-scoped-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-scoped-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-scoped-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 4: with: Object property value
-CONSOLE MESSAGE: line 1: eval in with: Object property value
-CONSOLE MESSAGE: line 1: eval in function: Function parameter
-Tests that evaluating 'console.log()' in the console will have access to its outer scope variables. Bug 60547.
-
-with: Object property value
-eval in with: Object property value
-eval in function: Function parameter
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalscopedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-scoped.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-scoped.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-scoped.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    function snippet1() {
-        (function (obj) {
-           with (obj) {
-              console.log('with: ' + a);
-              eval(&quot;console.log('eval in with: ' + a)&quot;);
-           }
-        })({ a: &quot;Object property value&quot; })
-    }
-
-    function snippet2() {
-        (function (a) { eval(&quot;console.log('eval in function: ' + a)&quot;); })(&quot;Function parameter&quot;)
-    }
-
-    function bodyText(f) {
-        var text = f.toString();
-        var begin = text.indexOf(&quot;{&quot;);
-        return text.substring(begin);
-    }
-
-    InspectorTest.evaluateInPage(bodyText(snippet1), step1);
-
-    function step1()
-    {
-        InspectorTest.runAfterPendingDispatches(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.evaluateInPage(bodyText(snippet2), step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that evaluating 'console.log()' in the console will have access to its outer scope variables.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60547&quot;&gt;Bug 60547.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalsyntaxerrorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-syntax-error-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-syntax-error-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-syntax-error-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that evaluating an expression with a syntax error in the console won't crash the browser. Bug 61194.
-
-foo().
-SyntaxError: Expected an identifier but found '}' instead
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalsyntaxerrorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-syntax-error.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-syntax-error.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-syntax-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;foo().&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that evaluating an expression with a syntax error in the console won't crash the browser.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61194&quot;&gt;Bug 61194.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalthrowundefinedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-throw-undefined-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-throw-undefined-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-throw-undefined-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that evaluating 'throw undefined' in the console won't crash the browser. Bug 59611.
-
-throw undefined
-undefined
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalthrowundefinedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-throw-undefined.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-throw-undefined.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-throw-undefined.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;throw undefined&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that evaluating 'throw undefined' in the console won't crash the browser.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=59611&quot;&gt;Bug 59611.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalundefinedoverrideexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-undefined-override-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-undefined-override-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-undefined-override-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Tests that evaluating something in console won't crash the browser if undefined value is overriden. The test passes if it doesn't crash. Bug 64155.
-
-var x = {a:1}; x.self = x; undefined = x;
-Object {a: 1, self: Object}
-unknownVar
-ReferenceError: Can't find variable: unknownVar
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalundefinedoverridehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval-undefined-override.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval-undefined-override.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval-undefined-override.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;var x = {a:1}; x.self = x; undefined = x;&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInConsole(&quot;unknownVar&quot;, step2);
-    }
-    function step2()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that evaluating something in console won't crash the browser if undefined value
-is overriden. The test passes if it doesn't crash.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=64155&quot;&gt;Bug 64155.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleevalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-eval.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-eval.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,27 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;1+2&quot;, step2);
-
-    function step2()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that simple evaluations may be performed in the console.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleexceptionstacktracesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-exception-stack-traces-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-exception-stack-traces-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-exception-stack-traces-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 16: URIError: URI error
-CONSOLE MESSAGE: line 21: TypeError: 1 is not a function (evaluating '1()')
-CONSOLE MESSAGE: line 26: RangeError: Array size is not a small enough positive integer.
-CONSOLE MESSAGE: line 31: SyntaxError: Expected token '}'
-CONSOLE MESSAGE: line 36: ReferenceError: Can't find variable: doesNotExist
-CONSOLE MESSAGE: line 46: Error: Custom Error
-CONSOLE MESSAGE: line 51: [object Object]
-CONSOLE MESSAGE: line 56: error string
-CONSOLE MESSAGE: line 1: DONE
-Tests that JavaScript exception's contain stack traces and that the functions match console.trace() stack traces.
-
-SUCCESS
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleexceptionstacktraceshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-exception-stack-traces.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-exception-stack-traces.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-exception-stack-traces.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,134 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function wrapper(f) { wrapper2(f); }
-function wrapper2(f) { wrapper3(f); }
-function wrapper3(f) { wrapper4(f); }
-function wrapper4(f) { finalWrapper(f); }
-function finalWrapper(f) { produceError(f); }
-function produceError(f) {
-    f();
-}
-
-function uriError() {
-    console.trace();
-    decodeURI(&quot;%&quot;);
-}
-
-function typeError() {
-    console.trace();
-    1();
-}
-
-function rangeError() {
-    console.trace();
-    Array(-1).length;
-}
-
-function syntaxError() {
-    console.trace();
-    eval(&quot;{&quot;);
-}
-
-function referenceError() {
-    console.trace();
-    doesNotExist;
-}
-
-function domException() {
-    console.trace();
-    document.body.appendChild(&quot;should not be a string&quot;);
-}
-
-function throwErrorObject() {
-    console.trace();
-    throw new Error(&quot;Custom Error&quot;);
-}
-
-function throwObject() {
-    console.trace();
-    throw {name: &quot;CustomErrorObjectName&quot;, message: &quot;CustomErrorObjectMessage&quot;};
-}
-
-function throwString() {
-    console.trace();
-    throw &quot;error string&quot;;
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector.ConsoleDispatcher.prototype, &quot;messageAdded&quot;, messageAdded, true);
-
-    var hadError = false;
-    var traceStackTrace = null;
-    var errorStackTrace = null;
-
-    function messageAdded(payload)
-    {
-        if (payload.text === &quot;DONE&quot;) {
-            InspectorTest.addResult(hadError ? &quot;FAILURE&quot; : &quot;SUCCESS&quot;);
-            InspectorTest.completeTest();
-            return;
-        }
-
-        if (!traceStackTrace) {
-            if (payload.source === &quot;console-api&quot; &amp;&amp; payload.type === &quot;trace&quot; &amp;&amp; payload.stackTrace)
-                traceStackTrace = payload.stackTrace;
-            else {
-                InspectorTest.addResult(&quot;Expected console.trace() message with a stackTrace, but got: &quot; + JSON.stringify(payload));
-                traceStackTrace = errorStackTrace = null;
-                hadError = true;
-                return;
-            }
-        } else if (!errorStackTrace) {
-            if (payload.source === &quot;javascript&quot; &amp;&amp; payload.level === &quot;error&quot; &amp;&amp; payload.stackTrace)
-                errorStackTrace = payload.stackTrace;
-            else {
-                InspectorTest.addResult(&quot;Expected JavaScript Error message with stackTrace but got: &quot; + JSON.stringify(payload));
-                traceStackTrace = errorStackTrace = null;
-                hadError = true;
-                return;
-            }
-        }
-
-        if (traceStackTrace &amp;&amp; errorStackTrace) {
-            var hadStackTraceDifference = false;
-             if (traceStackTrace.length != errorStackTrace.length) {
-                if (errorStackTrace.length - traceStackTrace.length != 1 || (errorStackTrace[0].functionName != &quot;decodeURI&quot; &amp;&amp; errorStackTrace[0].functionName != &quot;eval&quot;))
-                    hadStackTraceDifference = true;
-            }
-            else {
-                for (var i = 0; i &lt; traceStackTrace.length; ++i) {
-                    if (traceStackTrace[i].functionName !== errorStackTrace[i].functionName)
-                        hadStackTraceDifference = true;
-                }
-            }
-
-            if (hadStackTraceDifference) {
-                InspectorTest.addResult(&quot;Unexpected stack trace for JavaScript Error: &quot; + payload.text);
-                hadError = true;
-            }
-
-            traceStackTrace = errorStackTrace = null;
-        }
-    }
-
-    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(uriError)&quot;);
-    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(typeError)&quot;);
-    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(rangeError)&quot;);
-    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(syntaxError)&quot;);
-    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(referenceError)&quot;);
-    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(throwErrorObject)&quot;);
-    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(throwObject)&quot;);
-    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(throwString)&quot;);
-    InspectorTest.evaluateInPageWithTimeout(&quot;console.log('DONE')&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that JavaScript exception's contain stack traces and that the functions match console.trace() stack traces.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleexternalarrayexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-external-array-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-external-array-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-external-array-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,35 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: [object Int8Array]
-CONSOLE MESSAGE: line 10: [object Int16Array]
-CONSOLE MESSAGE: line 11: [object Int32Array]
-CONSOLE MESSAGE: line 12: [object Uint8Array]
-CONSOLE MESSAGE: line 13: [object Uint16Array]
-CONSOLE MESSAGE: line 14: [object Uint32Array]
-CONSOLE MESSAGE: line 15: [object Float32Array]
-CONSOLE MESSAGE: line 16: [object Float64Array]
-CONSOLE MESSAGE: line 18: [object Int8Array]
-CONSOLE MESSAGE: line 19: [object Int16Array]
-CONSOLE MESSAGE: line 20: [object Int32Array]
-CONSOLE MESSAGE: line 21: [object Uint8Array]
-CONSOLE MESSAGE: line 22: [object Uint16Array]
-CONSOLE MESSAGE: line 23: [object Uint32Array]
-CONSOLE MESSAGE: line 24: [object Float32Array]
-CONSOLE MESSAGE: line 25: [object Float64Array]
-Tests that console logging detects external arrays as arrays.
-
-Int8Array[10] console-external-array.html:9
-Int16Array[10] console-external-array.html:10
-Int32Array[10] console-external-array.html:11
-Uint8Array[10] console-external-array.html:12
-Uint16Array[10] console-external-array.html:13
-Uint32Array[10] console-external-array.html:14
-Float32Array[10] console-external-array.html:15
-Float64Array[10] console-external-array.html:16
-Int8Array[10] console-external-array.html:18
-Int16Array[10] console-external-array.html:19
-Int32Array[10] console-external-array.html:20
-Uint8Array[10] console-external-array.html:21
-Uint16Array[10] console-external-array.html:22
-Uint32Array[10] console-external-array.html:23
-Float32Array[10] console-external-array.html:24
-Float64Array[10] console-external-array.html:25
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleexternalarrayhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-external-array.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-external-array.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-external-array.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    console.log(new Int8Array(10));
-    console.log(new Int16Array(10));
-    console.log(new Int32Array(10));
-    console.log(new Uint8Array(10));
-    console.log(new Uint16Array(10));
-    console.log(new Uint32Array(10));
-    console.log(new Float32Array(10));
-    console.log(new Float64Array(10));
-
-    console.dir(new Int8Array(10));
-    console.dir(new Int16Array(10));
-    console.dir(new Int32Array(10));
-    console.dir(new Uint8Array(10));
-    console.dir(new Uint16Array(10));
-    console.dir(new Uint32Array(10));
-    console.dir(new Float32Array(10));
-    console.dir(new Float64Array(10));
-
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.dumpConsoleMessages();
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests that console logging detects external arrays as arrays.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelastresultexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-last-result-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-last-result-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-last-result-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Tests that console exposes last evaluation result as $_.
-
-1+1
-2
-$_
-2
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelastresulthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-last-result.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-last-result.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-last-result.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;1+1&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInConsole(&quot;$_&quot;, callback);
-    }
-
-    function callback()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-    Tests that console exposes last evaluation result as $_.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelogbeforeinspectoropenexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-before-inspector-open-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-before-inspector-open-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-before-inspector-open-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 7: log
-CONSOLE MESSAGE: line 8: debug
-CONSOLE MESSAGE: line 9: info
-CONSOLE MESSAGE: line 10: warn
-CONSOLE MESSAGE: line 11: error
-Tests that Web Inspector won't crash if some console have been logged by the time it's opening.
-
-log console-log-before-inspector-open.html:7
-debug console-log-before-inspector-open.html:8
-info console-log-before-inspector-open.html:9
-warn console-log-before-inspector-open.html:10
-error console-log-before-inspector-open.html:11
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelogbeforeinspectoropenhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-before-inspector-open.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-before-inspector-open.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-before-inspector-open.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-console.log('log');
-console.debug('debug');
-console.info('info');
-console.warn('warn');
-console.error('error');
-
-function test()
-{
-    InspectorTest.dumpConsoleMessages();
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that Web Inspector won't crash if some console have been logged by the time it's opening.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelogdocumentprotoexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-document-proto-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-document-proto-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-document-proto-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 6: [object HTMLDocumentPrototype]
-Test that console.dir(document.__proto__) won't result in an exception when the message is formatted in the inspector.Bug 27169.
-
-HTMLDocumentPrototype console-log-document-proto.html:6
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelogdocumentprotohtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-document-proto.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-document-proto.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-document-proto.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,21 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-console.dir(document.__proto__);
-
-function test()
-{
-    InspectorTest.dumpConsoleMessages();
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that console.dir(document.__proto__) won't result in an exception when the message
-is formatted in the inspector.&lt;a bug=&quot;https://bugs.webkit.org/show_bug.cgi?id=27169&quot;&gt;Bug  27169.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelognativefuncsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-native-funcs-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-native-funcs-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-native-funcs-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: [object DocumentConstructor]
-CONSOLE MESSAGE: line 10: function createElement() {
-    [native code]
-}
-Tests that console logging dumps proper messages.
-
-console-log-native-funcs.html:9DocumentConstructor console-message console-js-source console-log-level
-console-log-native-funcs.html:10function createElement() {
-    [native code]
-} console-message console-js-source console-log-level
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelogsyntaxerrorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-syntax-error-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-syntax-error-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-syntax-error-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token ')'
-Tests that syntax errors are logged into console and doesn't cause browser crash.
-
-SyntaxError: Unexpected token ')' syntax-error.js:1
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelogsyntaxerrorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-syntax-error.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-syntax-error.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-syntax-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/syntax-error.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.dumpConsoleMessages();
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that syntax errors are logged into console and doesn't cause browser crash.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelogtoStringobjectexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-toString-object-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-toString-object-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-toString-object-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 7: 
-CONSOLE MESSAGE: line 7: 
-Tests that passing an object which throws on string conversion into console.log won't crash inspected Page. The test passes if it doesn't crash. Bug 57557
-
-Page reloaded.
-Object {toString: Object} console-log-toString-object.html:7
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelogtoStringobjecthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-log-toString-object.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-log-toString-object.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-log-toString-object.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-console.log({toString:{}});
-
-function test()
-{
-    InspectorTest.reloadPage(function() {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    });
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that passing an object which throws on string conversion into console.log won't crash
-inspected Page. The test passes if it doesn't crash.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=57557&quot;&gt;Bug 57557&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelongevalcrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-long-eval-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-long-eval-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-long-eval-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Test that any long api call from the frontend will not crash the inspected page's renderer if the page is reloaded or frontend is closed in the middle.
-
-https://bugs.webkit.org/show_bug.cgi?id=60616
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolelongevalcrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-long-eval-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-long-eval-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-long-eval-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-testRunner.setCanOpenWindows();
-
-function doDialog()
-{
-    testRunner.closeWebInspector();
-    showModalDialog('data:text/html,&lt;script&gt;setTimeout(close, 0);%3c/script&gt;');
-    setTimeout(function(){testRunner.notifyDone();}, 0);
-}
-
-function test()
-{
-    RuntimeAgent.evaluate(&quot;doDialog()&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that any long api call from the frontend will not crash the inspected page's renderer if the page is reloaded or frontend is closed in the middle.
-&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60616&quot;&gt;https://bugs.webkit.org/show_bug.cgi?id=60616&lt;/a&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolemessageformatexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-message-format-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-message-format-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-message-format-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: Message format number %i, %d and %f
-CONSOLE MESSAGE: line 10: Message %s for %s
-CONSOLE MESSAGE: line 11: Object %o
-CONSOLE MESSAGE: line 12: Floating as integers: %d %i
-CONSOLE MESSAGE: line 13: Floating as is: %f
-CONSOLE MESSAGE: line 14: Non-numbers as numbers: %d %i %f
-CONSOLE MESSAGE: line 15: String as is: %s
-CONSOLE MESSAGE: line 16: Object as string: %s
-Tests that console logging uses proper message formatting.
-
-Message format number 1, 2 and 3.5 console-message-format.html:9
-Message format for string console-message-format.html:10
-Object Object console-message-format.html:11
-Floating as integers: 42 42 console-message-format.html:12
-Floating as is: 42.5 console-message-format.html:13
-Non-numbers as numbers: NaN NaN NaN console-message-format.html:14
-String as is: string console-message-format.html:15
-Object as string: #document console-message-format.html:16
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolemessageformathtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-message-format.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-message-format.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-message-format.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    console.log('Message format number %i, %d and %f', 1, 2, 3.5);
-    console.log('Message %s for %s', 'format', 'string');
-    console.log('Object %o', {'foo' : 'bar' });
-    console.log(&quot;Floating as integers: %d %i&quot;, 42.5, 42.5);
-    console.log(&quot;Floating as is: %f&quot;, 42.5);
-    console.log(&quot;Non-numbers as numbers: %d %i %f&quot;, document, null, &quot;document&quot;);
-    console.log(&quot;String as is: %s&quot;, &quot;string&quot;);
-    console.log(&quot;Object as string: %s&quot;, document);
-
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.expandConsoleMessages();
-    InspectorTest.dumpConsoleMessages();
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p id=&quot;p&quot;&gt;Tests that console logging uses proper message formatting.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolemessagesstacktracesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-messages-stack-traces-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-messages-stack-traces-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-messages-stack-traces-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 16: log
-CONSOLE MESSAGE: line 17: info
-CONSOLE MESSAGE: line 18: warn
-CONSOLE MESSAGE: line 19: debug
-CONSOLE MESSAGE: line 20: error
-CONSOLE MESSAGE: line 21: assert
-CONSOLE MESSAGE: line 22: trace
-CONSOLE MESSAGE: line 23: 1,2,3
-CONSOLE MESSAGE: line 24: [object HTMLBodyElement]
-CONSOLE MESSAGE: line 30: MARKER: EXPECT NO STACK TRACES
-CONSOLE MESSAGE: line 34: MARKER: DONE
-Tests that console-api messages contain stack traces.
-
-SUCCESS
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolemessagesstacktraceshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-messages-stack-traces.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-messages-stack-traces.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-messages-stack-traces.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,81 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performConsoleMessages() {
-    // No console message.
-    console.timeStamp();
-
-    // Expected to have stack traces.
-    console.time(&quot;time&quot;); // Nothing until timeEnd.
-    console.clear();
-    console.group(&quot;group&quot;);
-    console.profile(&quot;profile&quot;);
-    console.log(&quot;log&quot;);
-    console.info(&quot;info&quot;);
-    console.warn(&quot;warn&quot;);
-    console.error(&quot;debug&quot;);
-    console.error(&quot;error&quot;);
-    console.assert(false, &quot;assert&quot;);
-    console.trace(&quot;trace&quot;);
-    console.dir([1,2,3]);
-    console.dirxml(document.body);
-    console.count(&quot;count&quot;);
-    console.profileEnd(&quot;profile&quot;);
-    console.timeEnd(&quot;time&quot;);
-
-    // Not expected to have stack traces.
-    console.log(&quot;MARKER: EXPECT NO STACK TRACES&quot;);
-    console.groupEnd(&quot;group&quot;);
-
-    // End the test
-    console.log(&quot;MARKER: DONE&quot;);
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector.ConsoleDispatcher.prototype, &quot;messageAdded&quot;, messageAdded, true);
-
-    var hadIssue = false;
-    var expectStackTraces = true;
-
-    function messageAdded(payload)
-    {
-        if (payload.level === &quot;log&quot;) {
-            if (payload.text === &quot;MARKER: DONE&quot;) {
-                InspectorTest.addResult(hadIssue ? &quot;FAILURE&quot; : &quot;SUCCESS&quot;);
-                InspectorTest.completeTest();
-                return;
-            }
-            if (payload.text === &quot;MARKER: EXPECT NO STACK TRACES&quot;) {
-                expectStackTraces = false;
-                return;
-            }
-        }
-
-        var url = payload.url;
-        var lastSlashIndex = url.lastIndexOf(&quot;/&quot;);
-        url = url.substring(lastSlashIndex + 1);
-
-        if (&quot;stackTrace&quot; in payload &amp;&amp; !expectStackTraces) {
-            InspectorTest.addResult(&quot;Unexpected stack trace for: &quot; + JSON.stringify(payload));
-            hadIssue = true;
-        } else if (!(&quot;stackTrace&quot; in payload) &amp;&amp; expectStackTraces) {
-            InspectorTest.addResult(&quot;Expected stack trace for: &quot; + JSON.stringify(payload));
-            hadIssue = true;
-        }
-    }
-
-    InspectorTest.evaluateInPage(&quot;performConsoleMessages()&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that console-api messages contain stack traces.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolenativefunctiontostringexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-native-function-to-string-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-native-function-to-string-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-native-function-to-string-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,63 +0,0 @@
</span><del>-Tests that command-line API methods behave similarly to native code by returning '[WebInspector console function]' via toString().
-
-
-
-$
-function $() { [Command Line API] }
-
-
-$$
-function $$() { [Command Line API] }
-
-
-$x
-function $x() { [Command Line API] }
-
-
-dir
-function dir() { [Command Line API] }
-
-
-dirxml
-function dirxml() { [Command Line API] }
-
-
-keys
-function keys() { [Command Line API] }
-
-
-values
-function values() { [Command Line API] }
-
-
-profile
-function profile() { [Command Line API] }
-
-
-profileEnd
-function profileEnd() { [Command Line API] }
-
-
-monitorEvents
-function monitorEvents() { [Command Line API] }
-
-
-unmonitorEvents
-function unmonitorEvents() { [Command Line API] }
-
-
-inspect
-function inspect() { [Command Line API] }
-
-
-copy
-function copy() { [Command Line API] }
-
-
-clear
-function clear() { [Command Line API] }
-
-
-getEventListeners
-function getEventListeners() { [Command Line API] }
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolenativefunctiontostringhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-native-function-to-string.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-native-function-to-string.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-native-function-to-string.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-    &lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-    &lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-    &lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-    &lt;script&gt;
-        var test = function()
-        {
-            var expressions = [
-                &quot;$&quot;, &quot;$$&quot;, &quot;$x&quot;, &quot;dir&quot;, &quot;dirxml&quot;, &quot;keys&quot;, &quot;values&quot;, &quot;profile&quot;, &quot;profileEnd&quot;,
-                &quot;monitorEvents&quot;, &quot;unmonitorEvents&quot;, &quot;inspect&quot;, &quot;copy&quot;, &quot;clear&quot;, &quot;getEventListeners&quot;
-            ];
-
-            function executeExpression()
-            {
-                if (!expressions.length) {
-                    InspectorTest.dumpConsoleMessages();
-                    InspectorTest.completeTest();
-                    return;
-                }
-                var expression = expressions[0];
-                expressions.splice(0, 1);
-                WebInspector.log(&quot;\n&quot;);
-                InspectorTest.evaluateInConsole(expression, executeExpression);
-            }
-
-            executeExpression();
-        }
-    &lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-    &lt;p&gt;Tests that command-line API methods behave similarly to native code by returning '[WebInspector console function]' via toString().&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolenestedgroupexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-nested-group-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-nested-group-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-nested-group-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 11: Message inside inner group
-CONSOLE MESSAGE: line 14: Message that must not be in any group
-CONSOLE MESSAGE: line 21: Message inside third group
-Tests that console.group/groupEnd messages won't be coalesced. Bug 56114. Bug 63521.
-
-outer group console-nested-group.html:9 console-message console-log-level console-group-title
-inner group console-nested-group.html:10 console-message console-log-level console-group-title
-Message inside inner group console-nested-group.html:11 console-message console-log-level
- console-message console-log-level
- console-message console-log-level
-Message that must not be in any group console-nested-group.html:14 console-message console-log-level
-One of several groups which shouldn't be coalesced. console-nested-group.html:19 console-message console-log-level console-group-title
-One of several groups which shouldn't be coalesced. console-nested-group.html:19 console-message console-log-level console-group-title
-One of several groups which shouldn't be coalesced. console-nested-group.html:19 console-message console-log-level console-group-title
-Message inside third group console-nested-group.html:21 console-message console-log-level
- console-message console-log-level
- console-message console-log-level
- console-message console-log-level
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolenestedgrouphtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-nested-group.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-nested-group.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-nested-group.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    console.group(&quot;outer group&quot;);
-    console.group(&quot;inner group&quot;);
-    console.log(&quot;Message inside inner group&quot;);
-    console.groupEnd();
-    console.groupEnd();
-    console.log(&quot;Message that must not be in any group&quot;);
-
-
-    var groupCount = 3;
-    for (var i = 0; i &lt; groupCount; i++) {
-        console.group(&quot;One of several groups which shouldn't be coalesced.&quot;);
-    }
-    console.log(&quot;Message inside third group&quot;);
-    for (var i = 0; i &lt; groupCount; i++) {
-        console.groupEnd();
-    }
-
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.dumpConsoleMessagesWithClasses();
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests that console.group/groupEnd messages won't be coalesced. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=56114&quot;&gt;Bug 56114.&lt;/a&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=63521&quot;&gt;Bug 63521.&lt;/a&gt;
-
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleobjectconstructornameexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-object-constructor-name-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-object-constructor-name-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-object-constructor-name-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 11: [object Object]
-CONSOLE MESSAGE: line 12: [object Object]
-CONSOLE MESSAGE: line 13: [object Object]
-Tests that the name of the function invoked as object constructor will be displayed as its type in the front-end. Bug 50063.
-
-Parent console-object-constructor-name.html:11
-Parent console-object-constructor-name.html:12
-Object console-object-constructor-name.html:13
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleobjectconstructornamehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-object-constructor-name.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-object-constructor-name.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-object-constructor-name.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function Parent() { }
-function Child() { }
-Child.prototype = new Parent();
-var outer = { inner: function() { } };
-console.log(new Parent());
-console.log(new Child());
-console.log(new outer.inner());
-
-function test()
-{
-    InspectorTest.expandConsoleMessages();
-    InspectorTest.dumpConsoleMessages();
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that the name of the function invoked as object constructor will be displayed as its type in the front-end.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=50063&quot;&gt;Bug 50063.&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleobjectpreviewexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-object-preview-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-object-preview-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-object-preview-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: Mutating object in a loop
-CONSOLE MESSAGE: line 13: [object Object]
-CONSOLE MESSAGE: line 13: [object Object]
-CONSOLE MESSAGE: line 13: [object Object]
-CONSOLE MESSAGE: line 16: Mutating array in a loop
-CONSOLE MESSAGE: line 20: 0,0,0
-CONSOLE MESSAGE: line 20: 0,0,1
-CONSOLE MESSAGE: line 20: 0,0,2
-CONSOLE MESSAGE: line 23: Object with many properties
-CONSOLE MESSAGE: line 28: [object Object]
-CONSOLE MESSAGE: line 30: Array with many properties
-CONSOLE MESSAGE: line 35: 0,1
-CONSOLE MESSAGE: line 37: Object with proto
-CONSOLE MESSAGE: line 40: [object Object]
-CONSOLE MESSAGE: line 42: Sparse array
-CONSOLE MESSAGE: line 45: ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,50,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
-CONSOLE MESSAGE: line 47: Dense array with indexes and propeties
-CONSOLE MESSAGE: line 53: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149
-Tests that console produces instant previews for arrays and objects.
-
-Mutating object in a loop console-object-preview.html:9 console-message-text source-code &gt; console-message-url webkit-html-resource-link
-Object {a: 0, b: 0, c: 0} console-object-preview.html:13 console-message-text source-code &gt; console-formatted-object source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
-Object {a: 0, b: 0, c: 1} console-object-preview.html:13 console-message-text source-code &gt; console-formatted-object source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
-Object {a: 0, b: 0, c: 2} console-object-preview.html:13 console-message-text source-code &gt; console-formatted-object source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
-Mutating array in a loop console-object-preview.html:16 console-message-text source-code &gt; console-message-url webkit-html-resource-link
-[0, 0, 0] console-object-preview.html:20 console-message-text source-code &gt; console-formatted-array source-code &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
-[0, 0, 1] console-object-preview.html:20 console-message-text source-code &gt; console-formatted-array source-code &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
-[0, 0, 2] console-object-preview.html:20 console-message-text source-code &gt; console-formatted-array source-code &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
-Object with many properties console-object-preview.html:23 console-message-text source-code &gt; console-message-url webkit-html-resource-link
-Object {property_0: 0, property_1: 1, property_2: 2, property_3: 3, property_4: 4…} console-object-preview.html:28 console-message-text source-code &gt; console-formatted-object source-code &gt; section &gt; header monospace &gt; subtitle &gt; title &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; object-info-state-note &gt; properties properties-tree monospace &gt; console-message-url webkit-html-resource-link
-Array with many properties console-object-preview.html:30 console-message-text source-code &gt; console-message-url webkit-html-resource-link
-[0, 1, property_0: 0, property_1: 1, property_2: 2, property_3: 3, property_4: 4…] console-object-preview.html:35 console-message-text source-code &gt; console-formatted-array source-code &gt; section &gt; header monospace &gt; subtitle &gt; title &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; object-info-state-note &gt; properties properties-tree monospace &gt; console-message-url webkit-html-resource-link
-Object with proto console-object-preview.html:37 console-message-text source-code &gt; console-message-url webkit-html-resource-link
-Object {d: 1, a: 0, b: 0, c: 2} console-object-preview.html:40 console-message-text source-code &gt; console-formatted-object source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
-Sparse array console-object-preview.html:42 console-message-text source-code &gt; console-message-url webkit-html-resource-link
-[50: 50] console-object-preview.html:45 console-message-text source-code &gt; console-formatted-array source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
-Dense array with indexes and propeties console-object-preview.html:47 console-message-text source-code &gt; console-message-url webkit-html-resource-link
-[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99…] console-object-preview.html:53 console-message-text source-code &gt; console-formatted-array source-code &gt; section &gt; header monospace &gt; subtitle &gt; title &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; object-info-state-note &gt; properties properties-tree monospace &gt; console-message-url webkit-html-resource-link
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleobjectpreviewhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-object-preview.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-object-preview.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-object-preview.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,75 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function logToConsole()
-{
-    console.log(&quot;Mutating object in a loop&quot;);
-    var object = { a: 0, b: 0 };
-    for (var i = 0; i &lt; 3; ++i) {
-        object.c = i;
-        console.log(object);
-    }
-
-    console.log(&quot;Mutating array in a loop&quot;);
-    var array = [0, 0, 0];
-    for (var i = 0; i &lt; 3; ++i) {
-        array[2] = i;
-        console.log(array);
-    }
-
-    console.log(&quot;Object with many properties&quot;);
-    var objectWithManyProperties = {};
-    for (var i = 0; i &lt; 10; ++i) {
-        objectWithManyProperties[&quot;property_&quot; + i] = i;
-    }
-    console.log(objectWithManyProperties);
-
-    console.log(&quot;Array with many properties&quot;);
-    var arrayWithManyProperties = [0, 1];
-    for (var i = 0; i &lt; 10; ++i) {
-        arrayWithManyProperties[&quot;property_&quot; + i] = i;
-    }
-    console.log(arrayWithManyProperties);
-
-    console.log(&quot;Object with proto&quot;);
-    var objectWithProto = { d: 1 };
-    objectWithProto.__proto__ = object;
-    console.log(objectWithProto);
-
-    console.log(&quot;Sparse array&quot;);
-    var sparseArray = new Array(150);
-    sparseArray[50] = 50;
-    console.log(sparseArray);
-
-    console.log(&quot;Dense array with indexes and propeties&quot;);
-    var denseArray = new Array(150);
-    for (var i = 0; i &lt; 150; ++i) {
-        denseArray[i] = i;
-        denseArray[&quot;property_&quot; + i] = i;
-    }
-    console.log(denseArray);
-}
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;logToConsole()&quot;, callback);
-
-    function callback()
-    {
-        InspectorTest.dumpConsoleMessages(false, true);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that console produces instant previews for arrays and objects.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleoriginatingcommandexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-originating-command-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-originating-command-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-originating-command-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Tests that console result has originating command associated with it.
-
-1 + 1
-2
-Originating from: 1 + 1
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleoriginatingcommandhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-originating-command.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-originating-command.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-originating-command.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.evaluateInConsole(&quot;1 + 1&quot;, step1);
-    function step1()
-    {
-        InspectorTest.dumpConsoleMessages(true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-    Tests that console result has originating command associated with it.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolepreservelogexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-preserve-log-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-preserve-log-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-preserve-log-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that the console can preserve log messages across navigations. Bug 53359
-
-Page reloaded.
-PASS
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolepreserveloghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-preserve-log.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-preserve-log.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-preserve-log.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    WebInspector.console.addMessage(WebInspector.ConsoleMessage.create(WebInspector.ConsoleMessage.MessageSource.Other, WebInspector.ConsoleMessage.MessageLevel.Log, &quot;PASS&quot;));
-    WebInspector.settings.preserveConsoleLog.set(true);
-    InspectorTest.reloadPage(function() {
-        InspectorTest.dumpConsoleMessages();
-        WebInspector.settings.preserveConsoleLog.set(false);
-        InspectorTest.completeTest();
-    });
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that the console can preserve log messages across navigations.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=53359&quot;&gt;Bug 53359&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolerepeatcountexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-repeat-count-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-repeat-count-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-repeat-count-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-CONSOLE MESSAGE: line 10: Same message
-Tests that repeat count is properly updated.
-
-5Same message console-repeat-count.html:10
-&quot;Different message&quot;
-&quot;Different message&quot;
-5Same message console-repeat-count.html:10
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolerepeatcounthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-repeat-count.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-repeat-count.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-repeat-count.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function dumpMessages()
-{
-    for (var i = 0; i &lt; 5; ++i)
-        console.log(&quot;Same message&quot;);
-}
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;dumpMessages()&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInConsole(&quot;\&quot;Different message\&quot;&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.evaluateInPage(&quot;dumpMessages()&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that repeat count is properly updated.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolestringformatexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-string-format-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-string-format-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-string-format-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-Tests that formatting processes '%' properly in case of missing formatters.
-
-String.sprintf(%T, 1) = &quot;%T&quot;
-String.sprintf(10% x 20%, of the original) = &quot;10% x 20%&quot;
-String.sprintf(%%, ) = &quot;%%&quot;
-String.sprintf(%, ) = &quot;%&quot;
-String.sprintf(% %d, 1) = &quot;% 1&quot;
-String.sprintf(%d % %s, 1, foo) = &quot;1 % foo&quot;
-String.sprintf(%.2f, 0.12345) = &quot;0.12&quot;
-String.sprintf(foo%555 bar, ) = &quot;foo%555 bar&quot;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolestringformathtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-string-format.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-string-format.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-string-format.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var params = [
-        [&quot;%T&quot;, 1],
-        [&quot;10% x 20%&quot;, &quot;of the original&quot;],
-        [&quot;%%&quot;, &quot;&quot;],
-        [&quot;%&quot;, &quot;&quot;],
-        [&quot;% %d&quot;, 1],
-        [&quot;%d % %s&quot;, 1, &quot;foo&quot;],
-        [&quot;%.2f&quot;, 0.12345],
-        [&quot;foo%555 bar&quot;, &quot;&quot;],
-    ];
-    for (var i = 0; i &lt; params.length; ++i)
-        InspectorTest.addResult(&quot;String.sprintf(&quot; + params[i].join(&quot;, &quot;) + &quot;) = \&quot;&quot; + String.sprintf.apply(String, params[i]) + &quot;\&quot;&quot;);
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that formatting processes '%' properly in case of missing formatters.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolesubstitutedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-substituted-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-substituted-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-substituted-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that evaluate in console works even if window.console is substituted or deleted. Bug 53072
-
-1
-2
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolesubstitutedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-substituted.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-substituted.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-substituted.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function deleteConsole()
-{
-    window.console = undefined;
-}
-
-function substituteConsole()
-{
-    window.console = {
-        get _commandLineAPI() { return undefined; },
-        set _commandLineAPI() {}
-    };
-}
-
-var test = function()
-{
-    InspectorTest.evaluateInConsole(&quot;deleteConsole()&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInConsole(&quot;1&quot;, step2);
-    }
-
-    function step2(result)
-    {
-        InspectorTest.addResult(result);
-        InspectorTest.evaluateInConsole(&quot;substituteConsole()&quot;, step3);
-    }
-
-    function step3(result)
-    {
-        InspectorTest.evaluateInConsole(&quot;2&quot;, step4);
-    }
-
-    function step4(result)
-    {
-        InspectorTest.addResult(result);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that evaluate in console works even if window.console is substituted or deleted.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=53072&quot;&gt;Bug 53072&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoletestsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-tests-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-tests-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-tests-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: log
-CONSOLE MESSAGE: line 10: debug
-CONSOLE MESSAGE: line 11: info
-CONSOLE MESSAGE: line 12: warn
-CONSOLE MESSAGE: line 13: error
-CONSOLE MESSAGE: line 15: repeated
-CONSOLE MESSAGE: line 15: repeated
-CONSOLE MESSAGE: line 15: repeated
-CONSOLE MESSAGE: line 15: repeated
-CONSOLE MESSAGE: line 15: repeated
-CONSOLE MESSAGE: line 20: 1
-CONSOLE MESSAGE: line 22: [object Object]
-CONSOLE MESSAGE: line 23: 42
-CONSOLE MESSAGE: line 24: true
-CONSOLE MESSAGE: line 25: null
-CONSOLE MESSAGE: line 26: undefined
-CONSOLE MESSAGE: line 27: [object HTMLDocument]
-CONSOLE MESSAGE: line 28: function () { }
-CONSOLE MESSAGE: line 29: function f() { }
-CONSOLE MESSAGE: line 30: 1,2,3
-CONSOLE MESSAGE: line 31: /regexp.*/
-Tests that console logging dumps proper messages.
-
-log console-tests.html:9 console-message console-log-level
-debug console-tests.html:10 console-message console-debug-level
-info console-tests.html:11 console-message console-log-level
-warn console-tests.html:12 console-message console-warning-level
-error console-tests.html:13 console-message console-error-level
-5repeated console-tests.html:15 console-message console-log-level repeated-message
-count: 1 console-tests.html:17 console-message console-debug-level
-count: 2 console-tests.html:17 console-message console-debug-level
-group console-tests.html:18 console-message console-log-level console-group-title
- console-message console-log-level
-1 2 3 console-tests.html:20 console-message console-log-level
-groupCollapsed console-tests.html:21 console-message console-log-level console-group-title
-Object console-tests.html:22 console-message console-log-level
-42 console-tests.html:23 console-message console-log-level
-true console-tests.html:24 console-message console-log-level
-null console-tests.html:25 console-message console-log-level
-undefined console-tests.html:26 console-message console-log-level
-#document console-tests.html:27 console-message console-log-level
-function () { } console-tests.html:28 console-message console-log-level
-function f() { } console-tests.html:29 console-message console-log-level
-Array[3] console-tests.html:30 console-message console-log-level
-/regexp.*/ console-tests.html:31 console-message console-log-level
- console-message console-log-level
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoletestshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-tests.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-tests.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-tests.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    console.log('log');
-    console.debug('debug');
-    console.info('info');
-    console.warn('warn');
-    console.error('error');
-    for (var i = 0; i &lt; 5; ++i)
-        console.log('repeated');
-    for (var i = 0; i &lt; 2; ++i)
-        console.count('count');
-    console.group('group');
-    console.groupEnd();
-    console.log('1', '2', '3');
-    console.groupCollapsed('groupCollapsed');
-    console.log({ property: &quot;value&quot; });
-    console.log(42);
-    console.log(true);
-    console.log(null);
-    console.log(undefined);
-    console.log(document);
-    console.log(function() { });
-    console.log(function f() { });
-    console.log([1, 2, 3]);
-    console.log(/regexp.*/);
-    console.groupEnd();
-
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.dumpConsoleMessagesWithClasses();
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests that console logging dumps proper messages.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoletraceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-trace-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-trace-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-trace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests that console.trace dumps stack trace with source URLs and line numbers.
-
-console.trace() console-trace.html:9b console-trace.html:9a console-trace.html:14
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoletraceinevalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-trace-in-eval-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-trace-in-eval-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-trace-in-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests that when console.trace is called in eval'ed script ending with //@ sourceURL=url it will dump a stack trace that will have the url as the script source. Bug 47252.
-
-console.trace()baevalSource
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoletraceinevalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-trace-in-eval.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-trace-in-eval.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-trace-in-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-
-function evalSource()
-{
-    function b()
-    {
-        console.trace();
-    }
-
-    function a()
-    {
-        b();
-    }
-
-    a();
-}
-
-function doEvalSource()
-{
-    setTimeout(function() {
-        eval(&quot;(&quot; + evalSource + &quot;)()//@ sourceURL=evalURL.js&quot;);
-    }, 0);
-}
-
-function test()
-{
-    function callback()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-    InspectorTest.evaluateInPage(&quot;doEvalSource()&quot;);
-    InspectorTest.addConsoleSniffer(callback);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that when console.trace is called in eval'ed script ending
-with //@ sourceURL=url it will dump a stack trace that will have
-the url as the script source. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=47252&quot;&gt;Bug 47252.&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoletracehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-trace.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-trace.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-trace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function b()
-{
-    console.trace();
-}
-
-function a()
-{
-    b();
-}
-
-function test()
-{
-    function callback()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-    InspectorTest.evaluateInPage(&quot;setTimeout(a, 0)&quot;);
-    InspectorTest.addConsoleSniffer(callback);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that console.trace dumps stack trace with source URLs and line numbers.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-uncaught-exception-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-uncaught-exception-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-uncaught-exception-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 18: Error: Exception in inline script.
-CONSOLE MESSAGE: line 11: Error: Exception in 'load' event listener.
-CONSOLE MESSAGE: line 6: Error: Exception in setTimeout callback.
-Tests that uncaught exceptions are logged into console.Bug 47250.
-
-
-Error: Exception in inline script. resources/uncaught-in-iframe.html:18a resources/uncaught-in-iframe.html:18b resources/uncaught-in-iframe.html:23
-Error: Exception in 'load' event listener. resources/uncaught-in-iframe.html:11f resources/uncaught-in-iframe.html:11(anonymous function) resources/uncaught-in-iframe.html:13
-Error: Exception in setTimeout callback. uncaught-in-iframe.html:6bar uncaught-in-iframe.html:6(anonymous function) uncaught-in-iframe.html:8
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptioninevalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 4: Error: Exception in eval.
-CONSOLE MESSAGE: line 4: Error: Exception in eval.
-Tests that when uncaught exception in eval'ed script ending with //@ sourceURL=url is logged into console, its stack trace will have the url as the script source. Bug 47252.
-
-Page reloaded.
-Error: Exception in eval. undefined:4b undefined:4aevalSource
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptioninevalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,44 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.reloadPage(function() {
-        InspectorTest.expandConsoleMessages();
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    });
-}
-
-function evalSource()
-{
-    function b()
-    {
-        throw new Error(&quot;Exception in eval.&quot;);
-    }
-
-    function a()
-    {
-        b();
-    }
-
-    a();
-}
-
-eval(&quot;(&quot; + evalSource + &quot;)()//@ sourceURL=evalURL.js&quot;);
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that when uncaught exception in eval'ed script ending
-with //@ sourceURL=url is logged into console, its stack trace
-will have the url as the script source. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=47252&quot;&gt;Bug 47252.&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-uncaught-exception.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-uncaught-exception.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-uncaught-exception.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(addMessage, true);
-    InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
-    function addMessage(message)
-    {
-        if (message.toString().indexOf(&quot;setTimeout&quot;) !== -1) {
-            InspectorTest.expandConsoleMessages();
-            InspectorTest.dumpConsoleMessages();
-            InspectorTest.completeTest();
-        }
-    }
-}
-
-function loadIframe()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.src = &quot;resources/uncaught-in-iframe.html&quot;;
-    document.body.appendChild(iframe);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that uncaught exceptions are logged into console.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=47250&quot;&gt;Bug 47250.&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleurllinecolumnexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-url-line-column-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-url-line-column-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-url-line-column-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,19 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: one
-CONSOLE MESSAGE: line 10: two
-CONSOLE MESSAGE: line 11: three
-CONSOLE MESSAGE: line 14: error
-CONSOLE MESSAGE: line 14: log
-CONSOLE MESSAGE: line 15: info
-CONSOLE MESSAGE: line 15: warn
-CONSOLE MESSAGE: line 16: assert
-Tests that url, line, and column properties are defined for console functions.
-
-Message at location: console-url-line-column.html:9:16
-Message at location: console-url-line-column.html:10:16
-Message at location: console-url-line-column.html:11:16
-Message at location: console-url-line-column.html:14:18
-Message at location: console-url-line-column.html:14:40
-Message at location: console-url-line-column.html:15:17
-Message at location: console-url-line-column.html:15:39
-Message at location: console-url-line-column.html:16:19
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsoleurllinecolumnhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-url-line-column.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-url-line-column.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-url-line-column.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function log() {
-    // Fill console.
-    console.log(&quot;one&quot;);
-    console.log(&quot;two&quot;);
-    console.log(&quot;three&quot;);
-
-    // Different types and different columns.
-    console.error(&quot;error&quot;); console.log(&quot;log&quot;);
-    console.info(&quot;info&quot;); console.warn(&quot;warn&quot;);
-    console.assert(false, &quot;assert&quot;);
-}
-
-function test()
-{
-    InspectorTest.addSniffer(WebInspector.ConsoleDispatcher.prototype, &quot;messageAdded&quot;, messageAdded, true);
-
-    function messageAdded(payload)
-    {
-        var url = payload.url;
-        var lastSlashIndex = url.lastIndexOf(&quot;/&quot;);
-        url = url.substring(lastSlashIndex + 1);
-        InspectorTest.addResult(&quot;Message at location: &quot; + url + &quot;:&quot; + payload.line + &quot;:&quot; + payload.column);
-        if (payload.line === 16)
-            InspectorTest.completeTest();
-    }
-
-    InspectorTest.evaluateInPage(&quot;log()&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that url, line, and column properties are defined for console functions.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolexmldocumentexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-xml-document-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-xml-document-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-xml-document-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: [object Document]
-Tests that XML document contents are logged using the correct case in the console.
-
-#document&lt;MixedCase&gt; Test &lt;/MixedCase&gt; console-xml-document.html:9
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolexmldocumenthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-xml-document.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-xml-document.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-xml-document.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    console.dirxml((new DOMParser()).parseFromString(&quot;&lt;MixedCase&gt; Test &lt;/MixedCase&gt;&quot;, &quot;text/xml&quot;));
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.expandConsoleMessages();
-    InspectorTest.runAfterPendingDispatches(callback);
-
-    function callback()
-    {
-        InspectorTest.dumpConsoleMessages();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests that XML document contents are logged using the correct case in the console.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolexpathexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-xpath-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-xpath-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-xpath-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 1: complete
-Tests $x for iterator and non-iterator types.
-
-$x('42')
-$x('name(/html)')
-$x('not(42)')
-$x('/html/body/p').length
-42
-&quot;html&quot;
-false
-1
-complete
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleconsolexpathhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/console-xpath.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/console-xpath.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/console-xpath.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,35 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.addConsoleSniffer(addMessageSniffer, true);
-
-    InspectorTest.evaluateInConsole(&quot;$x('42')&quot;); // number
-    InspectorTest.evaluateInConsole(&quot;$x('name(/html)')&quot;); // string
-    InspectorTest.evaluateInConsole(&quot;$x('not(42)')&quot;); // boolean
-    InspectorTest.evaluateInConsole(&quot;$x('/html/body/p').length&quot;); // node iterator
-    InspectorTest.evaluateInPage(&quot;console.log('complete')&quot;); // node iterator
-
-    function addMessageSniffer(message)
-    {
-        if (message.toString().indexOf(&quot;complete&quot;) !== -1) {
-            InspectorTest.dumpConsoleMessages();
-            InspectorTest.completeTest();
-        }
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests $x for iterator and non-iterator types.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleinspecthtmlallcollectionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/inspect-html-all-collection-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/inspect-html-all-collection-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/inspect-html-all-collection-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests that HTMLAllCollection properties can be inspected.
-
-PASSED: retrieved length of document.all
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleinspecthtmlallcollectionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/inspect-html-all-collection.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/inspect-html-all-collection.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/inspect-html-all-collection.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    RuntimeAgent.evaluate(&quot;document.all&quot;, &quot;console&quot;, false, didGetHTMLAllCollection.bind(this));
-    function didGetHTMLAllCollection(error, result, wasThrown)
-    {
-        if (error || wasThrown) {
-            InspectorTest.addResult(&quot;FAILED: &quot; + error);
-            InspectorTest.completeTest();
-            return;
-        }
-        var htmlAllCollection = WebInspector.RemoteObject.fromPayload(result);
-        htmlAllCollection.callFunctionJSON(&quot;function(collection) { return this.length + collection.length; }&quot;, [{objectId: htmlAllCollection.objectId}], didGetLength.bind(this));
-    }
-
-    function didGetLength(len)
-    {
-        if (!len || typeof len !== &quot;number&quot;)
-            InspectorTest.addResult(&quot;FAILED: unexpected document.all.length: &quot; + len);
-        else
-            InspectorTest.addResult(&quot;PASSED: retrieved length of document.all&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that HTMLAllCollection properties can be inspected.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleresourceslogsourcejs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/resources/log-source.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/resources/log-source.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/resources/log-source.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-function log2()
-{
-    console.log.apply(console, arguments);
-}
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleresourcessyntaxerrorjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/resources/syntax-error.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/resources/syntax-error.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/resources/syntax-error.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-)
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorconsoleresourcesuncaughtiniframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/console/resources/uncaught-in-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/console/resources/uncaught-in-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/console/resources/uncaught-in-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,27 +0,0 @@
</span><del>-&lt;script&gt;
-window.addEventListener(&quot;load&quot;, function(e) {
-    function f() {
-        setTimeout(function() {
-            function bar() {
-                throw new Error(&quot;Exception in setTimeout callback.&quot;);
-            }
-            bar();
-        }, 0);
-
-        throw new Error(&quot;Exception in 'load' event listener.&quot;)
-    }
-    f();
-}, false);
-
-function a()
-{
-    throw new Error(&quot;Exception in inline script.&quot;)
-}
-
-function b()
-{
-    a();
-}
-
-b();
-&lt;/script&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerbreakpointmanagerexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/breakpoint-manager-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/breakpoint-manager-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/breakpoint-manager-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,286 +0,0 @@
</span><del>-Tests BreakpointManager class.
-
-
-Running: testSetBreakpoint
-  Created breakpoints manager
-  Dumping Storage
-  Adding UISourceCode: a.js
-  Setting breakpoint at a.js:30 enabled:true condition:
-    debuggerModel.setBreakpoint(a.js:30:)
-    breakpointAdded(a.js, 30, , true)
-    Location created: a.js:30
-  Dumping Storage
-    a.js:30 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 30)
-    Location disposed: a.js:30
-    debuggerModel.removeBreakpoint(a.js:30)
-
-Running: testSetDisabledBreakpoint
-  Created breakpoints manager
-  Dumping Storage
-  Adding UISourceCode: a.js
-  Setting breakpoint at a.js:30 enabled:false condition:
-    breakpointAdded(a.js, 30, , false)
-  Dumping Storage
-    a.js:30 enabled:false condition:
-  Enabling breakpoint
-    debuggerModel.setBreakpoint(a.js:30:)
-    breakpointRemoved(a.js, 30)
-    breakpointAdded(a.js, 30, , true)
-    Location created: a.js:30
-  Dumping Storage
-    a.js:30 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 30)
-    Location disposed: a.js:30
-    debuggerModel.removeBreakpoint(a.js:30)
-
-Running: testSetConditionalBreakpoint
-  Created breakpoints manager
-  Dumping Storage
-  Adding UISourceCode: a.js
-  Setting breakpoint at a.js:30 enabled:true condition:condition
-    debuggerModel.setBreakpoint(a.js:30:condition)
-    breakpointAdded(a.js, 30, condition, true)
-    Location created: a.js:30
-  Dumping Storage
-    a.js:30 enabled:true condition:condition
-  Updating condition
-    debuggerModel.removeBreakpoint(a.js:30)
-    debuggerModel.setBreakpoint(a.js:30:)
-    breakpointRemoved(a.js, 30)
-    Location disposed: a.js:30
-    breakpointAdded(a.js, 30, , true)
-    Location created: a.js:30
-  Dumping Storage
-    a.js:30 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 30)
-    Location disposed: a.js:30
-    debuggerModel.removeBreakpoint(a.js:30)
-
-Running: testRestoreBreakpoints
-  Created breakpoints manager
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:false condition:
-    b.js:3 enabled:true condition:
-  Adding UISourceCode: a.js
-    debuggerModel.setBreakpoint(a.js:10:foo == bar)
-    breakpointAdded(a.js, 20, , false)
-    breakpointAdded(a.js, 10, foo == bar, true)
-    Location created: a.js:10
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:false condition:
-    b.js:3 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 10)
-    Location disposed: a.js:10
-    debuggerModel.removeBreakpoint(a.js:10)
-    breakpointRemoved(a.js, 20)
-
-Running: testRestoreBreakpointsTwice
-  Created breakpoints manager
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:false condition:
-    b.js:3 enabled:true condition:
-  Adding UISourceCode: a.js
-    debuggerModel.setBreakpoint(a.js:10:foo == bar)
-    breakpointAdded(a.js, 20, , false)
-  Adding UISourceCode: a.js
-    breakpointAdded(a.js, 10, foo == bar, true)
-    Location created: a.js:10
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:false condition:
-    b.js:3 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 10)
-    Location disposed: a.js:10
-    debuggerModel.removeBreakpoint(a.js:10)
-    breakpointRemoved(a.js, 20)
-
-Running: testRemoveBreakpoints
-  Created breakpoints manager
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:false condition:
-    b.js:3 enabled:true condition:
-  Adding UISourceCode: a.js
-    debuggerModel.setBreakpoint(a.js:10:foo == bar)
-    breakpointAdded(a.js, 20, , false)
-    breakpointAdded(a.js, 10, foo == bar, true)
-    Location created: a.js:10
-  Setting breakpoint at a.js:30 enabled:true condition:
-    debuggerModel.setBreakpoint(a.js:30:)
-    breakpointAdded(a.js, 30, , true)
-    Location created: a.js:30
-  Removing breakpoint at a.js:30
-    breakpointRemoved(a.js, 30)
-    Location disposed: a.js:30
-    debuggerModel.removeBreakpoint(a.js:30)
-  Removing breakpoint at a.js:10
-    breakpointRemoved(a.js, 10)
-    Location disposed: a.js:10
-    debuggerModel.removeBreakpoint(a.js:10)
-  Removing breakpoint at a.js:20
-    breakpointRemoved(a.js, 20)
-  Dumping Storage
-    b.js:3 enabled:true condition:
-  Resetting breakpoint manager
-
-Running: testSetBreakpointThatShifts
-  Created breakpoints manager
-  Dumping Storage
-  Adding UISourceCode: a.js
-  Setting breakpoint at a.js:1015 enabled:true condition:
-    debuggerModel.setBreakpoint(a.js:1015:)
-    breakpointAdded(a.js, 1025, , true)
-    Location created: a.js:1025
-  Dumping Storage
-    a.js:1015 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 1025)
-    Location disposed: a.js:1025
-    debuggerModel.removeBreakpoint(a.js:1015)
-
-Running: testSetBreakpointThatShiftsTwice
-  Created breakpoints manager
-  Dumping Storage
-  Adding UISourceCode: a.js
-  Setting breakpoint at a.js:1015 enabled:true condition:
-    debuggerModel.setBreakpoint(a.js:1015:)
-    breakpointAdded(a.js, 1025, , true)
-    Location created: a.js:1025
-  Setting breakpoint at a.js:1015 enabled:true condition:
-  Dumping Storage
-    a.js:1015 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 1025)
-    Location disposed: a.js:1025
-    debuggerModel.removeBreakpoint(a.js:1015)
-
-Running: testSetBreakpointOutsideScript
-  Created breakpoints manager
-  Dumping Storage
-  Adding UISourceCode: a.js
-    debuggerModel.setBreakpoint(a.js:2500:)
-    breakpointAdded(a.js, 2500, , true)
-  Dumping Storage
-    a.js:2500 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 2500)
-    debuggerModel.removeBreakpoint(a.js:2500)
-
-Running: testNavigation
-  Created breakpoints manager
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:false condition:
-    b.js:3 enabled:true condition:
-  Adding UISourceCode: a.js
-    debuggerModel.setBreakpoint(a.js:10:foo == bar)
-    breakpointAdded(a.js, 20, , false)
-    breakpointAdded(a.js, 10, foo == bar, true)
-    Location created: a.js:10
-
-  Navigating to B.
-  Resetting debugger.
-  Resetting workspace.
-    breakpointRemoved(a.js, 10)
-    Location disposed: a.js:10
-    breakpointRemoved(a.js, 20)
-  Adding UISourceCode: b.js
-    debuggerModel.setBreakpoint(b.js:3:)
-    breakpointAdded(b.js, 3, , true)
-    Location created: b.js:3
-
-  Navigating back to A.
-  Resetting debugger.
-  Resetting workspace.
-    breakpointRemoved(b.js, 3)
-    Location disposed: b.js:3
-  Resolving provisional breakpoint.
-  Adding temporary UISourceCode: a.js
-    breakpointAdded(a.js, 11, foo == bar, true)
-    Location created: a.js:11
-  Adding UISourceCode: a.js
-    breakpointRemoved(a.js, 11)
-    Location disposed: a.js:11
-    debuggerModel.removeBreakpoint(a.js:10)
-    debuggerModel.setBreakpoint(a.js:10:foo == bar)
-    breakpointAdded(a.js, 20, , false)
-    breakpointAdded(a.js, 10, foo == bar, true)
-    Location created: a.js:10
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:false condition:
-    b.js:3 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 10)
-    Location disposed: a.js:10
-    debuggerModel.removeBreakpoint(a.js:10)
-    breakpointRemoved(a.js, 20)
-    debuggerModel.removeBreakpoint(b.js:3)
-
-Running: testSourceMapping
-  Created breakpoints manager
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:true condition:
-  Adding UISourceCode: a.js
-    debuggerModel.setBreakpoint(a.js:10:foo == bar)
-    debuggerModel.setBreakpoint(a.js:20:)
-    breakpointAdded(a.js, 10, foo == bar, true)
-    Location created: a.js:10
-    breakpointAdded(a.js, 20, , true)
-    Location created: a.js:20
-
-  Toggling source mapping.
-    breakpointRemoved(a.js, 10)
-    breakpointAdded(a.js, 20, foo == bar, true)
-    breakpointRemoved(a.js, 20)
-    breakpointAdded(a.js, 30, , true)
-
-  Toggling source mapping back.
-    breakpointRemoved(a.js, 20)
-    breakpointAdded(a.js, 10, foo == bar, true)
-    breakpointRemoved(a.js, 30)
-    breakpointAdded(a.js, 20, , true)
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-    a.js:20 enabled:true condition:
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 10)
-    Location disposed: a.js:10
-    debuggerModel.removeBreakpoint(a.js:10)
-    breakpointRemoved(a.js, 20)
-    Location disposed: a.js:20
-    debuggerModel.removeBreakpoint(a.js:20)
-
-Running: testProvisionalBreakpointsResolve
-  Created breakpoints manager
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-  Adding UISourceCode: a.js
-    debuggerModel.setBreakpoint(a.js:10:foo == bar)
-    breakpointAdded(a.js, 10, foo == bar, true)
-    Location created: a.js:10
-  Resetting debugger.
-  Resetting workspace.
-    breakpointRemoved(a.js, 10)
-    Location disposed: a.js:10
-  Resolving provisional breakpoint.
-  Adding temporary UISourceCode: a.js
-    breakpointAdded(a.js, 11, foo == bar, true)
-    Location created: a.js:11
-  Dumping Storage
-    a.js:10 enabled:true condition:foo == bar
-  Resetting breakpoint manager
-    breakpointRemoved(a.js, 11)
-    Location disposed: a.js:11
-    debuggerModel.removeBreakpoint(a.js:10)
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerbreakpointmanagerhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/breakpoint-manager.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/breakpoint-manager.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/breakpoint-manager.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,527 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    var uiSourceCodes = {};
-
-    var defaultMapping = {
-        rawLocationToUILocation: function(rawLocation)
-        {
-            return new WebInspector.UILocation(uiSourceCodes[rawLocation.scriptId], rawLocation.lineNumber, 0);
-        },
-
-        uiLocationToRawLocation: function(uiSourceCode, lineNumber)
-        {
-            if (!uiSourceCodes[uiSourceCode.url])
-                return null;
-            return new WebInspector.DebuggerModel.Location(uiSourceCode.url, lineNumber, 0);
-        },
-
-        isIdentity: function()
-        {
-            return true;
-        }
-    };
-
-    var shiftingMapping = {
-        rawLocationToUILocation: function(rawLocation)
-        {
-            if (this._disabled)
-                return null;
-            return new WebInspector.UILocation(uiSourceCodes[rawLocation.scriptId], rawLocation.lineNumber + 10, 0);
-        },
-
-        uiLocationToRawLocation: function(uiSourceCode, lineNumber)
-        {
-            return new WebInspector.DebuggerModel.Location(uiSourceCode.url, lineNumber - 10, 0);
-        },
-
-        isIdentity: function()
-        {
-            return false;
-        }
-    };
-
-    function DebuggerModelMock(sourceMapping)
-    {
-        this._scripts = {};
-        this._sourceMapping = sourceMapping;
-        this._breakpoints = {};
-    }
-
-    DebuggerModelMock.prototype = {
-        _addScript: function(scriptId, url)
-        {
-            this._scripts[scriptId] = new WebInspector.Script(scriptId, url);
-            this._scripts[scriptId].pushSourceMapping(this._sourceMapping);
-        },
-
-        _scriptForURL: function(url)
-        {
-            for (var scriptId in this._scripts) {
-                var script = this._scripts[scriptId];
-                if (script.sourceURL === url)
-                    return script;
-            }
-       },
-
-        _scheduleSetBeakpointCallback: function(callback, breakpointId, locations)
-        {
-            setTimeout(innerCallback.bind(this), 0);
-
-            function innerCallback()
-            {
-                if (callback)
-                    callback(breakpointId, locations);
-                if (window.setBreakpointCallback) {
-                    var savedCallback = window.setBreakpointCallback;
-                    delete window.setBreakpointCallback;
-                    savedCallback();
-                }
-            }
-        },
-
-        setBreakpointByURL: function(url, lineNumber, columnNumber, condition, callback)
-        {
-            var breakpointId = url + &quot;:&quot; + lineNumber;
-            if (this._breakpoints[breakpointId]) {
-                this._scheduleSetBeakpointCallback(callback, null);
-                return;
-            }
-
-            this._breakpoints[breakpointId] = true;
-            InspectorTest.addResult(&quot;    debuggerModel.setBreakpoint(&quot; + [url, lineNumber, condition].join(&quot;:&quot;) + &quot;)&quot;);
-
-            var locations = [];
-            var script = this._scriptForURL(url);
-            if (script) {
-                var location = new WebInspector.DebuggerModel.Location(script.scriptId, lineNumber, 0);
-                locations.push(location);
-            }
-
-            this._scheduleSetBeakpointCallback(callback, breakpointId, locations);
-        },
-
-        setBreakpointByScriptLocation: function(location, condition, callback)
-        {
-            var breakpointId = location.scriptId + &quot;:&quot; + location.lineNumber;
-            if (this._breakpoints[breakpointId]) {
-                this._scheduleSetBeakpointCallback(callback, null);
-                return;
-            }
-
-            this._breakpoints[breakpointId] = true;
-            InspectorTest.addResult(&quot;    debuggerModel.setBreakpoint(&quot; + [location.scriptId, location.lineNumber, condition].join(&quot;:&quot;) + &quot;)&quot;);
-
-            if (location.lineNumber &gt;= 2000) {
-                this._scheduleSetBeakpointCallback(callback, breakpointId, []);
-                return;
-            }
-            if (location.lineNumber &gt;= 1000) {
-                var shiftedLocation = {scriptId: location.scriptId, lineNumber: location.lineNumber + 10, columnNumber: location.columnNumber };
-                this._scheduleSetBeakpointCallback(callback, breakpointId, [shiftedLocation]);
-                return;
-            }
-
-            this._scheduleSetBeakpointCallback(callback, breakpointId, [location]);
-        },
-
-        removeBreakpoint: function(breakpointId, callback)
-        {
-            InspectorTest.addResult(&quot;    debuggerModel.removeBreakpoint(&quot; + breakpointId + &quot;)&quot;);
-            delete this._breakpoints[breakpointId];
-            if (callback)
-                callback();
-        },
-
-        setBreakpointsActive: function() { },
-
-        createLiveLocation: function(rawLocation, updateDelegate)
-        {
-             return this._scripts[rawLocation.scriptId].createLiveLocation(rawLocation, updateDelegate);
-        },
-
-        scriptForId: function(scriptId)
-        {
-            return this._scripts[scriptId];
-        },
-
-        reset: function()
-        {
-            InspectorTest.addResult(&quot;  Resetting debugger.&quot;);
-            this._scripts = {};
-        },
-
-        pushSourceMapping: function(sourceMapping)
-        {
-            for (var scriptId in this._scripts)
-                this._scripts[scriptId].pushSourceMapping(sourceMapping);
-        },
-
-        disableSourceMapping: function(sourceMapping)
-        {
-            sourceMapping._disabled = true;
-            for (var scriptId in this._scripts)
-                this._scripts[scriptId].updateLocations();
-        }
-    }
-    DebuggerModelMock.prototype.__proto__ = WebInspector.Object.prototype;
-
-    var dummySetting = {
-        get: function() { return []; },
-        set: function(breakpoints) { }
-    };
-
-    function resetWorkspace(breakpointManager)
-    {
-        InspectorTest.addResult(&quot;  Resetting workspace.&quot;);
-        breakpointManager._networkWorkspaceProvider.reset();
-        breakpointManager._debuggerWorkspaceProvider.reset();
-    }
-
-    function breakpointAdded(event)
-    {
-        var breakpoint = event.data.breakpoint;
-        var uiLocation = event.data.uiLocation;
-        InspectorTest.addResult(&quot;    breakpointAdded(&quot; + [uiLocation.uiSourceCode.originURL(), uiLocation.lineNumber, breakpoint.condition(), breakpoint.enabled()].join(&quot;, &quot;) + &quot;)&quot;);
-    }
-
-    function breakpointRemoved(event)
-    {
-        var uiLocation = event.data.uiLocation;
-        InspectorTest.addResult(&quot;    breakpointRemoved(&quot; + [uiLocation.uiSourceCode.originURL(), uiLocation.lineNumber].join(&quot;, &quot;) + &quot;)&quot;);
-    }
-
-    InspectorTest.addSniffer(WebInspector.Script.prototype, &quot;createLiveLocation&quot;, function(rawLocation)
-    {
-        InspectorTest.addResult(&quot;    Location created: &quot; + rawLocation.scriptId + &quot;:&quot; + rawLocation.lineNumber);
-    }, true);
-    InspectorTest.addSniffer(WebInspector.Script.Location.prototype, &quot;dispose&quot;, function()
-    {
-        InspectorTest.addResult(&quot;    Location disposed: &quot; + this._rawLocation.scriptId + &quot;:&quot; + this._rawLocation.lineNumber);
-    }, true);
-
-    function addUISourceCode(breakpointManager, url)
-    {
-        breakpointManager._debuggerModel._addScript(url, url);
-        InspectorTest.addResult(&quot;  Adding UISourceCode: &quot; + url);
-        var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, &quot;&quot;, &quot;text/javascript&quot;);
-        var uiSourceCode = breakpointManager._networkWorkspaceProvider.addFileForURL(url, contentProvider, true);
-        uiSourceCodes[url] = uiSourceCode;
-        uiSourceCode.setSourceMapping(defaultMapping);
-        return uiSourceCode;
-    }
-
-    function addTemporaryUISourceCode(breakpointManager, url)
-    {
-
-        breakpointManager._debuggerModel._addScript(url, url);
-        InspectorTest.addResult(&quot;  Adding temporary UISourceCode: &quot; + url);
-        var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, &quot;&quot;, &quot;text/javascript&quot;);
-        var uiSourceCode = breakpointManager._debuggerWorkspaceProvider.addUniqueFileForURL(url, contentProvider, true);
-        uiSourceCode.setSourceMapping(defaultMapping);
-        uiSourceCodes[url] = uiSourceCode;
-        return uiSourceCode;
-    }
-
-    function createBreakpoint(uiSourceCodeId, lineNumber, condition, enabled)
-    {
-        return { sourceFileId: uiSourceCodeId, lineNumber: lineNumber, condition: condition, enabled: enabled };
-    }
-
-    var serializedBreakpoints = [];
-    serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 10, &quot;foo == bar&quot;, true));
-    serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 20, &quot;&quot;, false));
-    serializedBreakpoints.push(createBreakpoint(&quot;b.js&quot;, 3, &quot;&quot;, true));
-
-    function createBreakpointManager(persistentBreakpoints, sourceMapping)
-    {
-        persistentBreakpoints = persistentBreakpoints || [];
-        var setting = {
-            get: function() { return persistentBreakpoints; },
-            set: function(breakpoints) { persistentBreakpoints = breakpoints; }
-        };
-
-        var sourceMapping = sourceMapping || defaultMapping;
-        var debuggerModel = new DebuggerModelMock(sourceMapping);
-        var workspace = new WebInspector.Workspace();
-        var breakpointManager = new WebInspector.BreakpointManager(setting, debuggerModel, workspace);
-        breakpointManager._networkWorkspaceProvider = new WebInspector.SimpleWorkspaceProvider(workspace, WebInspector.projectTypes.Network);
-        breakpointManager._debuggerWorkspaceProvider = new WebInspector.SimpleWorkspaceProvider(workspace, WebInspector.projectTypes.Debugger);
-        breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointAdded, breakpointAdded);
-        breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointRemoved, breakpointRemoved);
-        InspectorTest.addResult(&quot;  Created breakpoints manager&quot;);
-        dumpBreakpointStorage(breakpointManager);
-        return breakpointManager;
-    }
-
-    function setBreakpoint(breakpointManager, uiSourceCode, lineNumber, condition, enabled)
-    {
-        InspectorTest.addResult(&quot;  Setting breakpoint at &quot; + uiSourceCode.originURL() + &quot;:&quot; + lineNumber + &quot; enabled:&quot; + enabled + &quot; condition:&quot; + condition);
-        return breakpointManager.setBreakpoint(uiSourceCode, lineNumber, condition, enabled);
-    }
-
-    function removeBreakpoint(breakpointManager, uiSourceCode, lineNumber)
-    {
-        InspectorTest.addResult(&quot;  Removing breakpoint at &quot; + uiSourceCode.originURL() + &quot;:&quot; + lineNumber);
-        breakpointManager.findBreakpoint(uiSourceCode, lineNumber).remove();
-    }
-
-    function dumpBreakpointStorage(breakpointManager)
-    {
-        var breakpoints = breakpointManager._storage._setting.get();
-        InspectorTest.addResult(&quot;  Dumping Storage&quot;);
-        for (var i = 0; i &lt; breakpoints.length; ++i)
-            InspectorTest.addResult(&quot;    &quot; + breakpoints[i].sourceFileId + &quot;:&quot; + breakpoints[i].lineNumber  + &quot; enabled:&quot; + breakpoints[i].enabled + &quot; condition:&quot; + breakpoints[i].condition);
-    }
-
-    function resetBreakpointManager(breakpointManager, next)
-    {
-        dumpBreakpointStorage(breakpointManager);
-        InspectorTest.addResult(&quot;  Resetting breakpoint manager&quot;);
-        breakpointManager.reset();
-        uiSourceCodes = {};
-        next();
-    }
-
-    InspectorTest.runTestSuite([
-        function testSetBreakpoint(next)
-        {
-            var breakpointManager = createBreakpointManager();
-            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            setBreakpoint(breakpointManager, uiSourceCode, 30, &quot;&quot;, true);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testSetDisabledBreakpoint(next)
-        {
-            var breakpointManager = createBreakpointManager();
-            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            var breakpoint = setBreakpoint(breakpointManager, uiSourceCode, 30, &quot;&quot;, false);
-            dumpBreakpointStorage(breakpointManager);
-            InspectorTest.addResult(&quot;  Enabling breakpoint&quot;);
-            breakpoint.setEnabled(true);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testSetConditionalBreakpoint(next)
-        {
-            var breakpointManager = createBreakpointManager();
-            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            var breakpoint = setBreakpoint(breakpointManager, uiSourceCode, 30, &quot;condition&quot;, true);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                dumpBreakpointStorage(breakpointManager);
-                InspectorTest.addResult(&quot;  Updating condition&quot;);
-                breakpoint.setCondition(&quot;&quot;);
-                window.setBreakpointCallback = step3.bind(this);
-            }
-
-            function step3()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testRestoreBreakpoints(next)
-        {
-            var breakpointManager = createBreakpointManager(serializedBreakpoints);
-            addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testRestoreBreakpointsTwice(next)
-        {
-            var breakpointManager = createBreakpointManager(serializedBreakpoints);
-            addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testRemoveBreakpoints(next)
-        {
-            var breakpointManager = createBreakpointManager(serializedBreakpoints);
-            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                setBreakpoint(breakpointManager, uiSourceCode, 30, &quot;&quot;, true);
-                window.setBreakpointCallback = step3.bind(this);
-            }
-
-            function step3()
-            {
-                removeBreakpoint(breakpointManager, uiSourceCode, 30);
-                removeBreakpoint(breakpointManager, uiSourceCode, 10);
-                removeBreakpoint(breakpointManager, uiSourceCode, 20);
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testSetBreakpointThatShifts(next)
-        {
-            var breakpointManager = createBreakpointManager();
-            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            setBreakpoint(breakpointManager, uiSourceCode, 1015, &quot;&quot;, true);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testSetBreakpointThatShiftsTwice(next)
-        {
-            var breakpointManager = createBreakpointManager();
-            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            setBreakpoint(breakpointManager, uiSourceCode, 1015, &quot;&quot;, true);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                setBreakpoint(breakpointManager, uiSourceCode, 1015, &quot;&quot;, true);
-                window.setBreakpointCallback = step3.bind(this);
-            }
-
-            function step3()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testSetBreakpointOutsideScript(next)
-        {
-            var breakpointManager = createBreakpointManager([]);
-            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            breakpointManager.setBreakpoint(uiSourceCode, 2500, &quot;&quot;, true);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-       },
-
-        function testNavigation(next)
-        {
-            var breakpointManager = createBreakpointManager(serializedBreakpoints);
-            var uiSourceCodeA = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                InspectorTest.addResult(&quot;\n  Navigating to B.&quot;);
-                breakpointManager._debuggerModel.reset();
-                resetWorkspace(breakpointManager);
-                var uiSourceCodeB = addUISourceCode(breakpointManager, &quot;b.js&quot;);
-                window.setBreakpointCallback = step3.bind(this);
-            }
-
-            function step3()
-            {
-                InspectorTest.addResult(&quot;\n  Navigating back to A.&quot;);
-                breakpointManager._debuggerModel.reset();
-                resetWorkspace(breakpointManager);
-                InspectorTest.addResult(&quot;  Resolving provisional breakpoint.&quot;);
-                addTemporaryUISourceCode(breakpointManager, &quot;a.js&quot;)            
-                var eventData = { breakpointId: &quot;a.js:10&quot;, location: { scriptId: &quot;a.js&quot;, lineNumber: 11, columnNumber: 5 }};
-                breakpointManager._debuggerModel.dispatchEventToListeners(WebInspector.DebuggerModel.Events.BreakpointResolved, eventData);
-                addUISourceCode(breakpointManager, &quot;a.js&quot;);
-                window.setBreakpointCallback = step4.bind(this);
-            }
-
-            function step4()
-            {
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testSourceMapping(next)
-        {
-            // Source mapping will shift everthing 10 lines ahead so that breakpoint 1 clashed with breakpoint 2.
-            var serializedBreakpoints = [];
-            serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 10, &quot;foo == bar&quot;, true));
-            serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 20, &quot;&quot;, true));
-
-            var breakpointManager = createBreakpointManager(serializedBreakpoints);
-            var uiSourceCodeA = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                window.setBreakpointCallback = step3.bind(this);
-            }
-
-            function step3()
-            {
-                InspectorTest.addResult(&quot;\n  Toggling source mapping.&quot;);
-                breakpointManager._debuggerModel.pushSourceMapping(shiftingMapping);
-                InspectorTest.addResult(&quot;\n  Toggling source mapping back.&quot;);
-                breakpointManager._debuggerModel.disableSourceMapping(shiftingMapping);
-                resetBreakpointManager(breakpointManager, next);
-            }
-        },
-
-        function testProvisionalBreakpointsResolve(next)
-        {
-            var serializedBreakpoints = [];
-            serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 10, &quot;foo == bar&quot;, true));
-
-            var breakpointManager = createBreakpointManager(serializedBreakpoints);
-            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
-            window.setBreakpointCallback = step2.bind(this);
-
-            function step2()
-            {
-                breakpointManager._debuggerModel.reset();
-                resetWorkspace(breakpointManager);
-                InspectorTest.addResult(&quot;  Resolving provisional breakpoint.&quot;);
-                addTemporaryUISourceCode(breakpointManager, &quot;a.js&quot;)            
-                var eventData = { breakpointId: &quot;a.js:10&quot;, location: { scriptId: &quot;a.js&quot;, lineNumber: 11, columnNumber: 5 }};
-                breakpointManager._debuggerModel.dispatchEventToListeners(WebInspector.DebuggerModel.Events.BreakpointResolved, eventData);
-                var breakpoints = breakpointManager._breakpoints.keys();
-                InspectorTest.assertEquals(breakpoints.length, 1, &quot;Exactly one breakpoint should be registered in breakpoint manager.&quot;);
-                InspectorTest.assertTrue(!breakpoints[0]._primaryUILocation, &quot;_primaryUILocation field should be cleared for provisional breapoint.&quot;);
-                resetBreakpointManager(breakpointManager, next);
-            }
-        }
-    ]);
-};
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests BreakpointManager class.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggercopystacktraceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/copy-stack-trace-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/copy-stack-trace-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/copy-stack-trace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-Tests that debugger will copy valid stack trace upon context menu action.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-functionBaz (copy-stack-trace.html:19)
-functionBar (copy-stack-trace.html:14)
-testFunction (copy-stack-trace.html:9)
-
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggercopystacktracehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/copy-stack-trace.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/copy-stack-trace.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/copy-stack-trace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function testFunction()
-{
-    functionBar();
-}
-
-function functionBar()
-{
-    functionBaz();
-}
-
-function functionBaz()
-{
-    debugger;
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        InspectorFrontendHost.copyText = InspectorTest.addResult.bind(InspectorTest);
-        WebInspector.panels.scripts.sidebarPanes.callstack._copyStackTrace();
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that debugger will copy valid stack trace upon context menu action.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggeractivationcrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-activation-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-activation-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-activation-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests for a crash caused by inaccurate Activation records. &lt;rdar://problem/8525907&gt; Crash in debugger beneath MarkStack::drain @ me.com, ibm.com
-
-Debugger was enabled.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggeractivationcrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-activation-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-activation-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-activation-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-var closures = [];
-function makeClosure() {
-    var v1, v2, v3, v4, v5, v6, v7, v8, v9, v10; // Make a lot of potentially captured variables.
-    return function (){ return v1; }; // But only capture one in optimizing compiles.
-}
-
-for (var i = 0; i &lt; 100; ++i) {
-    closures.push(makeClosure());
-}
-
-function tryCrash() {
-    makeClosure(); // Force recompilation.
-    
-    // At this point, we should have 100 activations that captured 1 variable
-    // but think they captured 10. If so, GC should make them crash.
-    if (window.GCController)
-        GCController.collect();
-    else {
-        for (var i = 0; i &lt; 10000; ++i)
-            new Object;
-    }
-}
-
-function test() {
-    InspectorTest.startDebuggerTest(function () {
-        InspectorTest.evaluateInPage(&quot;tryCrash()&quot;);
-        InspectorTest.completeDebuggerTest();
-    });
-}
-
-window.onload = runTest;
-&lt;/script&gt;
-
-&lt;p&gt;
-Tests for a crash caused by inaccurate Activation records.
-&amp;lt;rdar://problem/8525907&amp;gt; Crash in debugger beneath MarkStack::drain @ me.com, ibm.com
-&lt;/p&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggeractivationcrash2expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-activation-crash2-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-activation-crash2-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-activation-crash2-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-Tests for a crash when paused at a breakpoint caused by inaccurate Activation records. Bug 57120
-
-Debugger was enabled.
-Script source was shown.
-Set timer for test function.
-Script execution paused.
-Call stack:
-    0)  (debugger-activation-crash2.html)
-    1) testFunction (debugger-activation-crash2.html)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggeractivationcrash2html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-activation-crash2.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-activation-crash2.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-activation-crash2.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,54 +0,0 @@
</span><del>-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-var closures = [];
-function makeClosure() {
-    var v1, v2, v3, v4, v5, v6, v7, v8, v9, v10; // Make a lot of potentially captured variables.
-    return function () { 
-        var x = v1; // But only capture one in optimizing compiles.
-        return x;
-    };
-}
-
-for (var i = 0; i &lt; 100; ++i) {
-    closures.push(makeClosure());
-}
-
-closures[0](); // Force compilation.
-function testFunction() {
-    closures[0](); // Force recompilation.
-    
-    // At this point, closures[0] captured 1 variable but thinks it captured 10.
-    // If so, stopping at a breakpoint should make it crash.
-}
-
-function test() {
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.showScriptSource(&quot;debugger-activation-crash2.html&quot;, step2);
-    }
-
-    function step2(sourceFrame)
-    {
-        InspectorTest.addResult(&quot;Script source was shown.&quot;);
-        InspectorTest.setBreakpoint(sourceFrame, 8, &quot;&quot;, true);
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
-    }
-
-    function step3(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames, true);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-window.onload = runTest;
-&lt;/script&gt;
-
-&lt;p&gt;
-Tests for a crash when paused at a breakpoint caused by inaccurate Activation records.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=57120&quot;&gt;Bug 57120&lt;/a&gt;
-&lt;/p&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerautocontinueonsyntaxerrorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 4: SyntaxError: Unexpected token ')'
-CONSOLE MESSAGE: line 8: Iframe loaded
-Tests that debugger won't stop on syntax errors even if &quot;pause on uncaught exceptions&quot; is on.
-
-Debugger was enabled.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerautocontinueonsyntaxerrorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function loadIframe()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.src = &quot;resources/syntax-error.html&quot;;
-    document.body.appendChild(iframe);
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;scripts&quot;);
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
-    }
-
-    function step2()
-    {
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that debugger won't stop on syntax errors even if &quot;pause on uncaught exceptions&quot; is on.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerbreakpointsnotactivatedonreloadexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests that breakpoints are not activated on page reload.Bug 41461
-
-Debugger was enabled.
-Main resource was shown.
-Page reloaded.
-Main resource was shown.
-Breakpoints are deactivated.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerbreakpointsnotactivatedonreloadhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function testFunction()
-{
-    return 0;
-}
-
-var test = function()
-{
-    var testName = WebInspector.inspectedPageURL;
-    testName = testName.substring(testName.lastIndexOf('/') + 1);
-
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.showScriptSource(testName, step2);
-    }
-
-    function step2(sourceFrame)
-    {
-        InspectorTest.addResult(&quot;Main resource was shown.&quot;);
-        InspectorTest.setBreakpoint(sourceFrame, 8, &quot;&quot;, true);
-        WebInspector.panels.scripts._toggleBreakpointsButton.element.click();
-        InspectorTest.reloadPage(step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;Main resource was shown.&quot;);
-        if (!WebInspector.debuggerModel.breakpointsActive())
-            InspectorTest.addResult(&quot;Breakpoints are deactivated.&quot;);
-        else
-            InspectorTest.addResult(&quot;Error: breakpoints are activated.&quot;);
-        InspectorTest.completeDebuggerTest();
-    }
-};
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that breakpoints are not activated on page reload.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41461&quot;&gt;Bug 41461&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggercompileandrunexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-compile-and-run-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-compile-and-run-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-compile-and-run-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-Tests separate compilation and run.
-
-Bug 89646.
-Debugger was enabled.
-
-Running: testSuccessfulCompileAndRun
-Compiling script
-Running script
-Script result: 3
-
-Running: testRunError
-Compiling script
-Running script
-Script run error: Uncaught ReferenceError: c is not defined
-
-Running: testCompileError
-Compiling script
-Script compile error: Uncaught SyntaxError: Unexpected token }
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggercompileandrunhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-compile-and-run.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-compile-and-run.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-compile-and-run.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,81 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var test = function()
-{
-    InspectorTest.runDebuggerTestSuite([
-        function testSuccessfulCompileAndRun(next)
-        {
-            var expression = &quot;var a = 1; var b = 2; a + b; &quot;;
-            InspectorTest.addResult(&quot;Compiling script&quot;);
-            DebuggerAgent.compileScript(expression, &quot;test.js&quot;, compileCallback.bind(this));
-
-            function compileCallback(error, scriptId, syntaxErrorMessage)
-            {
-                InspectorTest.assertTrue(!error);
-                InspectorTest.assertTrue(!syntaxErrorMessage);
-                InspectorTest.assertTrue(!!scriptId);
-                var contextId = undefined;
-                InspectorTest.addResult(&quot;Running script&quot;);
-                DebuggerAgent.runScript(scriptId, contextId, &quot;console&quot;, false, runCallback.bind(this));
-            }
-
-            function runCallback(error, result, wasThrown)
-            {
-                InspectorTest.assertTrue(!error);
-                InspectorTest.assertTrue(!wasThrown);
-                InspectorTest.addResult(&quot;Script result: &quot; + result.value);
-                next();
-            }
-        },
-
-        function testRunError(next)
-        {
-            var expression = &quot;var a = 1; a + c; &quot;;
-            InspectorTest.addResult(&quot;Compiling script&quot;);
-            DebuggerAgent.compileScript(expression, &quot;test.js&quot;, compileCallback.bind(this));
-
-            function compileCallback(error, scriptId, syntaxErrorMessage)
-            {
-                InspectorTest.assertTrue(!error);
-                InspectorTest.assertTrue(!syntaxErrorMessage);
-                InspectorTest.assertTrue(!!scriptId);
-                var contextId = undefined;
-                InspectorTest.addResult(&quot;Running script&quot;);
-                DebuggerAgent.runScript(scriptId, contextId, &quot;console&quot;, false, runCallback.bind(this));
-            }
-
-            function runCallback(error, result, wasThrown)
-            {
-                InspectorTest.assertTrue(!error);
-                InspectorTest.assertTrue(wasThrown);
-                InspectorTest.addResult(&quot;Script run error: &quot; + result.description);
-                next();
-            }
-        },
-
-        function testCompileError(next)
-        {
-            var expression = &quot;}&quot;;
-            InspectorTest.addResult(&quot;Compiling script&quot;);
-            DebuggerAgent.compileScript(expression, &quot;test.js&quot;, compileCallback.bind(this));
-
-            function compileCallback(error, scriptId, syntaxErrorMessage)
-            {
-                InspectorTest.assertTrue(!error);
-                InspectorTest.assertTrue(!scriptId);
-                InspectorTest.addResult(&quot;Script compile error: &quot; + syntaxErrorMessage);
-                next();
-            }
-        }
-    ]);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests separate compilation and run.&lt;/p&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=89646&quot;&gt;Bug 89646.&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggercompletionsoncallframeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-Test that completions in the context of the call frame will result in names of its scope variables.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-var1
-var2
-dir
-dirxml
-window
-this
-toExponential
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggercompletionsoncallframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,87 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var a = 1;
-function testFunction()
-{
-    var var1 = 2;
-    var var2 = 3;
-    debugger;
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;var&quot;, false, checkAgainstGolden.bind(this, [ &quot;var1&quot;, &quot;var2&quot; ], [], step3));
-    }
-
-    function step3()
-    {
-        WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;di&quot;, false, checkAgainstGolden.bind(this, [ &quot;dir&quot;, &quot;dirxml&quot; ], [], step4));
-    }
-
-    function step4()
-    {
-        WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;win&quot;, false, checkAgainstGolden.bind(this, [ &quot;window&quot; ], [], step5));
-    }
-
-    function step5()
-    {
-        WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;t&quot;, false, checkAgainstGolden.bind(this, [ &quot;this&quot; ], [], step6));
-    }
-
-    function step6()
-    {
-        WebInspector.runtimeModel._completionsForExpression(&quot;var1&quot;, &quot;toExp&quot;, false, checkAgainstGolden.bind(this, [ &quot;toExponential&quot; ], [], step7));
-    }
-
-    function step7()
-    {
-        WebInspector.runtimeModel._completionsForExpression(&quot;123&quot;, &quot;toExp&quot;, false, checkAgainstGolden.bind(this, [], [ &quot;toExponential&quot; ], step8));
-    }
-
-    function step8()
-    {
-        InspectorTest.completeDebuggerTest();
-    }
-
-    function checkAgainstGolden(golden, antiGolden, continuation, completions)
-    {
-        for (var i = 0; i &lt; golden.length; ++i) {
-            if (completions.indexOf(golden[i]) !== -1)
-                InspectorTest.addResult(golden[i]);
-            else
-                InspectorTest.addResult(&quot;NOT FOUND: &quot; + golden[i]);
-        }
-
-        for (var i = 0; i &lt; antiGolden.length; ++i) {
-            if (completions.indexOf(antiGolden[i]) !== -1)
-                InspectorTest.addResult(&quot;FOUND: &quot; + antiGolden[i]);
-        }
-
-        continuation();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that completions in the context of the call frame will result in names
-of its scope variables.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggercyclicrefexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-Tests that debugging a page where Object prototype has a cyclic reference won't crash the browser.Bug 43558
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggercyclicrefhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-Object.prototype.cyclicRef = Object.prototype;
-
-function testFunction()
-{
-    var o = new Object();
-    debugger;
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that debugging a page where Object prototype has a cyclic reference won't
-crash the browser.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=43558&quot;&gt;Bug 43558&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerevaloncallframeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Test that evaluation in the context of top frame will see values of its local variables, even if there are global variables with same names. On success the test will print a = 2(value of the local variable a). Bug 47358.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Evaluated in console in the top frame context: a = 2
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerevaloncallframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var a = 1;
-function testFunction()
-{
-    var a = 2;
-    debugger;
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.evaluateInConsole(&quot;a&quot;, step3);
-    }
-
-    function step3(result)
-    {
-        InspectorTest.addResult(&quot;Evaluated in console in the top frame context: a = &quot; + result);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that evaluation in the context of top frame will see values
-of its local variables, even if there are global variables with
-same names. On success the test will print a = 2(value of the
-local variable a). &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=47358&quot;&gt;Bug 47358.&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerevalwhilepausedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-Tests that evaluation in console works fine when script is paused. It also checks that stack and global variables are accessible from the console.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Evaluated script on the top frame: 4021
-Evaluated script on the calling frame: 301
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerevalwhilepausedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var globalVar = { b: 1 };
-
-function slave(x)
-{
-    var y = 20;
-    debugger;
-}
-
-function testFunction()
-{
-    var localObject = { a: 300 };
-    slave(4000);
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2(callFrames)
-    {
-        InspectorTest.evaluateInConsole(&quot;x + y + globalVar.b&quot;, step3.bind(null, callFrames));
-    }
-
-    function step3(callFrames, result)
-    {
-        InspectorTest.addResult(&quot;Evaluated script on the top frame: &quot; + result);
-        var pane = WebInspector.panels.scripts.sidebarPanes.callstack;
-        pane._placardSelected(pane.placards[1]);
-        InspectorTest.runAfterPendingDispatches(step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.evaluateInConsole(&quot;localObject.a + globalVar.b&quot;, step5);
-    }
-
-    function step5(result)
-    {
-        InspectorTest.addResult(&quot;Evaluated script on the calling frame: &quot; + result);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that evaluation in console works fine when script is paused. It also checks that
-stack and global variables are accessible from the console.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggernonestedpauseexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-Tests that debugger will skip breakpoint hit when script execution is already paused. See bug
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Set timer for test function.
-testFunction.invocationCount = 2
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggernonestedpausehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function testFunction()
-{
-    testFunction.invocationCount++;
-    debugger;
-}
-
-testFunction.invocationCount = 0;
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.evaluateInConsole(&quot;testFunction(); testFunction.invocationCount&quot;, step3);
-        InspectorTest.addResult(&quot;Set timer for test function.&quot;);
-    }
-
-    function step3(result)
-    {
-        InspectorTest.addResult(&quot;testFunction.invocationCount = &quot; + result);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that debugger will skip breakpoint hit when script execution is already paused. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41768&quot;&gt;See bug&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseinevalscriptexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-Tests that debugger will stop on &quot;debugger&quot; statement in a function that was added to the inspected page via evaluation in Web Inspector console.Bug 41058
-
-Debugger was enabled.
-Evaluated script in console.
-Script execution paused.
-Call stack:
-    0) testFunction (:2)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseinevalscripthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-
-var test = function()
-{
-    var scriptToEvaluate = &quot;function testFunction() {\n&quot; +
-                           &quot;    debugger;\n&quot; +
-                           &quot;}\n&quot; +
-                           &quot;setTimeout(testFunction, 0);\n&quot;;
-
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInConsole(scriptToEvaluate, InspectorTest.addResult.bind(InspectorTest, &quot;Evaluated script in console.&quot;));
-        InspectorTest.waitUntilPaused(step2);
-    }
-
-    function step2(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that debugger will stop on &quot;debugger&quot; statement in a function that was added
-to the inspected page via evaluation in Web Inspector console.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41058&quot;&gt;Bug 41058&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseininternalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 2: SyntaxError: Unexpected token ')'
-Tests that pause on exception in internal script does not crash.
-
-Debugger was enabled.
-Script source was shown.
-Script execution paused.
-Call stack:
-    0) throwException (debugger-pause-in-internal.html:9)
-    1) handleClick (debugger-pause-in-internal.html:14)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseininternalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function throwException()
-{
-    new Function(&quot;return ()&quot;);
-}
-
-function handleClick()
-{
-    throwException();
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
-        InspectorTest.showScriptSource(&quot;debugger-pause-in-internal.html&quot;, step2);
-    }
-
-    function step2()  
-    {
-        InspectorTest.addResult(&quot;Script source was shown.&quot;);
-        InspectorTest.evaluateInPage(&quot;setTimeout(handleClick, 0)&quot;);
-        InspectorTest.waitUntilPaused(step3);
-    }
-
-    function step3(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that pause on exception in internal script does not crash.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedeventhandlerexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 13: Refused to execute inline event handler because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
-
-Tests that pause on exception works for inline event handlers blocked by CSP.
-
-Button
-Debugger was enabled.
-Script execution paused.
-Call stack:
-    0) testAction (pause-on-blocked-event-handler.js:4)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedeventhandlerhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'self';&quot;&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/pause-on-blocked-event-handler.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/pause-on-blocked-by-csp.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;
-Tests that pause on exception works for inline event handlers blocked by CSP.
-&lt;/p&gt;
-&lt;button id=&quot;test&quot; onclick=&quot;alert('FAIL!');&quot;&gt;Button&lt;/button&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscriptinjectionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-CONSOLE MESSAGE: Refused to execute inline script because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
-
-Tests that pause on exception works for inline scripts blocked by CSP.
-
-Debugger was enabled.
-Script execution paused.
-Call stack:
-    0) testAction (pause-on-blocked-script-injection.js:5)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscriptinjectionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'self';&quot;&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/pause-on-blocked-by-csp.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/pause-on-blocked-script-injection.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;
-Tests that pause on exception works for inline scripts blocked by CSP.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscripturlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 1: Refused to execute JavaScript URL because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
-
-Tests that pause on exception works for inline script URLs blocked by CSP.
-
-Debugger was enabled.
-Script execution paused.
-Call stack:
-    0) testAction (pause-on-blocked-script-url.js:6)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscripturlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'self';&quot;&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/pause-on-blocked-by-csp.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/pause-on-blocked-script-url.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;
-Tests that pause on exception works for inline script URLs blocked by CSP.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseondebuggerstatementexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-Tests that debugger will stop on &quot;debugger&quot; statement.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseondebuggerstatementhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function testFunction()
-{
-    debugger;
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that debugger will stop on &quot;debugger&quot; statement.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonexceptionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: ReferenceError: Can't find variable: unknown_var
-Tests that pause on exception works.
-
-Debugger was enabled.
-Script source was shown.
-Script execution paused.
-Call stack:
-    0) throwAnException (debugger-pause-on-exception.html:9)
-    1) handleClick (debugger-pause-on-exception.html:14)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonexceptionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function throwAnException()
-{
-    return unknown_var;
-}
-
-function handleClick()
-{
-    throwAnException();
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
-        InspectorTest.showScriptSource(&quot;debugger-pause-on-exception.html&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;Script source was shown.&quot;);
-        InspectorTest.evaluateInPage(&quot;setTimeout(handleClick, 0)&quot;);
-        InspectorTest.waitUntilPaused(step3);
-    }
-
-    function step3(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that pause on exception works.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonfailedassertionexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-Tests that debugger breaks on failed assertion when pause on exception mode is enabled.
-
-Debugger was enabled.
-Script source was shown.
-Script execution paused.
-Call stack:
-    0) failAssertion (debugger-pause-on-failed-assertion.html:9)
-    1) handleClick (debugger-pause-on-failed-assertion.html:14)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerpauseonfailedassertionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function failAssertion()
-{
-    console.assert(false);
-}
-
-function handleClick()
-{
-    failAssertion();
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
-        InspectorTest.showScriptSource(&quot;debugger-pause-on-failed-assertion.html&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;Script source was shown.&quot;);
-        InspectorTest.evaluateInPage(&quot;setTimeout(handleClick, 0)&quot;);
-        InspectorTest.waitUntilPaused(step3);
-    }
-
-    function step3(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that debugger breaks on failed assertion when pause on exception mode is enabled.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerreloadonpauseexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests &quot;reload&quot; from within inspector window while on pause.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Script execution resumed.
-Page reloaded.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerreloadonpausehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,41 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function testFunction()
-{
-    debugger;
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.reloadPage(step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests &quot;reload&quot; from within inspector window while on pause.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerscriptsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-scripts-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-scripts-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-scripts-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-Tests that valid parsed script notifications are received by front-end. Bug 52721
-
-Debugger was enabled.
-script 1:
-    start: 5:8
-    end: 38:0
-script 2:
-    start: 38:21
-    end: 42:0
-script 3:
-    start: 43:11
-    end: 43:32
-script 4:
-    start: 44:11
-    end: 45:0
-script 5:
-    start: 46:11
-    end: 48:0
-script 6:
-    start: 51:56
-    end: 52:2
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerscriptsreloadexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-scripts-reload-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-scripts-reload-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-scripts-reload-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Tests that scripts list is cleared upon page reload.
-
-Debugger was enabled.
-Dummy script found: dummyScript.js
-Page reloaded.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerscriptsreloadhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-scripts-reload.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-scripts-reload.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-scripts-reload.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;function foo() {} //@ sourceURL=dummyScript.js&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.startDebuggerTest(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.queryScripts(function(script) { step3({ data: script }) });
-        WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.ParsedScriptSource, step3);
-    }
-
-    function step3(event)
-    {
-        var script = event.data;
-        if (script.sourceURL.indexOf(&quot;dummyScript.js&quot;) !== -1) {
-            InspectorTest.addResult(&quot;Dummy script found: &quot; + script.sourceURL);
-            // Let scripts dispatch and reload.
-            setTimeout(InspectorTest.reloadPage.bind(InspectorTest, afterReload), 0);
-        }
-    }
-
-    function afterReload()
-    {
-        var scripts = InspectorTest.queryScripts();
-        for (var i = 0; i &lt; scripts.length; ++i) {
-            if (scripts[i].sourceURL.indexOf(&quot;dummyScript.js&quot;) !== -1)
-                InspectorTest.addResult(&quot;FAILED: dummy script found after navigation&quot;);
-        }
-        InspectorTest.completeDebuggerTest();
-    }
-
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that scripts list is cleared upon page reload.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerscriptshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-scripts.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-scripts.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-scripts.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-function test()
-{
-    var scripts = [];
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.queryScripts(function(script) { step2({ data: script }) });
-        WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.ParsedScriptSource, step2);
-    }
-
-    function step2(event)
-    {
-        var script = event.data;
-        if (script.sourceURL !== WebInspector.inspectedPageURL)
-            return;
-        scripts.push(script);
-        if (scripts.length === 6)
-            step3();
-    }
-
-    function step3()
-    {
-        scripts.sort(function(x, y) { return x.lineOffset - y.lineOffset });
-        for (var i = 0; i &lt; scripts.length; ++i) {
-            InspectorTest.addResult(&quot;script &quot; + (i + 1) + &quot;:&quot;);
-            InspectorTest.addResult(&quot;    start: &quot; + scripts[i].lineOffset + &quot;:&quot; + scripts[i].columnOffset);
-            InspectorTest.addResult(&quot;    end: &quot; + scripts[i].endLine + &quot;:&quot; + scripts[i].endColumn);
-        }
-        InspectorTest.completeDebuggerTest();
-    }
-}
-&lt;/script&gt;    &lt;script&gt;
-function f1()
-{
-}
-&lt;/script&gt;
-   &lt;script&gt; function f2() {}    &lt;/script&gt;
-   &lt;script&gt;function f3() {}
-&lt;/script&gt;
-   &lt;script&gt;
-   function f4() {}
-&lt;/script&gt;
-
-&lt;/head&gt;
-&lt;body onload=&quot;window.dummy = function() { }; runTest()&quot;&gt;
-&lt;p&gt;
-Tests that valid parsed script notifications are received by front-end.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=52721&quot;&gt;Bug 52721&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggersetbreakpointregexexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-Tests Debugger.setBreakpointByUrl with isRegex set to true.
-
-Debugger was enabled.
-
-Running: testSetNoneOfURLAndRegex
-Either url or urlRegex must be specified.
-
-Running: testSetBothURLAndRegex
-Either url or urlRegex must be specified.
-
-Running: testSetByRegex
-Set timer for test function.
-Script execution paused.
-Call stack:
-    0) testFunction (debugger-set-breakpoint-regex.html:9)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggersetbreakpointregexhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,69 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function testFunction()
-{
-    foo();
-}
-
-function foo()
-{
-}
-
-function test()
-{
-    InspectorTest.runDebuggerTestSuite([
-        function testSetNoneOfURLAndRegex(next)
-        {
-            DebuggerAgent.setBreakpointByUrl.invoke({lineNumber: 1}, step2);
-
-            function step2(error)
-            {
-                InspectorTest.addResult(error);
-                next();
-            }
-        },
-
-        function testSetBothURLAndRegex(next)
-        {
-            var url = &quot;debugger-set-breakpoint.js&quot;;
-            var urlRegex = &quot;debugger-set-breakpoint.*&quot;;
-            DebuggerAgent.setBreakpointByUrl(1, url, urlRegex, step2);
-
-            function step2(error)
-            {
-                InspectorTest.addResult(error);
-                next();
-            }
-        },
-
-        function testSetByRegex(next)
-        {
-            DebuggerAgent.setBreakpointByUrl.invoke({urlRegex: &quot;debugger-set-breakpoint.*&quot;, lineNumber:8}, step2);
-
-            function step2(result)
-            {
-                InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
-            }
-        
-            function step3(callFrames)
-            {
-                InspectorTest.captureStackTrace(callFrames);
-                next();
-            }
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests Debugger.setBreakpointByUrl with isRegex set to true.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerstepinexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-step-in-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-step-in-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-step-in-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,21 +0,0 @@
</span><del>-Tests &quot;step in&quot; functionality in debugger.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Call stack:
-    0) testFunction (debugger-step-in.html:14)
-Stepping into...
-Script execution resumed.
-Script execution paused.
-Call stack:
-    0) testFunction (debugger-step-in.html:15)
-Stepping into...
-Script execution resumed.
-Script execution paused.
-Call stack:
-    0) d (debugger-step-in.html:8)
-    1) testFunction (debugger-step-in.html:15)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerstepinhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-step-in.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-step-in.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-step-in.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function d()
-{
-    var i = 10;
-}
-
-function testFunction()
-{
-    debugger;
-    d();
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    var stepCount = 0;
-    function step2(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        if (stepCount &lt; 2) {
-            InspectorTest.addResult(&quot;Stepping into...&quot;);
-            document.getElementById(&quot;scripts-step-into&quot;).click();
-            InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, step2));
-        } else
-            InspectorTest.completeDebuggerTest();
-        stepCount++;
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests &quot;step in&quot; functionality in debugger.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerstepoutexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-step-out-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-step-out-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-step-out-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-Tests &quot;step out&quot; functionality in debugger.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Call stack:
-    0) d (debugger-step-out.html:9)
-    1) testFunction (debugger-step-out.html:14)
-Stepping out...
-Script execution resumed.
-Script execution paused.
-Call stack:
-    0) testFunction (debugger-step-out.html:15)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerstepouthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-step-out.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-step-out.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-step-out.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function d()
-{
-    debugger;
-}
-
-function testFunction()
-{
-    d();
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        InspectorTest.addResult(&quot;Stepping out...&quot;);
-        InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, step3));
-        document.getElementById(&quot;scripts-step-out&quot;).click();
-    }
-
-    function step3(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests &quot;step out&quot; functionality in debugger.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerstepoverexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-step-over-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-step-over-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-step-over-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-Tests &quot;step over&quot; functionality in debugger.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Call stack:
-    0) d (debugger-step-over.html:14)
-    1) testFunction (debugger-step-over.html:20)
-Stepping over...
-Script execution resumed.
-Script execution paused.
-Call stack:
-    0) d (debugger-step-over.html:15)
-    1) testFunction (debugger-step-over.html:20)
-Stepping over...
-Script execution resumed.
-Script execution paused.
-Call stack:
-    0) d (debugger-step-over.html:16)
-    1) testFunction (debugger-step-over.html:20)
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggerstepoverhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-step-over.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-step-over.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-step-over.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,55 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function f()
-{
-    var i = 10;
-}
-
-function d()
-{
-    debugger;
-    f();
-}
-
-function testFunction()
-{
-    d();
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    var stepCount = 0;
-    function step2(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        if (stepCount &lt; 2) {
-            InspectorTest.addResult(&quot;Stepping over...&quot;);
-            document.getElementById(&quot;scripts-step-over&quot;).click();
-            InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, step2));
-        } else
-            InspectorTest.completeDebuggerTest();
-        stepCount++;
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests &quot;step over&quot; functionality in debugger.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggersuspendactivedomobjectsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-ALERT: 1
-Tests that browser won't crash if user evaluates something in the console that would suspend active dom objects (e.g. if user attempts to show an alert) when script execution is paused on a breakpoint and all active dom objects are already suspended.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Shown alert while staying on a breakpoint.
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerdebuggersuspendactivedomobjectshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function testFunction() {
-    setTimeout(&quot;void 0&quot;, 0); // Create a timer that will be suspended on a breakpoint.
-    debugger;
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;scripts&quot;);
-    InspectorTest.startDebuggerTest(startDebuggerTestCallback);
-
-    function startDebuggerTestCallback()
-    {
-        InspectorTest.evaluateInConsole(&quot;setTimeout(testFunction, 0)&quot;, function(result) {
-            InspectorTest.addResult(&quot;Set timer for test function.&quot;);
-        });
-
-        InspectorTest.waitUntilPaused(function(callFrames) {
-            InspectorTest.evaluateInConsole(&quot;alert(1)&quot;, function(result) {
-                InspectorTest.addResult(&quot;Shown alert while staying on a breakpoint.&quot;);
-                InspectorTest.completeDebuggerTest();
-            });
-        });
-    }
-
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that browser won't crash if user evaluates something in the console
-that would suspend active dom objects (e.g. if user attempts to show an alert)
-when script execution is paused on a breakpoint and all active dom objects
-are already suspended.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerevalonpauseblockedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Test that evaluation in the context of top frame will not be blocked by Content-Security-Policy. Bug 77203.
-
-Debugger was enabled.
-Set timer for test function.
-Script execution paused.
-Evaluated in console in the top frame context: foo = 2012
-Script execution resumed.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerevalonpauseblockedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,43 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'unsafe-inline'&quot;&gt;
-&lt;script&gt;
-function testFunction()
-{
-    var foo = 2012;
-    debugger;
-}
-
-var test = function()
-{
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.evaluateInConsole(&quot;foo&quot;, step3);
-    }
-
-    function step3(result)
-    {
-        InspectorTest.addResult(&quot;Evaluated in console in the top frame context: foo = &quot; + result);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that evaluation in the context of top frame will not be blocked by Content-Security-Policy.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=77203&quot;&gt;Bug 77203.&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerfunctiondetailsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/function-details-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/function-details-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/function-details-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,71 +0,0 @@
</span><del>-Tests that Debugger.getFunctionDetails command returns correct location. Bug 71808
-
-Debugger was enabled.
-
-Running: testGetFirstLineFunctionDetails
-firstLineFunction type = function
-Function details: 
-lineNumber: 7
-columnNumber: undefined
-scriptId is valid: true
-name: firstLineFunction
-displayName: undefined
-inferredName: undefined
-scopeChain: n/a
-
-Running: testGetNonFirstLineFunctionDetails
-notFirstLineFunction type = function
-Function details: 
-lineNumber: 12
-columnNumber: undefined
-scriptId is valid: true
-name: notFirstLineFunction
-displayName: undefined
-inferredName: undefined
-scopeChain: n/a
-
-Running: testGetDetailsOfFunctionWithInferredName
-obj.m type = function
-Function details: 
-lineNumber: 16
-columnNumber: undefined
-scriptId is valid: true
-name: undefined
-displayName: undefined
-inferredName: undefined
-scopeChain: n/a
-
-Running: testGetDetailsOfFunctionWithDisplayName
-functionWithDisplayName type = function
-Function details: 
-lineNumber: 19
-columnNumber: undefined
-scriptId is valid: true
-name: functionWithDisplayName
-displayName: user-friendly name
-inferredName: undefined
-scopeChain: n/a
-
-Running: testSmallClosure
-smallClosure type = function
-Function details: 
-lineNumber: 22
-columnNumber: undefined
-scriptId is valid: true
-name: undefined
-displayName: undefined
-inferredName: undefined
-scopeChain: n/a
-
-Running: testBigClosure
-bigClosure type = function
-Function details: 
-lineNumber: 35
-columnNumber: undefined
-scriptId is valid: true
-name: undefined
-displayName: undefined
-inferredName: undefined
-scopeChain: n/a
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerfunctiondetailshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/function-details.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/function-details.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/function-details.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,164 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;  function firstLineFunction()
-
-{
-}
-
-   function notFirstLineFunction()
-
-{
-}
-
-var obj = {
-    m: function() {}
-}
-
-function functionWithDisplayName() {}
-functionWithDisplayName.displayName = &quot;user-friendly name&quot;;
-
-var smallClosure = (function(p) { return function() { return p; }; })(&quot;Capybara&quot;);
-
-var bigClosure = (function(p) {
-    var o = {
-       e: 7,
-       f: 5,
-       get u() { return 3; },
-       set v(value) { }
-    };
-    with (o) {
-        try {
-            throw Error(&quot;Test&quot;);
-        } catch (ex) {
-            return function() {
-                return String(p) + String(ex) + u + e;
-            };
-        }
-    }
-})({});
-
-function test()
-{
-    function dumpFunctionDetails(details)
-    {
-        InspectorTest.addResult(&quot;Function details: &quot;);
-        InspectorTest.addResult(&quot;lineNumber: &quot; + details.location.lineNumber);
-        InspectorTest.addResult(&quot;columnNumber: &quot; + details.location.columnNumber);
-        InspectorTest.addResult(&quot;scriptId is valid: &quot; + !!details.location.scriptId);
-        InspectorTest.addResult(&quot;name: &quot; + details.name);
-        InspectorTest.addResult(&quot;displayName: &quot; + details.displayName);
-        InspectorTest.addResult(&quot;inferredName: &quot; + details.inferredName);
-    }
-
-    function dumpFunctionNoScopes()
-    {
-        InspectorTest.addResult(&quot;scopeChain: n/a&quot;);
-    }
-
-
-    function dumpFunctionScope(pos, type, propertyDescriptors)
-    {
-        var variables;
-        if (type == &quot;global&quot;) {
-            variables = &quot;&lt;global object properties omitted&gt;&quot;;
-        } else {
-            var varArray = [];
-            for (var i = 0; i &lt; propertyDescriptors.length; i++) {
-                var d = propertyDescriptors[i];
-                var valueStr;
-                if (d.value) {
-                    if (d.value.value)
-                        valueStr = JSON.stringify(d.value.value);
-                    else
-                        valueStr = &quot;&lt;no string representation&gt;&quot;;
-                } else {
-                    valueStr = &quot;&lt;no value&gt;&quot;;
-                }
-                varArray.push(d.name + &quot;: &quot; + valueStr);
-            }
-            varArray.sort();
-            variables = varArray.join();
-        }
-        InspectorTest.addResult(&quot;scopeChain #&quot; + pos + &quot;: &quot; + type + &quot;; &quot; + variables);
-    }
-
-    function loadAndDumpScopeObjects(scopeChain, end) {
-        function loadScopeObject(pos, next) {
-            if (pos &gt;= scopeChain.length) {
-                next();
-                return;
-            }
-            var scopeJson = scopeChain[pos];
-            RuntimeAgent.getProperties(scopeJson.object.objectId, true, didGetProperties);
-
-            function didGetProperties(error, propertyDescriptors) {
-                dumpFunctionScope(pos, scopeJson.type, propertyDescriptors);
-                loadScopeObject(pos + 1, next);
-            }
-        }
-
-        if (scopeChain) {
-            loadScopeObject(0, end);
-        } else {
-            dumpFunctionNoScopes();
-            end();
-        }
-    }
-
-    function performStandardTestCase(pageExpression, next) {
-        InspectorTest.evaluateInPage(pageExpression, didEvaluate);
-
-        function didEvaluate(remote)
-        {
-            InspectorTest.addResult(pageExpression + &quot; type = &quot; + remote.type);
-            DebuggerAgent.getFunctionDetails(remote.objectId, didGetDetails);
-        }
-        function didGetDetails(error, response)
-        {
-            dumpFunctionDetails(response);
-            loadAndDumpScopeObjects(response.scopeChain, next);
-        }
-    }
-
-    InspectorTest.runDebuggerTestSuite([
-        function testGetFirstLineFunctionDetails(next)
-        {
-            performStandardTestCase(&quot;firstLineFunction&quot;, next);
-        },
-        function testGetNonFirstLineFunctionDetails(next)
-        {
-            performStandardTestCase(&quot;notFirstLineFunction&quot;, next);
-        },
-        function testGetDetailsOfFunctionWithInferredName(next)
-        {
-            performStandardTestCase(&quot;obj.m&quot;, next);
-        },
-        function testGetDetailsOfFunctionWithDisplayName(next)
-        {
-            performStandardTestCase(&quot;functionWithDisplayName&quot;, next);
-        },
-        function testSmallClosure(next)
-        {
-            performStandardTestCase(&quot;smallClosure&quot;, next);
-        },
-        function testBigClosure(next)
-        {
-            performStandardTestCase(&quot;bigClosure&quot;, next);
-        }
-    ]);
-};
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that Debugger.getFunctionDetails command returns correct location.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=71808&quot;&gt;Bug 71808&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggeropencloseopenexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/open-close-open-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/open-close-open-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/open-close-open-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-Tests that scripts panel displays resource content correctly after the open - close - open sequence. Bug 56747
-
-Debugger was enabled.
-
-Running: testSourceFrameContent
-==Source frame contents start==
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;frontendReopeningCount&quot;, function(result) {
-        if (result._description === &quot;0&quot;)
-            InspectorTest.evaluateInPage(&quot;reopenFrontend()&quot;)
-        else {
-            InspectorTest.runDebuggerTestSuite([
-                function testSourceFrameContent(next)
-                {
-                    InspectorTest.showScriptSource(&quot;open-close-open.html&quot;, didShowScriptSource);
-
-                    function didShowScriptSource(sourceFrame)
-                    {
-                        InspectorTest.dumpSourceFrameContents(sourceFrame);
-                        next();
-                    }
-                }
-            ]);
-        }
-    });
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that scripts panel displays resource content correctly after the open - close - open sequence.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=56747&quot;&gt;Bug 56747&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
-==Source frame contents end==
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggeropencloseopenhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/open-close-open.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/open-close-open.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/open-close-open.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;frontendReopeningCount&quot;, function(result) {
-        if (result._description === &quot;0&quot;)
-            InspectorTest.evaluateInPage(&quot;reopenFrontend()&quot;)
-        else {
-            InspectorTest.runDebuggerTestSuite([
-                function testSourceFrameContent(next)
-                {
-                    InspectorTest.showScriptSource(&quot;open-close-open.html&quot;, didShowScriptSource);
-
-                    function didShowScriptSource(sourceFrame)
-                    {
-                        InspectorTest.dumpSourceFrameContents(sourceFrame);
-                        next();
-                    }
-                }
-            ]);
-        }
-    });
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that scripts panel displays resource content correctly after the open - close - open sequence.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=56747&quot;&gt;Bug 56747&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerpauseininlinescriptexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/pause-in-inline-script-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/pause-in-inline-script-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/pause-in-inline-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-Tests that main resource script text is correct when paused in inline script on reload. Bug 77548.
-
-Debugger was enabled.
-Did load front-end
-Paused: false
-didPauseAfterReload
-Source strings corresponding to the call stack:
-Script execution paused.
-Frame 0) line 6, content:          &lt;script&gt;function f1() { debugger; }&lt;/script&gt; (must be part of function 'f1')
-Frame 1) line 8, content: function f2() { return f1(); } (must be part of function 'f2')
-Frame 2) line 14, content:     return f2(); (must be part of function 'f3')
-Frame 3) line 16, content: f3(); (must be part of function '')
-Script execution resumed.
-didResume
-Page reloaded.
-didReload
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerpauseininlinescripthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/pause-in-inline-script.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/pause-in-inline-script.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/pause-in-inline-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,102 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;function foo() { };
-&lt;/script&gt;
-&lt;script&gt;
-function bar() { };
-&lt;/script&gt;&lt;script&gt;function f1() { debugger; }&lt;/script&gt;
-&lt;script&gt;
-function f2() { return f1(); }
-&lt;/script&gt;
-
-&lt;script&gt;
-function f3()
-{
-    return f2();
-}
-f3();
-&lt;/script&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-var test = function()
-{
-    var testName = WebInspector.inspectedPageURL;
-    testName = testName.substring(testName.lastIndexOf('/') + 1);
-
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Did load front-end&quot;);
-        InspectorTest.addResult(&quot;Paused: &quot; + !!WebInspector.debuggerModel.debuggerPausedDetails());
-        InspectorTest.reloadPage(didReload.bind(this));
-        WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.DebuggerPaused, didPauseAfterReload, this); 
-    }
-
-    function didReload()
-    {
-        InspectorTest.addResult(&quot;didReload&quot;);
-        InspectorTest.completeDebuggerTest();
-    }
-
-    function didPauseAfterReload(details)
-    {
-        InspectorTest.addResult(&quot;didPauseAfterReload&quot;);
-        InspectorTest.addResult(&quot;Source strings corresponding to the call stack:&quot;);
-        dumpNextCallFrame(didDump);
-    }
-
-    var callFrameIndex = 0;
-    function dumpNextCallFrame(next)
-    {
-        var callFrames = WebInspector.debuggerModel.callFrames;
-        if (callFrameIndex === callFrames.length) {
-            next();
-            return;
-        }
-        var frame = callFrames[callFrameIndex];
-        var uiLocation = WebInspector.debuggerModel.rawLocationToUILocation(frame.location);
-        InspectorTest.showUISourceCode(uiLocation.uiSourceCode, dumpCallFrameLine);
-
-        function dumpCallFrameLine(sourceFrame)
-        {
-            var resourceText = sourceFrame._textEditor.text();
-            var lines = resourceText.split(&quot;\n&quot;);
-            var lineNumber = uiLocation.lineNumber;
-            InspectorTest.addResult(&quot;Frame &quot; + callFrameIndex + &quot;) line &quot; + lineNumber + &quot;, content: &quot; + lines[lineNumber] + &quot; (must be part of function '&quot; + frame.functionName + &quot;')&quot;);
-            callFrameIndex++
-            dumpNextCallFrame(next);
-        }
-    }
-
-    function uiSourceCodeAdded(uiSourceCode)
-    {
-        InspectorTest.addResult(&quot;uiSourceCodeAdded&quot;);
-    }
-
-    function didDump()
-    {
-        InspectorTest.resumeExecution(didResume);
-    }
-
-    function didResume()
-    {
-        InspectorTest.addResult(&quot;didResume&quot;);
-    }
-};
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that main resource script text is correct when paused in inline script on reload.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=77548&quot;&gt;Bug 77548.&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerpauseininternalscriptexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/pause-in-internal-script-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/pause-in-internal-script-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/pause-in-internal-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-Tests that internal scripts unknown to front-end are processed correctly when appear in debugger call frames. Bug 64995
-
-Debugger was enabled.
-
-Running: testSetBreakpoint
-Script source was shown.
-Set timer for test function.
-Script execution paused.
-Call stack:
-    0)  (pause-in-internal-script.html:14)
-    1) forEach ((internal script))
-    2) testFunction (pause-in-internal-script.html:12)
-Script execution resumed.
-Script execution paused.
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerpauseininternalscripthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/pause-in-internal-script.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/pause-in-internal-script.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/pause-in-internal-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function testFunction()
-{
-    var array = [2, 5, 7];
-    var sum = 0;
-    array.forEach(function(key)
-    {
-        sum += array[key];
-    });
-    return sum;
-}
-
-function test()
-{
-    InspectorTest.runDebuggerTestSuite([
-        function testSetBreakpoint(next)
-        {
-            InspectorTest.showScriptSource(&quot;pause-in-internal-script.html&quot;, didShowScriptSource);
-
-            function didShowScriptSource(sourceFrame)
-            {
-                InspectorTest.addResult(&quot;Script source was shown.&quot;);
-                InspectorTest.setBreakpoint(sourceFrame, 13, &quot;&quot;, true);
-                InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
-            }
-
-            function didPause(callFrames)
-            {
-                InspectorTest.captureStackTrace(callFrames);
-                next();
-            }
-        }
-    ]);
-};
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that internal scripts unknown to front-end are processed correctly when appear in debugger call frames.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=64995&quot;&gt;Bug 64995&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcesdynamicscriptjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/dynamic-script.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/dynamic-script.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/dynamic-script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-function fooDynamicScript()
-{
-}
-
-scriptLoaded();
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourceseditmebreakpointsjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/edit-me-breakpoints.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/edit-me-breakpoints.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/edit-me-breakpoints.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-function f()
-{
-    return 0;
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourceseditmesyntaxerrorjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/edit-me-syntax-error.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/edit-me-syntax-error.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/edit-me-syntax-error.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-function syntaxError()
-{
-    return ,&quot;I'm good&quot;;
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourceseditmewhenpausedjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/edit-me-when-paused.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/edit-me-when-paused.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/edit-me-when-paused.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-function f2()
-{
-    return 1;
-}
-
-function f1()
-{
-    var x = 1;
-    debugger;
-    return x + f2();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourceseditmejs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/edit-me.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/edit-me.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/edit-me.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-function f()
-{
-    return 0;
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcesobfuscatedjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/obfuscated.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/obfuscated.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/obfuscated.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-function formatted1()
-{
-    var variable1 = 0;
-}
-
-function withComments()
-{
-// comment
-    return &quot;functionWithComments&quot;;
-}
-
-try{onmessage=function(event){var source=event.data;var formattedSource=beautify(source);var mapping=buildMapping(source,formattedSource);postMessage({formattedSource:formattedSource,mapping:mapping})};function beautify(source){var ast=parse.parse(source);var beautifyOptions=
-{indent_level:4,indent_start:0,quote_keys:false,space_colon:false};return process.gen_code(ast,beautifyOptions)}function buildMapping(source,formattedSource){var mapping={original:[],formatted:[]};var lastPosition=0;var regexp=/(^|[^\\])\b((?=\D)[\$\.\w]+)\b/g;while(true)
-{var match=regexp.exec(formattedSource);if(!match)break;var position=source.indexOf(match[2],lastPosition);if(position===-1)throw&quot;No match found in original source for &quot;+match[2];mapping.original.push(position);mapping.formatted.push(match.index+match[1].length);
-lastPosition=position+match[2].length}return mapping}function require(){return parse}var exports={};importScripts(&quot;UglifyJS/parse-js.js&quot;);var parse=exports;var exports={};importScripts(&quot;UglifyJS/process.js&quot;);var process=exports;}catch(e){}
-
-function formatted2()
-{
-    var variable2 = 0;
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcespauseonblockedbycspjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-by-csp.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-by-csp.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-by-csp.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-function test()
-{
-    WebInspector.showPanel(&quot;scripts&quot;);
-
-    InspectorTest.addSniffer(WebInspector.CallStackSidebarPane.prototype, &quot;setStatus&quot;, setStatus, false);
-
-    function setStatus(status)
-    {
-        // FIXME: For whatever reason, this isn't getting called consistently.
-        // Commenting it out to avoid flakeyness. https://bugs.webkit.org/show_bug.cgi?id=96867
-        // InspectorTest.addResult(&quot;Callstack status set to: '&quot; + status + &quot;'.&quot;);
-    }
-
-    InspectorTest.startDebuggerTest(step1);
-
-    function step1()
-    {
-        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
-        InspectorTest.evaluateInPage(&quot;setTimeout(testAction, 0);&quot;);
-        InspectorTest.waitUntilPaused(step2);
-    }
-
-    function step2(callFrames)
-    {
-        InspectorTest.captureStackTrace(callFrames);
-        InspectorTest.completeDebuggerTest();
-    }
-}
-
-window.addEventListener('load', runTest);
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcespauseonblockedeventhandlerjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-event-handler.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-event-handler.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-event-handler.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-function testAction()
-{
-    var button = document.getElementById('test');
-    button.click();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcespauseonblockedscriptinjectionjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-injection.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-injection.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-injection.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-function testAction()
-{
-    var script = document.createElement('script');
-    script.innerText = &quot;alert('FAIL!');&quot;;
-    document.body.appendChild(script);
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcespauseonblockedscripturljs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-url.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-url.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-url.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-function testAction()
-{
-    var a = document.createElement('a');
-    a.setAttribute('href', 'javascript:alert(&quot;FAIL!&quot;);');
-    document.body.appendChild(a);
-    a.click();
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcesscript1js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/script1.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/script1.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/script1.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-function f1() {}
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcesscript2js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/script2.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/script2.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/script2.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-function f2() {}
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcesscript3js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/script3.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/script3.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/script3.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-function f3() {}
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerresourcessyntaxerrorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/resources/syntax-error.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/resources/syntax-error.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/resources/syntax-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-)
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;console.log('Iframe loaded');&quot;&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerscriptformatterexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/script-formatter-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/script-formatter-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/script-formatter-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,21 +0,0 @@
</span><del>-Tests the script formatting functionality.
-
-Debugger was enabled.
-
-Running: testScriptFormatterWorker
-
-Running: testSourceMapping
-
-Running: testFormatInlinedScripts
-&lt;html&gt;&lt;body&gt;&lt;script&gt;
-function f() {
-}
-&lt;/script&gt;&lt;script&gt;
-function g() {
-**var a;
-**if (a)
-****return;
-}
-&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerscriptformattersearchexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/script-formatter-search-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/script-formatter-search-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/script-formatter-search-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-Tests that search across files works with formatted scripts.
-
-Debugger was enabled.
-Pre-format search results:
-Search matches: 
-lineNumber: 24, line: '        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump1);'
-lineNumber: 39, line: '        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump2);'
-
-Original content was requested.
-Post-format search results:
-Search matches: 
-lineNumber: 28, line: '        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump1);'
-lineNumber: 43, line: '        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump2);'
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerscriptformattersearchhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/script-formatter-search.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/script-formatter-search.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/script-formatter-search.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,68 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/search/search-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-var test = function()
-{
-    var scriptSource;
-    var shouldRequestContent = false;
-
-    InspectorTest.startDebuggerTest(started);
-
-    function started()
-    {
-        InspectorTest.showScriptSource(&quot;script-formatter-search.html&quot;, didShowScriptSource);
-    }
-
-    function didShowScriptSource(frame)
-    {
-        scriptSource = frame._uiSourceCode;
-        InspectorTest.addSniffer(scriptSource._project, &quot;requestFileContent&quot;, requestContentSniffer);
-        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump1);
-    }
-
-    function dump1(matches)
-    {
-        InspectorTest.addResult(&quot;Pre-format search results:&quot;);
-        InspectorTest.dumpSearchMatches(matches);
-        shouldRequestContent = true;
-        scriptSource.addEventListener(WebInspector.UISourceCode.Events.FormattedChanged, didFormat, this);
-        scriptSource.setFormatted(true);
-    }
-
-    function didFormat()
-    {
-        scriptSource.removeEventListener(WebInspector.UISourceCode.Events.FormattedChanged, didFormat, this);
-        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump2);
-    }
-
-    function dump2(matches)
-    {
-        InspectorTest.addResult(&quot;Post-format search results:&quot;);
-        InspectorTest.dumpSearchMatches(matches);
-        InspectorTest.completeTest();
-    }
-
-    function requestContentSniffer()
-    {
-        if (shouldRequestContent)
-            InspectorTest.addResult(&quot;Original content was requested.&quot;);
-        else
-            InspectorTest.addResult(&quot;Failure: original content should not be requested.&quot;);
-    }
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that search across files works with formatted scripts.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggerscriptformatterhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/script-formatter.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/script-formatter.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/script-formatter.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,106 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;resources/obfuscated.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-var test = function()
-{
-    var panel = WebInspector.panels.scripts;
-    var worker = new Worker(&quot;ScriptFormatterWorker.js&quot;);
-
-    InspectorTest.runDebuggerTestSuite([
-        function testScriptFormatterWorker(next)
-        {
-            worker.onmessage = InspectorTest.safeWrap(function(event)
-            {
-                InspectorTest.assertEquals(&quot;var x = 0\n&quot;, event.data.content);
-                next();
-            });
-
-            worker.onerror = function(event)
-            {
-                InspectorTest.addResult(&quot;Error in worker: &quot; + event.data);
-                next();
-            };
-
-            worker.postMessage({ method: &quot;format&quot;, params: { mimeType: &quot;text/javascript&quot;, content: &quot;var x=0&quot; } });
-        },
-
-        function testSourceMapping(next)
-        {
-            var formatter = new WebInspector.ScriptFormatter();
-
-            InspectorTest.showScriptSource(&quot;obfuscated.js&quot;, didShowScriptSource);
-            function didShowScriptSource(sourceFrame)
-            {
-                formatter.formatContent(&quot;text/javascript&quot;, sourceFrame._textEditor.text(), didFormatContent);
-            }
-
-            function didFormatContent(content, mapping)
-            {
-                var source = WebInspector.panels.scripts.visibleView._textEditor.text();
-                var formattedSource = content;
-
-                function testMapping(string)
-                {
-                    var originalPosition = source.indexOf(string);
-                    InspectorTest.assertTrue(originalPosition !== -1);
-                    var originalLocation = WebInspector.Formatter.positionToLocation(source.lineEndings(), originalPosition);
-                    var formattedLocation = mapping.originalToFormatted(originalLocation[0], originalLocation[1]);
-                    var formattedPosition = WebInspector.Formatter.locationToPosition(formattedSource.lineEndings(), formattedLocation[0], formattedLocation[1]);
-                    var expectedFormattedPosition = formattedSource.indexOf(string);
-                    InspectorTest.assertEquals(expectedFormattedPosition, formattedPosition, &quot;wrong mapping for &lt;&quot; + string + &quot;&gt;&quot;);
-                }
-
-                testMapping(&quot;function&quot;);
-                testMapping(&quot;formatted1&quot;);
-                testMapping(&quot;variable1&quot;);
-
-                testMapping(&quot;    return \&quot;functionWithComments\&quot;&quot;);
-
-                testMapping(&quot;onmessage&quot;);
-                testMapping(&quot;indent_start&quot;);
-                testMapping(&quot;function require&quot;);
-                testMapping(&quot;var regexp&quot;);
-                testMapping(&quot;importScripts&quot;);
-
-                testMapping(&quot;formatted2&quot;);
-                testMapping(&quot;variable2&quot;);
-
-                next();
-            }
-        },
-
-        function testFormatInlinedScripts(next)
-        {
-            worker.onmessage = InspectorTest.safeWrap(function(event)
-            {
-                InspectorTest.addResult(event.data.content);
-                next();
-            });
-
-            worker.onerror = function(event)
-            {
-                InspectorTest.addResult(&quot;Error in worker: &quot; + event.data);
-                next();
-            };
-
-            var content = &quot;&lt;html&gt;&lt;body&gt;&lt;script&gt;function f(){}&lt;&quot; + &quot;/script&gt;&lt;script&gt;function g(){var a;if (a) return;}&lt;&quot; + &quot;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
-            worker.postMessage({ method: &quot;format&quot;, params: { mimeType: &quot;text/html&quot;, content: content, indentString: &quot;**&quot; } });
-        }
-    ]);
-}
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests the script formatting functionality.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggersourceurlcommentexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/source-url-comment-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/source-url-comment-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/source-url-comment-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-Tests that evals with sourceURL comment are shown in scripts panel.
-
-Debugger was enabled.
-
-Running: testSourceURLCommentInInlineScript
-
-Running: testSourceURLComment
-function keepAlive() {}
-//@ sourceURL=evalURL.js
-
-Running: testSourceURLCommentInDynamicScript
-function keepAliveInDynamicScript() {}
-//@ sourceURL=dynamicScriptURL.js
-
-Running: testNonRelativeURL
-function relativeURLScript() {}
-//@ sourceURL=/js/nonRelativeURL.js
-
-Running: testHashSyntax
-function hashSyntax() {}
-//# sourceURL=hashSyntax.js
-Debugger was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectordebuggersourceurlcommenthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/debugger/source-url-comment.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/debugger/source-url-comment.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/debugger/source-url-comment.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,147 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function keepAliveInInlineScript() { }
-
-//@ sourceURL=inlineScriptURL.js
-&lt;/script&gt;
-&lt;script&gt;
-function doEval()
-{
-    eval(&quot;function keepAlive() {}\n//@ sourceURL=evalURL.js&quot;);
-}
-
-function doEvalWithNonRelativeURL()
-{
-    eval(&quot;function relativeURLScript() {}\n//@ sourceURL=/js/nonRelativeURL.js&quot;);
-}
-
-function doEvalWithHashSyntax()
-{
-    eval(&quot;function hashSyntax() {}\n//# sourceURL=hashSyntax.js&quot;);
-}
-
-function doDynamicScript()
-{
-    var scriptElement = document.createElement(&quot;script&quot;);
-    scriptElement.textContent = &quot;function keepAliveInDynamicScript() {}\n//@ sourceURL=dynamicScriptURL.js&quot;;
-    document.body.appendChild(scriptElement);
-}
-
-function test()
-
-{
-    function forEachScriptMatchingURL(url, handler)
-    {
-        var scripts = WebInspector.debuggerModel.scripts;
-        for (var i = 0; i &lt; scripts.length; ++i) {
-            if (scripts[i].sourceURL.indexOf(url) !== -1)
-                handler(scripts[i]);
-        }
-    }
-
-    InspectorTest.runDebuggerTestSuite([
-        function testSourceURLCommentInInlineScript(next)
-        {
-            InspectorTest.showScriptSource(&quot;source-url-comment.html&quot;, didShowScriptSource);
-
-            function didShowScriptSource(sourceFrame)
-            {
-                function checkScriptDoesNotHaveSourceURL(script)
-                {
-                    InspectorTest.assertTrue(!script.hasSourceURL, &quot;hasSourceURL flag is set for inline script&quot;);
-                }
-
-                var panel = WebInspector.panel(&quot;scripts&quot;);
-                var uiSourceCodes = panel._workspace.uiSourceCodes();
-                for (var i = 0; i &lt; uiSourceCodes.length; ++i)
-                    InspectorTest.assertTrue(uiSourceCodes[i].originURL().indexOf(&quot;inlineScriptURL.js&quot;) === -1, &quot;sourceURL comment in inline script was used as a script name&quot;);
-                forEachScriptMatchingURL(&quot;source-url-comment.html&quot;, checkScriptDoesNotHaveSourceURL)
-                next();
-            }
-        },
-
-        function testSourceURLComment(next)
-        {
-            InspectorTest.showScriptSource(&quot;evalURL.js&quot;, didShowScriptSource);
-            InspectorTest.evaluateInPage(&quot;setTimeout(doEval, 0)&quot;);
-
-            function didShowScriptSource(sourceFrame)
-            {
-                function checkScriptHasSourceURL(script)
-                {
-                    InspectorTest.assertTrue(script.hasSourceURL, &quot;hasSourceURL flag is not set for eval with sourceURL comment&quot;);
-                }
-
-                InspectorTest.addResult(sourceFrame.textEditor.text());
-                forEachScriptMatchingURL(&quot;evalURL.js&quot;, checkScriptHasSourceURL);
-                next();
-            }
-        },
-
-        function testSourceURLCommentInDynamicScript(next)
-        {
-            InspectorTest.showScriptSource(&quot;dynamicScriptURL.js&quot;, didShowScriptSource);
-            InspectorTest.evaluateInPage(&quot;setTimeout(doDynamicScript, 0)&quot;);
-
-            function didShowScriptSource(sourceFrame)
-            {
-                function checkScriptHasSourceURL(script)
-                {
-                    InspectorTest.assertTrue(script.hasSourceURL, &quot;hasSourceURL flag is not set for dynamic script with sourceURL comment&quot;);
-                }
-
-                InspectorTest.addResult(sourceFrame.textEditor.text());
-                forEachScriptMatchingURL(&quot;dynamicScriptURL.js&quot;, checkScriptHasSourceURL);
-                next();
-            }
-        },
-
-        function testNonRelativeURL(next)
-        {
-            InspectorTest.showScriptSource(&quot;/js/nonRelativeURL.js&quot;, didShowScriptSource);
-            InspectorTest.evaluateInPage(&quot;setTimeout(doEvalWithNonRelativeURL, 0)&quot;);
-
-            function didShowScriptSource(sourceFrame)
-            {
-                function checkScriptHasSourceURL(script)
-                {
-                    InspectorTest.assertTrue(script.hasSourceURL, &quot;hasSourceURL flag is not set for eval with a non-relative URL in a sourceURL comment&quot;);
-                }
-
-                InspectorTest.addResult(sourceFrame.textEditor.text());
-                forEachScriptMatchingURL(&quot;nonRelativeURL.js&quot;, checkScriptHasSourceURL);
-                next();
-            }
-        },
-
-        function testHashSyntax(next)
-        {
-            InspectorTest.showScriptSource(&quot;hashSyntax.js&quot;, didShowScriptSource);
-            InspectorTest.evaluateInPage(&quot;setTimeout(doEvalWithHashSyntax, 0)&quot;);
-
-            function didShowScriptSource(sourceFrame)
-            {
-                function checkScriptHasSourceURL(script)
-                {
-                    InspectorTest.assertTrue(script.hasSourceURL, &quot;hasSourceURL flag is not set for eval with a non-relative URL in a sourceURL comment&quot;);
-                }
-
-                InspectorTest.addResult(sourceFrame.textEditor.text());
-                forEachScriptMatchingURL(&quot;hashSyntax.js&quot;, checkScriptHasSourceURL);
-                next();
-            }
-        }
-    ]);
-};
-
-&lt;/script&gt;
-
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that evals with sourceURL comment are shown in scripts panel.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsdomagentqueryselectorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/dom-agent-query-selector-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/dom-agent-query-selector-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/dom-agent-query-selector-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-Tests DOMAgent.querySelector and DOMAgent.querySelectorAll.
-
-
-Running: testDocumentQuerySelector
-node id: id1
-
-Running: testDocumentQuerySelectorAll
-node id: id1
-node id: id2
-node id: id3
-node id: id4
-node id: id5
-node id: id6
-
-Running: testQuerySelector
-node id: id3
-
-Running: testQuerySelectorAll
-node id: id3
-node id: id4
-node id: id5
-node id: id6
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsdomagentqueryselectorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/dom-agent-query-selector.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/dom-agent-query-selector.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/dom-agent-query-selector.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,81 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeWithId(&quot;container&quot;, step1);
-
-    function step1(node)
-    {
-        var containerId = node.id;
-        var documentId = node.ownerDocument.id;
-
-        InspectorTest.runTestSuite([
-            function testDocumentQuerySelector(next)
-            {
-                DOMAgent.querySelector(documentId, &quot;div.foo&quot;, dumpNodes.bind(null, next));
-            },
-
-            function testDocumentQuerySelectorAll(next)
-            {
-                DOMAgent.querySelectorAll(documentId, &quot;div.foo&quot;, dumpNodes.bind(null, next));
-            },
-
-            function testQuerySelector(next)
-            {
-                DOMAgent.querySelector(containerId, &quot;div.foo&quot;, dumpNodes.bind(null, next));
-            },
-
-            function testQuerySelectorAll(next)
-            {
-                DOMAgent.querySelectorAll(containerId, &quot;div.foo&quot;, dumpNodes.bind(null, next));
-            }
-        ]);
-    }
-
-    function dumpNodes(next, error, nodeIds)
-    {
-        if (error) {
-            InspectorTest.addResult(error);
-            next();
-            return;
-        }
-
-        if (!(nodeIds instanceof Array))
-            nodeIds = [nodeIds];
-
-        for (var i = 0; i &lt; nodeIds.length; ++i) {
-            if (!nodeIds[i])
-                InspectorTest.addResult(&quot;no results&quot;);
-            else {
-                var node = WebInspector.domAgent.nodeForId(nodeIds[i]);
-                InspectorTest.addResult(&quot;node id: &quot; + node.getAttribute(&quot;id&quot;));
-            }
-        }
-        next();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests DOMAgent.querySelector and DOMAgent.querySelectorAll.
-&lt;/p&gt;
-
-&lt;div id=&quot;id1&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
-&lt;div id=&quot;id2&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
-
-&lt;div id=&quot;container&quot;&gt;
-    &lt;div id=&quot;id3&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
-    &lt;div id=&quot;id4&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
-    &lt;div id=&quot;id5&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
-    &lt;div id=&quot;id6&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsdomsearchcrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/dom-search-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/dom-search-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/dom-search-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-Tests that elements panel search is not crashing on documentElement-less cases.
-
-
-
-Running: testSetUp
-
-Running: testNoCrash
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsdomsearchcrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/dom-search-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/dom-search-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/dom-search-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,29 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            WebInspector.showPanel(&quot;elements&quot;);
-            WebInspector.domAgent.requestDocument(next);
-        },
-
-        function testNoCrash(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;FooBar&quot;, next);
-        }
-    ]);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Tests that elements panel search is not crashing on documentElement-less cases.
-&lt;/p&gt;
-&lt;iframe src=&quot;resources/dom-search-crash-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementseditstyleattributeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/edit-style-attribute-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/edit-style-attribute-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/edit-style-attribute-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-Tests that style modification generates attribute updated event only when attribute is actually changed.
-
-
-Running: testSetUp
-
-Running: testSetNewValue
-WebInspector.DOMAgent.Events.AttrModified should be issued
-
-Running: testSetSameValue
-WebInspector.DOMNode.prototype._setAttributesPayload should be called
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementseditstyleattributehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/edit-style-attribute.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/edit-style-attribute.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/edit-style-attribute.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,78 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function testSetNewValue()
-{
-    document.getElementById(&quot;node-set-new-value&quot;).style.setProperty(&quot;color&quot;, &quot;blue&quot;);
-}
-
-function testSetSameValue()
-{
-    document.getElementById(&quot;node-set-same-value&quot;).style.setProperty(&quot;color&quot;, &quot;red&quot;);
-}
-
-function test()
-{
-    // Save time on style updates.
-    WebInspector.showPanel(&quot;elements&quot;);
-    WebInspector.StylesSidebarPane.prototype.update = function() {};
-    WebInspector.MetricsSidebarPane.prototype.update = function() {};
-
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.expandElementsTree(next);
-        },
-
-        function testSetNewValue(next)
-        {
-            InspectorTest.evaluateInPage(&quot;testSetNewValue()&quot;);
-
-            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
-            function listener(event)
-            {
-                InspectorTest.addResult(&quot;WebInspector.DOMAgent.Events.AttrModified should be issued&quot;);
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
-                next();
-            }
-        },
-
-        function testSetSameValue(next)
-        {
-            InspectorTest.evaluateInPage(&quot;testSetSameValue()&quot;);
-
-            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
-            function listener(event)
-            {
-                InspectorTest.addResult(&quot;WebInspector.DOMAgent.Events.AttrModified should not be issued&quot;);
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
-            }
-
-            InspectorTest.addSniffer(WebInspector.DOMNode.prototype, &quot;_setAttributesPayload&quot;, callback);
-            function callback()
-            {
-                InspectorTest.addResult(&quot;WebInspector.DOMNode.prototype._setAttributesPayload should be called&quot;);
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
-                next();
-            }
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that style modification generates attribute updated event only when attribute is actually changed.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot;&gt;
-    &lt;div id=&quot;node-set-new-value&quot; style=&quot;color:red&quot;&gt;&lt;/div&gt;
-    &lt;div id=&quot;node-set-same-value&quot; style=&quot;color:red&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementselementspanelreloadassertexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/elements-panel-reload-assert-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/elements-panel-reload-assert-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/elements-panel-reload-assert-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that the inspected page does not crash in a debug build when reloading a page containing shadow DOM with open inspector. Bug 84154.
-
-
-Page reloaded.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementselementspanelreloadasserthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/elements-panel-reload-assert.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/elements-panel-reload-assert.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/elements-panel-reload-assert.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.expandElementsTree(step1);
-
-    function step1()
-    {
-        InspectorTest.reloadPage(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that the inspected page does not crash in a debug build when reloading a page containing shadow DOM with open inspector. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=84154&quot;&gt;Bug 84154&lt;/a&gt;.
-&lt;/p&gt;
-
-&lt;input type=&quot;radio&quot;&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementselementspanelsearchexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/elements-panel-search-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/elements-panel-search-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/elements-panel-search-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-Tests that elements panel search is returning proper results.
-
-FooBar
-
-Found by selector
-
-Running: testSetUp
-
-Running: testPlainText
-F o o B a r
-
-Running: testPartialText
-F o o B a r
-
-Running: testStartTag
-&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
-
-Running: testEndTag
-&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
-
-Running: testPartialTag
-&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
-
-Running: testPartialAbsentTagStart
-Nothing found
-
-Running: testPartialAbsentTagEnd
-Nothing found
-
-Running: testFullTag
-&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
-
-Running: testExactAttributeName
-&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
-
-Running: testExactAttributeVal_ue
-&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
-
-Running: testExactAttributeVal_ueWithQuotes
-&lt; d i v   a t t r = &quot; f o o &quot; &gt; &lt; / d i v &gt;
-
-Running: testPartialAttributeVal_ue
-&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
-
-Running: testXPathAttribute
-&lt; d i v   a t t r = &quot; f o o &quot; &gt; &lt; / d i v &gt;
-
-Running: testSelector
-&lt; s p a n &gt; F o u n d   b y   s e l e c t o r &lt; / s p a n &gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementselementspanelsearchhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/elements-panel-search.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/elements-panel-search.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/elements-panel-search.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,130 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-
-    function searchCallback(next, resultCount)
-    {
-        if (resultCount == 0) {
-            InspectorTest.addResult(&quot;Nothing found&quot;);
-            WebInspector.domAgent.cancelSearch();
-            next();
-        }
-
-        for (var i = 0; i &lt; resultCount; ++i)
-            WebInspector.domAgent.searchResult(i, searchResultCallback.bind(this, i + 1 === resultCount));
-
-        function searchResultCallback(isLastItem, node)
-        {
-            node.getOuterHTML(addSearchResult.bind(this, isLastItem));
-        }
-
-        function addSearchResult(isLastItem, error, markupVa_lue)
-        {
-            InspectorTest.addResult(markupVa_lue.split(&quot;&quot;).join(&quot; &quot;));
-            if (isLastItem) {
-                WebInspector.domAgent.cancelSearch();
-                next();
-            }
-        }
-    }
-
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            WebInspector.domAgent.requestDocument(next);
-        },
-
-        function testPlainText(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;Fo&quot; + &quot;o&quot; + &quot;Bar&quot;, searchCallback.bind(this, next));
-        },
-
-        function testPartialText(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;oo&quot; + &quot;Ba&quot;, searchCallback.bind(this, next));
-        },
-
-        function testStartTag(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;&lt;inpu&quot; + &quot;t&quot;, searchCallback.bind(this, next));
-        },
-
-        function testEndTag(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;npu&quot; + &quot;t&gt;&quot;, searchCallback.bind(this, next));
-        },
-
-        function testPartialTag(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;npu&quot; + &quot;t&quot;, searchCallback.bind(this, next));
-        },
-
-        function testPartialAbsentTagStart(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;&lt;npu&quot; + &quot;t&quot;, searchCallback.bind(this, next));
-        },
-
-        function testPartialAbsentTagEnd(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;npu&quot; + &quot;&gt;&quot;, searchCallback.bind(this, next));
-        },
-
-        function testFullTag(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;&lt;inpu&quot; + &quot;t&gt;&quot;, searchCallback.bind(this, next));
-        },
-
-        function testExactAttributeName(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;valu&quot; + &quot;e&quot;, searchCallback.bind(this, next));
-        },
-
-        function testExactAttributeVal_ue(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;In&quot; + &quot;putVa&quot; + &quot;l&quot;, searchCallback.bind(this, next));
-        },
-
-        function testExactAttributeVal_ueWithQuotes(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;\&quot;fo&quot; + &quot;o\&quot;&quot;, searchCallback.bind(this, next));
-        },
-
-        function testPartialAttributeVal_ue(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;n&quot; + &quot;putVa&quot; + &quot;l&quot;, searchCallback.bind(this, next));
-        },
-
-        function testXPathAttribute(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;//html&quot; + &quot;//@attr&quot;, searchCallback.bind(this, next));
-        },
-
-        function testSelector(next)
-        {
-            WebInspector.domAgent.performSearch(&quot;d&quot; + &quot;iv.divclass span&quot;, searchCallback.bind(this, next));
-        }
-    ]);
-
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that elements panel search is returning proper results.
-&lt;/p&gt;
-
-&lt;div&gt;FooBar&lt;/div&gt;
-&lt;input value=&quot;InputVal&quot;&gt;
-&lt;div attr=&quot;foo&quot;&gt;&lt;/div&gt;
-&lt;div id=&quot;terminator&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;divclass&quot;&gt;&lt;span&gt;Found by selector&lt;/span&gt;&lt;/div&gt;
-&lt;span class=&quot;foo koo&quot;&gt;&lt;/span&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementselementspanelstylesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/elements-panel-styles-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/elements-panel-styles-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/elements-panel-styles-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,144 +0,0 @@
</span><del>-Tests that elements panel shows proper styles in the sidebar panel.
-
-Foo
-[expanded] 
--webkit-font-smoothing: subpixel-antialiased;
-    element.style - subpixel-antialiased 
-border-bottom-left-radius: 5px;
-    .foo - 5px elements-panel-styles.css:16
-border-bottom-right-radius: 5px;
-    .foo - 5px elements-panel-styles.css:16
-border-top-left-radius: 5px;
-    .foo - 5px elements-panel-styles.css:16
-border-top-right-radius: 5px;
-    .foo - 5px elements-panel-styles.css:16
-color: rgb(0, 0, 255);
-    .foo, .foo::before - blue elements-panel-styles.css:28
-    /-- overloaded --/ .foo - black elements-panel-styles.css:16
-    /-- overloaded --/ #container - red elements-panel-styles.css:5
-display: block;
-    /-- overloaded --/ element.style - none 
-    .foo, .foo::before - block !important elements-panel-styles.css:28
-    /-- overloaded --/ div - block user agent stylesheet
-font-family: serif;
-    #container - serif elements-panel-styles.css:5
-font-size: 14px;
-    #container - 14px elements-panel-styles.css:5
-    /-- overloaded --/ body - 12px elements-panel-styles.css:1
-font-style: italic;
-    #container .foo - italic !important elements-panel-styles.css:12
-    /-- overloaded --/ .foo - normal !important elements-panel-styles.css:16
-font-weight: normal;
-    .foo - normal !important elements-panel-styles.css:16
-    /-- overloaded --/ .foo - bold elements-panel-styles.css:16
-margin-bottom: 2px;
-    .foo - 2px elements-panel-styles.css:16
-margin-left: 0px;
-    .foo - 1px elements-panel-styles.css:16
-margin-right: 0px;
-    .foo - 0px elements-panel-styles.css:16
-margin-top: 10px;
-    .foo - 10px elements-panel-styles.css:16
-padding-bottom: 4px;
-    .foo - 4px elements-panel-styles.css:16
-padding-left: 4px;
-    .foo - 4px elements-panel-styles.css:16
-padding-right: 1px;
-    .foo - 1px elements-panel-styles.css:16
-padding-top: 4px;
-    .foo - 4px elements-panel-styles.css:16
-text-align: -webkit-left;
-    div[Attributes Style] - -webkit-left 
-
-[expanded] 
-element.style  { ()
-/-- overloaded --/ display: none;
--webkit-font-smoothing: subpixel-antialiased;
-
-======== Matched CSS Rules ========
-[expanded] 
-#container .foo  { (elements-panel-styles.css:12)
-font-style: italic !important;
-
-[expanded] 
-.foo  { (elements-panel-styles.css:47)
-
-[expanded] 
-.foo, .foo::before  { (elements-panel-styles.css:28)
-content: &quot;[before Foo]&quot;;
-color: blue;
-display: block !important;
-
-[expanded] 
-.foo  { (elements-panel-styles.css:16)
-/-- overloaded --/ color: black;
-margin-left: 1px;
-margin: 10px 0 2px;
-    margin-top: 10px;
-    margin-right: 0px;
-    margin-bottom: 2px;
-    margin-left: 1px;
-border-radius: 5px;
-    border-top-left-radius: 5px;
-    border-top-right-radius: 5px;
-    border-bottom-right-radius: 5px;
-    border-bottom-left-radius: 5px;
-/-- overloaded --/ font-style: normal !important;
-font-weight: normal !important;
-/-- overloaded --/ font-weight: bold;
-padding: 4px;
-    padding-top: 4px;
-    padding-right: 1px;
-    padding-bottom: 4px;
-    padding-left: 4px;
-padding-right: 1px;
-
-[expanded] 
-div[Attributes Style]  { ()
-text-align: -webkit-left;
-
-[expanded] 
-div  { (user agent stylesheet)
-/-- overloaded --/ display: block;
-
-======== Inherited from div#container ========
-[expanded] 
-#container  { (elements-panel-styles.css:5)
-font-family: serif;
-font-size: 14px;
-/-- overloaded --/ color: red;
-
-======== Inherited from body ========
-[expanded] 
-body  { (elements-panel-styles.css:1)
-/-- overloaded --/ font-size: 12px;
-
-
-======== Pseudo ::before element ========
-[expanded] 
-.foo::before  { (elements-panel-styles.css:51)
-
-[expanded] 
-.foo::before  { (elements-panel-styles.css:34)
-color: red;
-
-[expanded] 
-.foo, .foo::before  { (elements-panel-styles.css:28)
-content: &quot;[before Foo]&quot;;
-/-- overloaded --/ color: blue;
-display: block !important;
-
-
-======== Pseudo ::after element ========
-[expanded] 
-.foo::after  { (elements-panel-styles.css:42)
-font-family: courier;
-content: &quot;[after Foo 2]&quot;;
-
-[expanded] 
-.foo::after  { (elements-panel-styles.css:38)
-/-- overloaded --/ content: &quot;[after Foo]&quot;;
-color: green;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementselementspanelstyleshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/elements-panel-styles.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/elements-panel-styles.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/elements-panel-styles.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;resources/elements-panel-styles.css&quot;&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;foo&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpSelectedElementStyles(false, false);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that elements panel shows proper styles in the sidebar panel.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot;&gt;
-    &lt;div id=&quot;foo&quot; class=&quot;foo&quot; style=&quot;display:none; -webkit-font-smoothing: subpixel-antialiased;&quot; align=&quot;left&quot;&gt;Foo&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightnodeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-node-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-node-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-node-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-This test verifies the position and size of the highlight rectangles overlayed on an inspected div.
-
-margin rect is 260 x 260 at (0, 0)
-border rect is 250 x 250 at (5, 5)
-padding rect is 230 x 230 at (15, 15)
-content rect is 200 x 200 at (30, 30)
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightnoderegionsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-node-regions-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-node-regions-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-node-regions-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,289 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted CSS Regions quads overlayed on the inspected div.
-
-{
-    &quot;name&quot;: &quot;flow&quot;,
-    &quot;regions&quot;: [
-        {
-            &quot;borderQuad&quot;: [
-                {
-                    &quot;x&quot;: 5,
-                    &quot;y&quot;: 5
-                },
-                {
-                    &quot;x&quot;: 255,
-                    &quot;y&quot;: 5
-                },
-                {
-                    &quot;x&quot;: 255,
-                    &quot;y&quot;: 255
-                },
-                {
-                    &quot;x&quot;: 5,
-                    &quot;y&quot;: 255
-                }
-            ],
-            &quot;incomingQuad&quot;: [
-                {
-                    &quot;x&quot;: 0,
-                    &quot;y&quot;: 15
-                },
-                {
-                    &quot;x&quot;: 10,
-                    &quot;y&quot;: 15
-                },
-                {
-                    &quot;x&quot;: 10,
-                    &quot;y&quot;: 25
-                },
-                {
-                    &quot;x&quot;: 0,
-                    &quot;y&quot;: 25
-                }
-            ],
-            &quot;outgoingQuad&quot;: [
-                {
-                    &quot;x&quot;: 250,
-                    &quot;y&quot;: 235
-                },
-                {
-                    &quot;x&quot;: 260,
-                    &quot;y&quot;: 235
-                },
-                {
-                    &quot;x&quot;: 260,
-                    &quot;y&quot;: 245
-                },
-                {
-                    &quot;x&quot;: 250,
-                    &quot;y&quot;: 245
-                }
-            ]
-        },
-        {
-            &quot;borderQuad&quot;: [
-                {
-                    &quot;x&quot;: 265,
-                    &quot;y&quot;: 5
-                },
-                {
-                    &quot;x&quot;: 515,
-                    &quot;y&quot;: 5
-                },
-                {
-                    &quot;x&quot;: 515,
-                    &quot;y&quot;: 255
-                },
-                {
-                    &quot;x&quot;: 265,
-                    &quot;y&quot;: 255
-                }
-            ],
-            &quot;incomingQuad&quot;: [
-                {
-                    &quot;x&quot;: 260,
-                    &quot;y&quot;: 15
-                },
-                {
-                    &quot;x&quot;: 270,
-                    &quot;y&quot;: 15
-                },
-                {
-                    &quot;x&quot;: 270,
-                    &quot;y&quot;: 25
-                },
-                {
-                    &quot;x&quot;: 260,
-                    &quot;y&quot;: 25
-                }
-            ],
-            &quot;outgoingQuad&quot;: [
-                {
-                    &quot;x&quot;: 510,
-                    &quot;y&quot;: 235
-                },
-                {
-                    &quot;x&quot;: 520,
-                    &quot;y&quot;: 235
-                },
-                {
-                    &quot;x&quot;: 520,
-                    &quot;y&quot;: 245
-                },
-                {
-                    &quot;x&quot;: 510,
-                    &quot;y&quot;: 245
-                }
-            ],
-            &quot;isHighlighted&quot;: true
-        },
-        {
-            &quot;borderQuad&quot;: [
-                {
-                    &quot;x&quot;: 525,
-                    &quot;y&quot;: 5
-                },
-                {
-                    &quot;x&quot;: 775,
-                    &quot;y&quot;: 5
-                },
-                {
-                    &quot;x&quot;: 775,
-                    &quot;y&quot;: 255
-                },
-                {
-                    &quot;x&quot;: 525,
-                    &quot;y&quot;: 255
-                }
-            ],
-            &quot;incomingQuad&quot;: [
-                {
-                    &quot;x&quot;: 520,
-                    &quot;y&quot;: 15
-                },
-                {
-                    &quot;x&quot;: 530,
-                    &quot;y&quot;: 15
-                },
-                {
-                    &quot;x&quot;: 530,
-                    &quot;y&quot;: 25
-                },
-                {
-                    &quot;x&quot;: 520,
-                    &quot;y&quot;: 25
-                }
-            ],
-            &quot;outgoingQuad&quot;: [
-                {
-                    &quot;x&quot;: 770,
-                    &quot;y&quot;: 235
-                },
-                {
-                    &quot;x&quot;: 780,
-                    &quot;y&quot;: 235
-                },
-                {
-                    &quot;x&quot;: 780,
-                    &quot;y&quot;: 245
-                },
-                {
-                    &quot;x&quot;: 770,
-                    &quot;y&quot;: 245
-                }
-            ]
-        },
-        {
-            &quot;borderQuad&quot;: [
-                {
-                    &quot;x&quot;: 5,
-                    &quot;y&quot;: 265
-                },
-                {
-                    &quot;x&quot;: 205,
-                    &quot;y&quot;: 265
-                },
-                {
-                    &quot;x&quot;: 205,
-                    &quot;y&quot;: 265
-                },
-                {
-                    &quot;x&quot;: 5,
-                    &quot;y&quot;: 265
-                }
-            ],
-            &quot;incomingQuad&quot;: [
-                {
-                    &quot;x&quot;: 0,
-                    &quot;y&quot;: 260
-                },
-                {
-                    &quot;x&quot;: 10,
-                    &quot;y&quot;: 260
-                },
-                {
-                    &quot;x&quot;: 10,
-                    &quot;y&quot;: 270
-                },
-                {
-                    &quot;x&quot;: 0,
-                    &quot;y&quot;: 270
-                }
-            ],
-            &quot;outgoingQuad&quot;: [
-                {
-                    &quot;x&quot;: 200,
-                    &quot;y&quot;: 260
-                },
-                {
-                    &quot;x&quot;: 210,
-                    &quot;y&quot;: 260
-                },
-                {
-                    &quot;x&quot;: 210,
-                    &quot;y&quot;: 270
-                },
-                {
-                    &quot;x&quot;: 200,
-                    &quot;y&quot;: 270
-                }
-            ]
-        },
-        {
-            &quot;borderQuad&quot;: [
-                {
-                    &quot;x&quot;: 215,
-                    &quot;y&quot;: 265
-                },
-                {
-                    &quot;x&quot;: 215,
-                    &quot;y&quot;: 265
-                },
-                {
-                    &quot;x&quot;: 215,
-                    &quot;y&quot;: 265
-                },
-                {
-                    &quot;x&quot;: 215,
-                    &quot;y&quot;: 265
-                }
-            ],
-            &quot;incomingQuad&quot;: [
-                {
-                    &quot;x&quot;: 210,
-                    &quot;y&quot;: 260
-                },
-                {
-                    &quot;x&quot;: 220,
-                    &quot;y&quot;: 260
-                },
-                {
-                    &quot;x&quot;: 220,
-                    &quot;y&quot;: 270
-                },
-                {
-                    &quot;x&quot;: 210,
-                    &quot;y&quot;: 270
-                }
-            ],
-            &quot;outgoingQuad&quot;: [
-                {
-                    &quot;x&quot;: 210,
-                    &quot;y&quot;: 260
-                },
-                {
-                    &quot;x&quot;: 220,
-                    &quot;y&quot;: 260
-                },
-                {
-                    &quot;x&quot;: 220,
-                    &quot;y&quot;: 270
-                },
-                {
-                    &quot;x&quot;: 210,
-                    &quot;y&quot;: 270
-                }
-            ]
-        }
-    ]
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightnoderegionshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-node-regions.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-node-regions.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-node-regions.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,77 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedRegions()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region&quot; id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted CSS Regions quads overlayed on the inspected div.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightnodescaledexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-node-scaled-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-node-scaled-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-node-scaled-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-
-margin rect is 166 x 188 at (192, 154)
-border rect is 138 x 160 at (206, 168)
-padding rect is 118 x 140 at (216, 178)
-content rect is 66 x 88 at (242, 204)
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightnodescaledhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-node-scaled.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-node-scaled.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-node-scaled.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-
-iframe {
-    position: absolute;
-    left: 83px;
-    top: 53px;
-    width: 200px;
-    height: 200px;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    if (window.internals)
-        window.internals.setPageScaleFactor(2, 0, 0);
-    runTest();
-}
-    
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    WebInspector.panels.elements.treeOutline.addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, selectedNodeChanged, this);
-
-    function selectedNodeChanged(event)
-    {
-        var node = event.data;
-        if (node.getAttribute(&quot;id&quot;) == &quot;div&quot;)
-            RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
-    }
-    InspectorTest.evaluateInConsole(&quot;inspect(iframeDivElement)&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;iframe src=&quot;resources/highlight-node-scaled-iframe.html&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightnodescrollexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-This test verifies the position and size of the highlight rectangles overlayed on an inspected div in the scrolled view.
-
-margin rect is 260 x 260 at (8, 8)
-border rect is 250 x 250 at (13, 13)
-padding rect is 230 x 230 at (23, 23)
-content rect is 200 x 200 at (38, 38)
-margin rect is 260 x 260 at (-52, 218)
-border rect is 250 x 250 at (-47, 223)
-padding rect is 230 x 230 at (-37, 233)
-content rect is 200 x 200 at (-22, 248)
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightnodescrollhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-node-scroll.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-node-scroll.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-node-scroll.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,79 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    width: 2000px;
-    height: 2000px;
-    background-color: grey;
-}
-.inspected {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-}
-#scrollingContainer {
-    clear: both;
-    width: 100px;
-    height: 100px;
-    overflow: auto;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    window.scrollBy(50, 100);
-    scrollingContainer = document.getElementById(&quot;scrollingContainer&quot;);
-    scrollingContainer.scrollTop = 50;
-    scrollingContainer.scrollLeft = 60;
-    runTest();
-}
-
-function test()
-{
-    function nodeSelected2(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
-    }
-
-    function testNode2()
-    {
-        InspectorTest.selectNodeWithId(&quot;inspectedElement2&quot;, nodeSelected2);
-    }
-
-    function nodeSelected1(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, testNode2);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement1&quot;, nodeSelected1);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-
-&lt;div id=&quot;inspectedElement1&quot; class=&quot;inspected&quot;&gt;&lt;/div&gt;
-
-&lt;div id=&quot;scrollingContainer&quot;&gt;
-    &lt;div id=&quot;inspectedElement2&quot; class=&quot;inspected&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlight rectangles overlayed on an inspected div in the scrolled view.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightnodehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-node.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-node.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-node.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlight rectangles overlayed on an inspected div.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted node inside CSS Regions.
-
-{
-    &quot;scroll&quot;: {
-        &quot;x&quot;: 0,
-        &quot;y&quot;: 0
-    },
-    &quot;fragments&quot;: [
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 1030
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 1030
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 1030
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 1030
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 1030
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 1030
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 1030
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 1030
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: -170
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: -170
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 830
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 830
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: -170
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: -170
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 830
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 830
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: -170
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: -170
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 830
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 830
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: -170
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: -170
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 830
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 830
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 490,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 490,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 605
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 605
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 605
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 605
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 5
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -395
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    }
-                ]
-            }
-        }
-    ],
-    &quot;elementInfo&quot;: {
-        &quot;tagName&quot;: &quot;div&quot;,
-        &quot;idValue&quot;: &quot;inspectedElement&quot;,
-        &quot;nodeWidth&quot;: &quot;200&quot;,
-        &quot;nodeHeight&quot;: &quot;1000&quot;,
-        &quot;contentFlowInfo&quot;: {
-            &quot;name&quot;: &quot;flow&quot;
-        }
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowhorizbtexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted node inside CSS Regions.
-
-{
-    &quot;scroll&quot;: {
-        &quot;x&quot;: 0,
-        &quot;y&quot;: 0
-    },
-    &quot;fragments&quot;: [
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: -730
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: -730
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 270
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 270
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: -730
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: -730
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 270
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 270
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: -730
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: -730
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 270
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 270
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: -730
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: -730
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 270
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 270
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 70
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 70
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 270
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 270
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: -530
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: -530
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 470
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 470
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: -530
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: -530
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 470
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 470
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: -530
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: -530
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 470
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 470
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: -530
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: -530
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 470
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 470
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 70
-                    },
-                    {
-                        &quot;x&quot;: 490,
-                        &quot;y&quot;: 70
-                    },
-                    {
-                        &quot;x&quot;: 490,
-                        &quot;y&quot;: 270
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 270
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 695
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 695
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 695
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 695
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 695
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 695
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 695
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 695
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 295
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 695
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 695
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 695
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 695
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 695
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 695
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: -305
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 695
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 695
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 895
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 895
-                    }
-                ]
-            }
-        }
-    ],
-    &quot;elementInfo&quot;: {
-        &quot;tagName&quot;: &quot;div&quot;,
-        &quot;idValue&quot;: &quot;inspectedElement&quot;,
-        &quot;nodeWidth&quot;: &quot;200&quot;,
-        &quot;nodeHeight&quot;: &quot;1000&quot;,
-        &quot;contentFlowInfo&quot;: {
-            &quot;name&quot;: &quot;flow&quot;
-        }
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowhorizbthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,87 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html style=&quot;-webkit-writing-mode: horizontal-bt;&quot;&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    width: 100%;
-    height: 1000px;
-    background-color: green;
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.small {
-    width: 100px;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;
-    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowtransformexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted node inside CSS Regions.
-
-{
-    &quot;scroll&quot;: {
-        &quot;x&quot;: 0,
-        &quot;y&quot;: 0
-    },
-    &quot;fragments&quot;: [
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 207,
-                        &quot;y&quot;: 26
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: 94
-                    },
-                    {
-                        &quot;x&quot;: 53,
-                        &quot;y&quot;: 1034
-                    },
-                    {
-                        &quot;x&quot;: -135,
-                        &quot;y&quot;: 966
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 207,
-                        &quot;y&quot;: 26
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: 94
-                    },
-                    {
-                        &quot;x&quot;: 53,
-                        &quot;y&quot;: 1034
-                    },
-                    {
-                        &quot;x&quot;: -135,
-                        &quot;y&quot;: 966
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 207,
-                        &quot;y&quot;: 26
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: 94
-                    },
-                    {
-                        &quot;x&quot;: 53,
-                        &quot;y&quot;: 1034
-                    },
-                    {
-                        &quot;x&quot;: -135,
-                        &quot;y&quot;: 966
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 207,
-                        &quot;y&quot;: 26
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: 94
-                    },
-                    {
-                        &quot;x&quot;: 53,
-                        &quot;y&quot;: 1034
-                    },
-                    {
-                        &quot;x&quot;: -135,
-                        &quot;y&quot;: 966
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 467,
-                        &quot;y&quot;: -174
-                    },
-                    {
-                        &quot;x&quot;: 561,
-                        &quot;y&quot;: -140
-                    },
-                    {
-                        &quot;x&quot;: 219,
-                        &quot;y&quot;: 800
-                    },
-                    {
-                        &quot;x&quot;: 125,
-                        &quot;y&quot;: 766
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 467,
-                        &quot;y&quot;: -174
-                    },
-                    {
-                        &quot;x&quot;: 561,
-                        &quot;y&quot;: -140
-                    },
-                    {
-                        &quot;x&quot;: 219,
-                        &quot;y&quot;: 800
-                    },
-                    {
-                        &quot;x&quot;: 125,
-                        &quot;y&quot;: 766
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 467,
-                        &quot;y&quot;: -174
-                    },
-                    {
-                        &quot;x&quot;: 561,
-                        &quot;y&quot;: -140
-                    },
-                    {
-                        &quot;x&quot;: 219,
-                        &quot;y&quot;: 800
-                    },
-                    {
-                        &quot;x&quot;: 125,
-                        &quot;y&quot;: 766
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 467,
-                        &quot;y&quot;: -174
-                    },
-                    {
-                        &quot;x&quot;: 561,
-                        &quot;y&quot;: -140
-                    },
-                    {
-                        &quot;x&quot;: 219,
-                        &quot;y&quot;: 800
-                    },
-                    {
-                        &quot;x&quot;: 125,
-                        &quot;y&quot;: 766
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 490,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 490,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 602,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 790,
-                        &quot;y&quot;: -331
-                    },
-                    {
-                        &quot;x&quot;: 448,
-                        &quot;y&quot;: 609
-                    },
-                    {
-                        &quot;x&quot;: 260,
-                        &quot;y&quot;: 541
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 602,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 790,
-                        &quot;y&quot;: -331
-                    },
-                    {
-                        &quot;x&quot;: 448,
-                        &quot;y&quot;: 609
-                    },
-                    {
-                        &quot;x&quot;: 260,
-                        &quot;y&quot;: 541
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 602,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 790,
-                        &quot;y&quot;: -331
-                    },
-                    {
-                        &quot;x&quot;: 448,
-                        &quot;y&quot;: 609
-                    },
-                    {
-                        &quot;x&quot;: 260,
-                        &quot;y&quot;: 541
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 602,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 790,
-                        &quot;y&quot;: -331
-                    },
-                    {
-                        &quot;x&quot;: 448,
-                        &quot;y&quot;: 609
-                    },
-                    {
-                        &quot;x&quot;: 260,
-                        &quot;y&quot;: 541
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 5
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 541
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 541
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 541
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 541
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 541
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 541
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -399
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 541
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 541
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 5
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 605
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 605
-                    }
-                ]
-            }
-        }
-    ],
-    &quot;elementInfo&quot;: {
-        &quot;tagName&quot;: &quot;div&quot;,
-        &quot;idValue&quot;: &quot;inspectedElement&quot;,
-        &quot;nodeWidth&quot;: &quot;200&quot;,
-        &quot;nodeHeight&quot;: &quot;1000&quot;,
-        &quot;contentFlowInfo&quot;: {
-            &quot;name&quot;: &quot;flow&quot;
-        }
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowtransformhorizbtexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted node inside CSS Regions.
-
-{
-    &quot;scroll&quot;: {
-        &quot;x&quot;: 0,
-        &quot;y&quot;: 0
-    },
-    &quot;fragments&quot;: [
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 207,
-                        &quot;y&quot;: -734
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: -666
-                    },
-                    {
-                        &quot;x&quot;: 53,
-                        &quot;y&quot;: 274
-                    },
-                    {
-                        &quot;x&quot;: -135,
-                        &quot;y&quot;: 206
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 207,
-                        &quot;y&quot;: -734
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: -666
-                    },
-                    {
-                        &quot;x&quot;: 53,
-                        &quot;y&quot;: 274
-                    },
-                    {
-                        &quot;x&quot;: -135,
-                        &quot;y&quot;: 206
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 207,
-                        &quot;y&quot;: -734
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: -666
-                    },
-                    {
-                        &quot;x&quot;: 53,
-                        &quot;y&quot;: 274
-                    },
-                    {
-                        &quot;x&quot;: -135,
-                        &quot;y&quot;: 206
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 207,
-                        &quot;y&quot;: -734
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: -666
-                    },
-                    {
-                        &quot;x&quot;: 53,
-                        &quot;y&quot;: 274
-                    },
-                    {
-                        &quot;x&quot;: -135,
-                        &quot;y&quot;: 206
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 70
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 70
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 270
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 270
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 467,
-                        &quot;y&quot;: -534
-                    },
-                    {
-                        &quot;x&quot;: 561,
-                        &quot;y&quot;: -500
-                    },
-                    {
-                        &quot;x&quot;: 219,
-                        &quot;y&quot;: 440
-                    },
-                    {
-                        &quot;x&quot;: 125,
-                        &quot;y&quot;: 406
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 467,
-                        &quot;y&quot;: -534
-                    },
-                    {
-                        &quot;x&quot;: 561,
-                        &quot;y&quot;: -500
-                    },
-                    {
-                        &quot;x&quot;: 219,
-                        &quot;y&quot;: 440
-                    },
-                    {
-                        &quot;x&quot;: 125,
-                        &quot;y&quot;: 406
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 467,
-                        &quot;y&quot;: -534
-                    },
-                    {
-                        &quot;x&quot;: 561,
-                        &quot;y&quot;: -500
-                    },
-                    {
-                        &quot;x&quot;: 219,
-                        &quot;y&quot;: 440
-                    },
-                    {
-                        &quot;x&quot;: 125,
-                        &quot;y&quot;: 406
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 467,
-                        &quot;y&quot;: -534
-                    },
-                    {
-                        &quot;x&quot;: 561,
-                        &quot;y&quot;: -500
-                    },
-                    {
-                        &quot;x&quot;: 219,
-                        &quot;y&quot;: 440
-                    },
-                    {
-                        &quot;x&quot;: 125,
-                        &quot;y&quot;: 406
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 70
-                    },
-                    {
-                        &quot;x&quot;: 490,
-                        &quot;y&quot;: 70
-                    },
-                    {
-                        &quot;x&quot;: 490,
-                        &quot;y&quot;: 270
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 270
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 602,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 790,
-                        &quot;y&quot;: -241
-                    },
-                    {
-                        &quot;x&quot;: 448,
-                        &quot;y&quot;: 699
-                    },
-                    {
-                        &quot;x&quot;: 260,
-                        &quot;y&quot;: 631
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 602,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 790,
-                        &quot;y&quot;: -241
-                    },
-                    {
-                        &quot;x&quot;: 448,
-                        &quot;y&quot;: 699
-                    },
-                    {
-                        &quot;x&quot;: 260,
-                        &quot;y&quot;: 631
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 602,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 790,
-                        &quot;y&quot;: -241
-                    },
-                    {
-                        &quot;x&quot;: 448,
-                        &quot;y&quot;: 699
-                    },
-                    {
-                        &quot;x&quot;: 260,
-                        &quot;y&quot;: 631
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 602,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 790,
-                        &quot;y&quot;: -241
-                    },
-                    {
-                        &quot;x&quot;: 448,
-                        &quot;y&quot;: 699
-                    },
-                    {
-                        &quot;x&quot;: 260,
-                        &quot;y&quot;: 631
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 625,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 425,
-                        &quot;y&quot;: 295
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 631
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 631
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 631
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 631
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 631
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 631
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 812,
-                        &quot;y&quot;: -309
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 631
-                    },
-                    {
-                        &quot;x&quot;: 470,
-                        &quot;y&quot;: 631
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 295
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 895
-                    },
-                    {
-                        &quot;x&quot;: 635,
-                        &quot;y&quot;: 895
-                    }
-                ]
-            }
-        }
-    ],
-    &quot;elementInfo&quot;: {
-        &quot;tagName&quot;: &quot;div&quot;,
-        &quot;idValue&quot;: &quot;inspectedElement&quot;,
-        &quot;nodeWidth&quot;: &quot;200&quot;,
-        &quot;nodeHeight&quot;: &quot;1000&quot;,
-        &quot;contentFlowInfo&quot;: {
-            &quot;name&quot;: &quot;flow&quot;
-        }
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowtransformhorizbthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,89 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html style=&quot;-webkit-writing-mode: horizontal-bt;&quot;&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    width: 100%;
-    height: 1000px;
-    background-color: green;
-    -webkit-transform: rotate(20deg);
-    transform: rotate(20deg);
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.small {
-    width: 100px;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;
-    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertlrexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted node inside CSS Regions.
-
-{
-    &quot;scroll&quot;: {
-        &quot;x&quot;: 0,
-        &quot;y&quot;: 0
-    },
-    &quot;fragments&quot;: [
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -181,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 759,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 691,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -249,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -181,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 759,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 691,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -249,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -181,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 759,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 691,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -249,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -181,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 759,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 691,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -249,
-                        &quot;y&quot;: 53
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 555,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 755,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 755,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 555,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -241,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 699,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 631,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -309,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -241,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 699,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 631,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -309,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -241,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 699,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 631,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -309,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -241,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 699,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 631,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -309,
-                        &quot;y&quot;: 53
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 495,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 495,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 320,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 520,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 520,
-                        &quot;y&quot;: 465
-                    },
-                    {
-                        &quot;x&quot;: 320,
-                        &quot;y&quot;: 465
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 520,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1020,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1020,
-                        &quot;y&quot;: 475
-                    },
-                    {
-                        &quot;x&quot;: 520,
-                        &quot;y&quot;: 475
-                    }
-                ]
-            }
-        }
-    ],
-    &quot;elementInfo&quot;: {
-        &quot;tagName&quot;: &quot;div&quot;,
-        &quot;idValue&quot;: &quot;inspectedElement&quot;,
-        &quot;nodeWidth&quot;: &quot;1000&quot;,
-        &quot;nodeHeight&quot;: &quot;200&quot;,
-        &quot;contentFlowInfo&quot;: {
-            &quot;name&quot;: &quot;flow&quot;
-        }
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertlrhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,89 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html style=&quot;-webkit-writing-mode: vertical-rl;&quot;&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    height: 100%;
-    width: 1000px;
-    background-color: green;
-    -webkit-transform: rotate(20deg);
-    transform: rotate(20deg);
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.small {
-    width: 100px;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;
-    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertrlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted node inside CSS Regions.
-
-{
-    &quot;scroll&quot;: {
-        &quot;x&quot;: 0,
-        &quot;y&quot;: 0
-    },
-    &quot;fragments&quot;: [
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -181,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 759,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 691,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -249,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -181,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 759,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 691,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -249,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -181,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 759,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 691,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -249,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -181,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 759,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 691,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -249,
-                        &quot;y&quot;: 53
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 555,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 755,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 755,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 555,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -241,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 699,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 631,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -309,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -241,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 699,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 631,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -309,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -241,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 699,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 631,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -309,
-                        &quot;y&quot;: 53
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -241,
-                        &quot;y&quot;: -135
-                    },
-                    {
-                        &quot;x&quot;: 699,
-                        &quot;y&quot;: 207
-                    },
-                    {
-                        &quot;x&quot;: 631,
-                        &quot;y&quot;: 395
-                    },
-                    {
-                        &quot;x&quot;: -309,
-                        &quot;y&quot;: 53
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 495,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 495,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 395,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: 824,
-                        &quot;y&quot;: 442
-                    },
-                    {
-                        &quot;x&quot;: -116,
-                        &quot;y&quot;: 100
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 320,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 520,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 520,
-                        &quot;y&quot;: 465
-                    },
-                    {
-                        &quot;x&quot;: 320,
-                        &quot;y&quot;: 465
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 1024,
-                        &quot;y&quot;: 452
-                    },
-                    {
-                        &quot;x&quot;: 84,
-                        &quot;y&quot;: 110
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 520,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1020,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1020,
-                        &quot;y&quot;: 475
-                    },
-                    {
-                        &quot;x&quot;: 520,
-                        &quot;y&quot;: 475
-                    }
-                ]
-            }
-        }
-    ],
-    &quot;elementInfo&quot;: {
-        &quot;tagName&quot;: &quot;div&quot;,
-        &quot;idValue&quot;: &quot;inspectedElement&quot;,
-        &quot;nodeWidth&quot;: &quot;1000&quot;,
-        &quot;nodeHeight&quot;: &quot;200&quot;,
-        &quot;contentFlowInfo&quot;: {
-            &quot;name&quot;: &quot;flow&quot;
-        }
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertrlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,89 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html style=&quot;-webkit-writing-mode: vertical-rl;&quot;&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    height: 100%;
-    width: 1000px;
-    background-color: green;
-    -webkit-transform: rotate(20deg);
-    transform: rotate(20deg);
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.small {
-    width: 100px;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;
-    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowtransformhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,89 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    width: 100%;
-    height: 1000px;
-    background-color: green;
-    -webkit-transform: rotate(20deg);
-    transform: rotate(20deg);
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.small {
-    width: 100px;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;
-    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowvertlrexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted node inside CSS Regions.
-
-{
-    &quot;scroll&quot;: {
-        &quot;x&quot;: 0,
-        &quot;y&quot;: 0
-    },
-    &quot;fragments&quot;: [
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1030,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1030,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1030,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1030,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1030,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1030,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1030,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1030,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 230,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 30,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 90,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1090,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1090,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 90,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 90,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1090,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1090,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 90,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 90,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1090,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1090,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 90,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 90,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1090,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 1090,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 90,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 390,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 290,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -35,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 965,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 965,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: -35,
-                        &quot;y&quot;: 265
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -35,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 965,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 965,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: -35,
-                        &quot;y&quot;: 265
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -35,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 965,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 965,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: -35,
-                        &quot;y&quot;: 265
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -35,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 965,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 965,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: -35,
-                        &quot;y&quot;: 265
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 265,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 465,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 465,
-                        &quot;y&quot;: 465
-                    },
-                    {
-                        &quot;x&quot;: 265,
-                        &quot;y&quot;: 465
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -235,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: -235,
-                        &quot;y&quot;: 275
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -235,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: -235,
-                        &quot;y&quot;: 275
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -235,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: -235,
-                        &quot;y&quot;: 275
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -235,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: -235,
-                        &quot;y&quot;: 275
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 265,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 765,
-                        &quot;y&quot;: 475
-                    },
-                    {
-                        &quot;x&quot;: 265,
-                        &quot;y&quot;: 475
-                    }
-                ]
-            }
-        }
-    ],
-    &quot;elementInfo&quot;: {
-        &quot;tagName&quot;: &quot;div&quot;,
-        &quot;idValue&quot;: &quot;inspectedElement&quot;,
-        &quot;nodeWidth&quot;: &quot;1000&quot;,
-        &quot;nodeHeight&quot;: &quot;200&quot;,
-        &quot;contentFlowInfo&quot;: {
-            &quot;name&quot;: &quot;flow&quot;
-        }
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowvertlrhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,87 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html style=&quot;-webkit-writing-mode: vertical-lr;&quot;&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    height: 100%;
-    width: 1000px;
-    background-color: green;
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.small {
-    width: 100px;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;
-    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowvertrlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,428 +0,0 @@
</span><del>-This test verifies the position and size of the highlighted node inside CSS Regions.
-
-{
-    &quot;scroll&quot;: {
-        &quot;x&quot;: 0,
-        &quot;y&quot;: 0
-    },
-    &quot;fragments&quot;: [
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: -230,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: -230,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: -230,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -230,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: -230,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 570,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 770,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 570,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -290,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 710,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 710,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: -290,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -290,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 710,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 710,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: -290,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -290,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 710,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 710,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: -290,
-                        &quot;y&quot;: 230
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -290,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 710,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 710,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: -290,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 410,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 510,
-                        &quot;y&quot;: 30
-                    },
-                    {
-                        &quot;x&quot;: 510,
-                        &quot;y&quot;: 230
-                    },
-                    {
-                        &quot;x&quot;: 410,
-                        &quot;y&quot;: 230
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: -165,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: -165,
-                        &quot;y&quot;: 265
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -165,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: -165,
-                        &quot;y&quot;: 265
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -165,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: -165,
-                        &quot;y&quot;: 265
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: -165,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 835,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: -165,
-                        &quot;y&quot;: 265
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 335,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 535,
-                        &quot;y&quot;: 265
-                    },
-                    {
-                        &quot;x&quot;: 535,
-                        &quot;y&quot;: 465
-                    },
-                    {
-                        &quot;x&quot;: 335,
-                        &quot;y&quot;: 465
-                    }
-                ]
-            }
-        },
-        {
-            &quot;quads&quot;: [
-                [
-                    {
-                        &quot;x&quot;: 35,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 35,
-                        &quot;y&quot;: 275
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 35,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 35,
-                        &quot;y&quot;: 275
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 35,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 35,
-                        &quot;y&quot;: 275
-                    }
-                ],
-                [
-                    {
-                        &quot;x&quot;: 35,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 35,
-                        &quot;y&quot;: 275
-                    }
-                ]
-            ],
-            &quot;showRulers&quot;: false,
-            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
-            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
-            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
-            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
-            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
-            &quot;region&quot;: {
-                &quot;quad&quot;: [
-                    {
-                        &quot;x&quot;: 535,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 275
-                    },
-                    {
-                        &quot;x&quot;: 1035,
-                        &quot;y&quot;: 475
-                    },
-                    {
-                        &quot;x&quot;: 535,
-                        &quot;y&quot;: 475
-                    }
-                ]
-            }
-        }
-    ],
-    &quot;elementInfo&quot;: {
-        &quot;tagName&quot;: &quot;div&quot;,
-        &quot;idValue&quot;: &quot;inspectedElement&quot;,
-        &quot;nodeWidth&quot;: &quot;1000&quot;,
-        &quot;nodeHeight&quot;: &quot;200&quot;,
-        &quot;contentFlowInfo&quot;: {
-            &quot;name&quot;: &quot;flow&quot;
-        }
-    }
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowvertrlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,87 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html style=&quot;-webkit-writing-mode: vertical-rl;&quot;&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    height: 100%;
-    width: 1000px;
-    background-color: green;
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.small {
-    width: 100px;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;
-    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightregionsflowhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-regions-flow.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-regions-flow.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-regions-flow.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,87 +0,0 @@
</span><del>-&lt;!doctype html&gt;
-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#flow {
-    -webkit-flow-into: flow;
-}
-#container {
-    width: 400px;
-    height: 400px;
-    background-color: grey;
-}
-#inspectedElement {
-    width: 100%;
-    height: 1000px;
-    background-color: green;
-}
-.region {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    width: 200px;
-    height: 200px;
-    background-color: blue;
-    float: left;
-    -webkit-flow-from: flow;
-}
-.small {
-    width: 100px;
-}
-.zero-height {
-    border: none;
-    height: 0px;
-    padding: 0;
-}
-.zero-size {
-    border: none;
-    width: 0px;
-    height: 0px;
-    padding: 0;
-}
-.hidden {
-    display: none;
-}
-#description {
-    clear: both;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;div id=&quot;flow&quot;&gt;
-    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
-&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightsvgrootexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-svg-root-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-svg-root-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-svg-root-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-This test verifies the position and size of the highlight rectangles overlayed on an SVG root element.
-
-margin rect is 160 x 160 at (0, 0)
-border rect is 150 x 150 at (5, 5)
-padding rect is 130 x 130 at (15, 15)
-content rect is 100 x 100 at (30, 30)
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightsvgrootzoomedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-This test verifies the position and size of the highlight rectangles overlayed on an SVG root element when the page is zoomed.
-
-margin rect is 408 x 528 at (12, 24)
-border rect is 336 x 456 at (48, 60)
-padding rect is 240 x 360 at (96, 108)
-content rect is 120 x 240 at (156, 168)
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightsvgrootzoomedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,77 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#svg-root {
-    position: relative;
-    left: 10px;
-    top: 20px;
-    margin: 30px;
-    border: solid 40px aqua;
-    padding: 50px;
-    background-color: blue;
-}
-
-&lt;/style&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function startTest()
-{
-    if (window.eventSender)
-        window.eventSender.zoomPageIn();
-    runTest();
-}
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;svg-root&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;startTest()&quot;&gt;
-&lt;svg id=&quot;svg-root&quot; width=&quot;100&quot; height=&quot;200&quot; viewbox=&quot;0 0 50 100&quot;&gt;&lt;/svg&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlight rectangles overlayed on an SVG root element when the page is zoomed.&lt;/p&gt;
-&lt;!--
-
-Expected value calculations for #svg-root's highlight rectangles at 120% zoom:
-
-margin rect:
-    left:   (10) * 1.2 == 12
-    top:    (20) * 1.2 == 24
-    width:  (100 + 2 * (30 + 40 + 50)) * 1.2 == 340 * 1.2 == 408
-    height: (200 + 2 * (30 + 40 + 50)) * 1.2 == 440 * 1.2 == 528
-
-border rect:
-    left:   (10 + 30) * 1.2 == 40 * 1.2 == 48
-    top:    (20 + 30) * 1.2 == 50 * 1.2 == 60
-    width:  (100 + 2 * (40 + 50)) * 1.2 == 280 * 1.2 == 336
-    height: (200 + 2 * (40 + 50)) * 1.2 == 380 * 1.2 == 456
-
-padding rect:
-    left:   (10 + 30 + 40) * 1.2 == 80 * 1.2 == 96
-    top:    (20 + 30 + 40) * 1.2 == 90 * 1.2 == 108
-    width:  (100 + 2 * (50)) * 1.2 == 200 * 1.2 == 240
-    height: (200 + 2 * (50)) * 1.2 == 300 * 1.2 == 360
-
-content rect:
-    left:   (10 + 30 + 40 + 50) * 1.2 == 130 * 1.2 == 156
-    top:    (20 + 30 + 40 + 50) * 1.2 == 140 * 1.2 == 168
-    width:  (100) * 1.2 == 120
-    height: (200) * 1.2 == 240
-    
---&gt;
-&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementshighlightsvgroothtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/highlight-svg-root.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/highlight-svg-root.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/highlight-svg-root.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-&lt;!DOCTYPE html&gt;
-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-body {
-    margin: 0;
-}
-#svg-root {
-    margin: 5px;
-    border: solid 10px aqua;
-    padding: 15px;
-    background-color: blue;
-}
-
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function nodeSelected(node)
-    {
-        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
-    }
-
-    InspectorTest.selectNodeWithId(&quot;svg-root&quot;, nodeSelected);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-
-&lt;svg id=&quot;svg-root&quot; width=&quot;100&quot; height=&quot;100&quot; viewbox=&quot;0 0 50 50&quot;&gt;&lt;/svg&gt;
-&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlight rectangles overlayed on an SVG root element.&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsmutateunknownnodeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/mutate-unknown-node-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/mutate-unknown-node-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/mutate-unknown-node-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-Tests that elements panel does not receive events upon changes to the undiscovered nodes.
-
-Appended
-DOMAgent event fired. Should only happen once for output node: DOMNodeInserted DIV#undefined
-Removed
-Attribute modified
-========= Result DOMAgent tree ========
-#document[1]
-    HTML[2]
-        HEAD[3]
-        BODY[4]
-            P[5]
-                [6]
-            DIV[7]
-            DIV[8]
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsmutateunknownnodehtmldisabled"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/mutate-unknown-node.html-disabled (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/mutate-unknown-node.html-disabled        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/mutate-unknown-node.html-disabled        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,88 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function appendChild()
-{
-    var hidden = document.getElementById(&quot;hidden&quot;);
-    var child = document.createElement(&quot;div&quot;);
-    child.setAttribute(&quot;id&quot;, &quot;appended&quot;);
-    hidden.appendChild(child);
-}
-
-function removeChild()
-{
-    var child = document.getElementById(&quot;appended&quot;);
-    child.parentNode.removeChild(child);
-}
-
-function modifyAttribute()
-{
-    var hidden = document.getElementById(&quot;hidden&quot;);
-    hidden.setAttribute(&quot;foo&quot;, &quot;bar&quot;);
-}
-
-function test()
-{
-    function listener(type, event)
-    {
-        node = event.data.node || event.data;
-        InspectorTest.addResult(&quot;DOMAgent event fired. Should only happen once for output node: &quot; + type + &quot; &quot; + event.data.nodeName() + &quot;#&quot; + event.data.getAttribute(&quot;id&quot;));
-    }
-
-    WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener.bind(this, &quot;DOMAttrModified&quot;));
-    WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.CharacterDataModified, listener.bind(this, &quot;DOMCharacterDataModified&quot;));
-    WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.NodeInserted, listener.bind(this, &quot;DOMNodeInserted&quot;));
-    WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.NodeRemoved, listener.bind(this, &quot;DOMNodeRemoved&quot;));
-
-    WebInspector.domAgent.requestDocument(step0.bind(this));
-
-    function step0()
-    {
-        InspectorTest.evaluateInPage(&quot;appendChild()&quot;, step1);
-    }
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Appended&quot;);
-        InspectorTest.evaluateInPage(&quot;removeChild()&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;Removed&quot;);
-        InspectorTest.evaluateInPage(&quot;modifyAttribute()&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;Attribute modified&quot;);
-        InspectorTest.evaluateInPage(&quot;true&quot;, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.addResult(&quot;========= Result DOMAgent tree ========&quot;);
-        InspectorTest.dumpDOMAgentTree();
-
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that elements panel does not receive events upon changes to the undiscovered nodes.
-&lt;/p&gt;
-
-&lt;div&gt;
-&lt;div id=&quot;hidden&quot;&gt;
-&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsperformundoundoexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/perform-undo-undo-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/perform-undo-undo-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/perform-undo-undo-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-Tests that client can call undo multiple times with non-empty history.
-
-========= Original ========
-  &lt;div style=&quot;display:none&quot; id=&quot;container&quot;&gt;\n&lt;/div&gt;
-===== Modified element =====
-  &lt;div style=&quot;display:none&quot; id=&quot;container&quot; foo=&quot;bar&quot;&gt;\n&lt;/div&gt;
-===== Undo 1 =====
-  &lt;div style=&quot;display:none&quot; id=&quot;container&quot;&gt;\n&lt;/div&gt;
-===== Undo 2 =====
-  &lt;div style=&quot;display:none&quot; id=&quot;container&quot;&gt;\n&lt;/div&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsperformundoundohtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/perform-undo-undo.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/perform-undo-undo.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/perform-undo-undo.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,66 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var containerNode;
-    InspectorTest.expandElementsTree(step1);
-
-    function step1(node)
-    {
-        containerNode = InspectorTest.expandedNodeWithId(&quot;container&quot;);
-        InspectorTest.addResult(&quot;========= Original ========&quot;);
-        InspectorTest.dumpElementsTree(containerNode);
-        step2();
-    }
-
-    function step2()
-    {
-        function callback()
-        {
-            InspectorTest.addResult(&quot;===== Modified element =====&quot;);
-            InspectorTest.dumpElementsTree(containerNode);
-            step3();
-        }
-        containerNode.setAttribute(&quot;&quot;, &quot;foo=\&quot;bar\&quot;&quot;, callback);
-    }
-
-    function step3()
-    {
-        function callback()
-        {
-            InspectorTest.addResult(&quot;===== Undo 1 =====&quot;);
-            InspectorTest.dumpElementsTree(containerNode);
-            step4();
-        }
-        WebInspector.domAgent.undo(callback);
-    }
-
-    function step4()
-    {
-        function callback()
-        {
-            InspectorTest.addResult(&quot;===== Undo 2 =====&quot;);
-            InspectorTest.dumpElementsTree(containerNode);
-            InspectorTest.completeTest();
-        }
-        WebInspector.domAgent.undo(callback);
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that client can call undo multiple times with non-empty history.
-&lt;/p&gt;
-
-&lt;div style=&quot;display:none&quot; id=&quot;container&quot;&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresolvealiennodeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resolve-alien-node-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resolve-alien-node-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resolve-alien-node-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests that resolveNode from alien document does not crash. https://bugs.webkit.org/show_bug.cgi?id=71806.
-
-Alien node should resolve to null: null
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresolvealiennodehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resolve-alien-node.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resolve-alien-node.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resolve-alien-node.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    RuntimeAgent.evaluate(&quot;var doc = document.implementation.createHTMLDocument(''); doc.lastChild.innerHTML = '&lt;span&gt;&lt;/span&gt;'; doc.lastChild&quot;, step1);
-
-    function step1(error, result, wasThrown)
-    {
-        var spanWrapper = WebInspector.RemoteObject.fromPayload(result);
-        spanWrapper.pushNodeToFrontend(step2);
-    }
-
-    function step2(nodeId)
-    {
-        var node = WebInspector.domAgent.nodeForId(nodeId);
-        InspectorTest.assertTrue(node, &quot;Node object should be resovled&quot;);
-        WebInspector.RemoteObject.resolveNode(node, undefined, step3);
-    }
-
-    function step3(remoteObject)
-    {
-        InspectorTest.addResult(&quot;Alien node should resolve to null: &quot; + remoteObject);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that resolveNode from alien document does not crash. https://bugs.webkit.org/show_bug.cgi?id=71806.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresolvenodeblockedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resolve-node-blocked-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resolve-node-blocked-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resolve-node-blocked-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that JS object to node resolution still works even if script evals are prohibited by Content-Security-Policy. The test passes if it doesn't crash. Bug 78705.
-
-didReceiveDocumentObject
-didRequestNode error = null
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresolvenodeblockedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resolve-node-blocked.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resolve-node-blocked.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resolve-node-blocked.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'unsafe-inline'&quot;&gt;
-&lt;script&gt;
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;document&quot;, didReceiveDocumentObject);
-    function didReceiveDocumentObject(remoteObject, wasThrown)
-    {
-        InspectorTest.addResult(&quot;didReceiveDocumentObject&quot;);
-        DOMAgent.requestNode(remoteObject.objectId, didRequestNode);
-    }
-
-    function didRequestNode(error, nodeId)
-    {
-        InspectorTest.addResult(&quot;didRequestNode error = &quot; + error);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that JS object to node resolution still works even if script evals are prohibited by Content-Security-Policy.
-The test passes if it doesn't crash.
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=78705&quot;&gt;Bug 78705.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresourcesdomsearchcrashiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resources/dom-search-crash-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resources/dom-search-crash-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resources/dom-search-crash-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-&lt;script&gt;
-document.documentElement.parentNode.removeChild(document.documentElement);
-&lt;/script&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresourceselementspanelrewritehrefiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resources/elements-panel-rewrite-href-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resources/elements-panel-rewrite-href-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resources/elements-panel-rewrite-href-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;base href=&quot;http://127.0.0.1&quot;&gt;
-&lt;link rel=&quot;stylesheet&quot; src=&quot;stylesheet.css&quot;&gt;
-&lt;script src=&quot;script.js&quot;&gt;&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;a href=&quot;target.html&quot;&gt;&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresourceselementspanelstylescss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resources/elements-panel-styles.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resources/elements-panel-styles.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resources/elements-panel-styles.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-body {
-    font-size: 12px;
-}
-
-#container {
-    font-family: serif;
-    font-size: 14px;
-    color: red;
-    padding: 2px !important;
-}
-
-#container .foo {
-    font-style: italic !important;
-}
-
-.foo {
-    color: black;
-    margin-left: 1px;
-    margin: 10px 0 2px;
-    border-radius: 5px;
-    font-style: normal !important;
-    font-weight: normal !important;
-    font-weight: bold;
-    padding: 4px;
-    padding-right: 1px;
-}
-
-.foo, .foo::before {
-    content: &quot;[before Foo]&quot;;
-    color: blue;
-    display: block !important;
-}
-
-.foo::before {
-    color: red;
-}
-
-.foo::after {
-    content: &quot;[after Foo]&quot;;
-    color: green;
-}
-.foo::after {
-    font-family: courier;
-    content: &quot;[after Foo 2]&quot;;
-}
-
-.foo {
-    /* Empty rule that should be reported in the Styles pane */
-}
-
-.foo::before {
-    /* Empty rule that should be reported in the Styles pane */
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresourceshideshortcutiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resources/hide-shortcut-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resources/hide-shortcut-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resources/hide-shortcut-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;div id=&quot;frame-node&quot;&gt;iframe&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresourceshighlightnodescalediframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resources/highlight-node-scaled-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resources/highlight-node-scaled-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resources/highlight-node-scaled-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-div {
-    margin: 7px;
-    padding: 13px;
-    border: 5px solid black;
-    position: absolute;
-    left: 11px;
-    top: 22px;
-    width: 33px;
-    height: 44px;    
-    background-color: red;
-}
-&lt;/style&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;div id=&quot;div&quot;&gt;&lt;/div&gt;
-&lt;script&gt;
-top.iframeDivElement = document.getElementById(&quot;div&quot;);
-&lt;/script&gt;
-&lt;/body&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresourcessethtmlviaresourceiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resources/set-html-via-resource-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resources/set-html-via-resource-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resources/set-html-via-resource-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;div&gt;Foo&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsresourcessetouterhtmlbodyiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/resources/set-outer-html-body-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/resources/set-outer-html-body-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/resources/set-outer-html-body-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-&lt;html id=&quot;html&quot;&gt;
-&lt;head id=&quot;head&quot;&gt;
-&lt;script&gt;
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body id=&quot;body&quot;&gt;
-&lt;div&gt;Foo&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetattributeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-attribute-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-attribute-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-attribute-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-Tests that elements panel updates dom tree structure upon setting attribute.
-
-
-Running: testDumpInitial
-========= Original ========
-  &lt;div id=&quot;node&quot;&gt;&lt;/div&gt;
-
-Running: testAttributeUpdated
-===== On attribute set =====
-  &lt;div id=&quot;node&quot; name=&quot;value&quot;&gt;&lt;/div&gt;
-
-Running: testAttributeSameValueNotUpdated
-===== On attribute modified (should be 'newValue') =====
-  &lt;div id=&quot;node&quot; name=&quot;newValue&quot;&gt;&lt;/div&gt;
-
-Running: testAttributeRemoved
-=== On attribute removed ===
-  &lt;div id=&quot;node&quot;&gt;&lt;/div&gt;
-
-Running: testSetAttributeValue
-=== Set attribute value ===
-  &lt;div id=&quot;node&quot; foo=&quot;bar&quot;&gt;&lt;/div&gt;
-
-Running: testSetAttributeText
-=== Set attribute as text ===
-  &lt;div id=&quot;node&quot; foo2=&quot;baz2&quot; foo3=&quot;baz3&quot;&gt;&lt;/div&gt;
-
-Running: testRemoveAttributeAsText
-=== Remove attribute as text ===
-  &lt;div id=&quot;node&quot; foo2=&quot;baz2&quot;&gt;&lt;/div&gt;
-
-Running: testSetMalformedAttributeText
-Error: Could not parse value as attributes
-=== Set malformed attribute as text ===
-  &lt;div id=&quot;node&quot; foo2=&quot;baz2&quot;&gt;&lt;/div&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetattributenonhtmlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-attribute-non-html-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-attribute-non-html-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-attribute-non-html-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Tests that elements panel updates dom tree structure upon setting attribute on non HTML elements. PASSes if there is no crash.
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetattributenonhtmlsvg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-attribute-non-html.svg (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-attribute-non-html.svg        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-attribute-non-html.svg        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;?xml version=&quot;1.0&quot;?&gt;
-&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
-&lt;foreignObject&gt;
-&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;&lt;![CDATA[
-
-function test()
-{
-    var targetNode;
-
-    InspectorTest.runTestSuite([
-        function testDumpInitial(next)
-        {
-            function callback(node)
-            {
-                targetNode = node;
-                next();
-            }
-            InspectorTest.selectNodeWithId(&quot;node&quot;, callback);
-        },
-
-        function testSetAttributeText(next)
-        {
-            function callback(error)
-            {
-                next();
-            }
-            targetNode.setAttribute(&quot;foo&quot;, &quot;foo2='baz2' foo3='baz3'&quot;, callback);
-        }
-    ]);
-}
-]]&gt;
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that elements panel updates dom tree structure upon setting attribute on non HTML elements. PASSes if there is no crash.
-&lt;/p&gt;
-
-&lt;div id=&quot;node&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
-&lt;/foreignObject&gt;
-&lt;/svg&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetattributehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-attribute.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-attribute.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-attribute.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,143 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function setAttribute(name, value)
-{
-    var node = document.getElementById(&quot;node&quot;);
-    node.setAttribute(name, value);
-}
-
-function removeAttribute(name)
-{
-    var node = document.getElementById(&quot;node&quot;);
-    node.removeAttribute(name);
-}
-
-function test()
-{
-    var targetNode;
-
-    InspectorTest.runTestSuite([
-        function testDumpInitial(next)
-        {
-            function callback(node)
-            {
-                targetNode = node;
-                InspectorTest.addResult(&quot;========= Original ========&quot;);
-                InspectorTest.dumpElementsTree(targetNode);
-                next();
-            }
-            InspectorTest.selectNodeWithId(&quot;node&quot;, callback);
-        },
-
-        function testAttributeUpdated(next)
-        {
-            function callback()
-            {
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
-                InspectorTest.addResult(&quot;===== On attribute set =====&quot;);
-                InspectorTest.dumpElementsTree(targetNode);
-                next();
-            }
-            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
-            InspectorTest.evaluateInPage(&quot;setAttribute('name', 'value')&quot;);
-        },
-
-        function testAttributeSameValueNotUpdated(next)
-        {
-            function callback()
-            {
-                InspectorTest.addResult(&quot;===== On attribute modified (should be 'newValue') =====&quot;);
-                InspectorTest.dumpElementsTree(targetNode);
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
-                next();
-            }
-            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
-            // Setting the same property value should not result in the AttrModified event.
-            InspectorTest.evaluateInPage(&quot;setAttribute('name', 'value')&quot;);
-            InspectorTest.evaluateInPage(&quot;setAttribute('name', 'value')&quot;);
-            InspectorTest.evaluateInPage(&quot;setAttribute('name', 'newValue')&quot;);
-        },
-
-        function testAttributeRemoved(next)
-        {
-            function callback()
-            {
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
-                InspectorTest.addResult(&quot;=== On attribute removed ===&quot;);
-                InspectorTest.dumpElementsTree(targetNode);
-                next();
-            }
-            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
-            InspectorTest.evaluateInPage(&quot;removeAttribute('name')&quot;);
-        },
-
-        function testSetAttributeValue(next)
-        {
-            function callback()
-            {
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
-                InspectorTest.addResult(&quot;=== Set attribute value ===&quot;);
-                InspectorTest.dumpElementsTree(targetNode);
-                next();
-            }
-            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
-            targetNode.setAttributeValue(&quot;foo&quot;, &quot;bar&quot;);
-        },
-
-        function testSetAttributeText(next)
-        {
-            function callback()
-            {
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
-                InspectorTest.addResult(&quot;=== Set attribute as text ===&quot;);
-                InspectorTest.dumpElementsTree(targetNode);
-                next();
-            }
-            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
-            targetNode.setAttribute(&quot;foo&quot;, &quot;foo2='baz2' foo3='baz3'&quot;);
-        },
-
-        function testRemoveAttributeAsText(next)
-        {
-            function callback()
-            {
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
-                InspectorTest.addResult(&quot;=== Remove attribute as text ===&quot;);
-                InspectorTest.dumpElementsTree(targetNode);
-                next();
-            }
-            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
-            targetNode.setAttribute(&quot;foo3&quot;, &quot;&quot;);
-        },
-
-        function testSetMalformedAttributeText(next)
-        {
-            function callback(error)
-            {
-                InspectorTest.addResult(&quot;Error: &quot; + error);
-                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
-                InspectorTest.addResult(&quot;=== Set malformed attribute as text ===&quot;);
-                InspectorTest.dumpElementsTree(targetNode);
-                next();
-            }
-            targetNode.setAttribute(&quot;foo2&quot;, &quot;foo2='missingquote&quot;, callback);
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that elements panel updates dom tree structure upon setting attribute.
-&lt;/p&gt;
-
-&lt;div id=&quot;node&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtml2expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html-2-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html-2-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html-2-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,220 +0,0 @@
</span><del>-Tests DOMAgent.setOuterHTML protocol method (part 2).
-
-Additional node
-
-Running: testSetUp
-
-Running: testChangeMultipleThings
-Wrapper identity: identity
-Event AttrModified: H2
-Event AttrModified: H2
-Event NodeInserted: UL
-Event NodeRemoved: UL
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2 foo=&quot;bar&quot; bar=&quot;baz&quot;&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event AttrRemoved: H2
-Event AttrRemoved: H2
-Event CharacterDataModified: 
-Event NodeInserted: LI
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testChangeNestingLevel
-Wrapper identity: identity
-Event NodeInserted: DIV
-Event NodeRemoved: UL
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;div&gt;&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;&lt;/div&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: UL
-Event NodeRemoved: DIV
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testSwapNodes
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeInserted: P
-Event NodeInserted: UL
-Event NodeInserted: UL
-Event NodeRemoved: H2
-Event NodeRemoved: P
-Event NodeRemoved: UL
-Event NodeRemoved: UL
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testEditTwoRoots
-Wrapper identity: identity
-Event NodeInserted: DIV
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testDupeNode
-Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;'
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeInserted: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtml2html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html-2.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html-2.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html-2.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,77 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.setUpTestSuite(next);
-        },
-
-        function testChangeMultipleThings(next)
-        {
-            var text = InspectorTest.containerText.replace(/&lt;li&gt;.*&lt;\/li&gt;/, &quot;&quot;);
-            text = text.replace(&quot;&lt;h2&gt;&quot;, &quot;&lt;h2 foo=\&quot;bar\&quot; bar=\&quot;baz\&quot;&gt;&quot;);
-            InspectorTest.setOuterHTML(text, next);
-        },
-
-        function testChangeNestingLevel(next)
-        {
-            var text = InspectorTest.containerText.replace(&quot;&lt;ul&gt;&quot;, &quot;&lt;div&gt;&lt;ul&gt;&quot;);
-            var text = text.replace(&quot;&lt;/ul&gt;&quot;, &quot;&lt;/ul&gt;&lt;/div&gt;&quot;);
-            InspectorTest.setOuterHTML(text, next);
-        },
-
-        function testSwapNodes(next)
-        {
-            var text = InspectorTest.containerText.replace(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&quot;);
-            var text = text.replace(&quot;&lt;/div&gt;&quot;, &quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;/div&gt;&quot;);
-            InspectorTest.setOuterHTML(text, next);
-        },
-
-        function testEditTwoRoots(next)
-        {
-            var text = InspectorTest.containerText + &quot;&lt;div&gt;Additional node&lt;/div&gt;&quot;;
-            InspectorTest.setOuterHTML(text, next);
-        },
-
-        function testDupeNode(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, next);
-        }
-    ]);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests DOMAgent.setOuterHTML protocol method (part 2).
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtmlbodyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html-body-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html-body-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html-body-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-Tests DOMAgent.setOuterHTML invoked on body tag. See https://bugs.webkit.org/show_bug.cgi?id=62272. 
-
-
-Running: testSetUp
-
-Running: testSetBody
-&lt;html id=&quot;html&quot;&gt;&lt;head id=&quot;head&quot;&gt;
-&lt;script&gt;
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;New body content&lt;/body&gt;&lt;/html&gt;
-
-Running: testInsertComments
-&lt;html id=&quot;html&quot;&gt;&lt;head id=&quot;head&quot;&gt;
-&lt;script&gt;
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;!-- new comment between head and body --&gt;&lt;body&gt;New body content&lt;/body&gt;&lt;/html&gt;
-
-Running: testSetHead
-&lt;html id=&quot;html&quot;&gt;&lt;head&gt;&lt;!-- new head content --&gt;&lt;/head&gt;
-&lt;!-- new comment between head and body --&gt;&lt;body&gt;New body content&lt;/body&gt;&lt;/html&gt;
-
-Running: testSetHTML
-&lt;html&gt;&lt;head&gt;&lt;!-- new head content --&gt;&lt;/head&gt;&lt;body&gt;Setting body as a part of HTML.&lt;/body&gt;&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtmlbodyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html-body.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html-body.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html-body.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,71 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var htmlNode;
-    var bodyNode;
-    var headNode;
-
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.expandElementsTree(step1);
-            function step1()
-            {
-                htmlNode = InspectorTest.expandedNodeWithId(&quot;html&quot;);
-                headNode = InspectorTest.expandedNodeWithId(&quot;head&quot;);
-                bodyNode = InspectorTest.expandedNodeWithId(&quot;body&quot;);
-                next();
-            }
-        },
-
-        function testSetBody(next)
-        {
-            DOMAgent.setOuterHTML(bodyNode.id, &quot;&lt;body&gt;New body content&lt;/body&gt;&quot;, dumpHTML(next));
-        },
-
-        function testInsertComments(next)
-        {
-            DOMAgent.setOuterHTML(bodyNode.id, &quot;&lt;!-- new comment between head and body --&gt;&lt;body&gt;New body content&lt;/body&gt;&quot;, dumpHTML(next));
-        },
-
-        function testSetHead(next)
-        {
-            DOMAgent.setOuterHTML(headNode.id, &quot;&lt;head&gt;&lt;!-- new head content --&gt;&lt;/head&gt;&quot;, dumpHTML(next));
-        },
-
-         function testSetHTML(next)
-        {
-            DOMAgent.setOuterHTML(htmlNode.id, &quot;&lt;html&gt;&lt;head&gt;&lt;!-- new head content --&gt;&lt;/head&gt;&lt;body&gt;Setting body as a part of HTML.&lt;/body&gt;&lt;/html&gt;&quot;, dumpHTML(next));
-        }
-    ]);
-
-    function dumpHTML(next)
-    {
-        function dump()
-        {
-            DOMAgent.getOuterHTML(htmlNode.id, callback);
-            function callback(error, text)
-            {
-                InspectorTest.addResult(error ? error : text);
-                next();
-            }
-        }
-        return dump;
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body&gt;
-&lt;p&gt;
-Tests DOMAgent.setOuterHTML invoked on body tag. See https://bugs.webkit.org/show_bug.cgi?id=62272.
-&lt;iframe src=&quot;resources/set-outer-html-body-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtmlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,160 +0,0 @@
</span><del>-Tests DOMAgent.setOuterHTML protocol method.
-
-
-Running: testSetUp
-
-Running: testChangeCharacterData
-Replacing 'Getting involved' with 'Getting not involved'
-
-Wrapper identity: identity
-Event CharacterDataModified: 
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting not involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event CharacterDataModified: 
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testChangeAttributes
-Replacing '&lt;a href' with '&lt;a foo=&quot;bar&quot; href'
-
-Wrapper identity: identity
-Event AttrModified: A
-Event AttrModified: A
-Event AttrRemoved: A
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a foo=&quot;bar&quot; href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event AttrModified: A
-Event AttrRemoved: A
-Event AttrRemoved: A
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testRemoveLastChild
-Replacing 'Getting involved' with ''
-
-Wrapper identity: identity
-Event NodeRemoved: 
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: 
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testSplitNode
-Replacing 'Getting involved' with 'Getting&lt;/h2&gt;&lt;h2&gt;involved'
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeInserted: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting&lt;/h2&gt;&lt;h2&gt;involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeRemoved: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testChangeNodeName
-Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h3&gt;Getting involved&lt;/h3&gt;'
-
-Wrapper identity: identity
-Event NodeInserted: H3
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h3&gt;Getting involved&lt;/h3&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeRemoved: H3
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtmlforxhtmlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,165 +0,0 @@
</span><del>-Tests DOMAgent.setOuterHTML protocol method against an XHTML document.
-
-
-Running: testSetUp
-
-Running: testChangeCharacterData
-Replacing 'Getting involved' with 'Getting not involved'
-
-Wrapper identity: identity
-Event AttrModified: div
-Event AttrModified: div
-Event AttrModified: div
-Event AttrRemoved: div
-Event AttrRemoved: div
-Event CharacterDataModified: 
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting not involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event CharacterDataModified: 
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testChangeAttributes
-Replacing '&lt;a href' with '&lt;a foo=&quot;bar&quot; href'
-
-Wrapper identity: identity
-Event AttrModified: a
-Event AttrModified: a
-Event AttrRemoved: a
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a foo=&quot;bar&quot; href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event AttrModified: a
-Event AttrRemoved: a
-Event AttrRemoved: a
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testRemoveLastChild
-Replacing 'Getting involved' with ''
-
-Wrapper identity: identity
-Event NodeRemoved: 
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: 
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testSplitNode
-Replacing 'Getting involved' with 'Getting&lt;/h2&gt;&lt;h2&gt;involved'
-
-Wrapper identity: identity
-Event NodeInserted: h2
-Event NodeInserted: h2
-Event NodeRemoved: h2
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting&lt;/h2&gt;&lt;h2&gt;involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: h2
-Event NodeRemoved: h2
-Event NodeRemoved: h2
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testChangeNodeName
-Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h3&gt;Getting involved&lt;/h3&gt;'
-
-Wrapper identity: identity
-Event NodeInserted: h3
-Event NodeRemoved: h2
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h3&gt;Getting involved&lt;/h3&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: h2
-Event NodeRemoved: h3
-==========8&lt;==========
-&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtmlforxhtmlxhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,66 +0,0 @@
</span><del>-&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
-&lt;head&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-//&lt;![CDATA[
-
-function onload()
-{
-    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.setUpTestSuite(next);
-        },
-
-        function testChangeCharacterData(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;Getting not involved&quot;, next);
-        },
-
-        function testChangeAttributes(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;&lt;a href&quot;, &quot;&lt;a foo=\&quot;bar\&quot; href&quot;, next);
-        },
-
-        function testRemoveLastChild(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;&quot;, next);
-        },
-
-        function testSplitNode(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;Getting&lt;/h2&gt;&lt;h2&gt;involved&quot;, next);
-        },
-
-        function testChangeNodeName(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h3&gt;Getting involved&lt;/h3&gt;&quot;, next);
-        }
-    ]);
-}
-//]]&gt;
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests DOMAgent.setOuterHTML protocol method against an XHTML document.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtmltestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,111 +0,0 @@
</span><del>-var initialize_SetOuterHTMLTest = function() {
-
-InspectorTest.events = [];
-InspectorTest.containerId;
-
-InspectorTest.setUpTestSuite = function(next)
-{
-    InspectorTest.expandElementsTree(step1);
-
-    function step1()
-    {
-        InspectorTest.selectNodeWithId(&quot;container&quot;, step2);
-    }
-
-    function step2(node)
-    {
-        InspectorTest.containerId = node.id;
-        DOMAgent.getOuterHTML(InspectorTest.containerId, step3);
-    }
-
-    function step3(error, text)
-    {
-        InspectorTest.containerText = text;
-
-        for (var key in WebInspector.DOMAgent.Events) {
-            var eventName = WebInspector.DOMAgent.Events[key];
-            WebInspector.domAgent.addEventListener(eventName, InspectorTest.recordEvent.bind(InspectorTest, eventName));
-        }
-
-        next();
-    }
-}
-
-InspectorTest.recordEvent = function(eventName, event)
-{
-    if (!event.data)
-        return;
-    var node = event.data.node || event.data;
-    var parent = event.data.parent;
-    for (var currentNode = parent || node; currentNode; currentNode = currentNode.parentNode) {
-        if (currentNode.getAttribute(&quot;id&quot;) === &quot;output&quot;)
-            return;
-    }
-    InspectorTest.events.push(&quot;Event &quot; + eventName + &quot;: &quot; + node.nodeName());
-}
-
-InspectorTest.patchOuterHTML = function(pattern, replacement, next)
-{
-    InspectorTest.addResult(&quot;Replacing '&quot; + pattern + &quot;' with '&quot; + replacement + &quot;'\n&quot;);
-    InspectorTest.setOuterHTML(InspectorTest.containerText.replace(pattern, replacement), next);
-}
-
-InspectorTest.patchOuterHTMLUseUndo = function(pattern, replacement, next)
-{
-    InspectorTest.addResult(&quot;Replacing '&quot; + pattern + &quot;' with '&quot; + replacement + &quot;'\n&quot;);
-    InspectorTest.setOuterHTMLUseUndo(InspectorTest.containerText.replace(pattern, replacement), next);
-}
-
-InspectorTest.setOuterHTML = function(newText, next)
-{
-    InspectorTest.innerSetOuterHTML(newText, false, bringBack);
-
-    function bringBack()
-    {
-        InspectorTest.addResult(&quot;\nBringing things back\n&quot;);
-        InspectorTest.innerSetOuterHTML(InspectorTest.containerText, true, next);
-    }
-}
-
-InspectorTest.setOuterHTMLUseUndo = function(newText, next)
-{
-    InspectorTest.innerSetOuterHTML(newText, false, bringBack);
-
-    function bringBack()
-    {
-        InspectorTest.addResult(&quot;\nBringing things back\n&quot;);
-        WebInspector.domAgent.undo(InspectorTest._dumpOuterHTML.bind(InspectorTest, true, next));
-    }
-}
-
-InspectorTest.innerSetOuterHTML = function(newText, last, next)
-{
-    DOMAgent.setOuterHTML(InspectorTest.containerId, newText, InspectorTest._dumpOuterHTML.bind(InspectorTest, last, next));
-}
-
-InspectorTest._dumpOuterHTML = function(last, next)
-{
-    RuntimeAgent.evaluate(&quot;document.getElementById(\&quot;identity\&quot;).wrapperIdentity&quot;, dumpIdentity);
-    function dumpIdentity(error, result)
-    {
-        InspectorTest.addResult(&quot;Wrapper identity: &quot; + result.value);
-        InspectorTest.events.sort();
-        for (var i = 0; i &lt; InspectorTest.events.length; ++i)
-            InspectorTest.addResult(InspectorTest.events[i]);
-        InspectorTest.events = [];
-    }
-
-    DOMAgent.getOuterHTML(InspectorTest.containerId, callback);
-
-    function callback(error, text)
-    {
-        InspectorTest.addResult(&quot;==========8&lt;==========&quot;);
-        InspectorTest.addResult(text);
-        InspectorTest.addResult(&quot;==========&gt;8==========&quot;);
-        if (last)
-            InspectorTest.addResult(&quot;\n\n\n&quot;);
-        next();
-    }
-}
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementssetouterhtmlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/set-outer-html.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/set-outer-html.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/set-outer-html.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.setUpTestSuite(next);
-        },
-
-        function testChangeCharacterData(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;Getting not involved&quot;, next);
-        },
-
-        function testChangeAttributes(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;&lt;a href&quot;, &quot;&lt;a foo=\&quot;bar\&quot; href&quot;, next);
-        },
-
-        function testRemoveLastChild(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;&quot;, next);
-        },
-
-        function testSplitNode(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;Getting&lt;/h2&gt;&lt;h2&gt;involved&quot;, next);
-        },
-
-        function testChangeNodeName(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h3&gt;Getting involved&lt;/h3&gt;&quot;, next);
-        }
-    ]);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests DOMAgent.setOuterHTML protocol method.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/a&gt;.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsundosetouterhtml2expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/undo-set-outer-html-2-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/undo-set-outer-html-2-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/undo-set-outer-html-2-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,214 +0,0 @@
</span><del>-Tests undo for the DOMAgent.setOuterHTML protocol method (part 2).
-
-
-Running: testSetUp
-
-Running: testChangeMultipleThings
-Wrapper identity: identity
-Event AttrModified: H2
-Event AttrModified: H2
-Event NodeInserted: UL
-Event NodeRemoved: UL
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2 foo=&quot;bar&quot; bar=&quot;baz&quot;&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event AttrRemoved: H2
-Event AttrRemoved: H2
-Event NodeInserted: UL
-Event NodeRemoved: UL
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testChangeNestingLevel
-Wrapper identity: identity
-Event NodeInserted: DIV
-Event NodeRemoved: UL
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;div&gt;&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;&lt;/div&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: UL
-Event NodeRemoved: DIV
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testSwapNodes
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testEditTwoRoots
-Wrapper identity: identity
-Event NodeInserted: DIV
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeRemoved: DIV
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testDupeNode
-Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;'
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeInserted: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsundosetouterhtml2html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/undo-set-outer-html-2.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/undo-set-outer-html-2.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/undo-set-outer-html-2.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,77 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.setUpTestSuite(next);
-        },
-
-        function testChangeMultipleThings(next)
-        {
-            var text = InspectorTest.containerText.replace(/&lt;li&gt;.*&lt;\/li&gt;/, &quot;&quot;);
-            text = text.replace(&quot;&lt;h2&gt;&quot;, &quot;&lt;h2 foo=\&quot;bar\&quot; bar=\&quot;baz\&quot;&gt;&quot;);
-            InspectorTest.setOuterHTMLUseUndo(text, next);
-        },
-
-        function testChangeNestingLevel(next)
-        {
-            var text = InspectorTest.containerText.replace(&quot;&lt;ul&gt;&quot;, &quot;&lt;div&gt;&lt;ul&gt;&quot;);
-            var text = text.replace(&quot;&lt;/ul&gt;&quot;, &quot;&lt;/ul&gt;&lt;/div&gt;&quot;);
-            InspectorTest.setOuterHTMLUseUndo(text, next);
-        },
-
-        function testSwapNodes(next)
-        {
-            var text = InspectorTest.containerText.replace(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&quot;);
-            var text = text.replace(&quot;&lt;/div&gt;&quot;, &quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;/div&gt;&quot;);
-            InspectorTest.setOuterHTMLUseUndo(text, next);
-        },
-
-        function testEditTwoRoots(next)
-        {
-            var text = InspectorTest.containerText + &quot;&lt;div&gt;Additional node&lt;/div&gt;&quot;;
-            InspectorTest.setOuterHTMLUseUndo(text, next);
-        },
-
-        function testDupeNode(next)
-        {
-            InspectorTest.patchOuterHTML(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, next);
-        }
-    ]);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests undo for the DOMAgent.setOuterHTML protocol method (part 2).
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;ul&gt;
-   &lt;li&gt;&lt;/li&gt;
-&lt;/ul&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsundosetouterhtmlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/undo-set-outer-html-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/undo-set-outer-html-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/undo-set-outer-html-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,160 +0,0 @@
</span><del>-Tests undo for the DOMAgent.setOuterHTML protocol method.
-
-
-Running: testSetUp
-
-Running: testChangeCharacterData
-Replacing 'Getting involved' with 'Getting not involved'
-
-Wrapper identity: identity
-Event CharacterDataModified: 
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting not involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event CharacterDataModified: 
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testChangeAttributes
-Replacing '&lt;a href' with '&lt;a foo=&quot;bar&quot; href'
-
-Wrapper identity: identity
-Event AttrModified: A
-Event AttrModified: A
-Event AttrRemoved: A
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a foo=&quot;bar&quot; href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event AttrModified: A
-Event AttrRemoved: A
-Event AttrRemoved: A
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testRemoveLastChild
-Replacing 'Getting involved' with ''
-
-Wrapper identity: identity
-Event NodeRemoved: 
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: 
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testSplitNode
-Replacing 'Getting involved' with 'Getting&lt;/h2&gt;&lt;h2&gt;involved'
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeInserted: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting&lt;/h2&gt;&lt;h2&gt;involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeRemoved: H2
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
-Running: testChangeNodeName
-Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h3&gt;Getting involved&lt;/h3&gt;'
-
-Wrapper identity: identity
-Event NodeInserted: H3
-Event NodeRemoved: H2
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h3&gt;Getting involved&lt;/h3&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-Bringing things back
-
-Wrapper identity: identity
-Event NodeInserted: H2
-Event NodeRemoved: H3
-==========8&lt;==========
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-==========&gt;8==========
-
-
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorelementsundosetouterhtmlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/elements/undo-set-outer-html.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/elements/undo-set-outer-html.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/elements/undo-set-outer-html.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function onload()
-{
-    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.setUpTestSuite(next);
-        },
-
-        function testChangeCharacterData(next)
-        {
-            InspectorTest.patchOuterHTMLUseUndo(&quot;Getting involved&quot;, &quot;Getting not involved&quot;, next);
-        },
-
-        function testChangeAttributes(next)
-        {
-            InspectorTest.patchOuterHTMLUseUndo(&quot;&lt;a href&quot;, &quot;&lt;a foo=\&quot;bar\&quot; href&quot;, next);
-        },
-
-        function testRemoveLastChild(next)
-        {
-            InspectorTest.patchOuterHTMLUseUndo(&quot;Getting involved&quot;, &quot;&quot;, next);
-        },
-
-        function testSplitNode(next)
-        {
-            InspectorTest.patchOuterHTMLUseUndo(&quot;Getting involved&quot;, &quot;Getting&lt;/h2&gt;&lt;h2&gt;involved&quot;, next);
-        },
-
-        function testChangeNodeName(next)
-        {
-            InspectorTest.patchOuterHTMLUseUndo(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h3&gt;Getting involved&lt;/h3&gt;&quot;, next);
-        }
-    ]);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;onload()&quot;&gt;
-&lt;p&gt;
-Tests undo for the DOMAgent.setOuterHTML protocol method.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
-&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/a&gt;.&lt;/p&gt;
-&lt;h2&gt;Getting involved&lt;/h2&gt;
-&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorinspectedobjectsnotoverridenexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/inspected-objects-not-overriden-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/inspected-objects-not-overriden-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/inspected-objects-not-overriden-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-Tests that opening inspector front-end doesn't change methods defined by the inspected application.
-
-myImpl() =&gt; my value
-Object.type === myImpl =&gt; true
-Object.hasProperties === myImpl =&gt; true
-Object.describe === myImpl =&gt; true
-Object.className === myImpl =&gt; true
-String.prototype.escapeCharacters === myImpl =&gt; true
-JSON.stringify === myImpl =&gt; true
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorinspectedobjectsnotoverridenhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/inspected-objects-not-overriden.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/inspected-objects-not-overriden.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/inspected-objects-not-overriden.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,57 +0,0 @@
</span><del>-&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function myImpl() {
-  return &quot;my value&quot;;
-}
-
-// Provide some custom methods.
-Object.type = myImpl;
-Object.hasProperties = myImpl;
-Object.describe = myImpl;
-Object.className = myImpl;
-String.prototype.escapeCharacters = myImpl;
-JSON.stringify = myImpl;
-
-function output(text)
-{
-    var output = document.getElementById(&quot;output&quot;);
-    output.appendChild(document.createTextNode(text));
-    output.appendChild(document.createElement(&quot;br&quot;));
-}
-
-function dumpValues()
-{
-    // Check that the methods haven't changed.
-    output(&quot;myImpl() =&gt; &quot; + myImpl());
-    output(&quot;Object.type === myImpl =&gt; &quot; + (Object.type === myImpl));
-    output(&quot;Object.hasProperties === myImpl =&gt; &quot; + (Object.hasProperties === myImpl));
-    output(&quot;Object.describe === myImpl =&gt; &quot; + (Object.describe === myImpl));
-    output(&quot;Object.className === myImpl =&gt; &quot; + (Object.className === myImpl));
-    output(&quot;String.prototype.escapeCharacters === myImpl =&gt; &quot; + (String.prototype.escapeCharacters === myImpl));
-    output(&quot;JSON.stringify === myImpl =&gt; &quot; + (JSON.stringify === myImpl));
-}
-
-function test()
-{
-    function callback()
-    {
-        InspectorTest.completeTest();
-    }
-    InspectorTest.evaluateInPage(&quot;dumpValues()&quot;, callback);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that opening inspector front-end doesn't change methods defined by the inspected application.
-&lt;/p&gt;
-
-&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorloadresourcesynchronouslyutf8expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/load-resource-synchronously-utf8-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/load-resource-synchronously-utf8-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/load-resource-synchronously-utf8-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that InspectorFrontendHost.loadResourceSynchronously() correctly loads non-ASCII resources.
-
-'ASCII - Test' (12)
-'UTF8 - Тест' (11)
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorloadresourcesynchronouslyutf8html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/load-resource-synchronously-utf8.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/load-resource-synchronously-utf8.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/load-resource-synchronously-utf8.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var asciiText = InspectorFrontendHost.loadResourceSynchronously(&quot;data:text/plain;,ASCII - Test&quot;);
-    InspectorTest.addResult(&quot;'&quot; + asciiText + &quot;' (&quot; + asciiText.length + &quot;)&quot;);
-    var utf8Text = InspectorFrontendHost.loadResourceSynchronously(&quot;data:text/plain;,&quot; + encodeURIComponent(&quot;UTF8 - \u0422\u0435\u0441\u0442&quot;));
-    InspectorTest.addResult(&quot;'&quot; + utf8Text + &quot;' (&quot; + utf8Text.length + &quot;)&quot;);
-    InspectorTest.completeTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that InspectorFrontendHost.loadResourceSynchronously() correctly loads non-ASCII resources.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofileragentcrashonstartexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Test that ProfilerAgent start/stop doesn't crash.
-
-ProfilerAgent started.
-ProfilerAgent stopped.
-ProfilerAgent cleared.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofileragentcrashonstarthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-  &lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;profiles&quot;);
-    ProfilerAgent.start(onStart);
-
-    function onStart()
-    {
-        InspectorTest.addResult(&quot;ProfilerAgent started.&quot;);
-        ProfilerAgent.stop(onStop);
-    }
-
-    function onStop()
-    {
-        InspectorTest.addResult(&quot;ProfilerAgent stopped.&quot;);
-        ProfilerAgent.clearProfiles(done);
-    }
-
-    function done()
-    {
-        InspectorTest.addResult(&quot;ProfilerAgent cleared.&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that ProfilerAgent start/stop doesn't crash.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofilerparameterlessprofileendcrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Tests that &quot;console.profileEnd()&quot; do not cause crash.
-Bug 105759.
-
-Profiles count: 2
-Titled profile found.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofilerparameterlessprofileendcrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-
-if (window.testRunner)
-    testRunner.dumpAsText();
-if (window.internals)
-    internals.setJavaScriptProfilingEnabled(true);
-
-function pageFunction()
-{
-    console.profile(); // Untitled
-    console.profile(&quot;titled&quot;);
-    console.profileEnd();
-    console.profileEnd();
-}
-
-function startTest()
-{
-    pageFunction();
-    printResult();
-    if (window.testRunner)
-        testRunner.notifyDone();
-}
-
-function printResult()
-{
-    var preElement = document.createElement(&quot;pre&quot;);
-    preElement.appendChild(document.createTextNode(&quot;\n&quot;));
-
-    var profiles = console.profiles;
-    preElement.appendChild(document.createTextNode(&quot;Profiles count: &quot; + profiles.length + &quot;\n&quot;));
-    for (var i = 0; i &lt; profiles.length; ++i) {
-        if (profiles[i].title === &quot;titled&quot;)
-            preElement.appendChild(document.createTextNode(&quot;Titled profile found.\n&quot;));
-    }
-    document.getElementById(&quot;output&quot;).appendChild(preElement);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;startTest()&quot;&gt;
-&lt;p&gt;
-Tests that &quot;console.profileEnd()&quot; do not cause crash.&lt;br&gt;
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=105759&quot;&gt;Bug 105759.&lt;/a&gt;&lt;br&gt;
-&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofilerprofileremovalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Tests that CPU profile removal from a group works. Bug 110466
-
-Profiler was enabled.
-Profile groups after removal:
-
-Profiler was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofilerprofileremovalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,46 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-  &lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-  &lt;script src=&quot;profiler-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function pageFunction() {
-    console.profile(&quot;p1&quot;);
-    console.profileEnd(&quot;p1&quot;);
-    console.profile(&quot;p1&quot;);
-    console.profileEnd(&quot;p1&quot;);
-    console.profile(&quot;p2&quot;);
-    console.profileEnd(&quot;p2&quot;);
-}
-
-function test()
-{
-    InspectorTest.startProfilerTest(function() {
-        function viewLoaded(view) {
-            var profiles = WebInspector.panels.profiles;
-            var type = profiles.getProfileType(&quot;CPU&quot;);
-            while (type.getProfiles().length !== 0)
-                profiles._removeProfileHeader(type.getProfiles()[0]);
-            InspectorTest.addResult(&quot;Profile groups after removal:&quot;);
-            for (var key in profiles._profileGroups)
-                InspectorTest.addResult(key + &quot;: &quot; + profiles._profileGroups[key].length);
-            InspectorTest.assertEquals(0, type.treeElement.children.length, &quot;All children has been removed&quot;);
-            InspectorTest.completeProfilerTest();
-        }
-        WebInspector.showPanel(&quot;profiles&quot;);
-        InspectorTest.evaluateInConsole(&quot;pageFunction()&quot;, function() {});
-        InspectorTest.showProfileWhenAdded(&quot;p2&quot;);
-        InspectorTest.waitUntilProfileViewIsShown(&quot;p2&quot;, viewLoaded);
-    });
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that CPU profile removal from a group works.
-
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=110466&quot;&gt;Bug 110466&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofilerprofilingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests that CPU profiling works. Bug 52634.
-
-Profiler was enabled.
-
-Running: testProfiling
-found pageFunction
-
-Profiler was disabled.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofilerprofilingwithoutinspectorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Tests that CPU profiling works.
-Doesn't open Inspector, uses console.profile....
-
-
-Found pageFunction
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofilerprofilingwithoutinspectorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,84 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-
-if (window.testRunner)
-    testRunner.dumpAsText();
-if (window.internals)
-    internals.setJavaScriptProfilingEnabled(true);
-
-function pageFunction()
-{
-    console.profile(&quot;outer&quot;);
-    console.profile(&quot;inner&quot;);  // [Chromium] Make sure we capture the current callstack.
-    console.profileEnd(&quot;outer&quot;);
-    console.profileEnd(&quot;inner&quot;);
-}
-
-function startTest()
-{
-    pageFunction();
-    printResult();
-    if (window.testRunner)
-        testRunner.notifyDone();
-}
-
-function printResult()
-{
-    var preElement = document.createElement(&quot;pre&quot;);
-    preElement.appendChild(document.createTextNode(&quot;\n&quot;));
-
-    var profiles = console.profiles;
-    for (var i = 0; i &lt; profiles.length; ++i) {
-        var profile = profiles[i];
-        if (profile.title !== &quot;inner&quot;)
-            continue;
-        var functionName = &quot;pageFunction&quot;;
-        if (findFunctionInProfile(profile.head, functionName))
-            preElement.appendChild(document.createTextNode(&quot;Found &quot; + functionName));
-        else {
-            preElement.appendChild(document.createTextNode(&quot;!!! Not found &quot; + functionName));
-            preElement.appendChild(document.createTextNode(&quot;\n\n&quot;));
-            printProfileNodeWithoutTime(preElement, profile.head, &quot;&quot;);
-        }
-        preElement.appendChild(document.createTextNode(&quot;\n&quot;));
-    }
-
-    document.getElementById(&quot;output&quot;).appendChild(preElement);
-}
-
-function printProfileNodeWithoutTime(preElement, node, space)
-{
-    if (!node.visible)
-        return;
-
-    var line = space + node.functionName + &quot; (line &quot; + node.lineNumber + &quot;)\n&quot;;
-    preElement.appendChild(document.createTextNode(line));
-
-    var children = node.children();
-    for (var i = 0; i &lt; children.length; ++i)
-        printProfileNodeWithoutTime(preElement, children[i], space + &quot;   &quot;);
-}
-
-function findFunctionInProfile(node, functionName)
-{
-    if (node.functionName === functionName)
-        return true;
-    var children = node.children();
-    for (var i = 0; i &lt; children.length; ++i)
-        if (findFunctionInProfile(children[i], functionName))
-            return true;
-    return false;
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;startTest()&quot;&gt;
-&lt;p&gt;
-Tests that CPU profiling works.&lt;br&gt;
-Doesn't open Inspector, uses &lt;b&gt;console.profile...&lt;/b&gt;.
-
-&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilercpuprofilerprofilinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-  &lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-  &lt;script src=&quot;profiler-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function pageFunction() {
-    console.profile(&quot;outer&quot;);
-    console.profile(&quot;inner&quot;);  // [Chromium] Make sure we capture the current callstack.
-    console.profileEnd(&quot;outer&quot;);
-    console.profileEnd(&quot;inner&quot;);
-}
-
-function test()
-{
-    InspectorTest.runProfilerTestSuite([
-        function testProfiling(next)
-        {
-            function findPageFunctionInProfileView(view)
-            {
-                var tree = view.profileDataGridTree;
-                if (!tree)
-                     InspectorTest.addResult(&quot;no tree&quot;);
-                var node = tree.children[0];
-                if (!node)
-                     InspectorTest.addResult(&quot;no node&quot;);
-                while (node) {
-                    if (node.functionName.indexOf(&quot;pageFunction&quot;) !== -1) {
-                        InspectorTest.addResult(&quot;found pageFunction&quot;);
-                        break;
-                    }
-                    node = node.traverseNextNode(true, null, true);
-                }
-                next();
-            }
-            InspectorTest.showProfileWhenAdded(&quot;inner&quot;);
-            InspectorTest.waitUntilProfileViewIsShown(&quot;inner&quot;, findPageFunctionInProfileView);
-            InspectorTest.evaluateInConsole(&quot;pageFunction()&quot;, function done() {});
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that CPU profiling works.
-
-&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=52634&quot;&gt;Bug 52634.&lt;/a&gt;
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprofilerprofilertestjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/profiler/profiler-test.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/profiler/profiler-test.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/profiler/profiler-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,94 +0,0 @@
</span><del>-var initialize_ProfilerTest = function() {
-
-InspectorTest.startProfilerTest = function(callback)
-{
-    WebInspector.showPanel(&quot;profiles&quot;);
-
-    function startTest()
-    {
-        InspectorTest.addResult(&quot;Profiler was enabled.&quot;);
-        InspectorTest.addSniffer(WebInspector.panels.profiles, &quot;_addProfileHeader&quot;, InspectorTest._profileHeaderAdded, true);
-        InspectorTest.addSniffer(WebInspector.CPUProfileView.prototype, &quot;refresh&quot;, InspectorTest._profileViewRefresh, true);
-        InspectorTest.safeWrap(callback)();
-    }
-
-    if (WebInspector.panels.profiles._profilerEnabled)
-        startTest();
-    else {
-        InspectorTest.addSniffer(WebInspector.panels.profiles, &quot;_profilerWasEnabled&quot;, startTest);
-        WebInspector.panels.profiles._toggleProfiling(false);
-    }
-};
-
-InspectorTest.completeProfilerTest = function()
-{
-    function completeTest()
-    {
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(&quot;Profiler was disabled.&quot;);
-        InspectorTest.completeTest();
-    }
-
-    var profilesPanel = WebInspector.panels.profiles;
-    if (!profilesPanel._profilerEnabled)
-        completeTest();
-    else {
-        InspectorTest.addSniffer(WebInspector.panels.profiles, &quot;_profilerWasDisabled&quot;, completeTest);
-        profilesPanel._toggleProfiling(false);
-    }
-};
-
-InspectorTest.runProfilerTestSuite = function(testSuite)
-{
-    var testSuiteTests = testSuite.slice();
-
-    function runner()
-    {
-        if (!testSuiteTests.length) {
-            InspectorTest.completeProfilerTest();
-            return;
-        }
-
-        var nextTest = testSuiteTests.shift();
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(&quot;Running: &quot; + /function\s([^(]*)/.exec(nextTest)[1]);
-        InspectorTest.safeWrap(nextTest)(runner, runner);
-    }
-
-    InspectorTest.startProfilerTest(runner);
-};
-
-InspectorTest.showProfileWhenAdded = function(title)
-{
-    InspectorTest._showProfileWhenAdded = title;
-};
-
-InspectorTest._profileHeaderAdded = function(profile)
-{
-    if (InspectorTest._showProfileWhenAdded === profile.title) {
-        WebInspector.panels.profiles._showProfile(profile);
-    }
-};
-
-InspectorTest.waitUntilProfileViewIsShown = function(title, callback)
-{
-    callback = InspectorTest.safeWrap(callback);
-
-    var profilesPanel = WebInspector.panels.profiles;
-    if (profilesPanel.visibleView &amp;&amp; profilesPanel.visibleView.profile &amp;&amp; profilesPanel.visibleView.profile.title === title)
-        callback(profilesPanel.visibleView);
-    else
-        InspectorTest._waitUntilProfileViewIsShownCallback = { title: title, callback: callback };
-}
-
-InspectorTest._profileViewRefresh = function()
-{
-    // Called in the context of ProfileView.
-    if (InspectorTest._waitUntilProfileViewIsShownCallback &amp;&amp; InspectorTest._waitUntilProfileViewIsShownCallback.title === this.profile.title) {
-        var callback = InspectorTest._waitUntilProfileViewIsShownCallback;
-        delete InspectorTest._waitUntilProfileViewIsShownCallback;
-        callback.callback(this);
-    }
-};
-
-};
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorremoteobjectexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/remote-object-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/remote-object-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/remote-object-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests formatting of different types of remote objects.
-
-date = Wed Dec 07 2011 12:01:00 
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorremoteobjecthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/remote-object.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/remote-object.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/remote-object.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function callback(result)
-    {
-        InspectorTest.addResult(&quot;date = &quot; + result.description.substring(0, 25));
-        InspectorTest.completeTest();
-    }
-    InspectorTest.evaluateInPage(&quot;new Date(2011, 11, 7, 12, 01)&quot;, callback);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests formatting of different types of remote objects.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorreportAPIerrorsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/report-API-errors-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/report-API-errors-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/report-API-errors-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,8 +0,0 @@
</span><del>-Tests that InspectorBackendStub is catching incorrect arguments.
-
-Protocol Error: Invalid type of argument 'enabled' for method 'Console.setMonitoringXHREnabled' call. It must be 'boolean' but it is 'number'.
-Protocol Error: Invalid number of arguments for method 'Console.setMonitoringXHREnabled' call. It must have the following arguments '[{&quot;name&quot;:&quot;enabled&quot;,&quot;type&quot;:&quot;boolean&quot;,&quot;optional&quot;:false}]'.
-Protocol Error: Optional callback argument for method 'Console.setMonitoringXHREnabled' call must be a function but its type is 'string'.
-Protocol Error: the message is for non-existing domain 'wrongDomain'
-Protocol Error: Attempted to dispatch an unimplemented method 'Inspector.something-strange'
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorreportAPIerrorshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/report-API-errors.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/report-API-errors.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/report-API-errors.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-
-    console.error = function()
-    {
-        InspectorTest.addResult(String.sprintf.apply(this, arguments));
-    }
-
-    ConsoleAgent.setMonitoringXHREnabled(1);
-    ConsoleAgent.setMonitoringXHREnabled();
-    ConsoleAgent.setMonitoringXHREnabled(false, &quot;not a function&quot;);
-    ConsoleAgent.setMonitoringXHREnabled(false, undefined);
-    RuntimeAgent.evaluate(&quot;true&quot;, &quot;test&quot;);
-    RuntimeAgent.evaluate(&quot;true&quot;, &quot;test&quot;, function(){});
-    RuntimeAgent.evaluate(&quot;true&quot;, &quot;test&quot;, undefined, function(){});
-    InspectorBackend.dispatch('{&quot;method&quot;: &quot;wrongDomain.something-strange&quot;, &quot;params&quot;: {}}');
-    InspectorBackend.dispatch('{&quot;method&quot;: &quot;Inspector.something-strange&quot;, &quot;params&quot;: {}}');
-
-    InspectorTest.completeTest();
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that InspectorBackendStub is catching incorrect arguments.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorreportprotocolerrorsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/report-protocol-errors-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/report-protocol-errors-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/report-protocol-errors-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,170 +0,0 @@
</span><del>-Tests that InspectorBackendDispatcher is catching incorrect messages.
-
-{
-    error : {
-        code : -32700
-        message : &quot;Message must be in JSON format&quot;
-    }
-    id : null
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32600
-        message : &quot;'id' property was not found&quot;
-    }
-    id : null
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32600
-        message : &quot;The type of 'id' property must be number&quot;
-    }
-    id : null
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32600
-        message : &quot;The type of 'method' property must be string&quot;
-    }
-    id : 1
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'resourceContent' wasn't found&quot;
-    }
-    id : 2
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'DOM.test' wasn't found&quot;
-    }
-    id : 3
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32602
-        data : [
-            &quot;'params' object must contain required parameter 'frameId' with type 'String'.&quot;
-            &quot;'params' object must contain required parameter 'url' with type 'String'.&quot;
-        ]
-        message : &quot;Some arguments of method 'Page.getResourceContent' can't be processed&quot;
-    }
-    id : 4
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32602
-        data : [
-            &quot;'params' object must contain required parameter 'frameId' with type 'String'.&quot;
-            &quot;'params' object must contain required parameter 'url' with type 'String'.&quot;
-        ]
-        message : &quot;Some arguments of method 'Page.getResourceContent' can't be processed&quot;
-    }
-    id : 5
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32602
-        data : [
-            &quot;Parameter 'frameId' with type 'String' was not found.&quot;
-            &quot;Parameter 'url' with type 'String' was not found.&quot;
-        ]
-        message : &quot;Some arguments of method 'Page.getResourceContent' can't be processed&quot;
-    }
-    id : 6
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32602
-        data : [
-            &quot;Parameter 'url' with type 'String' was not found.&quot;
-        ]
-        message : &quot;Some arguments of method 'Page.getResourceContent' can't be processed&quot;
-    }
-    id : 7
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 8
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 9
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 10
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 11
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 12
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 13
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 14
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 15
-}
--------------------------------------------------------
-{
-    error : {
-        code : -32601
-        message : &quot;'Page.test' wasn't found&quot;
-    }
-    id : 16
-}
--------------------------------------------------------
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorreportprotocolerrorshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/report-protocol-errors.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/report-protocol-errors.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/report-protocol-errors.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,60 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var messages = [
-        'some wrong string',
-        '{}',
-        '{&quot;id&quot;:&quot;not a number&quot;}',
-        '{&quot;id&quot;:1,&quot;method&quot;:1}',
-        '{&quot;id&quot;:2,&quot;method&quot;:&quot;resourceContent&quot;}',
-        '{&quot;id&quot;:3,&quot;method&quot;:&quot;DOM.test&quot;}',
-        '{&quot;id&quot;:4,&quot;method&quot;:&quot;Page.getResourceContent&quot;}',
-        '{&quot;id&quot;:5,&quot;method&quot;:&quot;Page.getResourceContent&quot;,&quot;params&quot;:[]}',
-        '{&quot;id&quot;:6,&quot;method&quot;:&quot;Page.getResourceContent&quot;,&quot;params&quot;:{}}',
-        '{&quot;id&quot;:7,&quot;method&quot;:&quot;Page.getResourceContent&quot;,&quot;params&quot;:{&quot;frameId&quot;:&quot;not a number&quot;}}',
-        '{&quot;id&quot;:8,&quot;method&quot;:&quot;Page.test&quot;}',
-        '{&quot;id&quot;:9,&quot;method&quot;:&quot;Page.test&quot; }',
-        '{&quot;id&quot;:10,&quot;method&quot;: &quot;Page.test&quot; }',
-        '{&quot;id&quot;:11,&quot;method&quot; : &quot;Page.test&quot; }',
-        '{&quot;id&quot;:12, &quot;method&quot; : &quot;Page.test&quot; }',
-        '{&quot;id&quot;: 13, &quot;method&quot; : &quot;Page.test&quot; }',
-        '{&quot;id&quot; : 14, &quot;method&quot; : &quot;Page.test&quot; }',
-        '{ &quot;id&quot; : 15, &quot;method&quot; : &quot;Page.test&quot; }',
-        '{  &quot;id&quot;\n :\r 16,\t &quot;method&quot;\f :\v &quot;Page.test&quot; }',
-    ];
-    var numberOfReports = 0;
-
-    InspectorBackend.reportProtocolError = function(message)
-    {
-
-        if (numberOfReports &lt; messages.length) {
-            InspectorTest.addObject(message);
-            InspectorTest.addResult(&quot;-------------------------------------------------------&quot;);
-        }
-
-        if (++numberOfReports === messages.length)
-            InspectorTest.completeTest();
-    }
-
-    function fire() {
-        for (var i = 0; i &lt; messages.length; ++i)
-            InspectorFrontendHost.sendMessageToBackend(messages[i]);
-    }
-
-    DebuggerAgent.disable(fire);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that InspectorBackendDispatcher is catching incorrect messages.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimecallFunctionOnexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,13 +0,0 @@
</span><del>-Tests RuntimeAgent.callFunctionOn usages.
-
-
-Running: testThis
-3
-
-Running: testArguments
-{&quot;a&quot;:1,&quot;b&quot;:2}
-{&quot;a&quot;:1,&quot;b&quot;:2}
-{&quot;c&quot;:1,&quot;d&quot;:2}
-4
-undefined
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimecallFunctionOnhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,67 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var obj1, obj2;
-
-    InspectorTest.runTestSuite([
-        function testThis(next)
-        {
-            RuntimeAgent.evaluate(&quot;({ a : 1, b : 2 })&quot;, step1);
-
-            function step1(error, result, wasThrown)
-            {
-
-                function sum()
-                {
-                    return this.a + this.b;
-                }
-
-                obj1 = result;
-                RuntimeAgent.callFunctionOn(obj1.objectId, sum.toString(), step2);
-            }
-
-            function step2(error, result, wasThrown)
-            {
-                InspectorTest.addResult(result.value);
-                next();
-            }
-        },
-
-        function testArguments(next)
-        {
-            RuntimeAgent.evaluate(&quot;({ c : 1, d : 2 })&quot;, step1);
-
-            function step1(error, result, wasThrown)
-            {
-                function format(aobj1, aobj2, val, undef)
-                {
-                    return JSON.stringify(this) + &quot;\n&quot; + JSON.stringify(aobj1) + &quot;\n&quot; + JSON.stringify(aobj2) + &quot;\n&quot; + val + &quot;\n&quot; + undef;
-                }
-
-                obj2 = result;
-                RuntimeAgent.callFunctionOn(obj1.objectId, format.toString(), [obj1, obj2, {value:4}, {}], step2);
-            }
-
-            function step2(error, result, wasThrown)
-            {
-                InspectorTest.addResult(result.value);
-                next();
-            }
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests RuntimeAgent.callFunctionOn usages.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimegetPropertiesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-getProperties-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-getProperties-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-getProperties-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-Tests RemoteObject.getProperties.
-
-
-Running: testSetUp
-
-Running: testGetterAndSetter
-{
-    enumerable : true
-    name : &quot;get foo&quot;
-    value : {
-        description : &quot;function () { return 1; }&quot;
-        objectId : &lt;string&gt;
-        type : &quot;function&quot;
-    }
-    writable : false
-}
-{
-    enumerable : true
-    name : &quot;set foo&quot;
-    value : {
-        description : &quot;function (value) { }&quot;
-        objectId : &lt;string&gt;
-        type : &quot;function&quot;
-    }
-    writable : false
-}
-
-Running: testGetterOnly
-{
-    enumerable : true
-    name : &quot;get foo&quot;
-    value : {
-        description : &quot;function () { return 1; }&quot;
-        objectId : &lt;string&gt;
-        type : &quot;function&quot;
-    }
-    writable : false
-}
-{
-    enumerable : true
-    name : &quot;set foo&quot;
-    value : {
-        description : &quot;undefined&quot;
-        objectId : &lt;undefined&gt;
-        type : &quot;undefined&quot;
-    }
-    writable : false
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimegetPropertiesisOwnPropertyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests RemoteObject.getProperties.
-
-property.name==&quot;testBar&quot; isOwn==&quot;true&quot;
-property.name==&quot;testFoo&quot; isOwn==&quot;undefined&quot;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimegetPropertiesisOwnPropertyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function A() {
-    this.testFoo = &quot;abc&quot;;
-}
-
-function B() { 
-    this.testBar = &quot;cde&quot;;
-}
-
-B.prototype = new A();
-b = new B();
-
-function test()
-{
-    function fail(message)
-    {
-        InspectorTest.addResult(message);
-        InspectorTest.completeTest();
-    }
-
-    RuntimeAgent.evaluate(&quot;window.b&quot;, step1);
-
-    function step1(error, result)
-    {
-        RuntimeAgent.getProperties(result.objectId, /* isOwnProperty */ false, step2);
-    }
-
-    function step2(error, properties) 
-    {
-        if (error) 
-            return fail(&quot;Error took place during RuntimeAgent.getProperties call&quot;);
-        
-        if (!properties) 
-            return fail(&quot;Properties do not exist&quot;);
-        
-        for (var i = 0; i &lt; properties.length; i++) {
-            var property = properties[i];
-            if (property.name.match(/^test/)) 
-                InspectorTest.addResult(&quot;property.name==\&quot;&quot; + property.name + &quot;\&quot; isOwn==\&quot;&quot; + property.isOwn + &quot;\&quot;&quot;);
-        }
-        InspectorTest.completeTest();
-    }
-
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests RemoteObject.getProperties.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimegetPropertieshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-getProperties.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-getProperties.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-getProperties.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,84 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var object1 = { get foo() { return 1; }, set foo(value) { } };
-var object2 = { get foo() { return 1; } };
-
-function test()
-{
-    var obj1, obj2;
-
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.evaluateInPage(&quot;dumpObjects('Initial')&quot;, step0);
-
-            function step0()
-            {
-                RuntimeAgent.evaluate(&quot;object1&quot;, step1);
-            }
-
-            function step1(error, result, wasThrown)
-            {
-                obj1 = WebInspector.RemoteObject.fromPayload(result);
-                RuntimeAgent.evaluate(&quot;object2&quot;, step2);
-            }
-
-            function step2(error, result, wasThrown)
-            {
-                obj2 = WebInspector.RemoteObject.fromPayload(result);
-                next();
-            }
-        },
-
-        function testGetterAndSetter(next)
-        {
-            obj1.getOwnProperties(step1);
-
-            function step1(properties)
-            {
-                for (var i = 0; i &lt; properties.length; ++i)
-                    dumpProperty(properties[i]);
-
-                next();
-            }
-        },
-
-        function testGetterOnly(next)
-        {
-            obj2.getOwnProperties(step1);
-
-            function step1(properties)
-            {
-                for (var i = 0; i &lt; properties.length; ++i)
-                    dumpProperty(properties[i]);
-
-                next();
-            }
-        }
-    ]);
-
-    function dumpProperty(property)
-    {
-        if (property.name === &quot;__proto__&quot;)
-            return;
-
-        var value = property.value;
-        if (value)
-            property.value = { type: value.type, description: value.description.replace(&quot;function foo&quot;, &quot;function &quot;), objectId: value.objectId };
-        InspectorTest.dump(property, { objectId: &quot;formatAsTypeName&quot; });
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests RemoteObject.getProperties.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimelocalStoragegetPropertiesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,12 +0,0 @@
</span><del>-Tests RemoteObject.getProperties on localStorage object. 66215
-
-{
-    enumerable : false
-    name : &quot;testProperty&quot;
-    value : {
-        description : &quot;testPropertyValue&quot;
-        type : &quot;string&quot;
-    }
-    writable : false
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimelocalStoragegetPropertieshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-localStorage.testProperty = &quot;testPropertyValue&quot;;
-
-function test()
-{
-    RuntimeAgent.evaluate(&quot;localStorage&quot;, step1);
-
-    function step1(error, result, wasThrown)
-    {
-        var localStorageHandle = WebInspector.RemoteObject.fromPayload(result);
-        localStorageHandle.getOwnProperties(step2);
-    }
-
-    function step2(properties)
-    {
-        for (var i = 0; i &lt; properties.length; ++i) {
-            var property = properties[i];
-            if (property.name !== &quot;testProperty&quot;)
-                continue;
-            property.value = { type: property.value.type, description: property.value.description };                
-            InspectorTest.dump(property);
-        }
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests RemoteObject.getProperties on localStorage object. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=66215&quot;&gt;66215&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimesetPropertyValueexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 11: ===== Initial =====
-CONSOLE MESSAGE: line 12: {&quot;foo&quot;:1}
-CONSOLE MESSAGE: line 13: 
-CONSOLE MESSAGE: line 11: ===== Set primitive =====
-CONSOLE MESSAGE: line 12: {&quot;foo&quot;:2}
-CONSOLE MESSAGE: line 13: 
-CONSOLE MESSAGE: line 11: ===== Set handle =====
-CONSOLE MESSAGE: line 12: {&quot;foo&quot;:{&quot;bar&quot;:2}}
-CONSOLE MESSAGE: line 13: 
-CONSOLE MESSAGE: line 11: ===== Set undefined =====
-CONSOLE MESSAGE: line 12: {}
-CONSOLE MESSAGE: line 13: 
-CONSOLE MESSAGE: line 11: ===== Set zero =====
-CONSOLE MESSAGE: line 12: {&quot;foo&quot;:0}
-CONSOLE MESSAGE: line 13: 
-CONSOLE MESSAGE: line 11: ===== Set null =====
-CONSOLE MESSAGE: line 12: {&quot;foo&quot;:null}
-CONSOLE MESSAGE: line 13: 
-CONSOLE MESSAGE: line 11: ===== Set empty string =====
-CONSOLE MESSAGE: line 12: {&quot;foo&quot;:&quot;&quot;}
-CONSOLE MESSAGE: line 13: 
-CONSOLE MESSAGE: line 11: ===== Set exception =====
-CONSOLE MESSAGE: line 12: {&quot;foo&quot;:&quot;&quot;}
-CONSOLE MESSAGE: line 13: 
-CONSOLE MESSAGE: line 11: ===== Set non-finite numbers =====
-CONSOLE MESSAGE: line 12: {&quot;foo&quot;:&quot;NaN&quot;,&quot;foo1&quot;:&quot;Infinity&quot;,&quot;foo2&quot;:&quot;-Infinity&quot;}
-CONSOLE MESSAGE: line 13: 
-Tests WebInspector.RemoveObject.setPropertyValue implementation.
-
-
-Running: testSetUp
-
-Running: testSetPrimitive
-
-Running: testSetHandle
-
-Running: testSetUndefined
-
-Running: testSetZero
-
-Running: testSetNull
-
-Running: testSetEmptyString
-
-Running: testSetException
-exception
-
-Running: testSetNonFiniteNumbers
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorruntimeruntimesetPropertyValuehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,152 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var object1 = { foo: 1 };
-var object2 = { bar: 2 };
-
-function dumpObject(label)
-{
-    console.log(&quot;===== &quot; + label + &quot; =====&quot;);
-    console.log(JSON.stringify(object1, replacer));
-    console.log(&quot;&quot;);
-
-    function replacer(key, value)
-    {
-        if (typeof value === &quot;number&quot; &amp;&amp; !isFinite(value))
-            return String(value);
-        return value;
-    }
-}
-
-function test()
-{
-    var obj1, obj2;
-
-    InspectorTest.runTestSuite([
-        function testSetUp(next)
-        {
-            InspectorTest.evaluateInPage(&quot;dumpObject('Initial')&quot;, step0);
-
-            function step0()
-            {
-                RuntimeAgent.evaluate(&quot;object1&quot;, step1);
-            }
-
-            function step1(error, result, wasThrown)
-            {
-                obj1 = WebInspector.RemoteObject.fromPayload(result);
-                RuntimeAgent.evaluate(&quot;object2&quot;, step2);
-            }
-
-            function step2(error, result, wasThrown)
-            {
-                obj2 = WebInspector.RemoteObject.fromPayload(result);
-                next();
-            }
-        },
-
-        function testSetPrimitive(next)
-        {
-            obj1.setPropertyValue(&quot;foo&quot;, &quot;2&quot;, step1);
-
-            function step1()
-            {
-                InspectorTest.evaluateInPage(&quot;dumpObject('Set primitive')&quot;, next);
-            }
-        },
-
-        function testSetHandle(next)
-        {
-            obj1.setPropertyValue(&quot;foo&quot;, &quot;object2&quot;, step1);
-
-            function step1()
-            {
-                InspectorTest.evaluateInPage(&quot;dumpObject('Set handle')&quot;, next);
-            }
-        },
-
-        function testSetUndefined(next)
-        {
-            obj1.setPropertyValue(&quot;foo&quot;, &quot;undefined&quot;, step1);
-
-            function step1()
-            {
-                InspectorTest.evaluateInPage(&quot;dumpObject('Set undefined')&quot;, next);
-            }
-        },
-
-        function testSetZero(next)
-        {
-            obj1.setPropertyValue(&quot;foo&quot;, &quot;0&quot;, step1);
-
-            function step1()
-            {
-                InspectorTest.evaluateInPage(&quot;dumpObject('Set zero')&quot;, next);
-            }
-        },
-
-        function testSetNull(next)
-        {
-            obj1.setPropertyValue(&quot;foo&quot;, &quot;null&quot;, step1);
-
-            function step1()
-            {
-                InspectorTest.evaluateInPage(&quot;dumpObject('Set null')&quot;, next);
-            }
-        },
-
-        function testSetEmptyString(next)
-        {
-            obj1.setPropertyValue(&quot;foo&quot;, &quot;\&quot;\&quot;&quot;, step1);
-
-            function step1()
-            {
-                InspectorTest.evaluateInPage(&quot;dumpObject('Set empty string')&quot;, next);
-            }
-        },
-
-        function testSetException(next)
-        {
-            obj1.setPropertyValue(&quot;foo&quot;, &quot;throw 'exception'&quot;, step1);
-
-            function step1(error)
-            {
-                InspectorTest.addResult(error);
-                InspectorTest.evaluateInPage(&quot;dumpObject('Set exception')&quot;, next);
-            }
-        },
-
-        function testSetNonFiniteNumbers(next)
-        {
-            obj1.setPropertyValue(&quot;foo&quot;, &quot;NaN&quot;, step1);
-
-            function step1(error)
-            {
-                obj1.setPropertyValue(&quot;foo1&quot;, &quot;Infinity&quot;, step2);
-            }
-
-            function step2(error)
-            {
-                obj1.setPropertyValue(&quot;foo2&quot;, &quot;-Infinity&quot;, step3);
-            }
-
-            function step3(error)
-            {
-                InspectorTest.evaluateInPage(&quot;dumpObject('Set non-finite numbers')&quot;, next);
-            }
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests WebInspector.RemoveObject.setPropertyValue implementation.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorscriptexecutionstatechangenotificationexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/script-execution-state-change-notification-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/script-execution-state-change-notification-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/script-execution-state-change-notification-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests that whenever Script Execution state is changed outside inspector, its notified to the Inspector front-end.
-
-Registered PageDispatcher.scriptsEnabled()
-running disableJavaScriptTest...
-PageDispatcher.scriptsEnabled should be invoked with isEnabled=false
-running enableJavaScriptTest...
-PageDispatcher.scriptsEnabled should be invoked with isEnabled=true
-Finished verification.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorscriptexecutionstatechangenotificationhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/script-execution-state-change-notification.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/script-execution-state-change-notification.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/script-execution-state-change-notification.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,54 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function enableJavaScriptForPage()
-{
-    if (window.testRunner)
-        testRunner.overridePreference(&quot;WebKitJavaScriptEnabled&quot;, true);
-}
-
-function disableJavaScriptForPage()
-{
-    if (window.testRunner)
-        testRunner.overridePreference(&quot;WebKitJavaScriptEnabled&quot;, false);
-}
-
-function test()
-{
-    function scriptsEnabled(isEnabled)
-    {
-        InspectorTest.addResult(&quot;PageDispatcher.scriptsEnabled should be invoked with isEnabled=&quot; + isEnabled);
-    }
-
-    function disableJavaScriptTest()
-    {
-        InspectorTest.addResult(&quot;running disableJavaScriptTest...&quot;);
-        InspectorTest.evaluateInPage(&quot;disableJavaScriptForPage();&quot;, enableJavaScriptTest);
-    }
-
-    function enableJavaScriptTest()
-    {
-        InspectorTest.addResult(&quot;running enableJavaScriptTest...&quot;);
-        InspectorTest.evaluateInPage(&quot;enableJavaScriptForPage();&quot;, finish);
-    }
-
-    function finish()
-    {
-        InspectorTest.addResult(&quot;Finished verification.&quot;)
-        InspectorTest.completeTest();
-    }
-
-    InspectorTest.addSniffer(WebInspector.PageDispatcher.prototype, &quot;scriptsEnabled&quot;, scriptsEnabled, true);
-    InspectorTest.addResult(&quot;Registered PageDispatcher.scriptsEnabled()&quot;);
-    disableJavaScriptTest();
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Tests that whenever Script Execution state is changed outside inspector, its notified to the Inspector front-end.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstoragepaneldomstorageemptyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/storage-panel-dom-storage-empty-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/storage-panel-dom-storage-empty-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/storage-panel-dom-storage-empty-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-Test that storage panel is present and that it contains no data for local and session DOM storages.
-
-Populated local and session storage
-Did show: Local storage
-Did show: Session storage
-Local storage content: 
-KeyValue pairs: 
-Session storage content: 
-KeyValue pairs: 
-DONE
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstoragepaneldomstorageemptyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/storage-panel-dom-storage-empty.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/storage-panel-dom-storage-empty.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/storage-panel-dom-storage-empty.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,70 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function clearDOMStorage()
-{
-    localStorage.clear();
-    sessionStorage.clear();
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;resources&quot;);
-
-    InspectorTest.evaluateInPage(&quot;clearDOMStorage()&quot;, function(result) {
-        InspectorTest.addResult(&quot;Populated local and session storage&quot;);
-    });
-    function name(storage)
-    {
-        return storage.isLocalStorage ? &quot;Local storage&quot; : &quot;Session storage&quot;;
-    }
-
-    function dumpDataGridContent(dataGrid)
-    {
-        var nodes = dataGrid.rootNode().children;
-        var rows = [];
-        for (var i = 0; i &lt; nodes.length; ++i) {
-            var node = nodes[i];
-            rows.push(node._data.key + node._data.value);
-        }
-        rows.sort();
-        InspectorTest.addResult(&quot;KeyValue pairs: &quot; + rows.join(''));
-    }
-
-    InspectorTest.runAfterPendingDispatches(function() {
-        var storages = WebInspector.domStorageModel.storages();
-        if (storages) {
-            for (var i = 0; i &lt; storages.length; i++) {
-                var storage = storages[i];
-                WebInspector.panels.resources._showDOMStorage(storage);
-                InspectorTest.addResult(&quot;Did show: &quot; + name(storage));
-            }
-        } else
-            InspectorTest.addResult(&quot;FAIL: no DOM storages found.&quot;);
-
-        InspectorTest.runAfterPendingDispatches(function() {
-            var storages = WebInspector.domStorageModel.storages();
-            for (var i = 0; i &lt; storages.length; i++) {
-                var storage = storages[i];
-                InspectorTest.addResult(name(storage) + &quot; content: &quot;);
-                var view = WebInspector.panels.resources._domStorageViews.get(storage);
-                dumpDataGridContent(view._dataGrid);
-            }
-            InspectorTest.addResult(&quot;DONE&quot;);
-            InspectorTest.completeTest();
-        });
-    });
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that storage panel is present and that it contains no data for local and session DOM storages.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstoragepaneldomstorageexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/storage-panel-dom-storage-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/storage-panel-dom-storage-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/storage-panel-dom-storage-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-Test that storage panel is present and that it contains correct data for local and session DOM storages.
-
-Populated local and session storage
-Did show: Local storage
-Did show: Session storage
-Local storage content: 
-KeyValue pairs: a0=value0, a1=value1, a2=value2, a3=value3, a4=value4, a5=value5, a6=value6, a7=value7, a8=value8, a9=value9, resource-history{}
-Session storage content: 
-KeyValue pairs: b0=value10, b1=value11, b2=value12, b3=value13, b4=value14, b5=value15, b6=value16, b7=value17, b8=value18, b9=value19, 
-DONE
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstoragepaneldomstorageupdateexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/storage-panel-dom-storage-update-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/storage-panel-dom-storage-update-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/storage-panel-dom-storage-update-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-Test that storage panel is present and that it contains correct data whenever localStorage is updated.
-
-
-Running: initialize
-Initialized localStorage by clearing entries
-
-Running: updateLocalStorageView
-Resource Panel with localStorage view updated
-
-Running: addItemTest
-addItem('a1','=value1')
-KeyValue pairs: [a1=value1]
-addItem('a2','=value2')
-KeyValue pairs: [a1=value1,a2=value2]
-addItem('a3','=value3')
-KeyValue pairs: [a1=value1,a2=value2,a3=value3]
-addItem('a4','=value4')
-KeyValue pairs: [a1=value1,a2=value2,a3=value3,a4=value4]
-addItem('a5','=value5')
-KeyValue pairs: [a1=value1,a2=value2,a3=value3,a4=value4,a5=value5]
-
-Running: removeItemTest
-removeItem('a5')
-KeyValue pairs: [a1=value1,a2=value2,a3=value3,a4=value4]
-removeItem('a4')
-KeyValue pairs: [a1=value1,a2=value2,a3=value3]
-
-Running: clearTest
-clear()
-KeyValue pairs: []
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstoragepaneldomstorageupdatehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/storage-panel-dom-storage-update.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/storage-panel-dom-storage-update.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/storage-panel-dom-storage-update.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,171 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function addItem(key,value)
-{
-    localStorage.setItem(key,value);
-}
-
-function removeItem(key)
-{
-    localStorage.removeItem(key);
-}
-
-function clear()
-{
-    localStorage.clear();
-}
-
-function test()
-{
-    var storage = null;
-    var rootNode = null;
-    var count = 1;
-
-    // Resources panel must be visible
-    WebInspector.showPanel(&quot;resources&quot;);
-
-    function dumpDataGrid()
-    {
-        var nodes = rootNode.children;
-        var rows = [];
-        for (var i = 0; i &lt; nodes.length; ++i) {
-            var node = nodes[i];
-            if (node._data.key.length)
-                rows.push(node._data.key + node._data.value);
-        }
-        rows.sort();
-        InspectorTest.addResult(&quot;KeyValue pairs: [&quot; + rows.join() + &quot;]&quot;);
-    }
-
-    var nextDOMStorageClearHandler = null;
-    InspectorTest.addSniffer(WebInspector.DOMStorageDispatcher.prototype, &quot;domStorageItemsCleared&quot;, function() {
-        if (nextDOMStorageClearHandler) {
-            var handler = nextDOMStorageClearHandler;
-            nextDOMStorageClearHandler = null;
-            handler();
-        } else
-            InspectorTest.addResult(&quot;ERROR: domStorageItemsCleared event without handler&quot;);
-    }, true);
-
-    var nextDOMStorageAddHandler = null;
-    InspectorTest.addSniffer(WebInspector.DOMStorageDispatcher.prototype, &quot;domStorageItemAdded&quot;, function() {
-        if (nextDOMStorageAddHandler) {
-            var handler = nextDOMStorageAddHandler;
-            nextDOMStorageAddHandler = null;
-            handler();
-        } else
-            InspectorTest.addResult(&quot;ERROR: domStorageItemAdded event without handler&quot;);
-    }, true);
-
-    var nextDOMStorageRemoveHandler = null;
-    InspectorTest.addSniffer(WebInspector.DOMStorageDispatcher.prototype, &quot;domStorageItemRemoved&quot;, function() {
-        if (nextDOMStorageRemoveHandler) {
-            var handler = nextDOMStorageRemoveHandler;
-            nextDOMStorageRemoveHandler = null;
-            handler();
-        } else
-            InspectorTest.addResult(&quot;ERROR: domStorageItemRemoved event without handler&quot;);
-    }, true);
-
-    InspectorTest.runTestSuite([
-        function initialize(next)
-        {
-            function didClear(result)
-            {
-                InspectorTest.addResult(&quot;Initialized localStorage by clearing entries&quot;);
-                next();
-            }
-
-            nextDOMStorageClearHandler = didClear;
-
-            InspectorTest.evaluateInPage(&quot;clear()&quot;);
-        },
-
-        function updateLocalStorageView(next)
-        {
-            function localStorageViewUpdated()
-            {
-                rootNode = WebInspector.panels.resources._domStorageViews.get(storage)._dataGrid.rootNode();
-                InspectorTest.addResult(&quot;Resource Panel with localStorage view updated&quot;);
-                next();
-            }
-
-            var didFindStorage = false;
-
-            var storages = WebInspector.domStorageModel.storages();
-            for (var i = 0; i &lt; storages.length; ++i) {
-                storage = storages[i];
-                if (storage.isLocalStorage) {
-                    WebInspector.panels.resources._showDOMStorage(storage);
-                    InspectorTest.runAfterPendingDispatches(localStorageViewUpdated);
-                    didFindStorage = true;
-                    break;
-                }
-            }
-
-            if (!didFindStorage)
-                InspectorTest.addResult(&quot;did not find local storage&quot;);
-        },
-
-        function addItemTest(next)
-        {
-            function viewUpdatedAfterAddition()
-            {
-                rootNode = WebInspector.panels.resources._domStorageViews.get(storage)._dataGrid.rootNode();
-                dumpDataGrid();
-                if (count &lt; 6)
-                    addItemTest(next);
-                else
-                    next();
-            }
-
-            nextDOMStorageAddHandler = viewUpdatedAfterAddition;
-
-            InspectorTest.addResult(&quot;addItem('a&quot;+count+&quot;','=value&quot;+count+&quot;')&quot;);
-            InspectorTest.evaluateInPage(&quot;addItem('a&quot;+count+&quot;','=value&quot;+count+&quot;')&quot;);
-            count++;
-        },
-
-        function removeItemTest(next)
-        {
-            function viewUpdatedAfterRemoval()
-            {
-                rootNode = WebInspector.panels.resources._domStorageViews.get(storage)._dataGrid.rootNode();
-                dumpDataGrid();
-                if (count &gt; 4)
-                    removeItemTest(next);
-                else
-                    next();
-            }
-
-            nextDOMStorageRemoveHandler = viewUpdatedAfterRemoval;
-
-            --count;
-            InspectorTest.addResult(&quot;removeItem('a&quot;+count+&quot;')&quot;);
-            InspectorTest.evaluateInPage(&quot;removeItem('a&quot;+count+&quot;')&quot;);
-        },
-
-        function clearTest(next)
-        {
-            function viewUpdatedAfterClear()
-            {
-                rootNode = WebInspector.panels.resources._domStorageViews.get(storage)._dataGrid.rootNode();
-                dumpDataGrid();
-                next();
-            }
-
-            nextDOMStorageClearHandler = viewUpdatedAfterClear;
-
-            InspectorTest.addResult(&quot;clear()&quot;);
-            InspectorTest.evaluateInPage(&quot;clear()&quot;);
-        }
-    ]);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;Test that storage panel is present and that it contains correct data whenever localStorage is updated.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstoragepaneldomstoragehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/storage-panel-dom-storage.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/storage-panel-dom-storage.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/storage-panel-dom-storage.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,76 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function populateDOMStorage()
-{
-    localStorage.clear();
-    sessionStorage.clear();
-    localStorage[&quot;resource-history&quot;] = &quot;{}&quot;; // This mitigates file:// localstorage conflict.
-    // Fill local and session storage with some random strings.
-    for (var i = 0; i &lt; 10; i++) {
-        localStorage[&quot;a&quot; + i] = &quot;=value&quot; + i + &quot;, &quot;;
-        sessionStorage[&quot;b&quot; + i] = &quot;=value&quot; + (i+10) + &quot;, &quot;;
-    }
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;resources&quot;);
-
-    InspectorTest.evaluateInPage(&quot;populateDOMStorage()&quot;, function(result) {
-        InspectorTest.addResult(&quot;Populated local and session storage&quot;);
-    });
-    function name(storage)
-    {
-        return storage.isLocalStorage ? &quot;Local storage&quot; : &quot;Session storage&quot;;
-    }
-
-    function dumpDataGridContent(dataGrid)
-    {
-        var nodes = dataGrid.rootNode().children;
-        var rows = [];
-        for (var i = 0; i &lt; nodes.length; ++i) {
-            var node = nodes[i];
-            rows.push(node._data.key + node._data.value);
-        }
-        rows.sort();
-        InspectorTest.addResult(&quot;KeyValue pairs: &quot; + rows.join(''));
-    }
-
-    InspectorTest.runAfterPendingDispatches(function() {
-        var storages = WebInspector.domStorageModel.storages();
-        if (storages) {
-            for (var i = 0; i &lt; storages.length; i++) {
-                var storage = storages[i];
-                WebInspector.panels.resources._showDOMStorage(storage);
-                InspectorTest.addResult(&quot;Did show: &quot; + name(storage));
-            }
-        } else
-            InspectorTest.addResult(&quot;FAIL: no DOM storages found.&quot;);
-
-        InspectorTest.runAfterPendingDispatches(function() {
-            var storages = WebInspector.domStorageModel.storages();
-            for (var i = 0; i &lt; storages.length; i++) {
-                var storage = storages[i];
-                InspectorTest.addResult(name(storage) + &quot; content: &quot;);
-                var view = WebInspector.panels.resources._domStorageViews.get(storage);
-                dumpDataGridContent(view._dataGrid);
-            }
-            InspectorTest.addResult(&quot;DONE&quot;);
-            InspectorTest.completeTest();
-        });
-    });
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test that storage panel is present and that it contains correct data for local and session DOM storages.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesaddnewruleinlinestylecspexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-Tests that adding a new rule does not crash the renderer and modifying an inline style does not report errors when forbidden by Content-Security-Policy.
-
-Text
-
-Running: testSetUp
-
-Running: testAddRule
-=== Rule added ===
-#inspected {}
-Affects selected (#inspected) node: true
-
-Running: testAddProperty
-=== Added rule modified ===
-width: 100%;
-=== Selector changed ===
-body {
-    width: 100%;
-}
-Affects selected (#inspected) node: false
-
-Running: testModifyInlineStyle
-=== Inline style modified ===
-font-size: 14px;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesaddnewruleinlinestylecsphtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,127 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;meta http-equiv=&quot;x-webkit-csp&quot; content=&quot;style-src https://*:443&quot;&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var nodeId;
-    var rule;
-
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.runTestSuite([
-        function testSetUp(next) {
-          InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, next);
-        },
-
-        function testAddRule(next)
-        {
-            var idToDOMNode = WebInspector.domAgent._idToDOMNode;
-            for (var id in idToDOMNode) {
-                node = idToDOMNode[id];
-                if (node.getAttribute &amp;&amp; node.getAttribute(&quot;id&quot;) === &quot;inspected&quot;) {
-                    nodeId = parseInt(id, 10);
-                    WebInspector.cssModel.addRule(nodeId, &quot;#inspected&quot;, successCallback, failureCallback);
-                    break;
-                }
-            }
-
-            function successCallback(newRule, doesAffectSelectedNode)
-            {
-                rule = newRule;
-                InspectorTest.addResult(&quot;=== Rule added ===&quot;);
-                InspectorTest.addResult(rule.selectorText + &quot; {&quot; + rule.style.cssText + &quot;}&quot;);
-                InspectorTest.addResult(&quot;Affects selected (#inspected) node: &quot; + doesAffectSelectedNode);
-                next();
-            }
-
-            function failureCallback()
-            {
-                InspectorTest.addResult(&quot;[!] Failed to add rule.&quot;);
-                InspectorTest.completeTest();
-            }
-        },
-
-        function testAddProperty(next)
-        {
-            rule.style.appendProperty(&quot;width&quot;, &quot;100%&quot;, callback);
-
-            function callback(newStyle)
-            {
-                InspectorTest.addResult(&quot;=== Added rule modified ===&quot;);
-                if (!newStyle) {
-                    InspectorTest.addResult(&quot;[!] No valid rule style received&quot;);
-                    InspectorTest.completeTest();
-                } else {
-                    dumpProperties(newStyle);
-                    WebInspector.cssModel.setRuleSelector(rule.id, nodeId, &quot;body&quot;, successCallback, failureCallback);
-                }
-            }
-
-            function successCallback(rule, doesAffectSelectedNode)
-            {
-                InspectorTest.addResult(&quot;=== Selector changed ===&quot;);
-                InspectorTest.addResult(rule.selectorText + &quot; {&quot; + rule.style.cssText + &quot;}&quot;);
-                InspectorTest.addResult(&quot;Affects selected (#inspected) node: &quot; + doesAffectSelectedNode);
-
-                next();
-            }
-
-            function failureCallback()
-            {
-                InspectorTest.addResult(&quot;[!] Failed to change selector&quot;);
-                InspectorTest.completeTest();
-            }
-        },
-
-        function testModifyInlineStyle(next)
-        {
-            WebInspector.cssModel.getInlineStylesAsync(nodeId, stylesCallback);
-
-            function stylesCallback(inlineStyle)
-            {
-                if (!inlineStyle) {
-                    InspectorTest.completeTest();
-                    return;
-                }
-                inlineStyle.appendProperty(&quot;font-size&quot;, &quot;14px&quot;, appendCallback);
-            }
-
-            function appendCallback(newStyle)
-            {
-                InspectorTest.addResult(&quot;=== Inline style modified ===&quot;);
-                if (!newStyle) {
-                    InspectorTest.addResult(&quot;No valid inline style received&quot;);
-                    InspectorTest.completeTest();
-                    return;
-                }
-
-                dumpProperties(newStyle);
-                next();
-            }
-        }
-    ]);
-
-    function dumpProperties(style)
-    {
-       if (!style)
-           return;
-       var allProperties = style.allProperties;
-       for (var i = 0; i &lt; allProperties.length; ++i)
-           InspectorTest.addResult(allProperties[i].text);
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that adding a new rule does not crash the renderer and modifying an inline style does not report errors when forbidden by Content-Security-Policy.
-&lt;/p&gt;
-
-&lt;div id=&quot;inspected&quot;&gt;Text&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesaddnewruleinvalidselectorexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-Tests that adding a new rule with invalid selector works as expected.
-
-Text
-
-Running: init
-
-Running: keyframesRuleSelector
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesaddnewruleinvalidselectorhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,45 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.runTestSuite([
-        function init(next)
-        {
-            WebInspector.showPanel(&quot;elements&quot;);
-            InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, next);
-        },
-
-        function keyframesRuleSelector(next)
-        {
-            // Click &quot;Add new rule&quot;.
-            document.getElementById(&quot;add-style-button-test-id&quot;).click();
-            var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
-            section._selectorElement.textContent = &quot;@-webkit-keyframes shake&quot;;
-            section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-            InspectorTest.runAfterPendingDispatches(callback);
-
-            function callback()
-            {
-                InspectorTest.dumpSelectedElementStyles(true, false, true);
-                next();
-            }
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that adding a new rule with invalid selector works as expected.
-&lt;/p&gt;
-
-&lt;div id=&quot;inspected&quot;&gt;Text&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesaddnewrulewithstyleafterbodyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-Tests that adding a new rule works when there is a STYLE element after BODY. TIMEOUT SHOULD NOT OCCUR! Bug 111299
-
-Text
-After adding new rule:
-[expanded] 
-element.style  { ()
-font-size: 12px;
-
-[expanded] [no-affect] 
-inspected  { (inspector-stylesheet:1)
-color: maroon;
-: ;
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesaddnewrulewithstyleafterbodyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,67 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function addStyle()
-{
-    var style = document.createElement(&quot;style&quot;);
-    document.documentElement.appendChild(style);
-    style.sheet.insertRule(&quot;foo {display: none;}&quot;, 0);
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.evaluateInPage(&quot;addStyle()&quot;, step0);
-
-    function step0()
-    {
-        InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
-    }
-
-    var treeElement;
-    var hasResourceChanged;
-
-    function step1()
-    {
-        // Click &quot;Add new rule&quot;.
-        document.getElementById(&quot;add-style-button-test-id&quot;).click();
-        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
-        section._selectorElement.textContent = &quot;inspected&quot;;
-        section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        InspectorTest.runAfterPendingDispatches(step2);
-    }
-
-    function step2()
-    {
-        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
-        var newProperty = section.addNewBlankProperty();
-        newProperty.startEditing();
-        newProperty.nameElement.textContent = &quot;color&quot;;
-        newProperty.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        newProperty.valueElement.textContent = &quot;maroon&quot;;
-        newProperty.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        InspectorTest.waitForStyles(&quot;inspected&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;After adding new rule:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that adding a new rule works when there is a STYLE element after BODY. TIMEOUT SHOULD NOT OCCUR! &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=111299&quot;&gt;Bug 111299&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;div id=&quot;inspected&quot; style=&quot;font-size: 12px&quot;&gt;Text&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesgetsetstylesheettextexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/get-set-stylesheet-text-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/get-set-stylesheet-text-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/get-set-stylesheet-text-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,44 +0,0 @@
</span><del>-Tests that WebInspector.CSSStyleSheet methods work as expected.
-
-Inspect Me
-
-
-Running: testSetText
-=== Original stylesheet text: ===
-body {
-    font-size: 12px;
-    foo: bar !
-
-    important /* !important property not recognized by WebCore */;
-    height: 100% !important;
-    colorz: &quot;!important&quot;;
-    important:!important;
-    color: &quot;badcolor&quot; ! important /* good property with strange value */;
-}
-
-@media {
-    /* @media rule with an empty media list */
-}
-
-/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
-
-body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
-
-
-Running: testNewElementStyles
-=== Matched rules for h1 after setText() ===
-
-rule
-h1: [user-agent]
-['display':'block'] @[undefined-undefined] style
-['font-size':'2em'] @[undefined-undefined] style
-['-webkit-margin-before':'0.67em'] @[undefined-undefined] style
-['-webkit-margin-after':'0.67em'] @[undefined-undefined] style
-['-webkit-margin-start':'0px'] @[undefined-undefined] style
-['-webkit-margin-end':'0px'] @[undefined-undefined] style
-['font-weight':'bold'] @[undefined-undefined] style
-
-rule
-h1: [regular]
-['COLOR':'Red'] @[0:5-0:16] active
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesgetsetstylesheettexthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/get-set-stylesheet-text.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/get-set-stylesheet-text.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/get-set-stylesheet-text.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,117 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-
-/* An inline stylesheet */
-body.mainpage {
-    text-decoration: none;
-}
-&lt;/style&gt;
-
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/get-set-stylesheet-text.css&quot;&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var foundStyleSheet;
-
-    CSSAgent.getAllStyleSheets(findStyleSheet);
-
-    function findStyleSheet(error, styleSheetInfos)
-    {
-        function callback(styleSheet)
-        {
-            foundStyleSheet = styleSheet;
-            InspectorTest.runTestSuite([ testSetText, testNewElementStyles ]);
-        }
-
-        for (var i = 0; i &lt; styleSheetInfos.length; ++i) {
-            if (styleSheetInfos[i].sourceURL.indexOf(&quot;get-set-stylesheet-text.css&quot;) &gt;= 0) {
-                foundStyleSheetInfo = styleSheetInfos[i];
-                WebInspector.CSSStyleSheet.createForId(foundStyleSheetInfo.styleSheetId, callback);
-            }
-        }
-    }
-
-    function testSetText(next)
-    {
-        function callback(error)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;Failed to set stylesheet text: &quot; + error);
-                return;
-            }
-
-            InspectorTest.runAfterPendingDispatches(next);
-        }
-
-        InspectorTest.addResult(&quot;=== Original stylesheet text: ===&quot;);
-        InspectorTest.addResult(foundStyleSheet.getText());
-        foundStyleSheet.setText(&quot;h1 { COLOR: Red; }&quot;, true, callback);
-    }
-
-    function testNewElementStyles()
-    {
-        function callback(error, matchedCSSRules)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-
-            InspectorTest.addResult(&quot;=== Matched rules for h1 after setText() ===&quot;);
-            dumpMatchesArray(matchedCSSRules);
-            InspectorTest.completeTest();
-        }
-
-        function nodeCallback(node)
-        {
-            CSSAgent.getMatchedStylesForNode(node.id, false, false, callback);
-        }
-
-        InspectorTest.selectNodeWithId(&quot;inspected&quot;, nodeCallback);
-    }
-
-
-    // Data dumping
-
-    function dumpMatchesArray(rules)
-    {
-        if (!rules)
-            return;
-        for (var i = 0; i &lt; rules.length; ++i)
-            dumpRuleOrStyle(rules[i].rule);
-    }
-
-    function dumpRuleOrStyle(ruleOrStyle)
-    {
-        if (!ruleOrStyle)
-            return;
-        var isRule = !!(ruleOrStyle.style);
-        var style = isRule ? ruleOrStyle.style : ruleOrStyle;
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(isRule ? &quot;rule&quot; : &quot;style&quot;);
-        InspectorTest.addResult((isRule ? (ruleOrStyle.selectorList.text + &quot;: [&quot; + ruleOrStyle.origin + &quot;]&quot;) : &quot;raw style&quot;));
-        for (var i = 0; i &lt; style.cssProperties.length; ++i) {
-            var property = style.cssProperties[i];
-            if (property.status !== &quot;disabled&quot;)
-                InspectorTest.addResult(&quot;['&quot; + property.name + &quot;':'&quot; + property.value + &quot;'&quot; + (property.priority === &quot;important&quot; ? &quot; is-important&quot; : &quot;&quot;) + ((&quot;parsedOk&quot; in property) ? &quot; non-parsed&quot; : &quot;&quot;) +&quot;] @&quot; + InspectorTest.rangeText(property.range) + &quot; &quot; + (property.status || &quot;style&quot;));
-            else
-                InspectorTest.addResult(&quot;[text='&quot; + property.text + &quot;'] &quot; + property.status);
-        }
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that WebInspector.CSSStyleSheet methods work as expected.
-&lt;/p&gt;
-&lt;h1 id=&quot;inspected&quot;&gt;Inspect Me&lt;/h1&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesimportpseudoclasscrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/import-pseudoclass-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/import-pseudoclass-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/import-pseudoclass-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-Tests that modifying stylesheet text with @import and :last-child selector does not crash (Bug 95324).
-
-:last-child
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesimportpseudoclasscrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/import-pseudoclass-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/import-pseudoclass-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/import-pseudoclass-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/import-pseudoclass-crash.css&quot;&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.nodeWithId(&quot;lastchild&quot;, nodeFound);
-
-    function nodeFound(node)
-    {
-        WebInspector.cssModel.getMatchedStylesAsync(node.id, true, false, matchedStylesCallback);
-    }
-
-    var styleSheetId;
-
-    function matchedStylesCallback(styles)
-    {
-        styleSheetId = styles.matchedCSSRules[1].id.styleSheetId;
-        CSSAgent.setStyleSheetText(styleSheetId,
-            &quot;@import url(\&quot;import-pseudoclass-crash-empty.css\&quot;);\n\n:last-child { color: #000001; }\n&quot;, modifiedCallback);
-    }
-
-    function modifiedCallback()
-    {
-        CSSAgent.setStyleSheetText(styleSheetId, &quot;@import url(\&quot;import-pseudoclass-crash-empty.css\&quot;);\n\n:last-child { color: #002001; }\n&quot;, modifiedCallback2);
-    }
-
-    function modifiedCallback2()
-    {
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that modifying stylesheet text with @import and :last-child selector does not crash (&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=95324&quot;&gt;Bug 95324&lt;/a&gt;).
-&lt;/p&gt;
-
-&lt;div&gt;
-    &lt;p id=&quot;lastchild&quot;&gt;:last-child&lt;/p&gt;
-&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesinjectstylesheetexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/inject-stylesheet-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/inject-stylesheet-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/inject-stylesheet-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,135 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: iframe loaded
-Tests that injected user stylesheets are reflected in the Styles pane.
-
-
-Main frame style:
-[expanded] 
--webkit-background-clip: border-box;
--webkit-background-origin: padding-box;
--webkit-background-size: auto;
--webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQ…Ms+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==) 100% / 1 / 0px stretch;
-    #main - url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQVR42r2RsQrDMAxEBRdl8SDcX8lQPGg1GBI6lvz/h7QyRRXV0qUULwfvwZ1tenw5PxToRPWMC52eA9+WDnlh3HFQ/xBQl86NFYJqeGflkiogrOvVlIFhqURFVho3x1moGAa3deMs+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==) user stylesheet
-background-attachment: scroll;
-    #main - initial inject-stylesheet.html:5
-background-clip: border-box;
-    #main - initial inject-stylesheet.html:5
-background-color: rgb(0, 0, 255);
-    #main - blue inject-stylesheet.html:5
-background-image: none;
-    #main - initial inject-stylesheet.html:5
-background-origin: padding-box;
-    #main - initial inject-stylesheet.html:5
-background-size: auto;
-    #main - initial inject-stylesheet.html:5
-color: rgb(255, 0, 0);
-    #main - red user stylesheet
-display: block;
-    div - block user agent stylesheet
-
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-media=&quot;screen&quot; (inject-stylesheet.html)
-#main  { (inject-stylesheet.html:5)
-background: blue;
-    background-image: initial;
-    background-position-x: initial;
-    background-position-y: initial;
-    background-size: initial;
-    background-repeat-x: initial;
-    background-repeat-y: initial;
-    background-attachment: initial;
-    background-origin: initial;
-    background-clip: initial;
-    background-color: blue;
-
-[expanded] 
-#main  { (user stylesheet)
-color: red;
--webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQ…Ms+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==);
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-iframe style:
-[expanded] 
--webkit-background-clip: border-box;
--webkit-background-origin: padding-box;
--webkit-background-size: auto;
-background-attachment: scroll;
-    body - initial inject-stylesheet-iframe-data.html:4
-    /-- overloaded --/ #iframebody - initial user stylesheet
-background-clip: border-box;
-    body - initial inject-stylesheet-iframe-data.html:4
-    /-- overloaded --/ #iframebody - initial user stylesheet
-background-color: rgb(0, 128, 0);
-    body - green inject-stylesheet-iframe-data.html:4
-    /-- overloaded --/ #iframebody - red user stylesheet
-background-image: none;
-    body - initial inject-stylesheet-iframe-data.html:4
-    /-- overloaded --/ #iframebody - initial user stylesheet
-background-origin: padding-box;
-    body - initial inject-stylesheet-iframe-data.html:4
-    /-- overloaded --/ #iframebody - initial user stylesheet
-background-size: auto;
-    body - initial inject-stylesheet-iframe-data.html:4
-    /-- overloaded --/ #iframebody - initial user stylesheet
-display: block;
-    body - block user agent stylesheet
-margin-bottom: 8px;
-    body - 8px user agent stylesheet
-margin-left: 8px;
-    body - 8px user agent stylesheet
-margin-right: 8px;
-    body - 8px user agent stylesheet
-margin-top: 8px;
-    body - 8px user agent stylesheet
-
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-media=&quot;screen&quot; (inject-stylesheet-iframe-data.html)
-body  { (inject-stylesheet-iframe-data.html:4)
-background: green;
-    background-image: initial;
-    background-position-x: initial;
-    background-position-y: initial;
-    background-size: initial;
-    background-repeat-x: initial;
-    background-repeat-y: initial;
-    background-attachment: initial;
-    background-origin: initial;
-    background-clip: initial;
-    background-color: green;
-
-[expanded] 
-#iframebody  { (user stylesheet)
-/-- overloaded --/ background: red;
-    /-- overloaded --/ background-image: initial;
-    /-- overloaded --/ background-position-x: initial;
-    /-- overloaded --/ background-position-y: initial;
-    /-- overloaded --/ background-size: initial;
-    /-- overloaded --/ background-repeat-x: initial;
-    /-- overloaded --/ background-repeat-y: initial;
-    /-- overloaded --/ background-attachment: initial;
-    /-- overloaded --/ background-origin: initial;
-    /-- overloaded --/ background-clip: initial;
-    /-- overloaded --/ background-color: red;
-
-[expanded] 
-body  { (user agent stylesheet)
-display: block;
-margin: 8px;
-    margin-top: 8px;
-    margin-right: 8px;
-    margin-bottom: 8px;
-    margin-left: 8px;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesinjectstylesheethtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/inject-stylesheet.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/inject-stylesheet.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/inject-stylesheet.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
-  #main { background:blue; }
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function injectStyleSheet()
-{
-    var styleSheet = &quot;#main { color: red; -webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQVR42r2RsQrDMAxEBRdl8SDcX8lQPGg1GBI6lvz/h7QyRRXV0qUULwfvwZ1tenw5PxToRPWMC52eA9+WDnlh3HFQ/xBQl86NFYJqeGflkiogrOvVlIFhqURFVho3x1moGAa3deMs+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==) }  #iframeBody { background: red }&quot;;
-    if (window.testRunner)
-        window.testRunner.addUserStyleSheet(styleSheet, true);
-}
-
-function loadIframe()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.src = &quot;resources/inject-stylesheet-iframe-data.html&quot;;
-    document.getElementById(&quot;main&quot;).appendChild(iframe);
-}
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;injectStyleSheet()&quot;, init);
-
-    function init()
-    {
-        InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;main&quot;, step0);
-    }
-
-    function step0()
-    {
-        InspectorTest.addResult(&quot;Main frame style:&quot;);
-        InspectorTest.dumpSelectedElementStyles();
-        InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
-        InspectorTest.addConsoleSniffer(step1);
-    }
-
-    function step1()
-    {
-        InspectorTest.selectNodeAndWaitForStyles(&quot;iframeBody&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;iframe style:&quot;);
-        InspectorTest.dumpSelectedElementStyles();
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that injected user stylesheets are reflected in the Styles pane.
-&lt;/p&gt;
-
-&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesparsestylesheeterrorsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/parse-stylesheet-errors-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/parse-stylesheet-errors-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/parse-stylesheet-errors-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-Tests that CSSParser produces source data consistent with CSSOM when parsing broken stylesheets. Bug 98246
-
-body: [regular, 1:0-1:4] {
-    ['color':'black'] @[2:4-2:17] active
-}
-body: [regular, 12:0-12:4] {
-    ['background-color':'broken-declaration' non-parsed] @[13:4-13:41] active
-}
-body: [regular, 2:0-2:4] {
-    ['color':'import-error' non-parsed] @[3:4-3:24] active
-}
-body: [regular, 2:0-2:4] {
-    ['color':'import-error-block' non-parsed] @[3:4-3:30] active
-}
-body: [regular, 2:0-2:4] {
-    ['color':'media-empty' non-parsed] @[3:4-3:23] active
-}
-body: [regular, 2:0-2:4] {
-    ['color':'page-error' non-parsed] @[3:4-3:22] active
-}
-body: [regular, 2:0-2:4] {
-    ['color':'page-block' non-parsed] @[3:4-3:22] active
-}
-body: [regular, 1:0-1:4] {
-    ['color':'before-import' non-parsed] @[2:4-2:25] active
-}
-body: [regular, 5:0-5:4] {
-    ['color':'after-import' non-parsed] @[6:4-6:24] active
-}
-body: [regular, 4:0-4:4] {
-    ['color':'after-invalid-font-face' non-parsed] @[5:4-5:35] active
-}
-body: [regular, 3:0-3:4] {
-    ['color':'after-invalid-region' non-parsed] @[4:4-4:32] active
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesparsestylesheeterrorshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/parse-stylesheet-errors.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/parse-stylesheet-errors.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/parse-stylesheet-errors.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,118 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-
-    CSSAgent.getAllStyleSheets(headersCallback);
-
-    function headersCallback(error, headers)
-    {
-        if (error) {
-            InspectorTest.addResult(&quot;Error loading stylesheet headers: &quot; + error);
-            InspectorTest.completeTest();
-            return;
-        }
-
-        for (var i = 0; i &lt; headers.length; ++i)
-            CSSAgent.getStyleSheet(headers[i].styleSheetId, styleSheetCallback.bind(null, i === headers.length - 1));
-    }
-
-    function styleSheetCallback(isLast, error, styleSheet)
-    {
-        if (error) {
-            InspectorTest.addResult(&quot;Error loading stylesheet body: &quot; + error);
-            InspectorTest.completeTest();
-            return;
-        }
-
-        InspectorTest.dumpRulesArray(styleSheet.rules);
-        if (isLast)
-            InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-
-&lt;style&gt;
-body {
-    color: black;
-}
-
-font-family: serif;
-}
-
-body:hover {
-    color: #CDE;
-}
-
-body {
-    background-color: broken-declaration;
-}
-
-&lt;/style&gt;
-&lt;style&gt;
-@import 12;
-body {
-    color: import-error;
-}
-&lt;/style&gt;
-&lt;style&gt;
-@import 12 {}
-body {
-    color: import-error-block;
-}
-&lt;/style&gt;
-&lt;style&gt;
-@media ;
-body {
-    color: media-empty;
-}
-&lt;/style&gt;
-&lt;style&gt;
-@page ;
-body {
-    color: page-error;
-}
-&lt;/style&gt;
-&lt;style&gt;
-@page {}
-body {
-    color: page-block;
-}
-&lt;/style&gt;
-&lt;style&gt;
-body {
-    color: before-import;
-}
-@import &quot;foo&quot;;
-body {
-    color: after-import;
-}
-&lt;/style&gt;
-&lt;style&gt;
-@font-face {
-    font-family: initial;
-}
-body {
-    color: after-invalid-font-face;
-}
-&lt;/style&gt;
-&lt;style&gt;
-@-webkit-region %^% {
-}
-body {
-    color: after-invalid-region;
-}
-&lt;/style&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that CSSParser produces source data consistent with CSSOM when parsing broken stylesheets. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=98246&quot;&gt;Bug 98246&lt;/a&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesparseutf8bomexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/parse-utf8-bom-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/parse-utf8-bom-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/parse-utf8-bom-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-Tests that source data are extracted correctly from external stylesheets in UTF-8 with BOM. Bug 59322.
-
-I'm red.
-
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-h1  { (parse-utf8-bom-main.css:3)
-color: red;
-
-[expanded] 
-h1  { (user agent stylesheet)
-display: block;
-font-size: 2em;
--webkit-margin-before: 0.67em;
--webkit-margin-after: 0.67em;
--webkit-margin-start: 0px;
--webkit-margin-end: 0px;
-font-weight: bold;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesparseutf8bomhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/parse-utf8-bom.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/parse-utf8-bom.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/parse-utf8-bom.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;resources/parse-utf8-bom-main.css&quot;&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that source data are extracted correctly from external stylesheets in UTF-8 with BOM. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=59322&quot;&gt;Bug 59322&lt;/a&gt;.
-&lt;/p&gt;
-&lt;h1 id=&quot;inspected&quot;&gt;
-I'm red.
-&lt;/h1&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesregionstylecrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/region-style-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/region-style-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/region-style-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-Tests that webkit css region styling can be parsed correctly. Test passes if it doesn't crash.
-
-P color styled in region: #008000.
-
-[expanded] 
-color: rgb(255, 0, 0);
-    #p1 - #ff0000 region-style-crash.html:6
-display: block;
-    p - block user agent stylesheet
-
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-#p1  { (region-style-crash.html:6)
-color: #ff0000;
-
-[expanded] 
-p  { (user agent stylesheet)
-display: block;
--webkit-margin-before: 1em;
--webkit-margin-after: 1em;
--webkit-margin-start: 0px;
--webkit-margin-end: 0px;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesregionstylecrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/region-style-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/region-style-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/region-style-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-#article1 { -webkit-flow-into: flow1; }
-#region1 { -webkit-flow-from: flow1; position: absolute; top: 10px; width: 350px; height: 25px;}
-#p1 { color: #ff0000; }
-@-webkit-region #region1 {
-    #p1 { color: #008000; }
-}
-
-&lt;/style&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;p1&quot;, dumpAllStyles);
-
-    function dumpAllStyles()
-    {
-        InspectorTest.dumpSelectedElementStyles();
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that webkit css region styling can be parsed correctly. Test passes if it doesn't crash.
-&lt;/p&gt;
-
-&lt;div id=&quot;article1&quot;&gt;
-    &lt;p id=&quot;p1&quot;&gt;P color styled in region: #008000.&lt;/p&gt;
-&lt;/div&gt;
-&lt;div id=&quot;region1&quot; class=&quot;regionBox&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesremovedrulecrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/removed-rule-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/removed-rule-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/removed-rule-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-Tests that disabling style property after the style rule has been removed does not crash the inspected page.
-
-Before disable
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-#container  { (removed-rule-crash.html:4)
-font-weight: bold;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-PASS: No crash
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesremovedrulecrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/removed-rule-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/removed-rule-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/removed-rule-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-#container {
-    font-weight: bold;
-}
-&lt;/style&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function removeRule()
-{
-    document.styleSheets[0].removeRule(0);
-}
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step0);
-
-    function step0(node)
-    {
-        InspectorTest.evaluateInPage(&quot;removeRule()&quot;, step1);
-    }
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Before disable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        InspectorTest.toggleMatchedStyleProperty(&quot;font-weight&quot;, false);
-        InspectorTest.runAfterPendingDispatches(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;PASS: No crash&quot;);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that disabling style property after the style rule has been removed does not crash the inspected page.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot;&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesfromcsspng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/fromcss.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesgetsetstylesheettextcss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/get-set-stylesheet-text.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/get-set-stylesheet-text.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/get-set-stylesheet-text.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-body {
-    font-size: 12px;
-    foo: bar !
-
-    important /* !important property not recognized by WebCore */;
-    height: 100% !important;
-    colorz: &quot;!important&quot;;
-    important:!important;
-    color: &quot;badcolor&quot; ! important /* good property with strange value */;
-}
-
-@media {
-    /* @media rule with an empty media list */
-}
-
-/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
-
-body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesiframedpng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/iframed.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesimportpseudoclasscrashemptycss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/import-pseudoclass-crash-empty.css ( => )</h4>
<pre class="diff"><span>
<span class="info">Deleted: trunk/LayoutTests/inspector/styles/resources/import-pseudoclass-crash.css
===================================================================
</span><del>--- trunk/LayoutTests/inspector/styles/resources/import-pseudoclass-crash.css        2014-02-22 01:03:51 UTC (rev 164517)
</del><ins>+++ trunk/LayoutTests/inspector/styles/resources/import-pseudoclass-crash.css        2014-02-22 01:58:54 UTC (rev 164518)
</ins><span class="lines">@@ -1,5 +0,0 @@
</span><del>-@import url(&quot;import-pseudoclass-crash-empty.css&quot;);
-
-:last-child {
-  color: #000;
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesinjectstylesheetiframedatahtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/inject-stylesheet-iframe-data.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/inject-stylesheet-iframe-data.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/inject-stylesheet-iframe-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
-  body { background:green; }
-&lt;/style&gt;
-&lt;script&gt;
-function iframeOnload()
-{
-    console.log(&quot;iframe loaded&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;iframeOnload()&quot; id=&quot;iframeBody&quot;&gt;
-&lt;/body&gt;
-
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesmediaqueries1css"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/media-queries-1.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/media-queries-1.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/media-queries-1.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-body {
-    margin: 0;
-}
-
-@media not aural {
-    #main { border: 1px solid black; }
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesmediaqueriescss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/media-queries.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/media-queries.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/media-queries.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-
-
-@import url(media-queries-1.css) screen;
-
-@media screen {
-    #main { color: yellow; }
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesparseutf8bommaincss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-main.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-main.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-main.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-@import './parse-utf8-bom-reset.css';
-
-h1 {
-    color: red;
-}
-
-h2 {
-    color: blue;
-}
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesparseutf8bomresetcss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-reset.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-reset.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-reset.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesselectorlinecss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/selector-line.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/selector-line.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/selector-line.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-#container {
-  background: papayawhip; }
-  #container #inspected {
-    color: green; }
-
-/*@ sourceMappingURL=selector-line.css.map */
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesselectorlinecssmap"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/selector-line.css.map (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/selector-line.css.map        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/selector-line.css.map        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-{
-&quot;version&quot;: &quot;3&quot;,
-&quot;mappings&quot;: &quot;AAAA,UAAW;EACP,UAAU,EAAE,UAAU;EAEtB,qBAAW;IACP,KAAK,EAAE,KAAK&quot;,
-&quot;sources&quot;: [&quot;selector-line.scss&quot;],
-&quot;file&quot;: &quot;selector-line.css&quot;
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesselectorlinescss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/selector-line.scss (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/selector-line.scss        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/selector-line.scss        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-#container {
-    background: papayawhip;
-
-    #inspected {
-        color: green;
-    }
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstyleshistorycss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-history.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-history.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-history.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-body {
-  margin: 10px;
-  padding: 10px;
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstylesiframedatahtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-iframe-data.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-iframe-data.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-iframe-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
-  body { background:green; }
-&lt;/style&gt;
-&lt;script&gt;
-function iframeOnload()
-{
-    console.log(&quot;iframe loaded&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;iframeOnload()&quot; id=&quot;iframeBody&quot;&gt;
-&lt;/body&gt;
-
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstylesnewAPI1css"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-new-API-1.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-new-API-1.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-new-API-1.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-@import url(styles-new-API-2.css);
-
-@page { margin: 2cm } /* All margins set to 2cm */
-
-@page :first {
-  margin-top: 10cm    /* Top margin on first page 10cm */
-}
-
-@media screen {
-
-#absent-id {
-}
-
-@font-face {
-    font-family: 'TheFont';
-    src: url('font.url');
-    font-weight: normal;
-    font-style: normal;
-}
-
-body {
-    property: imported-media-screen-stylesheet;
-}
-
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstylesnewAPI2css"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-new-API-2.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-new-API-2.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-new-API-2.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-@import url(styles-new-API-1.css);
-
-@page { margin: 2cm } /* All margins set to 2cm */
-
-@page :first {
-  margin-top: 10cm    /* Top margin on first page 10cm */
-}
-
-@media screen {
-
-#absent-id {
-}
-
-@font-face {
-    font-family: 'TheFont';
-    src: url('font.url');
-    font-weight: normal;
-    font-style: normal;
-}
-
-body {
-    property: imported-media-screen-stylesheet;
-}
-
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstylesnewAPIcss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-new-API.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-new-API.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-new-API.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,33 +0,0 @@
</span><del>-@charset &quot;UTF-8&quot;;
-
-@import url(&quot;styles-new-API-1.css&quot;);
-
-html {
-    font-weight: 400;
-}
-
-@media screen {
-body {
-    font-size: 12px;
-    foo: bar !
-
-    important /* !important property not recognized by WebCore */;
-    height: 100% !important;
-    colorz: &quot;!important&quot;;
-    important:!important;
-    color: yellow;
-    color: &quot;badcolor&quot; ! important /* good property with strange value */;
-}
-
-/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
-
-body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
-}
-
-body::after  {
-    content: &quot;After body&quot;;
-}
-
-h1 {
-    height : 100% ; border: 1px solid; border-width: 2px; background-color : #33FF33; googles: abra; foo: .bar; -moz-goog: 1***; border-width: 0px;
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstylessourcelinesinlineiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-source-lines-inline-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-source-lines-inline-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-source-lines-inline-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-.bar {
-    color: red;
-}
-&lt;/style&gt;
-&lt;script&gt;
-function iframeOnload()
-{
-    window.parent.iframeLoaded = true;
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;iframeOnload()&quot;&gt;
-&lt;div id=&quot;bar&quot; class=&quot;bar&quot;&gt;Bar&lt;/div&gt;
-&lt;/body&gt;
-
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstylessourceoffsetscss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-source-offsets.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-source-offsets.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-source-offsets.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-body {
-    font-size: 12px;
-    foo: bar !
-
-    important /* !important property not recognized by WebCore */;
-    height: 100% !important;
-    colorz: &quot;!important&quot;;
-    important:!important;
-    color: &quot;badcolor&quot; ! important /* good property with strange value */;
-}
-
-/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
-
-body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstylesurllinkifyiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-url-linkify-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-url-linkify-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-url-linkify-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-#iframed {
-    background-image: url( iframed.png );
-}
-&lt;/style&gt;
-&lt;script&gt;
-function iframeOnload()
-{
-    window.parent.iframeLoaded = true;
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;iframeOnload()&quot;&gt;
-&lt;div id=&quot;iframed&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesresourcesstylesurllinkifycss"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/resources/styles-url-linkify.css (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/resources/styles-url-linkify.css        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/resources/styles-url-linkify.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,3 +0,0 @@
</span><del>-#local {
-    background-image: url(  'fromcss.png' );
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesselectorlistexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/selector-list-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/selector-list-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/selector-list-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,30 +0,0 @@
</span><del>-Tests representation of selector lists in the protocol. Bug 103118.
-
-Text
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-FOO bAr, #inspected, MOO&gt;BAR, htML div, Foo~Moo, MOO  { (selector-list.html:19)
-color: green;
-
-[expanded] 
-#inspected  { (selector-list.html:10)
-
-[expanded] 
-#InSpEcTeD  { (selector-list.html:7)
-
-[expanded] 
-#inspected  { (selector-list.html:4)
-
-[expanded] 
-FOO bAr, #inspected, MOO&gt;BAR, htML div, Foo~Moo, MOO  { (selector-list.html:19)
-/-- overloaded --/ color: green;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesselectorlisthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/selector-list.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/selector-list.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/selector-list.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-#inspected{
-}
-
-#InSpEcTeD {
-}
-
-/* */#inspected/* */ {
-}
-
-/* 
- */ FOO/*Single-line 1*/ bAr,/* Single-line 2*/#inspected/*
-    Multiline comment
-*/ ,MOO&gt;BAR, /*1*/htML /*2
-*/div/*3*/,/**/Foo~/**C*/Moo,/**/MOO /* Comment
- */ 
-{
-  color: green;
-}
-
-&lt;/style&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpSelectedElementStyles(true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests representation of selector lists in the protocol. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=103118&quot;&gt;Bug 103118&lt;/a&gt;.
-&lt;/p&gt;
-
-&lt;div id=&quot;inspected&quot;&gt;Text&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylessetpropertyboundariesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/set-property-boundaries-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/set-property-boundaries-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/set-property-boundaries-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that setting CSS property text out of boundaries does not crash.
-
-color: red;
-IndexSizeError
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylessetpropertyboundarieshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/set-property-boundaries.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/set-property-boundaries.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/set-property-boundaries.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style&gt;
-h1 {
-    color: red;
-}
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    CSSAgent.getAllStyleSheets(styleSheetInfosLoaded);
-
-    function styleSheetInfosLoaded(error, infos)
-    {
-        if (error) {
-            InspectorTest.addResult(&quot;error: &quot; + error);
-            InspectorTest.completeTest();
-            return;
-        }
-
-        for (var i = 0; i &lt; infos.length; ++i)
-            CSSAgent.getStyleSheet(infos[i].styleSheetId, styleSheetLoaded);
-    }
-
-    function styleSheetLoaded(error, styleSheet)
-    {
-        if (error) {
-            InspectorTest.addResult(&quot;error: &quot; + error);
-            InspectorTest.completeTest();
-            return;
-        }
-        editRule(styleSheet.rules[0]);
-    }
-
-    function editRule(rule)
-    {
-        var style = rule.style;
-        InspectorTest.addResult(style.cssProperties[0].text);
-
-        const outOfBOundsRuleIndex = 10;
-        CSSAgent.setPropertyText(style.styleId, outOfBOundsRuleIndex, &quot;color:blue;&quot;, true, dumpErrorMessage);
-    }
-
-    function dumpErrorMessage(error)
-    {
-        InspectorTest.addResult(error);
-        InspectorTest.completeTest();
-    }   
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that setting CSS property text out of boundaries does not crash.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesaddblankpropertyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-add-blank-property-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-add-blank-property-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-add-blank-property-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,56 +0,0 @@
</span><del>-Tests that adding a new blank property works.
-
-Text
-Before append:
-[expanded] 
-element.style  { ()
-font-size: 12px;
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After insertion at index 0:
-[expanded] 
-element.style  { ()
-margin-left: 3px;
-font-size: 12px;
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After appending and changing a 'compound' property:
-[expanded] 
-element.style  { ()
-margin-left: 3px;
-font-size: 12px;
-color: red;
-font-weight: bold;
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After insertion at index 2:
-[expanded] 
-element.style  { ()
-margin-left: 3px;
-font-size: 12px;
-/-- overloaded --/ third-property: third-value;
-color: red;
-font-weight: bold;
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesaddblankpropertyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-add-blank-property.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-add-blank-property.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-add-blank-property.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,114 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, addAndIncrementFirstProperty);
-
-    var treeElement;
-    var section;
-
-    function addAndIncrementFirstProperty()
-    {
-        InspectorTest.addResult(&quot;Before append:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1];
-        section.expand();
-
-        // Create and increment.
-        treeElement = section.addNewBlankProperty(0);
-        treeElement.startEditing();
-        treeElement.nameElement.textContent = &quot;margin-left&quot;;
-        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-
-        treeElement.valueElement.textContent = &quot;1px&quot;;
-        treeElement.valueElement.firstChild.select();
-        treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Up&quot;));
-        InspectorTest.runAfterPendingDispatches(incrementProperty);
-    }
-
-    function incrementProperty()
-    {
-        // Increment again.
-        treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Up&quot;));
-        InspectorTest.runAfterPendingDispatches(commitProperty);
-    }
-
-    function commitProperty()
-    {
-        // Commit.
-        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        reloadStyles(addAndChangeLastCompoundProperty);
-    }
-
-    function addAndChangeLastCompoundProperty()
-    {
-        InspectorTest.addResult(&quot;After insertion at index 0:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        treeElement = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
-        treeElement.startEditing();
-        treeElement.nameElement.textContent = &quot;color&quot;;
-        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-
-        treeElement.valueElement.textContent = &quot;green; font-weight: bold&quot;;
-        treeElement.kickFreeFlowStyleEditForTest();
-
-        treeElement.valueElement.textContent = &quot;red; font-weight: bold&quot;;
-        treeElement.kickFreeFlowStyleEditForTest();
-
-        treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        InspectorTest.runAfterPendingDispatches(reloadStyles.bind(this, addAndCommitMiddleProperty));
-    }
-
-    function addAndCommitMiddleProperty()
-    {
-        InspectorTest.addResult(&quot;After appending and changing a 'compound' property:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        treeElement = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
-        treeElement.startEditing();
-        treeElement.nameElement.textContent = &quot;third-property&quot;;
-        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        treeElement.valueElement.textContent = &quot;third-value&quot;;
-
-        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        InspectorTest.runAfterPendingDispatches(reloadStyles.bind(this, dumpAndComplete));
-    }
-
-    function dumpAndComplete()
-    {
-        InspectorTest.addResult(&quot;After insertion at index 2:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        InspectorTest.completeTest();
-    }
-
-    function reloadStyles(callback) {
-        InspectorTest.selectNodeWithId(&quot;other&quot;);
-        InspectorTest.runAfterPendingDispatches(otherCallback);
-
-        function otherCallback()
-        {
-            InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, callback);
-        }
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that adding a new blank property works.
-&lt;/p&gt;
-
-&lt;div id=&quot;inspected&quot; style=&quot;font-size: 12px&quot;&gt;Text&lt;/div&gt;
-&lt;div id=&quot;other&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesaddinvalidpropertyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-add-invalid-property-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-add-invalid-property-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-add-invalid-property-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-Tests that adding an invalid property retains its syntax.
-
-Text
-Before append:
-[expanded] 
-element.style  { ()
-font-size: 12px;
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After append:
-[expanded] 
-element.style  { ()
-font-size: 12px;
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesaddinvalidpropertyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-add-invalid-property.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-add-invalid-property.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-add-invalid-property.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,73 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
-
-    var treeElement;
-    var section;
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Before append:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1];
-        section.expand();
-
-        // Create and increment.
-        treeElement = section.addNewBlankProperty();
-        treeElement.startEditing();
-        treeElement.nameElement.textContent = &quot;color&quot;;
-        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-
-        // Update incrementally to a valid value. 
-        treeElement.valueElement.textContent = &quot;rgb(&quot;;
-        treeElement.kickFreeFlowStyleEditForTest();
-        InspectorTest.runAfterPendingDispatches(step2);
-    }
-
-    function step2()
-    {
-        // Commit invalid value. 
-        treeElement.valueElement.textContent = &quot;rgb(1&quot;;
-        treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        InspectorTest.runAfterPendingDispatches(step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.selectNodeWithId(&quot;other&quot;);
-        InspectorTest.runAfterPendingDispatches(step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step5);
-    }
-
-    function step5()
-    {
-        InspectorTest.addResult(&quot;After append:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that adding an invalid property retains its syntax.
-&lt;/p&gt;
-
-&lt;div id=&quot;inspected&quot; style=&quot;font-size: 12px&quot;&gt;Text&lt;/div&gt;
-&lt;div id=&quot;other&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylescomputedtraceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-computed-trace-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-computed-trace-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-computed-trace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,64 +0,0 @@
</span><del>-Tests that computed styles expand and allow tracing to style rules.
-
-==== Computed style for ID1 ====
-[expanded] 
--webkit-background-clip: border-box;
--webkit-background-origin: padding-box;
--webkit-background-size: auto;
-background-attachment: scroll;
-    #id1 - initial styles-computed-trace.html:23
-background-clip: border-box;
-    #id1 - initial styles-computed-trace.html:23
-background-color: rgb(128, 128, 128);
-    #id1 - gray styles-computed-trace.html:23
-    /-- overloaded --/ #id1 - black styles-computed-trace.html:18
-    /-- overloaded --/ #id1 - green styles-computed-trace.html:13
-background-image: none;
-    #id1 - initial styles-computed-trace.html:23
-background-origin: padding-box;
-    #id1 - initial styles-computed-trace.html:23
-background-size: auto;
-    #id1 - initial styles-computed-trace.html:23
-display: block;
-    div - block user agent stylesheet
-font-family: Courier;
-    #id1 - Courier styles-computed-trace.html:18
-    /-- overloaded --/ #id1 - Times styles-computed-trace.html:13
-    /-- overloaded --/ body - Arial styles-computed-trace.html:4
-text-decoration: underline;
-    div - underline styles-computed-trace.html:9
-
-[expanded] 
-element.style  { ()
-
-
-==== Computed style for ID2 ====
-[expanded] 
-background-color: rgb(0, 0, 255);
-    #id2 - blue styles-computed-trace.html:27
-display: block;
-    div - block user agent stylesheet
-font-family: Courier;
-    #id2 - Courier styles-computed-trace.html:27
-    /-- overloaded --/ #id1 - Courier styles-computed-trace.html:18
-    /-- overloaded --/ #id1 - Times styles-computed-trace.html:13
-    /-- overloaded --/ body - Arial styles-computed-trace.html:4
-text-decoration: underline;
-    /-- overloaded --/ #id2 - invalidvalue styles-computed-trace.html:27
-    div - underline styles-computed-trace.html:9
-
-[expanded] 
-element.style  { ()
-
-
-==== Style for ID3 ====
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-button[Attributes Style]  { ()
-display: none;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylescomputedtracehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-computed-trace.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-computed-trace.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-computed-trace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,80 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-body {
-    background-color: rgb(100, 0, 0);
-    font-family: Arial;
-}
-
-div {
-    text-decoration: underline;
-}
-
-#id1 {
-    background-color: green;
-    font-family: Times;
-}
-
-#id1 {
-    background-color: black;
-    font-family: Courier;
-}
-
-#id1 {
-    background: gray;
-}
-
-#id2 {
-    background-color: blue;
-    font-family: Courier;
-    text-decoration: invalidvalue;
-}
-
-&lt;/style&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;id1&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;==== Computed style for ID1 ====&quot;);
-        InspectorTest.dumpSelectedElementStyles(false, true);
-        InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;id2&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;==== Computed style for ID2 ====&quot;);
-        InspectorTest.dumpSelectedElementStyles(false, true);
-        InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;id3&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;==== Style for ID3 ====&quot;);
-        // The button[hidden] style specifies &quot;display: none&quot;, which should not be /-- overloaded --/.
-        InspectorTest.dumpSelectedElementStyles(true, true);
-        InspectorTest.completeTest();
-    }
-
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that computed styles expand and allow tracing to style rules.
-&lt;/p&gt;
-
-&lt;div id=&quot;id1&quot;&gt;
-&lt;div id=&quot;id2&quot;&gt;
-&lt;/div&gt;
-&lt;button id=&quot;id3&quot; hidden /&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisableinheritedexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-inherited-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-inherited-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-inherited-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-Tests that disabling inherited style property does not break further style inspection.
-
-Before disable
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-======== Inherited from div#container ========
-[expanded] 
-Style Attribute  { ()
-font-weight: bold;
-
-
-After disable:
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisableinheritedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-inherited.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-inherited.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-inherited.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-
-    InspectorTest.selectNodeAndWaitForStyles(&quot;nested&quot;, step1);
-
-    function step1()
-    {
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        InspectorTest.addResult(&quot;Before disable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
-        InspectorTest.selectNodeAndWaitForStyles(&quot;nested&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;After disable:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that disabling inherited style property does not break further style inspection.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
-    &lt;div id=&quot;nested&quot;&gt;&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisablethenchangeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-then-change-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-then-change-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-then-change-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,21 +0,0 @@
</span><del>-Tests that changing a disabled property enables it as well.
-
-Before disable
-[expanded] 
-element.style  { ()
-font-weight: bold;
-
-
-After disable
-[expanded] 
-element.style  { ()
-/-- overloaded --/ /-- disabled --/ font-weight: bold;
-
-
-After change
-[expanded] 
-element.style  { ()
-color: green;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisablethenchangehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-then-change.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-then-change.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-then-change.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Before disable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, true);
-
-        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
-        InspectorTest.waitForStyles(&quot;container&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;After disable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, true);
-
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        treeItem.applyStyleText(&quot;color: green&quot;, true);
-        InspectorTest.waitForStyles(&quot;container&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;After change&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, true);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that changing a disabled property enables it as well.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
-&lt;/div&gt;
-
-&lt;div id=&quot;other&quot;&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisablethendeleteexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-then-delete-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-then-delete-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-then-delete-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,20 +0,0 @@
</span><del>-Tests that removal of property following its disabling works.
-
-Before disable
-[expanded] 
-element.style  { ()
-font-weight: bold;
-
-
-After disable
-[expanded] 
-element.style  { ()
-/-- overloaded --/ /-- disabled --/ font-weight: bold;
-
-
-After delete
-[expanded] 
-element.style  { ()
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisablethendeletehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-then-delete.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-then-delete.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-then-delete.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
-
-    function step1()
-    {
-        // Disable property
-        InspectorTest.addResult(&quot;Before disable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, true);
-        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
-        InspectorTest.runAfterPendingDispatches(step2);
-    }
-
-    function step2()
-    {
-        // Delete style
-        InspectorTest.addResult(&quot;After disable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, true);
-
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        treeItem.applyStyleText(&quot;&quot;, true);
-
-        InspectorTest.runAfterPendingDispatches(step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.selectNodeWithId(&quot;other&quot;);
-        InspectorTest.runAfterPendingDispatches(step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step5);
-    }
-
-    function step5(node)
-    {
-        InspectorTest.addResult(&quot;After delete&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, true);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that removal of property following its disabling works.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
-&lt;/div&gt;
-
-&lt;div id=&quot;other&quot;&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisablethenenableexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-then-enable-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-then-enable-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-then-enable-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,9 +0,0 @@
</span><del>-Tests that disabling style property works.
-
-Before disable
-font-weight: bold;
-After disable
-/-- overloaded --/ /-- disabled --/ font-weight: bold;
-After enable
-font-weight: bold;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisablethenenableoverridenuaexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,48 +0,0 @@
</span><del>-Tests that disabling shorthand removes the &quot;overriden&quot; mark from the UA shorthand it overrides.
-
-Before disable
-[expanded] 
-element.style  { ()
-margin: 10px;
-
-======== Matched CSS Rules ========
-[expanded] 
-#container  { (user stylesheet)
-/-- overloaded --/ margin: 8px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After disable
-[expanded] 
-element.style  { ()
-/-- overloaded --/ /-- disabled --/ margin: 10px;
-
-======== Matched CSS Rules ========
-[expanded] 
-#container  { (user stylesheet)
-margin: 8px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After enable
-[expanded] 
-element.style  { ()
-margin: 10px;
-
-======== Matched CSS Rules ========
-[expanded] 
-#container  { (user stylesheet)
-/-- overloaded --/ margin: 8px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisablethenenableoverridenuahtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,57 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;script&gt;
-
-function injectStyleSheet()
-{
-    var styleSheet = &quot;#container { margin: 8px }&quot;;
-    if (window.testRunner)
-        window.testRunner.addUserStyleSheet(styleSheet, true);
-}
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;injectStyleSheet()&quot;, step1);
-    function step1()
-    {
-        InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;Before disable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.toggleStyleProperty(&quot;margin&quot;, false);
-        InspectorTest.waitForStyles(&quot;container&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;After disable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.toggleStyleProperty(&quot;margin&quot;, true);
-        InspectorTest.waitForStyles(&quot;container&quot;, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.addResult(&quot;After enable&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot; id=&quot;body-id&quot;&gt;
-&lt;p&gt;
-Tests that disabling shorthand removes the &quot;overriden&quot; mark from the UA shorthand it overrides.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;margin: 10px&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesdisablethenenablehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-disable-then-enable.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-disable-then-enable.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-disable-then-enable.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
-
-    function step1(node)
-    {
-        InspectorTest.addResult(&quot;Before disable&quot;);
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
-
-        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
-        InspectorTest.waitForStyles(&quot;container&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;After disable&quot;);
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
-
-        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, true);
-        InspectorTest.waitForStyles(&quot;container&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;After enable&quot;);
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
-
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that disabling style property works.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesformattingexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-formatting-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-formatting-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-formatting-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,177 +0,0 @@
</span><del>-Tests that InspectorCSSAgent formats the CSS style text based on the CSS model modifications.
-
-Formatted
-Unformatted
-
-Running: initFormattedStyle
-
-Running: testFormattedInsertStart
-raw cssText:
-{ 
-    firstProperty: firstValue;
-    property1: value1;
-    property2: value2;
-    property3: value3;
-}
-
-Running: testFormattedRemoveStart
-raw cssText:
-{ 
-    property1: value1;
-    property2: value2;
-    property3: value3;
-}
-
-Running: testFormattedInsertMiddle
-raw cssText:
-{ 
-    property1: value1;
-    middleProperty: middleValue;
-    property2: value2;
-    property3: value3;
-}
-
-Running: testFormattedRemoveMiddle
-raw cssText:
-{ 
-    property1: value1;
-    property2: value2;
-    property3: value3;
-}
-
-Running: testFormattedInsertEnd
-raw cssText:
-{ 
-    property1: value1;
-    property2: value2;
-    property3: value3;
-    endProperty: endValue;
-}
-
-Running: testFormattedRemoveEnd
-raw cssText:
-{ 
-    property1: value1;
-    property2: value2;
-    property3: value3;
-}
-
-Running: testFormattedDisableStart
-raw cssText:
-{ 
-    property2: value2;
-    property3: value3;
-}
-
-Running: testFormattedDisableEnd
-raw cssText:
-{ 
-    property2: value2;
-}
-
-Running: testFormattedDisableMiddle
-raw cssText:
-{ 
-}
-
-Running: testFormattedInsert1
-raw cssText:
-{ 
-    propA: valA;
-}
-
-Running: testFormattedInsert2
-raw cssText:
-{ 
-    propA: valA;
-    propB: valB;
-}
-
-Running: testFormattedInsert3
-raw cssText:
-{ 
-    propA: valA;
-    propB: valB;
-    propC: valC;
-}
-
-Running: testFormattedEnableStart
-raw cssText:
-{ 
-    propA: valA;
-    property1: value1;
-    propB: valB;
-    propC: valC;
-}
-
-Running: testFormattedEnableEnd
-raw cssText:
-{ 
-    propA: valA;
-    property1: value1;
-    propB: valB;
-    property3: value3;
-    propC: valC;
-}
-
-Running: testFormattedEnableMiddle
-raw cssText:
-{ 
-    propA: valA;
-    property1: value1;
-    propB: valB;
-    property2: value2;
-    property3: value3;
-    propC: valC;
-}
-
-Running: initUnformattedStyle
-
-Running: testUnformattedInsertStart
-raw cssText:
-{firstProperty: firstValue;property1:value1;property2:value2;property3:value3;}
-
-Running: testUnformattedRemoveStart
-raw cssText:
-{property1:value1;property2:value2;property3:value3;}
-
-Running: testUnformattedInsertMiddle
-raw cssText:
-{property1:value1;middleProperty: middleValue;property2:value2;property3:value3;}
-
-Running: testUnformattedRemoveMiddle
-raw cssText:
-{property1:value1;property2:value2;property3:value3;}
-
-Running: testUnformattedInsertEnd
-raw cssText:
-{property1:value1;property2:value2;property3:value3;endProperty: endValue;}
-
-Running: testUnformattedRemoveEnd
-raw cssText:
-{property1:value1;property2:value2;property3:value3;}
-
-Running: testUnformattedDisableStart
-raw cssText:
-{property2:value2;property3:value3;}
-
-Running: testUnformattedDisableEnd
-raw cssText:
-{property2:value2;}
-
-Running: testUnformattedDisableMiddle
-raw cssText:
-{}
-
-Running: testUnformattedEnableStart
-raw cssText:
-{property1:value1;}
-
-Running: testUnformattedEnableEnd
-raw cssText:
-{property1:value1;property3:value3;}
-
-Running: testUnformattedEnableMiddle
-raw cssText:
-{property1:value1;property2:value2;property3:value3;}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesformattinghtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-formatting.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-formatting.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-formatting.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,248 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    var formattedStyle;
-    var unformattedStyle;
-
-    InspectorTest.runTestSuite([
-        function initFormattedStyle(next)
-        {
-            function callback(styles)
-            {
-                if (!styles) {
-                    InspectorTest.addResult(&quot;empty styles&quot;);
-                    return;
-                }
-
-                formattedStyle = styles.matchedCSSRules[1].style;
-                next();
-            }
-
-            function nodeCallback(node)
-            {
-                WebInspector.cssModel.getMatchedStylesAsync(node.id, false, false, callback);
-            }
-            InspectorTest.selectNodeWithId(&quot;formatted&quot;, nodeCallback);
-        },
-
-        function testFormattedInsertStart(next)
-        {
-            formattedStyle.insertPropertyAt(0, &quot;firstProperty&quot;, &quot;firstValue&quot;, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedRemoveStart(next)
-        {
-            formattedStyle.allProperties[0].setText(&quot;&quot;, true, true, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedInsertMiddle(next)
-        {
-            formattedStyle.insertPropertyAt(1, &quot;middleProperty&quot;, &quot;middleValue&quot;, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedRemoveMiddle(next)
-        {
-            formattedStyle.allProperties[1].setText(&quot;&quot;, true, true, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedInsertEnd(next)
-        {
-            formattedStyle.insertPropertyAt(3, &quot;endProperty&quot;, &quot;endValue&quot;, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedRemoveEnd(next)
-        {
-            formattedStyle.allProperties[3].setText(&quot;&quot;, true, true, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedDisableStart(next)
-        {
-            formattedStyle.allProperties[0].setDisabled(true, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedDisableEnd(next)
-        {
-            formattedStyle.allProperties[2].setDisabled(true, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedDisableMiddle(next)
-        {
-            formattedStyle.allProperties[1].setDisabled(true, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedInsert1(next)
-        {
-            formattedStyle.insertPropertyAt(0, &quot;propA&quot;, &quot;valA&quot;, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedInsert2(next)
-        {
-            formattedStyle.insertPropertyAt(2, &quot;propB&quot;, &quot;valB&quot;, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedInsert3(next)
-        {
-            formattedStyle.insertPropertyAt(5, &quot;propC&quot;, &quot;valC&quot;, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedEnableStart(next)
-        {
-            formattedStyle.allProperties[1].setDisabled(false, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedEnableEnd(next)
-        {
-            formattedStyle.allProperties[4].setDisabled(false, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function testFormattedEnableMiddle(next)
-        {
-            formattedStyle.allProperties[3].setDisabled(false, dumpFormattedAndCallNext.bind(null, next));
-        },
-
-        function initUnformattedStyle(next)
-        {
-            function callback(styles)
-            {
-                if (!styles) {
-                    InspectorTest.addResult(&quot;empty styles&quot;);
-                    return;
-                }
-
-                unformattedStyle = styles.matchedCSSRules[1].style;
-                next();
-            }
-
-            function nodeCallback(node)
-            {
-                WebInspector.cssModel.getMatchedStylesAsync(node.id, false, false, callback);
-            }
-            InspectorTest.selectNodeWithId(&quot;unformatted&quot;, nodeCallback);
-        },
-
-        function testUnformattedInsertStart(next)
-        {
-            unformattedStyle.insertPropertyAt(0, &quot;firstProperty&quot;, &quot;firstValue&quot;, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedRemoveStart(next)
-        {
-            unformattedStyle.allProperties[0].setText(&quot;&quot;, true, true, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedInsertMiddle(next)
-        {
-            unformattedStyle.insertPropertyAt(1, &quot;middleProperty&quot;, &quot;middleValue&quot;, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedRemoveMiddle(next)
-        {
-            unformattedStyle.allProperties[1].setText(&quot;&quot;, true, true, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedInsertEnd(next)
-        {
-            unformattedStyle.insertPropertyAt(3, &quot;endProperty&quot;, &quot;endValue&quot;, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedRemoveEnd(next)
-        {
-            unformattedStyle.allProperties[3].setText(&quot;&quot;, true, true, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedDisableStart(next)
-        {
-            unformattedStyle.allProperties[0].setDisabled(true, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedDisableEnd(next)
-        {
-            unformattedStyle.allProperties[2].setDisabled(true, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedDisableMiddle(next)
-        {
-            unformattedStyle.allProperties[1].setDisabled(true, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedEnableStart(next)
-        {
-            unformattedStyle.allProperties[0].setDisabled(false, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedEnableEnd(next)
-        {
-            unformattedStyle.allProperties[2].setDisabled(false, dumpUnformattedAndCallNext.bind(null, next));
-        },
-
-        function testUnformattedEnableMiddle(next)
-        {
-            unformattedStyle.allProperties[1].setDisabled(false, dumpUnformattedAndCallNext.bind(null, next));
-        }
-    ]);
-
-    // Data dumping
-
-    function dumpFormattedAndCallNext(next, style)
-    {
-        if (!style) {
-            InspectorTest.addResult(&quot;error: empty style&quot;);
-            InspectorTest.completeTest();
-        }
-
-        formattedStyle = style;
-        dumpStyle(style);
-        if (next)
-            next();
-    }
-
-    function dumpUnformattedAndCallNext(next, style)
-    {
-        if (!style) {
-            InspectorTest.addResult(&quot;error: empty style&quot;);
-            InspectorTest.completeTest();
-        }
-
-        unformattedStyle = style;
-        dumpStyle(style);
-        if (next)
-            next();
-    }
-
-    function dumpStyle(style)
-    {
-        if (!style)
-            return;
-        InspectorTest.addResult(&quot;raw cssText:&quot;);
-        InspectorTest.addResult(&quot;{&quot; + style.cssText + &quot;}&quot;);
-    }
-}
-&lt;/script&gt;
-
-&lt;style&gt;
-
-#formatted { 
-    property1: value1;
-    property2: value2;
-    property3: value3;
-}
-
-#unformatted {property1:value1;property2:value2;property3:value3;}
-
-&lt;/style&gt;
-&lt;/head&gt;
-
-&lt;body id=&quot;mainBody&quot; onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that InspectorCSSAgent formats the CSS style text based on the CSS model modifications.
-&lt;/p&gt;
-&lt;div id=&quot;formatted&quot;&gt;Formatted&lt;/div&gt;
-&lt;div id=&quot;unformatted&quot;&gt;Unformatted&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstyleshistoryexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-history-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-history-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-history-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-Tests resources panel history.
-
-
-Running: testSetUp
-
-Running: testSetResourceContentMinor
-History length: 0
-
-Running: testSetResourceContentMajor
-History length: 1
-Item 0:
-body {
-  margin: 20px;
-  padding: 10px;
-}
-
-Running: testSetContentViaModelMinor
-History length: 1
-Item 0:
-body {
-  margin: 20px;
-  padding: 10px;
-}
-
-Running: testSetContentViaModelMajor
-History length: 2
-Item 0:
-body {
-  margin: 20px;
-  padding: 10px;
-}
-Item 1:
-body {
-  margin:30px;
-  padding: 10px;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstyleshistoryhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-history.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-history.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-history.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,133 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-history.css&quot;&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/resources-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.runAfterCachedResourcesProcessed(runTestSuite);
-
-    var uiSourceCode;
-
-    function runTestSuite()
-    {
-        InspectorTest.runTestSuite([
-            function testSetUp(next)
-            {
-                function visitUISourceCodes(currentUISourceCode)
-                {
-                    if (currentUISourceCode.originURL().indexOf(&quot;styles-history.css&quot;) === -1)
-                        return;
-                    uiSourceCode = currentUISourceCode;
-                    next();
-                }
-                WebInspector.workspace.uiSourceCodes().forEach(visitUISourceCodes);
-            },
-
-            function testSetResourceContentMinor(next)
-            {
-                InspectorTest.addSniffer(WebInspector.StyleFile.prototype, &quot;_styleContentSet&quot;, styleUpdatedMinor);
-                uiSourceCode.setWorkingCopy(&quot;body {\n  margin: 15px;\n  padding: 10px;\n}&quot;);
-
-                function styleUpdatedMinor()
-                {
-                    dumpHistory(next)();
-                }
-            },
-
-            function testSetResourceContentMajor(next)
-            {
-                InspectorTest.addSniffer(WebInspector.StyleFile.prototype, &quot;_styleContentSet&quot;, styleUpdatedMinor);
-                uiSourceCode.setWorkingCopy(&quot;body {\n  margin: 20px;\n  padding: 10px;\n}&quot;);
-
-                function styleUpdatedMinor()
-                {
-                    InspectorTest.addSniffer(WebInspector.StyleFile.prototype, &quot;_styleContentSet&quot;, styleUpdatedMajor);
-                    uiSourceCode.commitWorkingCopy(function() { });
-
-                    function styleUpdatedMajor()
-                    {
-                        dumpHistory(next)();
-                    }
-                }
-            },
-
-            function testSetContentViaModelMinor(next)
-            {
-                styleSheetForResource(step1);
-
-                function step1(styleSheet)
-                {
-                    var style = styleSheet.rules[0].style;
-                    var property = style.getLiveProperty(&quot;margin&quot;);
-                    property.setText(&quot;margin:25px;&quot;, false, true, dumpHistory(next));
-                }
-            },
-
-            function testSetContentViaModelMajor(next)
-            {
-                styleSheetForResource(step1);
-
-                function step1(styleSheet)
-                {
-                    var style = styleSheet.rules[0].style;
-                    var property = style.getLiveProperty(&quot;margin&quot;);
-                    property.setText(&quot;margin:30px;&quot;, true, true);
-                    InspectorTest.runAfterPendingDispatches(dumpHistory(next));
-                }
-            }
-        ]);
-    }
-
-    function styleSheetForResource(callback)
-    {
-        CSSAgent.getAllStyleSheets(didGetAllStyleSheets.bind(this));
-
-        function didGetAllStyleSheets(error, infos)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;Error:&quot; + error);
-                callback(null);
-                return;
-            }
-
-            for (var i = 0; i &lt; infos.length; ++i) {
-                var info = infos[i];
-                if (info.sourceURL.indexOf(&quot;styles-history.css&quot;) === -1)
-                    continue;
-                WebInspector.CSSStyleSheet.createForId(info.styleSheetId, callback);
-                return;
-            }
-            callback(null);
-        }
-    }
-
-    function dumpHistory(next)
-    {
-        function result()
-        {
-            InspectorTest.addResult(&quot;History length: &quot; + uiSourceCode.history.length);
-            for (var i = 0; i &lt; uiSourceCode.history.length; ++i) {
-                InspectorTest.addResult(&quot;Item &quot; + i + &quot;:&quot;);
-                InspectorTest.addResult(uiSourceCode.history[i].content);
-            }
-            next();
-        }
-        return result;
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests resources panel history.
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesiframeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-iframe-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-iframe-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-iframe-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 9: iframe loaded
-Tests that proper (and different) styles are returned for body elements of main document and iframe.
-
-
-Main frame style:
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-media=&quot;screen&quot; (styles-iframe.html)
-#main  { (styles-iframe.html:5)
-background: blue;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-iframe style:
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-media=&quot;screen&quot; (styles-iframe-data.html)
-body  { (styles-iframe-data.html:4)
-background: green;
-
-[expanded] 
-body  { (user agent stylesheet)
-display: block;
-margin: 8px;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesiframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-iframe.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-iframe.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,53 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
-  #main { background:blue; }
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function loadIframe()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.src = &quot;resources/styles-iframe-data.html&quot;;
-    document.getElementById(&quot;main&quot;).appendChild(iframe);
-}
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
-    InspectorTest.addConsoleSniffer(step0);
-
-    function step0()
-    {
-        InspectorTest.selectNodeAndWaitForStyles(&quot;main&quot;, step1);
-    }
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Main frame style:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.selectNodeAndWaitForStyles(&quot;iframeBody&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;iframe style:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that proper (and different) styles are returned for body elements of main document and iframe.
-&lt;/p&gt;
-
-&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesincludehostrulescrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-[bug 102116] - https://bugs.webkit.org/show_bug.cgi?id=102116 - ASSERT_NOT_REACHED() when building a CSSOM wrapper for StyleRuleHost. If this test passes, no crash occurs.
-
-Foo
-[expanded] 
-display: block;
-    div - block user agent stylesheet
-
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesincludehostrulescrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-@host {
-    div { border: 1px solid blue; }
-}
-
-@host.div {
-  opacity: 0;
-}
-&lt;/style&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;foo&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpSelectedElementStyles(false, false);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-[bug 102116] - &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=102116&quot;&gt;https://bugs.webkit.org/show_bug.cgi?id=102116&lt;/a&gt; -
-ASSERT_NOT_REACHED() when building a CSSOM wrapper for StyleRuleHost.
-If this test passes, no crash occurs.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot;&gt;
-    &lt;div id=&quot;foo&quot;&gt;Foo&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesinvalidcolorvaluesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-invalid-color-values-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-invalid-color-values-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-invalid-color-values-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,79 +0,0 @@
</span><del>-Tests that the displayed string for colors correctly handles clipped CSS values and RGB percentages.
-
-
-Running: testColors
-
-color: red
-  simple: true
-  original: red
-  nickname: red
-  hex: #FF0000
-  shorthex: #F00
-  rgb: rgb(255, 0, 0)
-  hsl: hsl(0, 100%, 50%)
-
-color: #F00
-  simple: true
-  original: #F00
-  nickname: red
-  hex: #FF0000
-  shorthex: #F00
-  rgb: rgb(255, 0, 0)
-  hsl: hsl(0, 100%, 50%)
-
-color: rgb(255,0,0)
-  simple: true
-  original: rgb(255,0,0)
-  nickname: red
-  hex: #FF0000
-  shorthex: #F00
-  rgb: rgb(255, 0, 0)
-  hsl: hsl(0, 100%, 50%)
-
-color: rgb(300,0,0)
-  simple: true
-  original: rgb(300,0,0)
-  nickname: red
-  hex: #FF0000
-  shorthex: #F00
-  rgb: rgb(255, 0, 0)
-  hsl: hsl(0, 100%, 50%)
-
-color: rgb(255,-10,0)
-  simple: true
-  original: rgb(255,-10,0)
-  nickname: red
-  hex: #FF0000
-  shorthex: #F00
-  rgb: rgb(255, 0, 0)
-  hsl: hsl(0, 100%, 50%)
-
-color: rgb(110%, 0%, 0%)
-  simple: true
-  original: rgb(110%, 0%, 0%)
-  nickname: red
-  hex: #FF0000
-  shorthex: #F00
-  rgb: rgb(255, 0, 0)
-  hsl: hsl(0, 100%, 50%)
-
-color: rgba(255, 0, 0, -5)
-  simple: false
-  original: rgba(255, 0, 0, -5)
-  rgb: rgb(255, 0, 0)
-  rgba: rgba(255, 0, 0, 0)
-  hsl: hsl(0, 100%, 50%)
-  hsla: hsla(0, 100%, 50%, 0)
-
-color: rgba(255, 0, 0, 5)
-  simple: false
-  original: rgba(255, 0, 0, 5)
-  rgb: rgb(255, 0, 0)
-  rgba: rgba(255, 0, 0, 1)
-  hsl: hsl(0, 100%, 50%)
-  hsla: hsla(0, 100%, 50%, 1)
-
-Running: testInvalidColors
-
-SUCCESS: parsed invalid color none to null
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesinvalidcolorvalueshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-invalid-color-values.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-invalid-color-values.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-invalid-color-values.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,92 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function test()
-{
-    var colors = [
-        // Each of these is red. Some may need to be clipped to [0, 255].
-        'red',
-        '#F00',
-        'rgb(255,0,0)',
-        'rgb(300,0,0)',        // clipped to rgb(255,0,0)
-        'rgb(255,-10,0)',      // clipped to rgb(255,0,0)
-        'rgb(110%, 0%, 0%)',   // clipped to rgb(100%,0%,0%)
-
-        // Each of these has their alpha clipped [0.0, 1.0].
-        'rgba(255, 0, 0, -5)', // clipped to rgba(255,0,0,0)
-        'rgba(255, 0, 0, 5)',  // clipped to rgba(255,0,0,1)
-        ];
-
-    var invalidColors = [
-        // An invalid color, eg a value for a shorthand like 'border' which can have a color
-        'none',
-    ];
-
-    InspectorTest.runTestSuite([
-        function testColors(next)
-        {
-            for (var i = 0; i &lt; colors.length; ++i)
-                dumpColorRepresentationsForColor(colors[i]);
-            next();
-        },
-        function testInvalidColors(next)
-        {
-            for (var i = 0; i &lt; invalidColors.length; ++i)
-                dumpErrorsForInvalidColor(invalidColors[i]);
-            next();
-        },
-    ]);
-
-    function dumpErrorsForInvalidColor(colorString) 
-    {
-        var color = WebInspector.Color.parse(colorString);
-        if (!color) {
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;SUCCESS: parsed invalid color &quot; + colorString + &quot; to null&quot;);
-            return;
-        } else {
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;FAIL: invalid color &quot; + colorString + &quot; did not parse to to null&quot;);
-        }
-    }
-
-    function dumpColorRepresentationsForColor(colorString)
-    {
-        var color = WebInspector.Color.parse(colorString);
-        if (!color)
-            return;
-
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.addResult(&quot;color: &quot; + colorString);
-        InspectorTest.addResult(&quot;  simple: &quot; + color.simple);
-        var cf = WebInspector.Color.Format;
-        for (var colorFormatKey in cf) {
-            var colorFormat = cf[colorFormatKey];
-            // Simple colors do not have RGBA and HSLA representations.
-            if (color.simple &amp;&amp; (colorFormat === cf.RGBA || colorFormat === cf.HSLA))
-                continue;
-            // Advanced colors do not have HEX representations.
-            if (!color.simple &amp;&amp; (colorFormat === cf.ShortHEX || colorFormat === cf.HEX))
-                continue;
-            // If there is no ShortHEX then skip it.
-            if (colorFormat === cf.ShortHEX &amp;&amp; !color.hasShortHex())
-                continue;
-            // If there is no nickname, then skip it.
-            if (colorFormat === cf.Nickname &amp;&amp; !color.nickname)
-                continue;
-            InspectorTest.addResult('  ' + colorFormat + &quot;: &quot; + color.toString(colorFormat));
-        }
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that the displayed string for colors correctly handles clipped CSS values and RGB percentages.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesnewAPIexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-new-API-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-new-API-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-new-API-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,531 +0,0 @@
</span><del>-Tests that InspectorCSSAgent API methods work as expected.
-
-H1
-
-
-=== Computed style property count for body ===
-OK
-
-=== Matched rules for body ===
-body: [user-agent] {
-    ['display':'block'] @[undefined-undefined] style
-    ['margin-top':'8px'] @[undefined-undefined] style
-    ['margin-right':'8px'] @[undefined-undefined] style
-    ['margin-bottom':'8px'] @[undefined-undefined] style
-    ['margin-left':'8px'] @[undefined-undefined] style
-}
-body: [regular, 20:0-20:4] {
-    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
-}
-body: [regular, 20:0-20:4] {
-    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
-}
-body: [regular, 9:0-9:4] {
-    ['font-size':'12px'] @[10:4-10:20] active
-    ['foo':'bar !
-
-    important /* !important property not recognized by WebCore */' is-important non-parsed] @[11:4-13:66] active
-    ['height':'100% !important' is-important] @[14:4-14:28] active
-    ['colorz':'&quot;!important&quot;' non-parsed] @[15:4-15:25] active
-    ['important':'!important' non-parsed] @[16:4-16:25] active
-    ['color':'yellow'] @[17:4-17:18] active
-    ['color':'&quot;badcolor&quot; ! important /* good property with strange value */' is-important non-parsed] @[18:4-18:73] active
-}
-body.main1: [regular, 21:29-21:67] {
-    ['color':'#F00BAA'] @[21:81-21:96] active
-    ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:96-21:149] active
-}
-body.main2: [regular, 23:0-23:10] {
-    ['background':'green /* value !important comment */ !important /* no semicolon, very !important */' is-important] @[23:11-23:106] active
-    ['background-image':'initial' is-important] @[undefined-undefined] style
-    ['background-repeat-x':'initial' is-important] @[undefined-undefined] style
-    ['background-repeat-y':'initial' is-important] @[undefined-undefined] style
-    ['background-attachment':'initial' is-important] @[undefined-undefined] style
-    ['background-position-x':'initial' is-important] @[undefined-undefined] style
-    ['background-position-y':'initial' is-important] @[undefined-undefined] style
-    ['background-origin':'initial' is-important] @[undefined-undefined] style
-    ['background-clip':'initial' is-important] @[undefined-undefined] style
-    ['background-color':'green' is-important] @[undefined-undefined] style
-    ['background-size':'initial' is-important] @[undefined-undefined] style
-}
-body.mainpage: [regular, 3:0-3:13] {
-    ['text-decoration':'none'] @[4:4-4:26] active
-    ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] active
-}
-body.mainpage: [regular, 8:0-8:13] {
-    ['prop1':'val1' non-parsed] @[9:4-9:16] active
-    ['prop2':'val2' non-parsed] @[10:4-10:16] active
-}
-
-=== Pseudo rules for body ===
-PseudoId=4
-body::after: [regular, 26:0-26:11] {
-    ['content':'&quot;After body&quot;'] @[27:4-27:26] active
-}
-
-=== Inherited styles for body ===
-Level=1
-[NO STYLE]
-html: [user-agent] {
-    ['display':'block'] @[undefined-undefined] style
-}
-html: [regular, 4:0-4:4] {
-    ['font-weight':'400'] @[5:4-5:21] active
-}
-
-=== Inline style for body ===
-['font-weight':'normal'] @[0:0-0:20] active
-['width':'85%'] @[0:21-0:32] active
-['background-image':'url(bar.png)'] @[0:33-0:63] active
-=== BODY with forced :hover ===
-body: [user-agent] {
-    ['display':'block'] @[undefined-undefined] style
-    ['margin-top':'8px'] @[undefined-undefined] style
-    ['margin-right':'8px'] @[undefined-undefined] style
-    ['margin-bottom':'8px'] @[undefined-undefined] style
-    ['margin-left':'8px'] @[undefined-undefined] style
-}
-body: [regular, 20:0-20:4] {
-    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
-}
-body: [regular, 20:0-20:4] {
-    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
-}
-body: [regular, 9:0-9:4] {
-    ['font-size':'12px'] @[10:4-10:20] active
-    ['foo':'bar !
-
-    important /* !important property not recognized by WebCore */' is-important non-parsed] @[11:4-13:66] active
-    ['height':'100% !important' is-important] @[14:4-14:28] active
-    ['colorz':'&quot;!important&quot;' non-parsed] @[15:4-15:25] active
-    ['important':'!important' non-parsed] @[16:4-16:25] active
-    ['color':'yellow'] @[17:4-17:18] active
-    ['color':'&quot;badcolor&quot; ! important /* good property with strange value */' is-important non-parsed] @[18:4-18:73] active
-}
-body.main1: [regular, 21:29-21:67] {
-    ['color':'#F00BAA'] @[21:81-21:96] active
-    ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:96-21:149] active
-}
-body.main2: [regular, 23:0-23:10] {
-    ['background':'green /* value !important comment */ !important /* no semicolon, very !important */' is-important] @[23:11-23:106] active
-    ['background-image':'initial' is-important] @[undefined-undefined] style
-    ['background-repeat-x':'initial' is-important] @[undefined-undefined] style
-    ['background-repeat-y':'initial' is-important] @[undefined-undefined] style
-    ['background-attachment':'initial' is-important] @[undefined-undefined] style
-    ['background-position-x':'initial' is-important] @[undefined-undefined] style
-    ['background-position-y':'initial' is-important] @[undefined-undefined] style
-    ['background-origin':'initial' is-important] @[undefined-undefined] style
-    ['background-clip':'initial' is-important] @[undefined-undefined] style
-    ['background-color':'green' is-important] @[undefined-undefined] style
-    ['background-size':'initial' is-important] @[undefined-undefined] style
-}
-body.mainpage: [regular, 3:0-3:13] {
-    ['text-decoration':'none'] @[4:4-4:26] active
-    ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] active
-}
-body.mainpage: [regular, 8:0-8:13] {
-    ['prop1':'val1' non-parsed] @[9:4-9:16] active
-    ['prop2':'val2' non-parsed] @[10:4-10:16] active
-}
-body:hover: [regular, 13:0-13:10] {
-    ['color':'#CDE'] @[14:2-14:14] active
-}
-
-=== Attributes style for table ===
-['width':'50%'] @[undefined-undefined] style
-
-=== Stylesheet-for-inline-style text ===
-
-
-=== Stylesheet-for-inline-style modification result ===
-NotSupportedError
-
-=== All stylesheets ===
-
-StyleSheet: '@charset &quot;UTF-8&quot;;
-
-@import url(&quot;styles-new-API-1.css&quot;);
-
-html {
-    font-weight: 400;
-}
-
-@media screen {
-body {
-    font-size: 12px;
-    foo: bar !
-
-    important /* !important property not recognized by WebCore */;
-    height: 100% !important;
-    colorz: &quot;!important&quot;;
-    important:!important;
-    color: yellow;
-    color: &quot;badcolor&quot; ! important /* good property with strange value */;
-}
-
-/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
-
-body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
-}
-
-body::after  {
-    content: &quot;After body&quot;;
-}
-
-h1 {
-    height : 100% ; border: 1px solid; border-width: 2px; background-color : #33FF33; googles: abra; foo: .bar; -moz-goog: 1***; border-width: 0px;
-}
-'
-html: [regular, 4:0-4:4] {
-    ['font-weight':'400'] @[5:4-5:21] active
-}
-body: [regular, 9:0-9:4] {
-    ['font-size':'12px'] @[10:4-10:20] active
-    ['foo':'bar !
-
-    important /* !important property not recognized by WebCore */' is-important non-parsed] @[11:4-13:66] active
-    ['height':'100% !important' is-important] @[14:4-14:28] active
-    ['colorz':'&quot;!important&quot;' non-parsed] @[15:4-15:25] active
-    ['important':'!important' non-parsed] @[16:4-16:25] active
-    ['color':'yellow'] @[17:4-17:18] active
-    ['color':'&quot;badcolor&quot; ! important /* good property with strange value */' is-important non-parsed] @[18:4-18:73] active
-}
-body.main1: [regular, 21:29-21:67] {
-    ['color':'#F00BAA'] @[21:81-21:96] active
-    ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:96-21:149] active
-}
-body.main2: [regular, 23:0-23:10] {
-    ['background':'green /* value !important comment */ !important /* no semicolon, very !important */' is-important] @[23:11-23:106] active
-    ['background-image':'initial' is-important] @[undefined-undefined] style
-    ['background-repeat-x':'initial' is-important] @[undefined-undefined] style
-    ['background-repeat-y':'initial' is-important] @[undefined-undefined] style
-    ['background-attachment':'initial' is-important] @[undefined-undefined] style
-    ['background-position-x':'initial' is-important] @[undefined-undefined] style
-    ['background-position-y':'initial' is-important] @[undefined-undefined] style
-    ['background-origin':'initial' is-important] @[undefined-undefined] style
-    ['background-clip':'initial' is-important] @[undefined-undefined] style
-    ['background-color':'green' is-important] @[undefined-undefined] style
-    ['background-size':'initial' is-important] @[undefined-undefined] style
-}
-body::after: [regular, 26:0-26:11] {
-    ['content':'&quot;After body&quot;'] @[27:4-27:26] active
-}
-h1: [regular, 30:0-30:2] {
-    ['height':'100%'] @[31:4-31:19] active
-    ['border':'1px solid'] @[31:20-31:38] active
-    ['border-width':'2px'] @[31:39-31:57] inactive
-    ['background-color':'#33FF33'] @[31:58-31:85] active
-    ['googles':'abra' non-parsed] @[31:86-31:100] active
-    ['foo':'.bar' non-parsed] @[31:101-31:111] active
-    ['-moz-goog':'1***' non-parsed] @[31:112-31:128] active
-    ['border-width':'0px'] @[31:129-31:147] active
-    ['border-top-style':'solid'] @[undefined-undefined] style
-    ['border-right-style':'solid'] @[undefined-undefined] style
-    ['border-bottom-style':'solid'] @[undefined-undefined] style
-    ['border-left-style':'solid'] @[undefined-undefined] style
-    ['border-top-color':'initial'] @[undefined-undefined] style
-    ['border-right-color':'initial'] @[undefined-undefined] style
-    ['border-bottom-color':'initial'] @[undefined-undefined] style
-    ['border-left-color':'initial'] @[undefined-undefined] style
-    ['border-image-source':'initial'] @[undefined-undefined] style
-    ['border-image-slice':'initial'] @[undefined-undefined] style
-    ['border-image-width':'initial'] @[undefined-undefined] style
-    ['border-image-outset':'initial'] @[undefined-undefined] style
-    ['border-image-repeat':'initial'] @[undefined-undefined] style
-    ['border-top-width':'0px'] @[undefined-undefined] style
-    ['border-right-width':'0px'] @[undefined-undefined] style
-    ['border-bottom-width':'0px'] @[undefined-undefined] style
-    ['border-left-width':'0px'] @[undefined-undefined] style
-}
-
-StyleSheet: '@import url(styles-new-API-2.css);
-
-@page { margin: 2cm } /* All margins set to 2cm */
-
-@page :first {
-  margin-top: 10cm    /* Top margin on first page 10cm */
-}
-
-@media screen {
-
-#absent-id {
-}
-
-@font-face {
-    font-family: 'TheFont';
-    src: url('font.url');
-    font-weight: normal;
-    font-style: normal;
-}
-
-body {
-    property: imported-media-screen-stylesheet;
-}
-
-}
-'
-#absent-id: [regular, 10:0-10:10] {
-}
-body: [regular, 20:0-20:4] {
-    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
-}
-
-StyleSheet: '@import url(styles-new-API-1.css);
-
-@page { margin: 2cm } /* All margins set to 2cm */
-
-@page :first {
-  margin-top: 10cm    /* Top margin on first page 10cm */
-}
-
-@media screen {
-
-#absent-id {
-}
-
-@font-face {
-    font-family: 'TheFont';
-    src: url('font.url');
-    font-weight: normal;
-    font-style: normal;
-}
-
-body {
-    property: imported-media-screen-stylesheet;
-}
-
-}
-'
-#absent-id: [regular, 10:0-10:10] {
-}
-body: [regular, 20:0-20:4] {
-    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
-}
-
-StyleSheet: '
-
-/* An inline stylesheet */
-body.mainpage {
-    text-decoration: none; /* at least one valid property is necessary for WebCore to match a rule */
-    ;badproperty: 1badvalue1;
-}
-
-body.mainpage {
-    prop1: val1;
-    prop2: val2;
-}
-
-body:hover {
-  color: #CDE;
-}
-'
-body.mainpage: [regular, 3:0-3:13] {
-    ['text-decoration':'none'] @[4:4-4:26] active
-    ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] active
-}
-body.mainpage: [regular, 8:0-8:13] {
-    ['prop1':'val1' non-parsed] @[9:4-9:16] active
-    ['prop2':'val2' non-parsed] @[10:4-10:16] active
-}
-body:hover: [regular, 13:0-13:10] {
-    ['color':'#CDE'] @[14:2-14:14] active
-}
-
-=== Last stylesheet patched ===
-
-StyleSheet: 'body.mainpage {    text-decoration: strikethrough;    badproperty: 2badvalue2;}body {    text-align: justify;}'
-body.mainpage: [regular, 0:0-0:13] {
-    ['text-decoration':'strikethrough' non-parsed] @[0:19-0:50] active
-    ['badproperty':'2badvalue2' non-parsed] @[0:54-0:78] active
-}
-body: [regular, 0:79-0:83] {
-    ['text-align':'justify'] @[0:89-0:109] active
-}
-
-=== After selector set ===
-
-StyleSheet: 'html *, body[foo=&quot;bar&quot;] {    text-decoration: strikethrough;    badproperty: 2badvalue2;}body {    text-align: justify;}'
-html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
-    ['text-decoration':'strikethrough' non-parsed] @[0:29-0:60] active
-    ['badproperty':'2badvalue2' non-parsed] @[0:64-0:88] active
-}
-body: [regular, 0:89-0:93] {
-    ['text-align':'justify'] @[0:99-0:119] active
-}
-
-=== After property text set ===
-
-StyleSheet: 'html *, body[foo=&quot;bar&quot;] {
-    color: white; background: black;
-}body {    text-align: justify;}'
-html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
-    ['color':'white'] @[1:4-1:17] active
-    ['background':'black'] @[1:18-1:36] active
-    ['background-image':'initial'] @[undefined-undefined] style
-    ['background-repeat-x':'initial'] @[undefined-undefined] style
-    ['background-repeat-y':'initial'] @[undefined-undefined] style
-    ['background-attachment':'initial'] @[undefined-undefined] style
-    ['background-position-x':'initial'] @[undefined-undefined] style
-    ['background-position-y':'initial'] @[undefined-undefined] style
-    ['background-origin':'initial'] @[undefined-undefined] style
-    ['background-clip':'initial'] @[undefined-undefined] style
-    ['background-color':'black'] @[undefined-undefined] style
-    ['background-size':'initial'] @[undefined-undefined] style
-}
-body: [regular, 2:1-2:5] {
-    ['text-align':'justify'] @[2:11-2:31] active
-}
-
-=== After first style text set ===
-
-StyleSheet: 'html *, body[foo=&quot;bar&quot;] {}body {    text-align: justify;}'
-html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
-}
-body: [regular, 0:26-0:30] {
-    ['text-align':'justify'] @[0:36-0:56] active
-}
-
-=== After second style text set ===
-
-StyleSheet: 'html *, body[foo=&quot;bar&quot;] {color: green; background: red; foo: bar; *baz: bar; /* Comment */ font-weight: bold !important}body {    text-align: justify;}'
-html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
-    ['color':'green'] @[0:25-0:38] active
-    ['background':'red'] @[0:39-0:55] active
-    ['foo':'bar' non-parsed] @[0:56-0:65] active
-    ['font-weight':'bold !important' is-important] @[0:91-0:119] active
-    ['background-image':'initial'] @[undefined-undefined] style
-    ['background-repeat-x':'initial'] @[undefined-undefined] style
-    ['background-repeat-y':'initial'] @[undefined-undefined] style
-    ['background-attachment':'initial'] @[undefined-undefined] style
-    ['background-position-x':'initial'] @[undefined-undefined] style
-    ['background-position-y':'initial'] @[undefined-undefined] style
-    ['background-origin':'initial'] @[undefined-undefined] style
-    ['background-clip':'initial'] @[undefined-undefined] style
-    ['background-color':'red'] @[undefined-undefined] style
-    ['background-size':'initial'] @[undefined-undefined] style
-}
-body: [regular, 0:120-0:124] {
-    ['text-align':'justify'] @[0:130-0:150] active
-}
-
-=== Matched rules after rule added ===
-body: [user-agent] {
-    ['display':'block'] @[undefined-undefined] style
-    ['margin-top':'8px'] @[undefined-undefined] style
-    ['margin-right':'8px'] @[undefined-undefined] style
-    ['margin-bottom':'8px'] @[undefined-undefined] style
-    ['margin-left':'8px'] @[undefined-undefined] style
-}
-body: [regular, 20:0-20:4] {
-    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
-}
-body: [regular, 20:0-20:4] {
-    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
-}
-body: [regular, 9:0-9:4] {
-    ['font-size':'12px'] @[10:4-10:20] active
-    ['foo':'bar !
-
-    important /* !important property not recognized by WebCore */' is-important non-parsed] @[11:4-13:66] active
-    ['height':'100% !important' is-important] @[14:4-14:28] active
-    ['colorz':'&quot;!important&quot;' non-parsed] @[15:4-15:25] active
-    ['important':'!important' non-parsed] @[16:4-16:25] active
-    ['color':'yellow'] @[17:4-17:18] active
-    ['color':'&quot;badcolor&quot; ! important /* good property with strange value */' is-important non-parsed] @[18:4-18:73] active
-}
-html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
-    ['color':'green'] @[0:25-0:38] active
-    ['background':'red'] @[0:39-0:55] active
-    ['foo':'bar' non-parsed] @[0:56-0:65] active
-    ['font-weight':'bold !important' is-important] @[0:91-0:119] active
-    ['background-image':'initial'] @[undefined-undefined] style
-    ['background-repeat-x':'initial'] @[undefined-undefined] style
-    ['background-repeat-y':'initial'] @[undefined-undefined] style
-    ['background-attachment':'initial'] @[undefined-undefined] style
-    ['background-position-x':'initial'] @[undefined-undefined] style
-    ['background-position-y':'initial'] @[undefined-undefined] style
-    ['background-origin':'initial'] @[undefined-undefined] style
-    ['background-clip':'initial'] @[undefined-undefined] style
-    ['background-color':'red'] @[undefined-undefined] style
-    ['background-size':'initial'] @[undefined-undefined] style
-}
-body: [regular, 0:120-0:124] {
-    ['text-align':'justify'] @[0:130-0:150] active
-}
-body: [inspector, 0:0-0:4] {
-    ['font-family':'serif'] @[1:4-1:23] active
-}
-body.main1: [regular, 21:29-21:67] {
-    ['color':'#F00BAA'] @[21:81-21:96] active
-    ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:96-21:149] active
-}
-body.main2: [regular, 23:0-23:10] {
-    ['background':'green /* value !important comment */ !important /* no semicolon, very !important */' is-important] @[23:11-23:106] active
-    ['background-image':'initial' is-important] @[undefined-undefined] style
-    ['background-repeat-x':'initial' is-important] @[undefined-undefined] style
-    ['background-repeat-y':'initial' is-important] @[undefined-undefined] style
-    ['background-attachment':'initial' is-important] @[undefined-undefined] style
-    ['background-position-x':'initial' is-important] @[undefined-undefined] style
-    ['background-position-y':'initial' is-important] @[undefined-undefined] style
-    ['background-origin':'initial' is-important] @[undefined-undefined] style
-    ['background-clip':'initial' is-important] @[undefined-undefined] style
-    ['background-color':'green' is-important] @[undefined-undefined] style
-    ['background-size':'initial' is-important] @[undefined-undefined] style
-}
-
-=== After property manipulations ===
-[text='height : 100% ;'] disabled
-['border':'1px solid'] @[30:5-30:23] active
-['border-width':'2px'] @[30:24-30:42] inactive
-['googles':'abra' non-parsed] @[30:44-30:58] active
-['foo':'.bar' non-parsed] @[30:59-30:69] active
-['-moz-goog':'1***' non-parsed] @[30:70-30:86] active
-['font-size':'12px'] @[31:4-31:20] active
-['border-width':'1px'] @[32:4-32:22] active
-[text='font-size: 14px;'] disabled
-['border-top-width':'1px'] @[undefined-undefined] style
-['border-right-width':'1px'] @[undefined-undefined] style
-['border-bottom-width':'1px'] @[undefined-undefined] style
-['border-left-width':'1px'] @[undefined-undefined] style
-['border-top-style':'solid'] @[undefined-undefined] style
-['border-right-style':'solid'] @[undefined-undefined] style
-['border-bottom-style':'solid'] @[undefined-undefined] style
-['border-left-style':'solid'] @[undefined-undefined] style
-['border-top-color':'initial'] @[undefined-undefined] style
-['border-right-color':'initial'] @[undefined-undefined] style
-['border-bottom-color':'initial'] @[undefined-undefined] style
-['border-left-color':'initial'] @[undefined-undefined] style
-['border-image-source':'initial'] @[undefined-undefined] style
-['border-image-slice':'initial'] @[undefined-undefined] style
-['border-image-width':'initial'] @[undefined-undefined] style
-['border-image-outset':'initial'] @[undefined-undefined] style
-['border-image-repeat':'initial'] @[undefined-undefined] style
-
-=== After property enabled ===
-[text='height : 100% ;'] disabled
-['border':'1px solid'] @[30:5-30:23] active
-['border-width':'2px'] @[30:24-30:42] inactive
-['googles':'abra' non-parsed] @[30:44-30:58] active
-['foo':'.bar' non-parsed] @[30:59-30:69] active
-['-moz-goog':'1***' non-parsed] @[30:70-30:86] active
-['font-size':'12px'] @[31:4-31:20] inactive
-['border-width':'1px'] @[32:4-32:22] active
-['font-size':'14px'] @[33:4-33:20] active
-['border-top-width':'1px'] @[undefined-undefined] style
-['border-right-width':'1px'] @[undefined-undefined] style
-['border-bottom-width':'1px'] @[undefined-undefined] style
-['border-left-width':'1px'] @[undefined-undefined] style
-['border-top-style':'solid'] @[undefined-undefined] style
-['border-right-style':'solid'] @[undefined-undefined] style
-['border-bottom-style':'solid'] @[undefined-undefined] style
-['border-left-style':'solid'] @[undefined-undefined] style
-['border-top-color':'initial'] @[undefined-undefined] style
-['border-right-color':'initial'] @[undefined-undefined] style
-['border-bottom-color':'initial'] @[undefined-undefined] style
-['border-left-color':'initial'] @[undefined-undefined] style
-['border-image-source':'initial'] @[undefined-undefined] style
-['border-image-slice':'initial'] @[undefined-undefined] style
-['border-image-width':'initial'] @[undefined-undefined] style
-['border-image-outset':'initial'] @[undefined-undefined] style
-['border-image-repeat':'initial'] @[undefined-undefined] style
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesnewAPIhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-new-API.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-new-API.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-new-API.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,418 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-new-API.css&quot;&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-
-    test_styles();
-
-    var bodyId;
-    function test_styles(node)
-    {
-        function callback(styles)
-        {
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Computed style property count for body ===&quot;);
-            var propCount = styles.computedStyle.length;
-            InspectorTest.addResult(propCount &gt; 200 ? &quot;OK&quot; : &quot;FAIL (&quot; + propCount + &quot;)&quot;);
-
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Matched rules for body ===&quot;);
-            InspectorTest.dumpRuleMatchesArray(styles.matchedCSSRules);
-
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Pseudo rules for body ===&quot;);
-            for (var i = 0; i &lt; styles.pseudoElements.length; ++i) {
-                InspectorTest.addResult(&quot;PseudoId=&quot; + styles.pseudoElements[i].pseudoId);
-                InspectorTest.dumpRuleMatchesArray(styles.pseudoElements[i].matches);
-            }
-
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Inherited styles for body ===&quot;);
-            for (var i = 0; i &lt; styles.inherited.length; ++i) {
-                InspectorTest.addResult(&quot;Level=&quot; + (i + 1));
-                InspectorTest.dumpStyle(styles.inherited[i].inlineStyle);
-                InspectorTest.dumpRuleMatchesArray(styles.inherited[i].matchedCSSRules);
-            }
-
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Inline style for body ===&quot;);
-            InspectorTest.dumpStyle(styles.inlineStyle);
-            test_forcedState();
-        }
-
-        var resultStyles = {};
-
-        function computedCallback(error, computedStyle)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                InspectorTest.completeTest();
-                return;
-            }
-            resultStyles.computedStyle = computedStyle;
-        }
-
-        function inlineCallback(error, inlineStyle)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                InspectorTest.completeTest();
-                return;
-            }
-            resultStyles.inlineStyle = inlineStyle;
-        }
-
-        function matchedCallback(error, matchedCSSRules, pseudoElements, inherited)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                InspectorTest.completeTest();
-                return;
-            }
-
-            resultStyles.matchedCSSRules = matchedCSSRules;
-            resultStyles.pseudoElements = pseudoElements;
-            resultStyles.inherited = inherited;
-            callback(resultStyles);
-        }
-
-        function nodeCallback(node)
-        {
-            bodyId = node.id;
-            CSSAgent.getComputedStyleForNode(node.id, computedCallback);
-            CSSAgent.getInlineStylesForNode(node.id, inlineCallback);
-            CSSAgent.getMatchedStylesForNode(node.id, true, true, matchedCallback);
-        }
-        InspectorTest.selectNodeWithId(&quot;mainBody&quot;, nodeCallback);
-    }
-
-    function test_forcedState()
-    {
-        CSSAgent.forcePseudoState(bodyId, [&quot;hover&quot;]);
-        CSSAgent.getMatchedStylesForNode(bodyId, true, true, matchedCallback);
-
-        function matchedCallback(error, matchedRules)
-        {
-            InspectorTest.addResult(&quot;=== BODY with forced :hover ===&quot;);
-            InspectorTest.dumpRuleMatchesArray(matchedRules);
-            CSSAgent.forcePseudoState(bodyId, [&quot;hover&quot;], test_tableStyles);
-        }
-    }
-
-    function test_tableStyles()
-    {
-        function callback(error, inlineStyle, attributesStyle)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Attributes style for table ===&quot;);
-            InspectorTest.dumpStyle(attributesStyle);
-            test_inlineStyleSheetModification(inlineStyle);
-        }
-
-        function nodeCallback(node)
-        {
-            CSSAgent.getInlineStylesForNode(node.id, callback);
-        }
-        InspectorTest.nodeWithId(&quot;thetable&quot;, nodeCallback);
-    }
-
-    function test_inlineStyleSheetModification(inlineStyle)
-    {
-        CSSAgent.getStyleSheetText(inlineStyle.styleId.styleSheetId, textCallback);
-
-        function textCallback(error, result)
-        {
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Stylesheet-for-inline-style text ===&quot;);
-            InspectorTest.addResult(result);
-            CSSAgent.setStyleSheetText(inlineStyle.styleId.styleSheetId, &quot;&quot;, setTextCallback);
-        }
-
-        function setTextCallback(error, result)
-        {
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Stylesheet-for-inline-style modification result ===&quot;);
-            InspectorTest.addResult(error);
-            test_styleSheets();
-        }
-    }
-
-    function test_styleSheets()
-    {
-        var newStyleSheetText =
-            &quot;body.mainpage {&quot; +
-            &quot;    text-decoration: strikethrough;&quot; +
-            &quot;    badproperty: 2badvalue2;&quot; +
-            &quot;}&quot; +
-            &quot;body {&quot; +
-            &quot;    text-align: justify;&quot; +
-            &quot;}&quot;;
-
-        function patchStyleSheet(styleSheet)
-        {
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Last stylesheet patched ===&quot;);
-            CSSAgent.setStyleSheetText(styleSheet.styleSheetId, newStyleSheetText,
-                loadAndDumpStyleSheet.bind(null, styleSheet.styleSheetId, test_changeSelector));
-        }
-
-        function styleSheetInfosLoaded(error, infos)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== All stylesheets ===&quot;);
-            for (var i = 0; i &lt; infos.length; ++i)
-                loadAndDumpStyleSheet(infos[i].styleSheetId, (i &lt; infos.length - 1) ? null : patchStyleSheet);
-        }
-        CSSAgent.getAllStyleSheets(styleSheetInfosLoaded);
-    }
-
-    function test_changeSelector(styleSheet)
-    {
-        function didSetSelector(error, rule)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== After selector set ===&quot;);
-            loadAndDumpStyleSheet(rule.ruleId.styleSheetId, test_setPropertyText);
-        }
-
-        CSSAgent.setRuleSelector(styleSheet.rules[0].ruleId, &quot;html *, body[foo=\&quot;bar\&quot;]&quot;, didSetSelector);
-    }
-
-    function test_setPropertyText(styleSheet)
-    {
-        function didSetPropertyText(error, style)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== After property text set ===&quot;);
-            loadAndDumpStyleSheet(style.styleId.styleSheetId, test_setStyleText1);
-        }
-
-        CSSAgent.setPropertyText(styleSheet.rules[0].style.styleId, 0, &quot;&quot;, true);
-        CSSAgent.setPropertyText(styleSheet.rules[0].style.styleId, 0, &quot;&quot;, true);
-
-        // This operation should not update the style as the new property text is not parsable.
-        CSSAgent.setPropertyText(styleSheet.rules[0].style.styleId, 0, &quot;zzz;&quot;, false);
-        CSSAgent.setPropertyText(styleSheet.rules[0].style.styleId, 0, &quot;color: white; background: black;&quot;, false, didSetPropertyText);
-    }
-
-    function test_setStyleText1(styleSheet)
-    {
-        function didSetStyleText1(error, style)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== After first style text set ===&quot;);
-            loadAndDumpStyleSheet(style.styleId.styleSheetId, test_setStyleText2);
-        }
-
-        CSSAgent.setStyleText(styleSheet.rules[0].style.styleId, &quot;&quot;, didSetStyleText1);
-    }
-
-    function test_setStyleText2(styleSheet)
-    {
-        function didSetStyleText2(error, style)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== After second style text set ===&quot;);
-            loadAndDumpStyleSheet(style.styleId.styleSheetId, test_addRule);
-        }
-
-        CSSAgent.setStyleText(styleSheet.rules[0].style.styleId, &quot;color: green; background: red; foo: bar; *baz: bar; /* Comment */ font-weight: bold !important&quot;, didSetStyleText2);
-    }
-
-    function test_addRule()
-    {
-        function didGetStyles(error, matchedCSSRules)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== Matched rules after rule added ===&quot;);
-            InspectorTest.dumpRuleMatchesArray(matchedCSSRules);
-            test_disableProperty();
-        }
-
-        function didSetStyleText(error, style)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            CSSAgent.getMatchedStylesForNode(bodyId, false, false, didGetStyles);
-        }
-
-        function ruleAdded(error, rule)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            CSSAgent.setPropertyText(rule.style.styleId, 0, &quot;font-family: serif;&quot;, false, didSetStyleText);
-        }
-
-        CSSAgent.addRule(bodyId, &quot;body&quot;, ruleAdded);
-    }
-
-    function test_disableProperty()
-    {
-        function didDisableProperty(error, style)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== After property manipulations ===&quot;);
-            InspectorTest.dumpStyle(style);
-            test_enableProperty(style.styleId);
-        }
-
-        function stylesCallback(error, matchedCSSRules)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            // height : 100% ;
-            // border: 1px solid;
-            // border-width: 2px;
-            // background-color : #33FF33;
-            // googles: abra;
-            // foo: .bar;
-            // -moz-goog: 1***;
-            // border-width: 0px;
-
-            var styleId = matchedCSSRules[1].rule.style.styleId;
-            CSSAgent.toggleProperty(styleId, 0, true); // height: 100%
-            CSSAgent.toggleProperty(styleId, 7, true); // border-width: 0px
-            CSSAgent.setPropertyText(styleId, 7, &quot;font-size: 12px;&quot;, false);
-            CSSAgent.setPropertyText(styleId, 9, &quot;font-size: 14px;&quot;, false);
-            CSSAgent.toggleProperty(styleId, 9, true); // font-size: 14px
-            CSSAgent.setPropertyText(styleId, 8, &quot;border-width: 1px;&quot;, true);
-            CSSAgent.toggleProperty(styleId, 8, false); // border-width: 1px
-            // height : 100% ; [d]
-            // border: 1px solid;
-            // border-width: 2px;
-            // background-color : #33FF33;
-            // googles: abra;
-            // foo: .bar;
-            // -moz-goog: 1***;
-            // font-size: 12px;
-            // border-width: 1px;
-            // font-size: 14px; [d]
-
-            CSSAgent.setPropertyText(styleId, 3, &quot;&quot;, true, didDisableProperty);
-        }
-
-        function nodeCallback(node)
-        {
-            CSSAgent.getMatchedStylesForNode(node.id, false, false, stylesCallback);
-        }
-        InspectorTest.nodeWithId(&quot;toggle&quot;, nodeCallback);
-    }
-
-    function test_enableProperty(styleId)
-    {
-        function didEnableProperty(error, style)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;=== After property enabled ===&quot;);
-            InspectorTest.dumpStyle(style);
-            InspectorTest.completeTest();
-        }
-
-        CSSAgent.toggleProperty(styleId, 6, false);
-        CSSAgent.toggleProperty(styleId, 8, false, didEnableProperty);
-    }
-
-    function loadAndDumpStyleSheet(styleSheetId, continuation, error)
-    {
-        if (error) {
-            InspectorTest.addResult(&quot;error: &quot; + error);
-            return;
-        }
-
-        function styleSheetLoaded(error, styleSheet)
-        {
-            if (error) {
-                InspectorTest.addResult(&quot;error: &quot; + error);
-                return;
-            }
-            InspectorTest.addResult(&quot;&quot;);
-            InspectorTest.addResult(&quot;StyleSheet: '&quot; + styleSheet.text + &quot;'&quot;);
-            InspectorTest.dumpRulesArray(styleSheet.rules);
-            if (continuation)
-                continuation(styleSheet);
-        }
-
-        CSSAgent.getStyleSheet(styleSheetId, styleSheetLoaded);
-    }
-}
-
-&lt;/script&gt;
-
-&lt;style&gt;
-
-/* An inline stylesheet */
-body.mainpage {
-    text-decoration: none; /* at least one valid property is necessary for WebCore to match a rule */
-    ;badproperty: 1badvalue1;
-}
-
-body.mainpage {
-    prop1: val1;
-    prop2: val2;
-}
-
-body:hover {
-  color: #CDE;
-}
-&lt;/style&gt;
-&lt;/head&gt;
-
-&lt;body id=&quot;mainBody&quot; class=&quot;main1 main2 mainpage&quot; onload=&quot;runTest()&quot; style=&quot;font-weight: normal; width: 85%; background-image: url(bar.png)&quot;&gt;
-&lt;p&gt;
-Tests that InspectorCSSAgent API methods work as expected.
-&lt;/p&gt;
-&lt;table width=&quot;50%&quot; id=&quot;thetable&quot;&gt;
-&lt;/table&gt;
-&lt;h1 id=&quot;toggle&quot;&gt;H1&lt;/h1&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesoverridenpropertiesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-overriden-properties-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-overriden-properties-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-overriden-properties-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-Tests that overriding shorthands within rule are visible.
-
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-#main  { (styles-overriden-properties.html:4)
-/-- overloaded --/ background: #000;
-background: #bada55;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylesoverridenpropertieshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-overriden-properties.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-overriden-properties.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-overriden-properties.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style type=&quot;text/css&quot;&gt;
-#main {
-    height: 100px;
-    background: #000;
-    background: #bada55;
-}
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;main&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that overriding shorthands within rule are visible.
-&lt;/p&gt;
-
-&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylessourcelinesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-source-lines-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-source-lines-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-source-lines-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,35 +0,0 @@
</span><del>-Tests that proper source lines are reported for the parsed styles.
-
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-media=&quot;screen&quot; (styles-source-lines.html)
-#main, .at_line_50  { (styles-source-lines.html:50)
-border: 1px solid
-    red;
-
-[expanded] 
-media=&quot;screen&quot; (styles-source-lines.html)
-#main, .at_line_43  { (styles-source-lines.html:43)
-font-size: 10px;
-
-[expanded] 
-media=&quot;screen&quot; (styles-source-lines.html)
-#main, .at_line_29  { (styles-source-lines.html:29)
-font-family: /*  Comment in 
-                      value  */courier;
-
-[expanded] 
-media=&quot;screen&quot; (styles-source-lines.html)
-#main, .at_line_15::before  { (styles-source-lines.html:15)
-color: red;
-content: &quot;Before&quot;;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylessourcelinesinlineexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-source-lines-inline-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-source-lines-inline-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-source-lines-inline-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-Tests that elements panel shows proper inline style locations in the sidebar panel.
-
-
-[expanded] 
-element.style  { ()
-display: none;
-
-======== Matched CSS Rules ========
-[expanded] 
-.foo  { (styles-source-lines-inline.html:7)
-color: blue;
-
-[expanded] 
-div  { (user agent stylesheet)
-/-- overloaded --/ display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylessourcelinesinlinehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-source-lines-inline.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-source-lines-inline.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-source-lines-inline.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,37 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;style&gt;
-.foo {
-    color: blue;
-}
-&lt;/style&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;foo&quot;, step2);
-
-    function step2()
-    {
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that elements panel shows proper inline style locations in the sidebar panel.
-&lt;/p&gt;
-
-&lt;div id=&quot;foo&quot; class=&quot;foo&quot; style=&quot;display:none&quot;&gt;Foo&lt;/div&gt;
-&lt;iframe src=&quot;resources/styles-source-lines-inline-iframe.html&quot;&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylessourcelineshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-source-lines.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-source-lines.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-source-lines.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,82 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;!--
-    Line numbers are reported wrt the opened style tag baseline.
-    Allow some space here to align local line numbers to be style + 10.
-    Selector sourceLine is the line of the corresponding { following the
-    selector text.
---&gt;
-
-&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
-#main, .at_line_15::/*
-Multiline comment
-before pseudo element
-              */before 
-{
-    color:red;
-    content: &quot;Before&quot;
-}
-/*
-
-Multiline comment followed with whitespace
-
-
-*/
-
-#main, .at_line_29
-
-
-{
-    /* Comment in definition*/
-    /* Comment in definition 2*/
-
-    /* Comment in definition 3
-    */font-family:/*  Comment in 
-                      value  */courier;
-    color blue;
-}/*Multiline comment
-
-followed by selector
-*/#main,
-.at_line_43
-
-{
-    font-size:
-        10px;
-}
-
-
-#main, .at_line_50
-{
-    border: 1px solid
-    red;
-}
-&lt;/style&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;main&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that proper source lines are reported for the parsed styles.
-&lt;/p&gt;
-
-&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylessourceoffsetsexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-source-offsets-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-source-offsets-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-source-offsets-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,23 +0,0 @@
</span><del>-Tests that proper data and start/end offset positions are reported for CSS style declarations and properties.
-
-body: [0:0-0:4] [0:6-9:0]
-['font-size':'12px'] @[1:4-1:20]
-['foo':'bar !
-
-    important /* !important property not recognized by WebCore */' !important non-parsed] @[2:4-4:66]
-['height':'100% !important' !important] @[5:4-5:28]
-['colorz':'&quot;!important&quot;' non-parsed] @[6:4-6:25]
-['important':'!important' non-parsed] @[7:4-7:25]
-['color':'&quot;badcolor&quot; ! important /* good property with strange value */' !important non-parsed] @[8:4-8:73]
-body.main1: [11:29-11:67] [11:68-11:149]
-['color':'#F00BAA'] @[11:81-11:96]
-['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[11:96-11:149]
-body.main2: [13:0-13:10] [13:11-13:106]
-['background':'green /* value !important comment */ !important /* no semicolon, very !important */' !important] @[13:11-13:106]
-body.mainpage: [2:0-2:13] [2:15-5:0]
-['text-decoration':'none'] @[3:4-3:26]
-['badproperty':'1badvalue1' non-parsed] @[4:4-4:28]
-element.style: [0:0-0:31]
-['font-weight':'normal'] @[0:0-0:20]
-['width':'80%'] @[0:21-0:31]
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesstylessourceoffsetshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/styles-source-offsets.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/styles-source-offsets.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/styles-source-offsets.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,96 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-
-&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-source-offsets.css&quot;&gt;
-
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function dumpStyleData(ruleOrStyle)
-    {
-        var isRule = !!(ruleOrStyle.style);
-        var style;
-        var header = &quot;&quot;;
-        if (isRule) {
-            if (ruleOrStyle.origin !== &quot;regular&quot;)
-                return;
-            style = ruleOrStyle.style;
-            header = ruleOrStyle.selectorList.text + &quot;: &quot; + (ruleOrStyle.selectorList.range ? InspectorTest.rangeText(ruleOrStyle.selectorList.range) : &quot;&quot;);
-        } else {
-            style = ruleOrStyle;
-            header = &quot;element.style:&quot;;
-        }
-        InspectorTest.addResult(header + &quot; &quot; + InspectorTest.rangeText(style.range));
-        var allProperties = style.cssProperties;
-        for (var i = 0; i &lt; allProperties.length; ++i) {
-            var property = allProperties[i];
-            if (!property.status)
-                continue;
-            InspectorTest.addResult(&quot;['&quot; + property.name + &quot;':'&quot; + property.value + &quot;'&quot; + (property.priority ? &quot; !important&quot; : &quot;&quot;) + ((&quot;parsedOk&quot; in property) ? &quot; non-parsed&quot; : &quot;&quot;) +&quot;] @&quot; + InspectorTest.rangeText(property.range));
-        }
-    }
-    
-    InspectorTest.selectNodeWithId(&quot;mainBody&quot;, step1);
-
-    var resultStyles = {};
-
-    function inlineCallback(error, inlineStyle)
-    {
-        if (error) {
-             InspectorTest.addResult(&quot;error: &quot; + error);
-             InspectorTest.completeTest();
-             return;
-        }
-
-        resultStyles.inlineStyle = inlineStyle;
-    }
-
-    function matchedCallback(error, matchedCSSRules)
-    {
-        if (error) {
-             InspectorTest.addResult(&quot;error: &quot; + error);
-             InspectorTest.completeTest();
-             return;
-        }
-        resultStyles.matchedCSSRules = matchedCSSRules;
-        step2();
-    }
-
-    function step1(node)
-    {
-        CSSAgent.getInlineStylesForNode(node.id, inlineCallback);
-        CSSAgent.getMatchedStylesForNode(node.id, matchedCallback);
-    }
-
-    function step2()
-    {
-        var matchedCSSRules = resultStyles.matchedCSSRules;
-        for (var i = 0; i &lt; matchedCSSRules.length; ++i)
-            dumpStyleData(matchedCSSRules[i].rule);
-        dumpStyleData(resultStyles.inlineStyle);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-
-&lt;style&gt;
-
-body.mainpage {
-    text-decoration: none; /* at least one valid property is necessary for WebCore to match a rule */
-    badproperty: 1badvalue1;
-}
-
-&lt;/style&gt;
-&lt;/head&gt;
-
-&lt;body id=&quot;mainBody&quot; class=&quot;main1 main2 mainpage&quot; onload=&quot;runTest()&quot; style=&quot;font-weight: normal; width: 80%&quot;&gt;
-&lt;p&gt;
-Tests that proper data and start/end offset positions are reported for CSS style declarations and properties.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundoaddnewruleexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-add-new-rule-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-add-new-rule-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-add-new-rule-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-Tests that adding a new rule can be undone.
-
-Text
-After adding new rule:
-[expanded] 
-element.style  { ()
-font-size: 12px;
-
-======== Matched CSS Rules ========
-[expanded] 
-div.foo  { (inspector-stylesheet:1)
-
-[expanded] 
-div.foo  { (inspector-stylesheet:1)
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-===== Style sheet text: =====
-div.foo {}
-div.foo {}
-=============================
-After undo:
-[expanded] 
-element.style  { ()
-color: red;
-
-======== Matched CSS Rules ========
-[expanded] 
-div.foo  { (inspector-stylesheet:1)
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-===== Style sheet text: =====
-div.foo {}
-
-=============================
-After redo:
-[expanded] 
-element.style  { ()
-font-size: 12px;
-
-======== Matched CSS Rules ========
-[expanded] 
-div.foo  { (inspector-stylesheet:1)
-
-[expanded] 
-div.foo  { (inspector-stylesheet:1)
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-===== Style sheet text: =====
-div.foo {}
-
-div.foo {}
-=============================
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundoaddnewrulehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-add-new-rule.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-add-new-rule.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-add-new-rule.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,99 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
-
-    var treeElement;
-
-    function step1()
-    {
-        addNewRuleAndSelectNode(&quot;other&quot;, step2);
-    }
-
-    function step2()
-    {
-        addNewRuleAndSelectNode(&quot;inspected&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;After adding new rule:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        printStyleSheetAndCall(step4);
-    }
-
-    function step4()
-    {
-        WebInspector.domAgent.undo();
-        InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step5);
-    }
-
-    function step5()
-    {
-        InspectorTest.addResult(&quot;After undo:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        printStyleSheetAndCall(step6);
-    }
-
-    function step6()
-    {
-        WebInspector.domAgent.redo();
-        InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step7);
-    }
-
-    function step7()
-    {
-        InspectorTest.addResult(&quot;After redo:&quot;);
-        InspectorTest.dumpSelectedElementStyles(true, false, true);
-        printStyleSheetAndCall(step8);
-    }
-
-    function step8()
-    {
-        InspectorTest.completeTest();
-    }
-
-    function addNewRuleAndSelectNode(nodeId, next)
-    {
-        // Click &quot;Add new rule&quot;.
-        document.getElementById(&quot;add-style-button-test-id&quot;).click();
-        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
-        section._selectorElement.textContent = &quot;div.foo&quot;;
-        section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        InspectorTest.selectNodeAndWaitForStyles(nodeId, next);
-    }
-
-    function printStyleSheetAndCall(next)
-    {
-        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
-        var id = section.styleRule.style.id.styleSheetId;
-        CSSAgent.getStyleSheetText(id, callback);
-        function callback(result, styleSheetText)
-        {
-            InspectorTest.addResult(&quot;===== Style sheet text: =====&quot;);
-            InspectorTest.addResult(styleSheetText);
-            InspectorTest.addResult(&quot;=============================&quot;);
-            next();
-        }
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that adding a new rule can be undone.
-&lt;/p&gt;
-
-&lt;div class=&quot;foo&quot; id=&quot;inspected&quot; style=&quot;font-size: 12px&quot;&gt;Text&lt;/div&gt;
-&lt;div class=&quot;foo&quot; id=&quot;other&quot; style=&quot;color:red&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundoaddpropertyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-add-property-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-add-property-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-add-property-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,192 +0,0 @@
</span><del>-Tests that adding a property is undone properly.
-
-=== Last property ===
-(Initial value)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-font-weight: bold;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After adding property)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After undo)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-font-weight: bold;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After redo)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-=== First property ===
-(Initial value)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After adding property)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-margin-top: 0px;
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After undo)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After redo)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-margin-top: 0px;
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-=== Middle property ===
-(Initial value)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-margin-top: 0px;
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After adding property)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-margin-top: 0px;
-margin-right: 1px;
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After undo)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-margin-top: 0px;
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-(After redo)
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-add-property.html:7)
-margin-top: 0px;
-margin-right: 1px;
-font-weight: bold;
-margin-left: 2px;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundoaddpropertyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-add-property.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-add-property.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-add-property.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,85 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;style&gt;
-.container {
-  font-weight: bold
-}
-&lt;/style&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, testAppendProperty.bind(null, testInsertBegin));
-
-    function testAppendProperty()
-    {
-        InspectorTest.addResult(&quot;=== Last property ===&quot;);
-        testAddProperty(&quot;margin-left: 2px&quot;, undefined, testInsertBegin);
-    }
-
-    function testInsertBegin()
-    {
-        InspectorTest.addResult(&quot;=== First property ===&quot;);
-        testAddProperty(&quot;margin-top: 0px&quot;, 0, testInsertMiddle);
-    }
-
-    function testInsertMiddle()
-    {
-        InspectorTest.addResult(&quot;=== Middle property ===&quot;);
-        testAddProperty(&quot;margin-right: 1px&quot;, 1, InspectorTest.completeTest.bind(InspectorTest));
-    }
-
-    function testAddProperty(propertyText, index, callback)
-    {
-
-        InspectorTest.addResult(&quot;(Initial value)&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(&quot;font-weight&quot;);
-        var treeElement = treeItem.section().addNewBlankProperty(index);
-        treeElement.applyStyleText(propertyText, true, true);
-        InspectorTest.waitForStyles(&quot;container&quot;, step1);
-
-        function step1()
-        {
-            InspectorTest.addResult(&quot;(After adding property)&quot;);
-            InspectorTest.dumpSelectedElementStyles(true);
-
-            WebInspector.domAgent.undo();
-            InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step2);
-        }
-
-        function step2()
-        {
-            InspectorTest.addResult(&quot;(After undo)&quot;);
-            InspectorTest.dumpSelectedElementStyles(true);
-
-            WebInspector.domAgent.redo();
-            InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step3);
-        }
-
-        function step3()
-        {
-            InspectorTest.addResult(&quot;(After redo)&quot;);
-            InspectorTest.dumpSelectedElementStyles(true);
-            callback();
-        }
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that adding a property is undone properly.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; class=&quot;container&quot;&gt;&lt;/div&gt;
-&lt;div id=&quot;other&quot; class=&quot;container&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundoaddrulecrashexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-add-rule-crash-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-add-rule-crash-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-add-rule-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests that the inspected page does not crash after undoing a new rule addition. Bug 104806
-The test has passed (no crash).
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundoaddrulecrashhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-add-rule-crash.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-add-rule-crash.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-add-rule-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,47 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=../../http/tests/inspector/inspector-test.js&gt;&lt;/script&gt;
-&lt;script src=../../http/tests/inspector/elements-test.js&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
-
-    function step1()
-    {
-        addNewRuleAndSelectNode(&quot;other&quot;, step2);
-    }
-
-    function step2()
-    {
-        WebInspector.domAgent.undo();
-        InspectorTest.waitForStyles(&quot;other&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.completeTest();
-    }
-
-    function addNewRuleAndSelectNode(nodeId, next)
-    {
-        document.getElementById(&quot;add-style-button-test-id&quot;).click();
-        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
-        InspectorTest.selectNodeAndWaitForStyles(nodeId, next);
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-Tests that the inspected page does not crash after undoing a new rule addition. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=104806&quot;&gt;Bug 104806&lt;/a&gt;
-
-&lt;p&gt;The test has passed (no crash).&lt;/p&gt;
-&lt;div id=&quot;inspected&quot;&gt;&lt;div id=&quot;other&quot; /&gt;&lt;/div&gt;
-&lt;style&gt;
-@-webkit-keyframes cfpulse1 { 0% { opacity: 0.1;  } }
-.c1 { -webkit-animation-name: cfpulse1;  }
-&lt;/style&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundochangepropertyexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-change-property-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-change-property-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-change-property-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-Tests that changing a property is undone properly.
-
-Initial value
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-change-property.html:7)
-font-weight: bold;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After changing property
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-change-property.html:7)
-font-weight: normal;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After undo
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-change-property.html:7)
-font-weight: bold;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-After redo
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-.container  { (undo-change-property.html:7)
-font-weight: normal;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundochangepropertyhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-change-property.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-change-property.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-change-property.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;style&gt;
-.container {
-  font-weight: bold
-}
-&lt;/style&gt;
-
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;Initial value&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(&quot;font-weight&quot;);
-        treeItem.applyStyleText(&quot;font-weight: normal&quot;, true, false);
-        InspectorTest.waitForStyles(&quot;container&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;After changing property&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        WebInspector.domAgent.undo();
-        InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;After undo&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        WebInspector.domAgent.redo();
-        InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.addResult(&quot;After redo&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that changing a property is undone properly.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; class=&quot;container&quot;&gt;&lt;/div&gt;
-&lt;div id=&quot;other&quot; class=&quot;container&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundopropertytoggleexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-property-toggle-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-property-toggle-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-property-toggle-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,11 +0,0 @@
</span><del>-Tests that disabling style is undone properly.
-
-Before disable
-font-weight: bold;
-After disable
-/-- overloaded --/ /-- disabled --/ font-weight: bold;
-After undo
-font-weight: bold;
-After redo
-/-- overloaded --/ /-- disabled --/ font-weight: bold;
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundopropertytogglehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-property-toggle.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-property-toggle.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-property-toggle.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,61 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
-
-    function step1(node)
-    {
-        InspectorTest.addResult(&quot;Before disable&quot;);
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
-
-        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
-        InspectorTest.waitForStyles(&quot;container&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;After disable&quot;);
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
-
-        WebInspector.domAgent.undo();
-        InspectorTest.waitForStyles(&quot;container&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;After undo&quot;);
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
-
-        WebInspector.domAgent.redo();
-        InspectorTest.waitForStyles(&quot;container&quot;, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.addResult(&quot;After redo&quot;);
-        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
-        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
-        InspectorTest.completeTest();
-    }
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that disabling style is undone properly.
-&lt;/p&gt;
-
-&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundosetselectortextexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-set-selector-text-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-set-selector-text-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-set-selector-text-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,59 +0,0 @@
</span><del>-Tests that setting selector text can be undone.
-
-=== Before selector modification ===
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-#inspected  { (undo-set-selector-text.html:4)
-color: green;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-=== After selector modification ===
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-#inspected, #other  { (undo-set-selector-text.html:4)
-color: green;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-=== After undo ===
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-#inspected  { (undo-set-selector-text.html:4)
-color: green;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-=== After redo ===
-[expanded] 
-element.style  { ()
-
-======== Matched CSS Rules ========
-[expanded] 
-#inspected, #other  { (undo-set-selector-text.html:4)
-color: green;
-
-[expanded] 
-div  { (user agent stylesheet)
-display: block;
-
-
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorstylesundosetselectortexthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/styles/undo-set-selector-text.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/styles/undo-set-selector-text.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/styles/undo-set-selector-text.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;style&gt;
-#inspected {
-  color: green;
-}
-&lt;/style&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;elements&quot;);
-    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
-
-    function step1()
-    {
-        InspectorTest.addResult(&quot;=== Before selector modification ===&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
-        section.startEditingSelector();
-        section._selectorElement.textContent = &quot;#inspected, #other&quot;;
-        section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
-        InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.addResult(&quot;=== After selector modification ===&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        WebInspector.domAgent.undo();
-        InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.addResult(&quot;=== After undo ===&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-
-        WebInspector.domAgent.redo();
-        InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step4);
-    }
-
-    function step4()
-    {
-        InspectorTest.addResult(&quot;=== After redo ===&quot;);
-        InspectorTest.dumpSelectedElementStyles(true);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that setting selector text can be undone.
-&lt;/p&gt;
-
-&lt;div id=&quot;inspected&quot;&gt;&lt;/div&gt;
-&lt;div id=&quot;other&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcesanImagepng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/anImage.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcesanotherImagepng"></a>
<div class="binary"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/anotherImage.png</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcesbigpng"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/big.png (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/big.png        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/big.png        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-\x89PNG
-
- -IHDR\xA0\xA0\xEE\xE3sBIT|d\x88 IDATx\x9C\xEC\xDBA\x80@İ\x82\xCF\xC7g=\xC0 \x89\x82\xE8u\xCE9\xF0{\xF7\xDB|\x83\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0\xD0\xA8 \xE8\x8C\x80ʀ\xC0þ  Z\xFF\xD4&gt;ƀ\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8aZ#\x8A IDATT:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8cߎ        \xADjc@8\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD0\x80\xB1o\xC7\x83\xD6?\xB5\x8F1\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:t\xA8\xC7 IDAT'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0\xC0طc\x84A\xEB\x9F\xDA\xC7\xD0\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@`\xEC\xDB1 \xF5O\xEDc \xE8\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA03\x87[ IDATP        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x800\xF6\xED\x98a\xD0\xFA\xA7\xF61\xF4\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\xFBvL\x800h\xFDS\xFBz'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\xE1]\x82\xA7 IDAT\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:\x8C};&amp;@\xB4\xFE\xA9}\x8C=N@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tƾ  Z\xFF\xD4&gt;ƀ\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80\x832Fa IDAT@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8cߎ        \xADjc@8\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x85\xC2թ IDAT\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD0\x80\xB1o\xC7\x83\xD6?\xB5\x8F1\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0\xC0طc\x84A\xEB\x9F\xDA\xC7\xD0\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@{\xF8\xBB IDAT\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@`\xEC\xDB1 \xF5O\xEDc \xE8\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x800\xF6\xED\x98a\xD0\xFA\xA7\xF61\xF4\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0tX\xD0\xF5\x96IDAT*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*\x80\xD0\xA8tN@\xA0\xD08\x80J@\xE0t*X\xFBvL\x800h\xFDS\xFBz'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:'\xA0P        \xE8\x9C\x80@%\xA0p:\x95\x80\xC0        \xE8T:7V\xCD#&lt;T\xD0L$IEND\xAEB`\x82
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcestestbmp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/test.bmp (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/test.bmp        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/test.bmp        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-BM&quot;6(\xEC\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcestestgif"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/test.gif (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/test.gif        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/test.gif        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-GIF89a
-
-\xC4\xFF\xFF\xFF\x94\x94\x94\xD6\xD6֜\x9C\x9C\xAD\xAD\xAD\xEF\xEF\xEFcccJJJZZZ\xDE\xDE\xDE\xE7\xE7焄\x84\x8C\x8C\x8C\xB5\xB5\xB5\xBD\xBD\xBDkkksss\xC6\xC6\xC6\xCE\xCE\xCE!\xF9,
-
-@=\xE04ER)E\xE2$=r\xBC\x8C
-̀\xE0 BҀ -$\x87\x90\x80sATZ\x81$\xE3\xD9 IB\x91\x904p]`\x85^Q\x82@@“;
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcestestico"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/test.ico (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/test.ico        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/test.ico        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>- \xB8(* \xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcestestjpg"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/test.jpg (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/test.jpg        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/test.jpg        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-\xFF\xD8\xFF\xE0JFIF\xFF\xDBC\xFF\xDBC\xFF\xC0&quot;\xFF\xC4        
- \xFF\xC4\xB5}!1AQa&quot;q2\x81\x91\xA1#B\xB1\xC1R\xD1\xF0$3br\x82        
-%&amp;'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8A\x92\x93\x94\x95\x96\x97\x98\x99\x9A\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFF\xC4        
- \xFF\xC4\xB5w!1AQaq&quot;2\x81B\x91\xA1\xB1\xC1        #3R\xF0br\xD1
-$4\xE1%\xF1&amp;'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x92\x93\x94\x95\x96\x97\x98\x99\x9A\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFF\xDA ?\xFE\xFE(\xA2\x8A(\xA2\x8A(\xA2\x8A(\xA2\x8A\xFF\xD9
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcestestpng"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/test.png (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/test.png        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/test.png        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-\x89PNG
-
- -IHDR\xA4        \xD5\xD1sBIT|d\x88&quot;IDAT8\x8Dc\xFC\xFF\xFF\xFF*&amp;j4jبa\xA3\x86\x8D6jؐ3 \xAD3&amp;cqiIEND\xAEB`\x82
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcestestwebp"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/test.webp (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/test.webp        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/test.webp        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-RIFF6WEBPVP8 *\x9D*&gt;}2\x92G\xA2\xFD\x88\xF1- Tx'2\x95\xF27\xFE\xFFv!\xE8
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcestimelineiframedatahtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-data.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-data.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script&gt;
-console.timeStamp(&quot;SCRIPT TAG&quot;);
-
-function iframeOnload()
-{
-    console.log(&quot;iframe loaded&quot;);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;iframeOnload()&quot;&gt;
-    &lt;div&gt;Foo&lt;/div&gt;
-&lt;/body&gt;
-
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelineresourcestimelineiframepainthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-paint.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-paint.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-paint.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;body style=&quot;margin: 0&quot;&gt;
-    &lt;div style=&quot;display: block; position: absolute; left: 15px; top: 15px; width: 20px; height: 20px; background-color: blue&quot;&gt;&lt;/div&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineanimationframeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-animation-frame-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-animation-frame-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-animation-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,40 +0,0 @@
</span><del>-Tests the Timeline events for Animation Frame feature
-
-RequestAnimationFrame Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        id : &lt;number&gt;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;RequestAnimationFrame&quot;
-    usedHeapSize : &lt;number&gt;
-}
-FireAnimationFrame Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        id : &lt;number&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;FireAnimationFrame&quot;
-    usedHeapSize : &lt;number&gt;
-}
-CancelAnimationFrame Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        id : &lt;number&gt;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;CancelAnimationFrame&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineanimationframehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-animation-frame.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-animation-frame.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-animation-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,52 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    var element = document.getElementById(&quot;animation&quot;);
-    var requestId = window.requestAnimationFrame(animationFrameCallback, element);
-    function animationFrameCallback()
-    {
-        window.cancelAnimationFrame(requestId);
-    }
-
-    if (window.testRunner)
-        testRunner.display();
-}
-
-function test()
-{
-    InspectorTest.startTimeline(function() {
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-    });
-
-    InspectorTest.waitForRecordType(&quot;CancelAnimationFrame&quot;, finish);
-
-    function finish()
-    {
-        InspectorTest.printTimelineRecords(&quot;RequestAnimationFrame&quot;);
-        InspectorTest.printTimelineRecords(&quot;FireAnimationFrame&quot;);
-        InspectorTest.printTimelineRecords(&quot;CancelAnimationFrame&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-if (!window.testRunner)
-    setTimeout(performActions, 2000);
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline events for Animation Frame feature
-&lt;/p&gt;
-&lt;div id=&quot;animation&quot;&gt;
-
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinedecoderesizeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-decode-resize-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-decode-resize-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-decode-resize-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,186 +0,0 @@
</span><del>-Tests the Timeline API instrumentation of a DecodeImage and ResizeImage events
-
-
-DecodeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        imageType : &quot;BMP&quot;
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;DecodeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ResizeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        cached : true
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResizeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-DecodeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        imageType : &quot;GIF&quot;
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;DecodeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ResizeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        cached : true
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResizeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-DecodeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        imageType : &quot;ICO&quot;
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;DecodeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ResizeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        cached : true
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResizeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-DecodeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        imageType : &quot;JPEG&quot;
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;DecodeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ResizeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        cached : true
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResizeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-DecodeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        imageType : &quot;PNG&quot;
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;DecodeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ResizeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        cached : true
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResizeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-DecodeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        imageType : &quot;WEBP&quot;
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;DecodeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ResizeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        cached : true
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResizeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-DecodeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        imageType : &quot;PNG&quot;
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;DecodeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ResizeImage Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        cached : false
-    }
-    endTime : &lt;number&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResizeImage&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinedecoderesizehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-decode-resize.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-decode-resize.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-decode-resize.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,68 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function addImage(src, width, height, callback)
-{
-    var img = document.createElement(&quot;img&quot;);
-    img.width = width;
-    img.height = height;
-    img.onload = callback;
-    img.src = src;
-    document.body.appendChild(img);
-}
-
-function addImage1() { addImage(&quot;resources/test.bmp&quot;, &quot;25&quot;, &quot;25&quot;, addImage2); }
-function addImage2() { addImage(&quot;resources/test.gif&quot;, &quot;25&quot;, &quot;25&quot;, addImage3); }
-function addImage3() { addImage(&quot;resources/test.ico&quot;, &quot;25&quot;, &quot;25&quot;, addImage4); }
-function addImage4() { addImage(&quot;resources/test.jpg&quot;, &quot;25&quot;, &quot;25&quot;, addImage5); }
-function addImage5() { addImage(&quot;resources/test.png&quot;, &quot;25&quot;, &quot;25&quot;, addImage6); }
-function addImage6() { addImage(&quot;resources/test.webp&quot;, &quot;25&quot;, &quot;25&quot;, addImage7); }
-function addImage7() { addImage(&quot;resources/big.png&quot;, &quot;5000&quot;, &quot;5000&quot;, displayPage); }
-
-function displayPage()
-{
-    if (window.testRunner) {
-        testRunner.display();
-        testRunner.waitUntilDone();
-    }
-    testRunner.evaluateInWebInspector(0, &quot;window.step2()&quot;);
-}
-
-function test()
-{
-    InspectorTest.startTimeline(step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInPage(&quot;addImage1()&quot;);
-    }
-
-    window.step2 = function()
-    {
-        InspectorTest.stopTimeline(step3);
-    }
-
-    function step3(records)
-    {
-        for (var i = 0; i &lt; records.length; ++i) {
-            var record = records[i];
-            if (record.type === WebInspector.TimelineModel.RecordType.DecodeImage || record.type === WebInspector.TimelineModel.RecordType.ResizeImage)
-                InspectorTest.printTimelineRecordProperties(record);
-        }
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a DecodeImage and ResizeImage events
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinedomcontentloadedeventexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,15 +0,0 @@
</span><del>-Tests the DOM content loaded event.
-
-Page reloaded.
-MarkDOMContent Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        isMainFrame : true
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;MarkDOMContent&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinedomcontentloadedeventhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,38 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;timeline&quot;);
-    finishCalled = 0;
-
-    InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
-    InspectorTest.waitForRecordType(&quot;MarkDOMContent&quot;, contentEvent);
-
-    function contentEvent()
-    {
-        InspectorTest.stopTimeline(finish);
-    }
-
-    function finish()
-    {
-        if (++finishCalled &lt; 2)
-            return;
-        InspectorTest.printTimelineRecords(&quot;MarkDOMContent&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the DOM content loaded event.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineeventdispatchexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-event-dispatch-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-event-dispatch-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-event-dispatch-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-Tests the Timeline API instrumentation of a DOM Dispatch (mousedown)
-
-Test Mouse Target
-EventDispatch Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        type : &quot;mousedown&quot;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;EventDispatch&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineeventdispatchhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-event-dispatch.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-event-dispatch.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-event-dispatch.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,43 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function handleMouseDown(event) 
-{
-    console.timeStamp(&quot;Handling mousedown&quot;);
-}
-
-function performActions()
-{
-    var target = document.getElementById(&quot;testTarget&quot;);
-    target.addEventListener(&quot;mousedown&quot;, handleMouseDown, true);
-    var rect = target.getBoundingClientRect();
-
-    // Simulate the mouse down over the target to trigger an EventDispatch
-    if (window.eventSender) {
-        window.eventSender.mouseMoveTo(rect.left + rect.width / 2, rect.top + rect.height / 2);
-        window.eventSender.mouseDown();
-    }
-}
-
-function test() 
-{
-    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;EventDispatch&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a DOM Dispatch (mousedown)
-&lt;/p&gt;
-
-&lt;div id=&quot;testTarget&quot; style=&quot;width:400px; height:400px;&quot;&gt;
-Test Mouse Target
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineframesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-frames-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-frames-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-frames-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Tests reporting and canceling of didBeginFrame events in Timeline
-
-BeginFrame
-TimeStamp : FRAME 1
-BeginFrame
-TimeStamp : FRAME 2
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineframeshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-frames.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-frames.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-frames.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,55 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    window.internals.emitInspectorDidBeginFrame();
-    console.timeStamp(&quot;FRAME 1&quot;);
-
-    window.internals.emitInspectorDidBeginFrame();
-    window.internals.emitInspectorDidCancelFrame();
-
-    window.internals.emitInspectorDidBeginFrame();
-    console.timeStamp(&quot;FRAME 2&quot;);
-    window.internals.emitInspectorDidCancelFrame();
-}
-
-function test()
-{
-    function formatRecord(record)
-    {
-        if (record.type === WebInspector.TimelineModel.RecordType.TimeStamp ||
-            record.type === WebInspector.TimelineModel.RecordType.BeginFrame) {
-            InspectorTest.dumpTimelineRecord(record);
-        }
-    }
-
-    InspectorTest.startTimeline(function() {
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;, step2);
-    });
-
-    function step2()
-    {
-        InspectorTest.stopTimeline(finish);
-    }
-
-    function finish()
-    {
-        InspectorTest.printTimelineRecords(null, formatRecord);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests reporting and canceling of didBeginFrame events in Timeline
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineinjectedscriptevalexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,31 +0,0 @@
</span><del>-Tests the Timeline API function call record for InjectedScript.eval call feature.
-
-FunctionCall Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        scriptLine : &lt;number&gt;
-        scriptName : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;FunctionCall&quot;
-    usedHeapSize : &lt;number&gt;
-}
-FunctionCall Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        scriptLine : &lt;number&gt;
-        scriptName : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;FunctionCall&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineinjectedscriptevalhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,25 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-}
-
-function test()
-{
-    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;FunctionCall&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API function call record for InjectedScript.eval call feature.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinelayoutexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-layout-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-layout-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-layout-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,42 +0,0 @@
</span><del>-Tests the Timeline API instrumentation of a Layout event
-
-text
-text
-text
-text
-text
-Layout Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        dirtyObjects : 3
-        partialLayout : true
-        root : &lt;object&gt;
-        totalObjects : 8
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;Layout&quot;
-    usedHeapSize : &lt;number&gt;
-}
-Layout Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        dirtyObjects : 2
-        partialLayout : true
-        root : &lt;object&gt;
-        totalObjects : 11
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;Layout&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinelayoutreasonexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-layout-reason-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-layout-reason-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-layout-reason-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests that Layout record has correct locations of layout being invalidated and forced.
-
-layout invalidated: invalidateStyle
-layout forced: forceLayout
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinelayoutreasonhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-layout-reason.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-layout-reason.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-layout-reason.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;style&gt;
-.test { height: 20px; }
-&lt;/style&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function invalidateStyle()
-{
-    var element = document.getElementById(&quot;test&quot;);
-    element.className = &quot;test&quot;;
-}
-
-function forceLayout()
-{
-    var element = document.getElementById(&quot;test&quot;);
-    var unused = element.offsetHeight;
-}
-
-function performActions()
-{
-    invalidateStyle();
-    forceLayout();
-}
-
-function test()
-{
-    InspectorTest.evaluateWithTimeline(&quot;performActions()&quot;, onTimelineRecorded);
-    function onTimelineRecorded()
-    {
-        var layoutRecord = InspectorTest.findPresentationRecord(&quot;Layout&quot;);
-        InspectorTest.addResult(&quot;layout invalidated: &quot; + layoutRecord.callSiteStackTrace[0].functionName);
-        InspectorTest.addResult(&quot;layout forced: &quot; + layoutRecord.stackTrace[0].functionName);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests that Layout record has correct locations of layout being invalidated and forced.
-&lt;/p&gt;
-&lt;div id=&quot;test&quot;&gt;&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinelayouthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-layout.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-layout.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-layout.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,57 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;style&gt;
-.relayout-boundary {
-    overflow: hidden;
-    width: 100px;
-    height: 100px;
-}
-&lt;/style&gt;
-&lt;script&gt;
-
-function invalidateAndForceLayout(element)
-{
-    element.style.marginTop = &quot;10px&quot;;
-    var unused = element.offsetHeight;
-}
-
-function performActions()
-{
-    invalidateAndForceLayout(document.getElementById(&quot;invalidate1&quot;));
-    invalidateAndForceLayout(document.getElementById(&quot;invalidate2&quot;));
-}
-
-function test()
-{
-    InspectorTest.evaluateInPage(&quot;testRunner.display()&quot;, function() {
-        InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;Layout&quot;);
-    });
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a Layout event
-&lt;/p&gt;
-&lt;div class=&quot;relayout-boundary&quot;&gt;
-    &lt;div&gt;text&lt;/div&gt;
-    &lt;div&gt;&lt;/div&gt;
-    &lt;div&gt;
-        &lt;div id=&quot;invalidate1&quot;&gt;&lt;div&gt;text&lt;/div&gt;&lt;/div&gt;
-    &lt;/div&gt;
-&lt;/div&gt;
-&lt;div class=&quot;relayout-boundary&quot;&gt;
-    &lt;div&gt;&lt;/div&gt;
-    &lt;div&gt;text&lt;/div&gt;
-    &lt;div id=&quot;invalidate2&quot;&gt;&lt;div&gt;text&lt;/div&gt;&lt;/div&gt;
-    &lt;div&gt;&lt;/div&gt;
-    &lt;div&gt;&lt;/div&gt;
-    &lt;div&gt;text&lt;/div&gt;
-&lt;/div&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineloadeventexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,50 +0,0 @@
</span><del>-Tests the load event.
-
-Page reloaded.
-Model records:
-MarkDOMContent Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        isMainFrame : true
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;MarkDOMContent&quot;
-    usedHeapSize : &lt;number&gt;
-}
-MarkLoad Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        isMainFrame : true
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;MarkLoad&quot;
-    usedHeapSize : &lt;number&gt;
-}
-Timestamp records:
-MarkDOMContent Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        isMainFrame : true
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;MarkDOMContent&quot;
-    usedHeapSize : &lt;number&gt;
-}
-MarkLoad Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        isMainFrame : true
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;MarkLoad&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineloadeventhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-load-event.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-load-event.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-load-event.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,44 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;timeline&quot;);
-    finishCalled = 0;
-
-    InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
-    InspectorTest.waitForRecordType(&quot;MarkLoad&quot;, contentEvent);
-
-    function contentEvent()
-    {
-        InspectorTest.stopTimeline(finish);
-    }
-
-    function finish()
-    {
-        if (++finishCalled !== 2)
-            return;
-
-        InspectorTest.addResult(&quot;Model records:&quot;);
-        InspectorTest.printTimelineRecords(&quot;MarkDOMContent&quot;);
-        InspectorTest.printTimelineRecords(&quot;MarkLoad&quot;);
-        InspectorTest.addResult(&quot;Timestamp records:&quot;);
-        InspectorTest.printTimestampRecords(&quot;MarkDOMContent&quot;);
-        InspectorTest.printTimestampRecords(&quot;MarkLoad&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the load event.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineloadexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-load-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-load-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-load-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,14 +0,0 @@
</span><del>-Tests the Timeline save/load functionality.
-
-Also tests save/load of unknown (incompatible) record types. (Bug 91714)
-
-
-Running: testNormal
-passed
-
-Running: testIncompatible
-passed
-
-Running: testMalformed
-passed
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineloadhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-load.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-load.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-load.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,96 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    function runTestWithDataAndCheck(input, expectedOutput)
-    {
-        WebInspector.showPanel(&quot;timeline&quot;);
-        var model = new WebInspector.TimelineModel();
-
-        function createFileReader(file, delegate)
-        {
-            return new InspectorTest.FakeFileReader(input, delegate, model.saveToFile.bind(model));
-        }
-
-        function createFileWriter(fileName, callback)
-        {
-            callback(new InspectorTest.StringOutputStream(checkSaveData));
-        }
-
-        function checkSaveData(output)
-        {
-            var saveData = JSON.parse(output);
-            saveData.shift(); // strip version info
-            expectedOutput.shift();
-            InspectorTest.assertEquals(JSON.stringify(expectedOutput), JSON.stringify(saveData), &quot;saved data is not equal to restored&quot;);
-            InspectorTest.addResult(&quot;passed&quot;);
-        }
-
-        InspectorTest.override(model, &quot;_createFileReader&quot;, createFileReader);
-        InspectorTest.override(model, &quot;_createFileWriter&quot;, createFileWriter);
-
-        model.loadFromFile({}, new WebInspector.Progress());
-    }
-
-    InspectorTest.runTestSuite([
-        function testNormal(next)
-        {
-            var data = [&quot;Version&quot;,
-                {&quot;startTime&quot;:1310749854316.8408,&quot;data&quot;:{&quot;requestId&quot;:43,&quot;url&quot;:&quot;http://www.webkit.org/&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:1819936,&quot;totalHeapSize&quot;:7629120},
-                {&quot;startTime&quot;:1310749855118.9329,&quot;data&quot;:{&quot;requestId&quot;:43,&quot;statusCode&quot;:200,&quot;mimeType&quot;:&quot;text/html&quot;},&quot;children&quot;:[],&quot;endTime&quot;:1310749855118.968,&quot;type&quot;:&quot;ResourceReceiveResponse&quot;,&quot;usedHeapSize&quot;:1819936,&quot;totalHeapSize&quot;:7629120},
-                {&quot;startTime&quot;:1310749855136.245,&quot;data&quot;:{&quot;requestId&quot;:44,&quot;url&quot;:&quot;http://www.webkit.org/css/main.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
-                {&quot;startTime&quot;:1310749855136.655,&quot;data&quot;:{&quot;requestId&quot;:45,&quot;url&quot;:&quot;http://www.webkit.org/css/green.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
-                {&quot;startTime&quot;:1310749855137.023,&quot;data&quot;:{&quot;requestId&quot;:46,&quot;url&quot;:&quot;http://www.webkit.org/css/blue.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
-                {&quot;startTime&quot;:1310749855137.342,&quot;data&quot;:{&quot;requestId&quot;:47,&quot;url&quot;:&quot;http://www.webkit.org/css/yellow.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
-                {&quot;startTime&quot;:1310749855137.656,&quot;data&quot;:{&quot;requestId&quot;:48,&quot;url&quot;:&quot;http://www.webkit.org/css/pink.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
-                {&quot;startTime&quot;:1310749855137.989,&quot;data&quot;:{&quot;requestId&quot;:49,&quot;url&quot;:&quot;http://www.webkit.org/css/purple.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
-                {&quot;startTime&quot;:1310749855138.308,&quot;data&quot;:{&quot;requestId&quot;:50,&quot;url&quot;:&quot;http://www.webkit.org/css/gray.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120}
-            ];
-            var input = JSON.stringify(data);
-            runTestWithDataAndCheck(input, data);
-            next();
-        },
-
-        function testIncompatible(next)
-        {
-            var data = [&quot;Version&quot;,
-                {&quot;startTime&quot;:1310749854316.8408,&quot;data&quot;:{&quot;requestId&quot;:43,&quot;url&quot;:&quot;http://www.webkit.org/&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;UnknownRecordType&quot;,&quot;u\&quot;s}e}dHeapSize\\&quot;:1819936,&quot;totalHeapSize&quot;:7629120}
-            ];
-            var input = JSON.stringify(data);
-            runTestWithDataAndCheck(input, data);
-            next();
-        },
-
-        function testMalformed(next)
-        {
-            var data = [&quot;Version&quot;];
-            // At least 1 record is parsed in first chunk.
-            var input = '[&quot;Version&quot;,'
-                +'{&quot;startTime&quot;:1310749854316.8408,&quot;data&quot;:{&quot;requestId&quot;:43},&quot;type&quot;:&quot;UnknownRecordType&quot;},'
-                +'{&quot;startTime&quot;:1310749854316.8508,&quot;data&quot;:{&quot;requestId&quot;:43},&quot;type&quot;:&quot;UnknownRecordType&quot;},'
-                +'{&quot;startTime&quot;:1310749854316.8608,&quot;data&quot;:{&quot;requestId&quot;:43},&quot;type&quot;:&quot;UnknownRecordType&quot;},'
-                +'{&quot;startTime&quot;:1310749854316.8708,&quot;data&quot;:{&quot;requestId&quot;:43_MALFORMED_JSON_},&quot;type&quot;:&quot;UnknownRecordType&quot;}]';
-            runTestWithDataAndCheck(input, data);
-            next();
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline save/load functionality.
-&lt;/p&gt;
-
-&lt;p&gt;
-Also tests save/load of unknown (incompatible) record types. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=91714&quot;&gt;(Bug 91714)&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinenetworkreceiveddataexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-network-received-data-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-network-received-data-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-network-received-data-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 7: Script evaluated
-Tests the Timeline API instrumentation of a network resource received data
-
-Script resource loaded
-Resource received data has length, test passed.
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinenetworkreceiveddatahtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-network-received-data.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-network-received-data.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-network-received-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,57 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var scriptUrl = &quot;timeline-network-resource.js&quot;;
-
-function performActions() 
-{
-    var image = new Image();
-    image.src = &quot;resources/anImage.png&quot;;
-    var script = document.createElement(&quot;script&quot;);
-    script.src = scriptUrl;
-    document.body.appendChild(script);
-}
-
-function test()
-{
-    var scriptUrl = &quot;timeline-network-resource.js&quot;;
-
-    var calledOnce;
-
-    InspectorTest.startTimeline(function() {
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-    });
-
-    InspectorTest.waitForRecordType(&quot;ResourceReceivedData&quot;, finish);
-
-    function finish(object)
-    {
-        for (var prop in object) {
-            if (!InspectorTest.timelinePropertyFormatters[prop]) {
-                for (var property in object[prop]) {
-                    if (property === &quot;encodedDataLength&quot;) {
-                        if (!calledOnce) {
-                            calledOnce = true;
-                            InspectorTest.addResult(&quot;Resource received data has length, test passed.&quot;);
-                            InspectorTest.completeTest();
-                        }
-                        return;
-                    }
-                }
-            }
-        }
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a network resource received data
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinenetworkresourceexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-network-resource-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-network-resource-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-network-resource-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,49 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 7: Script evaluated
-Tests the Timeline API instrumentation of a network resource load
-
-Script resource loaded
-
-ResourceSendRequest Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        requestId : &lt;string&gt;
-        requestMethod : &quot;GET&quot;
-        url : &lt;string&gt;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResourceSendRequest&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
-ResourceReceiveResponse Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        mimeType : &lt;string&gt;
-        requestId : &lt;string&gt;
-        statusCode : 0
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResourceReceiveResponse&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
-ResourceFinish Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        didFail : false
-        requestId : &lt;string&gt;
-    }
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ResourceFinish&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinenetworkresourcehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-network-resource.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-network-resource.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-network-resource.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,104 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-var scriptUrl = &quot;timeline-network-resource.js&quot;;
-
-function performActions() 
-{
-    var script = document.createElement(&quot;script&quot;);
-    script.src = scriptUrl;
-    document.body.appendChild(script);
-}
-
-function test()
-{
-    var requestId;
-    var scriptUrl = &quot;timeline-network-resource.js&quot;;
-
-    WebInspector.showPanel(&quot;timeline&quot;);
-    var model = WebInspector.panels.timeline._model;
-    var presentationModel = WebInspector.panels.timeline._presentationModel;
-    presentationModel.setGlueRecords(true);
-
-    InspectorTest.startTimeline(step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-        InspectorTest.addConsoleSniffer(step2);
-    }
-
-    function step2()
-    {
-        InspectorTest.stopTimeline(step3);
-    }
-
-    function step3()
-    {
-        var lastRecordStartTime;
-        function format(record)
-        {
-            if (record.type === WebInspector.TimelineModel.RecordType.ResourceSendRequest)
-                printSend(record._record);
-            else if (record.type === WebInspector.TimelineModel.RecordType.ResourceReceiveResponse)
-                printReceive(record._record);
-            else if (record.type === WebInspector.TimelineModel.RecordType.ResourceFinish)
-                printFinish(record._record);
-
-            if (record.parent &amp;&amp; record.parent.type === WebInspector.TimelineModel.RecordType.Root) {
-                if (lastRecordStartTime)
-                    InspectorTest.assertGreaterOrEqual(record.startTime, lastRecordStartTime, &quot;Top level records order violation&quot;);
-                lastRecordStartTime = record.startTime;
-            }
-        }
-        WebInspector.TimelinePresentationModel.forAllRecords([presentationModel.rootRecord()], format);
-        InspectorTest.completeTest();
-    }
-
-    function printRecord(record)
-    {
-        InspectorTest.addResult(&quot;&quot;);
-        InspectorTest.printTimelineRecordProperties(record);
-    }
-
-    function printSend(record)
-    {
-        printRecord(record);
-        requestId = record.data.requestId;
-        if (record.data.url === undefined) 
-            InspectorTest.addResult(&quot;* No 'url' property in record&quot;);
-        else if (record.data.url.indexOf(scriptUrl) === -1)
-            InspectorTest.addResult(&quot;* Didn't find URL: &quot; + scriptUrl);
-    }
-
-    function printReceive(record)
-    {
-        printRecord(record);
-        if (requestId !== record.data.requestId)
-            InspectorTest.addResult(&quot;Didn't find matching requestId: &quot; + requestId);
-        if (record.data.statusCode !== 0)
-            InspectorTest.addResult(&quot;Response received status: &quot; + record.data.statusCode);
-    }
-
-    function printFinish(record)
-    {
-        printRecord(record);
-        if (requestId !== record.data.requestId)
-            InspectorTest.addResult(&quot;Didn't find matching requestId: &quot; + requestId);
-        if (record.data.didFail)
-            InspectorTest.addResult(&quot;Request failed.&quot;);
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a network resource load
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinenetworkresourcejs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-network-resource.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-network-resource.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-network-resource.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-// Sample script resource to find in timeline data
-
-var element = document.createElement(&quot;div&quot;);
-element.innerHTML = &quot;Script resource loaded&quot;;
-document.body.appendChild(element);
-
-console.log(&quot;Script evaluated&quot;);
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinepaintexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-paint-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-paint-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-paint-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-Tests the Timeline API instrumentation of a paint event
-
-
-Paint Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        clip : &lt;object&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;Paint&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinepainthtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-paint.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-paint.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-paint.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,79 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function display()
-{
-    if (window.testRunner)
-        testRunner.display();
-}
-
-function updateSubframeAndDisplay()
-{
-    frames[0].document.body.children[0].style.backgroundColor = &quot;green&quot;;
-    if (window.testRunner)
-        testRunner.displayInvalidatedRegion();
-}
-
-function test()
-{
-    step1();
-
-    function step1()
-    {
-        InspectorTest.evaluateWithTimeline(&quot;display()&quot;, step2);
-    }
-
-    function step2(records)
-    {
-        for (var i = 0; i &lt; records.length; ++i) {
-            var record = records[i];
-            if (record.type === WebInspector.TimelineModel.RecordType.Paint) {
-                InspectorTest.printTimelineRecordProperties(record);
-                break;
-            }
-        }
-        InspectorTest.evaluateWithTimeline(&quot;updateSubframeAndDisplay()&quot;, step3);
-    }
-
-    function step3(records)
-    {
-        var paintRecord;
-        for (var i = 0; i &lt; records.length; ++i) {
-            var record = records[i];
-            if (record.type === WebInspector.TimelineModel.RecordType.Paint &amp;&amp; record.children &amp;&amp; record.children.length) {
-                paintRecord = record;
-                break;
-            }
-        }
-        InspectorTest.assertTrue(paintRecord, &quot;Paint record with subframe paint not found&quot;);
-        var topQuad = paintRecord.data.clip;
-        var subframePaint = paintRecord.children[0];
-        var subframeQuad = subframePaint.data.clip;
-        InspectorTest.assertEquals(8, topQuad.length);
-        InspectorTest.assertEquals(8, subframeQuad.length);
-        InspectorTest.assertGreaterOrEqual(subframeQuad[0], topQuad[0]);
-        InspectorTest.assertGreaterOrEqual(subframeQuad[1], topQuad[1]);
-        InspectorTest.assertGreaterOrEqual(topQuad[2], subframeQuad[2]);
-        InspectorTest.assertGreaterOrEqual(subframeQuad[3], topQuad[3]);
-        InspectorTest.assertGreaterOrEqual(topQuad[4], subframeQuad[4]);
-        InspectorTest.assertGreaterOrEqual(topQuad[5], subframeQuad[5]);
-        InspectorTest.assertGreaterOrEqual(subframeQuad[6], topQuad[6]);
-        InspectorTest.assertGreaterOrEqual(topQuad[7], subframeQuad[7]);
-
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a paint event
-&lt;/p&gt;
-&lt;iframe src=&quot;resources/timeline-iframe-paint.html&quot; style=&quot;position: absolute; left: 40px; top: 40px; width: 100px; height: 100px; border: none&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineparsehtmlexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-parse-html-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-parse-html-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-parse-html-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,34 +0,0 @@
</span><del>-Tests the Timeline API instrumentation of ParseHTML
-
-Test data
-ParseHTML Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        endLine : 0
-        startLine : 0
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ParseHTML&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ParseHTML Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        endLine : 0
-        startLine : 0
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;ParseHTML&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelineparsehtmlhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-parse-html.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-parse-html.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-parse-html.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    var element = document.createElement(&quot;div&quot;);
-    element.innerHTML = &quot;Test data&quot;;
-    document.body.appendChild(element);
-}
-
-function test()
-{
-    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;ParseHTML&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of ParseHTML 
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinerecalculatestylesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,16 +0,0 @@
</span><del>-Tests the Timeline API instrumentation of a style recalculation event
-
-Test data
-RecalculateStyles Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;RecalculateStyles&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinerecalculatestyleshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,36 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-
-&lt;style&gt;
-.test-style {
-    color: red;
-}
-&lt;/style&gt;
-
-&lt;script&gt;
-
-function performActions()
-{
-    var element = document.createElement(&quot;div&quot;);
-    element.className = &quot;test-style&quot;;
-    element.innerHTML = &quot;Test data&quot;;
-    document.body.appendChild(element);
-}
-
-function test()
-{
-    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;RecalculateStyles&quot;);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a style recalculation event
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinereceiveresponseeventexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-receive-response-event-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-receive-response-event-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-receive-response-event-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-Tests the Timeline API instrumentation of a SendRequest, ReceiveResponse etc.
-
-FunctionCall
-FunctionCall
-ResourceSendRequest
-    ResourceReceiveResponse
-    ResourceReceivedData
-    ResourceFinish
-EventDispatch
-    FunctionCall
-ResourceSendRequest
-    ResourceReceiveResponse
-    ResourceReceivedData
-    ResourceFinish
-EventDispatch
-    FunctionCall
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinereceiveresponseeventhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-receive-response-event.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-receive-response-event.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-receive-response-event.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,77 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    var image = new Image();
-    image.onload = bar;
-    image.src = &quot;resources/anImage.png&quot;;
-
-    function bar() {
-        var image = new Image();
-        image.onload = function() { testRunner.evaluateInWebInspector(0, &quot;window.step2()&quot;); }
-        image.src = &quot;resources/anotherImage.png&quot;;
-    }
-}
-
-function test()
-{
-    WebInspector.showPanel(&quot;timeline&quot;);
-    WebInspector.panels.timeline._model._collectionEnabled = true;
-    WebInspector.panels.timeline._presentationModel.setGlueRecords(true);
-    WebInspector.panels.timeline._model._collectionEnabled = true;
-
-    TimelineAgent.start(step1);
-
-    function step1()
-    {
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-    }
-
-    window.step2 = function()
-    {
-        TimelineAgent.stop(step3);
-    }
-
-    function step3()
-    {
-        function dumpFormattedRecord(record, prefix)
-        {
-             prefix = prefix || &quot;&quot;;
-             // Here and below: pretend coalesced record are just not there, as coalescation is time dependent and, hence, not stable.
-             if (!record.coalesced &amp;&amp; record.type !== &quot;GCEvent&quot;)
-                 InspectorTest.addResult(prefix + record.type);
-             // Ignore stray paint &amp; rendering events for better stability.
-             if (record.category.name !== &quot;loading&quot; &amp;&amp; record.category.name !== &quot;scripting&quot;)
-                 return;
-             if (record._children) {
-                 var childPrefix = prefix + (record.coalesced ? &quot;&quot; : &quot;    &quot;);
-                 for (var i = 0; i &lt; record._children.length; ++i)
-                     dumpFormattedRecord(record._children[i], childPrefix);
-             }
-        }
-        WebInspector.panels.timeline._model._collectionEnabled = false;
-
-        var records = WebInspector.panels.timeline._rootRecord().children;
-        for (var i = 0; i &lt; records.length; ++i)
-            dumpFormattedRecord(records[i]);
-        InspectorTest.completeTest();
-    }
-}
-
-if (!window.testRunner)
-    setTimeout(performActions, 3000);
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a SendRequest, ReceiveResponse etc.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinescripttag1expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-script-tag-1-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-script-tag-1-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-script-tag-1-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,24 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 8: iframe loaded
-Tests the Timeline API instrumentation of an HTML script tag.
-
-
-ParseHTML
-ParseHTML
-----&gt; EvaluateScript
---------&gt; TimeStamp : SCRIPT TAG
-EvaluateScript Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        lineNumber : &lt;number&gt;
-        url : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;EvaluateScript&quot;
-    usedHeapSize : &lt;number&gt;
-}
-ParseHTML
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinescripttag1html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-script-tag-1.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-script-tag-1.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-script-tag-1.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,58 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    var iframe = document.createElement(&quot;iframe&quot;);
-    iframe.src = &quot;resources/timeline-iframe-data.html&quot;;
-    document.body.appendChild(iframe);
-}
-
-function test() 
-{
-    InspectorTest.startTimeline(step1);
-    function step1()
-    {
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-    }
-
-    function step2()
-    {
-        InspectorTest.stopTimeline(step3);
-    }
-
-    function step3()
-    {
-        function format(record)
-        {
-            if (record.type === WebInspector.TimelineModel.RecordType.EvaluateScript)
-                InspectorTest.printTimelineRecordProperties(record);
-            else if (record.type === WebInspector.TimelineModel.RecordType.ParseHTML) {
-                var children = [];
-                for (var i = 0; i &lt; record.children.length; ++i) {
-                    if (record.children[i].type !== WebInspector.TimelineModel.RecordType.RecalculateStyles)
-                        children.push(record.children[i]);
-                }
-                record.children = children;
-                InspectorTest.dumpTimelineRecord(record);
-            }
-        }
-        InspectorTest.printTimelineRecords(null, format);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of an HTML script tag.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinescripttag2expectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-script-tag-2-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-script-tag-2-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-script-tag-2-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,18 +0,0 @@
</span><del>-CONSOLE MESSAGE: line 1: SCRIPT TAG
-Tests the Timeline API instrumentation of a script tag with an external script.
-
-EvaluateScript Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        lineNumber : &lt;number&gt;
-        url : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;EvaluateScript&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinescripttag2html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,44 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    var script = document.createElement(&quot;script&quot;);
-    script.src = &quot;timeline-script-tag-2.js&quot;;
-    document.body.appendChild(script);
-}
-
-function test() 
-{
-    InspectorTest.startTimeline(step1);
-    function step1()
-    {
-        InspectorTest.addConsoleSniffer(step2);
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-    }
-
-    function step2()
-    {
-        InspectorTest.stopTimeline(step3);
-    }
-
-    function step3()
-    {
-        InspectorTest.printTimelineRecords(&quot;EvaluateScript&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a script tag with an external script.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinescripttag2js"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-console.log(&quot;SCRIPT TAG&quot;);
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinestarttimeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-start-time-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-start-time-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-start-time-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Tests sanity of timeline timestamps.
-
-done
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinestarttimehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-start-time.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-start-time.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-start-time.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    console.timeStamp(&quot;time is an illusion&quot;);
-}
-
-function test()
-{
-    var beforeStart = Date.now();
-    InspectorTest.startTimeline();
-    InspectorTest.waitForRecordType(&quot;TimeStamp&quot;, onTimeStamp);
-    InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-
-    function onTimeStamp(record)
-    {
-        var now = Date.now();
-        var eventTime = record.startTime;
-        InspectorTest.assertGreaterOrEqual(eventTime, beforeStart, &quot;event time should be after timeline start time&quot;);
-        InspectorTest.assertGreaterOrEqual(now, Math.floor(eventTime), &quot;event time should be before now&quot;);
-        InspectorTest.addResult(&quot;done&quot;);
-        InspectorTest.stopTimeline(InspectorTest.completeTest.bind(InspectorTest));
-    }
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests sanity of timeline timestamps.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetimeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-time-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-time-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-time-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1 +0,0 @@
</span><del>-Test time/timeEnd nesting (Bug 100936)
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetimestampexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-time-stamp-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-time-stamp-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-time-stamp-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,28 +0,0 @@
</span><del>-Tests the Timeline API timeStamp feature
-
-TimeStamp Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        message : &quot;TIME STAMP&quot;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;TimeStamp&quot;
-    usedHeapSize : &lt;number&gt;
-}
-Timestamp records: 
-TimeStamp Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        message : &quot;TIME STAMP&quot;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;TimeStamp&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetimestamphtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-time-stamp.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-time-stamp.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-time-stamp.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,26 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    console.timeStamp(&quot;TIME STAMP&quot;);
-}
-
-function test()
-{
-    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;TimeStamp&quot;, true);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API timeStamp feature
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetimehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-time.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-time.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-time.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,85 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    WebInspector.showPanel(&quot;timeline&quot;);
-
-    var data = [&quot;Version&quot;,
-        {&quot;startTime&quot;:13,&quot;data&quot;:{},&quot;endTime&quot;:19,&quot;type&quot;:&quot;Program&quot;,&quot;children&quot;:[
-            {&quot;startTime&quot;:14,&quot;data&quot;:{&quot;type&quot;:&quot;click&quot;},&quot;endTime&quot;:18,&quot;type&quot;:&quot;EventDispatch&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
-                {&quot;startTime&quot;:15,&quot;data&quot;:{&quot;scriptName&quot;:&quot;foo.html&quot;,&quot;scriptLine&quot;:7},&quot;endTime&quot;:17,&quot;type&quot;:&quot;FunctionCall&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
-                    {&quot;startTime&quot;:16,&quot;data&quot;:{&quot;message&quot;:&quot;hello&quot;},&quot;type&quot;:&quot;Time&quot;,&quot;frameId&quot;:&quot;2&quot;}
-                ]}
-            ]}
-        ]},
-        {&quot;startTime&quot;:25,&quot;data&quot;:{},&quot;endTime&quot;:35,&quot;type&quot;:&quot;Program&quot;,&quot;children&quot;:[
-            {&quot;startTime&quot;:26,&quot;data&quot;:{&quot;type&quot;:&quot;click&quot;},&quot;endTime&quot;:34,&quot;type&quot;:&quot;EventDispatch&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
-                {&quot;startTime&quot;:27,&quot;data&quot;:{&quot;scriptName&quot;:&quot;foo.html&quot;,&quot;scriptLine&quot;:15},&quot;endTime&quot;:33,&quot;type&quot;:&quot;FunctionCall&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
-                    {&quot;startTime&quot;:28,&quot;data&quot;:{&quot;message&quot;:&quot;boom&quot;},&quot;type&quot;:&quot;Time&quot;,&quot;frameId&quot;:&quot;2&quot;},
-                    {&quot;startTime&quot;:29,&quot;data&quot;:{},&quot;type&quot;:&quot;ScheduleStyleRecalculation&quot;,&quot;frameId&quot;:&quot;2&quot;},
-                    {&quot;startTime&quot;:30,&quot;data&quot;:{},&quot;children&quot;:[],&quot;endTime&quot;:31,&quot;type&quot;:&quot;RecalculateStyles&quot;,&quot;frameId&quot;:&quot;2&quot;},
-                    {&quot;startTime&quot;:32,&quot;data&quot;:{&quot;message&quot;:&quot;boom&quot;},&quot;type&quot;:&quot;TimeEnd&quot;,&quot;frameId&quot;:&quot;2&quot;}
-                ]}
-            ]}
-        ]},
-        {&quot;startTime&quot;:41,&quot;data&quot;:{},&quot;endTime&quot;:47,&quot;type&quot;:&quot;Program&quot;,&quot;children&quot;:[
-            {&quot;startTime&quot;:42,&quot;data&quot;:{&quot;type&quot;:&quot;click&quot;},&quot;endTime&quot;:46,&quot;type&quot;:&quot;EventDispatch&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
-                {&quot;startTime&quot;:43,&quot;data&quot;:{&quot;scriptName&quot;:&quot;foo.html&quot;,&quot;scriptLine&quot;:11},&quot;endTime&quot;:45,&quot;type&quot;:&quot;FunctionCall&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
-                    {&quot;startTime&quot;:44,&quot;data&quot;:{&quot;message&quot;:&quot;hello&quot;},&quot;type&quot;:&quot;TimeEnd&quot;,&quot;frameId&quot;:&quot;2&quot;}
-                ]}
-            ]}
-        ]}
-    ];
-
-    var input = JSON.stringify(data);
-    var model = WebInspector.panels.timeline._model;
-    var presentationModel = WebInspector.panels.timeline._presentationModel;
-    presentationModel.setGlueRecords(true);
-
-    function createFileReader(file, delegate)
-    {
-        return new InspectorTest.FakeFileReader(input, delegate, onDataLoaded);
-    }
-
-    function onDataLoaded()
-    {
-        var root = presentationModel.rootRecord();
-        InspectorTest.assertEquals(4, root.children.length);
-
-        var time1 = root.children[1];
-        InspectorTest.assertEquals(&quot;Time&quot;, time1.type);
-        InspectorTest.assertEquals(2, time1.children.length);
-        var timeEnd1 = time1.children[1];
-        InspectorTest.assertEquals(&quot;TimeEnd&quot;, timeEnd1.type);
-        InspectorTest.assertEquals(time1, timeEnd1.timeRecord);
-        InspectorTest.assertEquals(timeEnd1, time1.timeEndRecord);
-
-        var time2 = time1.children[0];
-        InspectorTest.assertEquals(&quot;Time&quot;, time2.type);
-        InspectorTest.assertEquals(1, time2.children.length);
-        var timeEnd2 = time2.children[0];
-        InspectorTest.assertEquals(&quot;TimeEnd&quot;, timeEnd2.type);
-        InspectorTest.assertEquals(time2, timeEnd2.timeRecord);
-        InspectorTest.assertEquals(timeEnd2, time2.timeEndRecord);
-
-        InspectorTest.completeTest();
-    }
-
-    InspectorTest.override(model, &quot;_createFileReader&quot;, createFileReader);
-    model.loadFromFile({}, new WebInspector.Progress());
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Test time/timeEnd nesting &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=100936&quot;&gt;(Bug 100936)&lt;/a&gt;
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetimerexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-timer-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-timer-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-timer-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,152 +0,0 @@
</span><del>-Tests the Timeline events for Timers
-
-TimerInstall Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        singleShot : true
-        timeout : 10
-        timerId : &lt;number&gt;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;TimerInstall&quot;
-    usedHeapSize : &lt;number&gt;
-}
-TimerInstall Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        singleShot : false
-        timeout : 20
-        timerId : &lt;number&gt;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;TimerInstall&quot;
-    usedHeapSize : &lt;number&gt;
-}
-TimerFire Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        timerId : &lt;number&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;TimerFire&quot;
-    usedHeapSize : &lt;number&gt;
-}
-TimerFire Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        timerId : &lt;number&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;TimerFire&quot;
-    usedHeapSize : &lt;number&gt;
-}
-TimerFire Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        timerId : &lt;number&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;TimerFire&quot;
-    usedHeapSize : &lt;number&gt;
-}
-TimerRemove Properties:
-{
-    counters : &lt;object&gt;
-    data : {
-        timerId : &lt;number&gt;
-    }
-    frameId : &lt;string&gt;
-    stackTrace : &lt;object&gt;
-    startTime : &lt;number&gt;
-    type : &quot;TimerRemove&quot;
-    usedHeapSize : &lt;number&gt;
-}
-FunctionCall Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        scriptLine : &lt;number&gt;
-        scriptName : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;FunctionCall&quot;
-    usedHeapSize : &lt;number&gt;
-}
-FunctionCall Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        scriptLine : &lt;number&gt;
-        scriptName : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;FunctionCall&quot;
-    usedHeapSize : &lt;number&gt;
-}
-FunctionCall Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        scriptLine : &lt;number&gt;
-        scriptName : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;FunctionCall&quot;
-    usedHeapSize : &lt;number&gt;
-}
-FunctionCall Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        scriptLine : &lt;number&gt;
-        scriptName : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;FunctionCall&quot;
-    usedHeapSize : &lt;number&gt;
-}
-EvaluateScript Properties:
-{
-    children : &lt;object&gt;
-    counters : &lt;object&gt;
-    data : {
-        lineNumber : &lt;number&gt;
-        url : &lt;string&gt;
-    }
-    endTime : &lt;number&gt;
-    frameId : &lt;string&gt;
-    startTime : &lt;number&gt;
-    type : &quot;EvaluateScript&quot;
-    usedHeapSize : &lt;number&gt;
-}
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetimerfiredfromevalcallsiteexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Tests the Timeline API instrumentation of a TimerFired events inside evaluated scripts.
-
-TimerFire :2
-TimerFire :1
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetimerfiredfromevalcallsitehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,57 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    var content = &quot;&quot; + 
-        &quot;var fn2 = function() {console.timeStamp(\&quot;Script evaluated\&quot;);};\\n&quot; +
-        &quot;var fn1 = function() {window.setTimeout(fn2, 1);};\\n&quot; +
-        &quot;window.setTimeout(fn1, 1);\\n&quot;
-    content = &quot;eval('&quot; + content + &quot;//@ sourceURL=fromEval.js&quot; + &quot;');&quot;;
-    var scriptElement = document.createElement('script');
-    var contentNode = document.createTextNode(content);
-    scriptElement.appendChild(contentNode);
-    document.body.appendChild(scriptElement);
-    document.body.removeChild(scriptElement);
-}
-
-function test()
-{
-    InspectorTest.startTimeline(start);
-    InspectorTest.waitForRecordType(&quot;TimeStamp&quot;, finish);
-
-    function start()
-    {
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-    }
-
-    function finish()
-    {
-        function formatter(record)
-        {
-            if (record.type === &quot;TimerFire&quot;) {
-                var fnCallSite = record.children[0].data;
-                InspectorTest.addResult(record.type + &quot; &quot; + fnCallSite.scriptName + &quot;:&quot; + fnCallSite.scriptLine);
-            }
-        }
-        InspectorTest.printTimelineRecords(null, formatter);
-        InspectorTest.completeTest();
-    }
-}
-
-if (!window.testRunner)
-    setTimeout(performActions, 3000);
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline API instrumentation of a TimerFired events inside evaluated scripts.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetimerhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-timer.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-timer.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-timer.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,51 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function performActions()
-{
-    var timerOne = setTimeout(&quot;1 + 1&quot;, 10);
-    var timerTwo = setInterval(intervalTimerWork, 20);
-    var iteration = 0;
-
-    function intervalTimerWork()
-    {
-        if (++iteration &lt; 2)
-            return;
-        clearInterval(timerTwo);
-    }
-}
-
-function test()
-{
-    InspectorTest.startTimeline(function() {
-        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
-    });
-
-    InspectorTest.waitForRecordType(&quot;TimerRemove&quot;, finish);
-
-    function finish()
-    {
-        InspectorTest.printTimelineRecords(&quot;TimerInstall&quot;);
-        InspectorTest.printTimelineRecords(&quot;TimerFire&quot;);
-        InspectorTest.printTimelineRecords(&quot;TimerRemove&quot;);
-        InspectorTest.printTimelineRecords(&quot;FunctionCall&quot;);
-        InspectorTest.printTimelineRecords(&quot;EvaluateScript&quot;);
-        InspectorTest.completeTest();
-    }
-}
-
-if (!window.testRunner)
-    setTimeout(performActions, 2000);
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-Tests the Timeline events for Timers
-&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetrivialexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-trivial-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-trivial-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-trivial-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,4 +0,0 @@
</span><del>-Trivial use of inspector frontend tests
-
-Timeline started
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectortimelinetimelinetrivialhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/timeline/timeline-trivial.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/timeline/timeline-trivial.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/timeline/timeline-trivial.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,27 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test() {
-    /* This test seems silly, but originally it tickled bug 31080 */
-    function callback()
-    {
-        InspectorTest.addResult(&quot;Timeline started&quot;);
-        InspectorTest.completeTest();
-    }
-    InspectorTest.startTimeline(callback);
-}
-
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt; 
-Trivial use of inspector frontend tests
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorutilitiesexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/utilities-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/utilities-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/utilities-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,32 +0,0 @@
</span><del>-This test checks Web Inspector utilities.
-
-
-Running: binaryIndexOfTest
-
-Running: lowerBoundTest
-
-Running: upperBoundTest
-
-
-Running: qselectTest
-Array: []
-Reference: {}
-Actual:    {}
-Array: [0]
-Reference: {&quot;min&quot;:0,&quot;median&quot;:0,&quot;max&quot;:0}
-Actual:    {&quot;min&quot;:0,&quot;median&quot;:0,&quot;max&quot;:0}
-Array: [0,0,0,0,0,0,0,0]
-Reference: {&quot;min&quot;:0,&quot;median&quot;:0,&quot;max&quot;:0}
-Actual:    {&quot;min&quot;:0,&quot;median&quot;:0,&quot;max&quot;:0}
-Array: [4,3,2,1]
-Reference: {&quot;min&quot;:1,&quot;median&quot;:3,&quot;max&quot;:4}
-Actual:    {&quot;min&quot;:1,&quot;median&quot;:3,&quot;max&quot;:4}
-Array: [1,2,3,4,5]
-Reference: {&quot;min&quot;:1,&quot;median&quot;:3,&quot;max&quot;:5}
-Actual:    {&quot;min&quot;:1,&quot;median&quot;:3,&quot;max&quot;:5}
-Array: [-1,3,2,7,7,7,10,12,3,4,-1,2]
-Reference: {&quot;min&quot;:-1,&quot;median&quot;:4,&quot;max&quot;:12}
-Actual:    {&quot;min&quot;:-1,&quot;median&quot;:4,&quot;max&quot;:12}
-
-Running: sortRangeTest
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorutilitieshtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector/utilities.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector/utilities.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector/utilities.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,196 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-
-function test()
-{
-    InspectorTest.runTestSuite([
-        function binaryIndexOfTest(next)
-        {
-            var testArrays = [
-                [],
-                [1],
-                [1, 10],
-                [1, 10, 11, 12, 13, 14, 100],
-                [-100, -50, 0, 50, 100],
-                [-100, -14, -13, -12, -11, -10, -1]
-            ];
-     
-            function testArray(array)
-            {
-                function comparator(a, b)
-                {
-                    return a &lt; b ? -1 : (a &gt; b ? 1 : 0);
-                }
-     
-                for (var i = -100; i &lt;= 100; ++i) {
-                    var reference = array.indexOf(i);
-                    var actual = array.binaryIndexOf(i, comparator);
-                    InspectorTest.assertEquals(reference, actual, &quot;binaryIndexOf&quot;);
-                }
-                return true;
-            }
-     
-            for (var i = 0, l = testArrays.length; i &lt; l; ++i)
-                testArray(testArrays[i]);
-            next();
-        },
-        
-        function lowerBoundTest(next)
-        {
-            var testArrays = [
-                [],
-                [1],
-                [-1, -1, 0, 0, 0, 0, 2, 3, 4, 4, 4, 7, 9, 9, 9]
-            ];
-        
-            function testArray(array, useComparator)
-            {
-                function comparator(a, b)
-                {
-                    return a &lt; b ? -1 : (a &gt; b ? 1 : 0);
-                }
-        
-                for (var value = -2; value &lt;= 12; ++value) {
-                    var index = useComparator ? array.lowerBound(value, comparator) : array.lowerBound(value);
-                    InspectorTest.assertTrue(0 &lt;= index &amp;&amp; index &lt;= array.length, &quot;index is within bounds&quot;);
-                    InspectorTest.assertTrue(index === 0 || array[index - 1] &lt; value, &quot;array[index - 1] &lt; value&quot;);
-                    InspectorTest.assertTrue(index === array.length || array[index] &gt;= value, &quot;array[index] &gt;= value&quot;);
-                    
-                }
-            }
-        
-            for (var i = 0, l = testArrays.length; i &lt; l; ++i) {
-                testArray(testArrays[i], false);
-                testArray(testArrays[i], true);
-            }
-            next();
-        },
-        
-        function upperBoundTest(next)
-        {
-            var testArrays = [
-                [],
-                [1],
-                [-1, -1, 0, 0, 0, 0, 2, 3, 4, 4, 4, 7, 9, 9, 9]
-            ];
-        
-            function testArray(array, useComparator)
-            {
-                function comparator(a, b)
-                {
-                    return a &lt; b ? -1 : (a &gt; b ? 1 : 0);
-                }
-        
-                for (var value = -2; value &lt;= 12; ++value) {
-                    var index = useComparator ? array.upperBound(value, comparator) : array.upperBound(value);
-                    InspectorTest.assertTrue(0 &lt;= index &amp;&amp; index &lt;= array.length, &quot;index is within bounds&quot;);
-                    InspectorTest.assertTrue(index === 0 || array[index - 1] &lt;= value, &quot;array[index - 1] &lt;= value&quot;);
-                    InspectorTest.assertTrue(index === array.length || array[index] &gt; value, &quot;array[index] &gt; value&quot;);
-                }
-            }
-        
-            for (var i = 0, l = testArrays.length; i &lt; l; ++i) {
-                testArray(testArrays[i], false);
-                testArray(testArrays[i], true);
-            }
-            next();
-        },
-        
-
-        function qselectTest(next)
-        {
-            var testArrays = [
-                [],
-                [0],
-                [0, 0, 0, 0, 0, 0, 0, 0],
-                [4, 3, 2, 1],
-                [1, 2, 3, 4, 5],
-                [-1, 3, 2, 7, 7, 7, 10, 12, 3, 4, -1, 2]
-            ];
-
-            function testArray(array)
-            {
-                function compare(a, b)
-                {
-                    return a - b;
-                }
-                var sorted = array.slice(0).sort(compare);
-
-                var reference = {
-                    min: sorted[0],
-                    median: sorted[Math.floor(sorted.length / 2)],
-                    max: sorted[sorted.length - 1]
-                };
-
-                var actual = {
-                    min: array.slice(0).qselect(0),
-                    median: array.slice(0).qselect(Math.floor(array.length / 2)),
-                    max: array.slice(0).qselect(array.length - 1)
-                };
-                InspectorTest.addResult(&quot;Array: &quot; + JSON.stringify(array));
-                InspectorTest.addResult(&quot;Reference: &quot; + JSON.stringify(reference));
-                InspectorTest.addResult(&quot;Actual:    &quot; + JSON.stringify(actual));
-            }
-            for (var i = 0, l = testArrays.length; i &lt; l; ++i)
-                testArray(testArrays[i]);
-            next();
-        },
-
-        function sortRangeTest(next)
-        {
-            var testArrays = [
-                [],
-                [1],
-                [2, 1],
-                [6, 4, 2, 7, 10, 15, 1],
-                [10, 44, 3, 6, 56, 66, 10, 55, 32, 56, 2, 5]
-            ];
-
-            function testArray(array)
-            {
-                function comparator(a, b)
-                {
-                    return a &lt; b ? -1 : (a &gt; b ? 1 : 0);
-                }
-
-                function compareArrays(a, b, message)
-                {
-                    InspectorTest.assertEquals(JSON.stringify(a), JSON.stringify(b), message);
-                }
-
-                for (var left = 0, l = array.length - 1; left &lt; l; ++left) {
-                     for (var right = left + 1, r = array.length; right &lt; r; ++right)
-                          for (var count = 1, k = right - left + 1; count &lt;= k; ++count) {
-                              var actual = array.slice(0);
-                              actual.sortRange(comparator, left, right, count);
-                              compareArrays(array.slice(0, left), actual.slice(0, left), &quot;left &quot; + left + &quot; &quot; + right + &quot; &quot; + count);
-                              compareArrays(array.slice(right + 1), actual.slice(right + 1), &quot;right &quot; + left + &quot; &quot; + right + &quot; &quot; + count);
-                              var middle = array.slice(left, right + 1);
-                              middle.sort(comparator);
-                              compareArrays(middle.slice(0, count), actual.slice(left, left + count), &quot;sorted &quot; + left + &quot; &quot; + right + &quot; &quot; + count);
-                              actualRest = actual.slice(left + count, right + 1);
-                              actualRest.sort(comparator);
-                              compareArrays(middle.slice(count), actualRest, &quot;unsorted &quot; + left + &quot; &quot; + right + &quot; &quot; + count);
-                          }
-                }
-            }
-
-            for (var i = 0, len = testArrays.length; i &lt; len; ++i)
-                testArray(testArrays[i]);
-            next();
-        }
-    ]);
-}
-
-&lt;/script&gt;
-&lt;/head&gt;
-
-&lt;body onload=&quot;runTest()&quot;&gt;
-&lt;p&gt;
-This test checks Web Inspector utilities.
-&lt;/p&gt;
-
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsolealerttoStringexceptionexpectedtxtfromrev164517trunkLayoutTestsinspectorconsolealerttoStringexceptionexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/alert-toString-exception-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/alert-toString-exception-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/alert-toString-exception-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/alert-toString-exception-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 6: Exception in toString().
+CONSOLE MESSAGE: line 6: Exception in toString().
+Test that browser won't crash if inspector is opened for a page that fails to convert alert() argument to string. The test passes if it doesn't crash. Bug 60541
+
+Page reloaded.
+Exception in toString(). alert-toString-exception.html:6
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsolealerttoStringexceptionhtmlfromrev164517trunkLayoutTestsinspectorconsolealerttoStringexceptionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/alert-toString-exception.html (from rev 164517, trunk/LayoutTests/inspector/console/alert-toString-exception.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/alert-toString-exception.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/alert-toString-exception.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+alert({toString: function() { throw &quot;Exception in toString().&quot;; }});
+&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.reloadPage(function() {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    });
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that browser won't crash if inspector is opened for a page that fails to convert
+alert() argument to string. The test passes if it doesn't crash.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60541&quot;&gt;Bug 60541&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleclientsignoredinprivatebrowsingexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleclientsignoredinprivatebrowsingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/clients-ignored-in-privatebrowsing-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/clients-ignored-in-privatebrowsing-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/clients-ignored-in-privatebrowsing-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+In PrivateBrowsing mode, console messages are visible in the Console, but aren't sent to ChromeClients (or printf'd) in order to ensure they never end up in logs. Better safe than sorry.
+
+log: This should show up once console messages are dumped, but should _not_ show up as a &quot;CONSOLE MESSAGE:&quot; at the top of the output.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleclientsignoredinprivatebrowsinghtmlfromrev164517trunkLayoutTestsinspectorconsoleclientsignoredinprivatebrowsinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/clients-ignored-in-privatebrowsing.html (from rev 164517, trunk/LayoutTests/inspector/console/clients-ignored-in-privatebrowsing.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/clients-ignored-in-privatebrowsing.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/clients-ignored-in-privatebrowsing.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    if (window.testRunner)
+        testRunner.setPrivateBrowsingEnabled(true);
+
+    console.log('This should show up once console messages are dumped, but should _not_ show up as a &quot;CONSOLE MESSAGE:&quot; at the top of the output.');
+
+    InspectorTest.dumpConsoleMessages();
+
+    if (window.testRunner)
+        testRunner.setPrivateBrowsingEnabled(false);
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;In PrivateBrowsing mode, console messages are visible in the Console, but
+aren't sent to ChromeClients (or printf'd) in order to ensure they never end
+up in logs. Better safe than sorry.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsolecommandlineapiexpectedtxtfromrev164517trunkLayoutTestsinspectorconsolecommandlineapiexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/command-line-api-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/command-line-api-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/command-line-api-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/command-line-api-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+CONSOLE MESSAGE: line 1223: The console function $() has changed from $=getElementById(id) to $=querySelector(selector). You might try $(&quot;#%s&quot;)
+Tests that command line api works.
+
+
+
+String($0)
+&quot;[object HTMLParagraphElement]&quot;
+
+
+$3
+undefined
+
+
+String(keys([3,4]))
+&quot;0,1&quot;
+
+
+String(values([3,4]))
+&quot;3,4&quot;
+
+
+String($('#foo'))
+&quot;[object HTMLParagraphElement]&quot;
+
+
+String($('#foo', document.body))
+&quot;[object HTMLParagraphElement]&quot;
+
+
+String($('#foo', 'non-node'))
+&quot;[object HTMLParagraphElement]&quot;
+
+
+String($('#foo', $('#bar')))
+&quot;null&quot;
+
+
+String($$('p#foo'))
+&quot;[object NodeList]&quot;
+
+
+String($$('p#foo', document.body))
+&quot;[object NodeList]&quot;
+
+
+String($('foo'))
+The console function $() has changed from $=getElementById(id) to $=querySelector(selector). You might try $(&quot;#foo&quot;)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsolecommandlineapiinspectexpectedtxtfromrev164517trunkLayoutTestsinspectorconsolecommandlineapiinspectexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/command-line-api-inspect-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/command-line-api-inspect-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/command-line-api-inspect-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/command-line-api-inspect-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+Tests that inspect() command line api works.
+
+
+Running: testRevealElement
+
+
+WebInspector.inspect called with: p#p1
+WebInspector.inspect's hints are: []
+inspect($('#p1')) = 
+Selected node id: 'p1'.
+
+Running: testRevealDatabase
+
+
+WebInspector.inspect called with: Database
+WebInspector.inspect's hints are: [&quot;databaseId&quot;]
+inspect(db) = Database {version: &quot;1.0&quot;, transaction: function, readTransaction: function, changeVersion: function}
+
+Running: testRevealDatabase2
+
+
+WebInspector.inspect called with: Database
+WebInspector.inspect's hints are: [&quot;databaseId&quot;]
+inspect(db2) = Database {version: &quot;1.0&quot;, transaction: function, readTransaction: function, changeVersion: function}
+
+Running: testRevealLocalStorage
+
+
+WebInspector.inspect called with: Storage
+WebInspector.inspect's hints are: [&quot;domStorageId&quot;]
+inspect(localStorage) = Storage {}
+
+Running: testRevealSessionStorage
+
+
+WebInspector.inspect called with: Storage
+WebInspector.inspect's hints are: [&quot;domStorageId&quot;]
+inspect(sessionStorage) = Storage {}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsolecommandlineapiinspecthtmlfromrev164517trunkLayoutTestsinspectorconsolecommandlineapiinspecthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/command-line-api-inspect.html (from rev 164517, trunk/LayoutTests/inspector/console/command-line-api-inspect.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/command-line-api-inspect.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/command-line-api-inspect.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,76 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    window.db = openDatabase(&quot;InspectorDatabaseTest&quot;, &quot;1.0&quot;, &quot;Test of database reveal in inspector&quot;, 1);
+    window.db2 = openDatabase(&quot;InspectorDatabaseTest2&quot;, &quot;1.0&quot;, &quot;Test of database reveal in inspector&quot;, 1);
+    localStorage[&quot;inspector&quot;] = &quot;Test of local storage reveal in inspector&quot;;
+    sessionStorage[&quot;inspector&quot;] = &quot;Test of session storage reveal in inspector&quot;;
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector, &quot;inspect&quot;, sniffInspect, true);
+
+    function sniffInspect(objectId, hints)
+    {
+        InspectorTest.addResult(&quot;WebInspector.inspect called with: &quot; + objectId.description);
+        InspectorTest.addResult(&quot;WebInspector.inspect's hints are: &quot; + JSON.stringify(Object.keys(hints)));
+    }
+
+    function evalAndDump(expression, next)
+    {
+        InspectorTest.addResult(&quot;\n&quot;);
+        InspectorTest.evaluateInConsoleAndDump(expression, next);
+    }
+
+    InspectorTest.runTestSuite([
+        function testRevealElement(next)
+        {
+            InspectorTest.addSniffer(WebInspector, &quot;_updateFocusedNode&quot;, step2);
+            evalAndDump(&quot;inspect($('#p1'))&quot;);
+
+            function step2()
+            {
+                InspectorTest.addResult(&quot;Selected node id: '&quot; + WebInspector.panels.elements.selectedDOMNode().getAttribute(&quot;id&quot;) + &quot;'.&quot;);
+                next();
+            }
+        },
+
+        function testRevealDatabase(next)
+        {
+            evalAndDump(&quot;inspect(db)&quot;, next);
+        },
+
+        function testRevealDatabase2(next)
+        {
+            evalAndDump(&quot;inspect(db2)&quot;, next);
+        },
+
+        function testRevealLocalStorage(next)
+        {
+            evalAndDump(&quot;inspect(localStorage)&quot;, next);
+        },
+
+        function testRevealSessionStorage(next)
+        {
+            evalAndDump(&quot;inspect(sessionStorage)&quot;, next);
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p id=&quot;p1&quot;&gt;
+Tests that inspect() command line api works.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsolecommandlineapihtmlfromrev164517trunkLayoutTestsinspectorconsolecommandlineapihtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/command-line-api.html (from rev 164517, trunk/LayoutTests/inspector/console/command-line-api.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/command-line-api.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/command-line-api.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var test = function()
+{
+    var expressions = [
+        &quot;String($0)&quot;,
+        &quot;$3&quot;,
+        &quot;String(keys([3,4]))&quot;,
+        &quot;String(values([3,4]))&quot;,
+        &quot;String($('#foo'))&quot;,
+        &quot;String($('#foo', document.body))&quot;,
+        &quot;String($('#foo', 'non-node'))&quot;,
+        &quot;String($('#foo', $('#bar')))&quot;,
+        &quot;String($$('p#foo'))&quot;,
+        &quot;String($$('p#foo', document.body))&quot;,
+        &quot;String($('foo'))&quot;
+    ];
+
+    InspectorTest.selectNodeWithId(&quot;foo&quot;, step1);
+
+    function step1(node)
+    {
+        if (!expressions.length) {
+            InspectorTest.dumpConsoleMessages();
+            InspectorTest.completeTest();
+            return;
+        }
+        var expression = expressions[0];
+        expressions.splice(0, 1);
+        WebInspector.log(&quot;\n&quot;);
+        InspectorTest.evaluateInConsole(expression, step1);
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p id=&quot;foo&quot;&gt;
+Tests that command line api works.
+&lt;/p&gt;&lt;p id=&quot;bar&quot;&gt;&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleObjectoverwrittenexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleObjectoverwrittenexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-Object-overwritten-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-Object-overwritten-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-Object-overwritten-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-Object-overwritten-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that Web Inspector's console is not broken if Object is overwritten in the inspected page. Test passes if the expression is evaluated in the console and no errors printed. Bug 101320.
+
+var foo = {bar:2012}; foo
+Object {bar: 2012}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleObjectoverwrittenhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleObjectoverwrittenhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-Object-overwritten.html (from rev 164517, trunk/LayoutTests/inspector/console/console-Object-overwritten.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-Object-overwritten.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-Object-overwritten.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+Object = function() {};
+
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;var foo = {bar:2012}; foo&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that Web Inspector's console is not broken if Object is overwritten in the inspected page.
+Test passes if the expression is evaluated in the console and no errors printed.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=101320&quot;&gt;Bug 101320.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleapioncallframeexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleapioncallframeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-api-on-call-frame-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-api-on-call-frame-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-api-on-call-frame-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-api-on-call-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Test that command line api does not mask values of scope variables while evaluating on a call frame.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Evaluated in console in the top frame context: dir + clear + inspect = &quot;dirclearinspect&quot;
+Evaluated in console in the top frame context: typeof $$ = &quot;function&quot;
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleapioncallframehtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleapioncallframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-api-on-call-frame.html (from rev 164517, trunk/LayoutTests/inspector/console/console-api-on-call-frame.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-api-on-call-frame.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-api-on-call-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+window.inspect = &quot;inspect&quot;;
+var clear = &quot;clear&quot;;
+
+function testFunction()
+{
+    var dir = &quot;dir&quot;;
+    debugger;
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.evaluateInConsole(&quot;dir + clear + inspect&quot;, step3);
+    }
+
+    function step3(result)
+    {
+        InspectorTest.addResult(&quot;Evaluated in console in the top frame context: dir + clear + inspect = &quot; + result);
+        InspectorTest.evaluateInConsole(&quot;typeof $$&quot;, step4);
+    }
+
+    function step4(result)
+    {
+        InspectorTest.addResult(&quot;Evaluated in console in the top frame context: typeof $$ = &quot; + result);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that command line api does not mask values of scope variables while evaluating
+on a call frame.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleassertexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleassertexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-assert-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-assert-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-assert-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-assert-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 9: 1
+CONSOLE MESSAGE: line 10: a
+Tests that console.assert() will dump a message and stack trace with source URLs and line numbers.
+
+Assertion failed: 1 console-assert.html:9b console-assert.html:9a console-assert.html:15
+Assertion failed: a b console-assert.html:10b console-assert.html:10a console-assert.html:15
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleasserthtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleasserthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-assert.html (from rev 164517, trunk/LayoutTests/inspector/console/console-assert.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-assert.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-assert.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function b()
+{
+    console.assert(false, 1);
+    console.assert(false, &quot;a&quot;, &quot;b&quot;);
+}
+
+function a()
+{
+    b();
+}
+
+function test()
+{
+    var callCount = 0;
+    function callback()
+    {
+        if (++callCount === 2) {
+            InspectorTest.expandConsoleMessages();
+            InspectorTest.dumpConsoleMessages();
+            InspectorTest.completeTest();
+        }
+    }
+    InspectorTest.evaluateInPage(&quot;setTimeout(a, 0)&quot;);
+    InspectorTest.addConsoleSniffer(callback, true);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that console.assert() will dump a message and stack trace with source URLs and line numbers.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolebindfakeexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolebindfakeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-bind-fake-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-bind-fake-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-bind-fake-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-bind-fake-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that overriding Function.prototype.bind does not break inspector.
+
+foo
+&quot;fooValue&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolebindfakehtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolebindfakehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-bind-fake.html (from rev 164517, trunk/LayoutTests/inspector/console/console-bind-fake.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-bind-fake.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-bind-fake.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var foo = 'fooValue';
+
+Function.prototype.bind = function () { throw &quot;:P&quot;; };
+
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;foo&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that overriding Function.prototype.bind does not break inspector.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleclearfunctionexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleclearfunctionexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-clear-function-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-clear-function-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-clear-function-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-clear-function-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+CONSOLE MESSAGE: line 10: one
+CONSOLE MESSAGE: line 11: two
+CONSOLE MESSAGE: line 12: three
+Tests that console is cleared via console.clear() method
+
+Bug 101021
+=== Before clear ===
+one console-clear-function.html:10
+two console-clear-function.html:11
+three console-clear-function.html:12
+=== After clear ===
+Console was cleared console-clear-function.html:19
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleclearfunctionhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleclearfunctionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-clear-function.html (from rev 164517, trunk/LayoutTests/inspector/console/console-clear-function.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-clear-function.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-clear-function.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function log()
+{
+    // Fill console.
+    console.log(&quot;one&quot;);
+    console.log(&quot;two&quot;);
+    console.log(&quot;three&quot;);
+}
+
+log();
+
+function foo()
+{
+    console.clear();
+}
+
+function test()
+{
+    InspectorTest.addResult(&quot;=== Before clear ===&quot;);
+    InspectorTest.dumpConsoleMessages();
+
+    RuntimeAgent.evaluate(&quot;foo();&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;=== After clear ===&quot;);
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    };
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that console is cleared via console.clear() method
+&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=101021&quot;&gt;Bug 101021 &lt;/a&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolecommandclearexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolecommandclearexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-command-clear-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-command-clear-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-command-clear-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-command-clear-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: line 9: one
+CONSOLE MESSAGE: line 10: two
+CONSOLE MESSAGE: line 11: three
+Tests that console is cleared upon clear() eval in console.
+
+=== Before clear ===
+one console-command-clear.html:9
+two console-command-clear.html:10
+three console-command-clear.html:11
+=== After clear ===
+undefined
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolecommandclearhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolecommandclearhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-command-clear.html (from rev 164517, trunk/LayoutTests/inspector/console/console-command-clear.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-command-clear.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-command-clear.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function log() {
+    // Fill console.
+    console.log(&quot;one&quot;);
+    console.log(&quot;two&quot;);
+    console.log(&quot;three&quot;);
+}
+
+log();
+
+function test()
+{
+
+    InspectorTest.addResult(&quot;=== Before clear ===&quot;); 
+    InspectorTest.dumpConsoleMessages();
+
+    function callback()
+    {
+        InspectorTest.addResult(&quot;=== After clear ===&quot;); 
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+    InspectorTest.evaluateInConsole(&quot;clear()&quot;, callback);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+    Tests that console is cleared upon clear() eval in console.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolecsswarningsexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolecsswarningsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-css-warnings-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-css-warnings-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-css-warnings-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-css-warnings-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+Tests CSS warnings are properly exposed.
+
+Invalid CSS property declaration at: # console-css-warnings.html:10
+Invalid CSS property declaration at: { console-css-warnings.html:15
+Invalid CSS property declaration at: # console-css-warnings.html:18
+Invalid CSS property declaration at: # console-css-warnings.html:22
+Invalid CSS property declaration at: # console-css-warnings.html:32
+Unexpected CSS token: @ console-css-warnings.html:33
+Unexpected CSS token: { console-css-warnings.html:37
+Unexpected CSS token: { console-css-warnings.html:38
+Unexpected CSS token: { console-css-warnings.html:39
+Unexpected CSS token: { console-css-warnings.html:40
+Unexpected CSS token: @ console-css-warnings.html:44
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolecsswarningshtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolecsswarningshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-css-warnings.html (from rev 164517, trunk/LayoutTests/inspector/console/console-css-warnings.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-css-warnings.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-css-warnings.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,69 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;style&gt;
+x {}
+
+x {
+    #
+}
+
+x {
+    color: red;
+    {}}
+
+x {
+    ### {}}
+
+x {
+   color: red;
+   #########
+}
+
+x {
+   color: red {};
+   color: #;
+}
+
+x {
+   color: red;
+   ###;
+   color: @;
+}
+
+x {
+    color{};
+    color{#};
+    color{###};
+    color{{{}}};
+}
+
+x {
+    color: @;  /* Test simple error to ensure parsing recovered. */
+}
+
+&lt;/style&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    // Ensure script generated errors don't go to the console.
+    var style = document.createElement('style');
+    style.textContent = &quot;x{y:*}&quot;;
+    document.head.appendChild(style);
+
+    InspectorTest.expandConsoleMessages();
+    InspectorTest.dumpConsoleMessages();
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p id=&quot;p&quot;&gt;Tests CSS warnings are properly exposed.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoledirexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoledirexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-dir-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-dir-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-dir-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-dir-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+CONSOLE MESSAGE: line 9: test1,test2
+CONSOLE MESSAGE: line 10: [object NodeList]
+CONSOLE MESSAGE: line 11: [object XPathResult]
+Tests that console logging dumps proper messages.
+
+
+
+Array[2]
+    0: &quot;test1&quot;
+    1: &quot;test2&quot;
+    length: 2
+    __proto__: Array[0] console-dir.html:9
+
+NodeList[1]
+    0: html
+    constructor: NodeListConstructor
+    length: 1
+    __proto__: NodeListPrototype console-dir.html:10
+
+XPathResult
+    booleanValue: [Exception: XPathException]
+    constructor: XPathResultConstructor
+    invalidIteratorState: false
+    numberValue: [Exception: XPathException]
+    resultType: 4
+    singleNodeValue: [Exception: XPathException]
+    snapshotLength: [Exception: XPathException]
+    stringValue: [Exception: XPathException]
+    __proto__: XPathResultPrototype console-dir.html:11
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoledirglobalexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoledirglobalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-dir-global-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-dir-global-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-dir-global-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-dir-global-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+CONSOLE MESSAGE: line 9: [object Window]
+Tests that console dumps global object with properties.
+
+{
+    Array : 1
+    console : 1
+    constructor : 1
+    document : 1
+    doit : 1
+    eval : 1
+    frames : 1
+    window : 1
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoledirglobalhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoledirglobalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-dir-global.html (from rev 164517, trunk/LayoutTests/inspector/console/console-dir-global.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-dir-global.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-dir-global.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function doit()
+{
+    console.dir(window);
+    runTest();
+}
+
+function test()
+{
+    RuntimeAgent.evaluate(&quot;window&quot;, &quot;console&quot;, false, evalCallback);
+
+    function evalCallback(error, result)
+    {
+        if (error) {
+            testController.notifyDone(&quot;Exception:&quot; + error);
+            return;
+        }
+        if (result.type === &quot;error&quot;)
+            testController.notifyDone(&quot;Exception:&quot; + result);
+        var objectProxy = WebInspector.RemoteObject.fromPayload(result);
+        objectProxy.getOwnProperties(getPropertiesCallback);
+    }
+
+    function getPropertiesCallback(properties)
+    {
+        properties.sort(WebInspector.ObjectPropertiesSection.CompareProperties);
+        var golden = { &quot;window&quot;: 1, &quot;document&quot;: 1, &quot;eval&quot;: 1, &quot;console&quot;: 1, &quot;frames&quot;: 1, &quot;Array&quot;: 1, &quot;doit&quot;: 1 }; 
+        var result = {};
+        for (var i = 0; i &lt; properties.length; ++i) {
+            var name = properties[i].name;
+            if (golden[name])
+                result[name] = 1;
+        }
+        InspectorTest.addObject(result);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;doit()&quot;&gt;
+&lt;p&gt;
+Tests that console dumps global object with properties.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoledirhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoledirhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-dir.html (from rev 164517, trunk/LayoutTests/inspector/console/console-dir.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-dir.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-dir.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    console.dir([&quot;test1&quot;, &quot;test2&quot;]);
+    console.dir(document.childNodes);
+    console.dir(document.evaluate(&quot;//head&quot;, document, null, XPathResult.ANY_TYPE, null));
+    runTest();
+}
+
+function test()
+{
+    var messages = WebInspector.console.messages;
+    for (var i = 0; i &lt; messages.length; ++i) {
+        var element = messages[i].toMessageElement();
+        var node = element.traverseNextNode(element);
+        while (node) {
+            if (node._section) {
+                messages[i].section = node._section;
+                node._section.expanded = true;
+                break;
+            }
+            node = node.traverseNextNode(element);
+        }
+    }
+
+    InspectorTest.runAfterPendingDispatches(dumpConsoleMessages);
+
+    function dumpConsoleMessages()
+    {
+        InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspector.consoleView.messagesElement));
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests that console logging dumps proper messages.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalblockedexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalblockedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-blocked-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-blocked-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-blocked-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-blocked-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that evaluation in console still works even if script evals are prohibited by Content-Security-Policy. Bug 60800.
+
+1+2
+3
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalblockedhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalblockedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-blocked.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-blocked.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-blocked.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-blocked.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'unsafe-inline'&quot;&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;1+2&quot;, step1);
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that evaluation in console still works even if script evals are prohibited by Content-Security-Policy.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60800&quot;&gt;Bug 60800.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalcommentexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalcommentexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-comment-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-comment-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-comment-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-comment-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that evaluating an expression containing a single line comment does not cause an erroneous error. Bug 116292.
+
+// test
+undefined
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalcommenthtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalcommenthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-comment.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-comment.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-comment.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-comment.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;// test&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that evaluating an expression containing a single line comment does not cause an erroneous error.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=116292&quot;&gt;Bug 116292.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that simple evaluations may be performed in the console.
+
+1+2
+3
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalfakeexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalfakeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-fake-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-fake-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-fake-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-fake-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that overriding window.eval does not break inspector.
+
+foo
+&quot;fooValue&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalfakehtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalfakehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-fake.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-fake.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-fake.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-fake.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var foo = 'fooValue';
+
+window.eval = &quot;Non-function&quot;;
+
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;foo&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that overriding window.eval does not break inspector.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalglobalexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalglobalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-global-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-global-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-global-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-global-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Tests that simple evaluations may be performed in the console on global object.
+
+foo
+&quot;fooValue&quot;
+bar
+Object {a: &quot;b&quot;}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalglobalhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalglobalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-global.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-global.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-global.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-global.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var foo = 'fooValue';
+var bar = {
+    a: 'b'
+};
+
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;foo&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInConsole(&quot;bar&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that simple evaluations may be performed in the console on global object.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalscopedexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalscopedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-scoped-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-scoped-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-scoped-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-scoped-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 4: with: Object property value
+CONSOLE MESSAGE: line 1: eval in with: Object property value
+CONSOLE MESSAGE: line 1: eval in function: Function parameter
+Tests that evaluating 'console.log()' in the console will have access to its outer scope variables. Bug 60547.
+
+with: Object property value
+eval in with: Object property value
+eval in function: Function parameter
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalscopedhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalscopedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-scoped.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-scoped.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-scoped.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-scoped.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    function snippet1() {
+        (function (obj) {
+           with (obj) {
+              console.log('with: ' + a);
+              eval(&quot;console.log('eval in with: ' + a)&quot;);
+           }
+        })({ a: &quot;Object property value&quot; })
+    }
+
+    function snippet2() {
+        (function (a) { eval(&quot;console.log('eval in function: ' + a)&quot;); })(&quot;Function parameter&quot;)
+    }
+
+    function bodyText(f) {
+        var text = f.toString();
+        var begin = text.indexOf(&quot;{&quot;);
+        return text.substring(begin);
+    }
+
+    InspectorTest.evaluateInPage(bodyText(snippet1), step1);
+
+    function step1()
+    {
+        InspectorTest.runAfterPendingDispatches(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.evaluateInPage(bodyText(snippet2), step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that evaluating 'console.log()' in the console will have access to its outer scope variables.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60547&quot;&gt;Bug 60547.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalsyntaxerrorexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalsyntaxerrorexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-syntax-error-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-syntax-error-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-syntax-error-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-syntax-error-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that evaluating an expression with a syntax error in the console won't crash the browser. Bug 61194.
+
+foo().
+SyntaxError: Expected an identifier but found '}' instead
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalsyntaxerrorhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalsyntaxerrorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-syntax-error.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-syntax-error.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-syntax-error.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-syntax-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;foo().&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that evaluating an expression with a syntax error in the console won't crash the browser.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61194&quot;&gt;Bug 61194.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalthrowundefinedexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalthrowundefinedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-throw-undefined-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-throw-undefined-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-throw-undefined-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-throw-undefined-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that evaluating 'throw undefined' in the console won't crash the browser. Bug 59611.
+
+throw undefined
+undefined
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalthrowundefinedhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalthrowundefinedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-throw-undefined.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-throw-undefined.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-throw-undefined.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-throw-undefined.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;throw undefined&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that evaluating 'throw undefined' in the console won't crash the browser.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=59611&quot;&gt;Bug 59611.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalundefinedoverrideexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalundefinedoverrideexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-undefined-override-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-undefined-override-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-undefined-override-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-undefined-override-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Tests that evaluating something in console won't crash the browser if undefined value is overriden. The test passes if it doesn't crash. Bug 64155.
+
+var x = {a:1}; x.self = x; undefined = x;
+Object {a: 1, self: Object}
+unknownVar
+ReferenceError: Can't find variable: unknownVar
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalundefinedoverridehtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalundefinedoverridehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval-undefined-override.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval-undefined-override.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval-undefined-override.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval-undefined-override.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;var x = {a:1}; x.self = x; undefined = x;&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInConsole(&quot;unknownVar&quot;, step2);
+    }
+    function step2()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that evaluating something in console won't crash the browser if undefined value
+is overriden. The test passes if it doesn't crash.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=64155&quot;&gt;Bug 64155.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleevalhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleevalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-eval.html (from rev 164517, trunk/LayoutTests/inspector/console/console-eval.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-eval.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;1+2&quot;, step2);
+
+    function step2()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that simple evaluations may be performed in the console.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleexceptionstacktracesexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleexceptionstacktracesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-exception-stack-traces-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-exception-stack-traces-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-exception-stack-traces-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-exception-stack-traces-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+CONSOLE MESSAGE: line 16: URIError: URI error
+CONSOLE MESSAGE: line 21: TypeError: 1 is not a function (evaluating '1()')
+CONSOLE MESSAGE: line 26: RangeError: Array size is not a small enough positive integer.
+CONSOLE MESSAGE: line 31: SyntaxError: Expected token '}'
+CONSOLE MESSAGE: line 36: ReferenceError: Can't find variable: doesNotExist
+CONSOLE MESSAGE: line 46: Error: Custom Error
+CONSOLE MESSAGE: line 51: [object Object]
+CONSOLE MESSAGE: line 56: error string
+CONSOLE MESSAGE: line 1: DONE
+Tests that JavaScript exception's contain stack traces and that the functions match console.trace() stack traces.
+
+SUCCESS
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleexceptionstacktraceshtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleexceptionstacktraceshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-exception-stack-traces.html (from rev 164517, trunk/LayoutTests/inspector/console/console-exception-stack-traces.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-exception-stack-traces.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-exception-stack-traces.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,134 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function wrapper(f) { wrapper2(f); }
+function wrapper2(f) { wrapper3(f); }
+function wrapper3(f) { wrapper4(f); }
+function wrapper4(f) { finalWrapper(f); }
+function finalWrapper(f) { produceError(f); }
+function produceError(f) {
+    f();
+}
+
+function uriError() {
+    console.trace();
+    decodeURI(&quot;%&quot;);
+}
+
+function typeError() {
+    console.trace();
+    1();
+}
+
+function rangeError() {
+    console.trace();
+    Array(-1).length;
+}
+
+function syntaxError() {
+    console.trace();
+    eval(&quot;{&quot;);
+}
+
+function referenceError() {
+    console.trace();
+    doesNotExist;
+}
+
+function domException() {
+    console.trace();
+    document.body.appendChild(&quot;should not be a string&quot;);
+}
+
+function throwErrorObject() {
+    console.trace();
+    throw new Error(&quot;Custom Error&quot;);
+}
+
+function throwObject() {
+    console.trace();
+    throw {name: &quot;CustomErrorObjectName&quot;, message: &quot;CustomErrorObjectMessage&quot;};
+}
+
+function throwString() {
+    console.trace();
+    throw &quot;error string&quot;;
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector.ConsoleDispatcher.prototype, &quot;messageAdded&quot;, messageAdded, true);
+
+    var hadError = false;
+    var traceStackTrace = null;
+    var errorStackTrace = null;
+
+    function messageAdded(payload)
+    {
+        if (payload.text === &quot;DONE&quot;) {
+            InspectorTest.addResult(hadError ? &quot;FAILURE&quot; : &quot;SUCCESS&quot;);
+            InspectorTest.completeTest();
+            return;
+        }
+
+        if (!traceStackTrace) {
+            if (payload.source === &quot;console-api&quot; &amp;&amp; payload.type === &quot;trace&quot; &amp;&amp; payload.stackTrace)
+                traceStackTrace = payload.stackTrace;
+            else {
+                InspectorTest.addResult(&quot;Expected console.trace() message with a stackTrace, but got: &quot; + JSON.stringify(payload));
+                traceStackTrace = errorStackTrace = null;
+                hadError = true;
+                return;
+            }
+        } else if (!errorStackTrace) {
+            if (payload.source === &quot;javascript&quot; &amp;&amp; payload.level === &quot;error&quot; &amp;&amp; payload.stackTrace)
+                errorStackTrace = payload.stackTrace;
+            else {
+                InspectorTest.addResult(&quot;Expected JavaScript Error message with stackTrace but got: &quot; + JSON.stringify(payload));
+                traceStackTrace = errorStackTrace = null;
+                hadError = true;
+                return;
+            }
+        }
+
+        if (traceStackTrace &amp;&amp; errorStackTrace) {
+            var hadStackTraceDifference = false;
+             if (traceStackTrace.length != errorStackTrace.length) {
+                if (errorStackTrace.length - traceStackTrace.length != 1 || (errorStackTrace[0].functionName != &quot;decodeURI&quot; &amp;&amp; errorStackTrace[0].functionName != &quot;eval&quot;))
+                    hadStackTraceDifference = true;
+            }
+            else {
+                for (var i = 0; i &lt; traceStackTrace.length; ++i) {
+                    if (traceStackTrace[i].functionName !== errorStackTrace[i].functionName)
+                        hadStackTraceDifference = true;
+                }
+            }
+
+            if (hadStackTraceDifference) {
+                InspectorTest.addResult(&quot;Unexpected stack trace for JavaScript Error: &quot; + payload.text);
+                hadError = true;
+            }
+
+            traceStackTrace = errorStackTrace = null;
+        }
+    }
+
+    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(uriError)&quot;);
+    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(typeError)&quot;);
+    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(rangeError)&quot;);
+    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(syntaxError)&quot;);
+    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(referenceError)&quot;);
+    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(throwErrorObject)&quot;);
+    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(throwObject)&quot;);
+    InspectorTest.evaluateInPageWithTimeout(&quot;wrapper(throwString)&quot;);
+    InspectorTest.evaluateInPageWithTimeout(&quot;console.log('DONE')&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that JavaScript exception's contain stack traces and that the functions match console.trace() stack traces.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleexternalarrayexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleexternalarrayexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-external-array-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-external-array-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-external-array-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-external-array-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+CONSOLE MESSAGE: line 9: [object Int8Array]
+CONSOLE MESSAGE: line 10: [object Int16Array]
+CONSOLE MESSAGE: line 11: [object Int32Array]
+CONSOLE MESSAGE: line 12: [object Uint8Array]
+CONSOLE MESSAGE: line 13: [object Uint16Array]
+CONSOLE MESSAGE: line 14: [object Uint32Array]
+CONSOLE MESSAGE: line 15: [object Float32Array]
+CONSOLE MESSAGE: line 16: [object Float64Array]
+CONSOLE MESSAGE: line 18: [object Int8Array]
+CONSOLE MESSAGE: line 19: [object Int16Array]
+CONSOLE MESSAGE: line 20: [object Int32Array]
+CONSOLE MESSAGE: line 21: [object Uint8Array]
+CONSOLE MESSAGE: line 22: [object Uint16Array]
+CONSOLE MESSAGE: line 23: [object Uint32Array]
+CONSOLE MESSAGE: line 24: [object Float32Array]
+CONSOLE MESSAGE: line 25: [object Float64Array]
+Tests that console logging detects external arrays as arrays.
+
+Int8Array[10] console-external-array.html:9
+Int16Array[10] console-external-array.html:10
+Int32Array[10] console-external-array.html:11
+Uint8Array[10] console-external-array.html:12
+Uint16Array[10] console-external-array.html:13
+Uint32Array[10] console-external-array.html:14
+Float32Array[10] console-external-array.html:15
+Float64Array[10] console-external-array.html:16
+Int8Array[10] console-external-array.html:18
+Int16Array[10] console-external-array.html:19
+Int32Array[10] console-external-array.html:20
+Uint8Array[10] console-external-array.html:21
+Uint16Array[10] console-external-array.html:22
+Uint32Array[10] console-external-array.html:23
+Float32Array[10] console-external-array.html:24
+Float64Array[10] console-external-array.html:25
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleexternalarrayhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleexternalarrayhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-external-array.html (from rev 164517, trunk/LayoutTests/inspector/console/console-external-array.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-external-array.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-external-array.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    console.log(new Int8Array(10));
+    console.log(new Int16Array(10));
+    console.log(new Int32Array(10));
+    console.log(new Uint8Array(10));
+    console.log(new Uint16Array(10));
+    console.log(new Uint32Array(10));
+    console.log(new Float32Array(10));
+    console.log(new Float64Array(10));
+
+    console.dir(new Int8Array(10));
+    console.dir(new Int16Array(10));
+    console.dir(new Int32Array(10));
+    console.dir(new Uint8Array(10));
+    console.dir(new Uint16Array(10));
+    console.dir(new Uint32Array(10));
+    console.dir(new Float32Array(10));
+    console.dir(new Float64Array(10));
+
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.dumpConsoleMessages();
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests that console logging detects external arrays as arrays.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelastresultexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolelastresultexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-last-result-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-last-result-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-last-result-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-last-result-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Tests that console exposes last evaluation result as $_.
+
+1+1
+2
+$_
+2
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelastresulthtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolelastresulthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-last-result.html (from rev 164517, trunk/LayoutTests/inspector/console/console-last-result.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-last-result.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-last-result.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;1+1&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInConsole(&quot;$_&quot;, callback);
+    }
+
+    function callback()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+    Tests that console exposes last evaluation result as $_.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelogbeforeinspectoropenexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolelogbeforeinspectoropenexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-before-inspector-open-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-log-before-inspector-open-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-before-inspector-open-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-before-inspector-open-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+CONSOLE MESSAGE: line 7: log
+CONSOLE MESSAGE: line 8: debug
+CONSOLE MESSAGE: line 9: info
+CONSOLE MESSAGE: line 10: warn
+CONSOLE MESSAGE: line 11: error
+Tests that Web Inspector won't crash if some console have been logged by the time it's opening.
+
+log console-log-before-inspector-open.html:7
+debug console-log-before-inspector-open.html:8
+info console-log-before-inspector-open.html:9
+warn console-log-before-inspector-open.html:10
+error console-log-before-inspector-open.html:11
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelogbeforeinspectoropenhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolelogbeforeinspectoropenhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-before-inspector-open.html (from rev 164517, trunk/LayoutTests/inspector/console/console-log-before-inspector-open.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-before-inspector-open.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-before-inspector-open.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+console.log('log');
+console.debug('debug');
+console.info('info');
+console.warn('warn');
+console.error('error');
+
+function test()
+{
+    InspectorTest.dumpConsoleMessages();
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that Web Inspector won't crash if some console have been logged by the time it's opening.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelogdocumentprotoexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolelogdocumentprotoexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-document-proto-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-log-document-proto-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-document-proto-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-document-proto-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+CONSOLE MESSAGE: line 6: [object HTMLDocumentPrototype]
+Test that console.dir(document.__proto__) won't result in an exception when the message is formatted in the inspector.Bug 27169.
+
+HTMLDocumentPrototype console-log-document-proto.html:6
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelogdocumentprotohtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolelogdocumentprotohtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-document-proto.html (from rev 164517, trunk/LayoutTests/inspector/console/console-log-document-proto.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-document-proto.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-document-proto.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+console.dir(document.__proto__);
+
+function test()
+{
+    InspectorTest.dumpConsoleMessages();
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that console.dir(document.__proto__) won't result in an exception when the message
+is formatted in the inspector.&lt;a bug=&quot;https://bugs.webkit.org/show_bug.cgi?id=27169&quot;&gt;Bug  27169.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelognativefuncsexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolelognativefuncsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-native-funcs-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-log-native-funcs-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-native-funcs-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-native-funcs-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+CONSOLE MESSAGE: line 9: [object DocumentConstructor]
+CONSOLE MESSAGE: line 10: function createElement() {
+    [native code]
+}
+Tests that console logging dumps proper messages.
+
+console-log-native-funcs.html:9DocumentConstructor console-message console-js-source console-log-level
+console-log-native-funcs.html:10function createElement() {
+    [native code]
+} console-message console-js-source console-log-level
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelogsyntaxerrorexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolelogsyntaxerrorexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-syntax-error-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-log-syntax-error-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-syntax-error-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-syntax-error-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+CONSOLE MESSAGE: line 1: SyntaxError: Unexpected token ')'
+Tests that syntax errors are logged into console and doesn't cause browser crash.
+
+SyntaxError: Unexpected token ')' syntax-error.js:1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelogsyntaxerrorhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolelogsyntaxerrorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-syntax-error.html (from rev 164517, trunk/LayoutTests/inspector/console/console-log-syntax-error.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-syntax-error.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-syntax-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/syntax-error.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.dumpConsoleMessages();
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that syntax errors are logged into console and doesn't cause browser crash.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelogtoStringobjectexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolelogtoStringobjectexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-toString-object-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-log-toString-object-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-toString-object-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-toString-object-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 7: 
+CONSOLE MESSAGE: line 7: 
+Tests that passing an object which throws on string conversion into console.log won't crash inspected Page. The test passes if it doesn't crash. Bug 57557
+
+Page reloaded.
+Object {toString: Object} console-log-toString-object.html:7
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelogtoStringobjecthtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolelogtoStringobjecthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-log-toString-object.html (from rev 164517, trunk/LayoutTests/inspector/console/console-log-toString-object.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-log-toString-object.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-log-toString-object.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+console.log({toString:{}});
+
+function test()
+{
+    InspectorTest.reloadPage(function() {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    });
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that passing an object which throws on string conversion into console.log won't crash
+inspected Page. The test passes if it doesn't crash.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=57557&quot;&gt;Bug 57557&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelongevalcrashexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolelongevalcrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-long-eval-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-long-eval-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-long-eval-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-long-eval-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+Test that any long api call from the frontend will not crash the inspected page's renderer if the page is reloaded or frontend is closed in the middle.
+
+https://bugs.webkit.org/show_bug.cgi?id=60616
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolelongevalcrashhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolelongevalcrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-long-eval-crash.html (from rev 164517, trunk/LayoutTests/inspector/console/console-long-eval-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-long-eval-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-long-eval-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+testRunner.setCanOpenWindows();
+
+function doDialog()
+{
+    testRunner.closeWebInspector();
+    showModalDialog('data:text/html,&lt;script&gt;setTimeout(close, 0);%3c/script&gt;');
+    setTimeout(function(){testRunner.notifyDone();}, 0);
+}
+
+function test()
+{
+    RuntimeAgent.evaluate(&quot;doDialog()&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that any long api call from the frontend will not crash the inspected page's renderer if the page is reloaded or frontend is closed in the middle.
+&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60616&quot;&gt;https://bugs.webkit.org/show_bug.cgi?id=60616&lt;/a&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolemessageformatexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolemessageformatexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-message-format-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-message-format-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-message-format-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-message-format-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+CONSOLE MESSAGE: line 9: Message format number %i, %d and %f
+CONSOLE MESSAGE: line 10: Message %s for %s
+CONSOLE MESSAGE: line 11: Object %o
+CONSOLE MESSAGE: line 12: Floating as integers: %d %i
+CONSOLE MESSAGE: line 13: Floating as is: %f
+CONSOLE MESSAGE: line 14: Non-numbers as numbers: %d %i %f
+CONSOLE MESSAGE: line 15: String as is: %s
+CONSOLE MESSAGE: line 16: Object as string: %s
+Tests that console logging uses proper message formatting.
+
+Message format number 1, 2 and 3.5 console-message-format.html:9
+Message format for string console-message-format.html:10
+Object Object console-message-format.html:11
+Floating as integers: 42 42 console-message-format.html:12
+Floating as is: 42.5 console-message-format.html:13
+Non-numbers as numbers: NaN NaN NaN console-message-format.html:14
+String as is: string console-message-format.html:15
+Object as string: #document console-message-format.html:16
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolemessageformathtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolemessageformathtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-message-format.html (from rev 164517, trunk/LayoutTests/inspector/console/console-message-format.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-message-format.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-message-format.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    console.log('Message format number %i, %d and %f', 1, 2, 3.5);
+    console.log('Message %s for %s', 'format', 'string');
+    console.log('Object %o', {'foo' : 'bar' });
+    console.log(&quot;Floating as integers: %d %i&quot;, 42.5, 42.5);
+    console.log(&quot;Floating as is: %f&quot;, 42.5);
+    console.log(&quot;Non-numbers as numbers: %d %i %f&quot;, document, null, &quot;document&quot;);
+    console.log(&quot;String as is: %s&quot;, &quot;string&quot;);
+    console.log(&quot;Object as string: %s&quot;, document);
+
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.expandConsoleMessages();
+    InspectorTest.dumpConsoleMessages();
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p id=&quot;p&quot;&gt;Tests that console logging uses proper message formatting.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolemessagesstacktracesexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolemessagesstacktracesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-messages-stack-traces-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-messages-stack-traces-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-messages-stack-traces-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-messages-stack-traces-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+CONSOLE MESSAGE: line 16: log
+CONSOLE MESSAGE: line 17: info
+CONSOLE MESSAGE: line 18: warn
+CONSOLE MESSAGE: line 19: debug
+CONSOLE MESSAGE: line 20: error
+CONSOLE MESSAGE: line 21: assert
+CONSOLE MESSAGE: line 22: trace
+CONSOLE MESSAGE: line 23: 1,2,3
+CONSOLE MESSAGE: line 24: [object HTMLBodyElement]
+CONSOLE MESSAGE: line 30: MARKER: EXPECT NO STACK TRACES
+CONSOLE MESSAGE: line 34: MARKER: DONE
+Tests that console-api messages contain stack traces.
+
+SUCCESS
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolemessagesstacktraceshtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolemessagesstacktraceshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-messages-stack-traces.html (from rev 164517, trunk/LayoutTests/inspector/console/console-messages-stack-traces.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-messages-stack-traces.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-messages-stack-traces.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,81 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performConsoleMessages() {
+    // No console message.
+    console.timeStamp();
+
+    // Expected to have stack traces.
+    console.time(&quot;time&quot;); // Nothing until timeEnd.
+    console.clear();
+    console.group(&quot;group&quot;);
+    console.profile(&quot;profile&quot;);
+    console.log(&quot;log&quot;);
+    console.info(&quot;info&quot;);
+    console.warn(&quot;warn&quot;);
+    console.error(&quot;debug&quot;);
+    console.error(&quot;error&quot;);
+    console.assert(false, &quot;assert&quot;);
+    console.trace(&quot;trace&quot;);
+    console.dir([1,2,3]);
+    console.dirxml(document.body);
+    console.count(&quot;count&quot;);
+    console.profileEnd(&quot;profile&quot;);
+    console.timeEnd(&quot;time&quot;);
+
+    // Not expected to have stack traces.
+    console.log(&quot;MARKER: EXPECT NO STACK TRACES&quot;);
+    console.groupEnd(&quot;group&quot;);
+
+    // End the test
+    console.log(&quot;MARKER: DONE&quot;);
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector.ConsoleDispatcher.prototype, &quot;messageAdded&quot;, messageAdded, true);
+
+    var hadIssue = false;
+    var expectStackTraces = true;
+
+    function messageAdded(payload)
+    {
+        if (payload.level === &quot;log&quot;) {
+            if (payload.text === &quot;MARKER: DONE&quot;) {
+                InspectorTest.addResult(hadIssue ? &quot;FAILURE&quot; : &quot;SUCCESS&quot;);
+                InspectorTest.completeTest();
+                return;
+            }
+            if (payload.text === &quot;MARKER: EXPECT NO STACK TRACES&quot;) {
+                expectStackTraces = false;
+                return;
+            }
+        }
+
+        var url = payload.url;
+        var lastSlashIndex = url.lastIndexOf(&quot;/&quot;);
+        url = url.substring(lastSlashIndex + 1);
+
+        if (&quot;stackTrace&quot; in payload &amp;&amp; !expectStackTraces) {
+            InspectorTest.addResult(&quot;Unexpected stack trace for: &quot; + JSON.stringify(payload));
+            hadIssue = true;
+        } else if (!(&quot;stackTrace&quot; in payload) &amp;&amp; expectStackTraces) {
+            InspectorTest.addResult(&quot;Expected stack trace for: &quot; + JSON.stringify(payload));
+            hadIssue = true;
+        }
+    }
+
+    InspectorTest.evaluateInPage(&quot;performConsoleMessages()&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that console-api messages contain stack traces.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolenativefunctiontostringexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolenativefunctiontostringexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-native-function-to-string-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-native-function-to-string-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-native-function-to-string-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-native-function-to-string-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,63 @@
</span><ins>+Tests that command-line API methods behave similarly to native code by returning '[WebInspector console function]' via toString().
+
+
+
+$
+function $() { [Command Line API] }
+
+
+$$
+function $$() { [Command Line API] }
+
+
+$x
+function $x() { [Command Line API] }
+
+
+dir
+function dir() { [Command Line API] }
+
+
+dirxml
+function dirxml() { [Command Line API] }
+
+
+keys
+function keys() { [Command Line API] }
+
+
+values
+function values() { [Command Line API] }
+
+
+profile
+function profile() { [Command Line API] }
+
+
+profileEnd
+function profileEnd() { [Command Line API] }
+
+
+monitorEvents
+function monitorEvents() { [Command Line API] }
+
+
+unmonitorEvents
+function unmonitorEvents() { [Command Line API] }
+
+
+inspect
+function inspect() { [Command Line API] }
+
+
+copy
+function copy() { [Command Line API] }
+
+
+clear
+function clear() { [Command Line API] }
+
+
+getEventListeners
+function getEventListeners() { [Command Line API] }
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolenativefunctiontostringhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolenativefunctiontostringhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-native-function-to-string.html (from rev 164517, trunk/LayoutTests/inspector/console/console-native-function-to-string.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-native-function-to-string.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-native-function-to-string.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+    &lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+    &lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+    &lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+    &lt;script&gt;
+        var test = function()
+        {
+            var expressions = [
+                &quot;$&quot;, &quot;$$&quot;, &quot;$x&quot;, &quot;dir&quot;, &quot;dirxml&quot;, &quot;keys&quot;, &quot;values&quot;, &quot;profile&quot;, &quot;profileEnd&quot;,
+                &quot;monitorEvents&quot;, &quot;unmonitorEvents&quot;, &quot;inspect&quot;, &quot;copy&quot;, &quot;clear&quot;, &quot;getEventListeners&quot;
+            ];
+
+            function executeExpression()
+            {
+                if (!expressions.length) {
+                    InspectorTest.dumpConsoleMessages();
+                    InspectorTest.completeTest();
+                    return;
+                }
+                var expression = expressions[0];
+                expressions.splice(0, 1);
+                WebInspector.log(&quot;\n&quot;);
+                InspectorTest.evaluateInConsole(expression, executeExpression);
+            }
+
+            executeExpression();
+        }
+    &lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt;Tests that command-line API methods behave similarly to native code by returning '[WebInspector console function]' via toString().&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolenestedgroupexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolenestedgroupexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-nested-group-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-nested-group-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-nested-group-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-nested-group-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+CONSOLE MESSAGE: line 11: Message inside inner group
+CONSOLE MESSAGE: line 14: Message that must not be in any group
+CONSOLE MESSAGE: line 21: Message inside third group
+Tests that console.group/groupEnd messages won't be coalesced. Bug 56114. Bug 63521.
+
+outer group console-nested-group.html:9 console-message console-log-level console-group-title
+inner group console-nested-group.html:10 console-message console-log-level console-group-title
+Message inside inner group console-nested-group.html:11 console-message console-log-level
+ console-message console-log-level
+ console-message console-log-level
+Message that must not be in any group console-nested-group.html:14 console-message console-log-level
+One of several groups which shouldn't be coalesced. console-nested-group.html:19 console-message console-log-level console-group-title
+One of several groups which shouldn't be coalesced. console-nested-group.html:19 console-message console-log-level console-group-title
+One of several groups which shouldn't be coalesced. console-nested-group.html:19 console-message console-log-level console-group-title
+Message inside third group console-nested-group.html:21 console-message console-log-level
+ console-message console-log-level
+ console-message console-log-level
+ console-message console-log-level
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolenestedgrouphtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolenestedgrouphtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-nested-group.html (from rev 164517, trunk/LayoutTests/inspector/console/console-nested-group.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-nested-group.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-nested-group.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    console.group(&quot;outer group&quot;);
+    console.group(&quot;inner group&quot;);
+    console.log(&quot;Message inside inner group&quot;);
+    console.groupEnd();
+    console.groupEnd();
+    console.log(&quot;Message that must not be in any group&quot;);
+
+
+    var groupCount = 3;
+    for (var i = 0; i &lt; groupCount; i++) {
+        console.group(&quot;One of several groups which shouldn't be coalesced.&quot;);
+    }
+    console.log(&quot;Message inside third group&quot;);
+    for (var i = 0; i &lt; groupCount; i++) {
+        console.groupEnd();
+    }
+
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.dumpConsoleMessagesWithClasses();
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests that console.group/groupEnd messages won't be coalesced. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=56114&quot;&gt;Bug 56114.&lt;/a&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=63521&quot;&gt;Bug 63521.&lt;/a&gt;
+
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleobjectconstructornameexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleobjectconstructornameexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-object-constructor-name-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-object-constructor-name-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-object-constructor-name-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-object-constructor-name-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 11: [object Object]
+CONSOLE MESSAGE: line 12: [object Object]
+CONSOLE MESSAGE: line 13: [object Object]
+Tests that the name of the function invoked as object constructor will be displayed as its type in the front-end. Bug 50063.
+
+Parent console-object-constructor-name.html:11
+Parent console-object-constructor-name.html:12
+Object console-object-constructor-name.html:13
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleobjectconstructornamehtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleobjectconstructornamehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-object-constructor-name.html (from rev 164517, trunk/LayoutTests/inspector/console/console-object-constructor-name.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-object-constructor-name.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-object-constructor-name.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function Parent() { }
+function Child() { }
+Child.prototype = new Parent();
+var outer = { inner: function() { } };
+console.log(new Parent());
+console.log(new Child());
+console.log(new outer.inner());
+
+function test()
+{
+    InspectorTest.expandConsoleMessages();
+    InspectorTest.dumpConsoleMessages();
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that the name of the function invoked as object constructor will be displayed as its type in the front-end.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=50063&quot;&gt;Bug 50063.&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleobjectpreviewexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleobjectpreviewexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-object-preview-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-object-preview-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-object-preview-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-object-preview-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+CONSOLE MESSAGE: line 9: Mutating object in a loop
+CONSOLE MESSAGE: line 13: [object Object]
+CONSOLE MESSAGE: line 13: [object Object]
+CONSOLE MESSAGE: line 13: [object Object]
+CONSOLE MESSAGE: line 16: Mutating array in a loop
+CONSOLE MESSAGE: line 20: 0,0,0
+CONSOLE MESSAGE: line 20: 0,0,1
+CONSOLE MESSAGE: line 20: 0,0,2
+CONSOLE MESSAGE: line 23: Object with many properties
+CONSOLE MESSAGE: line 28: [object Object]
+CONSOLE MESSAGE: line 30: Array with many properties
+CONSOLE MESSAGE: line 35: 0,1
+CONSOLE MESSAGE: line 37: Object with proto
+CONSOLE MESSAGE: line 40: [object Object]
+CONSOLE MESSAGE: line 42: Sparse array
+CONSOLE MESSAGE: line 45: ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,50,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
+CONSOLE MESSAGE: line 47: Dense array with indexes and propeties
+CONSOLE MESSAGE: line 53: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149
+Tests that console produces instant previews for arrays and objects.
+
+Mutating object in a loop console-object-preview.html:9 console-message-text source-code &gt; console-message-url webkit-html-resource-link
+Object {a: 0, b: 0, c: 0} console-object-preview.html:13 console-message-text source-code &gt; console-formatted-object source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
+Object {a: 0, b: 0, c: 1} console-object-preview.html:13 console-message-text source-code &gt; console-formatted-object source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
+Object {a: 0, b: 0, c: 2} console-object-preview.html:13 console-message-text source-code &gt; console-formatted-object source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
+Mutating array in a loop console-object-preview.html:16 console-message-text source-code &gt; console-message-url webkit-html-resource-link
+[0, 0, 0] console-object-preview.html:20 console-message-text source-code &gt; console-formatted-array source-code &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
+[0, 0, 1] console-object-preview.html:20 console-message-text source-code &gt; console-formatted-array source-code &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
+[0, 0, 2] console-object-preview.html:20 console-message-text source-code &gt; console-formatted-array source-code &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
+Object with many properties console-object-preview.html:23 console-message-text source-code &gt; console-message-url webkit-html-resource-link
+Object {property_0: 0, property_1: 1, property_2: 2, property_3: 3, property_4: 4…} console-object-preview.html:28 console-message-text source-code &gt; console-formatted-object source-code &gt; section &gt; header monospace &gt; subtitle &gt; title &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; object-info-state-note &gt; properties properties-tree monospace &gt; console-message-url webkit-html-resource-link
+Array with many properties console-object-preview.html:30 console-message-text source-code &gt; console-message-url webkit-html-resource-link
+[0, 1, property_0: 0, property_1: 1, property_2: 2, property_3: 3, property_4: 4…] console-object-preview.html:35 console-message-text source-code &gt; console-formatted-array source-code &gt; section &gt; header monospace &gt; subtitle &gt; title &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; object-info-state-note &gt; properties properties-tree monospace &gt; console-message-url webkit-html-resource-link
+Object with proto console-object-preview.html:37 console-message-text source-code &gt; console-message-url webkit-html-resource-link
+Object {d: 1, a: 0, b: 0, c: 2} console-object-preview.html:40 console-message-text source-code &gt; console-formatted-object source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
+Sparse array console-object-preview.html:42 console-message-text source-code &gt; console-message-url webkit-html-resource-link
+[50: 50] console-object-preview.html:45 console-message-text source-code &gt; console-formatted-array source-code &gt; console-object-preview &gt; name &gt; console-formatted-number &gt; console-message-url webkit-html-resource-link
+Dense array with indexes and propeties console-object-preview.html:47 console-message-text source-code &gt; console-message-url webkit-html-resource-link
+[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99…] console-object-preview.html:53 console-message-text source-code &gt; console-formatted-array source-code &gt; section &gt; header monospace &gt; subtitle &gt; title &gt; console-object-preview &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; console-formatted-number &gt; object-info-state-note &gt; properties properties-tree monospace &gt; console-message-url webkit-html-resource-link
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleobjectpreviewhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleobjectpreviewhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-object-preview.html (from rev 164517, trunk/LayoutTests/inspector/console/console-object-preview.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-object-preview.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-object-preview.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,75 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function logToConsole()
+{
+    console.log(&quot;Mutating object in a loop&quot;);
+    var object = { a: 0, b: 0 };
+    for (var i = 0; i &lt; 3; ++i) {
+        object.c = i;
+        console.log(object);
+    }
+
+    console.log(&quot;Mutating array in a loop&quot;);
+    var array = [0, 0, 0];
+    for (var i = 0; i &lt; 3; ++i) {
+        array[2] = i;
+        console.log(array);
+    }
+
+    console.log(&quot;Object with many properties&quot;);
+    var objectWithManyProperties = {};
+    for (var i = 0; i &lt; 10; ++i) {
+        objectWithManyProperties[&quot;property_&quot; + i] = i;
+    }
+    console.log(objectWithManyProperties);
+
+    console.log(&quot;Array with many properties&quot;);
+    var arrayWithManyProperties = [0, 1];
+    for (var i = 0; i &lt; 10; ++i) {
+        arrayWithManyProperties[&quot;property_&quot; + i] = i;
+    }
+    console.log(arrayWithManyProperties);
+
+    console.log(&quot;Object with proto&quot;);
+    var objectWithProto = { d: 1 };
+    objectWithProto.__proto__ = object;
+    console.log(objectWithProto);
+
+    console.log(&quot;Sparse array&quot;);
+    var sparseArray = new Array(150);
+    sparseArray[50] = 50;
+    console.log(sparseArray);
+
+    console.log(&quot;Dense array with indexes and propeties&quot;);
+    var denseArray = new Array(150);
+    for (var i = 0; i &lt; 150; ++i) {
+        denseArray[i] = i;
+        denseArray[&quot;property_&quot; + i] = i;
+    }
+    console.log(denseArray);
+}
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;logToConsole()&quot;, callback);
+
+    function callback()
+    {
+        InspectorTest.dumpConsoleMessages(false, true);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that console produces instant previews for arrays and objects.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleoriginatingcommandexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleoriginatingcommandexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-originating-command-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-originating-command-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-originating-command-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-originating-command-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Tests that console result has originating command associated with it.
+
+1 + 1
+2
+Originating from: 1 + 1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleoriginatingcommandhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleoriginatingcommandhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-originating-command.html (from rev 164517, trunk/LayoutTests/inspector/console/console-originating-command.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-originating-command.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-originating-command.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.evaluateInConsole(&quot;1 + 1&quot;, step1);
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages(true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+    Tests that console result has originating command associated with it.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolepreservelogexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolepreservelogexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-preserve-log-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-preserve-log-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-preserve-log-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-preserve-log-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that the console can preserve log messages across navigations. Bug 53359
+
+Page reloaded.
+PASS
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolepreserveloghtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolepreserveloghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-preserve-log.html (from rev 164517, trunk/LayoutTests/inspector/console/console-preserve-log.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-preserve-log.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-preserve-log.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    WebInspector.console.addMessage(WebInspector.ConsoleMessage.create(WebInspector.ConsoleMessage.MessageSource.Other, WebInspector.ConsoleMessage.MessageLevel.Log, &quot;PASS&quot;));
+    WebInspector.settings.preserveConsoleLog.set(true);
+    InspectorTest.reloadPage(function() {
+        InspectorTest.dumpConsoleMessages();
+        WebInspector.settings.preserveConsoleLog.set(false);
+        InspectorTest.completeTest();
+    });
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that the console can preserve log messages across navigations.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=53359&quot;&gt;Bug 53359&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolerepeatcountexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolerepeatcountexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-repeat-count-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-repeat-count-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-repeat-count-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-repeat-count-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+CONSOLE MESSAGE: line 10: Same message
+Tests that repeat count is properly updated.
+
+5Same message console-repeat-count.html:10
+&quot;Different message&quot;
+&quot;Different message&quot;
+5Same message console-repeat-count.html:10
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolerepeatcounthtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolerepeatcounthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-repeat-count.html (from rev 164517, trunk/LayoutTests/inspector/console/console-repeat-count.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-repeat-count.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-repeat-count.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function dumpMessages()
+{
+    for (var i = 0; i &lt; 5; ++i)
+        console.log(&quot;Same message&quot;);
+}
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;dumpMessages()&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInConsole(&quot;\&quot;Different message\&quot;&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.evaluateInPage(&quot;dumpMessages()&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that repeat count is properly updated.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolestringformatexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolestringformatexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-string-format-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-string-format-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-string-format-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-string-format-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Tests that formatting processes '%' properly in case of missing formatters.
+
+String.sprintf(%T, 1) = &quot;%T&quot;
+String.sprintf(10% x 20%, of the original) = &quot;10% x 20%&quot;
+String.sprintf(%%, ) = &quot;%%&quot;
+String.sprintf(%, ) = &quot;%&quot;
+String.sprintf(% %d, 1) = &quot;% 1&quot;
+String.sprintf(%d % %s, 1, foo) = &quot;1 % foo&quot;
+String.sprintf(%.2f, 0.12345) = &quot;0.12&quot;
+String.sprintf(foo%555 bar, ) = &quot;foo%555 bar&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolestringformathtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolestringformathtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-string-format.html (from rev 164517, trunk/LayoutTests/inspector/console/console-string-format.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-string-format.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-string-format.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var params = [
+        [&quot;%T&quot;, 1],
+        [&quot;10% x 20%&quot;, &quot;of the original&quot;],
+        [&quot;%%&quot;, &quot;&quot;],
+        [&quot;%&quot;, &quot;&quot;],
+        [&quot;% %d&quot;, 1],
+        [&quot;%d % %s&quot;, 1, &quot;foo&quot;],
+        [&quot;%.2f&quot;, 0.12345],
+        [&quot;foo%555 bar&quot;, &quot;&quot;],
+    ];
+    for (var i = 0; i &lt; params.length; ++i)
+        InspectorTest.addResult(&quot;String.sprintf(&quot; + params[i].join(&quot;, &quot;) + &quot;) = \&quot;&quot; + String.sprintf.apply(String, params[i]) + &quot;\&quot;&quot;);
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that formatting processes '%' properly in case of missing formatters.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolesubstitutedexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolesubstitutedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-substituted-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-substituted-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-substituted-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-substituted-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that evaluate in console works even if window.console is substituted or deleted. Bug 53072
+
+1
+2
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolesubstitutedhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolesubstitutedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-substituted.html (from rev 164517, trunk/LayoutTests/inspector/console/console-substituted.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-substituted.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-substituted.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,56 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function deleteConsole()
+{
+    window.console = undefined;
+}
+
+function substituteConsole()
+{
+    window.console = {
+        get _commandLineAPI() { return undefined; },
+        set _commandLineAPI() {}
+    };
+}
+
+var test = function()
+{
+    InspectorTest.evaluateInConsole(&quot;deleteConsole()&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInConsole(&quot;1&quot;, step2);
+    }
+
+    function step2(result)
+    {
+        InspectorTest.addResult(result);
+        InspectorTest.evaluateInConsole(&quot;substituteConsole()&quot;, step3);
+    }
+
+    function step3(result)
+    {
+        InspectorTest.evaluateInConsole(&quot;2&quot;, step4);
+    }
+
+    function step4(result)
+    {
+        InspectorTest.addResult(result);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that evaluate in console works even if window.console is substituted or deleted.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=53072&quot;&gt;Bug 53072&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoletestsexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoletestsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-tests-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-tests-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-tests-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-tests-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+CONSOLE MESSAGE: line 9: log
+CONSOLE MESSAGE: line 10: debug
+CONSOLE MESSAGE: line 11: info
+CONSOLE MESSAGE: line 12: warn
+CONSOLE MESSAGE: line 13: error
+CONSOLE MESSAGE: line 15: repeated
+CONSOLE MESSAGE: line 15: repeated
+CONSOLE MESSAGE: line 15: repeated
+CONSOLE MESSAGE: line 15: repeated
+CONSOLE MESSAGE: line 15: repeated
+CONSOLE MESSAGE: line 20: 1
+CONSOLE MESSAGE: line 22: [object Object]
+CONSOLE MESSAGE: line 23: 42
+CONSOLE MESSAGE: line 24: true
+CONSOLE MESSAGE: line 25: null
+CONSOLE MESSAGE: line 26: undefined
+CONSOLE MESSAGE: line 27: [object HTMLDocument]
+CONSOLE MESSAGE: line 28: function () { }
+CONSOLE MESSAGE: line 29: function f() { }
+CONSOLE MESSAGE: line 30: 1,2,3
+CONSOLE MESSAGE: line 31: /regexp.*/
+Tests that console logging dumps proper messages.
+
+log console-tests.html:9 console-message console-log-level
+debug console-tests.html:10 console-message console-debug-level
+info console-tests.html:11 console-message console-log-level
+warn console-tests.html:12 console-message console-warning-level
+error console-tests.html:13 console-message console-error-level
+5repeated console-tests.html:15 console-message console-log-level repeated-message
+count: 1 console-tests.html:17 console-message console-debug-level
+count: 2 console-tests.html:17 console-message console-debug-level
+group console-tests.html:18 console-message console-log-level console-group-title
+ console-message console-log-level
+1 2 3 console-tests.html:20 console-message console-log-level
+groupCollapsed console-tests.html:21 console-message console-log-level console-group-title
+Object console-tests.html:22 console-message console-log-level
+42 console-tests.html:23 console-message console-log-level
+true console-tests.html:24 console-message console-log-level
+null console-tests.html:25 console-message console-log-level
+undefined console-tests.html:26 console-message console-log-level
+#document console-tests.html:27 console-message console-log-level
+function () { } console-tests.html:28 console-message console-log-level
+function f() { } console-tests.html:29 console-message console-log-level
+Array[3] console-tests.html:30 console-message console-log-level
+/regexp.*/ console-tests.html:31 console-message console-log-level
+ console-message console-log-level
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoletestshtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoletestshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-tests.html (from rev 164517, trunk/LayoutTests/inspector/console/console-tests.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-tests.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-tests.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    console.log('log');
+    console.debug('debug');
+    console.info('info');
+    console.warn('warn');
+    console.error('error');
+    for (var i = 0; i &lt; 5; ++i)
+        console.log('repeated');
+    for (var i = 0; i &lt; 2; ++i)
+        console.count('count');
+    console.group('group');
+    console.groupEnd();
+    console.log('1', '2', '3');
+    console.groupCollapsed('groupCollapsed');
+    console.log({ property: &quot;value&quot; });
+    console.log(42);
+    console.log(true);
+    console.log(null);
+    console.log(undefined);
+    console.log(document);
+    console.log(function() { });
+    console.log(function f() { });
+    console.log([1, 2, 3]);
+    console.log(/regexp.*/);
+    console.groupEnd();
+
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.dumpConsoleMessagesWithClasses();
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests that console logging dumps proper messages.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoletraceexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoletraceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-trace-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-trace-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-trace-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-trace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests that console.trace dumps stack trace with source URLs and line numbers.
+
+console.trace() console-trace.html:9b console-trace.html:9a console-trace.html:14
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoletraceinevalexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoletraceinevalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-trace-in-eval-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-trace-in-eval-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-trace-in-eval-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-trace-in-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests that when console.trace is called in eval'ed script ending with //@ sourceURL=url it will dump a stack trace that will have the url as the script source. Bug 47252.
+
+console.trace()baevalSource
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoletraceinevalhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoletraceinevalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-trace-in-eval.html (from rev 164517, trunk/LayoutTests/inspector/console/console-trace-in-eval.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-trace-in-eval.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-trace-in-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+
+function evalSource()
+{
+    function b()
+    {
+        console.trace();
+    }
+
+    function a()
+    {
+        b();
+    }
+
+    a();
+}
+
+function doEvalSource()
+{
+    setTimeout(function() {
+        eval(&quot;(&quot; + evalSource + &quot;)()//@ sourceURL=evalURL.js&quot;);
+    }, 0);
+}
+
+function test()
+{
+    function callback()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+    InspectorTest.evaluateInPage(&quot;doEvalSource()&quot;);
+    InspectorTest.addConsoleSniffer(callback);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that when console.trace is called in eval'ed script ending
+with //@ sourceURL=url it will dump a stack trace that will have
+the url as the script source. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=47252&quot;&gt;Bug 47252.&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoletracehtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoletracehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-trace.html (from rev 164517, trunk/LayoutTests/inspector/console/console-trace.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-trace.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-trace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function b()
+{
+    console.trace();
+}
+
+function a()
+{
+    b();
+}
+
+function test()
+{
+    function callback()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+    InspectorTest.evaluateInPage(&quot;setTimeout(a, 0)&quot;);
+    InspectorTest.addConsoleSniffer(callback);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that console.trace dumps stack trace with source URLs and line numbers.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleuncaughtexceptionexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptionexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-uncaught-exception-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+CONSOLE MESSAGE: line 18: Error: Exception in inline script.
+CONSOLE MESSAGE: line 11: Error: Exception in 'load' event listener.
+CONSOLE MESSAGE: line 6: Error: Exception in setTimeout callback.
+Tests that uncaught exceptions are logged into console.Bug 47250.
+
+
+Error: Exception in inline script. resources/uncaught-in-iframe.html:18a resources/uncaught-in-iframe.html:18b resources/uncaught-in-iframe.html:23
+Error: Exception in 'load' event listener. resources/uncaught-in-iframe.html:11f resources/uncaught-in-iframe.html:11(anonymous function) resources/uncaught-in-iframe.html:13
+Error: Exception in setTimeout callback. uncaught-in-iframe.html:6bar uncaught-in-iframe.html:6(anonymous function) uncaught-in-iframe.html:8
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleuncaughtexceptioninevalexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptioninevalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-in-eval-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-in-eval-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-in-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 4: Error: Exception in eval.
+CONSOLE MESSAGE: line 4: Error: Exception in eval.
+Tests that when uncaught exception in eval'ed script ending with //@ sourceURL=url is logged into console, its stack trace will have the url as the script source. Bug 47252.
+
+Page reloaded.
+Error: Exception in eval. undefined:4b undefined:4aevalSource
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleuncaughtexceptioninevalhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptioninevalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-in-eval.html (from rev 164517, trunk/LayoutTests/inspector/console/console-uncaught-exception-in-eval.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-in-eval.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception-in-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.reloadPage(function() {
+        InspectorTest.expandConsoleMessages();
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    });
+}
+
+function evalSource()
+{
+    function b()
+    {
+        throw new Error(&quot;Exception in eval.&quot;);
+    }
+
+    function a()
+    {
+        b();
+    }
+
+    a();
+}
+
+eval(&quot;(&quot; + evalSource + &quot;)()//@ sourceURL=evalURL.js&quot;);
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that when uncaught exception in eval'ed script ending
+with //@ sourceURL=url is logged into console, its stack trace
+will have the url as the script source. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=47252&quot;&gt;Bug 47252.&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleuncaughtexceptionhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleuncaughtexceptionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception.html (from rev 164517, trunk/LayoutTests/inspector/console/console-uncaught-exception.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-uncaught-exception.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(addMessage, true);
+    InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
+    function addMessage(message)
+    {
+        if (message.toString().indexOf(&quot;setTimeout&quot;) !== -1) {
+            InspectorTest.expandConsoleMessages();
+            InspectorTest.dumpConsoleMessages();
+            InspectorTest.completeTest();
+        }
+    }
+}
+
+function loadIframe()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.src = &quot;resources/uncaught-in-iframe.html&quot;;
+    document.body.appendChild(iframe);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that uncaught exceptions are logged into console.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=47250&quot;&gt;Bug 47250.&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleurllinecolumnexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsoleurllinecolumnexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-url-line-column-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-url-line-column-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-url-line-column-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-url-line-column-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+CONSOLE MESSAGE: line 9: one
+CONSOLE MESSAGE: line 10: two
+CONSOLE MESSAGE: line 11: three
+CONSOLE MESSAGE: line 14: error
+CONSOLE MESSAGE: line 14: log
+CONSOLE MESSAGE: line 15: info
+CONSOLE MESSAGE: line 15: warn
+CONSOLE MESSAGE: line 16: assert
+Tests that url, line, and column properties are defined for console functions.
+
+Message at location: console-url-line-column.html:9:16
+Message at location: console-url-line-column.html:10:16
+Message at location: console-url-line-column.html:11:16
+Message at location: console-url-line-column.html:14:18
+Message at location: console-url-line-column.html:14:40
+Message at location: console-url-line-column.html:15:17
+Message at location: console-url-line-column.html:15:39
+Message at location: console-url-line-column.html:16:19
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsoleurllinecolumnhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsoleurllinecolumnhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-url-line-column.html (from rev 164517, trunk/LayoutTests/inspector/console/console-url-line-column.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-url-line-column.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-url-line-column.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function log() {
+    // Fill console.
+    console.log(&quot;one&quot;);
+    console.log(&quot;two&quot;);
+    console.log(&quot;three&quot;);
+
+    // Different types and different columns.
+    console.error(&quot;error&quot;); console.log(&quot;log&quot;);
+    console.info(&quot;info&quot;); console.warn(&quot;warn&quot;);
+    console.assert(false, &quot;assert&quot;);
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector.ConsoleDispatcher.prototype, &quot;messageAdded&quot;, messageAdded, true);
+
+    function messageAdded(payload)
+    {
+        var url = payload.url;
+        var lastSlashIndex = url.lastIndexOf(&quot;/&quot;);
+        url = url.substring(lastSlashIndex + 1);
+        InspectorTest.addResult(&quot;Message at location: &quot; + url + &quot;:&quot; + payload.line + &quot;:&quot; + payload.column);
+        if (payload.line === 16)
+            InspectorTest.completeTest();
+    }
+
+    InspectorTest.evaluateInPage(&quot;log()&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that url, line, and column properties are defined for console functions.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolexmldocumentexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolexmldocumentexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-xml-document-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-xml-document-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-xml-document-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-xml-document-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+CONSOLE MESSAGE: line 9: [object Document]
+Tests that XML document contents are logged using the correct case in the console.
+
+#document&lt;MixedCase&gt; Test &lt;/MixedCase&gt; console-xml-document.html:9
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolexmldocumenthtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolexmldocumenthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-xml-document.html (from rev 164517, trunk/LayoutTests/inspector/console/console-xml-document.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-xml-document.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-xml-document.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    console.dirxml((new DOMParser()).parseFromString(&quot;&lt;MixedCase&gt; Test &lt;/MixedCase&gt;&quot;, &quot;text/xml&quot;));
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.expandConsoleMessages();
+    InspectorTest.runAfterPendingDispatches(callback);
+
+    function callback()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests that XML document contents are logged using the correct case in the console.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolexpathexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleconsolexpathexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-xpath-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/console-xpath-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-xpath-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-xpath-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+CONSOLE MESSAGE: line 1: complete
+Tests $x for iterator and non-iterator types.
+
+$x('42')
+$x('name(/html)')
+$x('not(42)')
+$x('/html/body/p').length
+42
+&quot;html&quot;
+false
+1
+complete
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleconsolexpathhtmlfromrev164517trunkLayoutTestsinspectorconsoleconsolexpathhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/console-xpath.html (from rev 164517, trunk/LayoutTests/inspector/console/console-xpath.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/console-xpath.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/console-xpath.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(addMessageSniffer, true);
+
+    InspectorTest.evaluateInConsole(&quot;$x('42')&quot;); // number
+    InspectorTest.evaluateInConsole(&quot;$x('name(/html)')&quot;); // string
+    InspectorTest.evaluateInConsole(&quot;$x('not(42)')&quot;); // boolean
+    InspectorTest.evaluateInConsole(&quot;$x('/html/body/p').length&quot;); // node iterator
+    InspectorTest.evaluateInPage(&quot;console.log('complete')&quot;); // node iterator
+
+    function addMessageSniffer(message)
+    {
+        if (message.toString().indexOf(&quot;complete&quot;) !== -1) {
+            InspectorTest.dumpConsoleMessages();
+            InspectorTest.completeTest();
+        }
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests $x for iterator and non-iterator types.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleinspecthtmlallcollectionexpectedtxtfromrev164517trunkLayoutTestsinspectorconsoleinspecthtmlallcollectionexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/inspect-html-all-collection-expected.txt (from rev 164517, trunk/LayoutTests/inspector/console/inspect-html-all-collection-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/inspect-html-all-collection-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/inspect-html-all-collection-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests that HTMLAllCollection properties can be inspected.
+
+PASSED: retrieved length of document.all
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleinspecthtmlallcollectionhtmlfromrev164517trunkLayoutTestsinspectorconsoleinspecthtmlallcollectionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/inspect-html-all-collection.html (from rev 164517, trunk/LayoutTests/inspector/console/inspect-html-all-collection.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/inspect-html-all-collection.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/inspect-html-all-collection.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    RuntimeAgent.evaluate(&quot;document.all&quot;, &quot;console&quot;, false, didGetHTMLAllCollection.bind(this));
+    function didGetHTMLAllCollection(error, result, wasThrown)
+    {
+        if (error || wasThrown) {
+            InspectorTest.addResult(&quot;FAILED: &quot; + error);
+            InspectorTest.completeTest();
+            return;
+        }
+        var htmlAllCollection = WebInspector.RemoteObject.fromPayload(result);
+        htmlAllCollection.callFunctionJSON(&quot;function(collection) { return this.length + collection.length; }&quot;, [{objectId: htmlAllCollection.objectId}], didGetLength.bind(this));
+    }
+
+    function didGetLength(len)
+    {
+        if (!len || typeof len !== &quot;number&quot;)
+            InspectorTest.addResult(&quot;FAILED: unexpected document.all.length: &quot; + len);
+        else
+            InspectorTest.addResult(&quot;PASSED: retrieved length of document.all&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that HTMLAllCollection properties can be inspected.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleresourceslogsourcejsfromrev164517trunkLayoutTestsinspectorconsoleresourceslogsourcejs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/resources/log-source.js (from rev 164517, trunk/LayoutTests/inspector/console/resources/log-source.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/resources/log-source.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/resources/log-source.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+function log2()
+{
+    console.log.apply(console, arguments);
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleresourcessyntaxerrorjsfromrev164517trunkLayoutTestsinspectorconsoleresourcessyntaxerrorjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/resources/syntax-error.js (from rev 164517, trunk/LayoutTests/inspector/console/resources/syntax-error.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/resources/syntax-error.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/resources/syntax-error.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+)
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteconsoleresourcesuncaughtiniframehtmlfromrev164517trunkLayoutTestsinspectorconsoleresourcesuncaughtiniframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/console/resources/uncaught-in-iframe.html (from rev 164517, trunk/LayoutTests/inspector/console/resources/uncaught-in-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/console/resources/uncaught-in-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/console/resources/uncaught-in-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+&lt;script&gt;
+window.addEventListener(&quot;load&quot;, function(e) {
+    function f() {
+        setTimeout(function() {
+            function bar() {
+                throw new Error(&quot;Exception in setTimeout callback.&quot;);
+            }
+            bar();
+        }, 0);
+
+        throw new Error(&quot;Exception in 'load' event listener.&quot;)
+    }
+    f();
+}, false);
+
+function a()
+{
+    throw new Error(&quot;Exception in inline script.&quot;)
+}
+
+function b()
+{
+    a();
+}
+
+b();
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerbreakpointmanagerexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerbreakpointmanagerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/breakpoint-manager-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/breakpoint-manager-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/breakpoint-manager-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/breakpoint-manager-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,286 @@
</span><ins>+Tests BreakpointManager class.
+
+
+Running: testSetBreakpoint
+  Created breakpoints manager
+  Dumping Storage
+  Adding UISourceCode: a.js
+  Setting breakpoint at a.js:30 enabled:true condition:
+    debuggerModel.setBreakpoint(a.js:30:)
+    breakpointAdded(a.js, 30, , true)
+    Location created: a.js:30
+  Dumping Storage
+    a.js:30 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 30)
+    Location disposed: a.js:30
+    debuggerModel.removeBreakpoint(a.js:30)
+
+Running: testSetDisabledBreakpoint
+  Created breakpoints manager
+  Dumping Storage
+  Adding UISourceCode: a.js
+  Setting breakpoint at a.js:30 enabled:false condition:
+    breakpointAdded(a.js, 30, , false)
+  Dumping Storage
+    a.js:30 enabled:false condition:
+  Enabling breakpoint
+    debuggerModel.setBreakpoint(a.js:30:)
+    breakpointRemoved(a.js, 30)
+    breakpointAdded(a.js, 30, , true)
+    Location created: a.js:30
+  Dumping Storage
+    a.js:30 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 30)
+    Location disposed: a.js:30
+    debuggerModel.removeBreakpoint(a.js:30)
+
+Running: testSetConditionalBreakpoint
+  Created breakpoints manager
+  Dumping Storage
+  Adding UISourceCode: a.js
+  Setting breakpoint at a.js:30 enabled:true condition:condition
+    debuggerModel.setBreakpoint(a.js:30:condition)
+    breakpointAdded(a.js, 30, condition, true)
+    Location created: a.js:30
+  Dumping Storage
+    a.js:30 enabled:true condition:condition
+  Updating condition
+    debuggerModel.removeBreakpoint(a.js:30)
+    debuggerModel.setBreakpoint(a.js:30:)
+    breakpointRemoved(a.js, 30)
+    Location disposed: a.js:30
+    breakpointAdded(a.js, 30, , true)
+    Location created: a.js:30
+  Dumping Storage
+    a.js:30 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 30)
+    Location disposed: a.js:30
+    debuggerModel.removeBreakpoint(a.js:30)
+
+Running: testRestoreBreakpoints
+  Created breakpoints manager
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:false condition:
+    b.js:3 enabled:true condition:
+  Adding UISourceCode: a.js
+    debuggerModel.setBreakpoint(a.js:10:foo == bar)
+    breakpointAdded(a.js, 20, , false)
+    breakpointAdded(a.js, 10, foo == bar, true)
+    Location created: a.js:10
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:false condition:
+    b.js:3 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 10)
+    Location disposed: a.js:10
+    debuggerModel.removeBreakpoint(a.js:10)
+    breakpointRemoved(a.js, 20)
+
+Running: testRestoreBreakpointsTwice
+  Created breakpoints manager
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:false condition:
+    b.js:3 enabled:true condition:
+  Adding UISourceCode: a.js
+    debuggerModel.setBreakpoint(a.js:10:foo == bar)
+    breakpointAdded(a.js, 20, , false)
+  Adding UISourceCode: a.js
+    breakpointAdded(a.js, 10, foo == bar, true)
+    Location created: a.js:10
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:false condition:
+    b.js:3 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 10)
+    Location disposed: a.js:10
+    debuggerModel.removeBreakpoint(a.js:10)
+    breakpointRemoved(a.js, 20)
+
+Running: testRemoveBreakpoints
+  Created breakpoints manager
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:false condition:
+    b.js:3 enabled:true condition:
+  Adding UISourceCode: a.js
+    debuggerModel.setBreakpoint(a.js:10:foo == bar)
+    breakpointAdded(a.js, 20, , false)
+    breakpointAdded(a.js, 10, foo == bar, true)
+    Location created: a.js:10
+  Setting breakpoint at a.js:30 enabled:true condition:
+    debuggerModel.setBreakpoint(a.js:30:)
+    breakpointAdded(a.js, 30, , true)
+    Location created: a.js:30
+  Removing breakpoint at a.js:30
+    breakpointRemoved(a.js, 30)
+    Location disposed: a.js:30
+    debuggerModel.removeBreakpoint(a.js:30)
+  Removing breakpoint at a.js:10
+    breakpointRemoved(a.js, 10)
+    Location disposed: a.js:10
+    debuggerModel.removeBreakpoint(a.js:10)
+  Removing breakpoint at a.js:20
+    breakpointRemoved(a.js, 20)
+  Dumping Storage
+    b.js:3 enabled:true condition:
+  Resetting breakpoint manager
+
+Running: testSetBreakpointThatShifts
+  Created breakpoints manager
+  Dumping Storage
+  Adding UISourceCode: a.js
+  Setting breakpoint at a.js:1015 enabled:true condition:
+    debuggerModel.setBreakpoint(a.js:1015:)
+    breakpointAdded(a.js, 1025, , true)
+    Location created: a.js:1025
+  Dumping Storage
+    a.js:1015 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 1025)
+    Location disposed: a.js:1025
+    debuggerModel.removeBreakpoint(a.js:1015)
+
+Running: testSetBreakpointThatShiftsTwice
+  Created breakpoints manager
+  Dumping Storage
+  Adding UISourceCode: a.js
+  Setting breakpoint at a.js:1015 enabled:true condition:
+    debuggerModel.setBreakpoint(a.js:1015:)
+    breakpointAdded(a.js, 1025, , true)
+    Location created: a.js:1025
+  Setting breakpoint at a.js:1015 enabled:true condition:
+  Dumping Storage
+    a.js:1015 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 1025)
+    Location disposed: a.js:1025
+    debuggerModel.removeBreakpoint(a.js:1015)
+
+Running: testSetBreakpointOutsideScript
+  Created breakpoints manager
+  Dumping Storage
+  Adding UISourceCode: a.js
+    debuggerModel.setBreakpoint(a.js:2500:)
+    breakpointAdded(a.js, 2500, , true)
+  Dumping Storage
+    a.js:2500 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 2500)
+    debuggerModel.removeBreakpoint(a.js:2500)
+
+Running: testNavigation
+  Created breakpoints manager
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:false condition:
+    b.js:3 enabled:true condition:
+  Adding UISourceCode: a.js
+    debuggerModel.setBreakpoint(a.js:10:foo == bar)
+    breakpointAdded(a.js, 20, , false)
+    breakpointAdded(a.js, 10, foo == bar, true)
+    Location created: a.js:10
+
+  Navigating to B.
+  Resetting debugger.
+  Resetting workspace.
+    breakpointRemoved(a.js, 10)
+    Location disposed: a.js:10
+    breakpointRemoved(a.js, 20)
+  Adding UISourceCode: b.js
+    debuggerModel.setBreakpoint(b.js:3:)
+    breakpointAdded(b.js, 3, , true)
+    Location created: b.js:3
+
+  Navigating back to A.
+  Resetting debugger.
+  Resetting workspace.
+    breakpointRemoved(b.js, 3)
+    Location disposed: b.js:3
+  Resolving provisional breakpoint.
+  Adding temporary UISourceCode: a.js
+    breakpointAdded(a.js, 11, foo == bar, true)
+    Location created: a.js:11
+  Adding UISourceCode: a.js
+    breakpointRemoved(a.js, 11)
+    Location disposed: a.js:11
+    debuggerModel.removeBreakpoint(a.js:10)
+    debuggerModel.setBreakpoint(a.js:10:foo == bar)
+    breakpointAdded(a.js, 20, , false)
+    breakpointAdded(a.js, 10, foo == bar, true)
+    Location created: a.js:10
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:false condition:
+    b.js:3 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 10)
+    Location disposed: a.js:10
+    debuggerModel.removeBreakpoint(a.js:10)
+    breakpointRemoved(a.js, 20)
+    debuggerModel.removeBreakpoint(b.js:3)
+
+Running: testSourceMapping
+  Created breakpoints manager
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:true condition:
+  Adding UISourceCode: a.js
+    debuggerModel.setBreakpoint(a.js:10:foo == bar)
+    debuggerModel.setBreakpoint(a.js:20:)
+    breakpointAdded(a.js, 10, foo == bar, true)
+    Location created: a.js:10
+    breakpointAdded(a.js, 20, , true)
+    Location created: a.js:20
+
+  Toggling source mapping.
+    breakpointRemoved(a.js, 10)
+    breakpointAdded(a.js, 20, foo == bar, true)
+    breakpointRemoved(a.js, 20)
+    breakpointAdded(a.js, 30, , true)
+
+  Toggling source mapping back.
+    breakpointRemoved(a.js, 20)
+    breakpointAdded(a.js, 10, foo == bar, true)
+    breakpointRemoved(a.js, 30)
+    breakpointAdded(a.js, 20, , true)
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+    a.js:20 enabled:true condition:
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 10)
+    Location disposed: a.js:10
+    debuggerModel.removeBreakpoint(a.js:10)
+    breakpointRemoved(a.js, 20)
+    Location disposed: a.js:20
+    debuggerModel.removeBreakpoint(a.js:20)
+
+Running: testProvisionalBreakpointsResolve
+  Created breakpoints manager
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+  Adding UISourceCode: a.js
+    debuggerModel.setBreakpoint(a.js:10:foo == bar)
+    breakpointAdded(a.js, 10, foo == bar, true)
+    Location created: a.js:10
+  Resetting debugger.
+  Resetting workspace.
+    breakpointRemoved(a.js, 10)
+    Location disposed: a.js:10
+  Resolving provisional breakpoint.
+  Adding temporary UISourceCode: a.js
+    breakpointAdded(a.js, 11, foo == bar, true)
+    Location created: a.js:11
+  Dumping Storage
+    a.js:10 enabled:true condition:foo == bar
+  Resetting breakpoint manager
+    breakpointRemoved(a.js, 11)
+    Location disposed: a.js:11
+    debuggerModel.removeBreakpoint(a.js:10)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerbreakpointmanagerhtmlfromrev164517trunkLayoutTestsinspectordebuggerbreakpointmanagerhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/breakpoint-manager.html (from rev 164517, trunk/LayoutTests/inspector/debugger/breakpoint-manager.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/breakpoint-manager.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/breakpoint-manager.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,527 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    var uiSourceCodes = {};
+
+    var defaultMapping = {
+        rawLocationToUILocation: function(rawLocation)
+        {
+            return new WebInspector.UILocation(uiSourceCodes[rawLocation.scriptId], rawLocation.lineNumber, 0);
+        },
+
+        uiLocationToRawLocation: function(uiSourceCode, lineNumber)
+        {
+            if (!uiSourceCodes[uiSourceCode.url])
+                return null;
+            return new WebInspector.DebuggerModel.Location(uiSourceCode.url, lineNumber, 0);
+        },
+
+        isIdentity: function()
+        {
+            return true;
+        }
+    };
+
+    var shiftingMapping = {
+        rawLocationToUILocation: function(rawLocation)
+        {
+            if (this._disabled)
+                return null;
+            return new WebInspector.UILocation(uiSourceCodes[rawLocation.scriptId], rawLocation.lineNumber + 10, 0);
+        },
+
+        uiLocationToRawLocation: function(uiSourceCode, lineNumber)
+        {
+            return new WebInspector.DebuggerModel.Location(uiSourceCode.url, lineNumber - 10, 0);
+        },
+
+        isIdentity: function()
+        {
+            return false;
+        }
+    };
+
+    function DebuggerModelMock(sourceMapping)
+    {
+        this._scripts = {};
+        this._sourceMapping = sourceMapping;
+        this._breakpoints = {};
+    }
+
+    DebuggerModelMock.prototype = {
+        _addScript: function(scriptId, url)
+        {
+            this._scripts[scriptId] = new WebInspector.Script(scriptId, url);
+            this._scripts[scriptId].pushSourceMapping(this._sourceMapping);
+        },
+
+        _scriptForURL: function(url)
+        {
+            for (var scriptId in this._scripts) {
+                var script = this._scripts[scriptId];
+                if (script.sourceURL === url)
+                    return script;
+            }
+       },
+
+        _scheduleSetBeakpointCallback: function(callback, breakpointId, locations)
+        {
+            setTimeout(innerCallback.bind(this), 0);
+
+            function innerCallback()
+            {
+                if (callback)
+                    callback(breakpointId, locations);
+                if (window.setBreakpointCallback) {
+                    var savedCallback = window.setBreakpointCallback;
+                    delete window.setBreakpointCallback;
+                    savedCallback();
+                }
+            }
+        },
+
+        setBreakpointByURL: function(url, lineNumber, columnNumber, condition, callback)
+        {
+            var breakpointId = url + &quot;:&quot; + lineNumber;
+            if (this._breakpoints[breakpointId]) {
+                this._scheduleSetBeakpointCallback(callback, null);
+                return;
+            }
+
+            this._breakpoints[breakpointId] = true;
+            InspectorTest.addResult(&quot;    debuggerModel.setBreakpoint(&quot; + [url, lineNumber, condition].join(&quot;:&quot;) + &quot;)&quot;);
+
+            var locations = [];
+            var script = this._scriptForURL(url);
+            if (script) {
+                var location = new WebInspector.DebuggerModel.Location(script.scriptId, lineNumber, 0);
+                locations.push(location);
+            }
+
+            this._scheduleSetBeakpointCallback(callback, breakpointId, locations);
+        },
+
+        setBreakpointByScriptLocation: function(location, condition, callback)
+        {
+            var breakpointId = location.scriptId + &quot;:&quot; + location.lineNumber;
+            if (this._breakpoints[breakpointId]) {
+                this._scheduleSetBeakpointCallback(callback, null);
+                return;
+            }
+
+            this._breakpoints[breakpointId] = true;
+            InspectorTest.addResult(&quot;    debuggerModel.setBreakpoint(&quot; + [location.scriptId, location.lineNumber, condition].join(&quot;:&quot;) + &quot;)&quot;);
+
+            if (location.lineNumber &gt;= 2000) {
+                this._scheduleSetBeakpointCallback(callback, breakpointId, []);
+                return;
+            }
+            if (location.lineNumber &gt;= 1000) {
+                var shiftedLocation = {scriptId: location.scriptId, lineNumber: location.lineNumber + 10, columnNumber: location.columnNumber };
+                this._scheduleSetBeakpointCallback(callback, breakpointId, [shiftedLocation]);
+                return;
+            }
+
+            this._scheduleSetBeakpointCallback(callback, breakpointId, [location]);
+        },
+
+        removeBreakpoint: function(breakpointId, callback)
+        {
+            InspectorTest.addResult(&quot;    debuggerModel.removeBreakpoint(&quot; + breakpointId + &quot;)&quot;);
+            delete this._breakpoints[breakpointId];
+            if (callback)
+                callback();
+        },
+
+        setBreakpointsActive: function() { },
+
+        createLiveLocation: function(rawLocation, updateDelegate)
+        {
+             return this._scripts[rawLocation.scriptId].createLiveLocation(rawLocation, updateDelegate);
+        },
+
+        scriptForId: function(scriptId)
+        {
+            return this._scripts[scriptId];
+        },
+
+        reset: function()
+        {
+            InspectorTest.addResult(&quot;  Resetting debugger.&quot;);
+            this._scripts = {};
+        },
+
+        pushSourceMapping: function(sourceMapping)
+        {
+            for (var scriptId in this._scripts)
+                this._scripts[scriptId].pushSourceMapping(sourceMapping);
+        },
+
+        disableSourceMapping: function(sourceMapping)
+        {
+            sourceMapping._disabled = true;
+            for (var scriptId in this._scripts)
+                this._scripts[scriptId].updateLocations();
+        }
+    }
+    DebuggerModelMock.prototype.__proto__ = WebInspector.Object.prototype;
+
+    var dummySetting = {
+        get: function() { return []; },
+        set: function(breakpoints) { }
+    };
+
+    function resetWorkspace(breakpointManager)
+    {
+        InspectorTest.addResult(&quot;  Resetting workspace.&quot;);
+        breakpointManager._networkWorkspaceProvider.reset();
+        breakpointManager._debuggerWorkspaceProvider.reset();
+    }
+
+    function breakpointAdded(event)
+    {
+        var breakpoint = event.data.breakpoint;
+        var uiLocation = event.data.uiLocation;
+        InspectorTest.addResult(&quot;    breakpointAdded(&quot; + [uiLocation.uiSourceCode.originURL(), uiLocation.lineNumber, breakpoint.condition(), breakpoint.enabled()].join(&quot;, &quot;) + &quot;)&quot;);
+    }
+
+    function breakpointRemoved(event)
+    {
+        var uiLocation = event.data.uiLocation;
+        InspectorTest.addResult(&quot;    breakpointRemoved(&quot; + [uiLocation.uiSourceCode.originURL(), uiLocation.lineNumber].join(&quot;, &quot;) + &quot;)&quot;);
+    }
+
+    InspectorTest.addSniffer(WebInspector.Script.prototype, &quot;createLiveLocation&quot;, function(rawLocation)
+    {
+        InspectorTest.addResult(&quot;    Location created: &quot; + rawLocation.scriptId + &quot;:&quot; + rawLocation.lineNumber);
+    }, true);
+    InspectorTest.addSniffer(WebInspector.Script.Location.prototype, &quot;dispose&quot;, function()
+    {
+        InspectorTest.addResult(&quot;    Location disposed: &quot; + this._rawLocation.scriptId + &quot;:&quot; + this._rawLocation.lineNumber);
+    }, true);
+
+    function addUISourceCode(breakpointManager, url)
+    {
+        breakpointManager._debuggerModel._addScript(url, url);
+        InspectorTest.addResult(&quot;  Adding UISourceCode: &quot; + url);
+        var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, &quot;&quot;, &quot;text/javascript&quot;);
+        var uiSourceCode = breakpointManager._networkWorkspaceProvider.addFileForURL(url, contentProvider, true);
+        uiSourceCodes[url] = uiSourceCode;
+        uiSourceCode.setSourceMapping(defaultMapping);
+        return uiSourceCode;
+    }
+
+    function addTemporaryUISourceCode(breakpointManager, url)
+    {
+
+        breakpointManager._debuggerModel._addScript(url, url);
+        InspectorTest.addResult(&quot;  Adding temporary UISourceCode: &quot; + url);
+        var contentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, &quot;&quot;, &quot;text/javascript&quot;);
+        var uiSourceCode = breakpointManager._debuggerWorkspaceProvider.addUniqueFileForURL(url, contentProvider, true);
+        uiSourceCode.setSourceMapping(defaultMapping);
+        uiSourceCodes[url] = uiSourceCode;
+        return uiSourceCode;
+    }
+
+    function createBreakpoint(uiSourceCodeId, lineNumber, condition, enabled)
+    {
+        return { sourceFileId: uiSourceCodeId, lineNumber: lineNumber, condition: condition, enabled: enabled };
+    }
+
+    var serializedBreakpoints = [];
+    serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 10, &quot;foo == bar&quot;, true));
+    serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 20, &quot;&quot;, false));
+    serializedBreakpoints.push(createBreakpoint(&quot;b.js&quot;, 3, &quot;&quot;, true));
+
+    function createBreakpointManager(persistentBreakpoints, sourceMapping)
+    {
+        persistentBreakpoints = persistentBreakpoints || [];
+        var setting = {
+            get: function() { return persistentBreakpoints; },
+            set: function(breakpoints) { persistentBreakpoints = breakpoints; }
+        };
+
+        var sourceMapping = sourceMapping || defaultMapping;
+        var debuggerModel = new DebuggerModelMock(sourceMapping);
+        var workspace = new WebInspector.Workspace();
+        var breakpointManager = new WebInspector.BreakpointManager(setting, debuggerModel, workspace);
+        breakpointManager._networkWorkspaceProvider = new WebInspector.SimpleWorkspaceProvider(workspace, WebInspector.projectTypes.Network);
+        breakpointManager._debuggerWorkspaceProvider = new WebInspector.SimpleWorkspaceProvider(workspace, WebInspector.projectTypes.Debugger);
+        breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointAdded, breakpointAdded);
+        breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointRemoved, breakpointRemoved);
+        InspectorTest.addResult(&quot;  Created breakpoints manager&quot;);
+        dumpBreakpointStorage(breakpointManager);
+        return breakpointManager;
+    }
+
+    function setBreakpoint(breakpointManager, uiSourceCode, lineNumber, condition, enabled)
+    {
+        InspectorTest.addResult(&quot;  Setting breakpoint at &quot; + uiSourceCode.originURL() + &quot;:&quot; + lineNumber + &quot; enabled:&quot; + enabled + &quot; condition:&quot; + condition);
+        return breakpointManager.setBreakpoint(uiSourceCode, lineNumber, condition, enabled);
+    }
+
+    function removeBreakpoint(breakpointManager, uiSourceCode, lineNumber)
+    {
+        InspectorTest.addResult(&quot;  Removing breakpoint at &quot; + uiSourceCode.originURL() + &quot;:&quot; + lineNumber);
+        breakpointManager.findBreakpoint(uiSourceCode, lineNumber).remove();
+    }
+
+    function dumpBreakpointStorage(breakpointManager)
+    {
+        var breakpoints = breakpointManager._storage._setting.get();
+        InspectorTest.addResult(&quot;  Dumping Storage&quot;);
+        for (var i = 0; i &lt; breakpoints.length; ++i)
+            InspectorTest.addResult(&quot;    &quot; + breakpoints[i].sourceFileId + &quot;:&quot; + breakpoints[i].lineNumber  + &quot; enabled:&quot; + breakpoints[i].enabled + &quot; condition:&quot; + breakpoints[i].condition);
+    }
+
+    function resetBreakpointManager(breakpointManager, next)
+    {
+        dumpBreakpointStorage(breakpointManager);
+        InspectorTest.addResult(&quot;  Resetting breakpoint manager&quot;);
+        breakpointManager.reset();
+        uiSourceCodes = {};
+        next();
+    }
+
+    InspectorTest.runTestSuite([
+        function testSetBreakpoint(next)
+        {
+            var breakpointManager = createBreakpointManager();
+            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            setBreakpoint(breakpointManager, uiSourceCode, 30, &quot;&quot;, true);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testSetDisabledBreakpoint(next)
+        {
+            var breakpointManager = createBreakpointManager();
+            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            var breakpoint = setBreakpoint(breakpointManager, uiSourceCode, 30, &quot;&quot;, false);
+            dumpBreakpointStorage(breakpointManager);
+            InspectorTest.addResult(&quot;  Enabling breakpoint&quot;);
+            breakpoint.setEnabled(true);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testSetConditionalBreakpoint(next)
+        {
+            var breakpointManager = createBreakpointManager();
+            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            var breakpoint = setBreakpoint(breakpointManager, uiSourceCode, 30, &quot;condition&quot;, true);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                dumpBreakpointStorage(breakpointManager);
+                InspectorTest.addResult(&quot;  Updating condition&quot;);
+                breakpoint.setCondition(&quot;&quot;);
+                window.setBreakpointCallback = step3.bind(this);
+            }
+
+            function step3()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testRestoreBreakpoints(next)
+        {
+            var breakpointManager = createBreakpointManager(serializedBreakpoints);
+            addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testRestoreBreakpointsTwice(next)
+        {
+            var breakpointManager = createBreakpointManager(serializedBreakpoints);
+            addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testRemoveBreakpoints(next)
+        {
+            var breakpointManager = createBreakpointManager(serializedBreakpoints);
+            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                setBreakpoint(breakpointManager, uiSourceCode, 30, &quot;&quot;, true);
+                window.setBreakpointCallback = step3.bind(this);
+            }
+
+            function step3()
+            {
+                removeBreakpoint(breakpointManager, uiSourceCode, 30);
+                removeBreakpoint(breakpointManager, uiSourceCode, 10);
+                removeBreakpoint(breakpointManager, uiSourceCode, 20);
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testSetBreakpointThatShifts(next)
+        {
+            var breakpointManager = createBreakpointManager();
+            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            setBreakpoint(breakpointManager, uiSourceCode, 1015, &quot;&quot;, true);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testSetBreakpointThatShiftsTwice(next)
+        {
+            var breakpointManager = createBreakpointManager();
+            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            setBreakpoint(breakpointManager, uiSourceCode, 1015, &quot;&quot;, true);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                setBreakpoint(breakpointManager, uiSourceCode, 1015, &quot;&quot;, true);
+                window.setBreakpointCallback = step3.bind(this);
+            }
+
+            function step3()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testSetBreakpointOutsideScript(next)
+        {
+            var breakpointManager = createBreakpointManager([]);
+            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            breakpointManager.setBreakpoint(uiSourceCode, 2500, &quot;&quot;, true);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+       },
+
+        function testNavigation(next)
+        {
+            var breakpointManager = createBreakpointManager(serializedBreakpoints);
+            var uiSourceCodeA = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                InspectorTest.addResult(&quot;\n  Navigating to B.&quot;);
+                breakpointManager._debuggerModel.reset();
+                resetWorkspace(breakpointManager);
+                var uiSourceCodeB = addUISourceCode(breakpointManager, &quot;b.js&quot;);
+                window.setBreakpointCallback = step3.bind(this);
+            }
+
+            function step3()
+            {
+                InspectorTest.addResult(&quot;\n  Navigating back to A.&quot;);
+                breakpointManager._debuggerModel.reset();
+                resetWorkspace(breakpointManager);
+                InspectorTest.addResult(&quot;  Resolving provisional breakpoint.&quot;);
+                addTemporaryUISourceCode(breakpointManager, &quot;a.js&quot;)            
+                var eventData = { breakpointId: &quot;a.js:10&quot;, location: { scriptId: &quot;a.js&quot;, lineNumber: 11, columnNumber: 5 }};
+                breakpointManager._debuggerModel.dispatchEventToListeners(WebInspector.DebuggerModel.Events.BreakpointResolved, eventData);
+                addUISourceCode(breakpointManager, &quot;a.js&quot;);
+                window.setBreakpointCallback = step4.bind(this);
+            }
+
+            function step4()
+            {
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testSourceMapping(next)
+        {
+            // Source mapping will shift everthing 10 lines ahead so that breakpoint 1 clashed with breakpoint 2.
+            var serializedBreakpoints = [];
+            serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 10, &quot;foo == bar&quot;, true));
+            serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 20, &quot;&quot;, true));
+
+            var breakpointManager = createBreakpointManager(serializedBreakpoints);
+            var uiSourceCodeA = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                window.setBreakpointCallback = step3.bind(this);
+            }
+
+            function step3()
+            {
+                InspectorTest.addResult(&quot;\n  Toggling source mapping.&quot;);
+                breakpointManager._debuggerModel.pushSourceMapping(shiftingMapping);
+                InspectorTest.addResult(&quot;\n  Toggling source mapping back.&quot;);
+                breakpointManager._debuggerModel.disableSourceMapping(shiftingMapping);
+                resetBreakpointManager(breakpointManager, next);
+            }
+        },
+
+        function testProvisionalBreakpointsResolve(next)
+        {
+            var serializedBreakpoints = [];
+            serializedBreakpoints.push(createBreakpoint(&quot;a.js&quot;, 10, &quot;foo == bar&quot;, true));
+
+            var breakpointManager = createBreakpointManager(serializedBreakpoints);
+            var uiSourceCode = addUISourceCode(breakpointManager, &quot;a.js&quot;);
+            window.setBreakpointCallback = step2.bind(this);
+
+            function step2()
+            {
+                breakpointManager._debuggerModel.reset();
+                resetWorkspace(breakpointManager);
+                InspectorTest.addResult(&quot;  Resolving provisional breakpoint.&quot;);
+                addTemporaryUISourceCode(breakpointManager, &quot;a.js&quot;)            
+                var eventData = { breakpointId: &quot;a.js:10&quot;, location: { scriptId: &quot;a.js&quot;, lineNumber: 11, columnNumber: 5 }};
+                breakpointManager._debuggerModel.dispatchEventToListeners(WebInspector.DebuggerModel.Events.BreakpointResolved, eventData);
+                var breakpoints = breakpointManager._breakpoints.keys();
+                InspectorTest.assertEquals(breakpoints.length, 1, &quot;Exactly one breakpoint should be registered in breakpoint manager.&quot;);
+                InspectorTest.assertTrue(!breakpoints[0]._primaryUILocation, &quot;_primaryUILocation field should be cleared for provisional breapoint.&quot;);
+                resetBreakpointManager(breakpointManager, next);
+            }
+        }
+    ]);
+};
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests BreakpointManager class.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggercopystacktraceexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggercopystacktraceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/copy-stack-trace-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/copy-stack-trace-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/copy-stack-trace-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/copy-stack-trace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+Tests that debugger will copy valid stack trace upon context menu action.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+functionBaz (copy-stack-trace.html:19)
+functionBar (copy-stack-trace.html:14)
+testFunction (copy-stack-trace.html:9)
+
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggercopystacktracehtmlfromrev164517trunkLayoutTestsinspectordebuggercopystacktracehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/copy-stack-trace.html (from rev 164517, trunk/LayoutTests/inspector/debugger/copy-stack-trace.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/copy-stack-trace.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/copy-stack-trace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function testFunction()
+{
+    functionBar();
+}
+
+function functionBar()
+{
+    functionBaz();
+}
+
+function functionBaz()
+{
+    debugger;
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        InspectorFrontendHost.copyText = InspectorTest.addResult.bind(InspectorTest);
+        WebInspector.panels.scripts.sidebarPanes.callstack._copyStackTrace();
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that debugger will copy valid stack trace upon context menu action.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggeractivationcrashexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggeractivationcrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-activation-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests for a crash caused by inaccurate Activation records. &lt;rdar://problem/8525907&gt; Crash in debugger beneath MarkStack::drain @ me.com, ibm.com
+
+Debugger was enabled.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggeractivationcrashhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggeractivationcrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-activation-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+var closures = [];
+function makeClosure() {
+    var v1, v2, v3, v4, v5, v6, v7, v8, v9, v10; // Make a lot of potentially captured variables.
+    return function (){ return v1; }; // But only capture one in optimizing compiles.
+}
+
+for (var i = 0; i &lt; 100; ++i) {
+    closures.push(makeClosure());
+}
+
+function tryCrash() {
+    makeClosure(); // Force recompilation.
+    
+    // At this point, we should have 100 activations that captured 1 variable
+    // but think they captured 10. If so, GC should make them crash.
+    if (window.GCController)
+        GCController.collect();
+    else {
+        for (var i = 0; i &lt; 10000; ++i)
+            new Object;
+    }
+}
+
+function test() {
+    InspectorTest.startDebuggerTest(function () {
+        InspectorTest.evaluateInPage(&quot;tryCrash()&quot;);
+        InspectorTest.completeDebuggerTest();
+    });
+}
+
+window.onload = runTest;
+&lt;/script&gt;
+
+&lt;p&gt;
+Tests for a crash caused by inaccurate Activation records.
+&amp;lt;rdar://problem/8525907&amp;gt; Crash in debugger beneath MarkStack::drain @ me.com, ibm.com
+&lt;/p&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggeractivationcrash2expectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggeractivationcrash2expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash2-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-activation-crash2-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash2-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash2-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+Tests for a crash when paused at a breakpoint caused by inaccurate Activation records. Bug 57120
+
+Debugger was enabled.
+Script source was shown.
+Set timer for test function.
+Script execution paused.
+Call stack:
+    0)  (debugger-activation-crash2.html)
+    1) testFunction (debugger-activation-crash2.html)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggeractivationcrash2htmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggeractivationcrash2html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash2.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-activation-crash2.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash2.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-activation-crash2.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+var closures = [];
+function makeClosure() {
+    var v1, v2, v3, v4, v5, v6, v7, v8, v9, v10; // Make a lot of potentially captured variables.
+    return function () { 
+        var x = v1; // But only capture one in optimizing compiles.
+        return x;
+    };
+}
+
+for (var i = 0; i &lt; 100; ++i) {
+    closures.push(makeClosure());
+}
+
+closures[0](); // Force compilation.
+function testFunction() {
+    closures[0](); // Force recompilation.
+    
+    // At this point, closures[0] captured 1 variable but thinks it captured 10.
+    // If so, stopping at a breakpoint should make it crash.
+}
+
+function test() {
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.showScriptSource(&quot;debugger-activation-crash2.html&quot;, step2);
+    }
+
+    function step2(sourceFrame)
+    {
+        InspectorTest.addResult(&quot;Script source was shown.&quot;);
+        InspectorTest.setBreakpoint(sourceFrame, 8, &quot;&quot;, true);
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
+    }
+
+    function step3(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames, true);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+window.onload = runTest;
+&lt;/script&gt;
+
+&lt;p&gt;
+Tests for a crash when paused at a breakpoint caused by inaccurate Activation records.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=57120&quot;&gt;Bug 57120&lt;/a&gt;
+&lt;/p&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerautocontinueonsyntaxerrorexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerautocontinueonsyntaxerrorexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-autocontinue-on-syntax-error-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-autocontinue-on-syntax-error-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-autocontinue-on-syntax-error-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 4: SyntaxError: Unexpected token ')'
+CONSOLE MESSAGE: line 8: Iframe loaded
+Tests that debugger won't stop on syntax errors even if &quot;pause on uncaught exceptions&quot; is on.
+
+Debugger was enabled.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerautocontinueonsyntaxerrorhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerautocontinueonsyntaxerrorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-autocontinue-on-syntax-error.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-autocontinue-on-syntax-error.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-autocontinue-on-syntax-error.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-autocontinue-on-syntax-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function loadIframe()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.src = &quot;resources/syntax-error.html&quot;;
+    document.body.appendChild(iframe);
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;scripts&quot;);
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
+    }
+
+    function step2()
+    {
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that debugger won't stop on syntax errors even if &quot;pause on uncaught exceptions&quot; is on.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerbreakpointsnotactivatedonreloadexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerbreakpointsnotactivatedonreloadexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-breakpoints-not-activated-on-reload-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests that breakpoints are not activated on page reload.Bug 41461
+
+Debugger was enabled.
+Main resource was shown.
+Page reloaded.
+Main resource was shown.
+Breakpoints are deactivated.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerbreakpointsnotactivatedonreloadhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerbreakpointsnotactivatedonreloadhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-breakpoints-not-activated-on-reload.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-breakpoints-not-activated-on-reload.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-breakpoints-not-activated-on-reload.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-breakpoints-not-activated-on-reload.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function testFunction()
+{
+    return 0;
+}
+
+var test = function()
+{
+    var testName = WebInspector.inspectedPageURL;
+    testName = testName.substring(testName.lastIndexOf('/') + 1);
+
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.showScriptSource(testName, step2);
+    }
+
+    function step2(sourceFrame)
+    {
+        InspectorTest.addResult(&quot;Main resource was shown.&quot;);
+        InspectorTest.setBreakpoint(sourceFrame, 8, &quot;&quot;, true);
+        WebInspector.panels.scripts._toggleBreakpointsButton.element.click();
+        InspectorTest.reloadPage(step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;Main resource was shown.&quot;);
+        if (!WebInspector.debuggerModel.breakpointsActive())
+            InspectorTest.addResult(&quot;Breakpoints are deactivated.&quot;);
+        else
+            InspectorTest.addResult(&quot;Error: breakpoints are activated.&quot;);
+        InspectorTest.completeDebuggerTest();
+    }
+};
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that breakpoints are not activated on page reload.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41461&quot;&gt;Bug 41461&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggercompileandrunexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggercompileandrunexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-compile-and-run-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-compile-and-run-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-compile-and-run-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-compile-and-run-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+Tests separate compilation and run.
+
+Bug 89646.
+Debugger was enabled.
+
+Running: testSuccessfulCompileAndRun
+Compiling script
+Running script
+Script result: 3
+
+Running: testRunError
+Compiling script
+Running script
+Script run error: Uncaught ReferenceError: c is not defined
+
+Running: testCompileError
+Compiling script
+Script compile error: Uncaught SyntaxError: Unexpected token }
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggercompileandrunhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggercompileandrunhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-compile-and-run.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-compile-and-run.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-compile-and-run.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-compile-and-run.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,81 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var test = function()
+{
+    InspectorTest.runDebuggerTestSuite([
+        function testSuccessfulCompileAndRun(next)
+        {
+            var expression = &quot;var a = 1; var b = 2; a + b; &quot;;
+            InspectorTest.addResult(&quot;Compiling script&quot;);
+            DebuggerAgent.compileScript(expression, &quot;test.js&quot;, compileCallback.bind(this));
+
+            function compileCallback(error, scriptId, syntaxErrorMessage)
+            {
+                InspectorTest.assertTrue(!error);
+                InspectorTest.assertTrue(!syntaxErrorMessage);
+                InspectorTest.assertTrue(!!scriptId);
+                var contextId = undefined;
+                InspectorTest.addResult(&quot;Running script&quot;);
+                DebuggerAgent.runScript(scriptId, contextId, &quot;console&quot;, false, runCallback.bind(this));
+            }
+
+            function runCallback(error, result, wasThrown)
+            {
+                InspectorTest.assertTrue(!error);
+                InspectorTest.assertTrue(!wasThrown);
+                InspectorTest.addResult(&quot;Script result: &quot; + result.value);
+                next();
+            }
+        },
+
+        function testRunError(next)
+        {
+            var expression = &quot;var a = 1; a + c; &quot;;
+            InspectorTest.addResult(&quot;Compiling script&quot;);
+            DebuggerAgent.compileScript(expression, &quot;test.js&quot;, compileCallback.bind(this));
+
+            function compileCallback(error, scriptId, syntaxErrorMessage)
+            {
+                InspectorTest.assertTrue(!error);
+                InspectorTest.assertTrue(!syntaxErrorMessage);
+                InspectorTest.assertTrue(!!scriptId);
+                var contextId = undefined;
+                InspectorTest.addResult(&quot;Running script&quot;);
+                DebuggerAgent.runScript(scriptId, contextId, &quot;console&quot;, false, runCallback.bind(this));
+            }
+
+            function runCallback(error, result, wasThrown)
+            {
+                InspectorTest.assertTrue(!error);
+                InspectorTest.assertTrue(wasThrown);
+                InspectorTest.addResult(&quot;Script run error: &quot; + result.description);
+                next();
+            }
+        },
+
+        function testCompileError(next)
+        {
+            var expression = &quot;}&quot;;
+            InspectorTest.addResult(&quot;Compiling script&quot;);
+            DebuggerAgent.compileScript(expression, &quot;test.js&quot;, compileCallback.bind(this));
+
+            function compileCallback(error, scriptId, syntaxErrorMessage)
+            {
+                InspectorTest.assertTrue(!error);
+                InspectorTest.assertTrue(!scriptId);
+                InspectorTest.addResult(&quot;Script compile error: &quot; + syntaxErrorMessage);
+                next();
+            }
+        }
+    ]);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests separate compilation and run.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=89646&quot;&gt;Bug 89646.&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggercompletionsoncallframeexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggercompletionsoncallframeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-completions-on-call-frame-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-completions-on-call-frame-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-completions-on-call-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+Test that completions in the context of the call frame will result in names of its scope variables.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+var1
+var2
+dir
+dirxml
+window
+this
+toExponential
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggercompletionsoncallframehtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggercompletionsoncallframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-completions-on-call-frame.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-completions-on-call-frame.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-completions-on-call-frame.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-completions-on-call-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,87 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var a = 1;
+function testFunction()
+{
+    var var1 = 2;
+    var var2 = 3;
+    debugger;
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;var&quot;, false, checkAgainstGolden.bind(this, [ &quot;var1&quot;, &quot;var2&quot; ], [], step3));
+    }
+
+    function step3()
+    {
+        WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;di&quot;, false, checkAgainstGolden.bind(this, [ &quot;dir&quot;, &quot;dirxml&quot; ], [], step4));
+    }
+
+    function step4()
+    {
+        WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;win&quot;, false, checkAgainstGolden.bind(this, [ &quot;window&quot; ], [], step5));
+    }
+
+    function step5()
+    {
+        WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;t&quot;, false, checkAgainstGolden.bind(this, [ &quot;this&quot; ], [], step6));
+    }
+
+    function step6()
+    {
+        WebInspector.runtimeModel._completionsForExpression(&quot;var1&quot;, &quot;toExp&quot;, false, checkAgainstGolden.bind(this, [ &quot;toExponential&quot; ], [], step7));
+    }
+
+    function step7()
+    {
+        WebInspector.runtimeModel._completionsForExpression(&quot;123&quot;, &quot;toExp&quot;, false, checkAgainstGolden.bind(this, [], [ &quot;toExponential&quot; ], step8));
+    }
+
+    function step8()
+    {
+        InspectorTest.completeDebuggerTest();
+    }
+
+    function checkAgainstGolden(golden, antiGolden, continuation, completions)
+    {
+        for (var i = 0; i &lt; golden.length; ++i) {
+            if (completions.indexOf(golden[i]) !== -1)
+                InspectorTest.addResult(golden[i]);
+            else
+                InspectorTest.addResult(&quot;NOT FOUND: &quot; + golden[i]);
+        }
+
+        for (var i = 0; i &lt; antiGolden.length; ++i) {
+            if (completions.indexOf(antiGolden[i]) !== -1)
+                InspectorTest.addResult(&quot;FOUND: &quot; + antiGolden[i]);
+        }
+
+        continuation();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that completions in the context of the call frame will result in names
+of its scope variables.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggercyclicrefexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggercyclicrefexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-cyclic-ref-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-cyclic-ref-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-cyclic-ref-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+Tests that debugging a page where Object prototype has a cyclic reference won't crash the browser.Bug 43558
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggercyclicrefhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggercyclicrefhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-cyclic-ref.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-cyclic-ref.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-cyclic-ref.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-cyclic-ref.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+Object.prototype.cyclicRef = Object.prototype;
+
+function testFunction()
+{
+    var o = new Object();
+    debugger;
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that debugging a page where Object prototype has a cyclic reference won't
+crash the browser.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=43558&quot;&gt;Bug 43558&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerevaloncallframeexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerevaloncallframeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-on-call-frame-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-on-call-frame-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-on-call-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Test that evaluation in the context of top frame will see values of its local variables, even if there are global variables with same names. On success the test will print a = 2(value of the local variable a). Bug 47358.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Evaluated in console in the top frame context: a = 2
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerevaloncallframehtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerevaloncallframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-on-call-frame.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-eval-on-call-frame.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-on-call-frame.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-on-call-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var a = 1;
+function testFunction()
+{
+    var a = 2;
+    debugger;
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.evaluateInConsole(&quot;a&quot;, step3);
+    }
+
+    function step3(result)
+    {
+        InspectorTest.addResult(&quot;Evaluated in console in the top frame context: a = &quot; + result);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that evaluation in the context of top frame will see values
+of its local variables, even if there are global variables with
+same names. On success the test will print a = 2(value of the
+local variable a). &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=47358&quot;&gt;Bug 47358.&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerevalwhilepausedexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerevalwhilepausedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-while-paused-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-while-paused-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-while-paused-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Tests that evaluation in console works fine when script is paused. It also checks that stack and global variables are accessible from the console.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Evaluated script on the top frame: 4021
+Evaluated script on the calling frame: 301
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerevalwhilepausedhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerevalwhilepausedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-while-paused.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-eval-while-paused.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-while-paused.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-eval-while-paused.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var globalVar = { b: 1 };
+
+function slave(x)
+{
+    var y = 20;
+    debugger;
+}
+
+function testFunction()
+{
+    var localObject = { a: 300 };
+    slave(4000);
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2(callFrames)
+    {
+        InspectorTest.evaluateInConsole(&quot;x + y + globalVar.b&quot;, step3.bind(null, callFrames));
+    }
+
+    function step3(callFrames, result)
+    {
+        InspectorTest.addResult(&quot;Evaluated script on the top frame: &quot; + result);
+        var pane = WebInspector.panels.scripts.sidebarPanes.callstack;
+        pane._placardSelected(pane.placards[1]);
+        InspectorTest.runAfterPendingDispatches(step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.evaluateInConsole(&quot;localObject.a + globalVar.b&quot;, step5);
+    }
+
+    function step5(result)
+    {
+        InspectorTest.addResult(&quot;Evaluated script on the calling frame: &quot; + result);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that evaluation in console works fine when script is paused. It also checks that
+stack and global variables are accessible from the console.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggernonestedpauseexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggernonestedpauseexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-no-nested-pause-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-no-nested-pause-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-no-nested-pause-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Tests that debugger will skip breakpoint hit when script execution is already paused. See bug
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Set timer for test function.
+testFunction.invocationCount = 2
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggernonestedpausehtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggernonestedpausehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-no-nested-pause.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-no-nested-pause.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-no-nested-pause.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-no-nested-pause.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,46 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function testFunction()
+{
+    testFunction.invocationCount++;
+    debugger;
+}
+
+testFunction.invocationCount = 0;
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.evaluateInConsole(&quot;testFunction(); testFunction.invocationCount&quot;, step3);
+        InspectorTest.addResult(&quot;Set timer for test function.&quot;);
+    }
+
+    function step3(result)
+    {
+        InspectorTest.addResult(&quot;testFunction.invocationCount = &quot; + result);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that debugger will skip breakpoint hit when script execution is already paused. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41768&quot;&gt;See bug&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseinevalscriptexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseinevalscriptexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-eval-script-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-eval-script-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-eval-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Tests that debugger will stop on &quot;debugger&quot; statement in a function that was added to the inspected page via evaluation in Web Inspector console.Bug 41058
+
+Debugger was enabled.
+Evaluated script in console.
+Script execution paused.
+Call stack:
+    0) testFunction (:2)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseinevalscripthtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseinevalscripthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-eval-script.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-in-eval-script.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-eval-script.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-eval-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+
+var test = function()
+{
+    var scriptToEvaluate = &quot;function testFunction() {\n&quot; +
+                           &quot;    debugger;\n&quot; +
+                           &quot;}\n&quot; +
+                           &quot;setTimeout(testFunction, 0);\n&quot;;
+
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInConsole(scriptToEvaluate, InspectorTest.addResult.bind(InspectorTest, &quot;Evaluated script in console.&quot;));
+        InspectorTest.waitUntilPaused(step2);
+    }
+
+    function step2(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that debugger will stop on &quot;debugger&quot; statement in a function that was added
+to the inspected page via evaluation in Web Inspector console.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41058&quot;&gt;Bug 41058&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseininternalexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseininternalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-internal-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-internal-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-internal-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: line 2: SyntaxError: Unexpected token ')'
+Tests that pause on exception in internal script does not crash.
+
+Debugger was enabled.
+Script source was shown.
+Script execution paused.
+Call stack:
+    0) throwException (debugger-pause-in-internal.html:9)
+    1) handleClick (debugger-pause-in-internal.html:14)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseininternalhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseininternalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-internal.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-in-internal.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-internal.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-in-internal.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function throwException()
+{
+    new Function(&quot;return ()&quot;);
+}
+
+function handleClick()
+{
+    throwException();
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
+        InspectorTest.showScriptSource(&quot;debugger-pause-in-internal.html&quot;, step2);
+    }
+
+    function step2()  
+    {
+        InspectorTest.addResult(&quot;Script source was shown.&quot;);
+        InspectorTest.evaluateInPage(&quot;setTimeout(handleClick, 0)&quot;);
+        InspectorTest.waitUntilPaused(step3);
+    }
+
+    function step3(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that pause on exception in internal script does not crash.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedeventhandlerexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedeventhandlerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-event-handler-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-event-handler-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-event-handler-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: line 13: Refused to execute inline event handler because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
+
+Tests that pause on exception works for inline event handlers blocked by CSP.
+
+Button
+Debugger was enabled.
+Script execution paused.
+Call stack:
+    0) testAction (pause-on-blocked-event-handler.js:4)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedeventhandlerhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedeventhandlerhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-event-handler.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-event-handler.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-event-handler.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-event-handler.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'self';&quot;&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/pause-on-blocked-event-handler.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/pause-on-blocked-by-csp.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;
+Tests that pause on exception works for inline event handlers blocked by CSP.
+&lt;/p&gt;
+&lt;button id=&quot;test&quot; onclick=&quot;alert('FAIL!');&quot;&gt;Button&lt;/button&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedscriptinjectionexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscriptinjectionexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-injection-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-injection-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-injection-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+CONSOLE MESSAGE: Refused to execute inline script because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
+
+Tests that pause on exception works for inline scripts blocked by CSP.
+
+Debugger was enabled.
+Script execution paused.
+Call stack:
+    0) testAction (pause-on-blocked-script-injection.js:5)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedscriptinjectionhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscriptinjectionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-injection.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-injection.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-injection.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-injection.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'self';&quot;&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/pause-on-blocked-by-csp.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/pause-on-blocked-script-injection.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;
+Tests that pause on exception works for inline scripts blocked by CSP.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedscripturlexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscripturlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-url-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-url-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+CONSOLE MESSAGE: line 1: Refused to execute JavaScript URL because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
+
+Tests that pause on exception works for inline script URLs blocked by CSP.
+
+Debugger was enabled.
+Script execution paused.
+Call stack:
+    0) testAction (pause-on-blocked-script-url.js:6)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonblockedscripturlhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonblockedscripturlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-url.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-blocked-script-url.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-url.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-blocked-script-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'self';&quot;&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/pause-on-blocked-by-csp.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/pause-on-blocked-script-url.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;
+Tests that pause on exception works for inline script URLs blocked by CSP.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseondebuggerstatementexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseondebuggerstatementexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-debugger-statement-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-debugger-statement-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-debugger-statement-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+Tests that debugger will stop on &quot;debugger&quot; statement.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseondebuggerstatementhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseondebuggerstatementhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-debugger-statement.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-debugger-statement.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-debugger-statement.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-debugger-statement.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function testFunction()
+{
+    debugger;
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that debugger will stop on &quot;debugger&quot; statement.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonexceptionexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonexceptionexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-exception-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-exception-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-exception-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: line 9: ReferenceError: Can't find variable: unknown_var
+Tests that pause on exception works.
+
+Debugger was enabled.
+Script source was shown.
+Script execution paused.
+Call stack:
+    0) throwAnException (debugger-pause-on-exception.html:9)
+    1) handleClick (debugger-pause-on-exception.html:14)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonexceptionhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonexceptionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-exception.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-exception.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-exception.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-exception.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function throwAnException()
+{
+    return unknown_var;
+}
+
+function handleClick()
+{
+    throwAnException();
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
+        InspectorTest.showScriptSource(&quot;debugger-pause-on-exception.html&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;Script source was shown.&quot;);
+        InspectorTest.evaluateInPage(&quot;setTimeout(handleClick, 0)&quot;);
+        InspectorTest.waitUntilPaused(step3);
+    }
+
+    function step3(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that pause on exception works.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonfailedassertionexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonfailedassertionexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-failed-assertion-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-failed-assertion-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-failed-assertion-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Tests that debugger breaks on failed assertion when pause on exception mode is enabled.
+
+Debugger was enabled.
+Script source was shown.
+Script execution paused.
+Call stack:
+    0) failAssertion (debugger-pause-on-failed-assertion.html:9)
+    1) handleClick (debugger-pause-on-failed-assertion.html:14)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerpauseonfailedassertionhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerpauseonfailedassertionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-failed-assertion.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-pause-on-failed-assertion.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-failed-assertion.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-pause-on-failed-assertion.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function failAssertion()
+{
+    console.assert(false);
+}
+
+function handleClick()
+{
+    failAssertion();
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
+        InspectorTest.showScriptSource(&quot;debugger-pause-on-failed-assertion.html&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;Script source was shown.&quot;);
+        InspectorTest.evaluateInPage(&quot;setTimeout(handleClick, 0)&quot;);
+        InspectorTest.waitUntilPaused(step3);
+    }
+
+    function step3(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that debugger breaks on failed assertion when pause on exception mode is enabled.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerreloadonpauseexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerreloadonpauseexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-reload-on-pause-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-reload-on-pause-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-reload-on-pause-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests &quot;reload&quot; from within inspector window while on pause.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Script execution resumed.
+Page reloaded.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerreloadonpausehtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerreloadonpausehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-reload-on-pause.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-reload-on-pause.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-reload-on-pause.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-reload-on-pause.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function testFunction()
+{
+    debugger;
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.reloadPage(step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests &quot;reload&quot; from within inspector window while on pause.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerscriptsexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerscriptsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-scripts-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+Tests that valid parsed script notifications are received by front-end. Bug 52721
+
+Debugger was enabled.
+script 1:
+    start: 5:8
+    end: 38:0
+script 2:
+    start: 38:21
+    end: 42:0
+script 3:
+    start: 43:11
+    end: 43:32
+script 4:
+    start: 44:11
+    end: 45:0
+script 5:
+    start: 46:11
+    end: 48:0
+script 6:
+    start: 51:56
+    end: 52:2
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerscriptsreloadexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerscriptsreloadexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-reload-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-scripts-reload-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-reload-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-reload-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Tests that scripts list is cleared upon page reload.
+
+Debugger was enabled.
+Dummy script found: dummyScript.js
+Page reloaded.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerscriptsreloadhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerscriptsreloadhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-reload.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-scripts-reload.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-reload.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts-reload.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;function foo() {} //@ sourceURL=dummyScript.js&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.startDebuggerTest(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.queryScripts(function(script) { step3({ data: script }) });
+        WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.ParsedScriptSource, step3);
+    }
+
+    function step3(event)
+    {
+        var script = event.data;
+        if (script.sourceURL.indexOf(&quot;dummyScript.js&quot;) !== -1) {
+            InspectorTest.addResult(&quot;Dummy script found: &quot; + script.sourceURL);
+            // Let scripts dispatch and reload.
+            setTimeout(InspectorTest.reloadPage.bind(InspectorTest, afterReload), 0);
+        }
+    }
+
+    function afterReload()
+    {
+        var scripts = InspectorTest.queryScripts();
+        for (var i = 0; i &lt; scripts.length; ++i) {
+            if (scripts[i].sourceURL.indexOf(&quot;dummyScript.js&quot;) !== -1)
+                InspectorTest.addResult(&quot;FAILED: dummy script found after navigation&quot;);
+        }
+        InspectorTest.completeDebuggerTest();
+    }
+
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that scripts list is cleared upon page reload.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerscriptshtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerscriptshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-scripts.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-scripts.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+function test()
+{
+    var scripts = [];
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.queryScripts(function(script) { step2({ data: script }) });
+        WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.ParsedScriptSource, step2);
+    }
+
+    function step2(event)
+    {
+        var script = event.data;
+        if (script.sourceURL !== WebInspector.inspectedPageURL)
+            return;
+        scripts.push(script);
+        if (scripts.length === 6)
+            step3();
+    }
+
+    function step3()
+    {
+        scripts.sort(function(x, y) { return x.lineOffset - y.lineOffset });
+        for (var i = 0; i &lt; scripts.length; ++i) {
+            InspectorTest.addResult(&quot;script &quot; + (i + 1) + &quot;:&quot;);
+            InspectorTest.addResult(&quot;    start: &quot; + scripts[i].lineOffset + &quot;:&quot; + scripts[i].columnOffset);
+            InspectorTest.addResult(&quot;    end: &quot; + scripts[i].endLine + &quot;:&quot; + scripts[i].endColumn);
+        }
+        InspectorTest.completeDebuggerTest();
+    }
+}
+&lt;/script&gt;    &lt;script&gt;
+function f1()
+{
+}
+&lt;/script&gt;
+   &lt;script&gt; function f2() {}    &lt;/script&gt;
+   &lt;script&gt;function f3() {}
+&lt;/script&gt;
+   &lt;script&gt;
+   function f4() {}
+&lt;/script&gt;
+
+&lt;/head&gt;
+&lt;body onload=&quot;window.dummy = function() { }; runTest()&quot;&gt;
+&lt;p&gt;
+Tests that valid parsed script notifications are received by front-end.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=52721&quot;&gt;Bug 52721&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggersetbreakpointregexexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggersetbreakpointregexexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-set-breakpoint-regex-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-set-breakpoint-regex-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-set-breakpoint-regex-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+Tests Debugger.setBreakpointByUrl with isRegex set to true.
+
+Debugger was enabled.
+
+Running: testSetNoneOfURLAndRegex
+Either url or urlRegex must be specified.
+
+Running: testSetBothURLAndRegex
+Either url or urlRegex must be specified.
+
+Running: testSetByRegex
+Set timer for test function.
+Script execution paused.
+Call stack:
+    0) testFunction (debugger-set-breakpoint-regex.html:9)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggersetbreakpointregexhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggersetbreakpointregexhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-set-breakpoint-regex.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-set-breakpoint-regex.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-set-breakpoint-regex.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-set-breakpoint-regex.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,69 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function testFunction()
+{
+    foo();
+}
+
+function foo()
+{
+}
+
+function test()
+{
+    InspectorTest.runDebuggerTestSuite([
+        function testSetNoneOfURLAndRegex(next)
+        {
+            DebuggerAgent.setBreakpointByUrl.invoke({lineNumber: 1}, step2);
+
+            function step2(error)
+            {
+                InspectorTest.addResult(error);
+                next();
+            }
+        },
+
+        function testSetBothURLAndRegex(next)
+        {
+            var url = &quot;debugger-set-breakpoint.js&quot;;
+            var urlRegex = &quot;debugger-set-breakpoint.*&quot;;
+            DebuggerAgent.setBreakpointByUrl(1, url, urlRegex, step2);
+
+            function step2(error)
+            {
+                InspectorTest.addResult(error);
+                next();
+            }
+        },
+
+        function testSetByRegex(next)
+        {
+            DebuggerAgent.setBreakpointByUrl.invoke({urlRegex: &quot;debugger-set-breakpoint.*&quot;, lineNumber:8}, step2);
+
+            function step2(result)
+            {
+                InspectorTest.runTestFunctionAndWaitUntilPaused(step3);
+            }
+        
+            function step3(callFrames)
+            {
+                InspectorTest.captureStackTrace(callFrames);
+                next();
+            }
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests Debugger.setBreakpointByUrl with isRegex set to true.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepinexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerstepinexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-in-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-step-in-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-in-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-in-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+Tests &quot;step in&quot; functionality in debugger.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Call stack:
+    0) testFunction (debugger-step-in.html:14)
+Stepping into...
+Script execution resumed.
+Script execution paused.
+Call stack:
+    0) testFunction (debugger-step-in.html:15)
+Stepping into...
+Script execution resumed.
+Script execution paused.
+Call stack:
+    0) d (debugger-step-in.html:8)
+    1) testFunction (debugger-step-in.html:15)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepinhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerstepinhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-in.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-step-in.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-in.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-in.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function d()
+{
+    var i = 10;
+}
+
+function testFunction()
+{
+    debugger;
+    d();
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    var stepCount = 0;
+    function step2(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        if (stepCount &lt; 2) {
+            InspectorTest.addResult(&quot;Stepping into...&quot;);
+            document.getElementById(&quot;scripts-step-into&quot;).click();
+            InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, step2));
+        } else
+            InspectorTest.completeDebuggerTest();
+        stepCount++;
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests &quot;step in&quot; functionality in debugger.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepoutexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerstepoutexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-out-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-step-out-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-out-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-out-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+Tests &quot;step out&quot; functionality in debugger.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Call stack:
+    0) d (debugger-step-out.html:9)
+    1) testFunction (debugger-step-out.html:14)
+Stepping out...
+Script execution resumed.
+Script execution paused.
+Call stack:
+    0) testFunction (debugger-step-out.html:15)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepouthtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerstepouthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-out.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-step-out.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-out.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-out.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function d()
+{
+    debugger;
+}
+
+function testFunction()
+{
+    d();
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        InspectorTest.addResult(&quot;Stepping out...&quot;);
+        InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, step3));
+        document.getElementById(&quot;scripts-step-out&quot;).click();
+    }
+
+    function step3(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests &quot;step out&quot; functionality in debugger.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepoverexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggerstepoverexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-over-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-step-over-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-over-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-over-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+Tests &quot;step over&quot; functionality in debugger.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Call stack:
+    0) d (debugger-step-over.html:14)
+    1) testFunction (debugger-step-over.html:20)
+Stepping over...
+Script execution resumed.
+Script execution paused.
+Call stack:
+    0) d (debugger-step-over.html:15)
+    1) testFunction (debugger-step-over.html:20)
+Stepping over...
+Script execution resumed.
+Script execution paused.
+Call stack:
+    0) d (debugger-step-over.html:16)
+    1) testFunction (debugger-step-over.html:20)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggerstepoverhtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggerstepoverhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-over.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-step-over.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-over.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-step-over.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function f()
+{
+    var i = 10;
+}
+
+function d()
+{
+    debugger;
+    f();
+}
+
+function testFunction()
+{
+    d();
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    var stepCount = 0;
+    function step2(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        if (stepCount &lt; 2) {
+            InspectorTest.addResult(&quot;Stepping over...&quot;);
+            document.getElementById(&quot;scripts-step-over&quot;).click();
+            InspectorTest.waitUntilResumed(InspectorTest.waitUntilPaused.bind(InspectorTest, step2));
+        } else
+            InspectorTest.completeDebuggerTest();
+        stepCount++;
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests &quot;step over&quot; functionality in debugger.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggersuspendactivedomobjectsexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerdebuggersuspendactivedomobjectsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-suspend-active-dom-objects-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-suspend-active-dom-objects-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-suspend-active-dom-objects-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+ALERT: 1
+Tests that browser won't crash if user evaluates something in the console that would suspend active dom objects (e.g. if user attempts to show an alert) when script execution is paused on a breakpoint and all active dom objects are already suspended.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Shown alert while staying on a breakpoint.
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerdebuggersuspendactivedomobjectshtmlfromrev164517trunkLayoutTestsinspectordebuggerdebuggersuspendactivedomobjectshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/debugger-suspend-active-dom-objects.html (from rev 164517, trunk/LayoutTests/inspector/debugger/debugger-suspend-active-dom-objects.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/debugger-suspend-active-dom-objects.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/debugger-suspend-active-dom-objects.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function testFunction() {
+    setTimeout(&quot;void 0&quot;, 0); // Create a timer that will be suspended on a breakpoint.
+    debugger;
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;scripts&quot;);
+    InspectorTest.startDebuggerTest(startDebuggerTestCallback);
+
+    function startDebuggerTestCallback()
+    {
+        InspectorTest.evaluateInConsole(&quot;setTimeout(testFunction, 0)&quot;, function(result) {
+            InspectorTest.addResult(&quot;Set timer for test function.&quot;);
+        });
+
+        InspectorTest.waitUntilPaused(function(callFrames) {
+            InspectorTest.evaluateInConsole(&quot;alert(1)&quot;, function(result) {
+                InspectorTest.addResult(&quot;Shown alert while staying on a breakpoint.&quot;);
+                InspectorTest.completeDebuggerTest();
+            });
+        });
+    }
+
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that browser won't crash if user evaluates something in the console
+that would suspend active dom objects (e.g. if user attempts to show an alert)
+when script execution is paused on a breakpoint and all active dom objects
+are already suspended.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerevalonpauseblockedexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerevalonpauseblockedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/eval-on-pause-blocked-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/eval-on-pause-blocked-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/eval-on-pause-blocked-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Test that evaluation in the context of top frame will not be blocked by Content-Security-Policy. Bug 77203.
+
+Debugger was enabled.
+Set timer for test function.
+Script execution paused.
+Evaluated in console in the top frame context: foo = 2012
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerevalonpauseblockedhtmlfromrev164517trunkLayoutTestsinspectordebuggerevalonpauseblockedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/eval-on-pause-blocked.html (from rev 164517, trunk/LayoutTests/inspector/debugger/eval-on-pause-blocked.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/eval-on-pause-blocked.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/eval-on-pause-blocked.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,43 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'unsafe-inline'&quot;&gt;
+&lt;script&gt;
+function testFunction()
+{
+    var foo = 2012;
+    debugger;
+}
+
+var test = function()
+{
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.evaluateInConsole(&quot;foo&quot;, step3);
+    }
+
+    function step3(result)
+    {
+        InspectorTest.addResult(&quot;Evaluated in console in the top frame context: foo = &quot; + result);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that evaluation in the context of top frame will not be blocked by Content-Security-Policy.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=77203&quot;&gt;Bug 77203.&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerfunctiondetailsexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerfunctiondetailsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/function-details-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/function-details-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/function-details-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/function-details-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,71 @@
</span><ins>+Tests that Debugger.getFunctionDetails command returns correct location. Bug 71808
+
+Debugger was enabled.
+
+Running: testGetFirstLineFunctionDetails
+firstLineFunction type = function
+Function details: 
+lineNumber: 7
+columnNumber: undefined
+scriptId is valid: true
+name: firstLineFunction
+displayName: undefined
+inferredName: undefined
+scopeChain: n/a
+
+Running: testGetNonFirstLineFunctionDetails
+notFirstLineFunction type = function
+Function details: 
+lineNumber: 12
+columnNumber: undefined
+scriptId is valid: true
+name: notFirstLineFunction
+displayName: undefined
+inferredName: undefined
+scopeChain: n/a
+
+Running: testGetDetailsOfFunctionWithInferredName
+obj.m type = function
+Function details: 
+lineNumber: 16
+columnNumber: undefined
+scriptId is valid: true
+name: undefined
+displayName: undefined
+inferredName: undefined
+scopeChain: n/a
+
+Running: testGetDetailsOfFunctionWithDisplayName
+functionWithDisplayName type = function
+Function details: 
+lineNumber: 19
+columnNumber: undefined
+scriptId is valid: true
+name: functionWithDisplayName
+displayName: user-friendly name
+inferredName: undefined
+scopeChain: n/a
+
+Running: testSmallClosure
+smallClosure type = function
+Function details: 
+lineNumber: 22
+columnNumber: undefined
+scriptId is valid: true
+name: undefined
+displayName: undefined
+inferredName: undefined
+scopeChain: n/a
+
+Running: testBigClosure
+bigClosure type = function
+Function details: 
+lineNumber: 35
+columnNumber: undefined
+scriptId is valid: true
+name: undefined
+displayName: undefined
+inferredName: undefined
+scopeChain: n/a
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerfunctiondetailshtmlfromrev164517trunkLayoutTestsinspectordebuggerfunctiondetailshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/function-details.html (from rev 164517, trunk/LayoutTests/inspector/debugger/function-details.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/function-details.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/function-details.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,164 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;  function firstLineFunction()
+
+{
+}
+
+   function notFirstLineFunction()
+
+{
+}
+
+var obj = {
+    m: function() {}
+}
+
+function functionWithDisplayName() {}
+functionWithDisplayName.displayName = &quot;user-friendly name&quot;;
+
+var smallClosure = (function(p) { return function() { return p; }; })(&quot;Capybara&quot;);
+
+var bigClosure = (function(p) {
+    var o = {
+       e: 7,
+       f: 5,
+       get u() { return 3; },
+       set v(value) { }
+    };
+    with (o) {
+        try {
+            throw Error(&quot;Test&quot;);
+        } catch (ex) {
+            return function() {
+                return String(p) + String(ex) + u + e;
+            };
+        }
+    }
+})({});
+
+function test()
+{
+    function dumpFunctionDetails(details)
+    {
+        InspectorTest.addResult(&quot;Function details: &quot;);
+        InspectorTest.addResult(&quot;lineNumber: &quot; + details.location.lineNumber);
+        InspectorTest.addResult(&quot;columnNumber: &quot; + details.location.columnNumber);
+        InspectorTest.addResult(&quot;scriptId is valid: &quot; + !!details.location.scriptId);
+        InspectorTest.addResult(&quot;name: &quot; + details.name);
+        InspectorTest.addResult(&quot;displayName: &quot; + details.displayName);
+        InspectorTest.addResult(&quot;inferredName: &quot; + details.inferredName);
+    }
+
+    function dumpFunctionNoScopes()
+    {
+        InspectorTest.addResult(&quot;scopeChain: n/a&quot;);
+    }
+
+
+    function dumpFunctionScope(pos, type, propertyDescriptors)
+    {
+        var variables;
+        if (type == &quot;global&quot;) {
+            variables = &quot;&lt;global object properties omitted&gt;&quot;;
+        } else {
+            var varArray = [];
+            for (var i = 0; i &lt; propertyDescriptors.length; i++) {
+                var d = propertyDescriptors[i];
+                var valueStr;
+                if (d.value) {
+                    if (d.value.value)
+                        valueStr = JSON.stringify(d.value.value);
+                    else
+                        valueStr = &quot;&lt;no string representation&gt;&quot;;
+                } else {
+                    valueStr = &quot;&lt;no value&gt;&quot;;
+                }
+                varArray.push(d.name + &quot;: &quot; + valueStr);
+            }
+            varArray.sort();
+            variables = varArray.join();
+        }
+        InspectorTest.addResult(&quot;scopeChain #&quot; + pos + &quot;: &quot; + type + &quot;; &quot; + variables);
+    }
+
+    function loadAndDumpScopeObjects(scopeChain, end) {
+        function loadScopeObject(pos, next) {
+            if (pos &gt;= scopeChain.length) {
+                next();
+                return;
+            }
+            var scopeJson = scopeChain[pos];
+            RuntimeAgent.getProperties(scopeJson.object.objectId, true, didGetProperties);
+
+            function didGetProperties(error, propertyDescriptors) {
+                dumpFunctionScope(pos, scopeJson.type, propertyDescriptors);
+                loadScopeObject(pos + 1, next);
+            }
+        }
+
+        if (scopeChain) {
+            loadScopeObject(0, end);
+        } else {
+            dumpFunctionNoScopes();
+            end();
+        }
+    }
+
+    function performStandardTestCase(pageExpression, next) {
+        InspectorTest.evaluateInPage(pageExpression, didEvaluate);
+
+        function didEvaluate(remote)
+        {
+            InspectorTest.addResult(pageExpression + &quot; type = &quot; + remote.type);
+            DebuggerAgent.getFunctionDetails(remote.objectId, didGetDetails);
+        }
+        function didGetDetails(error, response)
+        {
+            dumpFunctionDetails(response);
+            loadAndDumpScopeObjects(response.scopeChain, next);
+        }
+    }
+
+    InspectorTest.runDebuggerTestSuite([
+        function testGetFirstLineFunctionDetails(next)
+        {
+            performStandardTestCase(&quot;firstLineFunction&quot;, next);
+        },
+        function testGetNonFirstLineFunctionDetails(next)
+        {
+            performStandardTestCase(&quot;notFirstLineFunction&quot;, next);
+        },
+        function testGetDetailsOfFunctionWithInferredName(next)
+        {
+            performStandardTestCase(&quot;obj.m&quot;, next);
+        },
+        function testGetDetailsOfFunctionWithDisplayName(next)
+        {
+            performStandardTestCase(&quot;functionWithDisplayName&quot;, next);
+        },
+        function testSmallClosure(next)
+        {
+            performStandardTestCase(&quot;smallClosure&quot;, next);
+        },
+        function testBigClosure(next)
+        {
+            performStandardTestCase(&quot;bigClosure&quot;, next);
+        }
+    ]);
+};
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that Debugger.getFunctionDetails command returns correct location.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=71808&quot;&gt;Bug 71808&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggeropencloseopenexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggeropencloseopenexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/open-close-open-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/open-close-open-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/open-close-open-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/open-close-open-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+Tests that scripts panel displays resource content correctly after the open - close - open sequence. Bug 56747
+
+Debugger was enabled.
+
+Running: testSourceFrameContent
+==Source frame contents start==
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;frontendReopeningCount&quot;, function(result) {
+        if (result._description === &quot;0&quot;)
+            InspectorTest.evaluateInPage(&quot;reopenFrontend()&quot;)
+        else {
+            InspectorTest.runDebuggerTestSuite([
+                function testSourceFrameContent(next)
+                {
+                    InspectorTest.showScriptSource(&quot;open-close-open.html&quot;, didShowScriptSource);
+
+                    function didShowScriptSource(sourceFrame)
+                    {
+                        InspectorTest.dumpSourceFrameContents(sourceFrame);
+                        next();
+                    }
+                }
+            ]);
+        }
+    });
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that scripts panel displays resource content correctly after the open - close - open sequence.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=56747&quot;&gt;Bug 56747&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
+==Source frame contents end==
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggeropencloseopenhtmlfromrev164517trunkLayoutTestsinspectordebuggeropencloseopenhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/open-close-open.html (from rev 164517, trunk/LayoutTests/inspector/debugger/open-close-open.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/open-close-open.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/open-close-open.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;frontendReopeningCount&quot;, function(result) {
+        if (result._description === &quot;0&quot;)
+            InspectorTest.evaluateInPage(&quot;reopenFrontend()&quot;)
+        else {
+            InspectorTest.runDebuggerTestSuite([
+                function testSourceFrameContent(next)
+                {
+                    InspectorTest.showScriptSource(&quot;open-close-open.html&quot;, didShowScriptSource);
+
+                    function didShowScriptSource(sourceFrame)
+                    {
+                        InspectorTest.dumpSourceFrameContents(sourceFrame);
+                        next();
+                    }
+                }
+            ]);
+        }
+    });
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that scripts panel displays resource content correctly after the open - close - open sequence.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=56747&quot;&gt;Bug 56747&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerpauseininlinescriptexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerpauseininlinescriptexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/pause-in-inline-script-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/pause-in-inline-script-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/pause-in-inline-script-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/pause-in-inline-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+Tests that main resource script text is correct when paused in inline script on reload. Bug 77548.
+
+Debugger was enabled.
+Did load front-end
+Paused: false
+didPauseAfterReload
+Source strings corresponding to the call stack:
+Script execution paused.
+Frame 0) line 6, content:          &lt;script&gt;function f1() { debugger; }&lt;/script&gt; (must be part of function 'f1')
+Frame 1) line 8, content: function f2() { return f1(); } (must be part of function 'f2')
+Frame 2) line 14, content:     return f2(); (must be part of function 'f3')
+Frame 3) line 16, content: f3(); (must be part of function '')
+Script execution resumed.
+didResume
+Page reloaded.
+didReload
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerpauseininlinescripthtmlfromrev164517trunkLayoutTestsinspectordebuggerpauseininlinescripthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/pause-in-inline-script.html (from rev 164517, trunk/LayoutTests/inspector/debugger/pause-in-inline-script.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/pause-in-inline-script.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/pause-in-inline-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,102 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;function foo() { };
+&lt;/script&gt;
+&lt;script&gt;
+function bar() { };
+&lt;/script&gt;&lt;script&gt;function f1() { debugger; }&lt;/script&gt;
+&lt;script&gt;
+function f2() { return f1(); }
+&lt;/script&gt;
+
+&lt;script&gt;
+function f3()
+{
+    return f2();
+}
+f3();
+&lt;/script&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+var test = function()
+{
+    var testName = WebInspector.inspectedPageURL;
+    testName = testName.substring(testName.lastIndexOf('/') + 1);
+
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Did load front-end&quot;);
+        InspectorTest.addResult(&quot;Paused: &quot; + !!WebInspector.debuggerModel.debuggerPausedDetails());
+        InspectorTest.reloadPage(didReload.bind(this));
+        WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.DebuggerPaused, didPauseAfterReload, this); 
+    }
+
+    function didReload()
+    {
+        InspectorTest.addResult(&quot;didReload&quot;);
+        InspectorTest.completeDebuggerTest();
+    }
+
+    function didPauseAfterReload(details)
+    {
+        InspectorTest.addResult(&quot;didPauseAfterReload&quot;);
+        InspectorTest.addResult(&quot;Source strings corresponding to the call stack:&quot;);
+        dumpNextCallFrame(didDump);
+    }
+
+    var callFrameIndex = 0;
+    function dumpNextCallFrame(next)
+    {
+        var callFrames = WebInspector.debuggerModel.callFrames;
+        if (callFrameIndex === callFrames.length) {
+            next();
+            return;
+        }
+        var frame = callFrames[callFrameIndex];
+        var uiLocation = WebInspector.debuggerModel.rawLocationToUILocation(frame.location);
+        InspectorTest.showUISourceCode(uiLocation.uiSourceCode, dumpCallFrameLine);
+
+        function dumpCallFrameLine(sourceFrame)
+        {
+            var resourceText = sourceFrame._textEditor.text();
+            var lines = resourceText.split(&quot;\n&quot;);
+            var lineNumber = uiLocation.lineNumber;
+            InspectorTest.addResult(&quot;Frame &quot; + callFrameIndex + &quot;) line &quot; + lineNumber + &quot;, content: &quot; + lines[lineNumber] + &quot; (must be part of function '&quot; + frame.functionName + &quot;')&quot;);
+            callFrameIndex++
+            dumpNextCallFrame(next);
+        }
+    }
+
+    function uiSourceCodeAdded(uiSourceCode)
+    {
+        InspectorTest.addResult(&quot;uiSourceCodeAdded&quot;);
+    }
+
+    function didDump()
+    {
+        InspectorTest.resumeExecution(didResume);
+    }
+
+    function didResume()
+    {
+        InspectorTest.addResult(&quot;didResume&quot;);
+    }
+};
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that main resource script text is correct when paused in inline script on reload.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=77548&quot;&gt;Bug 77548.&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerpauseininternalscriptexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerpauseininternalscriptexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/pause-in-internal-script-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/pause-in-internal-script-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/pause-in-internal-script-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/pause-in-internal-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+Tests that internal scripts unknown to front-end are processed correctly when appear in debugger call frames. Bug 64995
+
+Debugger was enabled.
+
+Running: testSetBreakpoint
+Script source was shown.
+Set timer for test function.
+Script execution paused.
+Call stack:
+    0)  (pause-in-internal-script.html:14)
+    1) forEach ((internal script))
+    2) testFunction (pause-in-internal-script.html:12)
+Script execution resumed.
+Script execution paused.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerpauseininternalscripthtmlfromrev164517trunkLayoutTestsinspectordebuggerpauseininternalscripthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/pause-in-internal-script.html (from rev 164517, trunk/LayoutTests/inspector/debugger/pause-in-internal-script.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/pause-in-internal-script.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/pause-in-internal-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function testFunction()
+{
+    var array = [2, 5, 7];
+    var sum = 0;
+    array.forEach(function(key)
+    {
+        sum += array[key];
+    });
+    return sum;
+}
+
+function test()
+{
+    InspectorTest.runDebuggerTestSuite([
+        function testSetBreakpoint(next)
+        {
+            InspectorTest.showScriptSource(&quot;pause-in-internal-script.html&quot;, didShowScriptSource);
+
+            function didShowScriptSource(sourceFrame)
+            {
+                InspectorTest.addResult(&quot;Script source was shown.&quot;);
+                InspectorTest.setBreakpoint(sourceFrame, 13, &quot;&quot;, true);
+                InspectorTest.runTestFunctionAndWaitUntilPaused(didPause);
+            }
+
+            function didPause(callFrames)
+            {
+                InspectorTest.captureStackTrace(callFrames);
+                next();
+            }
+        }
+    ]);
+};
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that internal scripts unknown to front-end are processed correctly when appear in debugger call frames.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=64995&quot;&gt;Bug 64995&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcesdynamicscriptjsfromrev164517trunkLayoutTestshttptestsinspectorenabledresourcesdynamicscriptjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/dynamic-script.js (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/resources/dynamic-script.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/dynamic-script.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/dynamic-script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+function fooDynamicScript()
+{
+}
+
+scriptLoaded();
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourceseditmebreakpointsjsfromrev164517trunkLayoutTestsinspectordebuggerresourceseditmebreakpointsjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-breakpoints.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/edit-me-breakpoints.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-breakpoints.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-breakpoints.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+function f()
+{
+    return 0;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourceseditmesyntaxerrorjsfromrev164517trunkLayoutTestsinspectordebuggerresourceseditmesyntaxerrorjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-syntax-error.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/edit-me-syntax-error.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-syntax-error.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-syntax-error.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+function syntaxError()
+{
+    return ,&quot;I'm good&quot;;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourceseditmewhenpausedjsfromrev164517trunkLayoutTestsinspectordebuggerresourceseditmewhenpausedjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-when-paused.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/edit-me-when-paused.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-when-paused.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me-when-paused.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+function f2()
+{
+    return 1;
+}
+
+function f1()
+{
+    var x = 1;
+    debugger;
+    return x + f2();
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourceseditmejsfromrev164517trunkLayoutTestsinspectordebuggerresourceseditmejs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/edit-me.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/edit-me.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+function f()
+{
+    return 0;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcesobfuscatedjsfromrev164517trunkLayoutTestsinspectordebuggerresourcesobfuscatedjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/obfuscated.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/obfuscated.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/obfuscated.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/obfuscated.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+function formatted1()
+{
+    var variable1 = 0;
+}
+
+function withComments()
+{
+// comment
+    return &quot;functionWithComments&quot;;
+}
+
+try{onmessage=function(event){var source=event.data;var formattedSource=beautify(source);var mapping=buildMapping(source,formattedSource);postMessage({formattedSource:formattedSource,mapping:mapping})};function beautify(source){var ast=parse.parse(source);var beautifyOptions=
+{indent_level:4,indent_start:0,quote_keys:false,space_colon:false};return process.gen_code(ast,beautifyOptions)}function buildMapping(source,formattedSource){var mapping={original:[],formatted:[]};var lastPosition=0;var regexp=/(^|[^\\])\b((?=\D)[\$\.\w]+)\b/g;while(true)
+{var match=regexp.exec(formattedSource);if(!match)break;var position=source.indexOf(match[2],lastPosition);if(position===-1)throw&quot;No match found in original source for &quot;+match[2];mapping.original.push(position);mapping.formatted.push(match.index+match[1].length);
+lastPosition=position+match[2].length}return mapping}function require(){return parse}var exports={};importScripts(&quot;UglifyJS/parse-js.js&quot;);var parse=exports;var exports={};importScripts(&quot;UglifyJS/process.js&quot;);var process=exports;}catch(e){}
+
+function formatted2()
+{
+    var variable2 = 0;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcespauseonblockedbycspjsfromrev164517trunkLayoutTestsinspectordebuggerresourcespauseonblockedbycspjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-by-csp.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-by-csp.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-by-csp.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-by-csp.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+function test()
+{
+    WebInspector.showPanel(&quot;scripts&quot;);
+
+    InspectorTest.addSniffer(WebInspector.CallStackSidebarPane.prototype, &quot;setStatus&quot;, setStatus, false);
+
+    function setStatus(status)
+    {
+        // FIXME: For whatever reason, this isn't getting called consistently.
+        // Commenting it out to avoid flakeyness. https://bugs.webkit.org/show_bug.cgi?id=96867
+        // InspectorTest.addResult(&quot;Callstack status set to: '&quot; + status + &quot;'.&quot;);
+    }
+
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        DebuggerAgent.setPauseOnExceptions(WebInspector.DebuggerModel.PauseOnExceptionsState.PauseOnUncaughtExceptions);
+        InspectorTest.evaluateInPage(&quot;setTimeout(testAction, 0);&quot;);
+        InspectorTest.waitUntilPaused(step2);
+    }
+
+    function step2(callFrames)
+    {
+        InspectorTest.captureStackTrace(callFrames);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+
+window.addEventListener('load', runTest);
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcespauseonblockedeventhandlerjsfromrev164517trunkLayoutTestsinspectordebuggerresourcespauseonblockedeventhandlerjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-event-handler.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-event-handler.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-event-handler.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-event-handler.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+function testAction()
+{
+    var button = document.getElementById('test');
+    button.click();
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcespauseonblockedscriptinjectionjsfromrev164517trunkLayoutTestsinspectordebuggerresourcespauseonblockedscriptinjectionjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-script-injection.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-injection.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-script-injection.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-script-injection.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+function testAction()
+{
+    var script = document.createElement('script');
+    script.innerText = &quot;alert('FAIL!');&quot;;
+    document.body.appendChild(script);
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcespauseonblockedscripturljsfromrev164517trunkLayoutTestsinspectordebuggerresourcespauseonblockedscripturljs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-script-url.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/pause-on-blocked-script-url.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-script-url.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/pause-on-blocked-script-url.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+function testAction()
+{
+    var a = document.createElement('a');
+    a.setAttribute('href', 'javascript:alert(&quot;FAIL!&quot;);');
+    document.body.appendChild(a);
+    a.click();
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcesscript1jsfromrev164517trunkLayoutTestsinspectordebuggerresourcesscript1js"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/script1.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/script1.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/script1.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/script1.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+function f1() {}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcesscript2jsfromrev164517trunkLayoutTestsinspectordebuggerresourcesscript2js"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/script2.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/script2.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/script2.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/script2.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+function f2() {}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcesscript3jsfromrev164517trunkLayoutTestsinspectordebuggerresourcesscript3js"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/script3.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/script3.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/script3.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/script3.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+function f3() {}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerresourcessyntaxerrorhtmlfromrev164517trunkLayoutTestsinspectordebuggerresourcessyntaxerrorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/resources/syntax-error.html (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/syntax-error.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/resources/syntax-error.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/resources/syntax-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+)
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;console.log('Iframe loaded');&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerscriptformatterexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerscriptformatterexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/script-formatter-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+Tests the script formatting functionality.
+
+Debugger was enabled.
+
+Running: testScriptFormatterWorker
+
+Running: testSourceMapping
+
+Running: testFormatInlinedScripts
+&lt;html&gt;&lt;body&gt;&lt;script&gt;
+function f() {
+}
+&lt;/script&gt;&lt;script&gt;
+function g() {
+**var a;
+**if (a)
+****return;
+}
+&lt;/script&gt;&lt;/body&gt;&lt;/html&gt;
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerscriptformattersearchexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggerscriptformattersearchexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-search-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/script-formatter-search-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-search-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-search-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+Tests that search across files works with formatted scripts.
+
+Debugger was enabled.
+Pre-format search results:
+Search matches: 
+lineNumber: 24, line: '        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump1);'
+lineNumber: 39, line: '        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump2);'
+
+Original content was requested.
+Post-format search results:
+Search matches: 
+lineNumber: 28, line: '        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump1);'
+lineNumber: 43, line: '        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump2);'
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerscriptformattersearchhtmlfromrev164517trunkLayoutTestsinspectordebuggerscriptformattersearchhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-search.html (from rev 164517, trunk/LayoutTests/inspector/debugger/script-formatter-search.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-search.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/script-formatter-search.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,68 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/search/search-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+var test = function()
+{
+    var scriptSource;
+    var shouldRequestContent = false;
+
+    InspectorTest.startDebuggerTest(started);
+
+    function started()
+    {
+        InspectorTest.showScriptSource(&quot;script-formatter-search.html&quot;, didShowScriptSource);
+    }
+
+    function didShowScriptSource(frame)
+    {
+        scriptSource = frame._uiSourceCode;
+        InspectorTest.addSniffer(scriptSource._project, &quot;requestFileContent&quot;, requestContentSniffer);
+        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump1);
+    }
+
+    function dump1(matches)
+    {
+        InspectorTest.addResult(&quot;Pre-format search results:&quot;);
+        InspectorTest.dumpSearchMatches(matches);
+        shouldRequestContent = true;
+        scriptSource.addEventListener(WebInspector.UISourceCode.Events.FormattedChanged, didFormat, this);
+        scriptSource.setFormatted(true);
+    }
+
+    function didFormat()
+    {
+        scriptSource.removeEventListener(WebInspector.UISourceCode.Events.FormattedChanged, didFormat, this);
+        scriptSource.searchInContent(&quot;magic-string&quot;, true, false, dump2);
+    }
+
+    function dump2(matches)
+    {
+        InspectorTest.addResult(&quot;Post-format search results:&quot;);
+        InspectorTest.dumpSearchMatches(matches);
+        InspectorTest.completeTest();
+    }
+
+    function requestContentSniffer()
+    {
+        if (shouldRequestContent)
+            InspectorTest.addResult(&quot;Original content was requested.&quot;);
+        else
+            InspectorTest.addResult(&quot;Failure: original content should not be requested.&quot;);
+    }
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that search across files works with formatted scripts.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggerscriptformatterhtmlfromrev164517trunkLayoutTestsinspectordebuggerscriptformatterhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/script-formatter.html (from rev 164517, trunk/LayoutTests/inspector/debugger/script-formatter.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/script-formatter.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/script-formatter.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,106 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/obfuscated.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+var test = function()
+{
+    var panel = WebInspector.panels.scripts;
+    var worker = new Worker(&quot;ScriptFormatterWorker.js&quot;);
+
+    InspectorTest.runDebuggerTestSuite([
+        function testScriptFormatterWorker(next)
+        {
+            worker.onmessage = InspectorTest.safeWrap(function(event)
+            {
+                InspectorTest.assertEquals(&quot;var x = 0\n&quot;, event.data.content);
+                next();
+            });
+
+            worker.onerror = function(event)
+            {
+                InspectorTest.addResult(&quot;Error in worker: &quot; + event.data);
+                next();
+            };
+
+            worker.postMessage({ method: &quot;format&quot;, params: { mimeType: &quot;text/javascript&quot;, content: &quot;var x=0&quot; } });
+        },
+
+        function testSourceMapping(next)
+        {
+            var formatter = new WebInspector.ScriptFormatter();
+
+            InspectorTest.showScriptSource(&quot;obfuscated.js&quot;, didShowScriptSource);
+            function didShowScriptSource(sourceFrame)
+            {
+                formatter.formatContent(&quot;text/javascript&quot;, sourceFrame._textEditor.text(), didFormatContent);
+            }
+
+            function didFormatContent(content, mapping)
+            {
+                var source = WebInspector.panels.scripts.visibleView._textEditor.text();
+                var formattedSource = content;
+
+                function testMapping(string)
+                {
+                    var originalPosition = source.indexOf(string);
+                    InspectorTest.assertTrue(originalPosition !== -1);
+                    var originalLocation = WebInspector.Formatter.positionToLocation(source.lineEndings(), originalPosition);
+                    var formattedLocation = mapping.originalToFormatted(originalLocation[0], originalLocation[1]);
+                    var formattedPosition = WebInspector.Formatter.locationToPosition(formattedSource.lineEndings(), formattedLocation[0], formattedLocation[1]);
+                    var expectedFormattedPosition = formattedSource.indexOf(string);
+                    InspectorTest.assertEquals(expectedFormattedPosition, formattedPosition, &quot;wrong mapping for &lt;&quot; + string + &quot;&gt;&quot;);
+                }
+
+                testMapping(&quot;function&quot;);
+                testMapping(&quot;formatted1&quot;);
+                testMapping(&quot;variable1&quot;);
+
+                testMapping(&quot;    return \&quot;functionWithComments\&quot;&quot;);
+
+                testMapping(&quot;onmessage&quot;);
+                testMapping(&quot;indent_start&quot;);
+                testMapping(&quot;function require&quot;);
+                testMapping(&quot;var regexp&quot;);
+                testMapping(&quot;importScripts&quot;);
+
+                testMapping(&quot;formatted2&quot;);
+                testMapping(&quot;variable2&quot;);
+
+                next();
+            }
+        },
+
+        function testFormatInlinedScripts(next)
+        {
+            worker.onmessage = InspectorTest.safeWrap(function(event)
+            {
+                InspectorTest.addResult(event.data.content);
+                next();
+            });
+
+            worker.onerror = function(event)
+            {
+                InspectorTest.addResult(&quot;Error in worker: &quot; + event.data);
+                next();
+            };
+
+            var content = &quot;&lt;html&gt;&lt;body&gt;&lt;script&gt;function f(){}&lt;&quot; + &quot;/script&gt;&lt;script&gt;function g(){var a;if (a) return;}&lt;&quot; + &quot;/script&gt;&lt;/body&gt;&lt;/html&gt;&quot;;
+            worker.postMessage({ method: &quot;format&quot;, params: { mimeType: &quot;text/html&quot;, content: content, indentString: &quot;**&quot; } });
+        }
+    ]);
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests the script formatting functionality.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggersourceurlcommentexpectedtxtfromrev164517trunkLayoutTestsinspectordebuggersourceurlcommentexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/source-url-comment-expected.txt (from rev 164517, trunk/LayoutTests/inspector/debugger/source-url-comment-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/source-url-comment-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/source-url-comment-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+Tests that evals with sourceURL comment are shown in scripts panel.
+
+Debugger was enabled.
+
+Running: testSourceURLCommentInInlineScript
+
+Running: testSourceURLComment
+function keepAlive() {}
+//@ sourceURL=evalURL.js
+
+Running: testSourceURLCommentInDynamicScript
+function keepAliveInDynamicScript() {}
+//@ sourceURL=dynamicScriptURL.js
+
+Running: testNonRelativeURL
+function relativeURLScript() {}
+//@ sourceURL=/js/nonRelativeURL.js
+
+Running: testHashSyntax
+function hashSyntax() {}
+//# sourceURL=hashSyntax.js
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletedebuggersourceurlcommenthtmlfromrev164517trunkLayoutTestsinspectordebuggersourceurlcommenthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/debugger/source-url-comment.html (from rev 164517, trunk/LayoutTests/inspector/debugger/source-url-comment.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/debugger/source-url-comment.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/debugger/source-url-comment.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,147 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function keepAliveInInlineScript() { }
+
+//@ sourceURL=inlineScriptURL.js
+&lt;/script&gt;
+&lt;script&gt;
+function doEval()
+{
+    eval(&quot;function keepAlive() {}\n//@ sourceURL=evalURL.js&quot;);
+}
+
+function doEvalWithNonRelativeURL()
+{
+    eval(&quot;function relativeURLScript() {}\n//@ sourceURL=/js/nonRelativeURL.js&quot;);
+}
+
+function doEvalWithHashSyntax()
+{
+    eval(&quot;function hashSyntax() {}\n//# sourceURL=hashSyntax.js&quot;);
+}
+
+function doDynamicScript()
+{
+    var scriptElement = document.createElement(&quot;script&quot;);
+    scriptElement.textContent = &quot;function keepAliveInDynamicScript() {}\n//@ sourceURL=dynamicScriptURL.js&quot;;
+    document.body.appendChild(scriptElement);
+}
+
+function test()
+
+{
+    function forEachScriptMatchingURL(url, handler)
+    {
+        var scripts = WebInspector.debuggerModel.scripts;
+        for (var i = 0; i &lt; scripts.length; ++i) {
+            if (scripts[i].sourceURL.indexOf(url) !== -1)
+                handler(scripts[i]);
+        }
+    }
+
+    InspectorTest.runDebuggerTestSuite([
+        function testSourceURLCommentInInlineScript(next)
+        {
+            InspectorTest.showScriptSource(&quot;source-url-comment.html&quot;, didShowScriptSource);
+
+            function didShowScriptSource(sourceFrame)
+            {
+                function checkScriptDoesNotHaveSourceURL(script)
+                {
+                    InspectorTest.assertTrue(!script.hasSourceURL, &quot;hasSourceURL flag is set for inline script&quot;);
+                }
+
+                var panel = WebInspector.panel(&quot;scripts&quot;);
+                var uiSourceCodes = panel._workspace.uiSourceCodes();
+                for (var i = 0; i &lt; uiSourceCodes.length; ++i)
+                    InspectorTest.assertTrue(uiSourceCodes[i].originURL().indexOf(&quot;inlineScriptURL.js&quot;) === -1, &quot;sourceURL comment in inline script was used as a script name&quot;);
+                forEachScriptMatchingURL(&quot;source-url-comment.html&quot;, checkScriptDoesNotHaveSourceURL)
+                next();
+            }
+        },
+
+        function testSourceURLComment(next)
+        {
+            InspectorTest.showScriptSource(&quot;evalURL.js&quot;, didShowScriptSource);
+            InspectorTest.evaluateInPage(&quot;setTimeout(doEval, 0)&quot;);
+
+            function didShowScriptSource(sourceFrame)
+            {
+                function checkScriptHasSourceURL(script)
+                {
+                    InspectorTest.assertTrue(script.hasSourceURL, &quot;hasSourceURL flag is not set for eval with sourceURL comment&quot;);
+                }
+
+                InspectorTest.addResult(sourceFrame.textEditor.text());
+                forEachScriptMatchingURL(&quot;evalURL.js&quot;, checkScriptHasSourceURL);
+                next();
+            }
+        },
+
+        function testSourceURLCommentInDynamicScript(next)
+        {
+            InspectorTest.showScriptSource(&quot;dynamicScriptURL.js&quot;, didShowScriptSource);
+            InspectorTest.evaluateInPage(&quot;setTimeout(doDynamicScript, 0)&quot;);
+
+            function didShowScriptSource(sourceFrame)
+            {
+                function checkScriptHasSourceURL(script)
+                {
+                    InspectorTest.assertTrue(script.hasSourceURL, &quot;hasSourceURL flag is not set for dynamic script with sourceURL comment&quot;);
+                }
+
+                InspectorTest.addResult(sourceFrame.textEditor.text());
+                forEachScriptMatchingURL(&quot;dynamicScriptURL.js&quot;, checkScriptHasSourceURL);
+                next();
+            }
+        },
+
+        function testNonRelativeURL(next)
+        {
+            InspectorTest.showScriptSource(&quot;/js/nonRelativeURL.js&quot;, didShowScriptSource);
+            InspectorTest.evaluateInPage(&quot;setTimeout(doEvalWithNonRelativeURL, 0)&quot;);
+
+            function didShowScriptSource(sourceFrame)
+            {
+                function checkScriptHasSourceURL(script)
+                {
+                    InspectorTest.assertTrue(script.hasSourceURL, &quot;hasSourceURL flag is not set for eval with a non-relative URL in a sourceURL comment&quot;);
+                }
+
+                InspectorTest.addResult(sourceFrame.textEditor.text());
+                forEachScriptMatchingURL(&quot;nonRelativeURL.js&quot;, checkScriptHasSourceURL);
+                next();
+            }
+        },
+
+        function testHashSyntax(next)
+        {
+            InspectorTest.showScriptSource(&quot;hashSyntax.js&quot;, didShowScriptSource);
+            InspectorTest.evaluateInPage(&quot;setTimeout(doEvalWithHashSyntax, 0)&quot;);
+
+            function didShowScriptSource(sourceFrame)
+            {
+                function checkScriptHasSourceURL(script)
+                {
+                    InspectorTest.assertTrue(script.hasSourceURL, &quot;hasSourceURL flag is not set for eval with a non-relative URL in a sourceURL comment&quot;);
+                }
+
+                InspectorTest.addResult(sourceFrame.textEditor.text());
+                forEachScriptMatchingURL(&quot;hashSyntax.js&quot;, checkScriptHasSourceURL);
+                next();
+            }
+        }
+    ]);
+};
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that evals with sourceURL comment are shown in scripts panel.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsdomagentqueryselectorexpectedtxtfromrev164517trunkLayoutTestsinspectorelementsdomagentqueryselectorexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/dom-agent-query-selector-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/dom-agent-query-selector-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/dom-agent-query-selector-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/dom-agent-query-selector-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+Tests DOMAgent.querySelector and DOMAgent.querySelectorAll.
+
+
+Running: testDocumentQuerySelector
+node id: id1
+
+Running: testDocumentQuerySelectorAll
+node id: id1
+node id: id2
+node id: id3
+node id: id4
+node id: id5
+node id: id6
+
+Running: testQuerySelector
+node id: id3
+
+Running: testQuerySelectorAll
+node id: id3
+node id: id4
+node id: id5
+node id: id6
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsdomagentqueryselectorhtmlfromrev164517trunkLayoutTestsinspectorelementsdomagentqueryselectorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/dom-agent-query-selector.html (from rev 164517, trunk/LayoutTests/inspector/elements/dom-agent-query-selector.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/dom-agent-query-selector.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/dom-agent-query-selector.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,81 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeWithId(&quot;container&quot;, step1);
+
+    function step1(node)
+    {
+        var containerId = node.id;
+        var documentId = node.ownerDocument.id;
+
+        InspectorTest.runTestSuite([
+            function testDocumentQuerySelector(next)
+            {
+                DOMAgent.querySelector(documentId, &quot;div.foo&quot;, dumpNodes.bind(null, next));
+            },
+
+            function testDocumentQuerySelectorAll(next)
+            {
+                DOMAgent.querySelectorAll(documentId, &quot;div.foo&quot;, dumpNodes.bind(null, next));
+            },
+
+            function testQuerySelector(next)
+            {
+                DOMAgent.querySelector(containerId, &quot;div.foo&quot;, dumpNodes.bind(null, next));
+            },
+
+            function testQuerySelectorAll(next)
+            {
+                DOMAgent.querySelectorAll(containerId, &quot;div.foo&quot;, dumpNodes.bind(null, next));
+            }
+        ]);
+    }
+
+    function dumpNodes(next, error, nodeIds)
+    {
+        if (error) {
+            InspectorTest.addResult(error);
+            next();
+            return;
+        }
+
+        if (!(nodeIds instanceof Array))
+            nodeIds = [nodeIds];
+
+        for (var i = 0; i &lt; nodeIds.length; ++i) {
+            if (!nodeIds[i])
+                InspectorTest.addResult(&quot;no results&quot;);
+            else {
+                var node = WebInspector.domAgent.nodeForId(nodeIds[i]);
+                InspectorTest.addResult(&quot;node id: &quot; + node.getAttribute(&quot;id&quot;));
+            }
+        }
+        next();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests DOMAgent.querySelector and DOMAgent.querySelectorAll.
+&lt;/p&gt;
+
+&lt;div id=&quot;id1&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
+&lt;div id=&quot;id2&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
+
+&lt;div id=&quot;container&quot;&gt;
+    &lt;div id=&quot;id3&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
+    &lt;div id=&quot;id4&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
+    &lt;div id=&quot;id5&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
+    &lt;div id=&quot;id6&quot; class=&quot;foo&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsdomsearchcrashexpectedtxtfromrev164517trunkLayoutTestsinspectorelementsdomsearchcrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/dom-search-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/dom-search-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/dom-search-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/dom-search-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+Tests that elements panel search is not crashing on documentElement-less cases.
+
+
+
+Running: testSetUp
+
+Running: testNoCrash
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsdomsearchcrashhtmlfromrev164517trunkLayoutTestsinspectorelementsdomsearchcrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/dom-search-crash.html (from rev 164517, trunk/LayoutTests/inspector/elements/dom-search-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/dom-search-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/dom-search-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            WebInspector.showPanel(&quot;elements&quot;);
+            WebInspector.domAgent.requestDocument(next);
+        },
+
+        function testNoCrash(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;FooBar&quot;, next);
+        }
+    ]);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Tests that elements panel search is not crashing on documentElement-less cases.
+&lt;/p&gt;
+&lt;iframe src=&quot;resources/dom-search-crash-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementseditstyleattributeexpectedtxtfromrev164517trunkLayoutTestsinspectorelementseditstyleattributeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/edit-style-attribute-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/edit-style-attribute-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/edit-style-attribute-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/edit-style-attribute-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Tests that style modification generates attribute updated event only when attribute is actually changed.
+
+
+Running: testSetUp
+
+Running: testSetNewValue
+WebInspector.DOMAgent.Events.AttrModified should be issued
+
+Running: testSetSameValue
+WebInspector.DOMNode.prototype._setAttributesPayload should be called
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementseditstyleattributehtmlfromrev164517trunkLayoutTestsinspectorelementseditstyleattributehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/edit-style-attribute.html (from rev 164517, trunk/LayoutTests/inspector/elements/edit-style-attribute.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/edit-style-attribute.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/edit-style-attribute.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,78 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function testSetNewValue()
+{
+    document.getElementById(&quot;node-set-new-value&quot;).style.setProperty(&quot;color&quot;, &quot;blue&quot;);
+}
+
+function testSetSameValue()
+{
+    document.getElementById(&quot;node-set-same-value&quot;).style.setProperty(&quot;color&quot;, &quot;red&quot;);
+}
+
+function test()
+{
+    // Save time on style updates.
+    WebInspector.showPanel(&quot;elements&quot;);
+    WebInspector.StylesSidebarPane.prototype.update = function() {};
+    WebInspector.MetricsSidebarPane.prototype.update = function() {};
+
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.expandElementsTree(next);
+        },
+
+        function testSetNewValue(next)
+        {
+            InspectorTest.evaluateInPage(&quot;testSetNewValue()&quot;);
+
+            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+            function listener(event)
+            {
+                InspectorTest.addResult(&quot;WebInspector.DOMAgent.Events.AttrModified should be issued&quot;);
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+                next();
+            }
+        },
+
+        function testSetSameValue(next)
+        {
+            InspectorTest.evaluateInPage(&quot;testSetSameValue()&quot;);
+
+            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+            function listener(event)
+            {
+                InspectorTest.addResult(&quot;WebInspector.DOMAgent.Events.AttrModified should not be issued&quot;);
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+            }
+
+            InspectorTest.addSniffer(WebInspector.DOMNode.prototype, &quot;_setAttributesPayload&quot;, callback);
+            function callback()
+            {
+                InspectorTest.addResult(&quot;WebInspector.DOMNode.prototype._setAttributesPayload should be called&quot;);
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, listener);
+                next();
+            }
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that style modification generates attribute updated event only when attribute is actually changed.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot;&gt;
+    &lt;div id=&quot;node-set-new-value&quot; style=&quot;color:red&quot;&gt;&lt;/div&gt;
+    &lt;div id=&quot;node-set-same-value&quot; style=&quot;color:red&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementselementspanelreloadassertexpectedtxtfromrev164517trunkLayoutTestsinspectorelementselementspanelreloadassertexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/elements-panel-reload-assert-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/elements-panel-reload-assert-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/elements-panel-reload-assert-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/elements-panel-reload-assert-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that the inspected page does not crash in a debug build when reloading a page containing shadow DOM with open inspector. Bug 84154.
+
+
+Page reloaded.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementselementspanelreloadasserthtmlfromrev164517trunkLayoutTestsinspectorelementselementspanelreloadasserthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/elements-panel-reload-assert.html (from rev 164517, trunk/LayoutTests/inspector/elements/elements-panel-reload-assert.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/elements-panel-reload-assert.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/elements-panel-reload-assert.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.expandElementsTree(step1);
+
+    function step1()
+    {
+        InspectorTest.reloadPage(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that the inspected page does not crash in a debug build when reloading a page containing shadow DOM with open inspector. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=84154&quot;&gt;Bug 84154&lt;/a&gt;.
+&lt;/p&gt;
+
+&lt;input type=&quot;radio&quot;&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementselementspanelsearchexpectedtxtfromrev164517trunkLayoutTestsinspectorelementselementspanelsearchexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/elements-panel-search-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/elements-panel-search-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/elements-panel-search-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/elements-panel-search-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+Tests that elements panel search is returning proper results.
+
+FooBar
+
+Found by selector
+
+Running: testSetUp
+
+Running: testPlainText
+F o o B a r
+
+Running: testPartialText
+F o o B a r
+
+Running: testStartTag
+&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
+
+Running: testEndTag
+&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
+
+Running: testPartialTag
+&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
+
+Running: testPartialAbsentTagStart
+Nothing found
+
+Running: testPartialAbsentTagEnd
+Nothing found
+
+Running: testFullTag
+&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
+
+Running: testExactAttributeName
+&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
+
+Running: testExactAttributeVal_ue
+&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
+
+Running: testExactAttributeVal_ueWithQuotes
+&lt; d i v   a t t r = &quot; f o o &quot; &gt; &lt; / d i v &gt;
+
+Running: testPartialAttributeVal_ue
+&lt; i n p u t   v a l u e = &quot; I n p u t V a l &quot; &gt;
+
+Running: testXPathAttribute
+&lt; d i v   a t t r = &quot; f o o &quot; &gt; &lt; / d i v &gt;
+
+Running: testSelector
+&lt; s p a n &gt; F o u n d   b y   s e l e c t o r &lt; / s p a n &gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementselementspanelsearchhtmlfromrev164517trunkLayoutTestsinspectorelementselementspanelsearchhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/elements-panel-search.html (from rev 164517, trunk/LayoutTests/inspector/elements/elements-panel-search.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/elements-panel-search.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/elements-panel-search.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,130 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+
+    function searchCallback(next, resultCount)
+    {
+        if (resultCount == 0) {
+            InspectorTest.addResult(&quot;Nothing found&quot;);
+            WebInspector.domAgent.cancelSearch();
+            next();
+        }
+
+        for (var i = 0; i &lt; resultCount; ++i)
+            WebInspector.domAgent.searchResult(i, searchResultCallback.bind(this, i + 1 === resultCount));
+
+        function searchResultCallback(isLastItem, node)
+        {
+            node.getOuterHTML(addSearchResult.bind(this, isLastItem));
+        }
+
+        function addSearchResult(isLastItem, error, markupVa_lue)
+        {
+            InspectorTest.addResult(markupVa_lue.split(&quot;&quot;).join(&quot; &quot;));
+            if (isLastItem) {
+                WebInspector.domAgent.cancelSearch();
+                next();
+            }
+        }
+    }
+
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            WebInspector.domAgent.requestDocument(next);
+        },
+
+        function testPlainText(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;Fo&quot; + &quot;o&quot; + &quot;Bar&quot;, searchCallback.bind(this, next));
+        },
+
+        function testPartialText(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;oo&quot; + &quot;Ba&quot;, searchCallback.bind(this, next));
+        },
+
+        function testStartTag(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;&lt;inpu&quot; + &quot;t&quot;, searchCallback.bind(this, next));
+        },
+
+        function testEndTag(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;npu&quot; + &quot;t&gt;&quot;, searchCallback.bind(this, next));
+        },
+
+        function testPartialTag(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;npu&quot; + &quot;t&quot;, searchCallback.bind(this, next));
+        },
+
+        function testPartialAbsentTagStart(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;&lt;npu&quot; + &quot;t&quot;, searchCallback.bind(this, next));
+        },
+
+        function testPartialAbsentTagEnd(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;npu&quot; + &quot;&gt;&quot;, searchCallback.bind(this, next));
+        },
+
+        function testFullTag(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;&lt;inpu&quot; + &quot;t&gt;&quot;, searchCallback.bind(this, next));
+        },
+
+        function testExactAttributeName(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;valu&quot; + &quot;e&quot;, searchCallback.bind(this, next));
+        },
+
+        function testExactAttributeVal_ue(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;In&quot; + &quot;putVa&quot; + &quot;l&quot;, searchCallback.bind(this, next));
+        },
+
+        function testExactAttributeVal_ueWithQuotes(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;\&quot;fo&quot; + &quot;o\&quot;&quot;, searchCallback.bind(this, next));
+        },
+
+        function testPartialAttributeVal_ue(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;n&quot; + &quot;putVa&quot; + &quot;l&quot;, searchCallback.bind(this, next));
+        },
+
+        function testXPathAttribute(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;//html&quot; + &quot;//@attr&quot;, searchCallback.bind(this, next));
+        },
+
+        function testSelector(next)
+        {
+            WebInspector.domAgent.performSearch(&quot;d&quot; + &quot;iv.divclass span&quot;, searchCallback.bind(this, next));
+        }
+    ]);
+
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that elements panel search is returning proper results.
+&lt;/p&gt;
+
+&lt;div&gt;FooBar&lt;/div&gt;
+&lt;input value=&quot;InputVal&quot;&gt;
+&lt;div attr=&quot;foo&quot;&gt;&lt;/div&gt;
+&lt;div id=&quot;terminator&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;divclass&quot;&gt;&lt;span&gt;Found by selector&lt;/span&gt;&lt;/div&gt;
+&lt;span class=&quot;foo koo&quot;&gt;&lt;/span&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementselementspanelstylesexpectedtxtfromrev164517trunkLayoutTestsinspectorelementselementspanelstylesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/elements-panel-styles-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/elements-panel-styles-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/elements-panel-styles-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/elements-panel-styles-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,144 @@
</span><ins>+Tests that elements panel shows proper styles in the sidebar panel.
+
+Foo
+[expanded] 
+-webkit-font-smoothing: subpixel-antialiased;
+    element.style - subpixel-antialiased 
+border-bottom-left-radius: 5px;
+    .foo - 5px elements-panel-styles.css:16
+border-bottom-right-radius: 5px;
+    .foo - 5px elements-panel-styles.css:16
+border-top-left-radius: 5px;
+    .foo - 5px elements-panel-styles.css:16
+border-top-right-radius: 5px;
+    .foo - 5px elements-panel-styles.css:16
+color: rgb(0, 0, 255);
+    .foo, .foo::before - blue elements-panel-styles.css:28
+    /-- overloaded --/ .foo - black elements-panel-styles.css:16
+    /-- overloaded --/ #container - red elements-panel-styles.css:5
+display: block;
+    /-- overloaded --/ element.style - none 
+    .foo, .foo::before - block !important elements-panel-styles.css:28
+    /-- overloaded --/ div - block user agent stylesheet
+font-family: serif;
+    #container - serif elements-panel-styles.css:5
+font-size: 14px;
+    #container - 14px elements-panel-styles.css:5
+    /-- overloaded --/ body - 12px elements-panel-styles.css:1
+font-style: italic;
+    #container .foo - italic !important elements-panel-styles.css:12
+    /-- overloaded --/ .foo - normal !important elements-panel-styles.css:16
+font-weight: normal;
+    .foo - normal !important elements-panel-styles.css:16
+    /-- overloaded --/ .foo - bold elements-panel-styles.css:16
+margin-bottom: 2px;
+    .foo - 2px elements-panel-styles.css:16
+margin-left: 0px;
+    .foo - 1px elements-panel-styles.css:16
+margin-right: 0px;
+    .foo - 0px elements-panel-styles.css:16
+margin-top: 10px;
+    .foo - 10px elements-panel-styles.css:16
+padding-bottom: 4px;
+    .foo - 4px elements-panel-styles.css:16
+padding-left: 4px;
+    .foo - 4px elements-panel-styles.css:16
+padding-right: 1px;
+    .foo - 1px elements-panel-styles.css:16
+padding-top: 4px;
+    .foo - 4px elements-panel-styles.css:16
+text-align: -webkit-left;
+    div[Attributes Style] - -webkit-left 
+
+[expanded] 
+element.style  { ()
+/-- overloaded --/ display: none;
+-webkit-font-smoothing: subpixel-antialiased;
+
+======== Matched CSS Rules ========
+[expanded] 
+#container .foo  { (elements-panel-styles.css:12)
+font-style: italic !important;
+
+[expanded] 
+.foo  { (elements-panel-styles.css:47)
+
+[expanded] 
+.foo, .foo::before  { (elements-panel-styles.css:28)
+content: &quot;[before Foo]&quot;;
+color: blue;
+display: block !important;
+
+[expanded] 
+.foo  { (elements-panel-styles.css:16)
+/-- overloaded --/ color: black;
+margin-left: 1px;
+margin: 10px 0 2px;
+    margin-top: 10px;
+    margin-right: 0px;
+    margin-bottom: 2px;
+    margin-left: 1px;
+border-radius: 5px;
+    border-top-left-radius: 5px;
+    border-top-right-radius: 5px;
+    border-bottom-right-radius: 5px;
+    border-bottom-left-radius: 5px;
+/-- overloaded --/ font-style: normal !important;
+font-weight: normal !important;
+/-- overloaded --/ font-weight: bold;
+padding: 4px;
+    padding-top: 4px;
+    padding-right: 1px;
+    padding-bottom: 4px;
+    padding-left: 4px;
+padding-right: 1px;
+
+[expanded] 
+div[Attributes Style]  { ()
+text-align: -webkit-left;
+
+[expanded] 
+div  { (user agent stylesheet)
+/-- overloaded --/ display: block;
+
+======== Inherited from div#container ========
+[expanded] 
+#container  { (elements-panel-styles.css:5)
+font-family: serif;
+font-size: 14px;
+/-- overloaded --/ color: red;
+
+======== Inherited from body ========
+[expanded] 
+body  { (elements-panel-styles.css:1)
+/-- overloaded --/ font-size: 12px;
+
+
+======== Pseudo ::before element ========
+[expanded] 
+.foo::before  { (elements-panel-styles.css:51)
+
+[expanded] 
+.foo::before  { (elements-panel-styles.css:34)
+color: red;
+
+[expanded] 
+.foo, .foo::before  { (elements-panel-styles.css:28)
+content: &quot;[before Foo]&quot;;
+/-- overloaded --/ color: blue;
+display: block !important;
+
+
+======== Pseudo ::after element ========
+[expanded] 
+.foo::after  { (elements-panel-styles.css:42)
+font-family: courier;
+content: &quot;[after Foo 2]&quot;;
+
+[expanded] 
+.foo::after  { (elements-panel-styles.css:38)
+/-- overloaded --/ content: &quot;[after Foo]&quot;;
+color: green;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementselementspanelstyleshtmlfromrev164517trunkLayoutTestsinspectorelementselementspanelstyleshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/elements-panel-styles.html (from rev 164517, trunk/LayoutTests/inspector/elements/elements-panel-styles.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/elements-panel-styles.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/elements-panel-styles.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;resources/elements-panel-styles.css&quot;&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;foo&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpSelectedElementStyles(false, false);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that elements panel shows proper styles in the sidebar panel.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot;&gt;
+    &lt;div id=&quot;foo&quot; class=&quot;foo&quot; style=&quot;display:none; -webkit-font-smoothing: subpixel-antialiased;&quot; align=&quot;left&quot;&gt;Foo&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightnodeexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightnodeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-node-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-node-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-node-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-node-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+This test verifies the position and size of the highlight rectangles overlayed on an inspected div.
+
+margin rect is 260 x 260 at (0, 0)
+border rect is 250 x 250 at (5, 5)
+padding rect is 230 x 230 at (15, 15)
+content rect is 200 x 200 at (30, 30)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightnoderegionsexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightnoderegionsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-node-regions-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-node-regions-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-node-regions-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-node-regions-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,289 @@
</span><ins>+This test verifies the position and size of the highlighted CSS Regions quads overlayed on the inspected div.
+
+{
+    &quot;name&quot;: &quot;flow&quot;,
+    &quot;regions&quot;: [
+        {
+            &quot;borderQuad&quot;: [
+                {
+                    &quot;x&quot;: 5,
+                    &quot;y&quot;: 5
+                },
+                {
+                    &quot;x&quot;: 255,
+                    &quot;y&quot;: 5
+                },
+                {
+                    &quot;x&quot;: 255,
+                    &quot;y&quot;: 255
+                },
+                {
+                    &quot;x&quot;: 5,
+                    &quot;y&quot;: 255
+                }
+            ],
+            &quot;incomingQuad&quot;: [
+                {
+                    &quot;x&quot;: 0,
+                    &quot;y&quot;: 15
+                },
+                {
+                    &quot;x&quot;: 10,
+                    &quot;y&quot;: 15
+                },
+                {
+                    &quot;x&quot;: 10,
+                    &quot;y&quot;: 25
+                },
+                {
+                    &quot;x&quot;: 0,
+                    &quot;y&quot;: 25
+                }
+            ],
+            &quot;outgoingQuad&quot;: [
+                {
+                    &quot;x&quot;: 250,
+                    &quot;y&quot;: 235
+                },
+                {
+                    &quot;x&quot;: 260,
+                    &quot;y&quot;: 235
+                },
+                {
+                    &quot;x&quot;: 260,
+                    &quot;y&quot;: 245
+                },
+                {
+                    &quot;x&quot;: 250,
+                    &quot;y&quot;: 245
+                }
+            ]
+        },
+        {
+            &quot;borderQuad&quot;: [
+                {
+                    &quot;x&quot;: 265,
+                    &quot;y&quot;: 5
+                },
+                {
+                    &quot;x&quot;: 515,
+                    &quot;y&quot;: 5
+                },
+                {
+                    &quot;x&quot;: 515,
+                    &quot;y&quot;: 255
+                },
+                {
+                    &quot;x&quot;: 265,
+                    &quot;y&quot;: 255
+                }
+            ],
+            &quot;incomingQuad&quot;: [
+                {
+                    &quot;x&quot;: 260,
+                    &quot;y&quot;: 15
+                },
+                {
+                    &quot;x&quot;: 270,
+                    &quot;y&quot;: 15
+                },
+                {
+                    &quot;x&quot;: 270,
+                    &quot;y&quot;: 25
+                },
+                {
+                    &quot;x&quot;: 260,
+                    &quot;y&quot;: 25
+                }
+            ],
+            &quot;outgoingQuad&quot;: [
+                {
+                    &quot;x&quot;: 510,
+                    &quot;y&quot;: 235
+                },
+                {
+                    &quot;x&quot;: 520,
+                    &quot;y&quot;: 235
+                },
+                {
+                    &quot;x&quot;: 520,
+                    &quot;y&quot;: 245
+                },
+                {
+                    &quot;x&quot;: 510,
+                    &quot;y&quot;: 245
+                }
+            ],
+            &quot;isHighlighted&quot;: true
+        },
+        {
+            &quot;borderQuad&quot;: [
+                {
+                    &quot;x&quot;: 525,
+                    &quot;y&quot;: 5
+                },
+                {
+                    &quot;x&quot;: 775,
+                    &quot;y&quot;: 5
+                },
+                {
+                    &quot;x&quot;: 775,
+                    &quot;y&quot;: 255
+                },
+                {
+                    &quot;x&quot;: 525,
+                    &quot;y&quot;: 255
+                }
+            ],
+            &quot;incomingQuad&quot;: [
+                {
+                    &quot;x&quot;: 520,
+                    &quot;y&quot;: 15
+                },
+                {
+                    &quot;x&quot;: 530,
+                    &quot;y&quot;: 15
+                },
+                {
+                    &quot;x&quot;: 530,
+                    &quot;y&quot;: 25
+                },
+                {
+                    &quot;x&quot;: 520,
+                    &quot;y&quot;: 25
+                }
+            ],
+            &quot;outgoingQuad&quot;: [
+                {
+                    &quot;x&quot;: 770,
+                    &quot;y&quot;: 235
+                },
+                {
+                    &quot;x&quot;: 780,
+                    &quot;y&quot;: 235
+                },
+                {
+                    &quot;x&quot;: 780,
+                    &quot;y&quot;: 245
+                },
+                {
+                    &quot;x&quot;: 770,
+                    &quot;y&quot;: 245
+                }
+            ]
+        },
+        {
+            &quot;borderQuad&quot;: [
+                {
+                    &quot;x&quot;: 5,
+                    &quot;y&quot;: 265
+                },
+                {
+                    &quot;x&quot;: 205,
+                    &quot;y&quot;: 265
+                },
+                {
+                    &quot;x&quot;: 205,
+                    &quot;y&quot;: 265
+                },
+                {
+                    &quot;x&quot;: 5,
+                    &quot;y&quot;: 265
+                }
+            ],
+            &quot;incomingQuad&quot;: [
+                {
+                    &quot;x&quot;: 0,
+                    &quot;y&quot;: 260
+                },
+                {
+                    &quot;x&quot;: 10,
+                    &quot;y&quot;: 260
+                },
+                {
+                    &quot;x&quot;: 10,
+                    &quot;y&quot;: 270
+                },
+                {
+                    &quot;x&quot;: 0,
+                    &quot;y&quot;: 270
+                }
+            ],
+            &quot;outgoingQuad&quot;: [
+                {
+                    &quot;x&quot;: 200,
+                    &quot;y&quot;: 260
+                },
+                {
+                    &quot;x&quot;: 210,
+                    &quot;y&quot;: 260
+                },
+                {
+                    &quot;x&quot;: 210,
+                    &quot;y&quot;: 270
+                },
+                {
+                    &quot;x&quot;: 200,
+                    &quot;y&quot;: 270
+                }
+            ]
+        },
+        {
+            &quot;borderQuad&quot;: [
+                {
+                    &quot;x&quot;: 215,
+                    &quot;y&quot;: 265
+                },
+                {
+                    &quot;x&quot;: 215,
+                    &quot;y&quot;: 265
+                },
+                {
+                    &quot;x&quot;: 215,
+                    &quot;y&quot;: 265
+                },
+                {
+                    &quot;x&quot;: 215,
+                    &quot;y&quot;: 265
+                }
+            ],
+            &quot;incomingQuad&quot;: [
+                {
+                    &quot;x&quot;: 210,
+                    &quot;y&quot;: 260
+                },
+                {
+                    &quot;x&quot;: 220,
+                    &quot;y&quot;: 260
+                },
+                {
+                    &quot;x&quot;: 220,
+                    &quot;y&quot;: 270
+                },
+                {
+                    &quot;x&quot;: 210,
+                    &quot;y&quot;: 270
+                }
+            ],
+            &quot;outgoingQuad&quot;: [
+                {
+                    &quot;x&quot;: 210,
+                    &quot;y&quot;: 260
+                },
+                {
+                    &quot;x&quot;: 220,
+                    &quot;y&quot;: 260
+                },
+                {
+                    &quot;x&quot;: 220,
+                    &quot;y&quot;: 270
+                },
+                {
+                    &quot;x&quot;: 210,
+                    &quot;y&quot;: 270
+                }
+            ]
+        }
+    ]
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightnoderegionshtmlfromrev164517trunkLayoutTestsinspectorelementshighlightnoderegionshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-node-regions.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-node-regions.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-node-regions.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-node-regions.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedRegions()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region&quot; id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted CSS Regions quads overlayed on the inspected div.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightnodescaledexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightnodescaledexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scaled-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-node-scaled-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scaled-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scaled-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+
+margin rect is 166 x 188 at (192, 154)
+border rect is 138 x 160 at (206, 168)
+padding rect is 118 x 140 at (216, 178)
+content rect is 66 x 88 at (242, 204)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightnodescaledhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightnodescaledhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scaled.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-node-scaled.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scaled.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scaled.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+
+iframe {
+    position: absolute;
+    left: 83px;
+    top: 53px;
+    width: 200px;
+    height: 200px;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    if (window.internals)
+        window.internals.setPageScaleFactor(2, 0, 0);
+    runTest();
+}
+    
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    WebInspector.panels.elements.treeOutline.addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, selectedNodeChanged, this);
+
+    function selectedNodeChanged(event)
+    {
+        var node = event.data;
+        if (node.getAttribute(&quot;id&quot;) == &quot;div&quot;)
+            RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
+    }
+    InspectorTest.evaluateInConsole(&quot;inspect(iframeDivElement)&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;iframe src=&quot;resources/highlight-node-scaled-iframe.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightnodescrollexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightnodescrollexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scroll-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-node-scroll-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scroll-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scroll-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+This test verifies the position and size of the highlight rectangles overlayed on an inspected div in the scrolled view.
+
+margin rect is 260 x 260 at (8, 8)
+border rect is 250 x 250 at (13, 13)
+padding rect is 230 x 230 at (23, 23)
+content rect is 200 x 200 at (38, 38)
+margin rect is 260 x 260 at (-52, 218)
+border rect is 250 x 250 at (-47, 223)
+padding rect is 230 x 230 at (-37, 233)
+content rect is 200 x 200 at (-22, 248)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightnodescrollhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightnodescrollhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scroll.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-node-scroll.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scroll.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-node-scroll.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,79 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    width: 2000px;
+    height: 2000px;
+    background-color: grey;
+}
+.inspected {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+}
+#scrollingContainer {
+    clear: both;
+    width: 100px;
+    height: 100px;
+    overflow: auto;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    window.scrollBy(50, 100);
+    scrollingContainer = document.getElementById(&quot;scrollingContainer&quot;);
+    scrollingContainer.scrollTop = 50;
+    scrollingContainer.scrollLeft = 60;
+    runTest();
+}
+
+function test()
+{
+    function nodeSelected2(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
+    }
+
+    function testNode2()
+    {
+        InspectorTest.selectNodeWithId(&quot;inspectedElement2&quot;, nodeSelected2);
+    }
+
+    function nodeSelected1(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, testNode2);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement1&quot;, nodeSelected1);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+
+&lt;div id=&quot;inspectedElement1&quot; class=&quot;inspected&quot;&gt;&lt;/div&gt;
+
+&lt;div id=&quot;scrollingContainer&quot;&gt;
+    &lt;div id=&quot;inspectedElement2&quot; class=&quot;inspected&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlight rectangles overlayed on an inspected div in the scrolled view.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightnodehtmlfromrev164517trunkLayoutTestsinspectorelementshighlightnodehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-node.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-node.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-node.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-node.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlight rectangles overlayed on an inspected div.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,428 @@
</span><ins>+This test verifies the position and size of the highlighted node inside CSS Regions.
+
+{
+    &quot;scroll&quot;: {
+        &quot;x&quot;: 0,
+        &quot;y&quot;: 0
+    },
+    &quot;fragments&quot;: [
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 1030
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 1030
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 1030
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 1030
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 1030
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 1030
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 1030
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 1030
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: -170
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: -170
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 830
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 830
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: -170
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: -170
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 830
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 830
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: -170
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: -170
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 830
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 830
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: -170
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: -170
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 830
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 830
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 490,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 490,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 605
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 605
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 605
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 605
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 5
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -395
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    }
+                ]
+            }
+        }
+    ],
+    &quot;elementInfo&quot;: {
+        &quot;tagName&quot;: &quot;div&quot;,
+        &quot;idValue&quot;: &quot;inspectedElement&quot;,
+        &quot;nodeWidth&quot;: &quot;200&quot;,
+        &quot;nodeHeight&quot;: &quot;1000&quot;,
+        &quot;contentFlowInfo&quot;: {
+            &quot;name&quot;: &quot;flow&quot;
+        }
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowhorizbtexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowhorizbtexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-horiz-bt-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-horiz-bt-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-horiz-bt-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,428 @@
</span><ins>+This test verifies the position and size of the highlighted node inside CSS Regions.
+
+{
+    &quot;scroll&quot;: {
+        &quot;x&quot;: 0,
+        &quot;y&quot;: 0
+    },
+    &quot;fragments&quot;: [
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: -730
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: -730
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 270
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 270
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: -730
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: -730
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 270
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 270
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: -730
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: -730
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 270
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 270
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: -730
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: -730
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 270
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 270
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 70
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 70
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 270
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 270
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: -530
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: -530
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 470
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 470
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: -530
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: -530
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 470
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 470
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: -530
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: -530
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 470
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 470
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: -530
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: -530
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 470
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 470
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 70
+                    },
+                    {
+                        &quot;x&quot;: 490,
+                        &quot;y&quot;: 70
+                    },
+                    {
+                        &quot;x&quot;: 490,
+                        &quot;y&quot;: 270
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 270
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 695
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 695
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 695
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 695
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 695
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 695
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 695
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 695
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 295
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 695
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 695
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 695
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 695
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 695
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 695
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: -305
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 695
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 695
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 895
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 895
+                    }
+                ]
+            }
+        }
+    ],
+    &quot;elementInfo&quot;: {
+        &quot;tagName&quot;: &quot;div&quot;,
+        &quot;idValue&quot;: &quot;inspectedElement&quot;,
+        &quot;nodeWidth&quot;: &quot;200&quot;,
+        &quot;nodeHeight&quot;: &quot;1000&quot;,
+        &quot;contentFlowInfo&quot;: {
+            &quot;name&quot;: &quot;flow&quot;
+        }
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowhorizbthtmlfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowhorizbthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-horiz-bt.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-horiz-bt.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-horiz-bt.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-horiz-bt.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,87 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html style=&quot;-webkit-writing-mode: horizontal-bt;&quot;&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    width: 100%;
+    height: 1000px;
+    background-color: green;
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.small {
+    width: 100px;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;
+    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowtransformexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,428 @@
</span><ins>+This test verifies the position and size of the highlighted node inside CSS Regions.
+
+{
+    &quot;scroll&quot;: {
+        &quot;x&quot;: 0,
+        &quot;y&quot;: 0
+    },
+    &quot;fragments&quot;: [
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 207,
+                        &quot;y&quot;: 26
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: 94
+                    },
+                    {
+                        &quot;x&quot;: 53,
+                        &quot;y&quot;: 1034
+                    },
+                    {
+                        &quot;x&quot;: -135,
+                        &quot;y&quot;: 966
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 207,
+                        &quot;y&quot;: 26
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: 94
+                    },
+                    {
+                        &quot;x&quot;: 53,
+                        &quot;y&quot;: 1034
+                    },
+                    {
+                        &quot;x&quot;: -135,
+                        &quot;y&quot;: 966
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 207,
+                        &quot;y&quot;: 26
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: 94
+                    },
+                    {
+                        &quot;x&quot;: 53,
+                        &quot;y&quot;: 1034
+                    },
+                    {
+                        &quot;x&quot;: -135,
+                        &quot;y&quot;: 966
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 207,
+                        &quot;y&quot;: 26
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: 94
+                    },
+                    {
+                        &quot;x&quot;: 53,
+                        &quot;y&quot;: 1034
+                    },
+                    {
+                        &quot;x&quot;: -135,
+                        &quot;y&quot;: 966
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 467,
+                        &quot;y&quot;: -174
+                    },
+                    {
+                        &quot;x&quot;: 561,
+                        &quot;y&quot;: -140
+                    },
+                    {
+                        &quot;x&quot;: 219,
+                        &quot;y&quot;: 800
+                    },
+                    {
+                        &quot;x&quot;: 125,
+                        &quot;y&quot;: 766
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 467,
+                        &quot;y&quot;: -174
+                    },
+                    {
+                        &quot;x&quot;: 561,
+                        &quot;y&quot;: -140
+                    },
+                    {
+                        &quot;x&quot;: 219,
+                        &quot;y&quot;: 800
+                    },
+                    {
+                        &quot;x&quot;: 125,
+                        &quot;y&quot;: 766
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 467,
+                        &quot;y&quot;: -174
+                    },
+                    {
+                        &quot;x&quot;: 561,
+                        &quot;y&quot;: -140
+                    },
+                    {
+                        &quot;x&quot;: 219,
+                        &quot;y&quot;: 800
+                    },
+                    {
+                        &quot;x&quot;: 125,
+                        &quot;y&quot;: 766
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 467,
+                        &quot;y&quot;: -174
+                    },
+                    {
+                        &quot;x&quot;: 561,
+                        &quot;y&quot;: -140
+                    },
+                    {
+                        &quot;x&quot;: 219,
+                        &quot;y&quot;: 800
+                    },
+                    {
+                        &quot;x&quot;: 125,
+                        &quot;y&quot;: 766
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 490,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 490,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 602,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 790,
+                        &quot;y&quot;: -331
+                    },
+                    {
+                        &quot;x&quot;: 448,
+                        &quot;y&quot;: 609
+                    },
+                    {
+                        &quot;x&quot;: 260,
+                        &quot;y&quot;: 541
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 602,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 790,
+                        &quot;y&quot;: -331
+                    },
+                    {
+                        &quot;x&quot;: 448,
+                        &quot;y&quot;: 609
+                    },
+                    {
+                        &quot;x&quot;: 260,
+                        &quot;y&quot;: 541
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 602,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 790,
+                        &quot;y&quot;: -331
+                    },
+                    {
+                        &quot;x&quot;: 448,
+                        &quot;y&quot;: 609
+                    },
+                    {
+                        &quot;x&quot;: 260,
+                        &quot;y&quot;: 541
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 602,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 790,
+                        &quot;y&quot;: -331
+                    },
+                    {
+                        &quot;x&quot;: 448,
+                        &quot;y&quot;: 609
+                    },
+                    {
+                        &quot;x&quot;: 260,
+                        &quot;y&quot;: 541
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 5
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 541
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 541
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 541
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 541
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 541
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 541
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -399
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 541
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 541
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 5
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 605
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 605
+                    }
+                ]
+            }
+        }
+    ],
+    &quot;elementInfo&quot;: {
+        &quot;tagName&quot;: &quot;div&quot;,
+        &quot;idValue&quot;: &quot;inspectedElement&quot;,
+        &quot;nodeWidth&quot;: &quot;200&quot;,
+        &quot;nodeHeight&quot;: &quot;1000&quot;,
+        &quot;contentFlowInfo&quot;: {
+            &quot;name&quot;: &quot;flow&quot;
+        }
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformhorizbtexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowtransformhorizbtexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-horiz-bt-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-horiz-bt-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-horiz-bt-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,428 @@
</span><ins>+This test verifies the position and size of the highlighted node inside CSS Regions.
+
+{
+    &quot;scroll&quot;: {
+        &quot;x&quot;: 0,
+        &quot;y&quot;: 0
+    },
+    &quot;fragments&quot;: [
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 207,
+                        &quot;y&quot;: -734
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: -666
+                    },
+                    {
+                        &quot;x&quot;: 53,
+                        &quot;y&quot;: 274
+                    },
+                    {
+                        &quot;x&quot;: -135,
+                        &quot;y&quot;: 206
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 207,
+                        &quot;y&quot;: -734
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: -666
+                    },
+                    {
+                        &quot;x&quot;: 53,
+                        &quot;y&quot;: 274
+                    },
+                    {
+                        &quot;x&quot;: -135,
+                        &quot;y&quot;: 206
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 207,
+                        &quot;y&quot;: -734
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: -666
+                    },
+                    {
+                        &quot;x&quot;: 53,
+                        &quot;y&quot;: 274
+                    },
+                    {
+                        &quot;x&quot;: -135,
+                        &quot;y&quot;: 206
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 207,
+                        &quot;y&quot;: -734
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: -666
+                    },
+                    {
+                        &quot;x&quot;: 53,
+                        &quot;y&quot;: 274
+                    },
+                    {
+                        &quot;x&quot;: -135,
+                        &quot;y&quot;: 206
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 70
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 70
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 270
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 270
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 467,
+                        &quot;y&quot;: -534
+                    },
+                    {
+                        &quot;x&quot;: 561,
+                        &quot;y&quot;: -500
+                    },
+                    {
+                        &quot;x&quot;: 219,
+                        &quot;y&quot;: 440
+                    },
+                    {
+                        &quot;x&quot;: 125,
+                        &quot;y&quot;: 406
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 467,
+                        &quot;y&quot;: -534
+                    },
+                    {
+                        &quot;x&quot;: 561,
+                        &quot;y&quot;: -500
+                    },
+                    {
+                        &quot;x&quot;: 219,
+                        &quot;y&quot;: 440
+                    },
+                    {
+                        &quot;x&quot;: 125,
+                        &quot;y&quot;: 406
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 467,
+                        &quot;y&quot;: -534
+                    },
+                    {
+                        &quot;x&quot;: 561,
+                        &quot;y&quot;: -500
+                    },
+                    {
+                        &quot;x&quot;: 219,
+                        &quot;y&quot;: 440
+                    },
+                    {
+                        &quot;x&quot;: 125,
+                        &quot;y&quot;: 406
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 467,
+                        &quot;y&quot;: -534
+                    },
+                    {
+                        &quot;x&quot;: 561,
+                        &quot;y&quot;: -500
+                    },
+                    {
+                        &quot;x&quot;: 219,
+                        &quot;y&quot;: 440
+                    },
+                    {
+                        &quot;x&quot;: 125,
+                        &quot;y&quot;: 406
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 70
+                    },
+                    {
+                        &quot;x&quot;: 490,
+                        &quot;y&quot;: 70
+                    },
+                    {
+                        &quot;x&quot;: 490,
+                        &quot;y&quot;: 270
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 270
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 602,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 790,
+                        &quot;y&quot;: -241
+                    },
+                    {
+                        &quot;x&quot;: 448,
+                        &quot;y&quot;: 699
+                    },
+                    {
+                        &quot;x&quot;: 260,
+                        &quot;y&quot;: 631
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 602,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 790,
+                        &quot;y&quot;: -241
+                    },
+                    {
+                        &quot;x&quot;: 448,
+                        &quot;y&quot;: 699
+                    },
+                    {
+                        &quot;x&quot;: 260,
+                        &quot;y&quot;: 631
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 602,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 790,
+                        &quot;y&quot;: -241
+                    },
+                    {
+                        &quot;x&quot;: 448,
+                        &quot;y&quot;: 699
+                    },
+                    {
+                        &quot;x&quot;: 260,
+                        &quot;y&quot;: 631
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 602,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 790,
+                        &quot;y&quot;: -241
+                    },
+                    {
+                        &quot;x&quot;: 448,
+                        &quot;y&quot;: 699
+                    },
+                    {
+                        &quot;x&quot;: 260,
+                        &quot;y&quot;: 631
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 625,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 425,
+                        &quot;y&quot;: 295
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 631
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 631
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 631
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 631
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 631
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 631
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 812,
+                        &quot;y&quot;: -309
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 631
+                    },
+                    {
+                        &quot;x&quot;: 470,
+                        &quot;y&quot;: 631
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 295
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 895
+                    },
+                    {
+                        &quot;x&quot;: 635,
+                        &quot;y&quot;: 895
+                    }
+                ]
+            }
+        }
+    ],
+    &quot;elementInfo&quot;: {
+        &quot;tagName&quot;: &quot;div&quot;,
+        &quot;idValue&quot;: &quot;inspectedElement&quot;,
+        &quot;nodeWidth&quot;: &quot;200&quot;,
+        &quot;nodeHeight&quot;: &quot;1000&quot;,
+        &quot;contentFlowInfo&quot;: {
+            &quot;name&quot;: &quot;flow&quot;
+        }
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformhorizbthtmlfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowtransformhorizbthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-horiz-bt.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-horiz-bt.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-horiz-bt.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-horiz-bt.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,89 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html style=&quot;-webkit-writing-mode: horizontal-bt;&quot;&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    width: 100%;
+    height: 1000px;
+    background-color: green;
+    -webkit-transform: rotate(20deg);
+    transform: rotate(20deg);
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.small {
+    width: 100px;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;
+    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformvertlrexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertlrexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-lr-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-lr-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-lr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,428 @@
</span><ins>+This test verifies the position and size of the highlighted node inside CSS Regions.
+
+{
+    &quot;scroll&quot;: {
+        &quot;x&quot;: 0,
+        &quot;y&quot;: 0
+    },
+    &quot;fragments&quot;: [
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -181,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 759,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 691,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -249,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -181,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 759,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 691,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -249,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -181,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 759,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 691,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -249,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -181,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 759,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 691,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -249,
+                        &quot;y&quot;: 53
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 555,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 755,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 755,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 555,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -241,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 699,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 631,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -309,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -241,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 699,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 631,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -309,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -241,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 699,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 631,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -309,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -241,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 699,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 631,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -309,
+                        &quot;y&quot;: 53
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 495,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 495,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 320,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 520,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 520,
+                        &quot;y&quot;: 465
+                    },
+                    {
+                        &quot;x&quot;: 320,
+                        &quot;y&quot;: 465
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 520,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1020,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1020,
+                        &quot;y&quot;: 475
+                    },
+                    {
+                        &quot;x&quot;: 520,
+                        &quot;y&quot;: 475
+                    }
+                ]
+            }
+        }
+    ],
+    &quot;elementInfo&quot;: {
+        &quot;tagName&quot;: &quot;div&quot;,
+        &quot;idValue&quot;: &quot;inspectedElement&quot;,
+        &quot;nodeWidth&quot;: &quot;1000&quot;,
+        &quot;nodeHeight&quot;: &quot;200&quot;,
+        &quot;contentFlowInfo&quot;: {
+            &quot;name&quot;: &quot;flow&quot;
+        }
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformvertlrhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertlrhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-lr.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-lr.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-lr.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-lr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,89 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html style=&quot;-webkit-writing-mode: vertical-rl;&quot;&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    height: 100%;
+    width: 1000px;
+    background-color: green;
+    -webkit-transform: rotate(20deg);
+    transform: rotate(20deg);
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.small {
+    width: 100px;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;
+    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformvertrlexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertrlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-rl-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-rl-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-rl-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,428 @@
</span><ins>+This test verifies the position and size of the highlighted node inside CSS Regions.
+
+{
+    &quot;scroll&quot;: {
+        &quot;x&quot;: 0,
+        &quot;y&quot;: 0
+    },
+    &quot;fragments&quot;: [
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -181,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 759,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 691,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -249,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -181,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 759,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 691,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -249,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -181,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 759,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 691,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -249,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -181,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 759,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 691,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -249,
+                        &quot;y&quot;: 53
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 555,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 755,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 755,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 555,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -241,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 699,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 631,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -309,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -241,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 699,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 631,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -309,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -241,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 699,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 631,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -309,
+                        &quot;y&quot;: 53
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -241,
+                        &quot;y&quot;: -135
+                    },
+                    {
+                        &quot;x&quot;: 699,
+                        &quot;y&quot;: 207
+                    },
+                    {
+                        &quot;x&quot;: 631,
+                        &quot;y&quot;: 395
+                    },
+                    {
+                        &quot;x&quot;: -309,
+                        &quot;y&quot;: 53
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 495,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 495,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 395,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: 824,
+                        &quot;y&quot;: 442
+                    },
+                    {
+                        &quot;x&quot;: -116,
+                        &quot;y&quot;: 100
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 320,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 520,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 520,
+                        &quot;y&quot;: 465
+                    },
+                    {
+                        &quot;x&quot;: 320,
+                        &quot;y&quot;: 465
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 1024,
+                        &quot;y&quot;: 452
+                    },
+                    {
+                        &quot;x&quot;: 84,
+                        &quot;y&quot;: 110
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 520,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1020,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1020,
+                        &quot;y&quot;: 475
+                    },
+                    {
+                        &quot;x&quot;: 520,
+                        &quot;y&quot;: 475
+                    }
+                ]
+            }
+        }
+    ],
+    &quot;elementInfo&quot;: {
+        &quot;tagName&quot;: &quot;div&quot;,
+        &quot;idValue&quot;: &quot;inspectedElement&quot;,
+        &quot;nodeWidth&quot;: &quot;1000&quot;,
+        &quot;nodeHeight&quot;: &quot;200&quot;,
+        &quot;contentFlowInfo&quot;: {
+            &quot;name&quot;: &quot;flow&quot;
+        }
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformvertrlhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowtransformvertrlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-rl.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform-vert-rl.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-rl.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform-vert-rl.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,89 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html style=&quot;-webkit-writing-mode: vertical-rl;&quot;&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    height: 100%;
+    width: 1000px;
+    background-color: green;
+    -webkit-transform: rotate(20deg);
+    transform: rotate(20deg);
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.small {
+    width: 100px;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;
+    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowtransformhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowtransformhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-transform.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-transform.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,89 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    width: 100%;
+    height: 1000px;
+    background-color: green;
+    -webkit-transform: rotate(20deg);
+    transform: rotate(20deg);
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.small {
+    width: 100px;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;
+    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowvertlrexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowvertlrexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-lr-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-lr-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-lr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,428 @@
</span><ins>+This test verifies the position and size of the highlighted node inside CSS Regions.
+
+{
+    &quot;scroll&quot;: {
+        &quot;x&quot;: 0,
+        &quot;y&quot;: 0
+    },
+    &quot;fragments&quot;: [
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1030,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1030,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1030,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1030,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1030,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1030,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1030,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1030,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 230,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 30,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 90,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1090,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1090,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 90,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 90,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1090,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1090,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 90,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 90,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1090,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1090,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 90,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 90,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1090,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 1090,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 90,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 390,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 290,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -35,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 965,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 965,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: -35,
+                        &quot;y&quot;: 265
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -35,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 965,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 965,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: -35,
+                        &quot;y&quot;: 265
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -35,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 965,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 965,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: -35,
+                        &quot;y&quot;: 265
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -35,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 965,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 965,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: -35,
+                        &quot;y&quot;: 265
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 265,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 465,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 465,
+                        &quot;y&quot;: 465
+                    },
+                    {
+                        &quot;x&quot;: 265,
+                        &quot;y&quot;: 465
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -235,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: -235,
+                        &quot;y&quot;: 275
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -235,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: -235,
+                        &quot;y&quot;: 275
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -235,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: -235,
+                        &quot;y&quot;: 275
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -235,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: -235,
+                        &quot;y&quot;: 275
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 265,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 765,
+                        &quot;y&quot;: 475
+                    },
+                    {
+                        &quot;x&quot;: 265,
+                        &quot;y&quot;: 475
+                    }
+                ]
+            }
+        }
+    ],
+    &quot;elementInfo&quot;: {
+        &quot;tagName&quot;: &quot;div&quot;,
+        &quot;idValue&quot;: &quot;inspectedElement&quot;,
+        &quot;nodeWidth&quot;: &quot;1000&quot;,
+        &quot;nodeHeight&quot;: &quot;200&quot;,
+        &quot;contentFlowInfo&quot;: {
+            &quot;name&quot;: &quot;flow&quot;
+        }
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowvertlrhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowvertlrhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-lr.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-lr.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-lr.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-lr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,87 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html style=&quot;-webkit-writing-mode: vertical-lr;&quot;&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    height: 100%;
+    width: 1000px;
+    background-color: green;
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.small {
+    width: 100px;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;
+    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowvertrlexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowvertrlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-rl-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-rl-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-rl-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,428 @@
</span><ins>+This test verifies the position and size of the highlighted node inside CSS Regions.
+
+{
+    &quot;scroll&quot;: {
+        &quot;x&quot;: 0,
+        &quot;y&quot;: 0
+    },
+    &quot;fragments&quot;: [
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: -230,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: -230,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: -230,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -230,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: -230,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 570,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 770,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 570,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -290,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 710,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 710,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: -290,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -290,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 710,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 710,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: -290,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -290,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 710,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 710,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: -290,
+                        &quot;y&quot;: 230
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -290,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 710,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 710,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: -290,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 410,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 510,
+                        &quot;y&quot;: 30
+                    },
+                    {
+                        &quot;x&quot;: 510,
+                        &quot;y&quot;: 230
+                    },
+                    {
+                        &quot;x&quot;: 410,
+                        &quot;y&quot;: 230
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: -165,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: -165,
+                        &quot;y&quot;: 265
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -165,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: -165,
+                        &quot;y&quot;: 265
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -165,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: -165,
+                        &quot;y&quot;: 265
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: -165,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 835,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: -165,
+                        &quot;y&quot;: 265
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 335,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 535,
+                        &quot;y&quot;: 265
+                    },
+                    {
+                        &quot;x&quot;: 535,
+                        &quot;y&quot;: 465
+                    },
+                    {
+                        &quot;x&quot;: 335,
+                        &quot;y&quot;: 465
+                    }
+                ]
+            }
+        },
+        {
+            &quot;quads&quot;: [
+                [
+                    {
+                        &quot;x&quot;: 35,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 35,
+                        &quot;y&quot;: 275
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 35,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 35,
+                        &quot;y&quot;: 275
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 35,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 35,
+                        &quot;y&quot;: 275
+                    }
+                ],
+                [
+                    {
+                        &quot;x&quot;: 35,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 35,
+                        &quot;y&quot;: 275
+                    }
+                ]
+            ],
+            &quot;showRulers&quot;: false,
+            &quot;contentColor&quot;: &quot;rgba(111, 168, 220, 0.6588235294117647)&quot;,
+            &quot;contentOutlineColor&quot;: &quot;rgba(0, 0, 0, 0)&quot;,
+            &quot;paddingColor&quot;: &quot;rgba(147, 196, 125, 0.5490196078431373)&quot;,
+            &quot;borderColor&quot;: &quot;rgba(255, 229, 153, 0.6588235294117647)&quot;,
+            &quot;marginColor&quot;: &quot;rgba(246, 178, 107, 0.6588235294117647)&quot;,
+            &quot;region&quot;: {
+                &quot;quad&quot;: [
+                    {
+                        &quot;x&quot;: 535,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 275
+                    },
+                    {
+                        &quot;x&quot;: 1035,
+                        &quot;y&quot;: 475
+                    },
+                    {
+                        &quot;x&quot;: 535,
+                        &quot;y&quot;: 475
+                    }
+                ]
+            }
+        }
+    ],
+    &quot;elementInfo&quot;: {
+        &quot;tagName&quot;: &quot;div&quot;,
+        &quot;idValue&quot;: &quot;inspectedElement&quot;,
+        &quot;nodeWidth&quot;: &quot;1000&quot;,
+        &quot;nodeHeight&quot;: &quot;200&quot;,
+        &quot;contentFlowInfo&quot;: {
+            &quot;name&quot;: &quot;flow&quot;
+        }
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowvertrlhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowvertrlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-rl.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow-vert-rl.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-rl.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow-vert-rl.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,87 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html style=&quot;-webkit-writing-mode: vertical-rl;&quot;&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    height: 100%;
+    width: 1000px;
+    background-color: green;
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.small {
+    width: 100px;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;
+    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightregionsflowhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightregionsflowhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-regions-flow.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-regions-flow.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,87 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#flow {
+    -webkit-flow-into: flow;
+}
+#container {
+    width: 400px;
+    height: 400px;
+    background-color: grey;
+}
+#inspectedElement {
+    width: 100%;
+    height: 1000px;
+    background-color: green;
+}
+.region {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    width: 200px;
+    height: 200px;
+    background-color: blue;
+    float: left;
+    -webkit-flow-from: flow;
+}
+.small {
+    width: 100px;
+}
+.zero-height {
+    border: none;
+    height: 0px;
+    padding: 0;
+}
+.zero-size {
+    border: none;
+    width: 0px;
+    height: 0px;
+    padding: 0;
+}
+.hidden {
+    display: none;
+}
+#description {
+    clear: both;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightedNode()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;inspectedElement&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;div id=&quot;flow&quot;&gt;
+    &lt;div id=&quot;inspectedElement&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;div class=&quot;region&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region small&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-height&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region zero-size&quot;&gt;&lt;/div&gt;
+&lt;div class=&quot;region hidden&quot;&gt;&lt;/div&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlighted node inside CSS Regions.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightsvgrootexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightsvgrootexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-svg-root-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+This test verifies the position and size of the highlight rectangles overlayed on an SVG root element.
+
+margin rect is 160 x 160 at (0, 0)
+border rect is 150 x 150 at (5, 5)
+padding rect is 130 x 130 at (15, 15)
+content rect is 100 x 100 at (30, 30)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightsvgrootzoomedexpectedtxtfromrev164517trunkLayoutTestsinspectorelementshighlightsvgrootzoomedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-zoomed-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-zoomed-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-zoomed-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+This test verifies the position and size of the highlight rectangles overlayed on an SVG root element when the page is zoomed.
+
+margin rect is 408 x 528 at (12, 24)
+border rect is 336 x 456 at (48, 60)
+padding rect is 240 x 360 at (96, 108)
+content rect is 120 x 240 at (156, 168)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightsvgrootzoomedhtmlfromrev164517trunkLayoutTestsinspectorelementshighlightsvgrootzoomedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-zoomed.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-svg-root-zoomed.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-zoomed.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root-zoomed.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#svg-root {
+    position: relative;
+    left: 10px;
+    top: 20px;
+    margin: 30px;
+    border: solid 40px aqua;
+    padding: 50px;
+    background-color: blue;
+}
+
+&lt;/style&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function startTest()
+{
+    if (window.eventSender)
+        window.eventSender.zoomPageIn();
+    runTest();
+}
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;svg-root&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;startTest()&quot;&gt;
+&lt;svg id=&quot;svg-root&quot; width=&quot;100&quot; height=&quot;200&quot; viewbox=&quot;0 0 50 100&quot;&gt;&lt;/svg&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlight rectangles overlayed on an SVG root element when the page is zoomed.&lt;/p&gt;
+&lt;!--
+
+Expected value calculations for #svg-root's highlight rectangles at 120% zoom:
+
+margin rect:
+    left:   (10) * 1.2 == 12
+    top:    (20) * 1.2 == 24
+    width:  (100 + 2 * (30 + 40 + 50)) * 1.2 == 340 * 1.2 == 408
+    height: (200 + 2 * (30 + 40 + 50)) * 1.2 == 440 * 1.2 == 528
+
+border rect:
+    left:   (10 + 30) * 1.2 == 40 * 1.2 == 48
+    top:    (20 + 30) * 1.2 == 50 * 1.2 == 60
+    width:  (100 + 2 * (40 + 50)) * 1.2 == 280 * 1.2 == 336
+    height: (200 + 2 * (40 + 50)) * 1.2 == 380 * 1.2 == 456
+
+padding rect:
+    left:   (10 + 30 + 40) * 1.2 == 80 * 1.2 == 96
+    top:    (20 + 30 + 40) * 1.2 == 90 * 1.2 == 108
+    width:  (100 + 2 * (50)) * 1.2 == 200 * 1.2 == 240
+    height: (200 + 2 * (50)) * 1.2 == 300 * 1.2 == 360
+
+content rect:
+    left:   (10 + 30 + 40 + 50) * 1.2 == 130 * 1.2 == 156
+    top:    (20 + 30 + 40 + 50) * 1.2 == 140 * 1.2 == 168
+    width:  (100) * 1.2 == 120
+    height: (200) * 1.2 == 240
+    
+--&gt;
+&lt;div id=&quot;console&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementshighlightsvgroothtmlfromrev164517trunkLayoutTestsinspectorelementshighlightsvgroothtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root.html (from rev 164517, trunk/LayoutTests/inspector/elements/highlight-svg-root.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/highlight-svg-root.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+body {
+    margin: 0;
+}
+#svg-root {
+    margin: 5px;
+    border: solid 10px aqua;
+    padding: 15px;
+    background-color: blue;
+}
+
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function nodeSelected(node)
+    {
+        RuntimeAgent.evaluate(&quot;dumpInspectorHighlightRects()&quot;, InspectorTest.completeTest);
+    }
+
+    InspectorTest.selectNodeWithId(&quot;svg-root&quot;, nodeSelected);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+
+&lt;svg id=&quot;svg-root&quot; width=&quot;100&quot; height=&quot;100&quot; viewbox=&quot;0 0 50 50&quot;&gt;&lt;/svg&gt;
+&lt;p id=&quot;description&quot;&gt;This test verifies the position and size of the highlight rectangles overlayed on an SVG root element.&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsmutateunknownnodeexpectedtxtfromrev164517trunkLayoutTestsinspectorelementsmutateunknownnodeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/mutate-unknown-node-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/mutate-unknown-node-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/mutate-unknown-node-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/mutate-unknown-node-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+Tests that elements panel does not receive events upon changes to the undiscovered nodes.
+
+Appended
+DOMAgent event fired. Should only happen once for output node: DOMNodeInserted DIV#undefined
+Removed
+Attribute modified
+========= Result DOMAgent tree ========
+#document[1]
+    HTML[2]
+        HEAD[3]
+        BODY[4]
+            P[5]
+                [6]
+            DIV[7]
+            DIV[8]
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsmutateunknownnodehtmldisabledfromrev164517trunkLayoutTestsinspectorelementsmutateunknownnodehtmldisabled"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/mutate-unknown-node.html-disabled (from rev 164517, trunk/LayoutTests/inspector/elements/mutate-unknown-node.html-disabled) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/mutate-unknown-node.html-disabled                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/mutate-unknown-node.html-disabled        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,88 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function appendChild()
+{
+    var hidden = document.getElementById(&quot;hidden&quot;);
+    var child = document.createElement(&quot;div&quot;);
+    child.setAttribute(&quot;id&quot;, &quot;appended&quot;);
+    hidden.appendChild(child);
+}
+
+function removeChild()
+{
+    var child = document.getElementById(&quot;appended&quot;);
+    child.parentNode.removeChild(child);
+}
+
+function modifyAttribute()
+{
+    var hidden = document.getElementById(&quot;hidden&quot;);
+    hidden.setAttribute(&quot;foo&quot;, &quot;bar&quot;);
+}
+
+function test()
+{
+    function listener(type, event)
+    {
+        node = event.data.node || event.data;
+        InspectorTest.addResult(&quot;DOMAgent event fired. Should only happen once for output node: &quot; + type + &quot; &quot; + event.data.nodeName() + &quot;#&quot; + event.data.getAttribute(&quot;id&quot;));
+    }
+
+    WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, listener.bind(this, &quot;DOMAttrModified&quot;));
+    WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.CharacterDataModified, listener.bind(this, &quot;DOMCharacterDataModified&quot;));
+    WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.NodeInserted, listener.bind(this, &quot;DOMNodeInserted&quot;));
+    WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.NodeRemoved, listener.bind(this, &quot;DOMNodeRemoved&quot;));
+
+    WebInspector.domAgent.requestDocument(step0.bind(this));
+
+    function step0()
+    {
+        InspectorTest.evaluateInPage(&quot;appendChild()&quot;, step1);
+    }
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Appended&quot;);
+        InspectorTest.evaluateInPage(&quot;removeChild()&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;Removed&quot;);
+        InspectorTest.evaluateInPage(&quot;modifyAttribute()&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;Attribute modified&quot;);
+        InspectorTest.evaluateInPage(&quot;true&quot;, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.addResult(&quot;========= Result DOMAgent tree ========&quot;);
+        InspectorTest.dumpDOMAgentTree();
+
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that elements panel does not receive events upon changes to the undiscovered nodes.
+&lt;/p&gt;
+
+&lt;div&gt;
+&lt;div id=&quot;hidden&quot;&gt;
+&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsperformundoundoexpectedtxtfromrev164517trunkLayoutTestsinspectorelementsperformundoundoexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/perform-undo-undo-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/perform-undo-undo-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/perform-undo-undo-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/perform-undo-undo-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Tests that client can call undo multiple times with non-empty history.
+
+========= Original ========
+  &lt;div style=&quot;display:none&quot; id=&quot;container&quot;&gt;\n&lt;/div&gt;
+===== Modified element =====
+  &lt;div style=&quot;display:none&quot; id=&quot;container&quot; foo=&quot;bar&quot;&gt;\n&lt;/div&gt;
+===== Undo 1 =====
+  &lt;div style=&quot;display:none&quot; id=&quot;container&quot;&gt;\n&lt;/div&gt;
+===== Undo 2 =====
+  &lt;div style=&quot;display:none&quot; id=&quot;container&quot;&gt;\n&lt;/div&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsperformundoundohtmlfromrev164517trunkLayoutTestsinspectorelementsperformundoundohtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/perform-undo-undo.html (from rev 164517, trunk/LayoutTests/inspector/elements/perform-undo-undo.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/perform-undo-undo.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/perform-undo-undo.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,66 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var containerNode;
+    InspectorTest.expandElementsTree(step1);
+
+    function step1(node)
+    {
+        containerNode = InspectorTest.expandedNodeWithId(&quot;container&quot;);
+        InspectorTest.addResult(&quot;========= Original ========&quot;);
+        InspectorTest.dumpElementsTree(containerNode);
+        step2();
+    }
+
+    function step2()
+    {
+        function callback()
+        {
+            InspectorTest.addResult(&quot;===== Modified element =====&quot;);
+            InspectorTest.dumpElementsTree(containerNode);
+            step3();
+        }
+        containerNode.setAttribute(&quot;&quot;, &quot;foo=\&quot;bar\&quot;&quot;, callback);
+    }
+
+    function step3()
+    {
+        function callback()
+        {
+            InspectorTest.addResult(&quot;===== Undo 1 =====&quot;);
+            InspectorTest.dumpElementsTree(containerNode);
+            step4();
+        }
+        WebInspector.domAgent.undo(callback);
+    }
+
+    function step4()
+    {
+        function callback()
+        {
+            InspectorTest.addResult(&quot;===== Undo 2 =====&quot;);
+            InspectorTest.dumpElementsTree(containerNode);
+            InspectorTest.completeTest();
+        }
+        WebInspector.domAgent.undo(callback);
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that client can call undo multiple times with non-empty history.
+&lt;/p&gt;
+
+&lt;div style=&quot;display:none&quot; id=&quot;container&quot;&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresolvealiennodeexpectedtxtfromrev164517trunkLayoutTestsinspectorelementsresolvealiennodeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resolve-alien-node-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/resolve-alien-node-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resolve-alien-node-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resolve-alien-node-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests that resolveNode from alien document does not crash. https://bugs.webkit.org/show_bug.cgi?id=71806.
+
+Alien node should resolve to null: null
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresolvealiennodehtmlfromrev164517trunkLayoutTestsinspectorelementsresolvealiennodehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resolve-alien-node.html (from rev 164517, trunk/LayoutTests/inspector/elements/resolve-alien-node.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resolve-alien-node.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resolve-alien-node.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    RuntimeAgent.evaluate(&quot;var doc = document.implementation.createHTMLDocument(''); doc.lastChild.innerHTML = '&lt;span&gt;&lt;/span&gt;'; doc.lastChild&quot;, step1);
+
+    function step1(error, result, wasThrown)
+    {
+        var spanWrapper = WebInspector.RemoteObject.fromPayload(result);
+        spanWrapper.pushNodeToFrontend(step2);
+    }
+
+    function step2(nodeId)
+    {
+        var node = WebInspector.domAgent.nodeForId(nodeId);
+        InspectorTest.assertTrue(node, &quot;Node object should be resovled&quot;);
+        WebInspector.RemoteObject.resolveNode(node, undefined, step3);
+    }
+
+    function step3(remoteObject)
+    {
+        InspectorTest.addResult(&quot;Alien node should resolve to null: &quot; + remoteObject);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that resolveNode from alien document does not crash. https://bugs.webkit.org/show_bug.cgi?id=71806.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresolvenodeblockedexpectedtxtfromrev164517trunkLayoutTestsinspectorelementsresolvenodeblockedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resolve-node-blocked-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/resolve-node-blocked-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resolve-node-blocked-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resolve-node-blocked-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that JS object to node resolution still works even if script evals are prohibited by Content-Security-Policy. The test passes if it doesn't crash. Bug 78705.
+
+didReceiveDocumentObject
+didRequestNode error = null
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresolvenodeblockedhtmlfromrev164517trunkLayoutTestsinspectorelementsresolvenodeblockedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resolve-node-blocked.html (from rev 164517, trunk/LayoutTests/inspector/elements/resolve-node-blocked.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resolve-node-blocked.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resolve-node-blocked.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;script-src 'unsafe-inline'&quot;&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;document&quot;, didReceiveDocumentObject);
+    function didReceiveDocumentObject(remoteObject, wasThrown)
+    {
+        InspectorTest.addResult(&quot;didReceiveDocumentObject&quot;);
+        DOMAgent.requestNode(remoteObject.objectId, didRequestNode);
+    }
+
+    function didRequestNode(error, nodeId)
+    {
+        InspectorTest.addResult(&quot;didRequestNode error = &quot; + error);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that JS object to node resolution still works even if script evals are prohibited by Content-Security-Policy.
+The test passes if it doesn't crash.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=78705&quot;&gt;Bug 78705.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresourcesdomsearchcrashiframehtmlfromrev164517trunkLayoutTestsinspectorelementsresourcesdomsearchcrashiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resources/dom-search-crash-iframe.html (from rev 164517, trunk/LayoutTests/inspector/elements/resources/dom-search-crash-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resources/dom-search-crash-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resources/dom-search-crash-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+&lt;script&gt;
+document.documentElement.parentNode.removeChild(document.documentElement);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresourceselementspanelrewritehrefiframehtmlfromrev164517trunkLayoutTestsinspectorelementsresourceselementspanelrewritehrefiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resources/elements-panel-rewrite-href-iframe.html (from rev 164517, trunk/LayoutTests/inspector/elements/resources/elements-panel-rewrite-href-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resources/elements-panel-rewrite-href-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resources/elements-panel-rewrite-href-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;base href=&quot;http://127.0.0.1&quot;&gt;
+&lt;link rel=&quot;stylesheet&quot; src=&quot;stylesheet.css&quot;&gt;
+&lt;script src=&quot;script.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;a href=&quot;target.html&quot;&gt;&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresourceselementspanelstylescssfromrev164517trunkLayoutTestsinspectorelementsresourceselementspanelstylescss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resources/elements-panel-styles.css (from rev 164517, trunk/LayoutTests/inspector/elements/resources/elements-panel-styles.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resources/elements-panel-styles.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resources/elements-panel-styles.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+body {
+    font-size: 12px;
+}
+
+#container {
+    font-family: serif;
+    font-size: 14px;
+    color: red;
+    padding: 2px !important;
+}
+
+#container .foo {
+    font-style: italic !important;
+}
+
+.foo {
+    color: black;
+    margin-left: 1px;
+    margin: 10px 0 2px;
+    border-radius: 5px;
+    font-style: normal !important;
+    font-weight: normal !important;
+    font-weight: bold;
+    padding: 4px;
+    padding-right: 1px;
+}
+
+.foo, .foo::before {
+    content: &quot;[before Foo]&quot;;
+    color: blue;
+    display: block !important;
+}
+
+.foo::before {
+    color: red;
+}
+
+.foo::after {
+    content: &quot;[after Foo]&quot;;
+    color: green;
+}
+.foo::after {
+    font-family: courier;
+    content: &quot;[after Foo 2]&quot;;
+}
+
+.foo {
+    /* Empty rule that should be reported in the Styles pane */
+}
+
+.foo::before {
+    /* Empty rule that should be reported in the Styles pane */
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresourceshideshortcutiframehtmlfromrev164517trunkLayoutTestsinspectorelementsresourceshideshortcutiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resources/hide-shortcut-iframe.html (from rev 164517, trunk/LayoutTests/inspector/elements/resources/hide-shortcut-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resources/hide-shortcut-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resources/hide-shortcut-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;div id=&quot;frame-node&quot;&gt;iframe&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresourceshighlightnodescalediframehtmlfromrev164517trunkLayoutTestsinspectorelementsresourceshighlightnodescalediframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resources/highlight-node-scaled-iframe.html (from rev 164517, trunk/LayoutTests/inspector/elements/resources/highlight-node-scaled-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resources/highlight-node-scaled-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resources/highlight-node-scaled-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+div {
+    margin: 7px;
+    padding: 13px;
+    border: 5px solid black;
+    position: absolute;
+    left: 11px;
+    top: 22px;
+    width: 33px;
+    height: 44px;    
+    background-color: red;
+}
+&lt;/style&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;div id=&quot;div&quot;&gt;&lt;/div&gt;
+&lt;script&gt;
+top.iframeDivElement = document.getElementById(&quot;div&quot;);
+&lt;/script&gt;
+&lt;/body&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresourcessethtmlviaresourceiframehtmlfromrev164517trunkLayoutTestsinspectorelementsresourcessethtmlviaresourceiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resources/set-html-via-resource-iframe.html (from rev 164517, trunk/LayoutTests/inspector/elements/resources/set-html-via-resource-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resources/set-html-via-resource-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resources/set-html-via-resource-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;div&gt;Foo&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsresourcessetouterhtmlbodyiframehtmlfromrev164517trunkLayoutTestsinspectorelementsresourcessetouterhtmlbodyiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/resources/set-outer-html-body-iframe.html (from rev 164517, trunk/LayoutTests/inspector/elements/resources/set-outer-html-body-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/resources/set-outer-html-body-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/resources/set-outer-html-body-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;html id=&quot;html&quot;&gt;
+&lt;head id=&quot;head&quot;&gt;
+&lt;script&gt;
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body id=&quot;body&quot;&gt;
+&lt;div&gt;Foo&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetattributeexpectedtxtfromrev164517trunkLayoutTestsinspectorelementssetattributeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-attribute-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/set-attribute-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-attribute-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-attribute-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+Tests that elements panel updates dom tree structure upon setting attribute.
+
+
+Running: testDumpInitial
+========= Original ========
+  &lt;div id=&quot;node&quot;&gt;&lt;/div&gt;
+
+Running: testAttributeUpdated
+===== On attribute set =====
+  &lt;div id=&quot;node&quot; name=&quot;value&quot;&gt;&lt;/div&gt;
+
+Running: testAttributeSameValueNotUpdated
+===== On attribute modified (should be 'newValue') =====
+  &lt;div id=&quot;node&quot; name=&quot;newValue&quot;&gt;&lt;/div&gt;
+
+Running: testAttributeRemoved
+=== On attribute removed ===
+  &lt;div id=&quot;node&quot;&gt;&lt;/div&gt;
+
+Running: testSetAttributeValue
+=== Set attribute value ===
+  &lt;div id=&quot;node&quot; foo=&quot;bar&quot;&gt;&lt;/div&gt;
+
+Running: testSetAttributeText
+=== Set attribute as text ===
+  &lt;div id=&quot;node&quot; foo2=&quot;baz2&quot; foo3=&quot;baz3&quot;&gt;&lt;/div&gt;
+
+Running: testRemoveAttributeAsText
+=== Remove attribute as text ===
+  &lt;div id=&quot;node&quot; foo2=&quot;baz2&quot;&gt;&lt;/div&gt;
+
+Running: testSetMalformedAttributeText
+Error: Could not parse value as attributes
+=== Set malformed attribute as text ===
+  &lt;div id=&quot;node&quot; foo2=&quot;baz2&quot;&gt;&lt;/div&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetattributenonhtmlexpectedtxtfromrev164517trunkLayoutTestsinspectorelementssetattributenonhtmlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-attribute-non-html-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/set-attribute-non-html-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-attribute-non-html-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-attribute-non-html-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+Tests that elements panel updates dom tree structure upon setting attribute on non HTML elements. PASSes if there is no crash.
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetattributenonhtmlsvgfromrev164517trunkLayoutTestsinspectorelementssetattributenonhtmlsvg"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-attribute-non-html.svg (from rev 164517, trunk/LayoutTests/inspector/elements/set-attribute-non-html.svg) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-attribute-non-html.svg                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-attribute-non-html.svg        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;?xml version=&quot;1.0&quot;?&gt;
+&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
+&lt;foreignObject&gt;
+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;&lt;![CDATA[
+
+function test()
+{
+    var targetNode;
+
+    InspectorTest.runTestSuite([
+        function testDumpInitial(next)
+        {
+            function callback(node)
+            {
+                targetNode = node;
+                next();
+            }
+            InspectorTest.selectNodeWithId(&quot;node&quot;, callback);
+        },
+
+        function testSetAttributeText(next)
+        {
+            function callback(error)
+            {
+                next();
+            }
+            targetNode.setAttribute(&quot;foo&quot;, &quot;foo2='baz2' foo3='baz3'&quot;, callback);
+        }
+    ]);
+}
+]]&gt;
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that elements panel updates dom tree structure upon setting attribute on non HTML elements. PASSes if there is no crash.
+&lt;/p&gt;
+
+&lt;div id=&quot;node&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
+&lt;/foreignObject&gt;
+&lt;/svg&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetattributehtmlfromrev164517trunkLayoutTestsinspectorelementssetattributehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-attribute.html (from rev 164517, trunk/LayoutTests/inspector/elements/set-attribute.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-attribute.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-attribute.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,143 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function setAttribute(name, value)
+{
+    var node = document.getElementById(&quot;node&quot;);
+    node.setAttribute(name, value);
+}
+
+function removeAttribute(name)
+{
+    var node = document.getElementById(&quot;node&quot;);
+    node.removeAttribute(name);
+}
+
+function test()
+{
+    var targetNode;
+
+    InspectorTest.runTestSuite([
+        function testDumpInitial(next)
+        {
+            function callback(node)
+            {
+                targetNode = node;
+                InspectorTest.addResult(&quot;========= Original ========&quot;);
+                InspectorTest.dumpElementsTree(targetNode);
+                next();
+            }
+            InspectorTest.selectNodeWithId(&quot;node&quot;, callback);
+        },
+
+        function testAttributeUpdated(next)
+        {
+            function callback()
+            {
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
+                InspectorTest.addResult(&quot;===== On attribute set =====&quot;);
+                InspectorTest.dumpElementsTree(targetNode);
+                next();
+            }
+            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
+            InspectorTest.evaluateInPage(&quot;setAttribute('name', 'value')&quot;);
+        },
+
+        function testAttributeSameValueNotUpdated(next)
+        {
+            function callback()
+            {
+                InspectorTest.addResult(&quot;===== On attribute modified (should be 'newValue') =====&quot;);
+                InspectorTest.dumpElementsTree(targetNode);
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
+                next();
+            }
+            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
+            // Setting the same property value should not result in the AttrModified event.
+            InspectorTest.evaluateInPage(&quot;setAttribute('name', 'value')&quot;);
+            InspectorTest.evaluateInPage(&quot;setAttribute('name', 'value')&quot;);
+            InspectorTest.evaluateInPage(&quot;setAttribute('name', 'newValue')&quot;);
+        },
+
+        function testAttributeRemoved(next)
+        {
+            function callback()
+            {
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
+                InspectorTest.addResult(&quot;=== On attribute removed ===&quot;);
+                InspectorTest.dumpElementsTree(targetNode);
+                next();
+            }
+            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
+            InspectorTest.evaluateInPage(&quot;removeAttribute('name')&quot;);
+        },
+
+        function testSetAttributeValue(next)
+        {
+            function callback()
+            {
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
+                InspectorTest.addResult(&quot;=== Set attribute value ===&quot;);
+                InspectorTest.dumpElementsTree(targetNode);
+                next();
+            }
+            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
+            targetNode.setAttributeValue(&quot;foo&quot;, &quot;bar&quot;);
+        },
+
+        function testSetAttributeText(next)
+        {
+            function callback()
+            {
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
+                InspectorTest.addResult(&quot;=== Set attribute as text ===&quot;);
+                InspectorTest.dumpElementsTree(targetNode);
+                next();
+            }
+            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
+            targetNode.setAttribute(&quot;foo&quot;, &quot;foo2='baz2' foo3='baz3'&quot;);
+        },
+
+        function testRemoveAttributeAsText(next)
+        {
+            function callback()
+            {
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
+                InspectorTest.addResult(&quot;=== Remove attribute as text ===&quot;);
+                InspectorTest.dumpElementsTree(targetNode);
+                next();
+            }
+            WebInspector.domAgent.addEventListener(WebInspector.DOMAgent.Events.AttrRemoved, callback);
+            targetNode.setAttribute(&quot;foo3&quot;, &quot;&quot;);
+        },
+
+        function testSetMalformedAttributeText(next)
+        {
+            function callback(error)
+            {
+                InspectorTest.addResult(&quot;Error: &quot; + error);
+                WebInspector.domAgent.removeEventListener(WebInspector.DOMAgent.Events.AttrModified, callback);
+                InspectorTest.addResult(&quot;=== Set malformed attribute as text ===&quot;);
+                InspectorTest.dumpElementsTree(targetNode);
+                next();
+            }
+            targetNode.setAttribute(&quot;foo2&quot;, &quot;foo2='missingquote&quot;, callback);
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that elements panel updates dom tree structure upon setting attribute.
+&lt;/p&gt;
+
+&lt;div id=&quot;node&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtml2expectedtxtfromrev164517trunkLayoutTestsinspectorelementssetouterhtml2expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-2-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html-2-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-2-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-2-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,220 @@
</span><ins>+Tests DOMAgent.setOuterHTML protocol method (part 2).
+
+Additional node
+
+Running: testSetUp
+
+Running: testChangeMultipleThings
+Wrapper identity: identity
+Event AttrModified: H2
+Event AttrModified: H2
+Event NodeInserted: UL
+Event NodeRemoved: UL
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2 foo=&quot;bar&quot; bar=&quot;baz&quot;&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event AttrRemoved: H2
+Event AttrRemoved: H2
+Event CharacterDataModified: 
+Event NodeInserted: LI
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testChangeNestingLevel
+Wrapper identity: identity
+Event NodeInserted: DIV
+Event NodeRemoved: UL
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;div&gt;&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;&lt;/div&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: UL
+Event NodeRemoved: DIV
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testSwapNodes
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeInserted: P
+Event NodeInserted: UL
+Event NodeInserted: UL
+Event NodeRemoved: H2
+Event NodeRemoved: P
+Event NodeRemoved: UL
+Event NodeRemoved: UL
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testEditTwoRoots
+Wrapper identity: identity
+Event NodeInserted: DIV
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testDupeNode
+Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;'
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeInserted: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtml2htmlfromrev164517trunkLayoutTestsinspectorelementssetouterhtml2html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-2.html (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html-2.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-2.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-2.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.setUpTestSuite(next);
+        },
+
+        function testChangeMultipleThings(next)
+        {
+            var text = InspectorTest.containerText.replace(/&lt;li&gt;.*&lt;\/li&gt;/, &quot;&quot;);
+            text = text.replace(&quot;&lt;h2&gt;&quot;, &quot;&lt;h2 foo=\&quot;bar\&quot; bar=\&quot;baz\&quot;&gt;&quot;);
+            InspectorTest.setOuterHTML(text, next);
+        },
+
+        function testChangeNestingLevel(next)
+        {
+            var text = InspectorTest.containerText.replace(&quot;&lt;ul&gt;&quot;, &quot;&lt;div&gt;&lt;ul&gt;&quot;);
+            var text = text.replace(&quot;&lt;/ul&gt;&quot;, &quot;&lt;/ul&gt;&lt;/div&gt;&quot;);
+            InspectorTest.setOuterHTML(text, next);
+        },
+
+        function testSwapNodes(next)
+        {
+            var text = InspectorTest.containerText.replace(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&quot;);
+            var text = text.replace(&quot;&lt;/div&gt;&quot;, &quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;/div&gt;&quot;);
+            InspectorTest.setOuterHTML(text, next);
+        },
+
+        function testEditTwoRoots(next)
+        {
+            var text = InspectorTest.containerText + &quot;&lt;div&gt;Additional node&lt;/div&gt;&quot;;
+            InspectorTest.setOuterHTML(text, next);
+        },
+
+        function testDupeNode(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, next);
+        }
+    ]);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests DOMAgent.setOuterHTML protocol method (part 2).
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtmlbodyexpectedtxtfromrev164517trunkLayoutTestsinspectorelementssetouterhtmlbodyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-body-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html-body-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-body-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-body-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+Tests DOMAgent.setOuterHTML invoked on body tag. See https://bugs.webkit.org/show_bug.cgi?id=62272. 
+
+
+Running: testSetUp
+
+Running: testSetBody
+&lt;html id=&quot;html&quot;&gt;&lt;head id=&quot;head&quot;&gt;
+&lt;script&gt;
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;New body content&lt;/body&gt;&lt;/html&gt;
+
+Running: testInsertComments
+&lt;html id=&quot;html&quot;&gt;&lt;head id=&quot;head&quot;&gt;
+&lt;script&gt;
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;!-- new comment between head and body --&gt;&lt;body&gt;New body content&lt;/body&gt;&lt;/html&gt;
+
+Running: testSetHead
+&lt;html id=&quot;html&quot;&gt;&lt;head&gt;&lt;!-- new head content --&gt;&lt;/head&gt;
+&lt;!-- new comment between head and body --&gt;&lt;body&gt;New body content&lt;/body&gt;&lt;/html&gt;
+
+Running: testSetHTML
+&lt;html&gt;&lt;head&gt;&lt;!-- new head content --&gt;&lt;/head&gt;&lt;body&gt;Setting body as a part of HTML.&lt;/body&gt;&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtmlbodyhtmlfromrev164517trunkLayoutTestsinspectorelementssetouterhtmlbodyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-body.html (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html-body.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-body.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-body.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,71 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var htmlNode;
+    var bodyNode;
+    var headNode;
+
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.expandElementsTree(step1);
+            function step1()
+            {
+                htmlNode = InspectorTest.expandedNodeWithId(&quot;html&quot;);
+                headNode = InspectorTest.expandedNodeWithId(&quot;head&quot;);
+                bodyNode = InspectorTest.expandedNodeWithId(&quot;body&quot;);
+                next();
+            }
+        },
+
+        function testSetBody(next)
+        {
+            DOMAgent.setOuterHTML(bodyNode.id, &quot;&lt;body&gt;New body content&lt;/body&gt;&quot;, dumpHTML(next));
+        },
+
+        function testInsertComments(next)
+        {
+            DOMAgent.setOuterHTML(bodyNode.id, &quot;&lt;!-- new comment between head and body --&gt;&lt;body&gt;New body content&lt;/body&gt;&quot;, dumpHTML(next));
+        },
+
+        function testSetHead(next)
+        {
+            DOMAgent.setOuterHTML(headNode.id, &quot;&lt;head&gt;&lt;!-- new head content --&gt;&lt;/head&gt;&quot;, dumpHTML(next));
+        },
+
+         function testSetHTML(next)
+        {
+            DOMAgent.setOuterHTML(htmlNode.id, &quot;&lt;html&gt;&lt;head&gt;&lt;!-- new head content --&gt;&lt;/head&gt;&lt;body&gt;Setting body as a part of HTML.&lt;/body&gt;&lt;/html&gt;&quot;, dumpHTML(next));
+        }
+    ]);
+
+    function dumpHTML(next)
+    {
+        function dump()
+        {
+            DOMAgent.getOuterHTML(htmlNode.id, callback);
+            function callback(error, text)
+            {
+                InspectorTest.addResult(error ? error : text);
+                next();
+            }
+        }
+        return dump;
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Tests DOMAgent.setOuterHTML invoked on body tag. See https://bugs.webkit.org/show_bug.cgi?id=62272.
+&lt;iframe src=&quot;resources/set-outer-html-body-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtmlexpectedtxtfromrev164517trunkLayoutTestsinspectorelementssetouterhtmlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,160 @@
</span><ins>+Tests DOMAgent.setOuterHTML protocol method.
+
+
+Running: testSetUp
+
+Running: testChangeCharacterData
+Replacing 'Getting involved' with 'Getting not involved'
+
+Wrapper identity: identity
+Event CharacterDataModified: 
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting not involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event CharacterDataModified: 
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testChangeAttributes
+Replacing '&lt;a href' with '&lt;a foo=&quot;bar&quot; href'
+
+Wrapper identity: identity
+Event AttrModified: A
+Event AttrModified: A
+Event AttrRemoved: A
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a foo=&quot;bar&quot; href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event AttrModified: A
+Event AttrRemoved: A
+Event AttrRemoved: A
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testRemoveLastChild
+Replacing 'Getting involved' with ''
+
+Wrapper identity: identity
+Event NodeRemoved: 
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: 
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testSplitNode
+Replacing 'Getting involved' with 'Getting&lt;/h2&gt;&lt;h2&gt;involved'
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeInserted: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting&lt;/h2&gt;&lt;h2&gt;involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeRemoved: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testChangeNodeName
+Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h3&gt;Getting involved&lt;/h3&gt;'
+
+Wrapper identity: identity
+Event NodeInserted: H3
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h3&gt;Getting involved&lt;/h3&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeRemoved: H3
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtmlforxhtmlexpectedtxtfromrev164517trunkLayoutTestsinspectorelementssetouterhtmlforxhtmlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-for-xhtml-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-for-xhtml-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-for-xhtml-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,165 @@
</span><ins>+Tests DOMAgent.setOuterHTML protocol method against an XHTML document.
+
+
+Running: testSetUp
+
+Running: testChangeCharacterData
+Replacing 'Getting involved' with 'Getting not involved'
+
+Wrapper identity: identity
+Event AttrModified: div
+Event AttrModified: div
+Event AttrModified: div
+Event AttrRemoved: div
+Event AttrRemoved: div
+Event CharacterDataModified: 
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting not involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event CharacterDataModified: 
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testChangeAttributes
+Replacing '&lt;a href' with '&lt;a foo=&quot;bar&quot; href'
+
+Wrapper identity: identity
+Event AttrModified: a
+Event AttrModified: a
+Event AttrRemoved: a
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a foo=&quot;bar&quot; href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event AttrModified: a
+Event AttrRemoved: a
+Event AttrRemoved: a
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testRemoveLastChild
+Replacing 'Getting involved' with ''
+
+Wrapper identity: identity
+Event NodeRemoved: 
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: 
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testSplitNode
+Replacing 'Getting involved' with 'Getting&lt;/h2&gt;&lt;h2&gt;involved'
+
+Wrapper identity: identity
+Event NodeInserted: h2
+Event NodeInserted: h2
+Event NodeRemoved: h2
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting&lt;/h2&gt;&lt;h2&gt;involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: h2
+Event NodeRemoved: h2
+Event NodeRemoved: h2
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testChangeNodeName
+Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h3&gt;Getting involved&lt;/h3&gt;'
+
+Wrapper identity: identity
+Event NodeInserted: h3
+Event NodeRemoved: h2
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h3&gt;Getting involved&lt;/h3&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: h2
+Event NodeRemoved: h3
+==========8&lt;==========
+&lt;div xmlns=&quot;http://www.w3.org/1999/xhtml&quot; id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtmlforxhtmlxhtmlfromrev164517trunkLayoutTestsinspectorelementssetouterhtmlforxhtmlxhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-for-xhtml.xhtml (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html-for-xhtml.xhtml) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-for-xhtml.xhtml                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-for-xhtml.xhtml        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,66 @@
</span><ins>+&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
+&lt;head&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+//&lt;![CDATA[
+
+function onload()
+{
+    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.setUpTestSuite(next);
+        },
+
+        function testChangeCharacterData(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;Getting not involved&quot;, next);
+        },
+
+        function testChangeAttributes(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;&lt;a href&quot;, &quot;&lt;a foo=\&quot;bar\&quot; href&quot;, next);
+        },
+
+        function testRemoveLastChild(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;&quot;, next);
+        },
+
+        function testSplitNode(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;Getting&lt;/h2&gt;&lt;h2&gt;involved&quot;, next);
+        },
+
+        function testChangeNodeName(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h3&gt;Getting involved&lt;/h3&gt;&quot;, next);
+        }
+    ]);
+}
+//]]&gt;
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests DOMAgent.setOuterHTML protocol method against an XHTML document.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtmltestjsfromrev164517trunkLayoutTestsinspectorelementssetouterhtmltestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-test.js (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,111 @@
</span><ins>+var initialize_SetOuterHTMLTest = function() {
+
+InspectorTest.events = [];
+InspectorTest.containerId;
+
+InspectorTest.setUpTestSuite = function(next)
+{
+    InspectorTest.expandElementsTree(step1);
+
+    function step1()
+    {
+        InspectorTest.selectNodeWithId(&quot;container&quot;, step2);
+    }
+
+    function step2(node)
+    {
+        InspectorTest.containerId = node.id;
+        DOMAgent.getOuterHTML(InspectorTest.containerId, step3);
+    }
+
+    function step3(error, text)
+    {
+        InspectorTest.containerText = text;
+
+        for (var key in WebInspector.DOMAgent.Events) {
+            var eventName = WebInspector.DOMAgent.Events[key];
+            WebInspector.domAgent.addEventListener(eventName, InspectorTest.recordEvent.bind(InspectorTest, eventName));
+        }
+
+        next();
+    }
+}
+
+InspectorTest.recordEvent = function(eventName, event)
+{
+    if (!event.data)
+        return;
+    var node = event.data.node || event.data;
+    var parent = event.data.parent;
+    for (var currentNode = parent || node; currentNode; currentNode = currentNode.parentNode) {
+        if (currentNode.getAttribute(&quot;id&quot;) === &quot;output&quot;)
+            return;
+    }
+    InspectorTest.events.push(&quot;Event &quot; + eventName + &quot;: &quot; + node.nodeName());
+}
+
+InspectorTest.patchOuterHTML = function(pattern, replacement, next)
+{
+    InspectorTest.addResult(&quot;Replacing '&quot; + pattern + &quot;' with '&quot; + replacement + &quot;'\n&quot;);
+    InspectorTest.setOuterHTML(InspectorTest.containerText.replace(pattern, replacement), next);
+}
+
+InspectorTest.patchOuterHTMLUseUndo = function(pattern, replacement, next)
+{
+    InspectorTest.addResult(&quot;Replacing '&quot; + pattern + &quot;' with '&quot; + replacement + &quot;'\n&quot;);
+    InspectorTest.setOuterHTMLUseUndo(InspectorTest.containerText.replace(pattern, replacement), next);
+}
+
+InspectorTest.setOuterHTML = function(newText, next)
+{
+    InspectorTest.innerSetOuterHTML(newText, false, bringBack);
+
+    function bringBack()
+    {
+        InspectorTest.addResult(&quot;\nBringing things back\n&quot;);
+        InspectorTest.innerSetOuterHTML(InspectorTest.containerText, true, next);
+    }
+}
+
+InspectorTest.setOuterHTMLUseUndo = function(newText, next)
+{
+    InspectorTest.innerSetOuterHTML(newText, false, bringBack);
+
+    function bringBack()
+    {
+        InspectorTest.addResult(&quot;\nBringing things back\n&quot;);
+        WebInspector.domAgent.undo(InspectorTest._dumpOuterHTML.bind(InspectorTest, true, next));
+    }
+}
+
+InspectorTest.innerSetOuterHTML = function(newText, last, next)
+{
+    DOMAgent.setOuterHTML(InspectorTest.containerId, newText, InspectorTest._dumpOuterHTML.bind(InspectorTest, last, next));
+}
+
+InspectorTest._dumpOuterHTML = function(last, next)
+{
+    RuntimeAgent.evaluate(&quot;document.getElementById(\&quot;identity\&quot;).wrapperIdentity&quot;, dumpIdentity);
+    function dumpIdentity(error, result)
+    {
+        InspectorTest.addResult(&quot;Wrapper identity: &quot; + result.value);
+        InspectorTest.events.sort();
+        for (var i = 0; i &lt; InspectorTest.events.length; ++i)
+            InspectorTest.addResult(InspectorTest.events[i]);
+        InspectorTest.events = [];
+    }
+
+    DOMAgent.getOuterHTML(InspectorTest.containerId, callback);
+
+    function callback(error, text)
+    {
+        InspectorTest.addResult(&quot;==========8&lt;==========&quot;);
+        InspectorTest.addResult(text);
+        InspectorTest.addResult(&quot;==========&gt;8==========&quot;);
+        if (last)
+            InspectorTest.addResult(&quot;\n\n\n&quot;);
+        next();
+    }
+}
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementssetouterhtmlhtmlfromrev164517trunkLayoutTestsinspectorelementssetouterhtmlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/set-outer-html.html (from rev 164517, trunk/LayoutTests/inspector/elements/set-outer-html.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/set-outer-html.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/set-outer-html.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.setUpTestSuite(next);
+        },
+
+        function testChangeCharacterData(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;Getting not involved&quot;, next);
+        },
+
+        function testChangeAttributes(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;&lt;a href&quot;, &quot;&lt;a foo=\&quot;bar\&quot; href&quot;, next);
+        },
+
+        function testRemoveLastChild(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;&quot;, next);
+        },
+
+        function testSplitNode(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;Getting involved&quot;, &quot;Getting&lt;/h2&gt;&lt;h2&gt;involved&quot;, next);
+        },
+
+        function testChangeNodeName(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h3&gt;Getting involved&lt;/h3&gt;&quot;, next);
+        }
+    ]);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests DOMAgent.setOuterHTML protocol method.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/a&gt;.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsundosetouterhtml2expectedtxtfromrev164517trunkLayoutTestsinspectorelementsundosetouterhtml2expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-2-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/undo-set-outer-html-2-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-2-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-2-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,214 @@
</span><ins>+Tests undo for the DOMAgent.setOuterHTML protocol method (part 2).
+
+
+Running: testSetUp
+
+Running: testChangeMultipleThings
+Wrapper identity: identity
+Event AttrModified: H2
+Event AttrModified: H2
+Event NodeInserted: UL
+Event NodeRemoved: UL
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2 foo=&quot;bar&quot; bar=&quot;baz&quot;&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event AttrRemoved: H2
+Event AttrRemoved: H2
+Event NodeInserted: UL
+Event NodeRemoved: UL
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testChangeNestingLevel
+Wrapper identity: identity
+Event NodeInserted: DIV
+Event NodeRemoved: UL
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;div&gt;&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;&lt;/div&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: UL
+Event NodeRemoved: DIV
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testSwapNodes
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testEditTwoRoots
+Wrapper identity: identity
+Event NodeInserted: DIV
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeRemoved: DIV
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testDupeNode
+Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;'
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeInserted: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsundosetouterhtml2htmlfromrev164517trunkLayoutTestsinspectorelementsundosetouterhtml2html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-2.html (from rev 164517, trunk/LayoutTests/inspector/elements/undo-set-outer-html-2.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-2.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-2.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.setUpTestSuite(next);
+        },
+
+        function testChangeMultipleThings(next)
+        {
+            var text = InspectorTest.containerText.replace(/&lt;li&gt;.*&lt;\/li&gt;/, &quot;&quot;);
+            text = text.replace(&quot;&lt;h2&gt;&quot;, &quot;&lt;h2 foo=\&quot;bar\&quot; bar=\&quot;baz\&quot;&gt;&quot;);
+            InspectorTest.setOuterHTMLUseUndo(text, next);
+        },
+
+        function testChangeNestingLevel(next)
+        {
+            var text = InspectorTest.containerText.replace(&quot;&lt;ul&gt;&quot;, &quot;&lt;div&gt;&lt;ul&gt;&quot;);
+            var text = text.replace(&quot;&lt;/ul&gt;&quot;, &quot;&lt;/ul&gt;&lt;/div&gt;&quot;);
+            InspectorTest.setOuterHTMLUseUndo(text, next);
+        },
+
+        function testSwapNodes(next)
+        {
+            var text = InspectorTest.containerText.replace(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&quot;);
+            var text = text.replace(&quot;&lt;/div&gt;&quot;, &quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;/div&gt;&quot;);
+            InspectorTest.setOuterHTMLUseUndo(text, next);
+        },
+
+        function testEditTwoRoots(next)
+        {
+            var text = InspectorTest.containerText + &quot;&lt;div&gt;Additional node&lt;/div&gt;&quot;;
+            InspectorTest.setOuterHTMLUseUndo(text, next);
+        },
+
+        function testDupeNode(next)
+        {
+            InspectorTest.patchOuterHTML(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, next);
+        }
+    ]);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests undo for the DOMAgent.setOuterHTML protocol method (part 2).
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;ul&gt;
+   &lt;li&gt;&lt;/li&gt;
+&lt;/ul&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsundosetouterhtmlexpectedtxtfromrev164517trunkLayoutTestsinspectorelementsundosetouterhtmlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-expected.txt (from rev 164517, trunk/LayoutTests/inspector/elements/undo-set-outer-html-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,160 @@
</span><ins>+Tests undo for the DOMAgent.setOuterHTML protocol method.
+
+
+Running: testSetUp
+
+Running: testChangeCharacterData
+Replacing 'Getting involved' with 'Getting not involved'
+
+Wrapper identity: identity
+Event CharacterDataModified: 
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting not involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event CharacterDataModified: 
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testChangeAttributes
+Replacing '&lt;a href' with '&lt;a foo=&quot;bar&quot; href'
+
+Wrapper identity: identity
+Event AttrModified: A
+Event AttrModified: A
+Event AttrRemoved: A
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a foo=&quot;bar&quot; href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event AttrModified: A
+Event AttrRemoved: A
+Event AttrRemoved: A
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testRemoveLastChild
+Replacing 'Getting involved' with ''
+
+Wrapper identity: identity
+Event NodeRemoved: 
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: 
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testSplitNode
+Replacing 'Getting involved' with 'Getting&lt;/h2&gt;&lt;h2&gt;involved'
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeInserted: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting&lt;/h2&gt;&lt;h2&gt;involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeRemoved: H2
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
+Running: testChangeNodeName
+Replacing '&lt;h2&gt;Getting involved&lt;/h2&gt;' with '&lt;h3&gt;Getting involved&lt;/h3&gt;'
+
+Wrapper identity: identity
+Event NodeInserted: H3
+Event NodeRemoved: H2
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h3&gt;Getting involved&lt;/h3&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+Bringing things back
+
+Wrapper identity: identity
+Event NodeInserted: H2
+Event NodeRemoved: H3
+==========8&lt;==========
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc..&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+==========&gt;8==========
+
+
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteelementsundosetouterhtmlhtmlfromrev164517trunkLayoutTestsinspectorelementsundosetouterhtmlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html.html (from rev 164517, trunk/LayoutTests/inspector/elements/undo-set-outer-html.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/elements/undo-set-outer-html.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;set-outer-html-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    document.getElementById(&quot;identity&quot;).wrapperIdentity = &quot;identity&quot;;
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.setUpTestSuite(next);
+        },
+
+        function testChangeCharacterData(next)
+        {
+            InspectorTest.patchOuterHTMLUseUndo(&quot;Getting involved&quot;, &quot;Getting not involved&quot;, next);
+        },
+
+        function testChangeAttributes(next)
+        {
+            InspectorTest.patchOuterHTMLUseUndo(&quot;&lt;a href&quot;, &quot;&lt;a foo=\&quot;bar\&quot; href&quot;, next);
+        },
+
+        function testRemoveLastChild(next)
+        {
+            InspectorTest.patchOuterHTMLUseUndo(&quot;Getting involved&quot;, &quot;&quot;, next);
+        },
+
+        function testSplitNode(next)
+        {
+            InspectorTest.patchOuterHTMLUseUndo(&quot;Getting involved&quot;, &quot;Getting&lt;/h2&gt;&lt;h2&gt;involved&quot;, next);
+        },
+
+        function testChangeNodeName(next)
+        {
+            InspectorTest.patchOuterHTMLUseUndo(&quot;&lt;h2&gt;Getting involved&lt;/h2&gt;&quot;, &quot;&lt;h3&gt;Getting involved&lt;/h3&gt;&quot;, next);
+        }
+    ]);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests undo for the DOMAgent.setOuterHTML protocol method.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;display:none&quot;&gt;
+&lt;p&gt;WebKit is used by &lt;a href=&quot;http://www.apple.com/safari/&quot;&gt;Safari&lt;/a&gt;, Dashboard, etc.&lt;/a&gt;.&lt;/p&gt;
+&lt;h2&gt;Getting involved&lt;/h2&gt;
+&lt;p id=&quot;identity&quot;&gt;There are many ways to get involved. You can:&lt;/p&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheappcacheiframemanifestsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorappcacheappcacheiframemanifestsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-iframe-manifests-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-iframe-manifests-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-iframe-manifests-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,81 @@
</span><ins>+Tests that application cache model keeps track of manifest urls and statuses correctly.
+
+Bug 64581
+Dumping application cache tree:
+    (empty)
+Dumping application cache model:
+    (empty)
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        Frame: frame1 (page-with-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        status:       IDLE
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        Frame: frame1 (page-with-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        status:       IDLE
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        Frame: frame1 (page-with-manifest.php)
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        Frame: frame2 (page-with-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        status:       IDLE
+    Frame: frame2
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        status:       IDLE
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        Frame: frame1 (page-with-manifest.php)
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        Frame: frame2 (page-with-manifest.php)
+        Frame: frame3 (page-with-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        status:       IDLE
+    Frame: frame2
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        status:       IDLE
+    Frame: frame3
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        status:       IDLE
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        Frame: frame1 (page-with-manifest.php)
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        Frame: frame2 (page-with-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        status:       IDLE
+    Frame: frame2
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=1
+        status:       IDLE
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        Frame: frame1 (page-with-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/manifest.php?manifestId=2
+        status:       IDLE
+
+Dumping application cache tree:
+    (empty)
+Dumping application cache model:
+    (empty)
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheappcacheiframemanifestshtmlfromrev164517trunkLayoutTestshttptestsinspectorappcacheappcacheiframemanifestshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-iframe-manifests.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/appcache-iframe-manifests.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-iframe-manifests.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-iframe-manifests.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,107 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;appcache-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var frameId1;
+    var frameId2;
+    var frameId3;
+
+    WebInspector.showPanel(&quot;resources&quot;);
+    InspectorTest.dumpApplicationCache();
+    InspectorTest.createAndNavigateIFrame(&quot;resources/page-with-manifest.php?manifestId=1&quot;, step1);
+
+    function step1(frameId)
+    {
+        frameId1 = frameId;
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;manifest.php?manifestId=1&quot;, applicationCache.IDLE, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.navigateIFrame(frameId1, &quot;resources/page-with-manifest.php?manifestId=2&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;manifest.php?manifestId=2&quot;, applicationCache.IDLE, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.createAndNavigateIFrame(&quot;resources/page-with-manifest.php?manifestId=1&quot;, step5);
+    }
+
+    function step5(frameId)
+    {
+        frameId2 = frameId;
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId2, &quot;manifest.php?manifestId=1&quot;, applicationCache.IDLE, step6);
+    }
+
+    function step6()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.createAndNavigateIFrame(&quot;resources/page-with-manifest.php?manifestId=1&quot;, step7);
+    }
+
+    function step7(frameId)
+    {
+        frameId3 = frameId;
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId3, &quot;manifest.php?manifestId=1&quot;, applicationCache.IDLE, step8);
+    }
+
+    function step8()
+    {
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId2, &quot;manifest.php?manifestId=1&quot;, applicationCache.IDLE, step9);
+    }
+
+    function step9()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.removeIFrame(frameId3, step10);
+    }
+
+    function step10()
+    {
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId3, &quot;&quot;, applicationCache.UNCACHED, step11);
+    }
+
+    function step11()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.removeIFrame(frameId2, step12);
+    }
+
+    function step12()
+    {
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId2, &quot;&quot;, applicationCache.UNCACHED, step13);
+    }
+
+    function step13()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.removeIFrame(frameId1, step14);
+    }
+
+    function step14()
+    {
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;&quot;, applicationCache.UNCACHED, step15);
+    }
+
+    function step15()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that application cache model keeps track of manifest urls and statuses correctly.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=64581&quot;&gt;Bug 64581&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheappcachemanifestwithnonexistingfileexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorappcacheappcachemanifestwithnonexistingfileexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-manifest-with-non-existing-file-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-manifest-with-non-existing-file-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-manifest-with-non-existing-file-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+CONSOLE MESSAGE: Application Cache update failed, because http://127.0.0.1:8000/inspector/appcache/resources/non-existing-file could not be fetched.
+Tests that application cache model keeps track of manifest urls and statuses correctly when there is a non existing file listed in manifest.
+
+Bug 64581
+Dumping application cache tree:
+    (empty)
+Dumping application cache model:
+    (empty)
+
+Dumping application cache tree:
+    (empty)
+Dumping application cache model:
+    (empty)
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheappcachemanifestwithnonexistingfilehtmlfromrev164517trunkLayoutTestshttptestsinspectorappcacheappcachemanifestwithnonexistingfilehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-manifest-with-non-existing-file.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/appcache-manifest-with-non-existing-file.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-manifest-with-non-existing-file.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-manifest-with-non-existing-file.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;appcache-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var frameId1;
+    var frameId2;
+    var frameId3;
+
+    WebInspector.showPanel(&quot;resources&quot;);
+    InspectorTest.startApplicationCacheStatusesRecording();
+    InspectorTest.dumpApplicationCache();
+    InspectorTest.createAndNavigateIFrame(&quot;resources/page-with-manifest.php?manifestId=with-non-existing-file&quot;, step1);
+
+    function step1(frameId)
+    {
+        frameId1 = frameId;
+        // Waiting for at least two status events notifications from backend, to make sure
+        // we are not completing test before loading application cache.
+        InspectorTest.ensureFrameStatusEventsReceived(frameId, 2, step2)
+    }
+
+    function step2()
+    {
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;&quot;, applicationCache.UNCACHED, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that application cache model keeps track of manifest urls and statuses correctly when there is a non existing file listed in manifest.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=64581&quot;&gt;Bug 64581&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheappcacheswapexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorappcacheappcacheswapexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-swap-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-swap-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-swap-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests that application cache model keeps track of manifest urls and statuses correctly after UPDATEREADY event and swapCache() call.
+
+Bug 72123
+Dumping application cache tree:
+    (empty)
+Dumping application cache model:
+    (empty)
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
+        Frame: frame1 (with-versioned-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
+        status:       IDLE
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
+        Frame: frame1 (with-versioned-manifest.php)
+        Frame: frame2 (with-versioned-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
+        status:       UPDATEREADY
+    Frame: frame2
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
+        status:       UPDATEREADY
+
+Dumping application cache tree:
+    Manifest URL: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
+        Frame: frame1 (with-versioned-manifest.php)
+        Frame: frame2 (with-versioned-manifest.php)
+Dumping application cache model:
+    Frame: frame1
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
+        status:       IDLE
+    Frame: frame2
+        manifest url: http://127.0.0.1:8000/inspector/appcache/resources/versioned-manifest.php
+        status:       UPDATEREADY
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheappcacheswaphtmlfromrev164517trunkLayoutTestshttptestsinspectorappcacheappcacheswaphtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-swap.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/appcache-swap.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-swap.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-swap.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;appcache-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var frameId1;
+    var frameId2;
+
+    WebInspector.showPanel(&quot;resources&quot;);
+    InspectorTest.startApplicationCacheStatusesRecording();
+    InspectorTest.dumpApplicationCache();
+    InspectorTest.createAndNavigateIFrame(&quot;resources/with-versioned-manifest.php&quot;, step1);
+
+    function step1(frameId)
+    {
+        frameId1 = frameId;
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;resources/versioned-manifest.php&quot;, applicationCache.IDLE, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/versioned-manifest.php?command=step&quot;, true, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.createAndNavigateIFrame(&quot;resources/with-versioned-manifest.php&quot;, step4);
+    }
+
+    function step4(frameId)
+    {
+        frameId2 = frameId;
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;resources/versioned-manifest.php&quot;, applicationCache.UPDATEREADY, step5);
+    }
+
+    function step5(frameId)
+    {
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId2, &quot;resources/versioned-manifest.php&quot;, applicationCache.UPDATEREADY, step6);
+    }
+
+    function step6()
+    {
+        InspectorTest.dumpApplicationCache();
+
+        InspectorTest.swapFrameCache(frameId1);
+        InspectorTest.waitForFrameManifestURLAndStatus(frameId1, &quot;resources/versioned-manifest.php&quot;, applicationCache.IDLE, step7);
+    }
+
+    function step7()
+    {
+        InspectorTest.dumpApplicationCache();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that application cache model keeps track of manifest urls and statuses correctly after UPDATEREADY event and swapCache() call.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=72123&quot;&gt;Bug 72123&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheappcachetestjsfromrev164517trunkLayoutTestshttptestsinspectorappcacheappcachetestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/appcache-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/appcache-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,210 @@
</span><ins>+var framesCount = 0;
+
+function createAndNavigateIFrame(url)
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.src = url;
+    iframe.name = &quot;frame&quot; + ++framesCount;
+    iframe.id = iframe.name;
+    document.body.appendChild(iframe);
+}
+
+function removeIFrame(name)
+{
+    var iframe = document.querySelector(&quot;#&quot; + name);
+    iframe.parentElement.removeChild(iframe);
+}
+
+function navigateIFrame(name, url)
+{
+    var iframe = document.querySelector(&quot;#&quot; + name);
+    iframe.src = url;
+}
+
+function swapFrameCache(name)
+{
+    var iframe = document.querySelector(&quot;#&quot; + name);
+    iframe.contentWindow.applicationCache.swapCache();
+}
+
+var initialize_ApplicationCacheTest = function() {
+
+InspectorTest.createAndNavigateIFrame = function(url, callback)
+{
+    InspectorTest.addSniffer(WebInspector.ResourceTreeModel.prototype, &quot;_frameNavigated&quot;, frameNavigated);
+    InspectorTest.evaluateInPage(&quot;createAndNavigateIFrame(unescape('&quot; + escape(url) + &quot;'))&quot;);
+
+    function frameNavigated(frame)
+    {
+        callback(frame.id);
+    }
+}
+
+InspectorTest.navigateIFrame = function(frameId, url, callback)
+{
+    var frame = WebInspector.resourceTreeModel.frameForId(frameId)
+    InspectorTest.evaluateInPage(&quot;navigateIFrame(unescape('&quot; + escape(frame.name) +&quot;'), unescape('&quot; + escape(url) + &quot;'))&quot;);
+    InspectorTest.addSniffer(WebInspector.ResourceTreeModel.prototype, &quot;_frameNavigated&quot;, frameNavigated);
+
+    function frameNavigated(frame)
+    {
+        callback(frame.id);
+    }
+}
+
+InspectorTest.removeIFrame = function(frameId, callback)
+{
+    var frame = WebInspector.resourceTreeModel.frameForId(frameId)
+    InspectorTest.evaluateInPage(&quot;removeIFrame(unescape('&quot; + escape(frame.name) +&quot;'))&quot;);
+    InspectorTest.addSniffer(WebInspector.ResourceTreeModel.prototype, &quot;_frameDetached&quot;, frameDetached);
+
+    function frameDetached(frame)
+    {
+        callback(frame.id);
+    }
+}
+
+InspectorTest.swapFrameCache = function(frameId)
+{
+    var frame = WebInspector.resourceTreeModel.frameForId(frameId);
+    InspectorTest.evaluateInPage(&quot;swapFrameCache(unescape('&quot; + escape(frame.name) +&quot;'))&quot;);
+}
+
+
+InspectorTest.dumpApplicationCache = function()
+{
+    InspectorTest.dumpApplicationCacheTree();
+    InspectorTest.dumpApplicationCacheModel();
+    InspectorTest.addResult(&quot;&quot;);
+}
+
+InspectorTest.dumpApplicationCacheTree = function()
+{
+    InspectorTest.addResult(&quot;Dumping application cache tree:&quot;);
+    var applicationCacheTreeElement = WebInspector.panels.resources.applicationCacheListTreeElement;
+    if (!applicationCacheTreeElement.children.length) {
+        InspectorTest.addResult(&quot;    (empty)&quot;);
+        return;
+    }
+    for (var i = 0; i &lt; applicationCacheTreeElement.children.length; ++i) {
+        var manifestTreeElement = applicationCacheTreeElement.children[i];
+        InspectorTest.addResult(&quot;    Manifest URL: &quot; + manifestTreeElement.manifestURL);
+        if (!manifestTreeElement.children.length) {
+            InspectorTest.addResult(&quot;    (no frames)&quot;);
+            continue;
+        }
+        for (var j = 0; j &lt; manifestTreeElement.children.length; ++j) {
+            var frameTreeElement = manifestTreeElement.children[j];
+            InspectorTest.addResult(&quot;        Frame: &quot; + frameTreeElement.displayName);
+        }
+    }
+}
+
+InspectorTest.frameIdToString = function(frameId)
+{
+    if (!InspectorTest.framesByFrameId)
+        InspectorTest.framesByFrameId = {};
+    var frame = WebInspector.resourceTreeModel.frameForId(frameId);
+    if (!frame)
+        frame = InspectorTest.framesByFrameId[frameId];
+    InspectorTest.framesByFrameId[frameId] = frame;
+
+    return frame.name;
+}
+
+InspectorTest.applicationCacheStatusToString = function(status)
+{
+    var statusInformation = {};
+    statusInformation[applicationCache.UNCACHED]    = &quot;UNCACHED&quot;;
+    statusInformation[applicationCache.IDLE]        = &quot;IDLE&quot;;
+    statusInformation[applicationCache.CHECKING]    = &quot;CHECKING&quot;;
+    statusInformation[applicationCache.DOWNLOADING] = &quot;DOWNLOADING&quot;;
+    statusInformation[applicationCache.UPDATEREADY] = &quot;UPDATEREADY&quot;;
+    statusInformation[applicationCache.OBSOLETE]    = &quot;OBSOLETE&quot;;
+    return statusInformation[status] || statusInformation[applicationCache.UNCACHED];
+}
+
+InspectorTest.dumpApplicationCacheModel = function()
+{
+    InspectorTest.addResult(&quot;Dumping application cache model:&quot;);
+    var model = WebInspector.panels.resources._applicationCacheModel;
+
+    var frameIds = [];
+    for (var frameId in model._manifestURLsByFrame)
+        frameIds.push(frameId);
+
+    function compareFunc(a, b) {
+        return InspectorTest.frameIdToString(a).localeCompare(InspectorTest.frameIdToString(b));
+    }
+    frameIds.sort(compareFunc);
+
+    if (!frameIds.length) {
+        InspectorTest.addResult(&quot;    (empty)&quot;);
+        return;
+    }
+    for (var i = 0; i &lt; frameIds.length; ++i) {
+        var frameId = frameIds[i];
+        var manifestURL = model.frameManifestURL(frameId);
+        var status = model.frameManifestStatus(frameId);
+        InspectorTest.addResult(&quot;    Frame: &quot; + InspectorTest.frameIdToString(frameId));
+        InspectorTest.addResult(&quot;        manifest url: &quot; + manifestURL);
+        InspectorTest.addResult(&quot;        status:       &quot; + InspectorTest.applicationCacheStatusToString(status));
+    }
+}
+
+InspectorTest.waitForFrameManifestURLAndStatus = function(frameId, manifestURL, status, callback)
+{
+    var frameManifestStatus = WebInspector.panels.resources._applicationCacheModel.frameManifestStatus(frameId);
+    var frameManifestURL = WebInspector.panels.resources._applicationCacheModel.frameManifestURL(frameId);
+    if (frameManifestStatus === status &amp;&amp; frameManifestURL.indexOf(manifestURL) !== -1) {
+        callback();
+        return;
+    }
+
+    var handler = InspectorTest.waitForFrameManifestURLAndStatus.bind(this, frameId, manifestURL, status, callback);
+    InspectorTest.addSniffer(WebInspector.ApplicationCacheModel.prototype, &quot;_frameManifestUpdated&quot;, handler);
+}
+
+InspectorTest.startApplicationCacheStatusesRecording = function()
+{
+    if (InspectorTest.applicationCacheStatusesRecords) {
+        InspectorTest.applicationCacheStatusesRecords = {};
+        return;
+    }
+
+    InspectorTest.applicationCacheStatusesRecords = {};
+    function addRecord(frameId, manifestURL, status) {
+        var record = {};
+        record.manifestURL = manifestURL;
+        record.status = status;
+        if (!InspectorTest.applicationCacheStatusesRecords[frameId])
+            InspectorTest.applicationCacheStatusesRecords[frameId] = [];
+        InspectorTest.applicationCacheStatusesRecords[frameId].push(record);
+
+        if (InspectorTest.awaitedFrameStatusEventsCount &amp;&amp; InspectorTest.awaitedFrameStatusEventsCount[frameId]) {
+            InspectorTest.awaitedFrameStatusEventsCount[frameId].count--;
+            if (!InspectorTest.awaitedFrameStatusEventsCount[frameId].count)
+                InspectorTest.awaitedFrameStatusEventsCount[frameId].callback();
+        }
+    }
+
+    InspectorTest.addSniffer(WebInspector.ApplicationCacheModel.prototype, &quot;_frameManifestUpdated&quot;, addRecord, true);
+}
+
+InspectorTest.ensureFrameStatusEventsReceived = function(frameId, count, callback)
+{
+    var records = InspectorTest.applicationCacheStatusesRecords[frameId] || [];
+    var eventsLeft = count - records.length;
+
+    if (!eventsLeft) {
+        callback();
+        return;
+    }
+
+    if (!InspectorTest.awaitedFrameStatusEventsCount)
+        InspectorTest.awaitedFrameStatusEventsCount = {};
+    InspectorTest.awaitedFrameStatusEventsCount[frameId] = { count: eventsLeft, callback: callback };
+}
+
+};
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheresourcesmanifestphpfromrev164517trunkLayoutTestshttptestsinspectorappcacheresourcesmanifestphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/manifest.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/resources/manifest.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/manifest.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/manifest.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;?php
+    header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
+    header(&quot;Cache-Control: no-cache, must-revalidate&quot;);
+    header(&quot;Pragma: no-cache&quot;);
+    header(&quot;Content-Type: text/cache-manifest&quot;);
+
+    $manifestId = $_GET[&quot;manifestId&quot;];
+
+    echo(&quot;CACHE MANIFEST\n&quot;);
+    echo(&quot;# &quot; . $manifestId . &quot;\n&quot;);
+    echo(&quot;page-with-manifest.php?manifestId=&quot; . $manifestId . &quot;\n&quot;);
+
+    if ($manifestId == &quot;with-non-existing-file&quot;)
+        echo(&quot;non-existing-file\n&quot;);
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheresourcespagewithmanifestphpfromrev164517trunkLayoutTestshttptestsinspectorappcacheresourcespagewithmanifestphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/page-with-manifest.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/resources/page-with-manifest.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/page-with-manifest.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/page-with-manifest.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+&lt;?php
+$manifestId = $_GET[&quot;manifestId&quot;];
+echo &quot;&lt;html manifest=\&quot;manifest.php?manifestId=&quot; . $manifestId . &quot;\&quot;&gt;\n&quot;;
+?&gt;
+&lt;head&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;?php
+$manifestId = $_GET[&quot;manifestId&quot;];
+echo &quot;Page with manifest #&quot; . $manifestId. &quot;.\n&quot;;
+?&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheresourcesversionedmanifestphpfromrev164517trunkLayoutTestshttptestsinspectorappcacheresourcesversionedmanifestphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/versioned-manifest.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/resources/versioned-manifest.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/versioned-manifest.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/versioned-manifest.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+&lt;?php
+require_once '../../../resources/portabilityLayer.php';
+
+$tmpFile = sys_get_temp_dir() . &quot;/&quot; . &quot;appcache_manifest_counter&quot;;
+
+function getCount($file)
+{
+    if (!file_exists($file)) {
+        file_put_contents($file, &quot;0&quot;);
+        return &quot;0&quot;;
+    }
+    return file_get_contents($file);
+}
+
+function stepCounter($file)
+{
+    if (file_exists($file)) {
+        $value = getCount($file);
+        file_put_contents($file, ++$value);
+    }
+}
+
+if (&quot;step&quot; == $_GET['command'])
+    stepCounter($tmpFile);
+
+header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
+header(&quot;Cache-Control: no-cache, must-revalidate&quot;);
+header(&quot;Pragma: no-cache&quot;);
+header(&quot;Content-Type: text/cache-manifest&quot;);
+
+print(&quot;CACHE MANIFEST\n&quot;);
+print(&quot;# version &quot; . getCount($tmpFile) . &quot;\n&quot;);
+print(&quot;with-versioned-manifest.php\n&quot;);
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsappcacheresourceswithversionedmanifestphpfromrev164517trunkLayoutTestshttptestsinspectorappcacheresourceswithversionedmanifestphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/with-versioned-manifest.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/appcache/resources/with-versioned-manifest.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/with-versioned-manifest.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/appcache/resources/with-versioned-manifest.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+&lt;html manifest=&quot;versioned-manifest.php&quot;&gt;
+&lt;head&gt;
+&lt;/head&gt;
+&lt;body&gt;
+Page with versioned manifest
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsauditsresourcesabepngfromrev164517trunkLayoutTestshttptestsinspectorauditsresourcesabepng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/audits/resources/abe.png (from rev 164517, trunk/LayoutTests/http/tests/inspector/audits/resources/abe.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsauditsresourcesabepng"></a>
<div class="propset"><h4>Property changes: trunk/LayoutTests/inspector-obsolete/http-tests/audits/resources/abe.png</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsauditssetcookieheaderauditnofalsepositiveexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorauditssetcookieheaderauditnofalsepositiveexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/audits/set-cookie-header-audit-no-false-positive-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/audits/set-cookie-header-audit-no-false-positive-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/audits/set-cookie-header-audit-no-false-positive-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests there is no false positive Set-Cookie audit error. 
+Page reloaded.
+Success, no Set-Cookie headers found.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsauditssetcookieheaderauditnofalsepositivehtmlfromrev164517trunkLayoutTestshttptestsinspectorauditssetcookieheaderauditnofalsepositivehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/audits/set-cookie-header-audit-no-false-positive.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/audits/set-cookie-header-audit-no-false-positive.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/audits/set-cookie-header-audit-no-false-positive.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/audits/set-cookie-header-audit-no-false-positive.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var test = function()
+{
+    InspectorTest.reloadPage(step1);
+
+    function step1()
+    {
+        WebInspector.showPanel(&quot;network&quot;);
+        var requests = WebInspector.panels.network.requests;
+        for (var i = 0; i &lt; requests.length; ++i)
+            InspectorTest.assertTrue(requests[i].responseHeaderValue(&quot;Set-Cookie&quot;) === undefined);
+        InspectorTest.addResult(&quot;Success, no Set-Cookie headers found.&quot;);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+Tests there is no false positive Set-Cookie audit error.
+&lt;img src=&quot;resources/abe.png&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestschangeiframesrcexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorchangeiframesrcexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/change-iframe-src-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/change-iframe-src-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/change-iframe-src-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/change-iframe-src-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+CONSOLE MESSAGE: line 6: IFRAME HOST: 127.0.0.1:8000
+CONSOLE MESSAGE: line 6: IFRAME HOST: localhost:8000
+
+Tests that Elements panel allows to change src attribute on iframes inside inspected page. See bug 41350.
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestschangeiframesrchtmlfromrev164517trunkLayoutTestshttptestsinspectorchangeiframesrchtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/change-iframe-src.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/change-iframe-src.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/change-iframe-src.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/change-iframe-src.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,43 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt;Change inspected iframe's &quot;src&quot; attribute.&lt;/title&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var onIFrameLoadCalled = false;
+function onIFrameLoad()
+{
+    if (onIFrameLoadCalled)
+        return;
+    onIFrameLoadCalled = true;
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.nodeWithId(&quot;receiver&quot;, step1);
+
+    function step1(node)
+    {
+        node.setAttribute(&quot;src&quot;, &quot;src=\&quot;http://localhost:8000/inspector/resources/iframe-from-different-domain-data.html\&quot;&quot;);
+        InspectorTest.addConsoleSniffer(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;iframe src=&quot;resources/iframe-from-different-domain-data.html&quot; id=&quot;receiver&quot; onload=&quot;onIFrameLoad()&quot;&gt;&lt;/iframe&gt;
+    &lt;p&gt;
+    Tests that Elements panel allows to change src attribute on iframes
+    inside inspected page.
+    See &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41350&quot;&gt;bug 41350&lt;/a&gt;.
+    &lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestscompilerscriptmappingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorcompilerscriptmappingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/compiler-script-mapping-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/compiler-script-mapping-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/compiler-script-mapping-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/compiler-script-mapping-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+Tests SourceMap and CompilerScriptMapping.
+
+
+Running: testSimpleMap
+example.js === example.js
+0 === 0
+9 === 9
+example.js === example.js
+0 === 0
+13 === 13
+example.js === example.js
+0 === 0
+25 === 25
+example.js === example.js
+2 === 2
+4 === 4
+example.js === example.js
+2 === 2
+11 === 11
+example.js === example.js
+2 === 2
+24 === 24
+0 === 0
+0 === 0
+0 === 0
+17 === 17
+0 === 0
+18 === 18
+0 === 0
+29 === 29
+0 === 0
+29 === 29
+
+Running: testNoMappingEntry
+example.js === example.js
+0 === 0
+0 === 0
+example.js === example.js
+0 === 0
+2 === 2
+
+Running: testEmptyLine
+example.js === example.js
+0 === 0
+0 === 0
+3 === 3
+1 === 1
+
+Running: testSections
+source1.js === source1.js
+0 === 0
+0 === 0
+source1.js === source1.js
+2 === 2
+1 === 1
+source2.js === source2.js
+0 === 0
+0 === 0
+source2.js === source2.js
+2 === 2
+1 === 1
+
+Running: testResolveSourceMapURL
+http://example.com/map.json === http://example.com/map.json
+http://example.com/map.json === http://example.com/map.json
+http://example.com/scripts/../maps/map.json === http://example.com/scripts/../maps/map.json
+
+Running: testCompilerScriptMapping
+
+Running: testCompilerScriptMappingWhenResourceWasLoadedAfterSource
+
+Running: testInlinedSourceMap
+&lt;source content&gt; === &lt;source content&gt;
+
+Running: testSourceMapCouldNotBeLoaded
+compiled.js
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestscompilerscriptmappinghtmlfromrev164517trunkLayoutTestshttptestsinspectorcompilerscriptmappinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/compiler-script-mapping.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/compiler-script-mapping.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/compiler-script-mapping.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/compiler-script-mapping.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,342 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;workspace-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    var defaultScriptMapping;
+    var resourceScriptMapping;
+
+    function createCompilerScriptMapping()
+    {
+        InspectorTest.createWorkspace();
+        var compilerScriptMapping = new WebInspector.CompilerScriptMapping(InspectorTest.testWorkspace, InspectorTest.testNetworkWorkspaceProvider);
+        resourceScriptMapping = new WebInspector.ResourceScriptMapping(InspectorTest.testWorkspace);
+        defaultScriptMapping = new WebInspector.DefaultScriptMapping(InspectorTest.testWorkspace);
+        return compilerScriptMapping;
+    }
+
+    function checkMapping(compiledLineNumber, compiledColumnNumber, sourceURL, sourceLineNumber, sourceColumnNumber, mapping)
+    {
+        var entry = mapping.findEntry(compiledLineNumber, compiledColumnNumber);
+        InspectorTest.addResult(sourceURL + &quot; === &quot; + entry[2]);
+        InspectorTest.addResult(sourceLineNumber + &quot; === &quot; + entry[3]);
+        InspectorTest.addResult(sourceColumnNumber + &quot; === &quot; + entry[4]);
+    }
+
+    function checkReverseMapping(compiledLineNumber, compiledColumnNumber, sourceURL, sourceLineNumber, mapping)
+    {
+        var entry = mapping.findEntryReversed(sourceURL, sourceLineNumber);
+        InspectorTest.addResult(compiledLineNumber + &quot; === &quot; + entry[0]);
+        InspectorTest.addResult(compiledColumnNumber + &quot; === &quot; + entry[1]);
+    }
+
+    InspectorTest.runTestSuite([
+        function testSimpleMap(next)
+        {
+            /*
+                example.js:
+                0         1         2         3
+                012345678901234567890123456789012345
+                function add(variable_x, variable_y)
+                {
+                    return variable_x + variable_y;
+                }
+
+                var global = &quot;foo&quot;;
+                ----------------------------------------
+                example-compiled.js:
+                0         1         2         3
+                012345678901234567890123456789012345
+                function add(a,b){return a+b}var global=&quot;foo&quot;;
+            */
+            var mappingPayload = {
+                &quot;mappings&quot;:&quot;AAASA,QAAAA,IAAG,CAACC,CAAD,CAAaC,CAAb,CACZ,CACI,MAAOD,EAAP,CAAoBC,CADxB,CAIA,IAAIC,OAAS;&quot;,
+                &quot;sources&quot;:[&quot;example.js&quot;]
+            };
+            var mapping = new WebInspector.SourceMap(&quot;source-map.json&quot;, mappingPayload);
+
+            checkMapping(0, 9, &quot;example.js&quot;, 0, 9, mapping);
+            checkMapping(0, 13, &quot;example.js&quot;, 0, 13, mapping);
+            checkMapping(0, 15, &quot;example.js&quot;, 0, 25, mapping);
+            checkMapping(0, 18, &quot;example.js&quot;, 2, 4, mapping);
+            checkMapping(0, 25, &quot;example.js&quot;, 2, 11, mapping);
+            checkMapping(0, 27, &quot;example.js&quot;, 2, 24, mapping);
+
+            checkReverseMapping(0, 0, &quot;example.js&quot;, 0, mapping);
+            checkReverseMapping(0, 17, &quot;example.js&quot;, 1, mapping);
+            checkReverseMapping(0, 18, &quot;example.js&quot;, 2, mapping);
+            checkReverseMapping(0, 29, &quot;example.js&quot;, 4, mapping);
+            checkReverseMapping(0, 29, &quot;example.js&quot;, 5, mapping);
+
+            next();
+        },
+
+        function testNoMappingEntry(next)
+        {
+            var mappingPayload = {
+                &quot;mappings&quot;:&quot;AAAA,C,CAAE;&quot;,
+                &quot;sources&quot;:[&quot;example.js&quot;]
+            };
+            var mapping = new WebInspector.SourceMap(&quot;source-map.json&quot;, mappingPayload);
+            checkMapping(0, 0, &quot;example.js&quot;, 0, 0, mapping);
+            var entry = mapping.findEntry(0, 1);
+            InspectorTest.assertEquals(2, entry.length);
+            checkMapping(0, 2, &quot;example.js&quot;, 0, 2, mapping);
+            next();
+        },
+
+        function testEmptyLine(next)
+        {
+            var mappingPayload = {
+                &quot;mappings&quot;:&quot;AAAA;;;CACA&quot;,
+                &quot;sources&quot;:[&quot;example.js&quot;]
+            };
+            var mapping = new WebInspector.SourceMap(&quot;source-map.json&quot;, mappingPayload);
+            checkMapping(0, 0, &quot;example.js&quot;, 0, 0, mapping);
+            checkReverseMapping(3, 1, &quot;example.js&quot;, 1, mapping);
+            next();
+        },
+
+        function testSections(next)
+        {
+            var mappingPayload = {
+                &quot;sections&quot;: [{
+                    &quot;offset&quot;: { &quot;line&quot;: 0, &quot;column&quot;: 0 },
+                    &quot;map&quot;: {
+                        &quot;mappings&quot;:&quot;AAAA,CAEC&quot;,
+                        &quot;sources&quot;:[&quot;source1.js&quot;, &quot;source2.js&quot;]
+                    }
+                }, {
+                    &quot;offset&quot;: { &quot;line&quot;: 2, &quot;column&quot;: 10 },
+                    &quot;map&quot;: {
+                        &quot;mappings&quot;:&quot;AAAA,CAEC&quot;,
+                        &quot;sources&quot;:[&quot;source2.js&quot;]
+                    }
+                }
+            ]};
+            var mapping = new WebInspector.SourceMap(&quot;source-map.json&quot;, mappingPayload);
+            InspectorTest.assertEquals(2, mapping.sources().length);
+            checkMapping(0, 0, &quot;source1.js&quot;, 0, 0, mapping);
+            checkMapping(0, 1, &quot;source1.js&quot;, 2, 1, mapping);
+            checkMapping(2, 10, &quot;source2.js&quot;, 0, 0, mapping);
+            checkMapping(2, 11, &quot;source2.js&quot;, 2, 1, mapping);
+            next();
+        },
+
+        function testResolveSourceMapURL(next)
+        {
+            var func = WebInspector.ParsedURL.completeURL;
+            InspectorTest.addResult(&quot;http://example.com/map.json === &quot; + func(&quot;http://example.com/script.js&quot;, &quot;http://example.com/map.json&quot;));
+            InspectorTest.addResult(&quot;http://example.com/map.json === &quot; + func(&quot;http://example.com/script.js&quot;, &quot;/map.json&quot;));
+            InspectorTest.addResult(&quot;http://example.com/scripts/../maps/map.json === &quot; + func(&quot;http://example.com/scripts/script.js&quot;, &quot;../maps/map.json&quot;));
+            next();
+        },
+
+        function testCompilerScriptMapping(next)
+        {
+            var script;
+            WebInspector.debuggerModel._reset();
+            var mapping = createCompilerScriptMapping();
+            var originalUISourceCode;
+            step1();
+
+            function step1()
+            {
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalUISourceCodeAdded);
+                script = InspectorTest.createScriptMock(&quot;compiled.js&quot;, 0, 0, true, &quot;&quot;);
+                script.sourceMapURL = &quot;http://localhost:8000/inspector/resources/source-map.json&quot;;
+                defaultScriptMapping.addScript(script);
+                resourceScriptMapping.addScript(script);
+                mapping.addScript(script);
+                afterScriptAdded();
+            }
+
+            function originalUISourceCodeAdded(uiSourceCode)
+            {
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalResourceUISourceCodeAdded);
+                InspectorTest.addMockUISourceCodeToWorkspace(&quot;compiled.js&quot;, WebInspector.resourceTypes.Script, &quot;&quot;);
+            }
+
+            function originalResourceUISourceCodeAdded(uiSourceCode)
+            {
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(firstUISourceCodeAdded);
+                originalUISourceCode = uiSourceCode;
+            }
+
+            function firstUISourceCodeAdded(uiSourceCode)
+            {
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(secondUISourceCodeAdded);
+            }
+
+            function secondUISourceCodeAdded(uiSourceCode) { }
+
+            function afterScriptAdded(uiSourceCode)
+            {
+                var uiSourceCode1 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/source1.js&quot;);
+                var uiSourceCode2 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/source2.js&quot;);
+
+                InspectorTest.checkUILocation(uiSourceCode1, 4, 4, script.rawLocationToUILocation(0, 81));
+                InspectorTest.checkUILocation(uiSourceCode1, 5, 4, script.rawLocationToUILocation(0, 93));
+                InspectorTest.checkUILocation(uiSourceCode2, 7, 4, script.rawLocationToUILocation(1, 151));
+                InspectorTest.checkUILocation(originalUISourceCode, 1, 200, script.rawLocationToUILocation(1, 200));
+
+                InspectorTest.checkRawLocation(script, 0, 42, uiSourceCode1.uiLocationToRawLocation(3, 10));
+                InspectorTest.checkRawLocation(script, 1, 85, uiSourceCode2.uiLocationToRawLocation(0, 0));
+                InspectorTest.checkRawLocation(script, 1, 110, uiSourceCode2.uiLocationToRawLocation(5, 2));
+
+                uiSourceCode1.requestContent(didRequestContent1);
+
+                function didRequestContent1(content, contentEncoded, mimeType)
+                {
+                    InspectorTest.assertEquals(0, content.indexOf(&quot;window.addEventListener&quot;));
+                    uiSourceCode2.requestContent(didRequestContent2);
+                }
+
+                function didRequestContent2(content, contentEncoded, mimeType)
+                {
+                    InspectorTest.assertEquals(0, content.indexOf(&quot;function ClickHandler()&quot;));
+                    next();
+                }
+            }
+        },
+
+        function testCompilerScriptMappingWhenResourceWasLoadedAfterSource(next)
+        {
+            var script;
+            WebInspector.debuggerModel._reset();
+            var mapping = createCompilerScriptMapping();
+            var originalUISourceCode;
+            step1();
+
+            function step1()
+            {
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(function() { });
+                script = InspectorTest.createScriptMock(&quot;compiled.js&quot;, 0, 0, true, &quot;&quot;);
+                script.sourceMapURL = &quot;http://localhost:8000/inspector/resources/source-map.json&quot;;
+                defaultScriptMapping.addScript(script);
+                resourceScriptMapping.addScript(script);
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(firstUISourceCodeAdded);
+                mapping.addScript(script);
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalResourceUISourceCodeAdded);
+                InspectorTest.addMockUISourceCodeToWorkspace(&quot;compiled.js&quot;, WebInspector.resourceTypes.Script, &quot;&quot;);
+                afterScriptAdded();
+            }
+
+            function originalResourceUISourceCodeAdded(uiSourceCode) {
+                originalUISourceCode = uiSourceCode;
+            }
+
+            function firstUISourceCodeAdded(uiSourceCode)
+            {
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(function() { });
+            }
+
+            function afterScriptAdded(uiSourceCode)
+            {
+                var uiSourceCode1 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/source1.js&quot;);
+                var uiSourceCode2 = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/source2.js&quot;);
+
+                InspectorTest.checkUILocation(uiSourceCode1, 4, 4, script.rawLocationToUILocation(0, 81));
+                InspectorTest.checkUILocation(uiSourceCode1, 5, 4, script.rawLocationToUILocation(0, 93));
+                InspectorTest.checkUILocation(uiSourceCode2, 7, 4, script.rawLocationToUILocation(1, 151));
+                InspectorTest.checkUILocation(originalUISourceCode, 1, 200, script.rawLocationToUILocation(1, 200));
+
+                InspectorTest.checkRawLocation(script, 0, 42, uiSourceCode1.uiLocationToRawLocation(3, 10));
+                InspectorTest.checkRawLocation(script, 1, 85, uiSourceCode2.uiLocationToRawLocation(0, 0));
+                InspectorTest.checkRawLocation(script, 1, 110, uiSourceCode2.uiLocationToRawLocation(5, 2));
+
+                uiSourceCode1.requestContent(didRequestContent1);
+
+                function didRequestContent1(content, contentEncoded, mimeType)
+                {
+                    InspectorTest.assertEquals(0, content.indexOf(&quot;window.addEventListener&quot;));
+                    uiSourceCode2.requestContent(didRequestContent2);
+                }
+
+                function didRequestContent2(content, contentEncoded, mimeType)
+                {
+                    InspectorTest.assertEquals(0, content.indexOf(&quot;function ClickHandler()&quot;));
+                    next();
+                }
+            }
+        },
+
+        function testInlinedSourceMap(next)
+        {
+            WebInspector.debuggerModel._reset();
+            var mapping = createCompilerScriptMapping();
+            var script = InspectorTest.createScriptMock(&quot;http://example.com/compiled.js&quot;, 0, 0, true, &quot;&quot;);
+            var sourceMap = {
+                &quot;file&quot;:&quot;compiled.js&quot;,
+                &quot;mappings&quot;:&quot;AAASA,QAAAA,IAAG,CAACC,CAAD,CAAaC,CAAb,CACZ,CACI,MAAOD,EAAP,CAAoBC,CADxB,CAIA,IAAIC,OAAS;&quot;,
+                &quot;sources&quot;:[&quot;source.js&quot;],
+                &quot;sourcesContent&quot;:[&quot;&lt;source content&gt;&quot;]
+            };
+            script.sourceMapURL = &quot;data:application/json;base64,&quot; + btoa(JSON.stringify(sourceMap));
+            InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(compiledUISourceCodeAdded);
+
+            function compiledUISourceCodeAdded(uiSourceCode)
+            {
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalUISourceCodeAdded);
+            }
+
+            function originalUISourceCodeAdded(uiSourceCode) { }
+            
+            defaultScriptMapping.addScript(script);
+            resourceScriptMapping.addScript(script);
+            mapping.addScript(script);
+
+            var uiSourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://example.com/source.js&quot;);
+
+            InspectorTest.checkUILocation(uiSourceCode, 2, 4, mapping.rawLocationToUILocation(WebInspector.debuggerModel.createRawLocation(script, 0, 18)));
+            InspectorTest.checkRawLocation(script, 0, 18, mapping.uiLocationToRawLocation(uiSourceCode, 2, 4));
+
+            uiSourceCode.requestContent(didRequestContent);
+
+            function didRequestContent(content, contentEncoded, mimeType)
+            {
+                InspectorTest.addResult(&quot;&lt;source content&gt; === &quot; + content);
+                next();
+            }
+        },
+
+        function testSourceMapCouldNotBeLoaded(next)
+        {
+            WebInspector.settings.sourceMapsEnabled.set(true);
+            WebInspector.debuggerModel._reset();
+            InspectorTest.createWorkspace();
+            var debuggerScriptMapping = new WebInspector.DebuggerScriptMapping(InspectorTest.testWorkspace, InspectorTest.testNetworkWorkspaceProvider);
+
+            InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(compiledUISourceCodeAdded);
+            var script = InspectorTest.createScriptMock(&quot;compiled.js&quot;, 0, 0, true, &quot;&quot;);
+
+            function compiledUISourceCodeAdded(uiSourceCode)
+            {
+                InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(originalUISourceCodeAdded);
+            }
+
+            function originalUISourceCodeAdded(uiSourceCode) { }
+
+            script.sourceMapURL = &quot;http://localhost:8000/inspector/resources/source-map.json_&quot;;
+            console.error = function() {}; // Error message is platform dependent.
+            debuggerScriptMapping._parsedScriptSource({data:script});
+            var uiLocation = script.rawLocationToUILocation(0, 0);
+            InspectorTest.addResult(uiLocation.uiSourceCode.originURL());
+            next();
+        }
+    ]);
+};
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests SourceMap and CompilerScriptMapping.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestscompilersourcemappingdebugexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorcompilersourcemappingdebugexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/compiler-source-mapping-debug-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/compiler-source-mapping-debug-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/compiler-source-mapping-debug-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+CONSOLE MESSAGE: line 2: button clicked!
+Tests installing compiler source map in scripts panel.
+
+
+Debugger was enabled.
+
+Running: testSetBreakpoint
+Page reloaded.
+Script source was shown.
+Script execution paused.
+Call stack:
+    0) handleClick (compiled.js:2)
+    1) clickButton (compiler-source-mapping-debug.html:11)
+Script execution resumed.
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestscompilersourcemappingdebughtmlfromrev164517trunkLayoutTestshttptestsinspectorcompilersourcemappingdebughtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/compiler-source-mapping-debug.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/compiler-source-mapping-debug.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/compiler-source-mapping-debug.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/compiler-source-mapping-debug.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources/compiled.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function clickButton()
+{
+    document.getElementById('test').click();
+}
+
+function test()
+{
+    InspectorTest.runDebuggerTestSuite([
+        function testSetBreakpoint(next)
+        {
+            WebInspector.settings.sourceMapsEnabled.set(true);
+            InspectorTest.reloadPage(pageReloaded);
+
+            function pageReloaded()
+            {
+                InspectorTest.showScriptSource(&quot;source1.js&quot;, didShowSource);
+            }
+
+            function didShowSource(sourceFrame)
+            {
+                InspectorTest.addResult(&quot;Script source was shown.&quot;);
+                InspectorTest.setBreakpoint(sourceFrame, 14, &quot;&quot;, true);
+                InspectorTest.waitUntilPaused(paused);
+                InspectorTest.evaluateInPage(&quot;setTimeout(clickButton, 0)&quot;);
+            }
+
+            function paused(callFrames)
+            {
+                InspectorTest.captureStackTrace(callFrames);
+                next();
+            }
+        }
+    ]);
+};
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests installing compiler source map in scripts panel.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolecdcompletionsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorconsolecdcompletionsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-completions-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-cd-completions-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-completions-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-completions-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Test that completions in the context of an iframe with a different origin will result in names of its global variables. Test passes if all global variables are found among completions AND there are NO console messages. Bug 65457.
+
+
+myGlobalVar
+myGlobalFunction
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolecdcompletionshtmlfromrev164517trunkLayoutTestshttptestsinspectorconsolecdcompletionshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-completions.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-cd-completions.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-completions.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-completions.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.showConsolePanel();
+    var selector = WebInspector.consoleView._frameSelector._selectElement;
+    var option = selector.firstChild;
+    while (option) {
+        if (option.textContent &amp;&amp; option.textContent.startsWith(&quot;myIFrame&quot;))
+            break;
+        option = option.nextSibling;
+    }
+    if (!option) {
+        InspectorTest.addResult(&quot;FAILED: myIFrame not found in the context list&quot;);
+        InspectorTest.completeTest();
+        return;
+    }
+    option.selected = true;
+    WebInspector.consoleView._frameChanged();
+
+    WebInspector.runtimeModel._completionsForExpression(&quot;&quot;, &quot;myGlob&quot;, false, checkCompletions.bind(this));
+    function checkCompletions(completions)
+    {
+        var expected = [&quot;myGlobalVar&quot;, &quot;myGlobalFunction&quot;];
+        for (var i = 0; i &lt; expected.length; ++i) {
+            if (completions.indexOf(expected[i]) !== -1)
+                InspectorTest.addResult(expected[i]);
+            else
+                InspectorTest.addResult(&quot;NOT FOUND: &quot; + expected[i]);
+        }
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Test that completions in the context of an iframe with a different origin will
+result in names of its global variables. Test passes if all global variables
+are found among completions AND there are NO console messages.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65457&quot;&gt;Bug 65457.&lt;/a&gt;
+&lt;/p&gt;
+&lt;iframe name=&quot;myIFrame&quot; src=&quot;http://localhost:8000/inspector/resources/console-cd-completions-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolecdexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorconsolecdexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-cd-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-cd-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that console evaluation can be performed in an iframe context.Bug 19872.
+
+
+foo = 2011
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolecdhtmlfromrev164517trunkLayoutTestshttptestsinspectorconsolecdhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-cd.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-cd.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-cd.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-cd.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,43 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.showConsolePanel();
+    var selector = WebInspector.consoleView._frameSelector._selectElement;
+    var option = selector.firstChild;
+    while (option) {
+        if (option.textContent &amp;&amp; option.textContent.startsWith(&quot;myIFrame&quot;))
+            break;
+        option = option.nextSibling;
+    }
+    if (!option) {
+        InspectorTest.addResult(&quot;FAILED: myIFrame not found in the context list&quot;);
+        InspectorTest.completeTest();
+        return;
+    }
+    option.selected = true;
+    WebInspector.consoleView._frameChanged();
+
+    InspectorTest.evaluateInConsoleAndDump(&quot;foo&quot;, finish);
+    function finish()
+    {
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Tests that console evaluation can be performed in an iframe context.&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=19872&quot;&gt;Bug 19872.&lt;/a&gt;
+&lt;/p&gt;
+&lt;iframe name=&quot;myIFrame&quot; src=&quot;http://localhost:8000/inspector/resources/console-cd-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsoleclearargumentsonframenavigationexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframenavigationexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-navigation-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-navigation-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-navigation-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+CONSOLE MESSAGE: line 2: A message with first argument string
+CONSOLE MESSAGE: line 3: 2011
+CONSOLE MESSAGE: line 4: [object Window]
+Tests that Web Inspector will discard console message arguments when iframe where the message was logged is navigated to a different page.
+
+
+PASSED: found argument counts for 3 messages
+PASSED: message #0 has no arguments.
+PASSED: message #1 has no arguments.
+PASSED: message #2 has no arguments.
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsoleclearargumentsonframenavigationhtmlfromrev164517trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframenavigationhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-navigation.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-navigation.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-navigation.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-navigation.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;resources/console-clear-arguments-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
+}
+
+var loadCount = 0;
+function frameLoaded(event) {
+    ++loadCount;
+    if (loadCount === 1) {
+        document.getElementById('theFrame').src = &quot;about:blank&quot;;
+        return;
+    }
+
+    dumpConsoleMessageArgumentCounts();
+    if (window.testRunner)
+        testRunner.notifyDone();
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;
+Tests that Web Inspector will discard console message arguments when iframe where the message was
+logged is navigated to a different page.
+&lt;/p&gt;
+&lt;iframe id=&quot;theFrame&quot; onload=&quot;frameLoaded(event)&quot; src=&quot;resources/console-clear-arguments-iframe.html&quot;&gt;&lt;/iframe&gt;
+&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsoleclearargumentsonframeremoveexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframeremoveexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-remove-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-remove-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-remove-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 2: A message with first argument string
+CONSOLE MESSAGE: line 3: 2011
+CONSOLE MESSAGE: line 4: [object Window]
+Tests that console message arguments will be cleared when iframe where the messages were created is removed.
+
+PASSED: found argument counts for 3 messages
+PASSED: message #0 has no arguments.
+PASSED: message #1 has no arguments.
+PASSED: message #2 has no arguments.
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsoleclearargumentsonframeremovehtmlfromrev164517trunkLayoutTestshttptestsinspectorenabledconsoleclearargumentsonframeremovehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-remove.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/console-clear-arguments-on-frame-remove.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-remove.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-clear-arguments-on-frame-remove.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;resources/console-clear-arguments-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+if (window.testRunner) {
+    testRunner.waitUntilDone();
+    testRunner.dumpAsText();
+}
+
+function removeIFrame()
+{
+    var container = document.getElementById('container');
+    var child = container.firstChild;
+    while (child) {
+        container.removeChild(child);
+        child = container.firstChild;
+    }
+    dumpConsoleMessageArgumentCounts();
+    if (window.testRunner)
+        testRunner.notifyDone();
+}
+
+function createIFrame()
+{
+    var iframe = document.createElement('iframe');
+    iframe.setAttribute('src', 'resources/console-clear-arguments-iframe.html');
+    iframe.onload= removeIFrame;
+    document.getElementById('container').appendChild(iframe);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;createIFrame()&quot;&gt;
+&lt;p&gt;
+Tests that console message arguments will be cleared when iframe where the messages were
+created is removed.
+&lt;/p&gt;
+&lt;div id=&quot;container&quot;&gt;&lt;/div&gt;
+&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolecrossoriginiframeloggingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorconsolecrossoriginiframeloggingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-cross-origin-iframe-logging-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-cross-origin-iframe-logging-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-cross-origin-iframe-logging-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;http://localhost:8000&quot;. Protocols, domains, and ports must match.
+CONSOLE MESSAGE: Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;http://localhost:8000&quot;. Protocols, domains, and ports must match.
+CONSOLE MESSAGE: Unable to post message to http://127.0.0.1:8000. Recipient has origin http://localhost:8000.
+
+Tests that cross origin errors are logged with source url and line number.
+
+
+Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;http://localhost:8000&quot;. Protocols, domains, and ports must match. console-cross-origin-iframe-logging.html:9
+Blocked a frame with origin &quot;http://127.0.0.1:8000&quot; from accessing a frame with origin &quot;http://localhost:8000&quot;. Protocols, domains, and ports must match. [native code]:1
+Unable to post message to http://127.0.0.1:8000. Recipient has origin http://localhost:8000.
+ [native code]:1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolecrossoriginiframelogginghtmlfromrev164517trunkLayoutTestshttptestsinspectorconsolecrossoriginiframelogginghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-cross-origin-iframe-logging.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-cross-origin-iframe-logging.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-cross-origin-iframe-logging.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-cross-origin-iframe-logging.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function accessFrame()
+{
+    // Should fail.
+    var host = frames[0].location.host;
+
+    // Should fail.
+    frames[0].location.reload();
+
+    // Should fail.
+    frames[0].postMessage(&quot;fail&quot;, &quot;http://127.0.0.1:8000&quot;);
+}
+
+function test()
+{
+    var finishAttemptsLeft = 4;
+    InspectorTest.addConsoleSniffer(maybeFinish, true);
+    ConsoleAgent.setMonitoringXHREnabled(true, step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInPage(&quot;accessFrame()&quot;, maybeFinish);
+    }
+
+    function maybeFinish()
+    {
+        --finishAttemptsLeft;
+        if (finishAttemptsLeft)
+            return;
+
+        ConsoleAgent.setMonitoringXHREnabled(false, finish);
+    }
+
+    function finish()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that cross origin errors are logged with source url and line number.&lt;/p&gt;
+&lt;iframe src=&quot;http://localhost:8000/inspector/resources/cross-origin-iframe.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolelogbeforeframenavigationexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenabledconsolelogbeforeframenavigationexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-log-before-frame-navigation-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-log-before-frame-navigation-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-log-before-frame-navigation-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 5: Console message (C) %d with element
+Tests that Web Inspector won't crash if there are messages written to console from a frame which has already navigated to a page from a different domain.
+
+
+Received console messages:
+Message[0]:
+Message: resources/console-log-frame-before-navigation.html:5 Console message (C) %d with element
+TEST COMPLETE.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolelogbeforeframenavigationhtmlfromrev164517trunkLayoutTestshttptestsinspectorenabledconsolelogbeforeframenavigationhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-log-before-frame-navigation.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/console-log-before-frame-navigation.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-log-before-frame-navigation.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-log-before-frame-navigation.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+}
+
+window.addEventListener(&quot;message&quot;, receiveMessage, false);
+
+function receiveMessage(event) {
+    if (event.data != &quot;frameReloaded&quot;) {
+        testFailed(&quot;Unexpected message: &quot; + event.data);
+        if (window.testRunner)
+            testRunner.notifyDone();
+        return;
+    }
+    if (window.testRunner)
+        testRunner.showWebInspector();
+    runTest();
+}
+
+function test()
+{
+    var messages = WebInspector.console.messages;
+    InspectorTest.addResult(&quot;Received console messages:&quot;);
+    for (var i = 0; i &lt; messages.length; ++i) {
+        var m = messages[i];
+        InspectorTest.addResult(&quot;Message[&quot; + i + &quot;]:&quot;);
+        InspectorTest.addResult(&quot;Message: &quot; + WebInspector.displayNameForURL(m.url) + &quot;:&quot; + m.line + &quot; &quot; + m.message);
+    }
+    InspectorTest.addResult(&quot;TEST COMPLETE.&quot;);
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+Tests that Web Inspector won't crash if there are messages written to console from a frame which has already navigated to a page from a different domain.
+&lt;/p&gt;
+&lt;iframe id=&quot;theFrame&quot; src=&quot;resources/console-log-frame-before-navigation.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsoleresourceerrorsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorconsoleresourceerrorsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-resource-errors-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-resource-errors-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-resource-errors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-resource-errors-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+Tests that errors to load a resource cause error messages to be logged to console.
+
+
+GET http://127.0.0.1:8000/inspector/missing.css 404 (Not Found) console-resource-errors-iframe.html:3 console-message console-error-level
+GET http://127.0.0.1:8000/inspector/non-existent-iframe.html 404 (Not Found) non-existent-iframe.html:1 console-message console-error-level
+GET http://127.0.0.1:8000/inspector/non-existent-script.js 404 (Not Found) console-resource-errors-iframe.html:4 console-message console-error-level
+GET http://127.0.0.1:8000/inspector/non-existent-xhr 404 (Not Found) [native code]:1send [native code]:1loadXHR console-resource-errors.html:18performActions console-resource-errors.html:10eval codeeval [native code]:1evaluate [native code]:1_evaluateOn_evaluateAndWrapevaluate console-message console-error-level
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsoleresourceerrorshtmlfromrev164517trunkLayoutTestshttptestsinspectorconsoleresourceerrorshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-resource-errors.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-resource-errors.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-resource-errors.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-resource-errors.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function performActions()
+{
+    loadXHR();
+    loadIframe();
+}
+
+function loadXHR()
+{
+    var xhr = new XMLHttpRequest();
+    xhr.open(&quot;GET&quot;,&quot;non-existent-xhr&quot;, false);
+    xhr.send(null);
+}
+
+function loadIframe()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.src = &quot;resources/console-resource-errors-iframe.html&quot;;
+    document.body.appendChild(iframe);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(addMessage, true);
+
+    var messageCount = 0;
+    function addMessage(message)
+    {
+       if (message.toString().indexOf(&quot;non-existent-iframe&quot;) !== -1) {
+           InspectorTest.expandConsoleMessages();
+           InspectorTest.dumpConsoleMessagesWithClasses(true);
+           InspectorTest.completeTest();
+        }
+    }
+
+    InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that errors to load a resource cause error messages to be logged to console.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsoletestjsfromrev164517trunkLayoutTestshttptestsinspectorconsoletestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,91 @@
</span><ins>+var initialize_ConsoleTest = function() {
+
+InspectorTest.showConsolePanel = function()
+{
+    WebInspector.showPanel(&quot;console&quot;);
+    WebInspector.drawer.immediatelyFinishAnimation();
+}
+
+InspectorTest.dumpConsoleMessages = function(printOriginatingCommand, dumpClassNames)
+{
+    var result = [];
+    var messages = WebInspector.consoleView._visibleMessages;
+    for (var i = 0; i &lt; messages.length; ++i) {
+        var element = messages[i].toMessageElement();
+
+        if (dumpClassNames) {
+            var classNames = [];
+            for (var node = element.firstChild; node; node = node.traverseNextNode(element)) {
+                if (node.nodeType === Node.ELEMENT_NODE &amp;&amp; node.className)
+                    classNames.push(node.className);
+            }
+        }
+
+        InspectorTest.addResult(element.textContent.replace(/\u200b/g, &quot;&quot;) + (dumpClassNames ? &quot; &quot; + classNames.join(&quot; &gt; &quot;) : &quot;&quot;));
+        if (printOriginatingCommand &amp;&amp; messages[i].originatingCommand) {
+            var originatingElement = messages[i].originatingCommand.toMessageElement();
+            InspectorTest.addResult(&quot;Originating from: &quot; + originatingElement.textContent.replace(/\u200b/g, &quot;&quot;));
+        }
+    }
+    return result;
+}
+
+InspectorTest.dumpConsoleMessagesWithStyles = function(sortMessages)
+{
+    var result = [];
+    var messages = WebInspector.consoleView._visibleMessages;
+    for (var i = 0; i &lt; messages.length; ++i) {
+        var element = messages[i].toMessageElement();
+        InspectorTest.addResult(element.textContent.replace(/\u200b/g, &quot;&quot;));
+        var spans = element.querySelectorAll(&quot;.console-message-text &gt; span &gt; span&quot;);
+        for (var j = 0; j &lt; spans.length; j++)
+            InspectorTest.addResult(&quot;Styled text #&quot; + j + &quot;: &quot; + (spans[j].style.cssText || &quot;NO STYLES DEFINED&quot;));
+    }
+}
+
+InspectorTest.dumpConsoleMessagesWithClasses = function(sortMessages) {
+    var result = [];
+    var messages = WebInspector.consoleView._visibleMessages;
+    for (var i = 0; i &lt; messages.length; ++i) {
+        var element = messages[i].toMessageElement();
+        result.push(element.textContent.replace(/\u200b/g, &quot;&quot;) + &quot; &quot; + element.getAttribute(&quot;class&quot;));
+    }
+    if (sortMessages)
+        result.sort();
+    for (var i = 0; i &lt; messages.length; ++i)
+        InspectorTest.addResult(result[i]);
+}
+
+InspectorTest.expandConsoleMessages = function()
+{
+    var messages = WebInspector.consoleView._visibleMessages;
+    for (var i = 0; i &lt; messages.length; ++i) {
+        var element = messages[i].toMessageElement();
+        var node = element;
+        while (node) {
+            if (node.treeElementForTest)
+                node.treeElementForTest.expand();
+            node = node.traverseNextNode(element);
+        }
+    }
+}
+
+InspectorTest.checkConsoleMessagesDontHaveParameters = function()
+{
+    var messages = WebInspector.consoleView._visibleMessages;
+    for (var i = 0; i &lt; messages.length; ++i) {
+        var m = messages[i];
+        InspectorTest.addResult(&quot;Message[&quot; + i + &quot;]:&quot;);
+        InspectorTest.addResult(&quot;Message: &quot; + WebInspector.displayNameForURL(m.url) + &quot;:&quot; + m.line + &quot; &quot; + m.message);
+        if (&quot;_parameters&quot; in m) {
+            if (m._parameters)
+                InspectorTest.addResult(&quot;FAILED: message parameters list is not empty: &quot; + m._parameters);
+            else
+                InspectorTest.addResult(&quot;SUCCESS: message parameters list is empty. &quot;);
+        } else {
+            InspectorTest.addResult(&quot;FAILED: didn't find _parameters field in the message.&quot;);
+        }
+    }
+}
+
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolewebsocketerrorhtmlfromrev164517trunkLayoutTestshttptestsinspectorconsolewebsocketerrorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-websocket-error.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-websocket-error.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-websocket-error.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-websocket-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,84 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var testFunctions = [testDNSLookup, testSSLCertificate];
+var nextTestIndex = 0;
+
+function onload()
+{
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+    if (!window.WebSocket) {
+        console.log(&quot;WebSocket is not supported.&quot;); return;
+    }
+    doNextTest();
+}
+
+function doNextTest()
+{
+    if (nextTestIndex == testFunctions.length) {
+        runTest();
+        return;
+    }
+    var testFunction = testFunctions[nextTestIndex];
+    nextTestIndex++;
+    testFunction();
+}
+
+function testDNSLookup()
+{
+    console.log(&quot;testDNSLookup: Test started.&quot;);
+    var ws = new WebSocket(&quot;ws://nonexistent.domain.invalid/&quot;); // Network error should be logged to console.
+    ws.onopen = function() {
+        console.log(&quot;testDNSLookup: onopen is called.&quot;);
+        ws.close();
+    };
+    ws.onerror = function() {
+        console.log(&quot;testDNSLookup: onerror is called.&quot;);
+        ws.close();
+    };
+    ws.onclose = function() {
+        console.log(&quot;testDNSLookup: onclose is called.&quot;);
+        doNextTest();
+    };
+}
+
+function testSSLCertificate()
+{
+    console.log(&quot;testSSLCertificate: Test started.&quot;);
+    // The following statement should cause &quot;Untrusted root certificate&quot; error.
+    // Note that port 8443 serves HTTPS content rather than secure WebSocket,
+    // but it does not matter because the test does not send or receive any payload.
+    var ws = new WebSocket(&quot;wss://127.0.0.1:8443/&quot;);
+    ws.onopen = function() {
+        console.log(&quot;testSSLCertificate: onopen is called.&quot;);
+        ws.close();
+    };
+    ws.onerror = function() {
+        console.log(&quot;testSSLCertificate: onerror is called.&quot;);
+        ws.close();
+    };
+    ws.onclose = function() {
+        console.log(&quot;testSSLCertificate: onclose is called.&quot;);
+        doNextTest();
+    };
+}
+
+function test()
+{
+    InspectorTest.dumpConsoleMessages();
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;
+WebSocket's network errors should be logged to console.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolexhrloggingasyncexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorconsolexhrloggingasyncexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-async-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-async-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-async-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
+Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled for asynchronous XHRs.
+
+Bug 79229
+XHR finished loading: &quot;http://127.0.0.1:8000/inspector/resources/xhr-exists.html&quot;. [native code]:1
+XHR loaded: 1 network-test.js:6
+XHR loaded: 2 network-test.js:6
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolexhrloggingasynchtmlfromrev164517trunkLayoutTestshttptestsinspectorconsolexhrloggingasynchtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-async.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-xhr-logging-async.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-async.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-async.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    step1();
+
+    function makeRequest(callback)
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/xhr-exists.html&quot;, true, callback);
+    }
+
+    function step1()
+    {
+        function callback()
+        {
+            makeRequest(step2);
+        }
+
+        ConsoleAgent.setMonitoringXHREnabled(true, callback);
+    }
+
+    function step2()
+    {
+        function callback()
+        {
+            makeRequest(step3);
+        }
+
+        ConsoleAgent.setMonitoringXHREnabled(false, callback);
+    }
+
+    function step3()
+    {
+        function finish()
+        {
+            InspectorTest.dumpConsoleMessages();
+            InspectorTest.completeTest();
+        }
+        InspectorTest.runAfterPendingDispatches(finish);
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled for asynchronous XHRs.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=79229&quot;&gt;Bug 79229&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolexhrloggingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorconsolexhrloggingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+CONSOLE MESSAGE: line 10: sending a %s request to %s
+CONSOLE MESSAGE: line 10: sending a %s request to %s
+CONSOLE MESSAGE: line 10: sending a %s request to %s
+CONSOLE MESSAGE: line 10: sending a %s request to %s
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/xhr-exists.html. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: line 10: sending a %s request to %s
+CONSOLE MESSAGE: line 10: sending a %s request to %s
+CONSOLE MESSAGE: line 10: sending a %s request to %s
+CONSOLE MESSAGE: line 10: sending a %s request to %s
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/xhr-exists.html. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled.
+
+sending a GET request to resources/xhr-exists.html console-xhr-logging.html:10
+XHR finished loading: &quot;http://127.0.0.1:8000/inspector/resources/xhr-exists.html&quot;. [native code]:1
+sending a GET request to resources/xhr-does-not-exist.html console-xhr-logging.html:10
+GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html 404 (Not Found) [native code]:1
+XHR finished loading: &quot;http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html&quot;. [native code]:1
+sending a POST request to resources/post-target.cgi console-xhr-logging.html:10
+XHR finished loading: &quot;http://127.0.0.1:8000/inspector/resources/post-target.cgi&quot;. [native code]:1
+sending a GET request to http://localhost:8000/inspector/resources/xhr-exists.html console-xhr-logging.html:10
+XMLHttpRequest cannot load http://localhost:8000/inspector/resources/xhr-exists.html. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. [native code]:1
+sending a GET request to resources/xhr-exists.html console-xhr-logging.html:10
+sending a GET request to resources/xhr-does-not-exist.html console-xhr-logging.html:10
+GET http://127.0.0.1:8000/inspector/resources/xhr-does-not-exist.html 404 (Not Found) [native code]:1
+sending a POST request to resources/post-target.cgi console-xhr-logging.html:10
+sending a GET request to http://localhost:8000/inspector/resources/xhr-exists.html console-xhr-logging.html:10
+XMLHttpRequest cannot load http://localhost:8000/inspector/resources/xhr-exists.html. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin. [native code]:1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsconsolexhrlogginghtmlfromrev164517trunkLayoutTestshttptestsinspectorconsolexhrlogginghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/console-xhr-logging.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/console-xhr-logging.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,68 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function requestHelper(method, url)
+{
+    // Make synchronous requests for simplicity.
+    console.log(&quot;sending a %s request to %s&quot;, method, url);
+    makeSimpleXHR(method, url, false);
+}
+
+function makeRequests()
+{
+    // 1. Page that exists.
+    requestHelper(&quot;GET&quot;, &quot;resources/xhr-exists.html&quot;);
+    // 2. Page that doesn't exist.
+    requestHelper(&quot;GET&quot;, &quot;resources/xhr-does-not-exist.html&quot;);
+    // 3. POST to a page.
+    requestHelper(&quot;POST&quot;, &quot;resources/post-target.cgi&quot;);
+    // 4. Cross-origin request
+    requestHelper(&quot;GET&quot;, &quot;http://localhost:8000/inspector/resources/xhr-exists.html&quot;);
+}
+
+function test()
+{
+    step1();
+
+    function step1()
+    {
+        function callback()
+        {
+            InspectorTest.evaluateInPage(&quot;makeRequests()&quot;, step2);
+        }
+        ConsoleAgent.setMonitoringXHREnabled(true, callback);
+    }
+
+    function step2()
+    {
+        function callback()
+        {
+            InspectorTest.evaluateInPage(&quot;makeRequests()&quot;, step3);
+        }
+        ConsoleAgent.setMonitoringXHREnabled(false, callback);
+    }
+
+    function step3()
+    {
+        function finish()
+        {
+            InspectorTest.dumpConsoleMessages();
+            InspectorTest.completeTest();
+        }
+        InspectorTest.runAfterPendingDispatches(finish);
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that XMLHttpRequest Logging works when Enabled and doesn't show logs when Disabled.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdatabaseopenexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenableddatabaseopenexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/database-open-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/database-open-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/database-open-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/database-open-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Tests that Web Inspector gets populated with databases that were opened before inspector is shown.
+
+Name: InspectorDatabaseTest
+Version: 1.0
+Domain: 127.0.0.1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdatabaseopenhtmlfromrev164517trunkLayoutTestshttptestsinspectorenableddatabaseopenhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/database-open.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/database-open.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/database-open.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/database-open.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+
+    var db = openDatabase(&quot;InspectorDatabaseTest&quot;, &quot;1.0&quot;, &quot;Test of database instrumentation&quot;, 1);
+
+    if (window.testRunner)
+        testRunner.showWebInspector();
+    runTest();
+}
+
+function test()
+{
+    function run()
+    {
+        var databases = WebInspector.databaseModel.databases();
+        for (var i = 0; i &lt; databases.length; ++i) {
+            InspectorTest.addResult(&quot;Name: &quot; + databases[i].name);
+            InspectorTest.addResult(&quot;Version: &quot; + databases[i].version);
+            InspectorTest.addResult(&quot;Domain: &quot; + databases[i].domain);
+        }
+        InspectorTest.completeTest();
+    }
+    InspectorBackend.runAfterPendingDispatches(run);
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;Tests that Web Inspector gets populated with databases that were opened before inspector is shown.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdebuggertestjsfromrev164517trunkLayoutTestshttptestsinspectordebuggertestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/debugger-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/debugger-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/debugger-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/debugger-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,312 @@
</span><ins>+var initialize_DebuggerTest = function() {
+
+InspectorTest.startDebuggerTest = function(callback, quiet)
+{
+    if (quiet !== undefined)
+        InspectorTest._quiet = quiet;
+    WebInspector.showPanel(&quot;scripts&quot;);
+
+    if (WebInspector.debuggerModel.debuggerEnabled())
+        startTest();
+    else {
+        InspectorTest.addSniffer(WebInspector.debuggerModel, &quot;_debuggerWasEnabled&quot;, startTest);
+        WebInspector.debuggerModel.enableDebugger();
+    }
+
+    function startTest()
+    {
+        InspectorTest.addResult(&quot;Debugger was enabled.&quot;);
+        InspectorTest.addSniffer(WebInspector.debuggerModel, &quot;_pausedScript&quot;, InspectorTest._pausedScript, true);
+        InspectorTest.addSniffer(WebInspector.debuggerModel, &quot;_resumedScript&quot;, InspectorTest._resumedScript, true);
+        InspectorTest.safeWrap(callback)();
+    }
+};
+
+InspectorTest.finishDebuggerTest = function(callback)
+{
+    var scriptsPanel = WebInspector.panels.scripts;
+
+    WebInspector.debuggerModel.setBreakpointsActive(true);
+    InspectorTest.resumeExecution(disableDebugger);
+
+    function disableDebugger()
+    {
+        if (!WebInspector.debuggerModel.debuggerEnabled())
+            completeTest();
+        else {
+            InspectorTest.addSniffer(WebInspector.debuggerModel, &quot;_debuggerWasDisabled&quot;, debuggerDisabled);
+            WebInspector.debuggerModel.disableDebugger();
+        }
+    }
+
+    function debuggerDisabled()
+    {
+        InspectorTest.addResult(&quot;Debugger was disabled.&quot;);
+        callback();
+    }
+};
+
+InspectorTest.completeDebuggerTest = function()
+{
+    InspectorTest.finishDebuggerTest(InspectorTest.completeTest.bind(InspectorTest));
+};
+
+InspectorTest.runDebuggerTestSuite = function(testSuite)
+{
+    var testSuiteTests = testSuite.slice();
+
+    function runner()
+    {
+        if (!testSuiteTests.length) {
+            InspectorTest.completeDebuggerTest();
+            return;
+        }
+
+        var nextTest = testSuiteTests.shift();
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(&quot;Running: &quot; + /function\s([^(]*)/.exec(nextTest)[1]);
+        InspectorTest.safeWrap(nextTest)(runner, runner);
+    }
+
+    InspectorTest.startDebuggerTest(runner);
+}
+
+InspectorTest.runTestFunctionAndWaitUntilPaused = function(callback)
+{
+    InspectorTest.evaluateInConsole(&quot;setTimeout(testFunction, 0)&quot;);
+    InspectorTest.addResult(&quot;Set timer for test function.&quot;);
+    InspectorTest.waitUntilPaused(callback);
+};
+
+InspectorTest.waitUntilPaused = function(callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    if (InspectorTest._callFrames)
+        callback(InspectorTest._callFrames);
+    else
+        InspectorTest._waitUntilPausedCallback = callback;
+};
+
+InspectorTest.waitUntilResumed = function(callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    if (!InspectorTest._callFrames)
+        callback();
+    else
+        InspectorTest._waitUntilResumedCallback = callback;
+};
+
+InspectorTest.resumeExecution = function(callback)
+{
+    if (WebInspector.panels.scripts.paused)
+        WebInspector.panels.scripts._togglePause();
+    InspectorTest.waitUntilResumed(callback);
+};
+
+InspectorTest.captureStackTrace = function(callFrames, dropLineNumbers, verbose)
+{
+    InspectorTest.addResult(&quot;Call stack:&quot;);
+    for (var i = 0; i &lt; callFrames.length; i++) {
+        var frame = callFrames[i];
+        var script = WebInspector.debuggerModel.scriptForId(frame.location.scriptId);
+        var url;
+        var lineNumber;
+        var dropFrameLineNumber = dropLineNumbers;
+        if (script) {
+            url = WebInspector.displayNameForURL(script.sourceURL);
+            lineNumber = frame.location.lineNumber + 1;
+        } else {
+            url = &quot;(internal script)&quot;;
+            dropFrameLineNumber =  true;
+        }
+        var s = &quot;    &quot; + i + &quot;) &quot; + frame.functionName + &quot; (&quot; + url + (dropFrameLineNumber ? &quot;&quot; : &quot;:&quot; + lineNumber) + &quot;)&quot;;
+        InspectorTest.addResult(s);
+    }
+};
+
+InspectorTest.dumpSourceFrameContents = function(sourceFrame)
+{
+    InspectorTest.addResult(&quot;==Source frame contents start==&quot;);
+    var textEditor = sourceFrame._textEditor;
+    for (var i = 0; i &lt; textEditor.linesCount; ++i)
+        InspectorTest.addResult(textEditor.line(i));
+    InspectorTest.addResult(&quot;==Source frame contents end==&quot;);
+};
+
+InspectorTest._pausedScript = function(callFrames, reason, auxData)
+{
+    if (!InspectorTest._quiet)
+        InspectorTest.addResult(&quot;Script execution paused.&quot;);
+    InspectorTest._callFrames = callFrames;
+    if (InspectorTest._waitUntilPausedCallback) {
+        var callback = InspectorTest._waitUntilPausedCallback;
+        delete InspectorTest._waitUntilPausedCallback;
+        callback(InspectorTest._callFrames);
+    }
+}
+
+InspectorTest._resumedScript = function()
+{
+    if (!InspectorTest._quiet)
+        InspectorTest.addResult(&quot;Script execution resumed.&quot;);
+    delete InspectorTest._callFrames;
+    if (InspectorTest._waitUntilResumedCallback) {
+        var callback = InspectorTest._waitUntilResumedCallback;
+        delete InspectorTest._waitUntilResumedCallback;
+        callback();
+    }
+};
+
+InspectorTest.showUISourceCode = function(uiSourceCode, callback)
+{
+    var panel = WebInspector.showPanel(&quot;scripts&quot;);
+    panel.showUISourceCode(uiSourceCode);
+    var sourceFrame = panel.visibleView;
+    if (sourceFrame.loaded)
+        callback(sourceFrame);
+    else
+        InspectorTest.addSniffer(sourceFrame, &quot;onTextEditorContentLoaded&quot;, callback.bind(null, sourceFrame));
+};
+
+InspectorTest.showScriptSource = function(scriptName, callback)
+{
+    var panel = WebInspector.showPanel(&quot;scripts&quot;);
+    var uiSourceCodes = panel._workspace.uiSourceCodes();
+    for (var i = 0; i &lt; uiSourceCodes.length; ++i) {
+        if (uiSourceCodes[i].name() === scriptName) {
+            InspectorTest.showUISourceCode(uiSourceCodes[i], callback);
+            return;
+        }
+    }
+
+    InspectorTest.addSniffer(WebInspector.ScriptsPanel.prototype, &quot;_addUISourceCode&quot;, InspectorTest.showScriptSource.bind(InspectorTest, scriptName, callback));
+};
+
+InspectorTest.dumpScriptsNavigator = function(navigator, prefix)
+{
+    prefix = prefix || &quot;&quot;;
+    InspectorTest.addResult(prefix + &quot;Dumping ScriptsNavigator 'Scripts' tab:&quot;);
+    dumpNavigatorTreeOutline(prefix, navigator._scriptsView._scriptsTree);
+    InspectorTest.addResult(prefix + &quot;Dumping ScriptsNavigator 'Content scripts' tab:&quot;);
+    dumpNavigatorTreeOutline(prefix, navigator._contentScriptsView._scriptsTree);
+
+    function dumpNavigatorTreeElement(prefix, treeElement)
+    {
+        InspectorTest.addResult(prefix + treeElement.titleText);
+        for (var i = 0; i &lt; treeElement.children.length; ++i)
+            dumpNavigatorTreeElement(prefix + &quot;  &quot;, treeElement.children[i]);
+    }
+
+    function dumpNavigatorTreeOutline(prefix, treeOutline)
+    {
+        for (var i = 0; i &lt; treeOutline.children.length; ++i)
+            dumpNavigatorTreeElement(prefix + &quot;  &quot;, treeOutline.children[i]);
+    }
+    InspectorTest.addResult(&quot;&quot;);
+};
+
+InspectorTest.setBreakpoint = function(sourceFrame, lineNumber, condition, enabled)
+{
+    sourceFrame._setBreakpoint(lineNumber, condition, enabled);
+};
+
+InspectorTest.removeBreakpoint = function(sourceFrame, lineNumber)
+{
+    sourceFrame._breakpointManager.findBreakpoint(sourceFrame._uiSourceCode, lineNumber).remove();
+};
+
+
+InspectorTest.expandProperties = function(properties, callback)
+{
+    var index = 0;
+    function expandNextPath()
+    {
+        if (index === properties.length) {
+            InspectorTest.safeWrap(callback)();
+            return;
+        }
+        var parentTreeElement = properties[index++];
+        var path = properties[index++];
+        InspectorTest._expandProperty(parentTreeElement, path, 0, expandNextPath);
+    }
+    InspectorTest.runAfterPendingDispatches(expandNextPath);
+};
+
+InspectorTest._expandProperty = function(parentTreeElement, path, pathIndex, callback)
+{
+    if (pathIndex === path.length) {
+        InspectorTest.addResult(&quot;Expanded property: &quot; + path.join(&quot;.&quot;));
+        callback();
+        return;
+    }
+    var name = path[pathIndex++];
+    var propertyTreeElement = InspectorTest._findChildPropertyTreeElement(parentTreeElement, name);
+    if (!propertyTreeElement) {
+       InspectorTest.addResult(&quot;Failed to expand property: &quot; + path.slice(0, pathIndex).join(&quot;.&quot;));
+       InspectorTest.completeDebuggerTest();
+       return;
+    }
+    propertyTreeElement.expand();
+    InspectorTest.runAfterPendingDispatches(InspectorTest._expandProperty.bind(InspectorTest, propertyTreeElement, path, pathIndex, callback));
+};
+
+InspectorTest._findChildPropertyTreeElement = function(parent, childName)
+{
+    var children = parent.children;
+    for (var i = 0; i &lt; children.length; i++) {
+        var treeElement = children[i];
+        var property = treeElement.property;
+        if (property.name === childName)
+            return treeElement;
+    }
+};
+
+InspectorTest.setQuiet = function(quiet)
+{
+    InspectorTest._quiet = quiet;
+};
+
+InspectorTest.queryScripts = function(filter)
+{
+    var scripts = [];
+    for (var scriptId in WebInspector.debuggerModel._scripts) {
+        var script = WebInspector.debuggerModel._scripts[scriptId];
+        if (!filter || filter(script))
+            scripts.push(script);
+    }
+    return scripts;
+};
+
+InspectorTest.createScriptMock = function(url, startLine, startColumn, isContentScript, source)
+{
+    var scriptId = ++InspectorTest._lastScriptId;
+    var lineCount = source.lineEndings().length;
+    var endLine = startLine + lineCount - 1;
+    var endColumn = lineCount === 1 ? startColumn + source.length : source.length - source.lineEndings()[lineCount - 2];
+    var hasSourceURL = !!source.match(/\/\/@\ssourceURL=\s*(\S*?)\s*$/m);
+    var script = new WebInspector.Script(scriptId, url, startLine, startColumn, endLine, endColumn, isContentScript, null, hasSourceURL);
+    script.requestContent = function(callback) { callback(source, false, &quot;text/javascript&quot;); };
+    WebInspector.debuggerModel._registerScript(script);
+    return script;
+}
+
+InspectorTest._lastScriptId = 0;
+
+InspectorTest.checkRawLocation = function(script, lineNumber, columnNumber, location)
+{
+    InspectorTest.assertEquals(script.scriptId, location.scriptId, &quot;Incorrect scriptId&quot;);
+    InspectorTest.assertEquals(lineNumber, location.lineNumber, &quot;Incorrect lineNumber&quot;);
+    InspectorTest.assertEquals(columnNumber, location.columnNumber, &quot;Incorrect columnNumber&quot;);
+};
+
+InspectorTest.checkUILocation = function(uiSourceCode, lineNumber, columnNumber, location)
+{
+    InspectorTest.assertEquals(uiSourceCode, location.uiSourceCode, &quot;Incorrect uiSourceCode, expected '&quot; + (uiSourceCode ? uiSourceCode.originURL() : null) + &quot;',&quot; +
+                                                                    &quot; but got '&quot; + (location.uiSourceCode ? location.uiSourceCode.originURL() : null) + &quot;'&quot;);
+    InspectorTest.assertEquals(lineNumber, location.lineNumber, &quot;Incorrect lineNumber, expected '&quot; + lineNumber + &quot;', but got '&quot; + location.lineNumber + &quot;'&quot;);
+    InspectorTest.assertEquals(columnNumber, location.columnNumber, &quot;Incorrect columnNumber, expected '&quot; + columnNumber + &quot;', but got '&quot; + location.columnNumber + &quot;'&quot;);
+};
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdedicatedworkerslistexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenableddedicatedworkerslistexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/dedicated-workers-list-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/dedicated-workers-list-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/dedicated-workers-list-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 20: Received message from worker 1
+CONSOLE MESSAGE: line 20: Received message from worker 2
+Tests that dedicated workers created before worker inspection was enabled will be reported to the front-end. Bug 72020
+
+Worker inspection enabled
+Added worker: 1
+Added worker: 2
+Done.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdedicatedworkerslisthtmlfromrev164517trunkLayoutTestshttptestsinspectorenableddedicatedworkerslisthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/dedicated-workers-list.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/dedicated-workers-list.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/dedicated-workers-list.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/dedicated-workers-list.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,63 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+function handleLoad()
+{
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+
+    var worker1 = new Worker(&quot;resources/dedicated-worker.js?id=1&quot;);
+    worker1.onmessage = handleMessageFromWorker;
+    var worker2 = new Worker(&quot;resources/dedicated-worker.js?id=2&quot;);
+    worker2.onmessage = handleMessageFromWorker;
+    var messageCount = 0;
+    function handleMessageFromWorker(event)
+    {
+        messageCount++;
+        console.log(&quot;Received message from worker &quot; + messageCount);
+        if (messageCount === 2) {
+            if (window.testRunner)
+                testRunner.showWebInspector();
+            runTest();
+        }
+    }
+}
+
+
+function test()
+{
+    WorkerAgent.disable(didDisableWorkerInspection);
+
+    function didDisableWorkerInspection()
+    {
+        WebInspector.workerManager.addEventListener(WebInspector.WorkerManager.Events.WorkerAdded, workerAdded, this);
+        WorkerAgent.enable();
+        InspectorTest.addResult(&quot;Worker inspection enabled&quot;);
+    }
+
+    var workerCount = 0;
+    function workerAdded()
+    {
+        workerCount++;
+        InspectorTest.addResult(&quot;Added worker: &quot; + workerCount);
+        if (workerCount === 2) {
+            InspectorTest.addResult(&quot;Done.&quot;);
+            InspectorTest.completeTest();
+        }
+    }
+};
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;handleLoad()&quot;&gt;
+&lt;p&gt;Tests that dedicated workers created before worker inspection was enabled will be reported to the front-end.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=72020&quot;&gt;Bug 72020&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdocumentwriteexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenableddocumentwriteexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/document-write-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/document-write-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/document-write-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/document-write-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 4: Line 4
+CONSOLE MESSAGE: line 5: Line 5
+CONSOLE MESSAGE: line 1: Line 1 in document.write
+CONSOLE MESSAGE: line 4: Line 4 in document.write
+CONSOLE MESSAGE: line 7: Line 7
+CONSOLE MESSAGE: line 25: Line 25
+CONSOLE MESSAGE: line 1: script element
+CONSOLE MESSAGE: line 1: document.write from onload
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdocumentwritehtmlfromrev164517trunkLayoutTestshttptestsinspectorenableddocumentwritehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/document-write.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/document-write.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/document-write.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/document-write.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;script&gt;console.log(&quot;Line 4&quot;);&lt;/script&gt;
+&lt;script&gt;console.log(&quot;Line 5&quot;);&lt;/script&gt;
+&lt;script&gt;document.write(&quot;&lt;scrip&quot; + &quot;t&gt;console.log(\&quot;Line 1 in document.write\&quot;);\n\n\nconsole.log(\&quot;Line 4 in document.write\&quot;);&lt;/sc&quot; + &quot;ript&gt;&quot;);&lt;/script&gt;
+&lt;script&gt;console.log(&quot;Line 7&quot;);&lt;/script&gt;
+
+&lt;script&gt;
+
+function onload()
+{
+    if (window.testRunner)
+        testRunner.dumpAsText();
+
+    var script = document.createElement(&quot;script&quot;);
+    script.textContent = &quot;console.log(\&quot;script element\&quot;)&quot;;
+    document.head.appendChild(script);
+    document.write(&quot;&lt;scrip&quot; + &quot;t&gt;console.log(\&quot;document.write from onload\&quot;);&lt;/sc&quot; + &quot;ript&gt;&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;console.log('Line 25'); onload();&quot;&gt;
+&lt;p&gt;
+Tests that console reports zero line number for scripts generated with document.write. See https://bugs.webkit.org/show_bug.cgi?id=71099.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdomstorageopenexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenableddomstorageopenexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/dom-storage-open-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/dom-storage-open-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/dom-storage-open-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Tests that Web Inspector gets populated with DOM storages according to security origins found in the page.
+
+SecurityOrigin: http://127.0.0.1:8000
+IsLocalStorage: true
+SecurityOrigin: http://127.0.0.1:8000
+IsLocalStorage: false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdomstorageopenhtmlfromrev164517trunkLayoutTestshttptestsinspectorenableddomstorageopenhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/dom-storage-open.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/dom-storage-open.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/dom-storage-open.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/dom-storage-open.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function onload()
+{
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+
+    window.sessionStorage[&quot;inspector&quot;] = &quot;true&quot;;
+
+    if (window.testRunner)
+        testRunner.showWebInspector();
+    runTest();
+}
+
+function test()
+{
+    function callback()
+    {
+        var storages = WebInspector.domStorageModel.storages();
+        for (var i = 0; i &lt; storages.length; ++i) {
+            InspectorTest.addResult(&quot;SecurityOrigin: &quot; + storages[i].securityOrigin);
+            InspectorTest.addResult(&quot;IsLocalStorage: &quot; + storages[i].isLocalStorage);
+        }
+        InspectorTest.completeTest();
+    }
+    InspectorBackend.runAfterPendingDispatches(callback);
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;Tests that Web Inspector gets populated with DOM storages according to security origins found in the page.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdynamicscriptsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenableddynamicscriptsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/dynamic-scripts-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/dynamic-scripts-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/dynamic-scripts-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+Tests that scripts for dynamically added script elements are shown in sources panel if inspector is opened after the scripts were loaded.
+
+Bug 99324
+Debugger was enabled.
+UISourceCodes:
+    debugger-test.js
+    dynamic-script.js
+    dynamic-scripts.html
+    evalSourceURL.js
+    inspector-test.js
+    scriptElementContentSourceURL.js
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsdynamicscriptshtmlfromrev164517trunkLayoutTestshttptestsinspectorenableddynamicscriptshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/dynamic-scripts.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/dynamic-scripts.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/dynamic-scripts.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/dynamic-scripts.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,82 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../inspector/debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function appendDynamicScriptElement(src, content)
+{
+    var scriptElement = document.createElement(&quot;script&quot;);
+    if (src)
+        scriptElement.src = src;
+    else
+        scriptElement.textContent = content;
+    document.head.appendChild(scriptElement);
+}
+
+function loadScripts()
+{
+    var sourceURLComment = &quot;\n //@ sourceURL=&quot;;
+    window.eval(&quot;function fooEval() {}&quot;);
+    window.eval(&quot;function fooEvalSourceURL() {}&quot; + sourceURLComment + &quot;evalSourceURL.js&quot;);
+    appendDynamicScriptElement(&quot;&quot;, &quot;function fooScriptElementContent1() {}&quot;);
+    appendDynamicScriptElement(&quot;&quot;, &quot;function fooScriptElementContent2() {}&quot;);
+    appendDynamicScriptElement(&quot;&quot;, &quot;function fooScriptElementContentSourceURL() {}&quot; + sourceURLComment + &quot;scriptElementContentSourceURL.js&quot;);
+    appendDynamicScriptElement(&quot;resources/dynamic-script.js&quot;);
+}
+
+function onload()
+{
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+    loadScripts();
+}
+
+function scriptLoaded()
+{
+    if (window.testRunner)
+        testRunner.showWebInspector();
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.startDebuggerTest(step2);
+
+    function step2()
+    {
+        InspectorTest.runAfterPendingDispatches(step3);
+    }
+
+    function step3()
+    {
+        var panel = WebInspector.showPanel(&quot;scripts&quot;);
+        var uiSourceCodes = WebInspector.workspace.uiSourceCodesForProjectType(WebInspector.projectTypes.Network);
+        var urls = uiSourceCodes.map(function(uiSourceCode) { return uiSourceCode.name(); });
+        urls.sort();
+        
+        var whiteList = [&quot;debugger-test.js&quot;, &quot;dynamic-script.js&quot;, &quot;dynamic-scripts.html&quot;, &quot;evalSourceURL.js&quot;, &quot;inspector-test.js&quot;, &quot;scriptElementContentSourceURL.js&quot;];
+        function filter(url)
+        {
+            for (var i = 0; i &lt; whiteList.length; ++i) {
+                if (url.indexOf(whiteList[i]) !== -1)
+                    return true;
+            }
+                
+            return false;
+        }
+        urls = urls.filter(filter);
+
+        InspectorTest.addResult(&quot;UISourceCodes:&quot;);
+        for (var i = 0; i &lt; urls.length; ++i)
+            InspectorTest.addResult(&quot;    &quot; + urls[i]);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;p&gt;Tests that scripts for dynamically added script elements are shown in sources panel if inspector is opened after the scripts were loaded.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=99324&quot;&gt;Bug 99324&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestselementstestjsfromrev164517trunkLayoutTestshttptestsinspectorelementstestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/elements-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/elements-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/elements-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/elements-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,644 @@
</span><ins>+var initialize_ElementTest = function() {
+
+InspectorTest.findNode = function(matchFunction, callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+    var result = null;
+    var topLevelChildrenRequested = false;
+    var pendingRequests = 0;
+    function processChildren(topLevel, children)
+    {
+        pendingRequests--;
+        if (result)
+            return;
+
+        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i) {
+            var childNode = children[i];
+            if (matchFunction(childNode)) {
+                result = childNode;
+                callback(result);
+                return;
+            }
+            pendingRequests++;
+            childNode.getChildNodes(processChildren.bind(null, false));
+        }
+
+        if (topLevel)
+            topLevelChildrenRequested = true;
+        if (topLevelChildrenRequested &amp;&amp; !result &amp;&amp; !pendingRequests)
+            callback(null);
+    }
+    pendingRequests++;
+
+    WebInspector.domAgent.requestDocument(documentRequested.bind(this));
+    function documentRequested(doc)
+    {
+        doc.getChildNodes(processChildren.bind(this, true));
+    }
+};
+
+InspectorTest.nodeWithId = function(idValue, callback)
+{
+    function nodeIdMatches(node)
+    {
+        return node.getAttribute(&quot;id&quot;) === idValue;
+    }
+    InspectorTest.findNode(nodeIdMatches, callback);
+}
+
+InspectorTest.expandedNodeWithId = function(idValue)
+{
+    var result;
+    function callback(node)
+    {
+        result = node;
+    }
+    InspectorTest.nodeWithId(idValue, callback);
+    return result;
+}
+
+InspectorTest.selectNodeWithId = function(idValue, callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+    function onNodeFound(node)
+    {
+        if (node)
+            WebInspector._updateFocusedNode(node.id);
+        callback(node);
+    }
+    InspectorTest.nodeWithId(idValue, onNodeFound);
+}
+
+InspectorTest.waitForStyles = function(idValue, callback, requireRebuild)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    (function sniff(node, rebuild)
+    {
+        if ((rebuild || !requireRebuild) &amp;&amp; node &amp;&amp; node.getAttribute(&quot;id&quot;) === idValue) {
+            callback();
+            return;
+        }
+        InspectorTest.addSniffer(WebInspector.StylesSidebarPane.prototype, &quot;_nodeStylesUpdatedForTest&quot;, sniff);
+    })(null);
+}
+
+InspectorTest.selectNodeAndWaitForStyles = function(idValue, callback)
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+
+    callback = InspectorTest.safeWrap(callback);
+
+    var targetNode;
+
+    InspectorTest.waitForStyles(idValue, stylesUpdated, true);
+    InspectorTest.selectNodeWithId(idValue, nodeSelected);
+
+    function nodeSelected(node)
+    {
+        targetNode = node;
+    }
+
+    function stylesUpdated()
+    {
+        callback(targetNode);
+    }
+}
+
+InspectorTest.selectNodeAndWaitForStylesWithComputed = function(idValue, callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    function stylesCallback(targetNode)
+    {
+        InspectorTest.addSniffer(WebInspector.SidebarPane.prototype, &quot;onContentReady&quot;, callback);
+        WebInspector.panels.elements.sidebarPanes.computedStyle.expand();
+    }
+
+    InspectorTest.selectNodeAndWaitForStyles(idValue, stylesCallback);
+}
+
+InspectorTest.dumpSelectedElementStyles = function(excludeComputed, excludeMatched, omitLonghands, includeSelectorGroupMarks)
+{
+    function extractText(element)
+    {
+        var text = element.textContent;
+        if (text)
+            return text;
+        element = element.querySelector(&quot;[data-uncopyable]&quot;);
+        return element ? element.getAttribute(&quot;data-uncopyable&quot;) : &quot;&quot;;
+    }
+
+    function buildMarkedSelectors(element)
+    {
+        var result = &quot;&quot;;
+        for (var node = element.firstChild; node; node = node.nextSibling) {
+            if (node.nodeType === Node.ELEMENT_NODE &amp;&amp; node.className === &quot;selector-matches&quot;)
+                result += &quot;[$&quot; + node.textContent + &quot;$]&quot;;
+            else
+                result += node.textContent;
+        }
+        return result;
+    }
+
+    var styleSections = WebInspector.panels.elements.sidebarPanes.styles.sections;
+    for (var pseudoId in styleSections) {
+        var pseudoName = WebInspector.StylesSidebarPane.PseudoIdNames[pseudoId];
+        var sections = styleSections[pseudoId];
+        for (var i = 0; i &lt; sections.length; ++i) {
+            var section = sections[i];
+            if (section.computedStyle &amp;&amp; excludeComputed)
+                continue;
+            if (section.rule &amp;&amp; excludeMatched)
+                continue;
+            if (section.element.previousSibling &amp;&amp; section.element.previousSibling.className === &quot;sidebar-separator&quot;)
+                InspectorTest.addResult(&quot;======== &quot; + section.element.previousSibling.textContent + &quot; ========&quot;);
+            InspectorTest.addResult((section.expanded ? &quot;[expanded] &quot; : &quot;[collapsed] &quot;) + (section.noAffect ? &quot;[no-affect] &quot; : &quot;&quot;));
+            var chainEntries = section.titleElement.children;
+            for (var j = 0; j &lt; chainEntries.length; ++j) {
+                var chainEntry = chainEntries[j];
+                var entryLine = includeSelectorGroupMarks ? buildMarkedSelectors(chainEntry.children[1]) : chainEntry.children[1].textContent;
+                if (chainEntry.children[2])
+                    entryLine += &quot; &quot; + chainEntry.children[2].textContent;
+                entryLine += &quot; (&quot; + extractText(chainEntry.children[0]) + &quot;)&quot;;
+                InspectorTest.addResult(entryLine);
+            }
+            section.expand();
+            InspectorTest.dumpStyleTreeOutline(section.propertiesTreeOutline, omitLonghands ? 1 : 2);
+            InspectorTest.addResult(&quot;&quot;);
+        }
+        InspectorTest.addResult(&quot;&quot;);
+    }
+}
+
+InspectorTest.toggleStyleProperty = function(propertyName, checked)
+{
+    var treeItem = InspectorTest.getElementStylePropertyTreeItem(propertyName);
+    treeItem.toggleEnabled({ target: { checked: checked }, consume: function() { } });
+}
+
+InspectorTest.toggleMatchedStyleProperty = function(propertyName, checked)
+{
+    var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(propertyName);
+    treeItem.toggleEnabled({ target: { checked: checked }, consume: function() { } });
+}
+
+InspectorTest.expandAndDumpSelectedElementEventListeners = function(callback)
+{
+    InspectorTest.expandSelectedElementEventListeners(function() {
+        InspectorTest.dumpSelectedElementEventListeners(callback);
+    });
+}
+
+InspectorTest.expandSelectedElementEventListeners = function(callback)
+{
+    var sidebarPane = WebInspector.panels.elements.sidebarPanes.eventListeners;
+    sidebarPane.expand();
+
+    InspectorTest.runAfterPendingDispatches(function() {
+        InspectorTest.expandSelectedElementEventListenersSubsections(callback);
+    });
+}
+
+InspectorTest.expandSelectedElementEventListenersSubsections = function(callback)
+{
+    var eventListenerSections = WebInspector.panels.elements.sidebarPanes.eventListeners.sections;
+    for (var i = 0; i &lt; eventListenerSections.length; ++i)
+        eventListenerSections[i].expand();
+
+    // Multiple sections may expand.
+    InspectorTest.runAfterPendingDispatches(function() {
+        InspectorTest.expandSelectedElementEventListenersEventBars(callback);
+    });
+}
+
+InspectorTest.expandSelectedElementEventListenersEventBars = function(callback)
+{
+    var eventListenerSections = WebInspector.panels.elements.sidebarPanes.eventListeners.sections;
+    for (var i = 0; i &lt; eventListenerSections.length; ++i) {
+        var eventBarChildren = eventListenerSections[i]._eventBars.children;
+        for (var j = 0; j &lt; eventBarChildren.length; ++j)
+            eventBarChildren[j]._section.expand();
+    }
+
+    // Multiple sections may expand.
+    InspectorTest.runAfterPendingDispatches(callback);
+}
+
+InspectorTest.dumpSelectedElementEventListeners = function(callback)
+{
+    function formatSourceNameProperty(value)
+    {
+        return &quot;[clipped-for-test]/&quot; + value.replace(/(.*?\/)LayoutTests/, &quot;LayoutTests&quot;);
+    }
+
+    var eventListenerSections = WebInspector.panels.elements.sidebarPanes.eventListeners.sections;
+    for (var i = 0; i &lt; eventListenerSections.length; ++i) {
+        var section = eventListenerSections[i];
+        var eventType = section._title;
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(&quot;======== &quot; + eventType + &quot; ========&quot;);
+        var eventBarChildren = section._eventBars.children;
+        for (var j = 0; j &lt; eventBarChildren.length; ++j) {
+            var objectPropertiesSection = eventBarChildren[j]._section;
+            InspectorTest.dumpObjectPropertySection(objectPropertiesSection, {
+                sourceName: formatSourceNameProperty
+            });
+        }
+    }
+
+    callback();
+}
+
+InspectorTest.dumpObjectPropertySection = function(section, formatters)
+{
+    var expandedSubstring = section.expanded ? &quot;[expanded]&quot; : &quot;[collapsed]&quot;;
+    InspectorTest.addResult(expandedSubstring + &quot; &quot; + section.titleElement.textContent + &quot; &quot; + section.subtitleAsTextForTest);
+    if (!section.propertiesForTest)
+        return;
+
+    for (var i = 0; i &lt; section.propertiesForTest.length; ++i) {
+        var property = section.propertiesForTest[i];
+        var key = property.name;
+        var value = property.value._description;
+        if (key in formatters)
+            value = formatters[key](value);
+        InspectorTest.addResult(&quot;    &quot; + key + &quot;: &quot; + value);
+    }
+}
+
+InspectorTest.dumpObjectPropertySectionDeep = function(section)
+{
+    function domNodeToString(node) {
+        if (node)
+            return &quot;'&quot; + node.textContent + &quot;'&quot;;
+        else
+            return &quot;null&quot;;
+    }
+    function dumpTreeElementRecursively(treeElement, prefix) {
+        if (&quot;nameElement&quot; in treeElement)
+            InspectorTest.addResult(prefix + domNodeToString(treeElement.nameElement) + &quot; =&gt; &quot; + domNodeToString(treeElement.valueElement));
+        else
+            InspectorTest.addResult(prefix + treeElement.title);
+        for (var i = 0; i &lt; treeElement.children.length; i++)
+            dumpTreeElementRecursively(treeElement.children[i], prefix + &quot;    &quot;);
+    }
+
+    var childNodes = section.propertiesTreeOutline.children;
+    for (var i = 0; i &lt; childNodes.length; i++) {
+        dumpTreeElementRecursively(childNodes[i], &quot;&quot;);
+    }
+}
+
+// FIXME: this returns the first tree item found (may fail for same-named properties in a style).
+InspectorTest.getElementStylePropertyTreeItem = function(propertyName)
+{
+    var styleSections = WebInspector.panels.elements.sidebarPanes.styles.sections[0];
+    var elementStyleSection = styleSections[1];
+    return InspectorTest.getFirstPropertyTreeItemForSection(elementStyleSection, propertyName);
+};
+
+// FIXME: this returns the first tree item found (may fail for same-named properties in a style).
+InspectorTest.getMatchedStylePropertyTreeItem = function(propertyName)
+{
+    var styleSections = WebInspector.panels.elements.sidebarPanes.styles.sections[0];
+    for (var i = 1; i &lt; styleSections.length; ++i) {
+        var treeItem = InspectorTest.getFirstPropertyTreeItemForSection(styleSections[i], propertyName);
+        if (treeItem)
+            return treeItem;
+    }
+    return null;
+};
+
+InspectorTest.getFirstPropertyTreeItemForSection = function(section, propertyName)
+{
+    var outline = section.propertiesTreeOutline;
+    for (var i = 0; i &lt; outline.children.length; ++i) {
+        var treeItem = outline.children[i];
+        if (treeItem.name === propertyName)
+            return treeItem;
+    }
+    return null;
+};
+
+InspectorTest.dumpStyleTreeOutline = function(treeItem, depth)
+{
+    var children = treeItem.children;
+    for (var i = 0; i &lt; children.length; ++i)
+        InspectorTest.dumpStyleTreeItem(children[i], &quot;&quot;, depth || 2);
+};
+
+InspectorTest.dumpStyleTreeItem = function(treeItem, prefix, depth)
+{
+    // Filter out width and height properties in order to minimize
+    // potential diffs.
+    if (!treeItem.listItemElement.textContent.indexOf(&quot;width&quot;) ||
+        !treeItem.listItemElement.textContent.indexOf(&quot;height&quot;))
+        return;
+
+    if (treeItem.listItemElement.hasStyleClass(&quot;inherited&quot;))
+        return;
+    var typePrefix = &quot;&quot;;
+    if (treeItem.listItemElement.hasStyleClass(&quot;overloaded&quot;) || treeItem.listItemElement.hasStyleClass(&quot;inactive&quot;) || treeItem.listItemElement.hasStyleClass(&quot;not-parsed-ok&quot;))
+        typePrefix += &quot;/-- overloaded --/ &quot;;
+    if (treeItem.listItemElement.hasStyleClass(&quot;disabled&quot;))
+        typePrefix += &quot;/-- disabled --/ &quot;;
+    var textContent = treeItem.listItemElement.textContent;
+
+    // Add non-selectable url text.
+    var textData = treeItem.listItemElement.querySelector(&quot;[data-uncopyable]&quot;);
+    if (textData)
+        textContent += textData.getAttribute(&quot;data-uncopyable&quot;);
+    InspectorTest.addResult(prefix + typePrefix + textContent);
+    if (--depth) {
+        treeItem.expand();
+        var children = treeItem.children;
+        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i)
+            InspectorTest.dumpStyleTreeItem(children[i], prefix + &quot;    &quot;, depth);
+    }
+};
+
+InspectorTest.dumpElementsTree = function(rootNode, depth)
+{
+    function beautify(element)
+    {
+        return element.innerText.replace(/\u200b/g, &quot;&quot;).replace(/\n/g, &quot;\\n&quot;).trim();
+    }
+
+    function dumpMap(name, map)
+    {
+        var result = [];
+        for (var id in map)
+            result.push(id + &quot;=&quot; + map[id]);
+        if (!result.length)
+            return &quot;&quot;;
+        return name + &quot;:[&quot; + result.join(&quot;,&quot;) + &quot;]&quot;;
+    }
+
+    function userPropertyDataDump(treeItem)
+    {
+        if (treeItem._elementCloseTag)
+            return &quot;&quot;;
+
+        var userProperties = &quot;&quot;;
+        var node = treeItem.representedObject;
+        if (node) {
+            userProperties += dumpMap(&quot;userProperties&quot;, node._userProperties);
+            var dump = dumpMap(&quot;descendantUserAttributeCounters&quot;, node._descendantUserPropertyCounters);
+            if (dump) {
+                if (userProperties)
+                    userProperties += &quot;, &quot;;
+                userProperties += dump;
+            }
+            if (userProperties)
+                userProperties = &quot; [&quot; + userProperties + &quot;]&quot;;
+        }
+        return userProperties;
+    }
+
+    function print(treeItem, prefix, depth)
+    {
+        if (treeItem.listItemElement) {
+            var expander;
+            if (treeItem.hasChildren) {
+                if (treeItem.expanded)
+                    expander = &quot;- &quot;;
+                else
+                    expander = &quot;+ &quot;;
+            } else
+                expander = &quot;  &quot;;
+
+            var userProperties = userPropertyDataDump(treeItem);
+            InspectorTest.addResult(prefix + expander + beautify(treeItem.listItemElement) + userProperties);
+        }
+
+        if (!treeItem.expanded)
+            return;
+
+        var children = treeItem.children;
+        for (var i = 0; depth &amp;&amp; children &amp;&amp; i &lt; children.length - 1; ++i)
+            print(children[i], prefix + &quot;    &quot;, depth - 1);
+
+        // Closing tag.
+        if (children &amp;&amp; children.length)
+            print(children[children.length - 1], prefix, depth);
+    }
+
+    WebInspector.panels.elements.treeOutline._updateModifiedNodes();
+    var treeOutline = WebInspector.panels.elements.treeOutline;
+    print(rootNode ? treeOutline.findTreeElement(rootNode) : treeOutline, &quot;&quot;, depth || 10000);
+};
+
+InspectorTest.expandElementsTree = function(callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    function expand(treeItem)
+    {
+        var children = treeItem.children;
+        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i) {
+            children[i].expand();
+            expand(children[i]);
+        }
+    }
+
+    function onAllNodesAvailable()
+    {
+        WebInspector.panels.elements.treeOutline._updateModifiedNodes();
+        expand(WebInspector.panels.elements.treeOutline);
+        callback();
+    }
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.findNode(function() { return false; }, onAllNodesAvailable);
+};
+
+InspectorTest.dumpDOMAgentTree = function()
+{
+    if (!WebInspector.domAgent._document)
+        return;
+
+    function dump(node, prefix, startIndex)
+    {
+        InspectorTest.addResult(prefix + node.nodeName() + &quot;[&quot; + (node.id - startIndex)+ &quot;]&quot;);
+        var children = node.children;
+        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i)
+            dump(children[i], prefix + &quot;    &quot;, startIndex);
+    }
+    dump(WebInspector.domAgent._document, &quot;&quot;, WebInspector.domAgent._document.id - 1);
+};
+
+InspectorTest.rangeText = function(range)
+{
+    if (!range)
+        return &quot;[undefined-undefined]&quot;;
+    return &quot;[&quot; + range.startLine + &quot;:&quot; + range.startColumn + &quot;-&quot; + range.endLine + &quot;:&quot; + range.endColumn + &quot;]&quot;;
+}
+
+InspectorTest.generateUndoTest = function(testBody)
+{
+    function result(next)
+    {
+        var testNode = InspectorTest.expandedNodeWithId(/function\s([^(]*)/.exec(testBody)[1]);
+        InspectorTest.addResult(&quot;Initial:&quot;);
+        InspectorTest.dumpElementsTree(testNode);
+
+        testBody(undo);
+
+        function undo()
+        {
+            InspectorTest.addResult(&quot;Post-action:&quot;);
+            InspectorTest.dumpElementsTree(testNode);
+            WebInspector.domAgent.undo(redo);
+        }
+
+        function redo()
+        {
+            InspectorTest.addResult(&quot;Post-undo (initial):&quot;);
+            InspectorTest.dumpElementsTree(testNode);
+            WebInspector.domAgent.redo(done);
+        }
+
+        function done()
+        {
+            InspectorTest.addResult(&quot;Post-redo (action):&quot;);
+            InspectorTest.dumpElementsTree(testNode);
+            next();
+        }
+    }
+    result.toString = function()
+    {
+        return testBody.toString();
+    }
+    return result;
+}
+
+const indent = &quot;    &quot;;
+
+InspectorTest.dumpRulesArray = function(rules, currentIndent)
+{
+    if (!rules)
+        return;
+    currentIndent = currentIndent || &quot;&quot;;
+    for (var i = 0; i &lt; rules.length; ++i)
+        InspectorTest.dumpRule(rules[i], currentIndent);
+}
+
+InspectorTest.dumpRuleMatchesArray = function(matches, currentIndent)
+{
+    if (!matches)
+        return;
+    currentIndent = currentIndent || &quot;&quot;;
+    for (var i = 0; i &lt; matches.length; ++i)
+        InspectorTest.dumpRule(matches[i].rule, currentIndent);
+}
+
+InspectorTest.dumpRule = function(rule, currentIndent)
+{
+    function selectorRange()
+    {
+        if (!rule.selectorList || !rule.selectorList.range)
+            return &quot;&quot;;
+        var range = rule.selectorList.range;
+        return &quot;, &quot; + range.startLine + &quot;:&quot; + range.startColumn + &quot;-&quot; + range.endLine + &quot;:&quot; + range.endColumn;
+    }
+
+    currentIndent = currentIndent || &quot;&quot;;
+
+    if (!rule.type || rule.type === &quot;style&quot;) {
+        InspectorTest.addResult(currentIndent + rule.selectorList.text + &quot;: [&quot; + rule.origin + selectorRange() + &quot;] {&quot;);
+        InspectorTest.dumpStyle(rule.style, currentIndent + indent);
+        InspectorTest.addResult(currentIndent + &quot;}&quot;);
+        return;
+    }
+
+    if (rule.type === &quot;media&quot;) {
+        InspectorTest.addResult(currentIndent + &quot;@media &quot; + rule.mediaText + &quot; {&quot;);
+        InspectorTest.dumpRulesArray(rule.childRules, currentIndent + indent);
+        InspectorTest.addResult(currentIndent + &quot;}&quot;);
+        return;
+    }
+
+    if (rule.type === &quot;import&quot;) {
+        InspectorTest.addResult(currentIndent + &quot;@import: header=&quot; + InspectorTest.rangeText(rule.headerRange) + &quot;, body=&quot; + InspectorTest.rangeText(rule.bodyRange));
+        return;
+    }
+
+    if (rule.type === &quot;page&quot; || rule.type === &quot;font-face&quot;) {
+        if (rule.type === &quot;page&quot;)
+            InspectorTest.addResult(currentIndent + rule.selectorList.text + &quot; {&quot;);
+        else
+            InspectorTest.addResult(currentIndent + &quot;@&quot; + rule.type + &quot; &quot; + (rule.selectorList.text ? rule.selectorList.text + &quot; &quot; : &quot;&quot;)  + &quot;{&quot;);
+        InspectorTest.dumpStyle(rule.style, currentIndent + indent);
+        InspectorTest.addResult(currentIndent + &quot;}&quot;);
+        return;
+    }
+
+    if (rule.type === &quot;charset&quot;) {
+        InspectorTest.addResult(&quot;@charset&quot;);
+        return;
+    }
+
+    InspectorTest.addResult(currentIndent + &quot;[UNKNOWN RULE]: header=&quot; + InspectorTest.rangeText(rule.headerRange) + &quot;, body=&quot; + InspectorTest.rangeText(rule.bodyRange));
+}
+
+InspectorTest.dumpStyle = function(style, currentIndent)
+{
+    currentIndent = currentIndent || &quot;&quot;;
+    if (!style) {
+        InspectorTest.addResult(currentIndent + &quot;[NO STYLE]&quot;);
+        return;
+    }
+    for (var i = 0; i &lt; style.cssProperties.length; ++i) {
+        var property = style.cssProperties[i];
+        if (property.status !== &quot;disabled&quot;)
+            InspectorTest.addResult(currentIndent + &quot;['&quot; + property.name + &quot;':'&quot; + property.value + &quot;'&quot; + (property.priority === &quot;important&quot; ? &quot; is-important&quot; : &quot;&quot;) + ((&quot;parsedOk&quot; in property) ? &quot; non-parsed&quot; : &quot;&quot;) +&quot;] @&quot; + InspectorTest.rangeText(property.range) + &quot; &quot; + (property.status || &quot;style&quot;));
+        else
+            InspectorTest.addResult(currentIndent + &quot;[text='&quot; + property.text + &quot;'] &quot; + property.status);
+    }
+}
+
+};
+
+function dumpInspectorHighlightRects()
+{
+    var rectNames = [&quot;margin&quot;, &quot;border&quot;, &quot;padding&quot;, &quot;content&quot;];
+    var rects = window.internals.inspectorHighlightRects();
+    for (var i = 0; i &lt; rects.length; i++)
+    {
+        var rectName = (i &lt; rectNames.length ? rectNames[i] : &quot;untitled&quot;);
+        var rect = rects.item(i);
+        output(rectName + &quot; rect is &quot; + rect.width + &quot; x &quot; + rect.height + &quot; at (&quot; + rect.left + &quot;, &quot; + rect.top + &quot;)&quot;);
+    }
+}
+
+function dumpInspectorHighlightedRegions()
+{
+    var highlight = window.internals.inspectorHighlightObject();
+    if (!highlight.length) {
+        output(&quot;No highlighted node.&quot;);
+        return;
+    }
+    // Reformat the string using JSON.stringify.
+    var json = JSON.parse(highlight);
+    if (!json.elementInfo || !json.elementInfo.regionFlowInfo) {
+        output(&quot;No highlighted regions.&quot;);
+        return;
+    }
+    output(JSON.stringify(json.elementInfo.regionFlowInfo, null, 4));
+}
+
+function dumpInspectorHighlightedNode()
+{
+    var highlight = window.internals.inspectorHighlightObject();
+    if (!highlight.length) {
+        output(&quot;No highlighted node.&quot;);
+        return;
+    }
+    // Reformat the string using JSON.stringify.
+    var json = JSON.parse(highlight);
+    if (!json) {
+        output(&quot;No highlighted node.&quot;);
+        return;
+    }
+    output(JSON.stringify(json, null, 4));
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsheadersexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorextensionsheadersexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-headers-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-headers-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-headers-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-headers-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests WebInspector extension API
+
+HTTP_X_WEBINSPECTOR_EXTENSION: test
+HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
+Started extension.
+Running tests...
+RUNNING TEST: extension_testAddHeaders
+All tests done.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsheadershtmlfromrev164517trunkLayoutTestshttptestsinspectorextensionsheadershtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-headers.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-headers.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-headers.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-headers.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;extensions-test.js&quot;&gt;&lt;/script&gt;
+&lt;script type=&quot;text/javascript&quot;&gt;
+
+function extension_testAddHeaders(nextTest)
+{
+    webInspector.network.addRequestHeaders({
+        &quot;x-webinspector-extension&quot;: &quot;test&quot;,
+        &quot;user-agent&quot;: &quot;Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)&quot;
+    });
+    function cleanUpHeaders()
+    {
+        webInspector.network.addRequestHeaders({
+            &quot;x-webinspector-extension&quot;: null,
+            &quot;user-agent&quot;: null
+        });
+    }
+    webInspector.inspectedWindow.eval(&quot;doXHR()&quot;, callbackAndNextTest(cleanUpHeaders, nextTest));
+}
+
+function doXHR()
+{
+    var xhr = new XMLHttpRequest();
+    xhr.open(&quot;GET&quot;, &quot;resources/echo-headers.php&quot;, false);
+    xhr.send(null);
+    // Can't use output() here due to output order instability: this is invoked by inspectedWindow.eval(),
+    // which is not serialized against output from extension, as the latter is posted asynchronously via
+    // postMessage to front-end window.
+    document.getElementById(&quot;headers&quot;).textContent += xhr.responseText;
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests WebInspector extension API&lt;/p&gt;
+&lt;div style=&quot;white-space: pre&quot; id=&quot;headers&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsiframeevalexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorextensionsiframeevalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-iframe-eval-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-iframe-eval-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-iframe-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+Tests WebInspector extension API
+
+
+Started extension.
+Running tests...
+RUNNING TEST: extension_testEvalInIFrame
+Evaluate: &quot;/inspector/resources/extensions-frame-eval.html&quot; (exception: undefined)
+RUNNING TEST: extension_testEvalInIFrameBadOption
+log: Extension server error: Object not found: bogus
+Evaluate: undefined (exception: [object Object])
+All tests done.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsiframeevalhtmlfromrev164517trunkLayoutTestshttptestsinspectorextensionsiframeevalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-iframe-eval.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-iframe-eval.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-iframe-eval.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-iframe-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;extensions-test.js&quot;&gt;&lt;/script&gt;
+&lt;script type=&quot;text/javascript&quot;&gt;
+
+function extension_testEvalInIFrame(nextTest) 
+{
+    var url = 'http://127.0.0.1:8000/inspector/resources/extensions-frame-eval.html';
+    var origin = &quot;http://127.0.0.1:8000&quot;
+    var options = {
+        frameURL: url
+    };
+    var loc = &quot;window.location.pathname&quot;;
+    webInspector.inspectedWindow.eval(loc, options, callbackAndNextTest(extension_onEval, nextTest));
+}
+
+function extension_testEvalInIFrameBadOption(nextTest) 
+{
+    var url = 'http://127.0.0.1:8000/inspector/resources/extensions-frame-eval.html';
+    var origin = &quot;http://127.0.0.1:8000&quot;
+    var options = {
+        frameURL: url,
+        scriptExecutionContext: &quot;bogus&quot;
+    };
+    var loc = &quot;window.location.pathname&quot;;
+    webInspector.inspectedWindow.eval(loc, options, callbackAndNextTest(extension_onEval, nextTest));
+}
+
+function extension_onEval(value, isException)
+{
+    output(&quot;Evaluate: &quot; + JSON.stringify(value) + &quot; (exception: &quot; + isException + &quot;)&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests WebInspector extension API&lt;/p&gt;
+&lt;iframe src=&quot;resources/extensions-frame-eval.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsignorecacheexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorextensionsignorecacheexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-ignore-cache-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-ignore-cache-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-ignore-cache-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+CONSOLE MESSAGE: line 1: Done.
+CONSOLE MESSAGE: line 1: Done.
+CONSOLE MESSAGE: line 1: Done.
+Tests ignoreCache flag of WebInspector.inspectedPage.reload()
+
+Started extension.
+Running tests...
+RUNNING TEST: extension_testIgnoreCache
+Page reloaded.
+Page reloaded.
+afterNormalReload === beforeReload
+afterNormalReload !== afterReloadWithIgnoreCache
+All tests done.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsignorecachehtmlfromrev164517trunkLayoutTestshttptestsinspectorextensionsignorecachehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-ignore-cache.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-ignore-cache.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-ignore-cache.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-ignore-cache.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,46 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;extensions-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;network/resources/random-script.php&quot;&gt;&lt;/script&gt;
+
+&lt;script type=&quot;text/javascript&quot;&gt;
+
+function extension_testIgnoreCache(nextTest)
+{
+    var beforeReload;
+    var afterReloadWithIgnoreCache;
+    var afterNormalReload;
+
+    function onNormalReload()
+    {
+        webInspector.inspectedWindow.eval(&quot;randomValue&quot;, function(value) {
+            afterNormalReload = value;
+            evaluateOnFrontend(&quot;InspectorTest.runWhenPageLoads(reply)&quot;, onReloadWithIgnoreCache);
+            webInspector.inspectedWindow.reload({ ignoreCache: true });
+        });
+    };
+
+    function onReloadWithIgnoreCache()
+    {
+        webInspector.inspectedWindow.eval(&quot;randomValue&quot;, function(value) {
+            afterReloadWithIgnoreCache = value;
+            output(&quot;afterNormalReload &quot; + (afterNormalReload === beforeReload ? &quot;===&quot; : &quot;!==&quot; ) + &quot; beforeReload&quot;);
+            output(&quot;afterNormalReload &quot; + (afterNormalReload === afterReloadWithIgnoreCache ? &quot;===&quot; : &quot;!==&quot; ) + &quot; afterReloadWithIgnoreCache&quot;);
+            nextTest();
+        });
+    }
+
+    webInspector.inspectedWindow.eval(&quot;randomValue&quot;, function(value) {
+        beforeReload = value;
+        evaluateOnFrontend(&quot;InspectorTest.runWhenPageLoads(reply)&quot;, onNormalReload);
+        webInspector.inspectedWindow.reload();
+    });
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests ignoreCache flag of WebInspector.inspectedPage.reload()&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsnetworkredirectexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorextensionsnetworkredirectexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-redirect-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-network-redirect-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-redirect-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-redirect-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+Tests WebInspector extension API returns valid data for redirected resources
+
+Page reloaded.
+Started extension.
+Running tests...
+RUNNING TEST: extension_testGetRedirectRequestContent
+content: null, encoding: 
+RUNNING TEST: extension_testRedirectRequestFinished
+Finished request: http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?status=302
+Finished request: http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?redirected=true
+RUNNING TEST: extension_testRedirectRequestInHAR
+Requests in HAR:
+http://127.0.0.1:8000/inspector/extensions-network-redirect.html
+http://127.0.0.1:8000/inspector/extensions-network-test.js
+http://127.0.0.1:8000/inspector/extensions-test.js
+http://127.0.0.1:8000/inspector/inspector-test.js
+http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?redirected=true
+http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?redirected=true
+http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?status=302
+http://127.0.0.1:8000/loading/resources/redirect-methods-result.php?status=302
+All tests done.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsnetworkredirecthtmlfromrev164517trunkLayoutTestshttptestsinspectorextensionsnetworkredirecthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-redirect.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-network-redirect.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-redirect.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-redirect.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,103 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;extensions-network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;extensions-test.js&quot;&gt;&lt;/script&gt;
+&lt;script type=&quot;text/javascript&quot;&gt;
+
+function extension_doRequest(force, callback)
+{
+    function callbackWrapper(request)
+    {
+        var lastCallback = !request || /\?redirected=true$/.test(request.request.url);
+        if (lastCallback)
+            webInspector.network.onRequestFinished.removeListener(callbackWrapper);
+        callback(request, lastCallback);
+    }
+    webInspector.network.onRequestFinished.addListener(callbackWrapper);
+    webInspector.inspectedWindow.eval(&quot;doRequest(&quot; + force + &quot;)&quot;, function(result) {
+        if (result)
+            callbackWrapper(null);
+    });
+}
+
+function extension_testGetRedirectRequestContent(nextTest)
+{
+    function onRequestFinished(request, lastCallback)
+    {
+        if (!lastCallback)
+            return;
+        extension_getRequestByUrl([ /redirect-methods-result.php\?status=302$/ ], function(request) {
+            request.getContent(onContent);
+        });
+    }
+    function onContent(content, encoding)
+    {
+        output(&quot;content: &quot; + content + &quot;, encoding: &quot; + encoding);
+        nextTest();
+    }
+    extension_doRequest(false, onRequestFinished);
+}
+
+function extension_testRedirectRequestInHAR(nextTest)
+{
+    function onRequestFinished(resource, lastCallback)
+    {
+        if (lastCallback)
+            webInspector.network.getHAR(onHAR);
+    }
+    function onHAR(har)
+    {
+        var entries = har.entries;
+        var urls = [];
+        for (var i = 0; i &lt; entries.length; ++i) {
+            var url = entries[i].request.url;
+            // Workaround for GTK DRT that requests favicon.ico along with the page.
+            if (!/\/favicon\.ico$/.test(url))
+                urls.push(url);
+        }
+        urls.sort();
+        output(&quot;Requests in HAR:\n&quot; + urls.join(&quot;\n&quot;));
+        nextTest();
+    }
+    extension_doRequest(false, onRequestFinished);
+}
+
+function extension_testRedirectRequestFinished(nextTest)
+{
+    function onRequestFinished(request, lastCallback)
+    {
+        output(&quot;Finished request: &quot; + request.request.url);
+        if (lastCallback)
+            nextTest();
+    }
+    extension_doRequest(true, onRequestFinished);
+}
+
+var requestDone = false;
+
+function doRequest(force)
+{
+    // Only do request once per test suite, to make tests independent on each other.
+    // Returns true iff request is alredy done (so the caller shouldn't wait for onFinished).
+    if (requestDone &amp;&amp; !force)
+        return true;
+    requestDone = true;
+    // We can't use XHR here -- the content for XHRs is pushed from back-end.
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.src = &quot;/loading/resources/redirect-methods-result.php?status=302&quot;;
+    document.body.appendChild(iframe);
+    return false;
+}
+
+var test = function()
+{
+    InspectorTest.reloadPage(InspectorTest.runExtensionTests);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests WebInspector extension API returns valid data for redirected resources&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionsnetworktestjsfromrev164517trunkLayoutTestshttptestsinspectorextensionsnetworktestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-network-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-network-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+function extension_getRequestByUrl(urls, callback)
+{
+    function onHAR(response)
+    {
+        var entries = response.entries;
+        for (var i = 0; i &lt; entries.length; ++i) {
+            for (var url = 0; url &lt; urls.length; ++url) {
+                if (urls[url].test(entries[i].request.url)) {
+                    callback(entries[i]);
+                    return;
+                }
+            }
+        }
+    }
+    webInspector.network.getHAR(onHAR);
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsextensionstestjsfromrev164517trunkLayoutTestshttptestsinspectorextensionstestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/extensions-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/extensions-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/extensions-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/extensions-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,74 @@
</span><ins>+function extensionFunctions()
+{
+    var functions = &quot;&quot;;
+
+    for (symbol in window) {
+        if (/^extension_/.exec(symbol) &amp;&amp; typeof window[symbol] === &quot;function&quot;)
+            functions += window[symbol].toString();
+    }
+    return functions;
+}
+
+var initialize_ExtensionsTest = function()
+{
+
+window.buildPlatformExtensionAPI = function(extensionInfo)
+{
+    function platformExtensionAPI(coreAPI)
+    {
+        window.webInspector = coreAPI;
+        window._extensionServerForTests = extensionServer;
+    }
+    return platformExtensionAPI.toString();
+}
+
+InspectorTest._replyToExtension = function(requestId, port)
+{
+    WebInspector.extensionServer._dispatchCallback(requestId, port);
+}
+
+function onEvaluate(message, port)
+{
+    var reply = WebInspector.extensionServer._dispatchCallback.bind(WebInspector.extensionServer, message.requestId, port);
+    try {
+        eval(message.expression);
+    } catch (e) {
+        InspectorTest.addResult(&quot;Exception while running: &quot; + message.expression + &quot;\n&quot; + (e.stack || e));
+        InspectorTest.completeTest();
+    }
+}
+
+WebInspector.extensionServer._registerHandler(&quot;evaluateForTestInFrontEnd&quot;, onEvaluate);
+
+InspectorTest.showPanel = function(panelId)
+{
+    if (panelId === &quot;extension&quot;)
+        panelId = WebInspector.inspectorView._panelOrder[WebInspector.inspectorView._panelOrder.length - 1];
+    WebInspector.showPanel(panelId);
+}
+
+InspectorTest.runExtensionTests = function()
+{
+    RuntimeAgent.evaluate(&quot;location.href&quot;, &quot;console&quot;, false, function(error, result) {
+        if (error)
+            return;
+        var pageURL = result.value;
+        var extensionURL = (/^https?:/.test(pageURL) ?
+            pageURL.replace(/^(https?:\/\/[^/]*\/).*$/,&quot;$1&quot;) :
+            pageURL.replace(/\/inspector\/extensions\/[^/]*$/, &quot;/http/tests&quot;)) +
+            &quot;/inspector/resources/extension-main.html&quot;;
+        WebInspector.addExtensions([{ startPage: extensionURL, name: &quot;test extension&quot;, exposeWebInspectorNamespace: true }]);
+    });
+}
+
+}
+
+function extension_showPanel(panelId, callback)
+{
+    evaluateOnFrontend(&quot;InspectorTest.showPanel(unescape('&quot; + escape(panelId) + &quot;')); reply();&quot;, callback);
+}
+
+var test = function()
+{
+    InspectorTest.runExtensionTests();
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasedataexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorindexeddbdatabasedataexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-data-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/database-data-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-data-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-data-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,67 @@
</span><ins>+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback1
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback2
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback3
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback4
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback5
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback6
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback7
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback8
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback9
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback10
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback11
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback12
+Tests that data is correctly loaded by IndexedDBModel from IndexedDB object store and index.
+
+Dumping values, fromIndex = false, skipCount = 0, pageSize = 2, idbKeyRange = null
+    Key = key_01, primaryKey = key_01, value = {&quot;key&quot;:&quot;key_01&quot;,&quot;value&quot;:&quot;value_01&quot;}
+    Key = key_02, primaryKey = key_02, value = {&quot;key&quot;:&quot;key_02&quot;,&quot;value&quot;:&quot;value_02&quot;}
+    hasMore = true
+Dumping values, fromIndex = false, skipCount = 2, pageSize = 2, idbKeyRange = null
+    Key = key_03, primaryKey = key_03, value = {&quot;key&quot;:&quot;key_03&quot;,&quot;value&quot;:&quot;value_03&quot;}
+    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
+    hasMore = true
+Dumping values, fromIndex = false, skipCount = 4, pageSize = 2, idbKeyRange = null
+    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
+    Key = key_06, primaryKey = key_06, value = {&quot;key&quot;:&quot;key_06&quot;,&quot;value&quot;:&quot;value_06&quot;}
+    hasMore = false
+Dumping values, fromIndex = false, skipCount = 5, pageSize = 2, idbKeyRange = null
+    Key = key_06, primaryKey = key_06, value = {&quot;key&quot;:&quot;key_06&quot;,&quot;value&quot;:&quot;value_06&quot;}
+    hasMore = false
+Dumping values, fromIndex = false, skipCount = 6, pageSize = 2, idbKeyRange = null
+    hasMore = false
+Dumping values, fromIndex = false, skipCount = 7, pageSize = 2, idbKeyRange = null
+    hasMore = false
+Dumping values, fromIndex = false, skipCount = 0, pageSize = 2, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
+    Key = key_03, primaryKey = key_03, value = {&quot;key&quot;:&quot;key_03&quot;,&quot;value&quot;:&quot;value_03&quot;}
+    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
+    hasMore = true
+Dumping values, fromIndex = false, skipCount = 0, pageSize = 3, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
+    Key = key_03, primaryKey = key_03, value = {&quot;key&quot;:&quot;key_03&quot;,&quot;value&quot;:&quot;value_03&quot;}
+    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
+    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
+    hasMore = false
+Dumping values, fromIndex = false, skipCount = 0, pageSize = 4, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
+    Key = key_03, primaryKey = key_03, value = {&quot;key&quot;:&quot;key_03&quot;,&quot;value&quot;:&quot;value_03&quot;}
+    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
+    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
+    hasMore = false
+Dumping values, fromIndex = false, skipCount = 1, pageSize = 2, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
+    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
+    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
+    hasMore = false
+Dumping values, fromIndex = false, skipCount = 1, pageSize = 3, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
+    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
+    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
+    hasMore = false
+Dumping values, fromIndex = false, skipCount = 1, pageSize = 4, idbKeyRange = {lower:&quot;key_02&quot;,lowerOpen:true,upper:&quot;key_05&quot;,upperOpen:false}
+    Key = key_04, primaryKey = key_04, value = {&quot;key&quot;:&quot;key_04&quot;,&quot;value&quot;:&quot;value_04&quot;}
+    Key = key_05, primaryKey = key_05, value = {&quot;key&quot;:&quot;key_05&quot;,&quot;value&quot;:&quot;value_05&quot;}
+    hasMore = false
+Dumping values, fromIndex = true, skipCount = 0, pageSize = 2, idbKeyRange = null
+    Key = value_01, primaryKey = key_01, value = {&quot;key&quot;:&quot;key_01&quot;,&quot;value&quot;:&quot;value_01&quot;}
+    Key = value_02, primaryKey = key_02, value = {&quot;key&quot;:&quot;key_02&quot;,&quot;value&quot;:&quot;value_02&quot;}
+    hasMore = true
+Cleared data from objectStore
+Dumping values, fromIndex = false, skipCount = 0, pageSize = 10, idbKeyRange = null
+    hasMore = false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasedatahtmlfromrev164517trunkLayoutTestshttptestsinspectorindexeddbdatabasedatahtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-data.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/database-data.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-data.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,229 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;indexeddb-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var IDBKeyRange = window.IDBKeyRange || window.webkitIDBKeyRange;
+    var indexedDBModel = new WebInspector.IndexedDBModel();
+    var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id;
+    var securityOrigin = &quot;http://127.0.0.1:8000&quot;;
+    var databaseName = &quot;testDatabase&quot;;
+    var objectStoreName = &quot;testObjectStore&quot;;
+    var indexName = &quot;testIndexName&quot;;
+    var databaseId = new WebInspector.IndexedDBModel.DatabaseId(securityOrigin, databaseName);
+
+    function addIDBValues(count, callback)
+    {
+        var i = 0;
+        addValues();
+
+        function addValues()
+        {
+            if (i == count) {
+                callback();
+                return;
+            }
+            ++i;
+            var id = i &lt; 10 ? &quot;0&quot; + i : i;
+            var key = &quot;key_&quot; + id;
+            var value = &quot;value_&quot; + id;
+            InspectorTest.addIDBValue(mainFrameId, databaseName, objectStoreName, { key: key, value: value }, &quot;&quot;, addValues);
+        }
+    }
+
+    function loadValuesAndDump(fromIndex, idbKeyRange, skipCount, pageSize, callback)
+    {
+        var idbKeyRangeString = idbKeyRange ? &quot;{lower:\&quot;&quot; + idbKeyRange.lower + &quot;\&quot;,lowerOpen:&quot; + idbKeyRange.lowerOpen + &quot;,upper:\&quot;&quot; + idbKeyRange.upper + &quot;\&quot;,upperOpen:&quot; + idbKeyRange.upperOpen + &quot;}&quot; : &quot;null&quot;;
+        InspectorTest.addResult(&quot;Dumping values, fromIndex = &quot; + fromIndex + &quot;, skipCount = &quot; + skipCount + &quot;, pageSize = &quot; + pageSize + &quot;, idbKeyRange = &quot; + idbKeyRangeString);
+        if (fromIndex)
+            indexedDBModel.loadIndexData(databaseId, objectStoreName, indexName, idbKeyRange, skipCount, pageSize, innerCallback);
+        else
+            indexedDBModel.loadObjectStoreData(databaseId, objectStoreName, idbKeyRange, skipCount, pageSize, innerCallback);
+
+        function innerCallback(entries, hasMore)
+        {
+            var index = 0;
+            var entry;
+            dumpEntries();
+
+            function dumpEntries()
+            {
+                if (index === entries.length) {
+                    InspectorTest.addResult(&quot;    hasMore = &quot; + hasMore);
+                    callback();
+                    return;
+                }
+                entry = entries[index];
+                entry.value.callFunctionJSON(dumpMe, undefined, dumped.bind(this));
+                ++index;
+            }
+
+            function dumpMe()
+            {
+                return &quot;{\&quot;key\&quot;:\&quot;&quot; + this.key + &quot;\&quot;,\&quot;value\&quot;:\&quot;&quot; + this.value + &quot;\&quot;}&quot;;
+            }
+
+            function dumped(value)
+            {
+                InspectorTest.addResult(&quot;    Key = &quot; + entry.key.description + &quot;, primaryKey = &quot; + entry.primaryKey.description + &quot;, value = &quot; + value);
+                dumpEntries();
+            }
+        }
+    }
+
+    InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, fillDatabase, false);
+
+    function fillDatabase()
+    {
+        InspectorTest.createDatabase(mainFrameId, databaseName, step2);
+
+        function step2()
+        {
+            InspectorTest.createObjectStore(mainFrameId, databaseName, objectStoreName, &quot;key&quot;, true, step3);
+        }
+
+        function step3()
+        {
+            InspectorTest.createObjectStoreIndex(mainFrameId, databaseName, objectStoreName, indexName, &quot;value&quot;, false, true, step4);
+        }
+
+        function step4()
+        {
+            addIDBValues(6, refreshDatabaseNames);
+        }
+    }
+
+    function refreshDatabaseNames()
+    {
+        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, refreshDatabase, false);
+        indexedDBModel.refreshDatabaseNames();
+    }
+
+    function refreshDatabase()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, runObjectStoreTests);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function runObjectStoreTests()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, runObjectStoreTests);
+        loadValuesAndDump(false, null, 0, 2, step2)
+
+        function step2()
+        {
+            loadValuesAndDump(false, null, 2, 2, step3)
+        }
+
+        function step3()
+        {
+            loadValuesAndDump(false, null, 4, 2, step4);
+        }
+
+        function step4()
+        {
+            loadValuesAndDump(false, null, 5, 2, step5);
+        }
+
+        function step5()
+        {
+            loadValuesAndDump(false, null, 6, 2, step6);
+        }
+
+        function step6()
+        {
+            loadValuesAndDump(false, null, 7, 2, step7);
+        }
+
+        function step7()
+        {
+            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 0, 2, step8);
+        }
+
+        function step8()
+        {
+            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 0, 3, step9);
+        }
+
+        function step9()
+        {
+            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 0, 4, step10);
+        }
+
+        function step10()
+        {
+            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 1, 2, step11);
+        }
+
+        function step11()
+        {
+            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 1, 3, step12);
+        }
+
+        function step12()
+        {
+            loadValuesAndDump(false, IDBKeyRange.bound(&quot;key_02&quot;, &quot;key_05&quot;, true, false), 1, 4, step13);
+        }
+
+        function step13()
+        {
+            runIndexTests();
+        }
+    }
+
+    function runIndexTests()
+    {
+        loadValuesAndDump(true, null, 0, 2, step2)
+
+        function step2()
+        {
+            runClearTests();
+        }
+    }
+
+    function runClearTests()
+    {
+        indexedDBModel.clearObjectStore(databaseId, objectStoreName, step1);
+        InspectorTest.addResult(&quot;Cleared data from objectStore&quot;);
+
+        function step1() {
+            indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step2);
+            indexedDBModel.refreshDatabase(databaseId);
+        }
+        function step2() {
+            indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step2);
+            loadValuesAndDump(false, null, 0, 10, step3);
+        }
+
+        function step3() {
+            deleteDatabase();
+        }
+    }
+
+    function deleteDatabase() {
+        InspectorTest.deleteObjectStoreIndex(mainFrameId, databaseName, objectStoreName, indexName, step2);
+
+        function step2()
+        {
+            InspectorTest.deleteObjectStore(mainFrameId, databaseName, objectStoreName, step3);
+        }
+
+        function step3()
+        {
+            InspectorTest.deleteDatabase(mainFrameId, databaseName, step4);
+        }
+
+        function step4()
+        {
+            InspectorTest.completeTest();
+        }
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that data is correctly loaded by IndexedDBModel from IndexedDB object store and index.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasenamesexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorindexeddbdatabasenamesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-names-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/database-names-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-names-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-names-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback1
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback2
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback3
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback4
+Tests that database names are correctly loaded and saved in IndexedDBModel.
+
+Dumping database names:
+
+Dumping database names:
+    testDatabase1
+
+Dumping database names:
+    testDatabase1
+    testDatabase2
+
+Dumping database names:
+    testDatabase1
+
+Dumping database names:
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasenameshtmlfromrev164517trunkLayoutTestshttptestsinspectorindexeddbdatabasenameshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-names.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/database-names.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-names.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-names.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,83 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;indexeddb-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var indexedDBModel = new WebInspector.IndexedDBModel();
+    var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id;
+
+    function dumpDatabaseNames()
+    {
+        InspectorTest.addResult(&quot;Dumping database names:&quot;);
+        var securityOrigins = WebInspector.resourceTreeModel.securityOrigins();
+        var securityOrigin = securityOrigins[0];
+        var names = indexedDBModel._databaseNamesBySecurityOrigin[securityOrigin];
+        for (var i = 0; i &lt; names.length; ++i)
+            InspectorTest.addResult(&quot;    &quot; + names[i]);
+        InspectorTest.addResult(&quot;&quot;);
+    }
+
+    InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step2, false);
+
+    function step2()
+    {
+        dumpDatabaseNames();
+        InspectorTest.createDatabase(mainFrameId, &quot;testDatabase1&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step4, false);
+        indexedDBModel.refreshDatabaseNames();
+    }
+
+    function step4()
+    {
+        dumpDatabaseNames();
+        InspectorTest.createDatabase(mainFrameId, &quot;testDatabase2&quot;, step5);
+    }
+
+    function step5()
+    {
+        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step6, false);
+        indexedDBModel.refreshDatabaseNames();
+    }
+
+    function step6()
+    {
+        dumpDatabaseNames();
+        InspectorTest.deleteDatabase(mainFrameId, &quot;testDatabase2&quot;, step7);
+    }
+
+    function step7()
+    {
+        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step8, false);
+        indexedDBModel.refreshDatabaseNames();
+    }
+
+    function step8()
+    {
+        dumpDatabaseNames();
+        InspectorTest.deleteDatabase(mainFrameId, &quot;testDatabase1&quot;, step9);
+    }
+
+    function step9()
+    {
+        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step10, false);
+        indexedDBModel.refreshDatabaseNames();
+    }
+
+    function step10()
+    {
+        dumpDatabaseNames();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that database names are correctly loaded and saved in IndexedDBModel.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasestructureexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorindexeddbdatabasestructureexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-structure-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-structure-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-structure-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,123 @@
</span><ins>+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback1
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback2
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback3
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback4
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback5
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback6
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback7
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback8
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback9
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback10
+Tests that database names are correctly loaded and saved in IndexedDBModel.
+
+Dumping database:
+Dumping database:
+testDatabase1
+    intVersion: 1
+    objectStores:
+
+Dumping database:
+testDatabase1
+    intVersion: 2
+    objectStores:
+    testObjectStore1
+        keyPath: &quot;test.key.path&quot;
+        autoIncrement: true
+        indexes: 
+
+Dumping database:
+testDatabase1
+    intVersion: 3
+    objectStores:
+    testObjectStore1
+        keyPath: &quot;test.key.path&quot;
+        autoIncrement: true
+        indexes: 
+    testObjectStore2
+        keyPath: null
+        autoIncrement: false
+        indexes: 
+
+Dumping database:
+testDatabase1
+    intVersion: 4
+    objectStores:
+    testObjectStore1
+        keyPath: &quot;test.key.path&quot;
+        autoIncrement: true
+        indexes: 
+    testObjectStore2
+        keyPath: null
+        autoIncrement: false
+        indexes: 
+        testIndexName1
+            keyPath: &quot;&quot;
+            unique: false
+            multiEntry: true
+
+Dumping database:
+testDatabase1
+    intVersion: 5
+    objectStores:
+    testObjectStore1
+        keyPath: &quot;test.key.path&quot;
+        autoIncrement: true
+        indexes: 
+    testObjectStore2
+        keyPath: null
+        autoIncrement: false
+        indexes: 
+        testIndexName1
+            keyPath: &quot;&quot;
+            unique: false
+            multiEntry: true
+        testIndexName2
+            keyPath: [&quot;key.path1&quot;,&quot;key.path2&quot;]
+            unique: true
+            multiEntry: false
+
+Dumping database:
+testDatabase1
+    intVersion: 6
+    objectStores:
+    testObjectStore1
+        keyPath: &quot;test.key.path&quot;
+        autoIncrement: true
+        indexes: 
+    testObjectStore2
+        keyPath: null
+        autoIncrement: false
+        indexes: 
+        testIndexName1
+            keyPath: &quot;&quot;
+            unique: false
+            multiEntry: true
+
+Dumping database:
+testDatabase1
+    intVersion: 7
+    objectStores:
+    testObjectStore1
+        keyPath: &quot;test.key.path&quot;
+        autoIncrement: true
+        indexes: 
+    testObjectStore2
+        keyPath: null
+        autoIncrement: false
+        indexes: 
+
+Dumping database:
+testDatabase1
+    intVersion: 8
+    objectStores:
+    testObjectStore1
+        keyPath: &quot;test.key.path&quot;
+        autoIncrement: true
+        indexes: 
+
+Dumping database:
+testDatabase1
+    intVersion: 9
+    objectStores:
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbdatabasestructurehtmlfromrev164517trunkLayoutTestshttptestsinspectorindexeddbdatabasestructurehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-structure.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/database-structure.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-structure.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/database-structure.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,198 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;indexeddb-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var indexedDBModel = new WebInspector.IndexedDBModel();
+    var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id;
+    var databaseName = &quot;testDatabase1&quot;;
+    var securityOrigin = &quot;http://127.0.0.1:8000&quot;;
+    var databaseId = new WebInspector.IndexedDBModel.DatabaseId(securityOrigin, databaseName);
+
+    function dumpDatabase()
+    {
+        InspectorTest.addResult(&quot;Dumping database:&quot;);
+        var database = indexedDBModel._databases.get(databaseId);
+        if (!database)
+            return;
+        InspectorTest.addResult(database.databaseId.name);
+        InspectorTest.addResult(&quot;    intVersion: &quot; + database.intVersion);
+        InspectorTest.addResult(&quot;    objectStores:&quot;);
+        var objectStoreNames = [];
+        for (var objectStoreName in database.objectStores)
+            objectStoreNames.push(objectStoreName);
+        objectStoreNames.sort();
+        for (var i = 0; i &lt; objectStoreNames.length; ++i) {
+            var objectStore = database.objectStores[objectStoreNames[i]];
+            InspectorTest.addResult(&quot;    &quot; + objectStore.name);
+            InspectorTest.addResult(&quot;        keyPath: &quot; + JSON.stringify(objectStore.keyPath));
+            InspectorTest.addResult(&quot;        autoIncrement: &quot; + objectStore.autoIncrement);
+            InspectorTest.addResult(&quot;        indexes: &quot;);
+            var indexNames = [];
+            for (var indexName in objectStore.indexes)
+                indexNames.push(indexName);
+            indexNames.sort();
+            for (var j = 0; j &lt; indexNames.length; ++j) {
+                var index = objectStore.indexes[indexNames[j]];
+                InspectorTest.addResult(&quot;        &quot; + index.name);
+                InspectorTest.addResult(&quot;            keyPath: &quot; + JSON.stringify(index.keyPath));
+                InspectorTest.addResult(&quot;            unique: &quot; + index.unique);
+                InspectorTest.addResult(&quot;            multiEntry: &quot; + index.multiEntry);
+            }
+        }
+        InspectorTest.addResult(&quot;&quot;);
+    }
+
+    InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step2, false);
+
+    function step2()
+    {
+        InspectorTest.createDatabase(mainFrameId, databaseName, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, step4, false);
+        indexedDBModel.refreshDatabaseNames();
+    }
+
+    function step4()
+    {
+        dumpDatabase();
+
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step5);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step5()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step5);
+        dumpDatabase();
+
+        InspectorTest.createObjectStore(mainFrameId, databaseName, &quot;testObjectStore1&quot;, &quot;test.key.path&quot;, true, step6);
+    }
+
+    function step6()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step7);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step7()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step7);
+        dumpDatabase();
+
+        InspectorTest.createObjectStore(mainFrameId, databaseName, &quot;testObjectStore2&quot;, null, false, step8);
+    }
+
+    function step8()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step9);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step9()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step9);
+        dumpDatabase();
+
+        InspectorTest.createObjectStoreIndex(mainFrameId, databaseName, &quot;testObjectStore2&quot;, &quot;testIndexName1&quot;, &quot;&quot;, false, true, step10);
+    }
+
+    function step10()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step11);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step11()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step11);
+        dumpDatabase();
+
+        InspectorTest.createObjectStoreIndex(mainFrameId, databaseName, &quot;testObjectStore2&quot;, &quot;testIndexName2&quot;, [&quot;key.path1&quot;, &quot;key.path2&quot;], true, false, step12);
+    }
+
+    function step12()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step13);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step13()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step13);
+        dumpDatabase();
+
+        InspectorTest.deleteObjectStoreIndex(mainFrameId, databaseName, &quot;testObjectStore2&quot;, &quot;testIndexName2&quot;, step14);
+    }
+
+    function step14()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step15);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step15()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step15);
+        dumpDatabase();
+
+        InspectorTest.deleteObjectStoreIndex(mainFrameId, databaseName, &quot;testObjectStore2&quot;, &quot;testIndexName1&quot;, step16);
+    }
+
+    function step16()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step17);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step17()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step17);
+        dumpDatabase();
+
+        InspectorTest.deleteObjectStore(mainFrameId, databaseName, &quot;testObjectStore2&quot;, step18);
+    }
+
+    function step18()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step19);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step19()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step19);
+        dumpDatabase();
+
+        InspectorTest.deleteObjectStore(mainFrameId, databaseName, &quot;testObjectStore1&quot;, step20);
+    }
+
+    function step20()
+    {
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step21);
+        indexedDBModel.refreshDatabase(databaseId);
+    }
+
+    function step21()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, step21);
+        dumpDatabase();
+        InspectorTest.deleteDatabase(mainFrameId, databaseName, step22);
+    }
+
+    function step22()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that database names are correctly loaded and saved in IndexedDBModel.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbindexeddbtestjsfromrev164517trunkLayoutTestshttptestsinspectorindexeddbindexeddbtestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/indexeddb-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/indexeddb-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/indexeddb-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/indexeddb-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,259 @@
</span><ins>+var initialize_IndexedDBTest = function() {
+
+InspectorTest.dumpIndexedDBTree = function()
+{
+    InspectorTest.addResult(&quot;Dumping IndexedDB tree:&quot;);
+    var indexedDBTreeElement = WebInspector.panels.resources.indexedDBListTreeElement;
+    if (!indexedDBTreeElement.children.length) {
+        InspectorTest.addResult(&quot;    (empty)&quot;);
+        return;
+    }
+    for (var i = 0; i &lt; indexedDBTreeElement.children.length; ++i) {
+        var databaseTreeElement = indexedDBTreeElement.children[i];
+        InspectorTest.addResult(&quot;    database: &quot; + databaseTreeElement.titleText);
+        if (!databaseTreeElement.children.length) {
+            InspectorTest.addResult(&quot;        (no object stores)&quot;);
+            continue;
+        }
+        for (var j = 0; j &lt; databaseTreeElement.children.length; ++j) {
+            var objectStoreTreeElement = databaseTreeElement.children[j];
+            InspectorTest.addResult(&quot;        Object store: &quot; + objectStoreTreeElement.titleText);
+            if (!objectStoreTreeElement.children.length) {
+                InspectorTest.addResult(&quot;            (no indexes)&quot;);
+                continue;
+            }
+            for (var j = 0; j &lt; objectStoreTreeElement.children.length; ++j) {
+                var indexTreeElement = objectStoreTreeElement.children[j];
+                InspectorTest.addResult(&quot;            Index: &quot; + indexTreeElement.titleText);
+            }
+        }
+    }
+}
+
+var lastCallbackId = 0;
+var callbacks = {};
+var callbackIdPrefix = &quot;InspectorTest.IndexedDB_callback&quot;;
+InspectorTest.evaluateWithCallback = function(frameId, methodName, parameters, callback)
+{
+    InspectorTest._installIndexedDBSniffer();
+    var callbackId = ++lastCallbackId;
+    callbacks[callbackId] = callback;
+    var parametersString = &quot;dispatchCallback.bind(this, \&quot;&quot; + callbackIdPrefix + callbackId + &quot;\&quot;)&quot;;
+    for (var i = 0; i &lt; parameters.length; ++i)
+        parametersString += &quot;, &quot; + JSON.stringify(parameters[i]);
+
+    var requestString = methodName + &quot;(&quot; + parametersString + &quot;)&quot;;
+    InspectorTest.evaluateInPage(requestString);
+};
+
+InspectorTest._installIndexedDBSniffer = function()
+{
+    InspectorTest.addConsoleSniffer(consoleMessageOverride, false);
+
+    function consoleMessageOverride(msg)
+    {
+        var text = msg._messageText;
+        if (!text.startsWith(callbackIdPrefix)) {
+            InspectorTest.addConsoleSniffer(consoleMessageOverride, false);
+            return;
+        }
+        var callbackId = text.substring(callbackIdPrefix.length);
+        callbacks[callbackId].call();
+        delete callbacks[callbackId];
+    }
+};
+
+InspectorTest.createDatabase = function(frameId, databaseName, callback)
+{
+    InspectorTest.evaluateWithCallback(frameId, &quot;createDatabase&quot;, [databaseName], callback)
+};
+
+InspectorTest.deleteDatabase = function(frameId, databaseName, callback)
+{
+    InspectorTest.evaluateWithCallback(frameId, &quot;deleteDatabase&quot;, [databaseName], callback)
+};
+
+InspectorTest.createObjectStore = function(frameId, databaseName, objectStoreName, keyPath, autoIncrement, callback)
+{
+    InspectorTest.evaluateWithCallback(frameId, &quot;createObjectStore&quot;, [databaseName, objectStoreName, keyPath, autoIncrement], callback)
+};
+
+InspectorTest.deleteObjectStore = function(frameId, databaseName, objectStoreName, callback)
+{
+    InspectorTest.evaluateWithCallback(frameId, &quot;deleteObjectStore&quot;, [databaseName, objectStoreName], callback)
+};
+
+InspectorTest.createObjectStoreIndex = function(frameId, databaseName, objectStoreName, objectStoreIndexName, keyPath, unique, multiEntry, callback)
+{
+    InspectorTest.evaluateWithCallback(frameId, &quot;createObjectStoreIndex&quot;, [databaseName, objectStoreName, objectStoreIndexName, keyPath, unique, multiEntry], callback)
+};
+
+InspectorTest.deleteObjectStoreIndex = function(frameId, databaseName, objectStoreName, objectStoreIndexName, callback)
+{
+    InspectorTest.evaluateWithCallback(frameId, &quot;deleteObjectStoreIndex&quot;, [databaseName, objectStoreName, objectStoreIndexName], callback)
+};
+
+InspectorTest.addIDBValue = function(frameId, databaseName, objectStoreName, value, key, callback)
+{
+    InspectorTest.evaluateWithCallback(frameId, &quot;addIDBValue&quot;, [databaseName, objectStoreName, value, key], callback)
+};
+
+};
+
+var indexedDB = window.indexeddb || window.webkitIndexedDB;
+window.IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction;
+
+function dispatchCallback(callbackId)
+{
+    console.log(callbackId);
+}
+
+function onIndexedDBError(e)
+{
+    console.error(&quot;IndexedDB error: &quot; + e);
+}
+
+function onIndexedDBBlocked(e)
+{
+    console.error(&quot;IndexedDB blocked: &quot; + e);
+}
+
+function doWithDatabase(databaseName, callback)
+{
+    function innerCallback()
+    {
+        var db = request.result;
+        callback(db);
+    }
+
+    var request = indexedDB.open(databaseName);
+    request.onblocked = onIndexedDBBlocked;
+    request.onerror = onIndexedDBError;
+    request.onsuccess = innerCallback;
+}
+
+function doWithVersionTransaction(databaseName, callback, commitCallback)
+{
+    doWithDatabase(databaseName, step2);
+
+    function step2(db)
+    {
+        var version = db.version;
+        db.close();
+        request = indexedDB.open(databaseName, version + 1);
+        request.onerror = onIndexedDBError;
+        request.onupgradeneeded = onUpgradeNeeded;
+        request.onsuccess = onOpened;
+
+        function onUpgradeNeeded(e)
+        {
+            var db = e.target.result;
+            var trans = e.target.transaction;
+            callback(db, trans);
+        }
+
+        function onOpened(e)
+        {
+            var db = e.target.result;
+            db.close();
+            commitCallback();
+        }
+    }
+}
+
+function doWithReadWriteTransaction(databaseName, objectStoreName, callback, commitCallback)
+{
+    doWithDatabase(databaseName, step2);
+
+    function step2(db)
+    {
+        var transaction = db.transaction([objectStoreName], 'readwrite');
+        var objectStore = transaction.objectStore(objectStoreName);
+        callback(objectStore, innerCommitCallback);
+
+        function innerCommitCallback()
+        {
+            db.close();
+            commitCallback();
+        }
+    }
+}
+
+function createDatabase(callback, databaseName)
+{
+    var request = indexedDB.open(databaseName);
+    request.onerror = onIndexedDBError;
+    request.onsuccess = closeDatabase;
+
+    function closeDatabase()
+    {
+        request.result.close();
+        callback();
+    }
+}
+
+function deleteDatabase(callback, databaseName)
+{
+    var request = indexedDB.deleteDatabase(databaseName);
+    request.onerror = onIndexedDBError;
+    request.onsuccess = callback;
+}
+
+function createObjectStore(callback, databaseName, objectStoreName, keyPath, autoIncrement)
+{
+    doWithVersionTransaction(databaseName, withTransactionCallback, callback);
+
+    function withTransactionCallback(db, transaction)
+    {
+        var store = db.createObjectStore(objectStoreName, { keyPath: keyPath, autoIncrement: autoIncrement });
+    }
+}
+
+function deleteObjectStore(callback, databaseName, objectStoreName)
+{
+    doWithVersionTransaction(databaseName, withTransactionCallback, callback);
+
+    function withTransactionCallback(db, transaction)
+    {
+        var store = db.deleteObjectStore(objectStoreName);
+    }
+}
+
+function createObjectStoreIndex(callback, databaseName, objectStoreName, objectStoreIndexName, keyPath, unique, multiEntry)
+{
+    doWithVersionTransaction(databaseName, withTransactionCallback, callback);
+
+    function withTransactionCallback(db, transaction)
+    {
+        var objectStore = transaction.objectStore(objectStoreName);
+        objectStore.createIndex(objectStoreIndexName, keyPath, { unique: unique, multiEntry: multiEntry });
+    }
+}
+
+function deleteObjectStoreIndex(callback, databaseName, objectStoreName, objectStoreIndexName)
+{
+    doWithVersionTransaction(databaseName, withTransactionCallback, callback);
+
+    function withTransactionCallback(db, transaction)
+    {
+        var objectStore = transaction.objectStore(objectStoreName);
+        objectStore.deleteIndex(objectStoreIndexName);
+    }
+}
+
+function addIDBValue(callback, databaseName, objectStoreName, value, key)
+{
+    doWithReadWriteTransaction(databaseName, objectStoreName, withTransactionCallback, callback)
+
+    function withTransactionCallback(objectStore, commitCallback)
+    {
+        var request;
+        if (key)
+            request = objectStore.add(value, key);
+        else
+            request = objectStore.add(value);
+        request.onerror = onIndexedDBError;
+        request.onsuccess = commitCallback;
+    }
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbresourceswithoutindexeddbhtmlfromrev164517trunkLayoutTestshttptestsinspectorindexeddbresourceswithoutindexeddbhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources/without-indexed-db.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/resources/without-indexed-db.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources/without-indexed-db.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources/without-indexed-db.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;html&gt;
+&lt;script&gt;
+window.onload = function()
+{
+    function notifyFrontend()
+    {
+        InspectorTest.pageLoaded();
+    }
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
+    testRunner.evaluateInWebInspector(0, &quot;(&quot; + notifyFrontend + &quot;)()&quot;);
+}
+&lt;/script&gt;
+&lt;p&gt;Page without Indexed DB.&lt;/p&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbresourcespanelexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorindexeddbresourcespanelexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources-panel-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources-panel-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources-panel-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback1
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback2
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback3
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback4
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback5
+CONSOLE MESSAGE: line 108: InspectorTest.IndexedDB_callback6
+Tests IndexedDB tree element on resources panel.
+
+Expanded IndexedDB tree element.
+Dumping IndexedDB tree:
+    (empty)
+Created database.
+Database added.
+Database loaded.
+Dumping IndexedDB tree:
+    database: testDatabase - http://127.0.0.1:8000
+        Object store: testObjectStore
+            Index: testIndexName
+Navigated to another security origin.
+Database removed.
+Page reloaded.
+Dumping IndexedDB tree:
+    (empty)
+Navigated back.
+Database added.
+Database loaded.
+Page reloaded.
+Dumping IndexedDB tree:
+    database: testDatabase - http://127.0.0.1:8000
+        Object store: testObjectStore
+            Index: testIndexName
+Deleted database.
+Database removed.
+Dumping IndexedDB tree:
+    (empty)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsindexeddbresourcespanelhtmlfromrev164517trunkLayoutTestshttptestsinspectorindexeddbresourcespanelhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources-panel.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/indexeddb/resources-panel.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources-panel.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/indexeddb/resources-panel.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,125 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;indexeddb-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var mainFrameId = WebInspector.resourceTreeModel.mainFrame.id;
+    var indexedDBModel;
+    var withoutIndexedDBURL = &quot;http://localhost:8000/inspector/indexeddb/resources/without-indexed-db.html&quot;;
+    var originalURL = &quot;http://127.0.0.1:8000/inspector/indexeddb/resources-panel.html&quot;;
+    var databaseName = &quot;testDatabase&quot;;
+    var objectStoreName = &quot;testObjectStore&quot;;
+    var indexName = &quot;testIndexName&quot;;
+
+    function createDatabase(callback)
+    {
+        InspectorTest.createDatabase(mainFrameId, databaseName, step2);
+
+        function step2()
+        {
+            InspectorTest.createObjectStore(mainFrameId, databaseName, objectStoreName, &quot;&quot;, false, step3);
+        }
+
+        function step3()
+        {
+            InspectorTest.createObjectStoreIndex(mainFrameId, databaseName, objectStoreName, indexName, &quot;&quot;, false, false, callback);
+        }
+    }
+
+    function deleteDatabase(callback)
+    {
+        InspectorTest.deleteObjectStoreIndex(mainFrameId, databaseName, objectStoreName, indexName, step2);
+
+        function step2()
+        {
+            InspectorTest.deleteObjectStore(mainFrameId, databaseName, objectStoreName, step3);
+        }
+
+        function step3()
+        {
+            InspectorTest.deleteDatabase(mainFrameId, databaseName, callback);
+        }
+    }
+
+    WebInspector.showPanel(&quot;resources&quot;);
+
+    InspectorTest.addSniffer(WebInspector.IndexedDBTreeElement.prototype, &quot;_indexedDBAdded&quot;, indexedDBAdded, true);
+    function indexedDBAdded()
+    {
+        InspectorTest.addResult(&quot;Database added.&quot;);
+    }
+
+    InspectorTest.addSniffer(WebInspector.IndexedDBTreeElement.prototype, &quot;_indexedDBRemoved&quot;, indexedDBRemoved, true);
+    function indexedDBRemoved()
+    {
+        InspectorTest.addResult(&quot;Database removed.&quot;);
+    }
+
+    InspectorTest.addSniffer(WebInspector.IndexedDBTreeElement.prototype, &quot;_indexedDBLoaded&quot;, indexedDBLoaded, true);
+    function indexedDBLoaded()
+    {
+        InspectorTest.addResult(&quot;Database loaded.&quot;);
+    }
+
+    InspectorTest.addResult(&quot;Expanded IndexedDB tree element.&quot;);
+    WebInspector.panels.resources.indexedDBListTreeElement.expand();
+
+    InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, indexedDBTreeElementExpanded, false);
+    function indexedDBTreeElementExpanded()
+    {
+        InspectorTest.dumpIndexedDBTree();
+        InspectorTest.addResult(&quot;Created database.&quot;);
+        createDatabase(databaseCreated);
+    }
+
+    function databaseCreated()
+    {
+        indexedDBModel = WebInspector.panels.resources.indexedDBListTreeElement._indexedDBModel;
+        indexedDBModel.addEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, databaseLoaded);
+        WebInspector.panels.resources.indexedDBListTreeElement.refreshIndexedDB();
+    }
+
+    function databaseLoaded()
+    {
+        indexedDBModel.removeEventListener(WebInspector.IndexedDBModel.EventTypes.DatabaseLoaded, databaseLoaded);
+        InspectorTest.dumpIndexedDBTree();
+        InspectorTest.addResult(&quot;Navigated to another security origin.&quot;);
+        InspectorTest.navigate(withoutIndexedDBURL, navigatedAway);
+    }
+
+    function navigatedAway()
+    {
+        InspectorTest.dumpIndexedDBTree();
+        InspectorTest.addResult(&quot;Navigated back.&quot;);
+        InspectorTest.navigate(originalURL, navigatedBack);
+    }
+
+    function navigatedBack()
+    {
+        InspectorTest.dumpIndexedDBTree();
+        InspectorTest.addResult(&quot;Deleted database.&quot;);
+        deleteDatabase(databaseDeleted);
+    }
+
+    function databaseDeleted()
+    {
+        WebInspector.panels.resources.indexedDBListTreeElement.refreshIndexedDB();
+        InspectorTest.addSniffer(WebInspector.IndexedDBModel.prototype, &quot;_updateOriginDatabaseNames&quot;, databaseNamesLoadedAfterDeleting, false);
+    }
+
+    function databaseNamesLoadedAfterDeleting()
+    {
+        InspectorTest.dumpIndexedDBTree();
+        WebInspector.panels.resources.indexedDBListTreeElement.collapse();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests IndexedDB tree element on resources panel.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsinjectedscriptdiscardexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorenabledinjectedscriptdiscardexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/injected-script-discard-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/injected-script-discard-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/injected-script-discard-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 1: Opening front-end for the first time
+CONSOLE MESSAGE: line 1: Resolved object successfully
+CONSOLE MESSAGE: line 1: Opening front-end second time
+CONSOLE MESSAGE: line 1: Error resolving object
+Tests that injected script is discarded upon front-end close.
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsinjectedscriptdiscardhtmlfromrev164517trunkLayoutTestshttptestsinspectorenabledinjectedscriptdiscardhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/injected-script-discard.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/injected-script-discard.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/injected-script-discard.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/injected-script-discard.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,75 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../inspector/console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function openWebInspector()
+{
+    if (window.testRunner) {
+        testRunner.waitUntilDone();
+        testRunner.showWebInspector();
+        runTest();
+    }
+}
+
+function reopenWebInspector(objectId)
+{
+    window.objectId = unescape(objectId);
+    testRunner.closeWebInspector();
+    setTimeout(function() {
+      testRunner.showWebInspector();
+      runTest();
+    }, 0);
+}
+
+function test()
+{
+    RuntimeAgent.evaluate(&quot;window.objectId&quot;, dispatch);
+
+    function dispatch(error, result, wasThrown)
+    {
+        if (result.type !== &quot;string&quot;) {
+            InspectorTest.evaluateInPage(&quot;console.log('Opening front-end for the first time')&quot;);
+            installHandleInInjectedScript();
+        } else {
+            InspectorTest.evaluateInPage(&quot;console.log('Opening front-end second time')&quot;);
+            checkHandleInInjectedScript(result.value, InspectorTest.completeTest);
+        }
+    }
+
+    function installHandleInInjectedScript()
+    {
+        RuntimeAgent.evaluate(&quot;({ handle : \&quot;handle\&quot; })&quot;, storeIdInTargetWindow);
+
+        function storeIdInTargetWindow(error, result, wasThrown)
+        {
+            checkHandleInInjectedScript(result.objectId, reopenInspector);
+
+            function reopenInspector()
+            {
+                InspectorTest.evaluateInPage(&quot;reopenWebInspector('&quot; + escape(result.objectId) + &quot;')&quot;);
+            }
+        }
+    }
+
+    function checkHandleInInjectedScript(objectId, callback)
+    {
+        RuntimeAgent.getProperties(objectId, false, propertiesAvailable);
+
+        function propertiesAvailable(error, properties)
+        {
+            InspectorTest.evaluateInPage(error ? &quot;console.log('Error resolving object')&quot; : &quot;console.log('Resolved object successfully')&quot;, callback);
+        }
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;openWebInspector()&quot;&gt;
+&lt;p&gt;
+Tests that injected script is discarded upon front-end close.
+&lt;/p&gt;
+&lt;div id=&quot;container&quot;/&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsinspectelementexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorinspectelementexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/inspect-element-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/inspect-element-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/inspect-element-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/inspect-element-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that inspect element action works for iframe children (https://bugs.webkit.org/show_bug.cgi?id=76808).
+
+
+div#div
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsinspectelementhtmlfromrev164517trunkLayoutTestshttptestsinspectorinspectelementhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/inspect-element.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/inspect-element.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/inspect-element.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/inspect-element.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;).treeOutline.
+        addEventListener(WebInspector.ElementsTreeOutline.Events.SelectedNodeChanged, selectedNodeChanged, this);
+    function selectedNodeChanged(event)
+    {
+        var node = event.data;
+        if (!node)
+            return;
+
+        if (node.getAttribute(&quot;id&quot;) == &quot;div&quot;) {
+            InspectorTest.addResult(node.appropriateSelectorFor());
+            InspectorTest.completeTest();
+        }
+    }
+    InspectorTest.evaluateInConsole(&quot;inspect(iframeDivElement)&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Tests that inspect element action works for iframe children (https://bugs.webkit.org/show_bug.cgi?id=76808).
+&lt;/p&gt;
+
+&lt;iframe src=&quot;resources/inspect-element-iframe.html&quot; onload=&quot;runTest()&quot;&gt;&lt;/iframe&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsinspectiframefromdifferentdomainexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorinspectiframefromdifferentdomainexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/inspect-iframe-from-different-domain-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/inspect-iframe-from-different-domain-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/inspect-iframe-from-different-domain-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: line 6: IFRAME HOST: localhost:8000
+
+Tests that style properties of elements in iframes loaded from domain different from the main document domain can be inspected. See bug 31587.
+
+background: green;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsinspectiframefromdifferentdomainhtmlfromrev164517trunkLayoutTestshttptestsinspectorinspectiframefromdifferentdomainhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/inspect-iframe-from-different-domain.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/inspect-iframe-from-different-domain.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/inspect-iframe-from-different-domain.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/inspect-iframe-from-different-domain.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt;Inspect style in iframe from different domain.&lt;/title&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var onIFrameLoadCalled = false;
+function onIFrameLoad()
+{
+    if (onIFrameLoadCalled)
+        return;
+    onIFrameLoadCalled = true;
+    runTest();
+}
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;iframe-body&quot;, step1);
+
+    function step1()
+    {
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;background&quot;);
+        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+    &lt;iframe src=&quot;http://localhost:8000/inspector/resources/iframe-from-different-domain-data.html&quot; id=&quot;receiver&quot; onload=&quot;onIFrameLoad()&quot;&gt;&lt;/iframe&gt;
+    &lt;p&gt;
+    Tests that style properties of elements in iframes loaded from domain different from
+    the main document domain can be inspected.
+    See &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=31587&quot;&gt;bug 31587&lt;/a&gt;.
+    &lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsinspectortestjsfromrev164517trunkLayoutTestshttptestsinspectorinspectortestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/inspector-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/inspector-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/inspector-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/inspector-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,610 @@
</span><ins>+var initialize_InspectorTest = function() {
+
+var results = [];
+var resultsSynchronized = false;
+
+function consoleOutputHook(messageType)
+{
+    InspectorTest.addResult(messageType + &quot;: &quot; + Array.prototype.slice.call(arguments, 1));
+}
+
+console.log = consoleOutputHook.bind(InspectorTest, &quot;log&quot;);
+console.error = consoleOutputHook.bind(InspectorTest, &quot;error&quot;);
+console.info = consoleOutputHook.bind(InspectorTest, &quot;info&quot;);
+
+InspectorTest.Output = {   // override in window.initialize_yourName
+    testComplete: function()
+    {
+        RuntimeAgent.evaluate(&quot;didEvaluateForTestInFrontend(&quot; + InspectorTest.completeTestCallId + &quot;, \&quot;\&quot;)&quot;, &quot;test&quot;);
+    },
+
+    addResult: function(text)
+    {
+        InspectorTest.evaluateInPage(&quot;output(unescape('&quot; + escape(text) + &quot;'))&quot;);
+    },
+    
+    clearResults: function()
+    {
+        InspectorTest.evaluateInPage(&quot;clearOutput()&quot;);
+    }
+};
+
+InspectorTest.completeTest = function()
+{
+    function testDispatchQueueIsEmpty() {
+        if (!WebInspector.dispatchQueueIsEmpty()) {
+            // Wait for unprocessed messages.
+            setTimeout(testDispatchQueueIsEmpty, 10);
+            return;
+        }
+        InspectorTest.Output.testComplete();
+    }
+    testDispatchQueueIsEmpty();
+}
+
+InspectorTest.evaluateInConsole = function(code, callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    WebInspector.consoleView.visible = true;
+    WebInspector.consoleView.prompt.text = code;
+    var event = document.createEvent(&quot;KeyboardEvent&quot;);
+    event.initKeyboardEvent(&quot;keydown&quot;, true, true, null, &quot;Enter&quot;, &quot;&quot;);
+    WebInspector.consoleView.prompt.proxyElement.dispatchEvent(event);
+    InspectorTest.addConsoleSniffer(
+        function(commandResult) {
+            callback(commandResult.toMessageElement().textContent);
+        });
+}
+
+InspectorTest.evaluateInConsoleAndDump = function(code, callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    function mycallback(text)
+    {
+        InspectorTest.addResult(code + &quot; = &quot; + text);
+        callback(text);
+    }
+    InspectorTest.evaluateInConsole(code, mycallback);
+}
+
+InspectorTest.evaluateInPage = function(code, callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    function mycallback(error, result, wasThrown)
+    {
+        if (!error)
+            callback(WebInspector.RemoteObject.fromPayload(result), wasThrown);
+    }
+    RuntimeAgent.evaluate(code, &quot;console&quot;, false, mycallback);
+}
+
+InspectorTest.evaluateInPageWithTimeout = function(code)
+{
+    InspectorTest.evaluateInPage(&quot;setTimeout(unescape('&quot; + escape(code) + &quot;'))&quot;);
+}
+
+InspectorTest.addResult = function(text)
+{
+    results.push(text);
+    if (resultsSynchronized)
+        InspectorTest.Output.addResult(text);
+    else {
+        InspectorTest.Output.clearResults();
+        for (var i = 0; i &lt; results.length; ++i)
+            InspectorTest.Output.addResult(results[i]);
+        resultsSynchronized = true;
+    }
+}
+
+InspectorTest.addResults = function(textArray)
+{
+    if (!textArray)
+        return;
+    for (var i = 0, size = textArray.length; i &lt; size; ++i)
+        InspectorTest.addResult(textArray[i]);
+}
+
+function onError(event)
+{
+    window.removeEventListener(&quot;error&quot;, onError);
+    InspectorTest.addResult(&quot;Uncaught exception in inspector front-end: &quot; + event.message + &quot; [&quot; + event.filename + &quot;:&quot; + event.lineno + &quot;]&quot;);
+    InspectorTest.completeTest();
+}
+
+window.addEventListener(&quot;error&quot;, onError);
+
+InspectorTest.formatters = {};
+
+InspectorTest.formatters.formatAsTypeName = function(value)
+{
+    return &quot;&lt;&quot; + typeof value + &quot;&gt;&quot;;
+}
+
+InspectorTest.formatters.formatAsRecentTime = function(value)
+{
+    if (typeof value !== &quot;object&quot; || !(value instanceof Date))
+        return InspectorTest.formatAsTypeName(value);
+    var delta = Date.now() - value;
+    return 0 &lt;= delta &amp;&amp; delta &lt; 30 * 60 * 1000 ? &quot;&lt;plausible&gt;&quot; : value;
+}
+
+InspectorTest.addObject = function(object, customFormatters, prefix, firstLinePrefix)
+{
+    prefix = prefix || &quot;&quot;;
+    firstLinePrefix = firstLinePrefix || prefix;
+    InspectorTest.addResult(firstLinePrefix + &quot;{&quot;);
+    var propertyNames = Object.keys(object);
+    propertyNames.sort();
+    for (var i = 0; i &lt; propertyNames.length; ++i) {
+        var prop = propertyNames[i];
+        if (typeof object.hasOwnProperty === &quot;function&quot; &amp;&amp; !object.hasOwnProperty(prop))
+            continue;
+        var prefixWithName = &quot;    &quot; + prefix + prop + &quot; : &quot;;
+        var propValue = object[prop];
+        if (customFormatters &amp;&amp; customFormatters[prop]) {
+            var formatterName = customFormatters[prop];
+            if (formatterName !== &quot;skip&quot;) {
+                var formatter = InspectorTest.formatters[formatterName];
+                InspectorTest.addResult(prefixWithName + formatter(propValue));
+            }
+        } else
+            InspectorTest.dump(propValue, customFormatters, &quot;    &quot; + prefix, prefixWithName);
+    }
+    InspectorTest.addResult(prefix + &quot;}&quot;);
+}
+
+InspectorTest.addArray = function(array, customFormatters, prefix, firstLinePrefix)
+{
+    prefix = prefix || &quot;&quot;;
+    firstLinePrefix = firstLinePrefix || prefix;
+    InspectorTest.addResult(firstLinePrefix + &quot;[&quot;);
+    for (var i = 0; i &lt; array.length; ++i)
+        InspectorTest.dump(array[i], customFormatters, prefix + &quot;    &quot;);
+    InspectorTest.addResult(prefix + &quot;]&quot;);
+}
+
+InspectorTest.dump = function(value, customFormatters, prefix, prefixWithName)
+{
+    prefixWithName = prefixWithName || prefix;
+    if (prefixWithName &amp;&amp; prefixWithName.length &gt; 80) {
+        InspectorTest.addResult(prefixWithName + &quot;was skipped due to prefix length limit&quot;);
+        return;
+    }
+    if (value === null)
+        InspectorTest.addResult(prefixWithName + &quot;null&quot;);
+    else if (value instanceof Array)
+        InspectorTest.addArray(value, customFormatters, prefix, prefixWithName);
+    else if (typeof value === &quot;object&quot;)
+        InspectorTest.addObject(value, customFormatters, prefix, prefixWithName);
+    else if (typeof value === &quot;string&quot;)
+        InspectorTest.addResult(prefixWithName + &quot;\&quot;&quot; + value + &quot;\&quot;&quot;);
+    else
+        InspectorTest.addResult(prefixWithName + value);
+}
+
+InspectorTest.assertGreaterOrEqual = function(a, b, message)
+{
+    if (a &lt; b)
+        InspectorTest.addResult(&quot;FAILED: &quot; + (message ? message + &quot;: &quot; : &quot;&quot;) + a + &quot; &lt; &quot; + b);
+}
+
+InspectorTest.navigate = function(url, callback)
+{
+    InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(callback);
+
+    WebInspector.panel(&quot;network&quot;)._reset();
+    InspectorTest.evaluateInConsole(&quot;window.location = '&quot; + url + &quot;'&quot;);
+}
+
+InspectorTest.hardReloadPage = function(callback, scriptToEvaluateOnLoad, scriptPreprocessor)
+{
+    InspectorTest._innerReloadPage(true, callback, scriptToEvaluateOnLoad, scriptPreprocessor);
+}
+
+InspectorTest.reloadPage = function(callback, scriptToEvaluateOnLoad, scriptPreprocessor)
+{
+    InspectorTest._innerReloadPage(false, callback, scriptToEvaluateOnLoad, scriptPreprocessor);
+}
+
+InspectorTest._innerReloadPage = function(hardReload, callback, scriptToEvaluateOnLoad, scriptPreprocessor)
+{
+    InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(callback);
+
+    if (WebInspector.panels.network)
+        WebInspector.panels.network._reset();
+    PageAgent.reload(hardReload, scriptToEvaluateOnLoad, scriptPreprocessor);
+}
+
+InspectorTest.pageLoaded = function()
+{
+    resultsSynchronized = false;
+    InspectorTest.addResult(&quot;Page reloaded.&quot;);
+    if (InspectorTest._pageLoadedCallback) {
+        var callback = InspectorTest._pageLoadedCallback;
+        delete InspectorTest._pageLoadedCallback;
+        callback();
+    }
+}
+
+InspectorTest.runWhenPageLoads = function(callback)
+{
+    var oldCallback = InspectorTest._pageLoadedCallback;
+    function chainedCallback()
+    {
+        if (oldCallback)
+            oldCallback();
+        callback();
+    }
+    InspectorTest._pageLoadedCallback = InspectorTest.safeWrap(chainedCallback);
+}
+
+InspectorTest.runAfterPendingDispatches = function(callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+    InspectorBackend.runAfterPendingDispatches(callback);
+}
+
+InspectorTest.createKeyEvent = function(keyIdentifier, ctrlKey, altKey, shiftKey, metaKey)
+{
+    var evt = document.createEvent(&quot;KeyboardEvent&quot;);
+    evt.initKeyboardEvent(&quot;keydown&quot;, true /* can bubble */, true /* can cancel */, null /* view */, keyIdentifier, &quot;&quot;, ctrlKey, altKey, shiftKey, metaKey);
+    return evt;
+}
+
+InspectorTest.runTestSuite = function(testSuite)
+{
+    var testSuiteTests = testSuite.slice();
+
+    function runner()
+    {
+        if (!testSuiteTests.length) {
+            InspectorTest.completeTest();
+            return;
+        }
+        var nextTest = testSuiteTests.shift();
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(&quot;Running: &quot; + /function\s([^(]*)/.exec(nextTest)[1]);
+        InspectorTest.safeWrap(nextTest)(runner, runner);
+    }
+    runner();
+}
+
+InspectorTest.assertEquals = function(expected, found, message)
+{
+    if (expected === found)
+        return;
+
+    var error;
+    if (message)
+        error = &quot;Failure (&quot; + message + &quot;):&quot;;
+    else
+        error = &quot;Failure:&quot;;
+    throw new Error(error + &quot; expected &lt;&quot; + expected + &quot;&gt; found &lt;&quot; + found + &quot;&gt;&quot;);
+}
+
+InspectorTest.assertTrue = function(found, message)
+{
+    InspectorTest.assertEquals(true, !!found, message);
+}
+
+InspectorTest.safeWrap = function(func, onexception)
+{
+    function result()
+    {
+        if (!func)
+            return;
+        var wrapThis = this;
+        try {
+            return func.apply(wrapThis, arguments);
+        } catch(e) {
+            InspectorTest.addResult(&quot;Exception while running: &quot; + func + &quot;\n&quot; + (e.stack || e));
+            if (onexception)
+                InspectorTest.safeWrap(onexception)();
+            else
+                InspectorTest.completeTest();
+        }
+    }
+    return result;
+}
+
+InspectorTest.addSniffer = function(receiver, methodName, override, opt_sticky)
+{
+    override = InspectorTest.safeWrap(override);
+
+    var original = receiver[methodName];
+    if (typeof original !== &quot;function&quot;)
+        throw (&quot;Cannot find method to override: &quot; + methodName);
+
+    receiver[methodName] = function(var_args) {
+        try {
+            var result = original.apply(this, arguments);
+        } finally {
+            if (!opt_sticky)
+                receiver[methodName] = original;
+        }
+        // In case of exception the override won't be called.
+        try {
+            override.apply(this, arguments);
+        } catch (e) {
+            throw (&quot;Exception in overriden method '&quot; + methodName + &quot;': &quot; + e);
+        }
+        return result;
+    };
+}
+
+InspectorTest.addConsoleSniffer = function(override, opt_sticky)
+{
+    InspectorTest.addSniffer(WebInspector.ConsoleView.prototype, &quot;_appendConsoleMessage&quot;, override, opt_sticky);
+}
+
+InspectorTest.override = function(receiver, methodName, override, opt_sticky)
+{
+    override = InspectorTest.safeWrap(override);
+
+    var original = receiver[methodName];
+    if (typeof original !== &quot;function&quot;)
+        throw (&quot;Cannot find method to override: &quot; + methodName);
+
+    receiver[methodName] = function(var_args) {
+        try {
+            try {
+                var result = override.apply(this, arguments);
+            } catch (e) {
+                throw (&quot;Exception in overriden method '&quot; + methodName + &quot;': &quot; + e);
+            }
+        } finally {
+            if (!opt_sticky)
+                receiver[methodName] = original;
+        }
+        return result;
+    };
+
+    return original;
+}
+
+InspectorTest.textContentWithLineBreaks = function(node)
+{
+    var buffer = &quot;&quot;;
+    var currentNode = node;
+    while (currentNode = currentNode.traverseNextNode(node)) {
+        if (currentNode.nodeType === Node.TEXT_NODE)
+            buffer += currentNode.nodeValue;
+        else if (currentNode.nodeName === &quot;LI&quot;)
+            buffer += &quot;\n    &quot;;
+        else if (currentNode.classList.contains(&quot;console-message&quot;))
+            buffer += &quot;\n\n&quot;;
+    }
+    return buffer;
+}
+
+InspectorTest.StringOutputStream = function(callback)
+{
+    this._callback = callback;
+    this._buffer = &quot;&quot;;
+};
+
+InspectorTest.StringOutputStream.prototype = {
+    write: function(chunk, callback)
+    {
+        this._buffer += chunk;
+        if (callback)
+            callback(this);
+    },
+
+    close: function()
+    {
+        this._callback(this._buffer);
+    }
+};
+
+InspectorTest.MockSetting = function(value)
+{
+    this._value = value;
+};
+
+InspectorTest.MockSetting.prototype = {
+    get: function() {
+        return this._value;
+    },
+
+    set: function(value) {
+        this._value = value;
+    }
+};
+
+};
+
+var initializeCallId = 0;
+var runTestCallId = 1;
+var completeTestCallId = 2;
+var frontendReopeningCount = 0;
+
+function reopenFrontend()
+{
+    closeFrontend(openFrontendAndIncrement);
+}
+
+function closeFrontend(callback)
+{
+    // Do this asynchronously to allow InspectorBackendDispatcher to send response
+    // back to the frontend before it's destroyed.
+    setTimeout(function() {
+        testRunner.closeWebInspector();
+        callback();
+    }, 0);
+}
+
+function openFrontendAndIncrement()
+{
+    frontendReopeningCount++;
+    testRunner.showWebInspector();
+    runTest();
+}
+
+function runAfterIframeIsLoaded()
+{
+    if (window.testRunner)
+        testRunner.waitUntilDone();
+    function step()
+    {
+        if (!window.iframeLoaded)
+            setTimeout(step, 100);
+        else
+            runTest();
+    }
+    setTimeout(step, 100);
+}
+
+function runTest(enableWatchDogWhileDebugging)
+{
+    if (!window.testRunner)
+        return;
+
+    testRunner.dumpAsText();
+    testRunner.waitUntilDone();
+
+    function initializeFrontend(initializationFunctions)
+    {
+        if (window.InspectorTest) {
+            InspectorTest.pageLoaded();
+            return;
+        }
+
+        InspectorTest = {};
+    
+        for (var i = 0; i &lt; initializationFunctions.length; ++i) {
+            try {
+                initializationFunctions[i]();
+            } catch (e) {
+                console.error(&quot;Exception in test initialization: &quot; + e);
+                InspectorTest.completeTest();
+            }
+        }
+    }
+
+    function runTestInFrontend(testFunction, completeTestCallId)
+    {
+        if (InspectorTest.completeTestCallId) 
+            return;
+
+        InspectorTest.completeTestCallId = completeTestCallId;
+
+        WebInspector.showPanel(&quot;audits&quot;);
+        try {
+            testFunction();
+        } catch (e) {
+            console.error(&quot;Exception during test execution: &quot; + e,  (e.stack ? e.stack : &quot;&quot;) );
+            InspectorTest.completeTest();
+        }
+    }
+
+    var initializationFunctions = [ String(initialize_InspectorTest) ];
+    for (var name in window) {
+        if (name.indexOf(&quot;initialize_&quot;) === 0 &amp;&amp; typeof window[name] === &quot;function&quot; &amp;&amp; name !== &quot;initialize_InspectorTest&quot;)
+            initializationFunctions.push(window[name].toString());
+    }
+    var parameters = [&quot;[&quot; + initializationFunctions + &quot;]&quot;];
+    var toEvaluate = &quot;(&quot; + initializeFrontend + &quot;)(&quot; + parameters.join(&quot;, &quot;) + &quot;);&quot;;
+    testRunner.evaluateInWebInspector(initializeCallId, toEvaluate);
+
+    parameters = [test, completeTestCallId];
+    toEvaluate = &quot;(&quot; + runTestInFrontend + &quot;)(&quot; + parameters.join(&quot;, &quot;) + &quot;);&quot;;
+    testRunner.evaluateInWebInspector(runTestCallId, toEvaluate);
+
+    if (enableWatchDogWhileDebugging) {
+        function watchDog()
+        {
+            console.log(&quot;Internal watchdog triggered at 20 seconds. Test timed out.&quot;);
+            closeInspectorAndNotifyDone();
+        }
+        window._watchDogTimer = setTimeout(watchDog, 20000);
+    }
+}
+
+function didEvaluateForTestInFrontend(callId)
+{
+    if (callId !== completeTestCallId)
+        return;
+    delete window.completeTestCallId;
+    // Close inspector asynchrously to allow caller of this
+    // function send response before backend dispatcher and frontend are destroyed.
+    setTimeout(closeInspectorAndNotifyDone, 0);
+}
+
+function closeInspectorAndNotifyDone()
+{
+    if (window._watchDogTimer)
+        clearTimeout(window._watchDogTimer);
+
+    testRunner.closeWebInspector();
+    setTimeout(function() {
+        testRunner.notifyDone();
+    }, 0);
+}
+
+var outputElement;
+
+function output(text)
+{
+    if (!outputElement) {
+        var intermediate = document.createElement(&quot;div&quot;);
+        document.body.appendChild(intermediate);
+
+        var intermediate2 = document.createElement(&quot;div&quot;);
+        intermediate.appendChild(intermediate2);
+
+        outputElement = document.createElement(&quot;div&quot;);
+        outputElement.className = &quot;output&quot;;
+        outputElement.id = &quot;output&quot;;
+        outputElement.style.whiteSpace = &quot;pre&quot;;
+        intermediate2.appendChild(outputElement);
+    }
+    outputElement.appendChild(document.createTextNode(text));
+    outputElement.appendChild(document.createElement(&quot;br&quot;));
+}
+
+function clearOutput()
+{
+    if (outputElement) {
+        outputElement.parentNode.removeChild(outputElement);
+        outputElement = null;
+    }
+}
+
+function StandaloneTestRunnerStub()
+{
+}
+
+StandaloneTestRunnerStub.prototype = {
+    dumpAsText: function()
+    {
+    },
+
+    waitUntilDone: function()
+    {
+    },
+
+    closeWebInspector: function()
+    {
+        window.opener.postMessage([&quot;closeWebInspector&quot;], &quot;*&quot;);
+    },
+
+    notifyDone: function()
+    {
+        var actual = document.body.innerText + &quot;\n&quot;;
+        window.opener.postMessage([&quot;notifyDone&quot;, actual], &quot;*&quot;);
+    },
+
+    evaluateInWebInspector: function(callId, script)
+    {
+        window.opener.postMessage([&quot;evaluateInWebInspector&quot;, callId, script], &quot;*&quot;);
+    },
+
+    display: function() { }
+}
+
+if (!window.testRunner &amp;&amp; window.opener)
+    window.testRunner = new StandaloneTestRunnerStub();
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsisolatedfilesystemtestjsfromrev164517trunkLayoutTestshttptestsinspectorisolatedfilesystemtestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/isolated-filesystem-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/isolated-filesystem-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/isolated-filesystem-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/isolated-filesystem-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,63 @@
</span><ins>+var initialize_IsolatedFileSystemTest = function() {
+
+InspectorTest.createIsolatedFileSystemManager = function(workspace, fileSystemMapping)
+{
+    var manager = new MockIsolatedFileSystemManager();
+    manager.fileSystemWorkspaceProvider = new WebInspector.FileSystemWorkspaceProvider(manager, workspace);
+    manager.fileSystemMapping = fileSystemMapping;
+    return manager;
+}
+
+var MockIsolatedFileSystem = function(path, files)
+{
+    this._path = path;
+    this._files = files;
+};
+MockIsolatedFileSystem.prototype = {
+    path: function()
+    {
+        return this._path;
+    },
+
+    requestFileContent: function(path, callback)
+    {
+        callback(this._files[path]);
+    },
+
+    setFileContent: function(path, newContent, callback)
+    {
+        this._files[path] = newContent;
+        callback();
+    },
+
+    requestFilesRecursive: function(path, callback)
+    {
+        var files = Object.keys(this._files);
+        for (var i = 0; i &lt; files.length; ++i)
+            callback(files[i]);
+    },
+}
+
+var MockIsolatedFileSystemManager = function() {};
+MockIsolatedFileSystemManager.prototype = {
+    addMockFileSystem: function(path, files)
+    {
+        var fileSystem = new MockIsolatedFileSystem(path, files);
+        this._fileSystems = this._fileSystems || {};
+        this._fileSystems[path] = fileSystem;
+        this.fileSystemMapping.addFileSystemMapping(path);
+        this.dispatchEventToListeners(WebInspector.IsolatedFileSystemManager.Events.FileSystemAdded, fileSystem);
+    },
+
+    removeMockFileSystem: function(path)
+    {
+        var fileSystem = this._fileSystems[path];
+        delete this._fileSystems[path];
+        this.fileSystemMapping.removeFileSystemMapping(path);
+        this.dispatchEventToListeners(WebInspector.IsolatedFileSystemManager.Events.FileSystemRemoved, fileSystem);
+    },
+
+    __proto__: WebInspector.Object.prototype
+}
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsliveedittestjsfromrev164517trunkLayoutTestshttptestsinspectorliveedittestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/live-edit-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/live-edit-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/live-edit-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/live-edit-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+var initialize_LiveEditTest = function() {
+
+InspectorTest.replaceInSource = function(sourceFrame, string, replacement)
+{
+    sourceFrame._textEditor._mainPanel.setReadOnly(false);
+    for (var i = 0; i &lt; sourceFrame._textEditor.linesCount; ++i) {
+        var line = sourceFrame._textEditor.line(i);
+        var column = line.indexOf(string);
+        if (column === -1)
+            continue;
+        range = new WebInspector.TextRange(i, column, i, column + string.length);
+        var newRange = sourceFrame._textEditor.editRange(range, replacement);
+        break;
+    }
+}
+
+InspectorTest.commitSource = function(sourceFrame)
+{
+    sourceFrame._commitEditing();
+}
+
+InspectorTest.undoSourceEditing = function(sourceFrame)
+{
+    sourceFrame._textEditor._mainPanel._handleUndoRedo(false);
+}
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsmodifycrossdomainruleexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectormodifycrossdomainruleexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/modify-cross-domain-rule-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/modify-cross-domain-rule-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/modify-cross-domain-rule-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+Tests that modifying a rule in a stylesheet loaded from a different domain does not crash the renderer.
+
+Text
+
+Running: testSetUp
+
+Running: testAddProperty
+=== Rule modified ===
+color: green;
+width: 100%;
+=== Selector changed ===
+body {
+  color: green;
+  width: 100%;
+}
+Affects selected (#inspected) node: false
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsmodifycrossdomainrulehtmlfromrev164517trunkLayoutTestshttptestsinspectormodifycrossdomainrulehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/modify-cross-domain-rule.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/modify-cross-domain-rule.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/modify-cross-domain-rule.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/modify-cross-domain-rule.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,110 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;http://localhost:8000/inspector/styles/modify-cross-domain-rule.css&quot;&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var nodeId;
+    var allRules;
+    var rule;
+    var matchedRules;
+
+    WebInspector.showPanel(&quot;elements&quot;);
+
+    InspectorTest.runTestSuite([
+        function testSetUp(next) {
+            InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, selectCallback);
+
+            function selectCallback()
+            {
+                var idToDOMNode = WebInspector.domAgent._idToDOMNode;
+                for (var id in idToDOMNode) {
+                    node = idToDOMNode[id];
+                    if (node.getAttribute &amp;&amp; node.getAttribute(&quot;id&quot;) === &quot;inspected&quot;) {
+                        nodeId = parseInt(id, 10);
+                        break;
+                    }
+                }
+
+                if (!nodeId) {
+                    InspectorTest.completeTest();
+                    return;
+                }
+
+                WebInspector.cssModel.getMatchedStylesAsync(nodeId, false, false, callback);
+            }
+
+            function callback(rules)
+            {
+                if (!rules || !rules.matchedCSSRules || !rules.matchedCSSRules.length) {
+                    InspectorTest.addResult(&quot;[!] No rules found&quot;);
+                    InspectorTest.completeTest();
+                    return;
+                }
+
+                allRules = rules.matchedCSSRules;
+                next();
+            }
+        },
+
+        function testAddProperty(next)
+        {
+            for (var i = 0; i &lt; allRules.length; ++i) {
+                if (allRules[i].isRegular) {
+                    rule = allRules[i];
+                    break;
+                }
+            }
+            rule.style.appendProperty(&quot;width&quot;, &quot;100%&quot;, callback);
+            function callback(newStyle)
+            {
+                InspectorTest.addResult(&quot;=== Rule modified ===&quot;);
+                if (!newStyle) {
+                    InspectorTest.addResult(&quot;[!] No valid rule style received&quot;);
+                    InspectorTest.completeTest();
+                } else {
+                    dumpProperties(newStyle);
+                    WebInspector.cssModel.setRuleSelector(rule.id, nodeId, &quot;body&quot;, successCallback, failureCallback);
+                }
+            }
+
+            function successCallback(rule, doesAffectSelectedNode)
+            {
+                InspectorTest.addResult(&quot;=== Selector changed ===&quot;);
+                InspectorTest.addResult(rule.selectorText + &quot; {&quot; + rule.style.cssText + &quot;}&quot;);
+                InspectorTest.addResult(&quot;Affects selected (#inspected) node: &quot; + doesAffectSelectedNode);
+                next();
+            }
+
+            function failureCallback()
+            {
+                InspectorTest.addResult(&quot;[!] Failed to change selector&quot;);
+                InspectorTest.completeTest();
+            }
+        }
+    ]);
+
+    function dumpProperties(style)
+    {
+       if (!style)
+           return;
+       var allProperties = style.allProperties;
+       for (var i = 0; i &lt; allProperties.length; ++i)
+           InspectorTest.addResult(allProperties[i].text);
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that modifying a rule in a stylesheet loaded from a different domain does not crash the renderer.
+&lt;/p&gt;
+
+&lt;div id=&quot;inspected&quot;&gt;Text&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkasyncxhrjsonmimetypeexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkasyncxhrjsonmimetypeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/async-xhr-json-mime-type-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/async-xhr-json-mime-type-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/async-xhr-json-mime-type-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests XHR network resource content for asynchronous requests with application/json mime type. Bug 80684
+
+http://127.0.0.1:8000/inspector/network/resources/json.php
+resource.type: xhr
+resource.content before requesting content: undefined
+resource.content after requesting content: {&quot;number&quot;: &quot;42&quot;}
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkasyncxhrjsonmimetypehtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkasyncxhrjsonmimetypehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/async-xhr-json-mime-type.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/async-xhr-json-mime-type.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/async-xhr-json-mime-type.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/async-xhr-json-mime-type.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/json.php&quot;, true, step2);
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
+        InspectorTest.assertTrue(!request1.failed, &quot;Resource loading failed.&quot;);
+        request1.requestContent(step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+ &lt;p&gt;
+ Tests XHR network resource content for asynchronous requests with application/json mime type.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=80684&quot;&gt;Bug 80684&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkcachedresourcedestroyedmovedtostorageexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedmovedtostorageexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-moved-to-storage-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-moved-to-storage-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-moved-to-storage-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+CONSOLE MESSAGE: line 16: Done1.
+CONSOLE MESSAGE: line 26: Done2.
+Tests content is moved from cached resource to resource agent's data storage when cached resource is destroyed.
+
+Bug 92108  
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=400
+request.type: image
+request.content.length after requesting content: 536
+Releasing cached resource.
+request.content.length after requesting content: 536
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkcachedresourcedestroyedmovedtostoragehtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedmovedtostoragehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-moved-to-storage.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-moved-to-storage.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-moved-to-storage.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-moved-to-storage.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,109 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var image;
+function loadFirstImage() {
+    image = new Image();
+    image.onload = firstImageLoaded;
+    document.body.appendChild(image);
+    image.src = &quot;resources/resource.php?type=image&amp;random=1&amp;size=400&quot;;
+}
+
+function firstImageLoaded()
+{
+    console.log(&quot;Done1.&quot;);
+}
+
+function loadSecondImage() {
+    image.onload = secondImageLoaded;
+    image.src = &quot;resources/resource.php?type=image&amp;random=1&amp;size=200&quot;;
+}
+
+function secondImageLoaded()
+{
+    console.log(&quot;Done2.&quot;);
+}
+
+function forceCachedResourceLoaderGC() {
+    if (window.internals)
+        window.internals.garbageCollectDocumentResources();
+}
+
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    var imageRequest;
+    function step1()
+    {
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;loadFirstImage()&quot;);
+    }
+
+    function step2()
+    {
+        imageRequest = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        imageRequest.requestContent(step3);
+    }
+
+    var originalContentLength;
+    function step3()
+    {
+        InspectorTest.addResult(imageRequest.url);
+        InspectorTest.addResult(&quot;request.type: &quot; + imageRequest.type);
+        InspectorTest.addResult(&quot;request.content.length after requesting content: &quot; + imageRequest.content.length);
+        originalContentLength = imageRequest.content.length;
+        InspectorTest.assertTrue(imageRequest.content.length &gt; 0, &quot;No content before destroying CachedResource.&quot;);
+
+        InspectorTest.addResult(&quot;Releasing cached resource.&quot;);
+        // Loading another image to the same image element so that the original image cached resource is released.
+        InspectorTest.addConsoleSniffer(step4);
+        InspectorTest.evaluateInPage(&quot;loadSecondImage()&quot;);
+    }
+
+    function step4(msg)
+    {
+        // Disable-enable cache to force MemoryCache::evictResources().
+        NetworkAgent.setCacheDisabled(true, step5);
+    }
+
+    function step5(msg)
+    {
+        NetworkAgent.setCacheDisabled(false, step6);
+    }
+
+    function step6()
+    {
+        // Force CachedResourceLoader garbage collector run.
+        InspectorTest.evaluateInPage(&quot;forceCachedResourceLoaderGC()&quot;);
+
+        // Re-request content now that CachedResource should have been destroyed.
+        delete imageRequest._content;
+        imageRequest.requestContent(step7);
+    }
+
+    function step7()
+    {
+        InspectorTest.addResult(&quot;request.content.length after requesting content: &quot; + imageRequest.content.length);
+        originalContentLength = imageRequest.content.length;
+        InspectorTest.assertTrue(imageRequest.content.length === originalContentLength, &quot;Content changed after cached resource was destroyed&quot;);
+        InspectorTest.resetInspectorResourcesData(step8);
+    }
+
+    function step8()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests content is moved from cached resource to resource agent's data storage when cached resource is destroyed.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=92108&quot;&gt;Bug 92108&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkcachedresourcedestroyedtoobigdiscardedexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedtoobigdiscardedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-too-big-discarded-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-too-big-discarded-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-too-big-discarded-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+CONSOLE MESSAGE: line 23: Done1.
+CONSOLE MESSAGE: line 33: Done2.
+Tests cached resource content is discarded when cached resource is destroyed if content size is too big for the resource agent's data storage.
+
+Bug 92108  
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=400
+request.type: image
+request.content.length after requesting content: 536
+Releasing cached resource.
+request.content after requesting content: null
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkcachedresourcedestroyedtoobigdiscardedhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkcachedresourcedestroyedtoobigdiscardedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-too-big-discarded.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/cached-resource-destroyed-too-big-discarded.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-too-big-discarded.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/cached-resource-destroyed-too-big-discarded.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,106 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var image;
+function loadFirstImage() {
+    if (!window.internals) {
+        console.log(&quot;This test can not be run as window.internals is not available.&quot;);
+        return;
+    }
+    // Make sure there is no enough space to save content in resource agent's storage.
+    internals.setInspectorResourcesDataSizeLimits(100, 100);
+
+    image = new Image();
+    image.onload = firstImageLoaded;
+    document.body.appendChild(image);
+    image.src = &quot;resources/resource.php?type=image&amp;random=1&amp;size=400&quot;;
+}
+
+function firstImageLoaded()
+{
+    console.log(&quot;Done1.&quot;);
+}
+
+function loadSecondImage() {
+    image.onload = secondImageLoaded;
+    image.src = &quot;resources/resource.php?type=image&amp;random=1&amp;size=200&quot;;
+}
+
+function secondImageLoaded()
+{
+    console.log(&quot;Done2.&quot;);
+}
+
+function forceCachedResourceLoaderGC() {
+    if (window.internals)
+        window.internals.garbageCollectDocumentResources();
+}
+
+function test()
+{
+    var imageRequest;
+    InspectorTest.addConsoleSniffer(step2);
+    InspectorTest.evaluateInPage(&quot;loadFirstImage()&quot;);
+
+    function step2()
+    {
+        imageRequest = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        imageRequest.requestContent(step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(imageRequest.url);
+        InspectorTest.addResult(&quot;request.type: &quot; + imageRequest.type);
+        InspectorTest.addResult(&quot;request.content.length after requesting content: &quot; + imageRequest.content.length);
+        InspectorTest.assertTrue(imageRequest.content.length &gt; 0, &quot;No content before destroying CachedResource.&quot;);
+
+        InspectorTest.addResult(&quot;Releasing cached resource.&quot;);
+        // Loading another image to the same image element so that the original image cached resource is released.
+        InspectorTest.addConsoleSniffer(step4);
+        InspectorTest.evaluateInPage(&quot;loadSecondImage()&quot;);
+    }
+
+    function step4(msg)
+    {
+        // Disable-enable cache to force MemoryCache::evictResources().
+        NetworkAgent.setCacheDisabled(true, step5);
+    }
+
+    function step5(msg)
+    {
+        NetworkAgent.setCacheDisabled(false, step6);
+    }
+
+    function step6()
+    {
+        // Force CachedResourceLoader garbage collector run.
+        InspectorTest.evaluateInPage(&quot;forceCachedResourceLoaderGC()&quot;);
+
+        // Re-request content now that CachedResource should have been destroyed.
+        delete imageRequest._content;
+        imageRequest.requestContent(step7);
+    }
+
+    function step7()
+    {
+        InspectorTest.addResult(&quot;request.content after requesting content: &quot; + imageRequest.content);
+        InspectorTest.assertTrue(!imageRequest.content, &quot;Content available after CachedResource was destroyed.&quot;);
+        InspectorTest.resetInspectorResourcesData(step8);
+    }
+
+    function step8()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests cached resource content is discarded when cached resource is destroyed if content size is too big for the resource agent's data storage.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=92108&quot;&gt;Bug 92108&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkcsssourcemappingurlexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkcsssourcemappingurlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/css-source-mapping-url-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/css-source-mapping-url-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/css-source-mapping-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Tests that the extraResourceInfo in Network.loadingFinished contains a sourceMapURL for a Stylesheet containing a sourceMappingURL. Also then tests that Page.getResourceTree contains the sourceMapURL for the resource.
+
+Response received for style.css
+Network.loadingFailed extraResourceInfo contains a sourceMapURL: source-map-test-style.css.map
+Page.getResourceTree resourcePayload contains sourceMapURL: source-map-test-style.css.map
+SUCCESS
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkcsssourcemappingurlhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkcsssourcemappingurlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/css-source-mapping-url.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/css-source-mapping-url.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/css-source-mapping-url.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/css-source-mapping-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,88 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadStylesheetWithSourceMappingURL()
+{
+    var link = document.createElement(&quot;link&quot;);
+    link.rel = &quot;stylesheet&quot;;
+    link.type = &quot;text/css&quot;;
+    link.href = &quot;resources/source-map-test-style.css&quot;;
+    document.head.appendChild(link);
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFinished&quot;, loadingFinished);
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFailed&quot;, loadingFailed);
+
+    InspectorTest.evaluateInPage(&quot;loadStylesheetWithSourceMappingURL()&quot;);
+
+    function loadingFinished(requestId, timestamp, sourceMapURL)
+    {
+        var request = WebInspector.networkLog.requestForId(requestId);
+        if (/source-map-test-style\.css$/.exec(request.url)) {
+            InspectorTest.addResult(&quot;Response received for style.css&quot;);
+            if (sourceMapURL) {
+                InspectorTest.addResult(&quot;Network.loadingFailed extraResourceInfo contains a sourceMapURL: &quot; + sourceMapURL);
+                afterLoadingResource();
+            } else {
+                InspectorTest.addResult(&quot;Network.loadingFailed extraResourceInfo missing sourceMapURL&quot;);
+                InspectorTest.addResult(&quot;FAILURE&quot;);
+                InspectorTest.completeTest();
+            }
+        }
+    }
+
+    function loadingFailed(requestId, time, localizedDescription, canceled)
+    {
+        var request = WebInspector.networkLog.requestForId(requestId);
+        if (/source-map-test-style\.css$/.exec(request.url)) {
+            InspectorTest.addResult(&quot;Failed to load source-map-test-style.css&quot;);
+            InspectorTest.addResult(&quot;FAILURE&quot;);
+            InspectorTest.completeTest();
+        }
+    }
+
+    function afterLoadingResource()
+    {
+        PageAgent.getResourceTree(processResourceTree);
+
+        function processResourceTree(error, mainFramePayload)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;Page.getResourceTree error: &quot; + error);
+                InspectorTest.addResult(&quot;FAILURE&quot;);
+                InspectorTest.completeTest();
+                return;
+            }
+
+            var resources = mainFramePayload.resources;
+            for (var i = 0; i &lt; resources.length; ++i) {
+                var resourcePayload = resources[i];
+                if (/source-map-test-style\.css$/.exec(resourcePayload.url)) {
+                    if (resourcePayload.sourceMapURL) {
+                        InspectorTest.addResult(&quot;Page.getResourceTree resourcePayload contains sourceMapURL: &quot; + resourcePayload.sourceMapURL);
+                        InspectorTest.addResult(&quot;SUCCESS&quot;);
+                        InspectorTest.completeTest();
+                    } else {
+                        InspectorTest.addResult(&quot;Page.getResourceTree resourcePayload missing sourceMapURL&quot;);
+                        InspectorTest.addResult(&quot;FAILURE&quot;);
+                        InspectorTest.completeTest();
+                    }
+                    return;
+                }
+            }
+
+            InspectorTest.addResult(&quot;Page.getResourceTree missing source-map-test-style.css&quot;);
+            InspectorTest.addResult(&quot;FAILURE&quot;);
+            InspectorTest.completeTest();
+        }
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that the extraResourceInfo in Network.loadingFinished contains a sourceMapURL for a Stylesheet containing a sourceMappingURL. Also then tests that Page.getResourceTree contains the sourceMapURL for the resource.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkdownloadexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkdownloadexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/download-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/download-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/download-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/download-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Tests that responseReceived is called on NetworkDispatcher for downloads.
+
+
+Received response for download.zzz
+SUCCESS
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkdownloadhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkdownloadhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/download.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/download.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/download.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/download.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadIFrameWithDownload()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.setAttribute(&quot;src&quot;, &quot;resources/download.zzz&quot;);
+    document.body.appendChild(iframe);
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;responseReceived&quot;, responseReceived);
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFailed&quot;, loadingFailed);
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFinished&quot;, loadingFinished);
+    InspectorTest.evaluateInPage(&quot;loadIFrameWithDownload()&quot;);
+
+    function responseReceived(requestId, time, resourceType, response)
+    {
+        var request = WebInspector.networkLog.requestForId(requestId);
+        if (/download\.zzz/.exec(request.url)) {
+            InspectorTest.addResult(&quot;Received response for download.zzz&quot;);
+            InspectorTest.addResult(&quot;SUCCESS&quot;);
+            InspectorTest.completeTest();
+        }
+    }
+
+    function loadingFinished(requestId, finishTime)
+    {
+        var request = WebInspector.networkLog.requestForId(requestId);
+        if (/download\.zzz/.exec(request.url))
+            InspectorTest.completeTest();
+    }
+
+    function loadingFailed(requestId, time, localizedDescription, canceled)
+    {
+        var request = WebInspector.networkLog.requestForId(requestId);
+        if (/download\.zzz/.exec(request.url))
+            InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that responseReceived is called on NetworkDispatcher for downloads.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkharcontentexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkharcontentexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/har-content-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/har-content-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/har-content-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/har-content-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests conversion of Inspector's resource representation into HAR format.
+
+initiator.css: .image-background {
+    background-image: url(&quot;resource.php?type=image&amp;random=1&amp;size=200&quot;);
+}
+
+.image-background-2 {
+    background-image: url(&quot;resource.php?type=image&amp;random=1&amp;size=300&quot;);
+}
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkharcontenthtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkharcontenthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/har-content.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/har-content.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/har-content.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/har-content.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+var test = function()
+{
+    const requestRegExp = /\/initiator.css$/;
+
+    function onRequestFinished()
+    {
+        var writer = new WebInspector.HARWriter();
+        var stream = new InspectorTest.StringOutputStream(onSaved);
+        writer.write(stream, WebInspector.networkLog.requests, new WebInspector.Progress());
+    }
+
+    function onSaved(data)
+    {
+        var har = JSON.parse(data);
+        InspectorTest.addResult(&quot;initiator.css: &quot; + findEntry(har, requestRegExp).response.content.text);
+        InspectorTest.completeTest();
+    }
+
+    function findEntry(har, regexp)
+    {
+        var entries = har.log.entries;
+        for (var i = 0; i &lt; entries.length; ++i) {
+             var entry = entries[i];
+             if (regexp.test(entry.request.url))
+                 return entry;
+        }
+        InspectorTest.addResult(&quot;FAIL: can't find resource for &quot; + regexp);
+        return null;
+    }
+
+    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/initiator.css&quot;, false, onRequestFinished);
+}
+&lt;/script&gt;
+
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests conversion of Inspector's resource representation into HAR format.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkimageastextloadingdataurlexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkimageastextloadingdataurlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/image-as-text-loading-data-url-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/image-as-text-loading-data-url-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/image-as-text-loading-data-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that long data: URLs are correctly trimmed in MIME type console warnings.
+
+Bug 100083  
+Resource interpreted as Image but transferred with MIME type text/plain: &quot;data:text/plain;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgMCAgMDAwMEAwME…DcdDWnwrOxQAR8I6emHKTSbNFCOyo0Vvg1kVtpCe6dIXZI8TsRC1HbzUoEk/UnDWSXvOdwif/Z&quot;. image-as-text-loading-data-url.html:9
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkimageastextloadingdataurlhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkimageastextloadingdataurlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/image-as-text-loading-data-url.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/image-as-text-loading-data-url.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/image-as-text-loading-data-url.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/image-as-text-loading-data-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadImage()
+{
+    var i = document.createElement('img');
+    i.src = &quot;data:text/plain;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCABLAEsDAREAAhEBAxEB/8QAHQAAAAcBAQEAAAAAAAAAAAAAAAECBAUGBwgDCf/EADoQAAEDAgQDBQcBBgcAAAAAAAECAwQFEQAGEiEHEzEUFiJBUQgVMlJhkaGBCSMkQmOxU2JxcsHh8P/EABoBAAMBAQEBAAAAAAAAAAAAAAABAgMEBQb/xAAvEQACAgEDAQUHBAMAAAAAAAAAAQIRAxIhMUEEEyJhgQVRcZGx0fAUMqHBIzPx/9oADAMBAAIRAxEAPwCT93q9MeYbA93q9MABe71DyOAQPd6vQ4YAMBXphADsCvlOAAuwKHkcAA7Ar5ThgDsKvlwgB2JXy4ANE7qO6CrlKKfM6Tb7430Eie7CvkP2waAC7sK+T8YNAgd2FfJ+MGgAd2FfJ+MGgdg7sK+T8YNABd2FD+X8YNABd2F/J+MLQFg7sK+X8YNAA7sq+T8YNAWb+xlswjpBCmD1HT8Y1aTJG0jKjC37Ib0AjyHhGBMGA5Lbbtrtv0SkXJw2wEdzkE2SkE+lt/tgVMVBnJf9P8YqgC7l/wBP8YekDyfyWbAhq4HUAYTQBnI4+S3rgoYlWR0oJWdgOu3TCoLPBeXGkqICQf0whF3jLS80VlQsDa2AZ6xw2td+iAL4QxciS1GHNunfwjzAwPYBbMpp4oulJdIvqvbAD2HlMIckOh0BCAm/i3JP0xcXTES6IDS0ggCx9RjQQ2W20l5SAkEDa9vPCsBhMQpCy2EXJ/mSLg4QC2IzCGrvJ5hJ3v0wAJtSf8BP2wDKn74jl3ks2V5AWtc4xbLUT1flNp5THb4jEx0qDUR6ShDjpHUJSTcmxHQYONuorIOurqUdiKHY78dayUrBAG9yel/QYiVotU+CEYzQ9S5jjUlJb0J8JX1V9cJSG4loyrXpNWrLLYuWdVyQb3+n23/TFqVuiXHazTg/oQQk39L46LMiOdTIkyU/uyEnqdQ/8cIBFVmCHLS34O0myQytxCV/okkHy9PLABXapU50UlrsDza9VrKTax/0wgIwt1QHeI+D/mQQcMDnjhx7RuX88dqazVIhZPfN0tvIddIcWTpBSq1gRuTf6fXHzfZfamLtDazNQfx5OpwcVa3ONcx06tVLME4KnOzpsyZJV2Zpxbzy1IUolaFBIUpJAJ1jbbe1wMP9OptyjXztv8944ZaW53f7JPHscWsjxqHWIzkir5ejst9qSzZKkJASlKlkm7mwv0JFtuuPXwSc40+hjNU9jd3ewuL5kiC26gIKQXUAmx6gHHVpT6EamjkDjt+0CpGQeLkSg5divsQ8pVFcWuNqXGb98JQ3yzFZK0rU2htSieb4SooKbAHUHpSeyC7W51rw04mU3itw+oOb6E+8ql1iN2lkPtpS63ZSkLQsAkBSVoUk2JG2GSZd7YHHCscGOF7UqjBpVQqz7tOD7qSoxU8pSlOAdCbAjfYXHTbHNnnKEfDyy4pNny8iuTMzN8x9t+Yt9F1yFqUtwpHh2X12Ft7/AN8eDllDG/FLde86K8OyOv8AhH7Z9U4Q8KaZlKp0qVmWdTl9mhz5EtYdXHLivCVOJ8RbSUpR8QISQbbYuHtbwtaP5/PQy7vnSZRN9q7PTlSqLzbcxhuRMkSEMIXzkMpcdUsNpUpBJSkKCQL7BIAsBbFR7ZJq4q0/P7+7g2fZ9W+tejOZ8tcV8y0Ft6NJqDbzSVkuxnYjZ1WtZQItqHW4uDuCL743l2Ls2V3pr4OvQ6Z3TtW/h/JYo/HiS2AiRRhMYZdCkSWJZacjrBA+FYJRY3/m873xzv2ZihJSwycX5GLg5q0aZwn9rRPCqc45QZ9co8SRKEydSKgwmVEmOWAVzFIJc3AHjBCgL2I3xpCPbcTuM4zXnsRLE+KN8pn7RadWJZRFy/lKXGAT/D+9X4748XiIKgb7bWKRY779MdS7Zlh/txNea3XzRisMnaXPmcM8XM50TMnGPN9brEWo0qVUKzKqTsMNpdSlLjmtKEkqGpPTfa/W++OtTzTgp41F35v7Hr4sfsnXpzZMqV1tGDdVzTkt72rfbezrjgR7cI4O+ztlvLkfK8eQ9TY8pEV2dUdCnC5IcdZUttI6DWoquoEgJta+/LLteTvHhxwtrr0PNyY8dKWFuq6pc72tunG+33oPE72uKnxNp7UHNGZGK5HjPGQzHg0pPJS7cdEpCUKSPhTrUrrfY48ycO3dovXPSvd/zf0svHirlev59TLahxfS8G/d9JeLq7hD0iQyyNI66QlK7IB8yfMDfGS9m4lfeSbXkvxm0cE5PeXJBI4ozEuKKo0Vc0rtzwnnKF9tPMevc9b6U2H3x6UOx9nSvR87+lhpePwx6/nOxGHiTmwWCK1V30gAcyM2200f9qeWbD0/46Y0ccS6JGscaS2V+i+xbHOHNRhT0kNUOboulampwYA9QpOob2I6A9ccveJrlnVTT4RNQuHMNfJWinsdveb1vxGp7a7K28IupJJUk3Cknbe/kSPK3y9hJKPCJFnhlS0q5fu99biSEJHaYh5e/wAAJXubkbKBO46dcJZJVae3qDp7VuWGk8KKZUJCIjVBamaNlF51hakEKtpKQdRINhsMLvW+GJquUODlDKLzxaVS6A+4FKYUFsRneUobBO6SQoXPhNvPC7ycFs38ydEZ7tL5DeXlDLr7ytFNpTDe4SpcuKlRPoClOrcjYWFr2wKcqpv6jrfZEFJyhlyVqU69CYSk20e8o513vYbJJF/+sXrkuP7BeZG9z6Q5zVs1qiISfCpS5TS1BA66UjSgWtaygThuTqmmUpNNtEdOypB5C2YFSoEYbLL8uYpzWTtbSgISkfof74FOuU2HK5HdFyvlpNLjCdVWFzNN3VR6iEt6vPSNJ29N8Y5Hk1PSlXmtzoxuCitbd+T2NajzMvrEqoS0JqaXUDnSXIhKOWLJSkrSBZAsBYnT1viO7d8teph3u3CPOo5gylKYRzaxHitMEHU3ykltWnRYHTqSbJG438I3t1lYEnxdhLI3u0g6LPolEUXafXmkIcKni4vlKX1JJ1KRq2JvfqNtxti5QUtmgjkmlsyRg1uniDJLM+nLiPa31pWWgkqcUSSAbeI2uAAT0NuhxlLHCTtouOWcVSHERiDmcGVEhQ6mEquHIjYcaClpIsbI0lRFxc7i3Xa2K0qPvJeRvZ0Rszh1limx9dQixm1MtpKA6EKW2AfiNhvcje9736b4vW11M+eiGVVoOR1PyILy6a2UxyXm23Ro0g3USRc6lA3JSbmwtvilJ/uX9id1pYl/K2RasIja2KIlbTYjoQkLQdIF06wkp1DxfEd/K++F3kk+WU1dbIZx8vZKYS048zSHGXbpaPLXy79TdWo72HmRuDfDc3bpirYboydw6ngyBAjWcJP7p11KevkOaLD9Bh97kW1hp8jwzdJkLyqhfa5IU3JlaSl9Yty2FFA2PQW6ffHFhf8Ala+B25Uu61eX3IzhNleltU/L9V7IHJ0hhpS3XVqcGouAakpUSEnYbgA47s+SVyV9TmwwjSddCVzfW5tOaPZXhG/ipCTykJTqTrRsbDcfQ7YjHFXQ58l34P5By5VnK5Up1FhTJdMUFRFSGQtLRU00T4D4TvcgEHSSoi2o3jLkkoxiny2KEIuW6LfX6FAj0OY/Hitw1y5aXX0wxyEOq+G6kIsk7AeXmT1JvnHxKmbuEU7SMpzZmipUjLEaXGeQmUosNF5xhtxRQtxIUCVJPUYmPilT8yYfvosmScrUfPVOEmtUuJJfKnGw40ylgpSE2ATywnSB9LYbyTVbnRLDjTexWstZJobHErMNPNObfhimQVhmUVPpCnHSlavGTuQOvXr6nGuScu6Tvq/qcShFTkvIs1By1SM0VZuFUqXCejB5WlDcdDWnwrOxQAR8I6emHKTSbNFCOyo0Vvg1kVtpCe6dIXZI8TsRC1HbzUoEk/UnDWSXvOdwif/Z&quot;;
+    document.body.appendChild(i);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step1);
+    InspectorTest.evaluateInPage(&quot;loadImage()&quot;);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that long data: URLs are correctly trimmed in MIME type console warnings.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=100083&quot;&gt;Bug 100083&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcachedresourceswithsameurlsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkcachedresourceswithsameurlsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cachedresources-with-same-urls-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cachedresources-with-same-urls-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cachedresources-with-same-urls-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 23: Done.
+Tests that when we load two different images from the same url (e.g. counters), their content is different in network panel as well.
+
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcachedresourceswithsameurlshtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkcachedresourceswithsameurlshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cachedresources-with-same-urls.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-cachedresources-with-same-urls.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cachedresources-with-same-urls.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cachedresources-with-same-urls.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadImages()
+{
+    var image = new Image();
+    image.onload = step2;
+    image.src = &quot;resources/resource.php?type=image&amp;random=1&quot;;
+    document.body.appendChild(image);
+}
+
+function step2()
+{
+    var image = new Image();
+    image.onload = imageLoaded;
+    image.src = &quot;resources/resource.php?type=image&amp;random=1&quot;;
+    document.body.appendChild(image);
+}
+
+function imageLoaded()
+{
+    console.log(&quot;Done.&quot;);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step2, true);
+    InspectorTest.evaluateInPage(&quot;loadImages()&quot;);
+
+    function step2(msg)
+    {
+        // inspector-test.js appears in network panel occasionally in Safari on
+        // Mac, so checking two last requests.
+        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
+        request1.requestContent(contentLoaded);
+        request2.requestContent(contentLoaded);
+    }
+
+    var contentLoadedCount = 0;
+    function contentLoaded()
+    {
+        if (++contentLoadedCount !== 2)
+            return;
+
+        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
+
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(request2.url);
+        InspectorTest.assertTrue(request1.content !== request2.content);
+        InspectorTest.completeTest();
+    }
+
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that when we load two different images from the same url (e.g. counters),
+their content is different in network panel as well.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkclearcacheexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkclearcacheexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cache-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-clear-cache-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cache-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cache-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+CONSOLE MESSAGE: line 13: First XHR loaded.
+CONSOLE MESSAGE: line 28: Done.
+Tests clearing browser cache from inspector.
+
+http://127.0.0.1:8000/inspector/network/resources/random-cached.php
+http://127.0.0.1:8000/inspector/network/resources/random-cached.php
+http://127.0.0.1:8000/inspector/network/resources/random-cached.php
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkclearcachehtmldisabledfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkclearcachehtmldisabled"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cache.html-disabled (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-clear-cache.html-disabled) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cache.html-disabled                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cache.html-disabled        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,73 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, true, step2);
+    }
+
+    function step2(msg)
+    {
+        if (typeof(NetworkAgent.clearBrowserCache) === 'function')
+            NetworkAgent.clearBrowserCache(step3);
+        else
+            step3();
+    }
+
+    function step3(msg)
+    {
+        InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, true, step4);
+
+        function firstXHRLoaded()
+        {
+            InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, true, step4);
+        }
+    }
+
+    function step4(msg)
+    {
+        // inspector-test.js appears in network panel occasionally in Safari on
+        // Mac, so checking two last resources.
+        var resourcesCount = WebInspector.panel(&quot;network&quot;).resources.length;
+        var resource1 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 3];
+        var resource2 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 2];
+        var resource3 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 1];
+        resource1.requestContent(contentLoaded);
+        resource2.requestContent(contentLoaded);
+        resource3.requestContent(contentLoaded);
+    }
+
+    var contentLoadedCount = 0;
+    function contentLoaded()
+    {
+        if (++contentLoadedCount !== 3)
+            return;
+
+        var resourcesCount = WebInspector.panel(&quot;network&quot;).resources.length;
+        var resource1 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 3];
+        var resource2 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 2];
+        var resource3 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 1];
+
+        InspectorTest.addResult(resource1.url);
+        InspectorTest.addResult(resource2.url);
+        InspectorTest.addResult(resource3.url);
+        InspectorTest.assertTrue(resource1.content !== resource2.content);
+        InspectorTest.assertTrue(resource2.content === resource3.content);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt;Tests clearing browser cache from inspector.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkclearcookiesexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkclearcookiesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cookies-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cookies-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cookies-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 13: First XHR loaded.
+CONSOLE MESSAGE: line 28: Done.
+Tests clearing browser cookies from inspector.
+
+http://127.0.0.1:8000/inspector/network/resources/set-cookie.php
+http://127.0.0.1:8000/inspector/network/resources/set-cookie.php
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkclearcookieshtmldisabledfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkclearcookieshtmldisabled"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cookies.html-disabled (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-clear-cookies.html-disabled) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cookies.html-disabled                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-clear-cookies.html-disabled        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,70 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/set-cookie.php&quot;, true, step2);
+    }
+
+    function step2(msg)
+    {
+        if (typeof(NetworkAgent.clearBrowserCookies) === 'function')
+            NetworkAgent.clearBrowserCookies(step3);
+        else
+            step3();
+    }
+
+    function step3(msg)
+    {
+        InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/set-cookie.php&quot;, true, firstXHRLoaded);
+
+        function firstXHRLoaded()
+        {
+            InspectorTest.makeSimpleXHRWithPayload(&quot;GET&quot;, &quot;resources/set-cookie.php&quot;, true, step4);
+        }
+    }
+
+    function step4(msg)
+    {
+        // inspector-test.js appears in network panel occasionally in Safari on
+        // Mac, so checking two last resources.
+        var resourcesCount = WebInspector.panel(&quot;network&quot;).resources.length;
+        var resource1 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 2];
+        var resource2 = WebInspector.panel(&quot;network&quot;).resources[resourcesCount - 1];
+
+        InspectorTest.addResult(resource1.url);
+        InspectorTest.addResult(resource2.url);
+
+        InspectorTest.assertTrue(!hasRequestCookieWithName(resource1, &quot;TestCookie&quot;));
+        InspectorTest.assertTrue(hasRequestCookieWithName(resource2, &quot;TestCookie&quot;));
+        InspectorTest.completeTest();
+
+    }
+
+    function hasRequestCookieWithName(resource, name)
+    {
+        var requestCookies = resource.requestCookies;
+        if (!requestCookies)
+            return false;
+        for (var  i = 0; i &lt; requestCookies.length; i++) {
+            if (requestCookies[i].name === name)
+                return true;
+        }
+        return false;
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt;Tests clearing browser cookies from inspector.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcontentreplacementembedexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementembedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-embed-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-embed-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-embed-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+CONSOLE MESSAGE: line 58: Done.
+Tests NetworkResourcesData logic for embed content replacement.
+
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?size=200
+resource.content after requesting content: null
+http://127.0.0.1:8000/inspector/network/resources/resource.php?size=100
+resource.content after requesting content: ****************************************************************************************************
+http://127.0.0.1:8000/inspector/network/resources/resource.php?size=201
+resource.content after requesting content: null
+http://127.0.0.1:8000/inspector/network/resources/resource.php?size=100
+resource.content after requesting content: ****************************************************************************************************
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcontentreplacementembedhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementembedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-embed.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-embed.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-embed.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-embed.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,117 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var loadedFirstURL = false;
+function streamLoaded()
+{
+    if (loadedFirstURL)
+        return;
+
+    loadedFirstURL = true;
+    loadURLs();
+}
+
+var snifferInstalled = false;
+function onSnifferInstalled()
+{
+    snifferInstalled = true;
+    loadURLs();
+}
+
+function loadURLs()
+{
+    if (!snifferInstalled || !loadedFirstURL)
+        return;
+
+    if (!window.internals) {
+        console.log(&quot;This test can not be run as window.internals is not available.&quot;);
+        return;
+    }
+    internals.setInspectorResourcesDataSizeLimits(300, 200);
+
+    // Here we test replacement logic. We save first two resources content,
+    // discard third resource content once we see its size exceeds limit,
+    // and finally replace first resource content with the last resource content.
+
+    plg.getURLNotify(&quot;resources/resource.php?size=200&quot;, null, &quot;loadURL2&quot;);
+}
+
+function loadURL2()
+{
+    plg.getURLNotify(&quot;resources/resource.php?size=100&quot;, null, &quot;loadURL3&quot;);
+}
+
+function loadURL3()
+{
+    plg.getURLNotify(&quot;resources/resource.php?size=201&quot;, null, &quot;loadURL4&quot;);
+}
+
+function loadURL4()
+{
+    plg.getURLNotify(&quot;resources/resource.php?size=100&quot;, null, &quot;allURLsLoaded&quot;);
+}
+
+function allURLsLoaded()
+{
+    console.log(&quot;Done.&quot;);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step1);
+    InspectorTest.evaluateInPage(&quot;onSnifferInstalled()&quot;);
+
+    function dumpRequest(request, callback)
+    {
+        if (!request)
+            return callback();
+        InspectorTest.addResult(request.url);
+
+        function contentLoaded()
+        {
+            InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request.content);
+            callback();
+        }
+
+        request.requestContent(contentLoaded);
+    }
+
+    function step1()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 4];
+        dumpRequest(request, step2);
+    }
+
+    function step2()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 3];
+        dumpRequest(request, step3);
+    }
+
+    function step3()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        dumpRequest(request, step4);
+    }
+
+    function step4()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        dumpRequest(request, step5);
+    }
+
+    function step5()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt;Tests NetworkResourcesData logic for embed content replacement.&lt;/p&gt;
+    &lt;embed name=&quot;plg&quot; type=&quot;application/x-webkit-test-netscape&quot; src=&quot;resources/resource.php?type=image&quot; onstreamload=&quot;streamLoaded()&quot;&gt;&lt;/embed&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcontentreplacementxhrexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementxhrexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-xhr-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-xhr-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-xhr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+CONSOLE MESSAGE: line 13: Done.
+CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
+CONSOLE MESSAGE: line 6: XHR loaded: 3
+CONSOLE MESSAGE: line 6: XHR loaded: 4
+Tests NetworkResourcesData logic for XHR content replacement.
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?size=200
+resource.content: null
+http://127.0.0.1:8000/inspector/network/resources/resource.php?size=100
+resource.content: ****************************************************************************************************
+http://127.0.0.1:8000/inspector/network/resources/resource.php?size=201
+resource.content: null
+http://127.0.0.1:8000/inspector/network/resources/resource.php?size=100
+resource.content: ****************************************************************************************************
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcontentreplacementxhrhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkcontentreplacementxhrhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-xhr.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-content-replacement-xhr.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-xhr.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-content-replacement-xhr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,95 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function setInspectorResourcesDataSizeLimits()
+{
+    if (!window.internals) {
+        console.log(&quot;This test can not be run as window.internals is not available.&quot;);
+        return;
+    }
+    internals.setInspectorResourcesDataSizeLimits(300, 200);
+    console.log(&quot;Done.&quot;);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(dataSizeLimitsSet);
+    InspectorTest.evaluateInPage(&quot;setInspectorResourcesDataSizeLimits()&quot;);
+
+    function dataSizeLimitsSet()
+    {
+        // Here we test replacement logic. We save first two resources content,
+        // discard third resource content once we see its size exceeds limit,
+        // and finally replace first resource content with the last resource content.
+
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?size=200&quot;, false, xhrLoaded1);
+    }
+
+    function xhrLoaded1()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?size=100&quot;, false, xhrLoaded2);
+    }
+
+    function xhrLoaded2()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?size=201&quot;, false, xhrLoaded3);
+    }
+
+    function xhrLoaded3()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?size=100&quot;, false, step1);
+    }
+
+    function dumpRequest(request, callback)
+    {
+        if (!request)
+            return callback();
+        InspectorTest.addResult(request.url);
+
+        function contentLoaded()
+        {
+            InspectorTest.addResult(&quot;resource.content: &quot; + request.content);
+            callback();
+        }
+
+        request.requestContent(contentLoaded);
+    }
+
+    function step1()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 4];
+        dumpRequest(request, step2);
+    }
+
+    function step2()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 3];
+        dumpRequest(request, step3);
+    }
+
+    function step3()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        dumpRequest(request, step4);
+    }
+
+    function step4()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        dumpRequest(request, step5);
+    }
+
+    function step5()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt; Tests NetworkResourcesData logic for XHR content replacement.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcyrillicxhrexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkcyrillicxhrexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cyrillic-xhr-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cyrillic-xhr-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cyrillic-xhr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
+Tests cyrillic xhr content is correctly loaded in inspector.
+
+Bug 79026
+http://127.0.0.1:8000/inspector/network/resources/cyrillic.html
+resource.content: The following line contains a word &quot;success&quot; written with cyrillic letters.
+SUССЕSS
+
+http://127.0.0.1:8000/inspector/network/resources/cyrillic.html
+resource.content: The following line contains a word &quot;success&quot; written with cyrillic letters.
+SUССЕSS
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkcyrillicxhrhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkcyrillicxhrhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cyrillic-xhr.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-cyrillic-xhr.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cyrillic-xhr.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-cyrillic-xhr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function dumpRequest(request, callback)
+    {
+        if (!request)
+            return callback();
+        InspectorTest.addResult(request.url);
+
+        function contentLoaded()
+        {
+            InspectorTest.addResult(&quot;resource.content: &quot; + request.content);
+            callback();
+        }
+
+        request.requestContent(contentLoaded);
+    }
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/cyrillic.html&quot;, false, firstXHRLoaded);
+
+        function firstXHRLoaded()
+        {
+            InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/cyrillic.html&quot;, true, step2);
+        }
+    }
+
+    function step2()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        dumpRequest(request, step3);
+    }
+
+    function step3()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        dumpRequest(request, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt; Tests cyrillic xhr content is correctly loaded in inspector.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=79026&quot;&gt;Bug 79026&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablecachememoryexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkdisablecachememoryexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-memory-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-memory-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-memory-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+CONSOLE MESSAGE: line 1: Done.
+CONSOLE MESSAGE: line 1: Done.
+CONSOLE MESSAGE: line 1: Done.
+Tests disabling cache from inspector.
+
+Page reloaded.
+Page reloaded.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablecachememoryhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkdisablecachememoryhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-memory.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-memory.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-memory.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-memory.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,92 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function scheduleScriptLoad() {
+    window.setTimeout(loadScript, 0);
+}
+
+function loadScript() {
+    var script = document.createElement(&quot;script&quot;);
+    script.type = &quot;text/javascript&quot;;
+    script.src = &quot;resources/random-script.php&quot;;
+    document.head.appendChild(script);
+}
+
+function test()
+{
+    var content1;
+    var content2;
+    var content3;
+
+    function loadScriptAndGetContent(callback)
+    {
+        InspectorTest.addConsoleSniffer(scriptLoaded);
+        InspectorTest.evaluateInPage(&quot;scheduleScriptLoad()&quot;);
+
+        function scriptLoaded()
+        {
+            var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
+            var request = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
+            request.requestContent(contentLoaded);
+        }
+
+        function contentLoaded()
+        {
+            var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
+            var request = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
+            callback(request.content);
+        }
+    }
+
+    loadScriptAndGetContent(step1);
+
+    function step1(content)
+    {
+        content1 = content;
+        InspectorTest.reloadPage(step2);
+    }
+
+    function step2(msg)
+    {
+        loadScriptAndGetContent(step3);
+    }
+
+    function step3(content)
+    {
+        content2 = content;
+        NetworkAgent.setCacheDisabled(true, step4);
+    }
+
+    function step4(msg)
+    {
+        InspectorTest.reloadPage(step5);
+    }
+
+    function step5(msg)
+    {
+        loadScriptAndGetContent(step6);
+    }
+
+    function step6(content)
+    {
+        content3 = content;
+
+        InspectorTest.assertTrue(content1 === content2, &quot;First and second scripts should be equal.&quot;);
+        InspectorTest.assertTrue(content2 !== content3, &quot;Second and third scripts should differ.&quot;);
+        NetworkAgent.setCacheDisabled(false, step7);
+    }
+
+    function step7(msg)
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt;Tests disabling cache from inspector.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablecachexhrsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkdisablecachexhrsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-xhrs-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-xhrs-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-xhrs-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
+CONSOLE MESSAGE: line 6: XHR loaded: 3
+Tests disabling cache from inspector.
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?random=1&amp;cached=1
+http://127.0.0.1:8000/inspector/network/resources/resource.php?random=1&amp;cached=1
+http://127.0.0.1:8000/inspector/network/resources/resource.php?random=1&amp;cached=1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablecachexhrshtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkdisablecachexhrshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-xhrs.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-disable-cache-xhrs.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-xhrs.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disable-cache-xhrs.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,75 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?random=1&amp;cached=1&quot;, true, firstXHRLoaded);
+
+        function firstXHRLoaded()
+        {
+            InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?random=1&amp;cached=1&quot;, true, step2);
+        }
+    }
+
+    function step2(msg)
+    {
+        NetworkAgent.setCacheDisabled(true, step3);
+    }
+
+    function step3(msg)
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?random=1&amp;cached=1&quot;, true, step4);
+    }
+
+    function step4(msg)
+    {
+        // inspector-test.js appears in network panel occasionally in Safari on
+        // Mac, so checking two last resources.
+        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 3];
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
+        var request3 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
+        request1.requestContent(contentLoaded);
+        request2.requestContent(contentLoaded);
+        request3.requestContent(contentLoaded);
+    }
+
+    var contentLoadedCount = 0;
+    function contentLoaded()
+    {
+        if (++contentLoadedCount !== 3)
+            return;
+
+        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 3];
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
+        var request3 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
+
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(request2.url);
+        InspectorTest.addResult(request3.url);
+        InspectorTest.assertTrue(request1.content === request2.content, &quot;First and second resources are equal&quot;);
+        InspectorTest.assertTrue(request2.content !== request3.content, &quot;Second and third resources differ&quot;);
+        NetworkAgent.setCacheDisabled(false, step5);
+    }
+
+    function step5(msg)
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt;Tests disabling cache from inspector.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablingchecknomemoryleakexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkdisablingchecknomemoryleakexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disabling-check-no-memory-leak-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disabling-check-no-memory-leak-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disabling-check-no-memory-leak-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests that after disabling network domain, content saved on backend is removed. Bug 67995
+
+resource.content after disabling network domain: null
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkdisablingchecknomemoryleakhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkdisablingchecknomemoryleakhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disabling-check-no-memory-leak.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-disabling-check-no-memory-leak.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disabling-check-no-memory-leak.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-disabling-check-no-memory-leak.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, true, step2);
+    }
+
+    function step2()
+    {
+        NetworkAgent.disable(step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        request1.requestContent(step4);
+    }
+
+    function step4()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource.content after disabling network domain: &quot; + request1.content);
+        NetworkAgent.enable(step5);
+    }
+
+    function step5()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+ &lt;p&gt;
+ Tests that after disabling network domain, content saved on backend is removed.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=67995&quot;&gt;Bug 67995&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkembedexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkembedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-embed-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-embed-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-embed-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-embed-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+CONSOLE MESSAGE: line 58: Done.
+Tests that network panel shows content for embed objects.
+
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image
+resource.type: other
+resource.content before requesting content: undefined
+resource.content after requesting content: null
+http://127.0.0.1:8000/inspector/network/resources/plugin-data.php?filename=utf8.xml&amp;mimetype=text/html&amp;charset=utf8
+resource.type: other
+resource.content before requesting content: undefined
+resource.content after requesting content: &lt;?xml version='1.0' encoding='utf-8'?&gt;
+&lt;root&gt;
+  &lt;utf8&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/utf8&gt;
+&lt;/root&gt;
+
+http://127.0.0.1:8000/inspector/network/resources/plugin-data.php?filename=cp1251.xml&amp;mimetype=text/html&amp;charset=cp1251
+resource.type: other
+resource.content before requesting content: undefined
+resource.content after requesting content: &lt;?xml version='1.0' encoding='cp1251'?&gt;
+&lt;root&gt;
+  &lt;cp1251&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/cp1251&gt;
+&lt;/root&gt;
+
+http://127.0.0.1:8000/inspector/network/resources/plugin-data.php?filename=utf8.xml&amp;mimetype=application/xml
+resource.type: other
+resource.content before requesting content: undefined
+resource.content after requesting content: &lt;?xml version='1.0' encoding='utf-8'?&gt;
+&lt;root&gt;
+  &lt;utf8&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/utf8&gt;
+&lt;/root&gt;
+
+http://127.0.0.1:8000/inspector/network/resources/plugin-data.php?filename=cp1251.xml&amp;mimetype=application/xml
+resource.type: other
+resource.content before requesting content: undefined
+resource.content after requesting content: &lt;?xml version='1.0' encoding='cp1251'?&gt;
+&lt;root&gt;
+  &lt;cp1251&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/cp1251&gt;
+&lt;/root&gt;
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkembedhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkembedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-embed.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-embed.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-embed.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-embed.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,132 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var loadedFirstURL = false;
+function streamLoaded()
+{
+    if (loadedFirstURL)
+        return;
+
+    loadedFirstURL = true;
+    loadURLs();
+}
+
+var snifferInstalled = false;
+function onSnifferInstalled()
+{
+    snifferInstalled = true;
+    loadURLs();
+}
+
+function loadURLs()
+{
+    if (!snifferInstalled || !loadedFirstURL)
+        return;
+
+    // Binary content should not be available.
+    plg.getURLNotify(&quot;resources/resource.php?type=image&quot;, null, &quot;loadURL2&quot;);
+}
+
+function loadURL2()
+{
+    // This resource content should be correctly decoded.
+    plg.getURLNotify(&quot;resources/plugin-data.php?filename=utf8.xml&amp;mimetype=text/html&amp;charset=utf8&quot;, null, &quot;loadURL3&quot;);
+}
+
+function loadURL3()
+{
+    // This resource content should be correctly decoded.
+    plg.getURLNotify(&quot;resources/plugin-data.php?filename=cp1251.xml&amp;mimetype=text/html&amp;charset=cp1251&quot;, null, &quot;loadURL4&quot;);
+}
+
+function loadURL4()
+{
+    // This resource content should be correctly decoded.
+    plg.getURLNotify(&quot;resources/plugin-data.php?filename=utf8.xml&amp;mimetype=application/xml&quot;, null, &quot;loadURL5&quot;);
+}
+
+function loadURL5()
+{
+    // This resource content should be correctly decoded.
+    plg.getURLNotify(&quot;resources/plugin-data.php?filename=cp1251.xml&amp;mimetype=application/xml&quot;, null, &quot;allURLsLoaded&quot;);
+}
+
+function allURLsLoaded()
+{
+    console.log(&quot;Done.&quot;);
+}
+
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;onSnifferInstalled()&quot;);
+    }
+
+    function dumpRequest(request, callback)
+    {
+        if (!request)
+            return callback();
+        InspectorTest.addResult(request.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request.content);
+
+        function contentLoaded()
+        {
+            InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request.content);
+            callback();
+        }
+
+        request.requestContent(contentLoaded);
+    }
+
+    function step2()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 5];
+        dumpRequest(request, step3);
+    }
+
+    function step3()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 4];
+        dumpRequest(request, step4);
+    }
+
+    function step4()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 3];
+        dumpRequest(request, step5);
+    }
+
+    function step5()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        dumpRequest(request, step6);
+    }
+
+    function step6()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        dumpRequest(request, step7);
+    }
+
+    function step7()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt;Tests that network panel shows content for embed objects.&lt;/p&gt;
+    &lt;embed name=&quot;plg&quot; type=&quot;application/x-webkit-test-netscape&quot; src=&quot;resources/resource.php?type=image&quot; onstreamload=&quot;streamLoaded()&quot;&gt;&lt;/embed&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkemptyxhrexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkemptyxhrexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-empty-xhr-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-empty-xhr-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-empty-xhr-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
+Tests empty xhr content is correctly loaded in inspector.
+
+Bug 79026
+http://127.0.0.1:8000/inspector/network/resources/empty.html
+resource.content: 
+http://127.0.0.1:8000/inspector/network/resources/empty.html
+resource.content: 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkemptyxhrhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkemptyxhrhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-empty-xhr.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-empty-xhr.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-empty-xhr.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-empty-xhr.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function dumpRequest(request, callback)
+    {
+        if (!request)
+            return callback();
+        InspectorTest.addResult(request.url);
+
+        function contentLoaded()
+        {
+            InspectorTest.addResult(&quot;resource.content: &quot; + request.content);
+            callback();
+        }
+
+        request.requestContent(contentLoaded);
+    }
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/empty.html&quot;, false, firstXHRLoaded);
+
+        function firstXHRLoaded()
+        {
+            InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/empty.html&quot;, true, step2);
+        }
+    }
+
+    function step2()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        dumpRequest(request, step3);
+    }
+
+    function step3()
+    {
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        dumpRequest(request, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt; Tests empty xhr content is correctly loaded in inspector.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=79026&quot;&gt;Bug 79026&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkiframeloadanddeleteexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkiframeloadanddeleteexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-iframe-load-and-delete-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-iframe-load-and-delete-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-iframe-load-and-delete-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: line 36: Done.
+Tests that if iframe is loaded and then deleted, inspector could still show its content. Note that if iframe.src is changed to &quot;javascript:'...some html...'&quot; after loading, then we have different codepath, hence two tests;
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php
+resource.type: document
+resource.content before requesting content: undefined
+resource.content after requesting content: Hello world
+http://127.0.0.1:8000/inspector/network/resources/resource.php
+resource.type: document
+resource.content before requesting content: undefined
+resource.content after requesting content: Hello world
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkiframeloadanddeletehtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkiframeloadanddeletehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-iframe-load-and-delete.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-iframe-load-and-delete.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-iframe-load-and-delete.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-iframe-load-and-delete.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,82 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var iframe;
+
+function loadIframe()
+{
+    iframe = document.createElement(&quot;iframe&quot;);
+    document.body.appendChild(iframe);
+    iframe.onload = iframeLoaded;
+    iframe.src = &quot;resources/resource.php&quot;;
+}
+
+function iframeLoaded()
+{
+    document.body.removeChild(iframe);
+
+    loadIframeAndChangeSrcAfterLoad();
+}
+
+function loadIframeAndChangeSrcAfterLoad()
+{
+    iframe = document.createElement(&quot;iframe&quot;);
+    document.body.appendChild(iframe);
+    iframe.onload = iframeLoadedChangeSrc;
+    iframe.src = &quot;resources/resource.php&quot;;
+}
+
+function iframeLoadedChangeSrc()
+{
+    iframe.onload = null;
+    iframe.src = &quot;javascript:'&lt;html&gt;&lt;/html&gt;'&quot;;
+    document.body.removeChild(iframe);
+    console.log(&quot;Done.&quot;);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step2);
+    InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
+        request1.requestContent(step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
+
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request2.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request2.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request2.content);
+        request2.requestContent(step4);
+    }
+
+    function step4()
+    {
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request2.content);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+  &lt;p&gt;
+    Tests that if iframe is loaded and then deleted, inspector could still show its content.
+    Note that if iframe.src is changed to &quot;javascript:'...some html...'&quot; after
+    loading, then we have different codepath, hence two tests;
+  &lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkimage404expectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkimage404expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-image-404-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-image-404-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-image-404-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-image-404-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+CONSOLE MESSAGE: line 15: Done.
+Tests content is available for failed image request.
+
+Bug 84265
+http://127.0.0.1:8000/inspector/network/resources/404.php
+resource.type: image
+resource.content before requesting content: undefined
+resource.content after requesting content: 404 - resource was not found.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkimage404htmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkimage404html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-image-404.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-image-404.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-image-404.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-image-404.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadData()
+{
+    var image = new Image();
+    image.src = &quot;resources/404.php&quot;;
+    image.onerror = resourceLoaded;
+}
+
+function resourceLoaded()
+{
+    console.log(&quot;Done.&quot;);
+}
+
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;loadData()&quot;);
+    }
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
+        InspectorTest.assertTrue(!request1.failed, &quot;Resource loading failed.&quot;);
+        request1.requestContent(step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests content is available for failed image request.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=84265&quot;&gt;Bug 84265&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkinitiatorexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkinitiatorexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-initiator-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+CONSOLE MESSAGE: line 34: Done.
+Tests resources initiator for images initiated by IMG tag, static CSS, CSS class added from JavaScript and XHR.
+
+Bug 65105 
+This div has background image set from CSS.
+This div will have background image set from JavaScript.
+Page reloaded.
+http://127.0.0.1:8000/inspector/network/resources/initiator.css: parser
+    http://127.0.0.1:8000/inspector/network/network-initiator.html 3
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=100: parser
+    http://127.0.0.1:8000/inspector/network/network-initiator.html 107
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=200: parser
+    http://127.0.0.1:8000/inspector/network/network-initiator.html 108
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=300: script
+    addClassToDivStep2 http://127.0.0.1:8000/inspector/network/network-initiator.html 17
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;random=1&amp;size=400: script
+    loadData http://127.0.0.1:8000/inspector/network/network-initiator.html 29
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkinitiatorfromconsoleexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkinitiatorfromconsoleexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-from-console-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-from-console-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-from-console-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that there is no javascript error when console evaluation causes resource loading.
+
+Bug 65466
+Page reloaded.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkinitiatorfromconsolehtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkinitiatorfromconsolehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-from-console.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-initiator-from-console.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-from-console.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator-from-console.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var test = function()
+{
+    InspectorTest.reloadPage(step1);
+
+    function findRequestByURL(url)
+    {
+        var requests = WebInspector.networkLog.requests;
+        for (var i = 0; i &lt; requests.length; ++i) {
+            if (url.test(requests[i].url))
+                return requests[i];
+        }
+    }
+
+    function step1()
+    {
+        WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestStarted, onRequest);
+        var str = &quot;&quot;;
+        str += &quot;var s = document.createElement(\&quot;script\&quot;);&quot;;
+        str += &quot;s.src = \&quot;resources/silent_script.js\&quot;;&quot;;
+        str += &quot;document.head.appendChild(s);&quot;;
+        WebInspector.runtimeModel.evaluate(str, &quot;console&quot;, true, undefined, undefined, undefined, function(){});
+    }
+
+    function onRequest(event)
+    {
+        var request = event.data;
+        if (/silent_script.js/.test(request.url))
+            step2();
+    }
+
+    function step2()
+    {
+        if (!findRequestByURL(/silent_script.js/))
+            return;
+
+        WebInspector.panel(&quot;network&quot;).show();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that there is no javascript error when console evaluation causes resource loading.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65466&quot;&gt;Bug 65466&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkinitiatorhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkinitiatorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-initiator.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-initiator.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,111 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link href=&quot;resources/initiator.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function addClassToDiv()
+{
+    // We need to setTimeout, to make sure that style recalculation scheduling
+    // is really triggered by adding a class to the div.
+    window.setTimeout(addClassToDivStep2, 0);
+}
+
+function addClassToDivStep2()
+{
+    document.getElementById(&quot;div-without-class&quot;).className = &quot;image-background-2&quot;;
+}
+
+function loadData()
+{
+    var xhr = new XMLHttpRequest();
+    xhr.onreadystatechange = function()
+    {
+        if (xhr.readyState === XMLHttpRequest.DONE)
+            resourceLoaded();
+    };
+    xhr.open(&quot;GET&quot;, &quot;resources/resource.php?type=image&amp;random=1&amp;size=400&quot;, true);
+    xhr.send(null);
+}
+
+function resourceLoaded()
+{
+    console.log(&quot;Done.&quot;);
+}
+
+var test = function()
+{
+    InspectorTest.hardReloadPage(step1);
+
+    function findRequestByURL(url)
+    {
+        var requests = WebInspector.networkLog.requests;
+        for (var i = 0; i &lt; requests.length; ++i) {
+            if (url.test(requests[i].url))
+                return requests[i];
+        }
+    }
+
+    function step1()
+    {
+        WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequest);
+        InspectorTest.evaluateInPage(&quot;addClassToDiv()&quot;, step2);
+    }
+
+    function onRequest(event)
+    {
+        var request = event.data;
+        if (/size=300/.test(request.url))
+            step2();
+    }
+
+    function step2()
+    {
+        if (!findRequestByURL(/size=300/))
+            return;
+
+        InspectorTest.addConsoleSniffer(step3);
+        InspectorTest.evaluateInPage(&quot;loadData()&quot;);
+    }
+
+    function step3()
+    {
+        function dumpInitiator(request)
+        {
+            var initiator = request.initiator;
+            InspectorTest.addResult(request.url + &quot;: &quot; + initiator.type);
+            if (initiator.url)
+                InspectorTest.addResult(&quot;    &quot; + initiator.url + &quot; &quot; + initiator.lineNumber);
+            if (initiator.stackTrace) {
+                var stackTrace = initiator.stackTrace;
+                for (var i = 0; i &lt; stackTrace.length; ++i) {
+                    var frame = stackTrace[i];
+                    if (frame.lineNumber) {
+                        InspectorTest.addResult(&quot;    &quot; + frame.functionName + &quot; &quot; + frame.url + &quot; &quot; + frame.lineNumber);
+                        break;
+                    }
+                }
+            }
+        }
+
+        dumpInitiator(findRequestByURL(/initiator\.css/));
+        dumpInitiator(findRequestByURL(/size=100/));
+        dumpInitiator(findRequestByURL(/size=200/));
+        dumpInitiator(findRequestByURL(/size=300/));
+        dumpInitiator(findRequestByURL(/size=400/));
+
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests resources initiator for images initiated by IMG tag, static CSS, CSS class added from JavaScript and XHR.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65105&quot;&gt;Bug 65105&lt;/a&gt;
+&lt;img src=&quot;resources/resource.php?type=image&amp;random=1&amp;size=100&quot;&gt;
+&lt;div class=&quot;image-background&quot;&gt;This div has background image set from CSS.&lt;/div&gt;
+&lt;div id=&quot;div-without-class&quot;&gt;This div will have background image set from JavaScript.&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkpreviewjsonexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkpreviewjsonexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-preview-json-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-preview-json-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-preview-json-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-preview-json-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+Tests RequestJSONView ability to parse JSON passed in XHR, JSONP
+
+Bug 65559
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkpreviewjsonhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkpreviewjsonhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-preview-json.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-preview-json.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-preview-json.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-preview-json.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,56 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;network&quot;);
+
+    var testData;
+
+    testData = &quot;while(1);&quot;;
+    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSON(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
+
+    testData = &quot;{\&quot;name\&quot;: \&quot;value\&quot;&quot;;
+    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSON(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
+
+    testData = &quot;{\&quot;name\&quot;: \&quot;value\&quot;}&quot;;
+    var parsedJSON = WebInspector.RequestJSONView.parseJSON(testData);
+    InspectorTest.assertEquals(parsedJSON.prefix, &quot;&quot;);
+    InspectorTest.assertEquals(parsedJSON.data.name, &quot;value&quot;);
+    InspectorTest.assertEquals(parsedJSON.suffix, &quot;&quot;);
+
+    testData = &quot;while(1); {\&quot;name\&quot;: \&quot;value\&quot;}&quot;;
+    parsedJSON = WebInspector.RequestJSONView.parseJSON(testData);
+    InspectorTest.assertEquals(parsedJSON.prefix, &quot;while(1); &quot;);
+    InspectorTest.assertEquals(parsedJSON.data.name, &quot;value&quot;);
+    InspectorTest.assertEquals(parsedJSON.suffix, &quot;&quot;);
+
+    testData = &quot;func({)&quot;;
+    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSONP(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
+
+    testData = &quot;func){(&quot;;
+    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSONP(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
+
+    testData = &quot;func({\&quot;name\&quot;: \&quot;value\&quot;}&quot;;
+    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSONP(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
+
+    testData = &quot;func{\&quot;name\&quot;: \&quot;value\&quot;})&quot;;
+    InspectorTest.assertTrue(!WebInspector.RequestJSONView.parseJSONP(testData), &quot;Should not be able to parse \&quot;&quot; + testData + &quot;\&quot;.&quot;);
+
+    testData = &quot;func({\&quot;name\&quot;: \&quot;value\&quot;})&quot;;
+    var parsedJSONP = WebInspector.RequestJSONView.parseJSONP(testData);
+    InspectorTest.assertEquals(parsedJSONP.prefix, &quot;func(&quot;);
+    InspectorTest.assertEquals(parsedJSONP.data.name, &quot;value&quot;);
+    InspectorTest.assertEquals(parsedJSONP.suffix, &quot;)&quot;);
+
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests RequestJSONView ability to parse JSON passed in XHR, JSONP&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65559&quot;&gt;Bug 65559&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkrequestrevisioncontentexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkrequestrevisioncontentexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-request-revision-content-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-request-revision-content-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-request-revision-content-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Tests how revision requests content if original content was not loaded yet.
+
+Bug 63631
+http://127.0.0.1:8000/inspector/network/resources/style.css
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkrequestrevisioncontenthtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkrequestrevisioncontenthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-request-revision-content.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-request-revision-content.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-request-revision-content.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-request-revision-content.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,46 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadStylesheet()
+{
+    var css = document.createElement(&quot;link&quot;);
+    css.rel = &quot;stylesheet&quot;;
+    css.type = &quot;text/css&quot;;
+    css.href = &quot;resources/style.css&quot;;
+    document.head.appendChild(css);
+}
+
+function test()
+{
+    WebInspector.workspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, step2);
+    InspectorTest.evaluateInPage(&quot;loadStylesheet()&quot;);
+
+    var resource;
+    function step2(event)
+    {
+        var eventUISourceCode = event.data;
+        if (eventUISourceCode.originURL().indexOf(&quot;style.css&quot;) == -1)
+            return;
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        uiSourceCode = WebInspector.workspace.uiSourceCodeForOriginURL(request.url);
+        if (!uiSourceCode)
+            return;
+        uiSourceCode.addRevision(&quot;&quot;);
+        uiSourceCode.history[0].requestContent(step3);
+    }
+
+    function step3(content)
+    {
+        InspectorTest.addResult(uiSourceCode.originURL());
+        InspectorTest.addResult(content);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests how revision requests content if original content was not loaded yet.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=63631&quot;&gt;Bug 63631&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksharedworkerexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksharedworkerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-shared-worker-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-shared-worker-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-shared-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-shared-worker-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+CONSOLE MESSAGE: line 14: Done.
+Tests that shared worker content is available in network panel.
+
+Bug 65929
+http://127.0.0.1:8000/inspector/network/resources/shared-worker.js
+resource.type: script
+resource.content before requesting content: undefined
+resource.content after requesting content: onconnect = function(event)
+{
+    var port = event.ports[0];
+    port.postMessage(&quot;Done.&quot;);
+}
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksharedworkerhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksharedworkerhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-shared-worker.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-shared-worker.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-shared-worker.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-shared-worker.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadData()
+{
+    var worker = new SharedWorker(&quot;resources/shared-worker.js&quot;);
+    worker.port.onmessage = workerLoaded;
+}
+
+function workerLoaded(event)
+{
+    console.log(event.data);
+}
+
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;loadData()&quot;);
+    }
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
+        request1.requestContent(step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that shared worker content is available in network panel.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65929&quot;&gt;Bug 65929&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksidebarwidthexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksidebarwidthexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-sidebar-width-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-sidebar-width-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-sidebar-width-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests network panel sidebar width with and without preference set.
+
+Bug 65256
+Sidebar width: 200
+Sidebar width: 242
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksidebarwidthhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksidebarwidthhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-sidebar-width.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-sidebar-width.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-sidebar-width.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-sidebar-width.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, true, step2);
+
+    var oldSetting;
+    function step2()
+    {
+        var panel = WebInspector.panel(&quot;network&quot;);
+        var setting = WebInspector.settings[panel._sidebarWidthSettingName()];
+        var request = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+
+        oldSetting = setting.get();
+        panel.show();
+
+        setting.set(undefined);
+        panel._showRequest(request);
+        InspectorTest.addResult(&quot;Sidebar width: &quot; + panel.sidebarElement.offsetWidth);
+        panel._toggleGridMode();
+
+        setting.set(242);
+        panel._showRequest(request);
+        InspectorTest.addResult(&quot;Sidebar width: &quot; + panel.sidebarElement.offsetWidth);
+        panel._closeVisibleRequest(request);
+
+        setting.set(oldSetting);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests network panel sidebar width with and without preference set.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65256&quot;&gt;Bug 65256&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizechunkedexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksizechunkedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-chunked-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-size-chunked-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-chunked-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-chunked-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+CONSOLE MESSAGE: line 15: Done.
+Tests network resource size reporting for chunked transfer encoding.
+
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500&amp;gzip=true&amp;chunked=true
+resourceSize: 500
+transferSize: 937
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizechunkedhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksizechunkedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-chunked.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-size-chunked.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-chunked.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-chunked.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadImages()
+{
+    var image = document.createElement(&quot;img&quot;);
+    image.onload = resourceLoaded;
+    image.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=image&amp;size=500&amp;gzip=true&amp;chunked=true&quot;);
+    document.body.appendChild(image);
+}
+
+function resourceLoaded()
+{
+    console.log(&quot;Done.&quot;);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step2);
+    InspectorTest.evaluateInPage(&quot;loadImages()&quot;);
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resourceSize: &quot; + request1.resourceSize);
+        InspectorTest.addResult(&quot;transferSize: &quot; + request1.transferSize);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests network resource size reporting for chunked transfer encoding.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizeexpectedchunkedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksizeexpectedchunkedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-expected-chunked.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-size-expected-chunked.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-expected-chunked.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-expected-chunked.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+CONSOLE MESSAGE: line 22: Done.
+Tests network resource size reporting.
+
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500&amp;gzip=true%chunked=true
+resourceSize: 500
+transferSize: 208
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizeexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksizeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-size-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+CONSOLE MESSAGE: line 22: Done.
+Tests network resource size reporting.
+
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500
+resourceSize: 500
+transferSize: 500
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500&amp;gzip=true
+resourceSize: 500
+transferSize: 202
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizesyncexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksizesyncexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-sync-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-size-sync-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-sync-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-sync-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests network resource size reporting for synchronous requests.
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=image&amp;size=500&amp;gzip=true&amp;chunked=true
+resourceSize: 500
+transferSize: 937
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizesynchtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksizesynchtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-sync.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-size-sync.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-sync.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size-sync.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php?type=image&amp;size=500&amp;gzip=true&amp;chunked=true&quot;, false, step2);
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resourceSize: &quot; + request1.resourceSize);
+        InspectorTest.addResult(&quot;transferSize: &quot; + request1.transferSize);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests network resource size reporting for synchronous requests.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworksizehtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworksizehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-size.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-size.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadImages()
+{
+    var image = document.createElement(&quot;img&quot;);
+    image.onload = resourceLoaded;
+    image.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=image&amp;size=500&quot;);
+    document.body.appendChild(image);
+
+    var image2 = document.createElement(&quot;img&quot;);
+    image2.onload = resourceLoaded;
+    image2.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=image&amp;size=500&amp;gzip=true&quot;);
+    document.body.appendChild(image2);
+}
+
+var loadedResourceCount = 0;
+function resourceLoaded()
+{
+    if (++loadedResourceCount === 2) {
+        console.log(&quot;Done.&quot;);
+    }
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step2);
+    InspectorTest.evaluateInPage(&quot;loadImages()&quot;);
+
+    function step2()
+    {
+        // inspector-test.js appears in network panel occasionally in Safari on
+        // Mac, so checking two last resources.
+        var requestsCount = WebInspector.panel(&quot;network&quot;).requests.length;
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 2];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resourceSize: &quot; + request1.resourceSize);
+        InspectorTest.addResult(&quot;transferSize: &quot; + (request1.transferSize - request1.responseHeadersSize));
+
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[requestsCount - 1];
+        InspectorTest.addResult(request2.url);
+        InspectorTest.addResult(&quot;resourceSize: &quot; + request2.resourceSize);
+        InspectorTest.addResult(&quot;transferSize: &quot; + (request2.transferSize - request2.responseHeadersSize));
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests network resource size reporting.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworktimingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworktimingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-timing-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-timing-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-timing-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-timing-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: line 22: Done.
+Tests network panel timing.
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=js&amp;wait=100&amp;send=200&amp;jsdelay=300&amp;jscontent=resourceLoaded()
+http://127.0.0.1:8000/inspector/network/resources/resource.php?type=js&amp;wait=100&amp;send=100&amp;jscontent=resourceLoaded()
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworktiminghtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworktiminghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-timing.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-timing.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-timing.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-timing.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadScripts()
+{
+    // Wait 100 ms, then serve for 200ms file containing 300ms loop.
+    var script = document.createElement(&quot;script&quot;);
+    script.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=js&amp;wait=100&amp;send=200&amp;jsdelay=300&amp;jscontent=resourceLoaded()&quot;);
+    document.head.appendChild(script);
+
+    // Wait 100 ms, then serve for 100ms and call console.log in content.
+    script = document.createElement(&quot;script&quot;);
+    script.setAttribute(&quot;src&quot;, &quot;resources/resource.php?type=js&amp;wait=100&amp;send=100&amp;jscontent=resourceLoaded()&quot;);
+    document.head.appendChild(script);
+}
+
+var loadedResourceCount = 0;
+function resourceLoaded()
+{
+    if (++loadedResourceCount === 2)
+        console.log(&quot;Done.&quot;);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step2);
+    InspectorTest.evaluateInPage(&quot;loadScripts()&quot;);
+
+    function step2()
+    {
+        // inspector-test.js appears in network panel occasionally in Safari on
+        // Mac, so checking two last requests.
+        var requests = WebInspector.networkLog.requests;
+        var requestsCount = requests.length;
+        var request1 = requests[requestsCount - 2];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.assertGreaterOrEqual(request1.latency * 1000, 100, &quot;Latency of the first resource&quot;);
+        InspectorTest.assertGreaterOrEqual(request1.duration * 1000, 300, &quot;Duration of the first resource&quot;);
+
+        var request2 = requests[requestsCount - 1];
+        InspectorTest.addResult(request2.url);
+        InspectorTest.assertGreaterOrEqual(request2.latency * 1000, 100, &quot;Latency of the second resource&quot;);
+        InspectorTest.assertGreaterOrEqual(request2.duration * 1000, 100, &quot;Duration of the second resource&quot;);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests network panel timing.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkworkerexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkworkerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-worker-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-worker-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-worker-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-worker-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+CONSOLE MESSAGE: line 14: Done.
+Tests that worker content is available in network panel.
+
+Bug 65929
+http://127.0.0.1:8000/inspector/network/resources/worker.js
+resource.type: script
+resource.content before requesting content: undefined
+resource.content after requesting content: postMessage(&quot;Done.&quot;);
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkworkerhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkworkerhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-worker.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-worker.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-worker.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-worker.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadData()
+{
+    var worker = new Worker(&quot;resources/worker.js&quot;);
+    worker.onmessage = workerLoaded;
+}
+
+function workerLoaded(event)
+{
+    console.log(event.data);
+}
+
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;loadData()&quot;);
+    }
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
+        request1.requestContent(step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that worker content is available in network panel.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65929&quot;&gt;Bug 65929&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrasyncdoubleexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncdoubleexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-double-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-double-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-double-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
+Tests responses in network tab for two XHRs sent without any delay between them. Bug 91630
+resource1.content: request1
+resource2.content: request2
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrasyncdoublehtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncdoublehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-double.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-double.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-double.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-double.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHRWithPayload(&quot;POST&quot;, &quot;resources/echo-payload.php&quot;, true, 'request1', step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.makeSimpleXHRWithPayload(&quot;POST&quot;, &quot;resources/echo-payload.php&quot;, true, 'request2', step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        request1.requestContent(step4);
+        request2.requestContent(step4);
+    }
+
+    var toLoad = 2;
+    function step4()
+    {
+        if (--toLoad)
+            return;
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 2];
+        var request2 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource1.content: &quot; + request1.content);
+        InspectorTest.addResult(&quot;resource2.content: &quot; + request2.content);
+        InspectorTest.assertTrue(request1.content === 'request1' &amp;&amp; request2.content === 'request2');
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+Tests responses in network tab for two XHRs sent without any delay between them.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=91630&quot;&gt;Bug 91630&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrasyncexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrasyncexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-async-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests XHR network resource type and content for asynchronous requests. Bug 61205
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php
+resource.type: xhr
+resource.content before requesting content: undefined
+resource.content after requesting content: Hello world
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrasynchtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrasynchtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-async.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-async.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,43 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, true, step2);
+    }
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
+        InspectorTest.assertTrue(!request1.failed, &quot;Resource loading failed.&quot;);
+        request1.requestContent(step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+ &lt;p&gt;
+ Tests XHR network resource type and content for asynchronous requests.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61205&quot;&gt;Bug 61205&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrreplayexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrreplayexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-replay-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-replay-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-replay-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,60 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+CONSOLE MESSAGE: line 6: XHR loaded: 2
+CONSOLE MESSAGE: line 6: XHR loaded: 3
+CONSOLE MESSAGE: line 6: XHR loaded: 4
+CONSOLE MESSAGE: line 6: XHR loaded: 5
+CONSOLE MESSAGE: line 6: XHR loaded: 6
+CONSOLE MESSAGE: line 6: XHR loaded: 7
+CONSOLE MESSAGE: line 6: XHR loaded: 8
+Tests XHR replaying. Bug 95187
+
+Running: testGetStaticAsync
+Dumping request: 
+    url: http://user:password@127.0.0.1:8000/inspector/network/resources/empty.html
+    requestMethod: GET
+    test request header value: headerValue
+
+Running: testGetStaticSync
+Dumping request: 
+    url: http://user:password@127.0.0.1:8000/inspector/network/resources/empty.html
+    requestMethod: GET
+    test request header value: headerValue
+
+Running: testGetCachedAsync
+Dumping request: 
+    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random-cached.php
+    requestMethod: GET
+    test request header value: headerValue
+
+Running: testGetCachedSync
+Dumping request: 
+    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random-cached.php
+    requestMethod: GET
+    test request header value: headerValue
+
+Running: testGetRandomAsync
+Dumping request: 
+    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random.php
+    requestMethod: GET
+    test request header value: headerValue
+
+Running: testGetRandomSync
+Dumping request: 
+    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random.php
+    requestMethod: GET
+    test request header value: headerValue
+
+Running: testPostAsync
+Dumping request: 
+    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random.php
+    requestFormData: payload
+    requestMethod: POST
+    test request header value: headerValue
+
+Running: testPostSync
+Dumping request: 
+    url: http://user:password@127.0.0.1:8000/inspector/network/resources/random.php
+    requestFormData: payload
+    requestMethod: POST
+    test request header value: headerValue
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrreplayhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrreplayhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-replay.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-replay.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-replay.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-replay.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,109 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var networkPanel = WebInspector.showPanel(&quot;network&quot;);
+
+    function lastRequest()
+    {
+        return networkPanel.requests[networkPanel.requests.length - 1];
+    }
+
+    function dumpRequest(request)
+    {
+        InspectorTest.addResult(&quot;Dumping request: &quot;);
+        InspectorTest.addResult(&quot;    url: &quot; + request.url);
+        if (request.requestFormData)
+            InspectorTest.addResult(&quot;    requestFormData: &quot; + request.requestFormData);
+        InspectorTest.addResult(&quot;    requestMethod: &quot; + request.requestMethod);
+        InspectorTest.addResult(&quot;    test request header value: &quot; + request.requestHeaderValue(&quot;headerName&quot;));
+    }
+
+    function assertRequestEqual(request1, request2)
+    {
+        InspectorTest.assertEquals(request1.url, request2.url, &quot;Requests have different url&quot;);
+        InspectorTest.assertEquals(request1.requestFormData, request2.requestFormData, &quot;Requests have different requestFormData&quot;);
+        InspectorTest.assertEquals(request1.requestMethod, request2.requestMethod, &quot;Requests have different requestMethod&quot;);
+        InspectorTest.assertEquals(request1.requestHeadersText, request2.requestHeadersText, &quot;Requests have different requestHeadersText&quot;);
+    }
+
+    function testXHRReplay(method, url, async, user, password, headers, withCredentials, payload, callback)
+    {
+        InspectorTest.resetInspectorResourcesData(step1);
+
+        function step1()
+        {
+            InspectorTest.makeXHR(method, url, async, user, password, headers, withCredentials, payload, step2);
+        }
+
+        var originalRequest;
+        function step2()
+        {
+            originalRequest = lastRequest();
+            dumpRequest(originalRequest);
+            NetworkAgent.replayXHR(originalRequest.requestId);
+            InspectorTest.addSniffer(WebInspector.NetworkLogView.prototype, &quot;_appendRequest&quot;, step3);
+        }
+
+        function step3()
+        {
+            var replayedRequest = lastRequest();
+            assertRequestEqual(originalRequest, replayedRequest);
+            callback();
+        }
+    }
+
+
+    InspectorTest.runTestSuite([
+        function testGetStaticAsync(next)
+        {
+            testXHRReplay(&quot;GET&quot;, &quot;resources/empty.html&quot;, true, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
+        },
+
+        function testGetStaticSync(next)
+        {
+            testXHRReplay(&quot;GET&quot;, &quot;resources/empty.html&quot;, false, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
+        },
+
+        function testGetCachedAsync(next)
+        {
+            testXHRReplay(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, true, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
+        },
+
+        function testGetCachedSync(next)
+        {
+            testXHRReplay(&quot;GET&quot;, &quot;resources/random-cached.php&quot;, false, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
+        },
+
+        function testGetRandomAsync(next)
+        {
+            testXHRReplay(&quot;GET&quot;, &quot;resources/random.php&quot;, true, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
+        },
+
+        function testGetRandomSync(next)
+        {
+            testXHRReplay(&quot;GET&quot;, &quot;resources/random.php&quot;, false, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, undefined, next);
+        },
+
+        function testPostAsync(next)
+        {
+            testXHRReplay(&quot;POST&quot;, &quot;resources/random.php&quot;, true, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, &quot;payload&quot;, next);
+        },
+
+        function testPostSync(next)
+        {
+            testXHRReplay(&quot;POST&quot;, &quot;resources/random.php&quot;, false, &quot;user&quot;, &quot;password&quot;, [[&quot;headerName&quot;, &quot;headerValue&quot;]], false, &quot;payload&quot;, next);
+        }
+    ]);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+Tests XHR replaying.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=95187&quot;&gt;Bug 95187&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrsameurlasmainresourceexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrsameurlasmainresourceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-same-url-as-main-resource-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-same-url-as-main-resource-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-same-url-as-main-resource-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests that XHRs with the same url as a main resource have correct category.
+
+Bug 68648
+xhr
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrsameurlasmainresourcehtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrsameurlasmainresourcehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-same-url-as-main-resource.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-same-url-as-main-resource.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-same-url-as-main-resource.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-same-url-as-main-resource.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;network-xhr-same-url-as-main-resource.html&quot;, true, step2);
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.type.name());
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that XHRs with the same url as a main resource have correct category.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=68648&quot;&gt;Bug 68648&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrsyncexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrsyncexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-sync-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-sync-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-sync-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests XHR network resource type and content for synchronous requests. Bug 61205
+
+http://127.0.0.1:8000/inspector/network/resources/resource.php
+resource.type: xhr
+resource.content before requesting content: undefined
+resource.content after requesting content: Hello world
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworknetworkxhrsynchtmlfromrev164517trunkLayoutTestshttptestsinspectornetworknetworkxhrsynchtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-sync.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/network-xhr-sync.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-sync.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/network-xhr-sync.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,43 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // Since this test could be run together with other inspector backend cache
+    // tests, we need to reset size limits to default ones.
+    InspectorTest.resetInspectorResourcesData(step1);
+
+    function step1()
+    {
+        InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, false, step2);
+    }
+
+    function step2()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(request1.url);
+        InspectorTest.addResult(&quot;resource.type: &quot; + request1.type);
+        InspectorTest.addResult(&quot;resource.content before requesting content: &quot; + request1.content);
+        InspectorTest.assertTrue(!request1.failed, &quot;Resource loading failed.&quot;);
+        request1.requestContent(step3);
+    }
+
+    function step3()
+    {
+        var request1 = WebInspector.panel(&quot;network&quot;).requests[WebInspector.panel(&quot;network&quot;).requests.length - 1];
+        InspectorTest.addResult(&quot;resource.content after requesting content: &quot; + request1.content);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+ &lt;p&gt;
+ Tests XHR network resource type and content for synchronous requests.
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61205&quot;&gt;Bug 61205&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkpingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkpingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/ping-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/ping-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/ping-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/ping-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+ping
+Tests that hyperlink auditing (ping) requests appear in network panel.
+
+http://127.0.0.1:8000/inspector/network/ping.html
+resource.isPingRequest(): true
+resource.requestContentType: text/ping
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkpinghtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkpinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/ping.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/ping.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/ping.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/ping.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,46 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function onload()
+{
+    if (window.testRunner)
+        testRunner.overridePreference(&quot;WebKitHyperlinkAuditingEnabled&quot;, 1);
+    runTest();
+}
+
+function navigateLink()
+{
+    var evt = document.createEvent(&quot;MouseEvents&quot;);
+    evt.initMouseEvent(&quot;click&quot;);
+    var link = document.getElementById(&quot;pingLink&quot;);
+    link.dispatchEvent(evt);
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;requestWillBeSent&quot;, step2);
+    InspectorTest.evaluateInPage(&quot;navigateLink()&quot;);
+
+    function step2()
+    {
+        // inspector-test.js appears in network panel occasionally in Safari on
+        // Mac, so checking last request.
+        var requests = WebInspector.networkLog.requests;
+        var requestsCount = requests.length;
+        var request = requests[requestsCount - 1];
+
+        InspectorTest.addResult(request.url);
+        InspectorTest.addResult(&quot;resource.isPingRequest(): &quot; + request.isPingRequest());
+        InspectorTest.addResult(&quot;resource.requestContentType: &quot; + request.requestContentType());
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;onload()&quot;&gt;
+&lt;a id=&quot;pingLink&quot; href=&quot;#&quot; ping=&quot;ping.html&quot;&gt;ping&lt;/a&gt;
+&lt;p&gt;Tests that hyperlink auditing (ping) requests appear in network panel.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkrequestnamepathexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkrequestnamepathexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/request-name-path-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/request-name-path-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/request-name-path-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/request-name-path-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+Tests name() and path() methods of NetworkRequest.
+
+Bug 101064
+Dumping request name and path for url: http://www.example.com/foo/bar/baz?key=value
+    name = baz?key=value
+    path = www.example.com/foo/bar
+Dumping request name and path for url: http://www.example.com/foo/bar/?key=value
+    name = ?key=value
+    path = www.example.com/foo/bar
+Dumping request name and path for url: http://www.example.com/foo/bar/baz
+    name = baz
+    path = www.example.com/foo/bar
+Dumping request name and path for url: http://www.example.com/foo/bar/
+    name = bar/
+    path = www.example.com/foo
+Dumping request name and path for url: http://www.example.com/baz?key=value
+    name = baz?key=value
+    path = www.example.com
+Dumping request name and path for url: http://www.example.com/?key=value
+    name = ?key=value
+    path = www.example.com
+Dumping request name and path for url: http://www.example.com/baz
+    name = baz
+    path = www.example.com
+Dumping request name and path for url: http://www.example.com/
+    name = www.example.com
+    path = 
+Dumping request name and path for url: http://127.0.0.1/foo/bar/baz?key=value
+    name = baz?key=value
+    path = /foo/bar
+Dumping request name and path for url: http://127.0.0.1/foo/bar/?key=value
+    name = ?key=value
+    path = /foo/bar
+Dumping request name and path for url: http://127.0.0.1/foo/bar/baz
+    name = baz
+    path = /foo/bar
+Dumping request name and path for url: http://127.0.0.1/foo/bar/
+    name = bar/
+    path = /foo
+Dumping request name and path for url: http://127.0.0.1/baz?key=value
+    name = baz?key=value
+    path = 
+Dumping request name and path for url: http://127.0.0.1/?key=value
+    name = ?key=value
+    path = 
+Dumping request name and path for url: http://127.0.0.1/baz
+    name = baz
+    path = 
+Dumping request name and path for url: http://127.0.0.1/
+    name = 127.0.0.1
+    path = 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkrequestnamepathhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkrequestnamepathhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/request-name-path.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/request-name-path.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/request-name-path.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/request-name-path.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    function createNetworkRequestForURLAndDumpNameAndPath(url)
+    {
+        InspectorTest.addResult(&quot;Dumping request name and path for url: &quot; + url);
+        var request = new WebInspector.NetworkRequest(0, url);
+        InspectorTest.addResult(&quot;    name = &quot; + request.name());
+        InspectorTest.addResult(&quot;    path = &quot; + request.path());
+    }
+
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/foo/bar/baz?key=value&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/foo/bar/?key=value&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/foo/bar/baz&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/foo/bar/&quot;);
+
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/baz?key=value&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/?key=value&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/baz&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://www.example.com/&quot;);
+
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/foo/bar/baz?key=value&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/foo/bar/?key=value&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/foo/bar/baz&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/foo/bar/&quot;);
+
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/baz?key=value&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/?key=value&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/baz&quot;);
+    createNetworkRequestForURLAndDumpNameAndPath(&quot;http://127.0.0.1/&quot;);
+
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests name() and path() methods of NetworkRequest.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=101064&quot;&gt;Bug 101064&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkrequestparametersdecodingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkrequestparametersdecodingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/request-parameters-decoding-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/request-parameters-decoding-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/request-parameters-decoding-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Tests how request headers are decoded in network item view.
+
+Bug 74422
+Original value: Test+%21%40%23%24%25%5E%26*%28%29_%2B+parameters.
+Decoded value: Test !@#$%^&amp;*()_+ parameters.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkrequestparametersdecodinghtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkrequestparametersdecodinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/request-parameters-decoding.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/request-parameters-decoding.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/request-parameters-decoding.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/request-parameters-decoding.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+        WebInspector.showPanel(&quot;network&quot;);
+    var value = &quot;Test+%21%40%23%24%25%5E%26*%28%29_%2B+parameters.&quot;;
+    var parameterElement = WebInspector.RequestHeadersView.prototype._formatParameter(value, &quot;&quot;, true);
+    InspectorTest.addResult(&quot;Original value: &quot; + value);
+    InspectorTest.addResult(&quot;Decoded value: &quot; + parameterElement.textContent);
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+ &lt;p&gt;Tests how request headers are decoded in network item view.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61205&quot;&gt;Bug 74422&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresources404phpfromrev164517trunkLayoutTestshttptestsinspectornetworkresources404php"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/404.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/404.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/404.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/404.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+&lt;?php
+    header(&quot;HTTP/1.0 404 Not Found&quot;);
+    echo(&quot;404 - resource was not found.&quot;);
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcescp1251xmlfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcescp1251xml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/cp1251.xml (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/cp1251.xml) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/cp1251.xml                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/cp1251.xml        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+&lt;?xml version='1.0' encoding='cp1251'?&gt;
+&lt;root&gt;
+  &lt;cp1251&gt;SU\xD1\xD1\xC5SS - These 'CCE' are cyrillic letters.&lt;/cp1251&gt;
+&lt;/root&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcescyrillichtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcescyrillichtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/cyrillic.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/cyrillic.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/cyrillic.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/cyrillic.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,2 @@
</span><ins>+The following line contains a word &quot;success&quot; written with cyrillic letters.
+SUССЕSS
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesdownloadzzzfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesdownloadzzz"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/download.zzz (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/download.zzz) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/download.zzz                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/download.zzz        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+Test resource for triggering downloads.
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesechopayloadphpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesechopayloadphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/echo-payload.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/echo-payload.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/echo-payload.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/echo-payload.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+&lt;?php
+        echo file_get_contents('php://input');
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesemptyhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesemptyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/empty.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/empty.html) ( => )</h4>
<pre class="diff"><span>
<span class="info">Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/initiator.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/initiator.css)
===================================================================
</span><del>--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/initiator.css                                (rev 0)
</del><ins>+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/initiator.css        2014-02-22 01:58:54 UTC (rev 164518)
</ins><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+.image-background {
+    background-image: url(&quot;resource.php?type=image&amp;random=1&amp;size=200&quot;);
+}
+
+.image-background-2 {
+    background-image: url(&quot;resource.php?type=image&amp;random=1&amp;size=300&quot;);
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesjsonphpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesjsonphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/json.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/json.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/json.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/json.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+&lt;?php
+    header(&quot;Content-Type: application/json&quot;);
+?&gt;
+{&quot;number&quot;: &quot;42&quot;}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesplugindataphpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesplugindataphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/plugin-data.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/plugin-data.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/plugin-data.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/plugin-data.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;?php
+    $mimetype = $_GET[&quot;mimetype&quot;];
+    $filename = $_GET[&quot;filename&quot;];
+    $charset = $_GET[&quot;charset&quot;];
+
+    header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
+    header(&quot;Cache-Control: no-store, no-cache, must-revalidate&quot;);
+    header(&quot;Pragma: no-cache&quot;);
+    if ($charset)
+        header(&quot;Content-Type: &quot; . $mimetype . &quot;; charset=&quot; . $charset);
+    else
+        header(&quot;Content-Type: &quot; . $mimetype);
+
+    readfile($filename);
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesrandomcachedphpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesrandomcachedphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/random-cached.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/random-cached.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/random-cached.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/random-cached.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+&lt;?php
+    if ($_SERVER[&quot;HTTP_IF_MODIFIED_SINCE&quot;]) {
+        header(&quot;HTTP/1.0 304 Not Modified&quot;);
+        exit;
+    }
+
+    $max_age = 12 * 31 * 24 * 60 * 60; //one year
+    $expires = gmdate(DATE_RFC1123, time() + $max_age);
+    $last_modified = gmdate(DATE_RFC1123, time() - $max_age);
+
+    header(&quot;Cache-Control: public, max-age=&quot; . 5*$max_age);
+    header(&quot;Cache-control: max-age=0&quot;);
+    header(&quot;Expires: &quot; . $expires);
+    header(&quot;Content-Type: text/html&quot;);
+    header(&quot;Last-Modified: &quot; . $last_modified);
+
+    echo(rand());
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesrandomscriptphpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesrandomscriptphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/random-script.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/random-script.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/random-script.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/random-script.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+&lt;?php
+    if ($_SERVER[&quot;HTTP_IF_MODIFIED_SINCE&quot;]) {
+        header(&quot;HTTP/1.0 304 Not Modified&quot;);
+        exit;
+    }
+
+    $max_age = 12 * 31 * 24 * 60 * 60; //one year
+    $expires = gmdate(DATE_RFC1123, time() + $max_age);
+    $last_modified = gmdate(DATE_RFC1123, time() - $max_age);
+
+    header(&quot;Cache-Control: public, max-age=&quot; . 5*$max_age);
+    header(&quot;Cache-control: max-age=0&quot;);
+    header(&quot;Expires: &quot; . $expires);
+    header(&quot;Content-Type: text/html&quot;);
+    header(&quot;Last-Modified: &quot; . $last_modified);
+
+    echo(&quot;console.log(\&quot;Done.\&quot;);&quot;);
+    echo(&quot;var randomValue = &quot; . rand() . &quot;;&quot;);
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesresourcephpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesresourcephp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/resource.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/resource.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/resource.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/resource.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,119 @@
</span><ins>+&lt;?php
+    $type = $_GET[&quot;type&quot;];
+    $wait = $_GET[&quot;wait&quot;];
+    $send = $_GET[&quot;send&quot;];
+    $size = $_GET[&quot;size&quot;];
+    $gzip = $_GET[&quot;gzip&quot;];
+    $jsdelay = $_GET[&quot;jsdelay&quot;];
+    $jscontent = $_GET[&quot;jscontent&quot;];
+    $chunked = $_GET[&quot;chunked&quot;];
+    $random = $_GET[&quot;random&quot;];
+    $cached = $_GET[&quot;cached&quot;];
+
+    # Wait before sending response
+    if ($wait)
+        usleep($wait * 1000);
+
+    # Exit early if we return 304 code.
+    if ($cached &amp;&amp; $_SERVER[&quot;HTTP_IF_MODIFIED_SINCE&quot;]) {
+        header(&quot;HTTP/1.0 304 Not Modified&quot;);
+        exit;
+    }
+
+    # Enable gzip compression if needed
+    if ($gzip)
+        ob_start(&quot;ob_gzhandler&quot;);
+
+    # Send headers
+    if ($cached) {
+        $max_age = 12 * 31 * 24 * 60 * 60; //one year
+        $expires = gmdate(DATE_RFC1123, time() + $max_age);
+        $last_modified = gmdate(DATE_RFC1123, time() - $max_age);
+
+        header(&quot;Cache-Control: public, max-age=&quot; . 5*$max_age);
+        header(&quot;Cache-control: max-age=0&quot;);
+        header(&quot;Expires: &quot; . $expires);
+        header(&quot;Last-Modified: &quot; . $last_modified);
+    } else {
+        header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
+        header(&quot;Cache-Control: no-store, no-cache, must-revalidate&quot;);
+        header(&quot;Pragma: no-cache&quot;);
+    }
+    if ($type == &quot;js&quot;)
+        header(&quot;Content-Type:text/javascript; charset=UTF-8&quot;);
+    else if ($type == &quot;image&quot;)
+        header(&quot;Content-Type: image/png&quot;);
+    else
+        header(&quot;Content-Type: text/plain&quot;);
+
+    # Flush headers and sleep bofore sending response
+    if ($send) {
+        flush();
+        usleep($send * 1000);
+    }
+
+    if ($type == &quot;js&quot;) {
+        # Send JavaScript file
+        $bytes_emitted = 0;
+        if ($jsdelay) {
+            # JavaScript file should block on load
+?&gt;
+function __foo(seconds) {
+    var now =  Date.now();
+    var counter = Number(0);
+    while(now + seconds  &gt; Date.now()) { counter = Number(counter + 1); }
+}
+__foo(&lt;?php echo($jsdelay)?&gt;);
+&lt;?php
+            $bytes_emitted += 175;
+        }
+
+        if (!$jscontent)
+            $jscontent = &quot;function foo() {}&quot;;
+
+        # JavaScript file should issue given command.
+        echo($jscontent);
+        $bytes_emitted += strlen($jscontent);
+
+        if ($size) {
+            for ($i = 0; $i &lt; $size - $bytes_emitted; ++$i)
+                echo(&quot;/&quot;);
+        }
+    } else if ($type == &quot;image&quot;) {
+        $base64data = &quot;iVBORw0KGgoAAAANSUhEUgAAACAAAAAYCAYAAACbU/80AAAAAXNSR0IArs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9kICQsw&quot; . 
+            &quot;ARCJCogAAABFSURBVEjH7ZLBCQAwCAONdP+V0xVqq0gx9w+Gi2ZCTAcXGWbe8G4Dq9DekS&quot; .
+            &quot;kPaGeFgfYJVODlCTnWADILoEg3vplACLEBN9UGG9+mxboAAAAASUVORK5CYII=&quot;;
+        $data = base64_decode($base64data);
+        $data_len = strlen($data);
+        print($data);
+        if ($size) {
+            if ($chunked) {
+                ob_flush();
+                flush();
+            }
+            for ($i = 0; $size &amp;&amp; $i &lt; $size - $data_len; ++$i)
+                echo(&quot;=&quot;);
+        } else if ($random)
+            echo(rand());
+    } else {
+        # Generate dummy text/html.
+        if ($size) {
+            for ($i = 0; $i &lt; $size; ++$i) {
+                if ($chunked &amp;&amp; (1 == $i)) {
+                    ob_flush();
+                    flush();
+                }
+                echo(&quot;*&quot;);
+            }
+        } else {
+            echo(&quot;Hello &quot;);
+            if ($chunked) {
+                ob_flush();
+                flush();
+            }
+            echo(&quot;world&quot;);
+            if ($random)
+                echo(&quot;: &quot; . rand());
+        }
+    }
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesscriptastextwithaveryveryveryveryveryveryveryveryveryveryveryveryveryverylongurlphpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesscriptastextwithaveryveryveryveryveryveryveryveryveryveryveryveryveryverylongurlphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+&lt;?php
+    header(&quot;Content-Type: text/plain&quot;);
+?&gt;
+
+function foo()
+{
+    var bar = 42;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesscriptastextphpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesscriptastextphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script-as-text.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/script-as-text.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script-as-text.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script-as-text.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+&lt;?php
+    header(&quot;Content-Type: text/plain&quot;);
+?&gt;
+
+function foo()
+{
+    var bar = 42;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesscriptjsfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesscriptjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/script.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+console.log(&quot;Done.&quot;);
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessetcookiephpfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcessetcookiephp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/set-cookie.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/set-cookie.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/set-cookie.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/set-cookie.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?php
+    header(&quot;Expires: Thu, 01 Dec 2003 16:00:00 GMT&quot;);
+    header(&quot;Cache-Control: no-store, no-cache, must-revalidate&quot;);
+    header(&quot;Pragma: no-cache&quot;);
+    header(&quot;Content-Type: text/plain&quot;);
+    setcookie(&quot;TestCookie&quot;, &quot;TestCookieValue&quot;);
+
+    echo(&quot;Cookie set.&quot;);
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessharedworkerjsfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcessharedworkerjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/shared-worker.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/shared-worker.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/shared-worker.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/shared-worker.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+onconnect = function(event)
+{
+    var port = event.ports[0];
+    port.postMessage(&quot;Done.&quot;);
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessilent_scriptjsfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcessilent_scriptjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/silent_script.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/silent_script.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/silent_script.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/silent_script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+function foo()
+{
+    return 2 + 2;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessourcemapteststylecssfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylecss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+#container {
+  background: papayawhip; }
+  #container #inspected {
+    color: green; }
+
+/*# sourceMappingURL=source-map-test-style.css.map */
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessourcemapteststylecssmapfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylecssmap"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.css.map (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.css.map) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.css.map                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.css.map        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+{
+&quot;version&quot;: &quot;3&quot;,
+&quot;mappings&quot;: &quot;AAAA,UAAW;EACP,UAAU,EAAE,UAAU;EAEtB,qBAAW;IACP,KAAK,EAAE,KAAK&quot;,
+&quot;sources&quot;: [&quot;style.scss&quot;],
+&quot;file&quot;: &quot;style.css&quot;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcessourcemapteststylescssfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcessourcemapteststylescss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.scss (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/source-map-test-style.scss) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.scss                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/source-map-test-style.scss        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+#container {
+    background: papayawhip;
+
+    #inspected {
+        color: green;
+    }
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesstylecssfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesstylecss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/style.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/style.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/style.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/style.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+body {
+    color: black;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesutf8xmlfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesutf8xml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/utf8.xml (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/utf8.xml) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/utf8.xml                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/utf8.xml        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+&lt;?xml version='1.0' encoding='utf-8'?&gt;
+&lt;root&gt;
+  &lt;utf8&gt;SUССЕSS - These 'CCE' are cyrillic letters.&lt;/utf8&gt;
+&lt;/root&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesworkerjsfromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesworkerjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/worker.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/worker.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/worker.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/worker.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+postMessage(&quot;Done.&quot;);
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkresourcesxframeoptionsdenycgifromrev164517trunkLayoutTestshttptestsinspectornetworkresourcesxframeoptionsdenycgi"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/x-frame-options-deny.cgi (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/resources/x-frame-options-deny.cgi) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/x-frame-options-deny.cgi                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/resources/x-frame-options-deny.cgi        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+#!/usr/bin/perl -wT
+use strict;
+
+print &quot;Content-Type: text/html\n&quot;;
+print &quot;Cache-Control: no-cache, no-store\n&quot;;
+print &quot;X-FRAME-OPTIONS: deny\n\n&quot;;
+
+print &quot;&lt;p&gt;FAIL: This should not show up.&lt;/p&gt;\n&quot;;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkscriptastextloadingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests console message when script is loaded with incorrect text/html mime type.
+
+Bug 69972
+Resource interpreted as Script but transferred with MIME type text/plain: &quot;http://127.0.0.1:8000/inspector/network/resources/script-as-text.php&quot;. [native code]:1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadinglongurlexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkscriptastextloadinglongurlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-long-url-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-long-url-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-long-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that long URLs are correctly trimmed in anchor links.
+
+Bug 100095
+Resource interpreted as Script but transferred with MIME type text/plain: &quot;http://127.0.0.1:8000/inspector/network/resources/script-as-text-with-a-ver…y-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php&quot;. [native code]:1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadinglongurlhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkscriptastextloadinglongurlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-long-url.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-long-url.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-long-url.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-long-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadScript()
+{
+    var i = document.createElement('script');
+    i.src = &quot;http://127.0.0.1:8000/inspector/network/resources/script-as-text-with-a-very-very-very-very-very-very-very-very-very-very-very-very-very-very-long-url.php&quot;;
+    document.body.appendChild(i);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step1);
+    InspectorTest.evaluateInPage(&quot;loadScript()&quot;);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that long URLs are correctly trimmed in anchor links.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=100095&quot;&gt;Bug 100095&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadingwithcaretexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkscriptastextloadingwithcaretexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-with-caret-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-with-caret-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-with-caret-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests console message when script is loaded with incorrect text/html mime type and the URL contains the '^' character.
+
+Bug 103248
+Resource interpreted as Script but transferred with MIME type text/plain: &quot;http://127.0.0.1:8000/inspector/network/resources/script-as-text.php?this-i…-with^carats^like^these^because^who^doesnt^love^strange^characters^in^urls&quot;. [native code]:1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadingwithcarethtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkscriptastextloadingwithcarethtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-with-caret.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading-with-caret.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-with-caret.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading-with-caret.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadScript()
+{
+    var s = document.createElement(&quot;script&quot;);
+    s.src = &quot;resources/script-as-text.php?this-is-a-weird=querystring-with^carats^like^these^because^who^doesnt^love^strange^characters^in^urls&quot;;
+    document.body.appendChild(s);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step1);
+    InspectorTest.evaluateInPage(&quot;loadScript()&quot;);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests console message when script is loaded with incorrect text/html mime
+type and the URL contains the '^' character.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=103248&quot;&gt;Bug 103248&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkscriptastextloadinghtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkscriptastextloadinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/script-as-text-loading.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/script-as-text-loading.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../console-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadScript()
+{
+    var s = document.createElement(&quot;script&quot;);
+    s.src = &quot;resources/script-as-text.php&quot;;
+    document.body.appendChild(s);
+}
+
+function test()
+{
+    InspectorTest.addConsoleSniffer(step1);
+    InspectorTest.evaluateInPage(&quot;loadScript()&quot;);
+
+    function step1()
+    {
+        InspectorTest.dumpConsoleMessages();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests console message when script is loaded with incorrect text/html mime type.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=69972&quot;&gt;Bug 69972&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkxframeoptionsdenyexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkxframeoptionsdenyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/x-frame-options-deny-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/x-frame-options-deny-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/x-frame-options-deny-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+CONSOLE MESSAGE: Refused to display 'http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny.cgi' in a frame because it set 'X-Frame-Options' to 'deny'.
+Tests that responseReceived is called on NetworkDispatcher for resource requests denied due to X-Frame-Options header.
+
+
+Received response for x-frame-options-deny.cgi
+SUCCESS
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkxframeoptionsdenyhtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkxframeoptionsdenyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network/x-frame-options-deny.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network/x-frame-options-deny.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network/x-frame-options-deny.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network/x-frame-options-deny.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadIFrameWithDownload()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.setAttribute(&quot;src&quot;, &quot;http://127.0.0.1:8000/security/XFrameOptions/resources/x-frame-options-deny.cgi&quot;);
+    document.body.appendChild(iframe);
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;responseReceived&quot;, responseReceived);
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFailed&quot;, loadingFailed);
+    InspectorTest.addSniffer(WebInspector.NetworkDispatcher.prototype, &quot;loadingFinished&quot;, loadingFinished);
+    InspectorTest.evaluateInPage(&quot;loadIFrameWithDownload()&quot;);
+
+    function responseReceived(requestId, time, resourceType, response)
+    {
+        var request = WebInspector.networkLog.requestForId(requestId);
+        if (/x-frame-options-deny\.cgi/.exec(request.url)) {
+            InspectorTest.addResult(&quot;Received response for x-frame-options-deny.cgi&quot;);
+            InspectorTest.addResult(&quot;SUCCESS&quot;);
+            InspectorTest.completeTest();
+        }
+    }
+
+    function loadingFinished(requestId, finishTime)
+    {
+        var request = WebInspector.networkLog.requestForId(requestId);
+        if (/x-frame-options-deny\.cgi/.exec(request.url))
+            InspectorTest.completeTest();
+    }
+
+    function loadingFailed(requestId, time, localizedDescription, canceled)
+    {
+        var request = WebInspector.networkLog.requestForId(requestId);
+        if (/x-frame-options-deny\.cgi/.exec(request.url))
+            InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that responseReceived is called on NetworkDispatcher for resource requests denied due to X-Frame-Options header.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkpreflightoptionsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectornetworkpreflightoptionsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network-preflight-options-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/network-preflight-options-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network-preflight-options-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network-preflight-options-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/cors-target.php?id=0&amp;deny=yes. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/cors-target.php?id=1&amp;deny=yes. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/cors-target.php?id=3&amp;deny=yes. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/inspector/resources/cors-target.php?id=4&amp;deny=yes. Origin http://127.0.0.1:8000 is not allowed by Access-Control-Allow-Origin.
+Tests that preflight OPTIONS requests appear in Network resources
+
+Bug 63712
+0 xhr:POST http://localhost:8000/inspector/resources/cors-target.php?id=0&amp;deny=yes
+1 xhr:OPTIONS http://localhost:8000/inspector/resources/cors-target.php?id=1&amp;deny=yes
+2 xhr:OPTIONS http://localhost:8000/inspector/resources/cors-target.php?id=2
+2 xhr:POST http://localhost:8000/inspector/resources/cors-target.php?id=2
+3 other:POST http://localhost:8000/inspector/resources/cors-target.php?id=3&amp;deny=yes
+4 xhr:OPTIONS http://localhost:8000/inspector/resources/cors-target.php?id=4&amp;deny=yes
+5 xhr:OPTIONS http://localhost:8000/inspector/resources/cors-target.php?id=5
+5 xhr:POST http://localhost:8000/inspector/resources/cors-target.php?id=5
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworkpreflightoptionshtmlfromrev164517trunkLayoutTestshttptestsinspectornetworkpreflightoptionshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network-preflight-options.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/network-preflight-options.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network-preflight-options.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network-preflight-options.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,89 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script type=&quot;text/javascript&quot;&gt;
+function sendXHR(url, forcePreflight, async, callback)
+{
+    var xhr = new XMLHttpRequest();
+
+    xhr.onreadystatechange = function()
+    {
+        if (xhr.readyState === XMLHttpRequest.DONE) {
+            if (typeof(callback) === &quot;function&quot;)
+                callback();
+        }
+    };
+
+    xhr.open(&quot;POST&quot;, url, async);
+    xhr.setRequestHeader(&quot;Content-Type&quot;, forcePreflight ? &quot;application/xml&quot; : &quot;text/plain&quot;);
+    try {
+        xhr.send(&quot;&lt;xml&gt;&lt;/xml&gt;&quot;);  // Denied requests will cause exceptions.
+    } catch (e) {
+    }
+}
+
+var baseTargetURL = &quot;http://localhost:8000/inspector/resources/cors-target.php&quot;;
+
+function targetURL(id, deny, addTimestamp)
+{
+    var result = baseTargetURL + &quot;?id=&quot; + id;
+    if (deny)
+        result += &quot;&amp;deny=yes&quot;;
+    if (addTimestamp)
+        result += &quot;&amp;date=&quot; + Date.now();
+    return result;
+}
+
+function doCrossOriginXHR()
+{
+    // Failed POSTs with no preflight check should result in a POST request being logged
+    sendXHR(targetURL(0, true, false), false, false);
+    // Failed POSTs with preflight check should result in an OPTIONS request being logged
+    sendXHR(targetURL(1, true, false), true, false);
+    // Successful POSTs with preflight check should result in an OPTIONS request followed by POST request being logged
+    // Generate request name based on timestamp to defeat OPTIONS request caching (this is only relevant for repeated invocations of the test in signle instance of DRT)
+    sendXHR(targetURL(2, false, true), true, false);
+
+    // And now send the same requests asynchronously
+    // Add redundant async parameter to ensure this request differs from the one above.
+    sendXHR(targetURL(3, true, false), false, true, step2);
+}
+
+function step2()
+{
+    sendXHR(targetURL(4, true, false), true, true, step3);
+}
+
+function step3()
+{
+    sendXHR(targetURL(5, false, true), true, true);
+}
+
+var test = function()
+{
+    var requestMessages = [];
+    var postRequestsCount = 0;
+    function onRequest(event)
+    {
+        var request = event.data;
+        var idMatch = /\?id=([0-9]*)&amp;/.exec(request.url);
+        var requestId = idMatch[1];
+        var requestMessage = requestId + &quot; &quot; + request.type + &quot;:&quot; + request.requestMethod + &quot; &quot; + request.url.replace(/[&amp;?]date=\d+/, &quot;&quot;);
+        requestMessages.push(requestMessage);
+        if (request.requestMethod === &quot;POST&quot; &amp;&amp; ++postRequestsCount === 4) {
+            requestMessages.sort();
+            for (var i = 0; i &lt; requestMessages.length; i++)
+                InspectorTest.addResult(requestMessages[i]);
+            InspectorTest.completeTest();
+        }
+    }
+    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequest);
+    InspectorTest.evaluateInPage(&quot;doCrossOriginXHR();&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that preflight OPTIONS requests appear in Network resources&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=63712&quot;&gt;Bug 63712&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsnetworktestjsfromrev164517trunkLayoutTestshttptestsinspectornetworktestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/network-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/network-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/network-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/network-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,113 @@
</span><ins>+// This goes before everything else to keep console message line number invariant.
+var lastXHRIndex = 0;
+function xhrLoadedCallback()
+{
+    // We need to make sure the console message text is unique so that we don't end up with repeat count update only.
+    console.log(&quot;XHR loaded: &quot; + (++lastXHRIndex));
+}
+
+var initialize_NetworkTest = function() {
+
+InspectorTest.dumpNetworkRequests = function()
+{
+    var requests = WebInspector.panel(&quot;network&quot;).requests.slice();
+    requests.sort(function(a, b) {return a.url.localeCompare(b.url);});
+    InspectorTest.addResult(&quot;resources count = &quot; + requests.length);
+    for (i = 0; i &lt; requests.length; i++)
+        InspectorTest.addResult(requests[i].url);
+}
+
+InspectorTest.resetInspectorResourcesData = function(callback)
+{
+    InspectorTest.evaluateInPage(&quot;resetInspectorResourcesData()&quot;, nextStep);
+
+    function nextStep(result)
+    {
+        if (!result) {
+            InspectorTest.addResult(&quot;This test can not be run as window.internals is not available.&quot;);
+            Inspector.completeTest();
+        } else
+            callback();
+    }
+}
+
+InspectorTest.makeSimpleXHR = function(method, url, async, callback)
+{
+    InspectorTest.makeXHR(method, url, async, undefined, undefined, [], false, undefined, callback);
+}
+
+InspectorTest.makeSimpleXHRWithPayload = function(method, url, async, payload, callback)
+{
+    InspectorTest.makeXHR(method, url, async, undefined, undefined, [], false, payload, callback);
+}
+
+InspectorTest.makeXHR = function(method, url, async, user, password, headers, withCredentials, payload, callback)
+{
+    var args = {};
+    args.method = method;
+    args.url = url;
+    args.async = async;
+    args.user = user;
+    args.password = password;
+    args.headers = headers;
+    args.withCredentials = withCredentials;
+    args.payload = payload;
+    var jsonArgs = JSON.stringify(args).replace(/\&quot;/g, &quot;\\\&quot;&quot;);
+
+    function innerCallback(msg)
+    {
+        if (msg._messageText.indexOf(&quot;XHR loaded&quot;) !== -1)
+            callback();
+        else
+            InspectorTest.addConsoleSniffer(innerCallback);
+    }
+
+    InspectorTest.addConsoleSniffer(innerCallback);
+    InspectorTest.evaluateInPage(&quot;makeXHRForJSONArguments(\&quot;&quot; + jsonArgs + &quot;\&quot;)&quot;);
+}
+
+};
+
+function makeSimpleXHR(method, url, async, callback)
+{
+    makeSimpleXHRWithPayload(method, url, async, null, callback);
+}
+
+function makeSimpleXHRWithPayload(method, url, async, payload, callback)
+{
+    makeXHR(method, url, async, undefined, undefined, [], false, payload, callback)
+}
+
+function makeXHR(method, url, async, user, password, headers, withCredentials, payload, callback)
+{
+    var xhr = new XMLHttpRequest();
+    xhr.onreadystatechange = function()
+    {
+        if (xhr.readyState === XMLHttpRequest.DONE) {
+            if (typeof(callback) === &quot;function&quot;)
+                callback();
+        }
+    }
+    xhr.open(method, url, async, user, password);
+    xhr.withCredentials = withCredentials;
+    for (var  i = 0; i &lt; headers.length; ++i)
+        xhr.setRequestHeader(headers[i][0], headers[i][1]);
+    xhr.send(payload);
+}
+
+function makeXHRForJSONArguments(jsonArgs)
+{
+    var args = JSON.parse(jsonArgs);
+    makeXHR(args.method, args.url, args.async, args.user, args.password, args.headers, args.withCredentials, args.payload, xhrLoadedCallback);
+}
+
+
+function resetInspectorResourcesData()
+{
+    if (!window.internals)
+        return false;
+
+    internals.setInspectorResourcesDataSizeLimits(10 * 1000 * 1000, 1000 * 1000);
+    return true;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsprotocoltestjsfromrev164517trunkLayoutTestshttptestsinspectorprotocoltestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/protocol-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/protocol-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/protocol-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/protocol-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,129 @@
</span><ins>+var initialize_ProtocolTest = function() {
+
+InspectorTest.filterProps = function(object, nondeterministicProps)
+{
+    if (object instanceof Object)
+        for (var prop in object)
+            if (prop in nondeterministicProps)
+                object[prop] = &quot;&lt;&quot; + typeof object[prop] + &quot;&gt;&quot;;
+            else
+                object[prop] = this.filterProps(object[prop], nondeterministicProps);
+    else if (object instanceof Array)
+        for (var i = 0; i &lt; object.length; ++i)
+            object[i] = this.filterProps(object[i], nondeterministicProps);
+    else if (typeof object === &quot;number&quot;)
+        object = &quot;&lt;number&gt;&quot;;
+    else if (typeof object === &quot;string&quot; &amp;&amp; object.indexOf(&quot;\&quot;id\&quot;&quot;) != -1)
+        object = &quot;&lt;string&gt;&quot;;
+    return object;
+};
+
+InspectorTest._dumpEvent = function()
+{
+    var args = Array.prototype.slice.call(arguments);
+    var eventName = args.shift();
+    InspectorTest._agentCoverage[eventName] = &quot;checked&quot;;
+    InspectorTest.addResult(&quot;event &quot; + InspectorTest._agentName + &quot;.&quot; + eventName);
+    InspectorTest.addObject(InspectorTest._lastReceivedMessage, InspectorTest._customFormatters);
+    InspectorTest.addResult(&quot;&quot;);
+
+    var originalEventHandler = args.shift();
+    originalEventHandler.apply(this, args);
+};
+
+
+InspectorTest._dumpCallArguments = function(callArguments)
+{
+    var callArgumentsCopy = JSON.parse(JSON.stringify(callArguments));
+    var agentName = callArgumentsCopy.shift();
+    var functionName = callArgumentsCopy.shift();
+    this.filterProps(callArgumentsCopy, this._customFormatters);
+    var expression = JSON.stringify(callArgumentsCopy);
+    expression = expression.slice(1, expression.length - 1).replace(/\&quot;&lt;number&gt;\&quot;/g, &quot;&lt;number&gt;&quot;).replace(/\&quot;&lt;string&gt;\&quot;/g, &quot;&lt;string&gt;&quot;);
+
+    InspectorTest.addResult(&quot;-----------------------------------------------------------&quot;);
+    InspectorTest.addResult(agentName + &quot;.&quot; + functionName + &quot;(&quot; + expression + &quot;)&quot;);
+    InspectorTest.addResult(&quot;&quot;);
+};
+
+InspectorTest._callback = function(result)
+{
+    InspectorTest.addResult(&quot;response:&quot;);
+    InspectorTest.addObject(InspectorTest._lastReceivedMessage, InspectorTest._customFormatters);
+    InspectorTest.addResult(&quot;&quot;);
+    InspectorTest._runNextTest();
+};
+
+InspectorTest._runNextTest = function()
+{
+    var step = ++this._step;
+    var nextTest = this._testSuite[step];
+    if (nextTest) {
+        InspectorTest._dumpCallArguments(nextTest);
+
+        nextTest.push(this._callback.bind(this));
+
+        var agentName = nextTest.shift();
+        var functionName = nextTest.shift();
+        window[agentName][functionName].apply(window[agentName], nextTest);
+
+        var lastSentMessage = InspectorTest._lastSentMessage; // This is because the next call will override _lastSentMessage.
+        InspectorTest.addResult(&quot;request:&quot;);
+        InspectorTest.addObject(lastSentMessage, InspectorTest._customFormatters);
+        InspectorTest.addResult(&quot;&quot;);
+
+        if (agentName === this._agentName)
+            this._agentCoverage[functionName] = &quot;checked&quot;;
+    }
+    else {
+        InspectorTest.addResult(&quot;===========================================================&quot;);
+        InspectorTest.addResult(&quot;Coverage for &quot; + this._agentName);
+        InspectorTest.addObject(this._agentCoverage);
+        InspectorBackend.dispatch = this._originalDispatch;
+        InspectorFrontendHost.sendMessageToBackend = this._originalSendMessageToBackend;
+        this.completeTest();
+    }
+};
+
+InspectorTest.runProtocolTestSuite = function(agentName, testSuite, nondeterministicProps)
+{
+    this._agentName = agentName;
+    this._testSuite = testSuite;
+    this._customFormatters = {};
+    for (var i = 0; i &lt; nondeterministicProps.length; ++i)
+        this._customFormatters[nondeterministicProps[i]] = &quot;formatAsTypeName&quot;;
+    var agent = window[agentName];
+
+    this._agentCoverage = {};
+    for (var key in agent)
+        this._agentCoverage[key] = &quot;not checked&quot;;
+
+    var domain = agentName.replace(/Agent$/,&quot;&quot;);
+    var domainMessagesHandler = InspectorBackend._domainDispatchers[domain];
+    for (var eventName in domainMessagesHandler) {
+        if (typeof domainMessagesHandler[eventName] !== &quot;function&quot;)
+            continue;
+        this._agentCoverage[eventName] = &quot;not checked&quot;;
+        domainMessagesHandler[eventName] = InspectorTest._dumpEvent.bind(domainMessagesHandler, eventName, domainMessagesHandler[eventName]);
+    }
+
+    this._originalDispatch = InspectorBackend.dispatch;
+    InspectorBackend.dispatch = function(message)
+    {
+        InspectorTest._lastReceivedMessage = (typeof message === &quot;string&quot;) ? JSON.parse(message) : message;
+        InspectorTest._originalDispatch.apply(InspectorBackend, [message]);
+    }
+
+    this._originalSendMessageToBackend = InspectorFrontendHost.sendMessageToBackend;
+    InspectorFrontendHost.sendMessageToBackend = function(message)
+    {
+        InspectorTest._lastSentMessage = JSON.parse(message);
+        InspectorTest._originalSendMessageToBackend.apply(InspectorFrontendHost, [message]);
+    }
+
+    this._step = -1;
+
+    this._runNextTest();
+};
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourceharconversionexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourceharconversionexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-conversion-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-har-conversion-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-conversion-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-conversion-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,226 @@
</span><ins>+Tests conversion of Inspector's resource representation into HAR format.
+
+Page reloaded.
+{
+    version : &lt;string&gt;
+    creator : {
+        name : &quot;WebInspector&quot;
+        version : &lt;string&gt;
+    }
+    pages : [
+        {
+            startedDateTime : &lt;object&gt;
+            id : &lt;string&gt;
+            title : &quot;http://127.0.0.1:8000/inspector/resource-har-conversion.html&quot;
+            pageTimings : {
+                onContentLoad : &lt;number&gt;
+                onLoad : &lt;number&gt;
+            }
+        }
+    ]
+    entries : [
+        {
+            pageref : &quot;page_1&quot;
+            startedDateTime : &lt;object&gt;
+            time : &lt;number&gt;
+            request : {
+                method : &quot;GET&quot;
+                url : &quot;http://127.0.0.1:8000/inspector/inspector-test.js&quot;
+                httpVersion : &quot;HTTP/1.1&quot;
+                headers : &lt;object&gt;
+                queryString : [
+                ]
+                cookies : [
+                    {
+                        name : &quot;a&quot;
+                        value : &quot;b&quot;
+                        path : &quot;/path&quot;
+                        domain : &quot;example.com&quot;
+                        expires : null
+                        httpOnly : false
+                        secure : false
+                    }
+                    {
+                        name : &quot;a1&quot;
+                        value : &quot;b1&quot;
+                        path : undefined
+                        domain : undefined
+                        expires : null
+                        httpOnly : false
+                        secure : false
+                    }
+                    {
+                        name : &quot;c1&quot;
+                        value : &quot;d1&quot;
+                        path : undefined
+                        domain : undefined
+                        expires : null
+                        httpOnly : false
+                        secure : false
+                    }
+                ]
+                headersSize : &lt;number&gt;
+                bodySize : &lt;number&gt;
+            }
+            response : {
+                status : 304
+                statusText : &quot;Not Modified&quot;
+                httpVersion : &quot;HTTP/1.1&quot;
+                headers : &lt;object&gt;
+                cookies : [
+                    {
+                        name : &quot;x&quot;
+                        value : &quot;y&quot;
+                        path : &quot;/path&quot;
+                        domain : &quot;example.com&quot;
+                        expires : null
+                        httpOnly : true
+                        secure : true
+                    }
+                    {
+                        name : &quot;x1&quot;
+                        value : &quot;y1&quot;
+                        path : undefined
+                        domain : undefined
+                        expires : null
+                        httpOnly : false
+                        secure : false
+                    }
+                    {
+                        name : &quot;z2&quot;
+                        value : &quot;y2&quot;
+                        path : undefined
+                        domain : undefined
+                        expires : null
+                        httpOnly : false
+                        secure : false
+                    }
+                ]
+                content : {
+                    size : &lt;number&gt;
+                    compression : &lt;number&gt;
+                    mimeType : &quot;text/plain&quot;
+                }
+                redirectURL : &quot;&quot;
+                headersSize : &lt;number&gt;
+                bodySize : &lt;number&gt;
+            }
+            cache : {
+            }
+            timings : &lt;object&gt;
+        }
+        {
+            pageref : &quot;page_1&quot;
+            startedDateTime : &lt;object&gt;
+            time : &lt;number&gt;
+            request : {
+                method : &quot;GET&quot;
+                url : &quot;http://127.0.0.1:8000/inspector/resource-har-conversion.html&quot;
+                httpVersion : &quot;HTTP/1.1&quot;
+                headers : &lt;object&gt;
+                queryString : [
+                ]
+                cookies : [
+                ]
+                headersSize : &lt;number&gt;
+                bodySize : &lt;number&gt;
+            }
+            response : {
+                status : 200
+                statusText : &quot;OK&quot;
+                httpVersion : &quot;HTTP/1.1&quot;
+                headers : &lt;object&gt;
+                cookies : [
+                ]
+                content : {
+                    size : &lt;number&gt;
+                    compression : &lt;number&gt;
+                    mimeType : &quot;text/html&quot;
+                }
+                redirectURL : &quot;&quot;
+                headersSize : &lt;number&gt;
+                bodySize : &lt;number&gt;
+            }
+            cache : {
+            }
+            timings : &lt;object&gt;
+        }
+        {
+            pageref : &quot;page_1&quot;
+            startedDateTime : &lt;object&gt;
+            time : &lt;number&gt;
+            request : {
+                method : &quot;GET&quot;
+                url : &quot;http://127.0.0.1:8000/inspector/resources-test.js&quot;
+                httpVersion : &quot;HTTP/1.1&quot;
+                headers : &lt;object&gt;
+                queryString : [
+                ]
+                cookies : [
+                ]
+                headersSize : &lt;number&gt;
+                bodySize : &lt;number&gt;
+            }
+            response : {
+                status : 304
+                statusText : &quot;Not Modified&quot;
+                httpVersion : &quot;HTTP/1.1&quot;
+                headers : &lt;object&gt;
+                cookies : [
+                ]
+                content : {
+                    size : &lt;number&gt;
+                    compression : &lt;number&gt;
+                    mimeType : &quot;text/plain&quot;
+                }
+                redirectURL : &quot;&quot;
+                headersSize : &lt;number&gt;
+                bodySize : &lt;number&gt;
+            }
+            cache : {
+            }
+            timings : &lt;object&gt;
+        }
+        {
+            pageref : &quot;page_1&quot;
+            startedDateTime : &lt;object&gt;
+            time : &lt;number&gt;
+            request : {
+                method : &quot;POST&quot;
+                url : &quot;http://127.0.0.1:8000/inspector/resources/post-target.cgi&quot;
+                httpVersion : &quot;HTTP/1.1&quot;
+                headers : &lt;object&gt;
+                queryString : [
+                ]
+                cookies : [
+                ]
+                headersSize : &lt;number&gt;
+                bodySize : &lt;number&gt;
+                postData : {
+                    mimeType : &quot;text/xml&quot;
+                    text : &quot;&lt;xml&gt;&lt;/xml&gt;&quot;
+                }
+            }
+            response : {
+                status : 200
+                statusText : &quot;OK&quot;
+                httpVersion : &quot;HTTP/1.1&quot;
+                headers : &lt;object&gt;
+                cookies : [
+                ]
+                content : {
+                    size : &lt;number&gt;
+                    compression : &lt;number&gt;
+                    mimeType : &quot;application/xml&quot;
+                }
+                redirectURL : &quot;&quot;
+                headersSize : &lt;number&gt;
+                bodySize : &lt;number&gt;
+            }
+            cache : {
+            }
+            timings : &lt;object&gt;
+        }
+    ]
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourceharconversionhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourceharconversionhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-conversion.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-har-conversion.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-conversion.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-conversion.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,72 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function doXHR()
+{
+    var xhr = new XMLHttpRequest();
+    xhr.open(&quot;POST&quot;, &quot;resources/post-target.cgi&quot;, false);
+    xhr.setRequestHeader(&quot;Content-Type&quot;, &quot;text/xml&quot;);
+    xhr.send(&quot;&lt;xml&gt;&lt;/xml&gt;&quot;);
+}
+
+var test = function()
+{
+    InspectorTest.reloadPage(step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInPage(&quot;doXHR()&quot;, step2);
+    }
+
+    function step2()
+    {
+        function findRequestByURL(url)
+        {
+            var requests = WebInspector.networkLog.requests;
+            for (var i = 0; i &lt; requests.length; ++i) {
+                if (url.test(requests[i].url))
+                    return requests[i];
+            }
+        }
+
+        function addCookieHeadersToRequest(request)
+        {
+            request.requestHeaders = [
+                { name: &quot;Cookie&quot;, value: &quot;a=b; $Path=/path; $Domain=example.com; a1=b1\nc1=d1&quot; }
+            ];
+
+            request.responseHeaders = [
+                { name: &quot;Set-Cookie&quot;, value: &quot;x=y; Path=/path; Domain=example.com; Discard; httpOnly; Secure; Version=1\nx1=y1\nz2=y2&quot; }
+            ];
+        }
+
+        addCookieHeadersToRequest(findRequestByURL(/inspector-test\.js$/));
+        var log = (new WebInspector.HARLog(WebInspector.networkLog.requests)).build();
+        // Filter out favicon.ico requests that only appear on certain platforms.
+        log.entries = log.entries.filter(function(entry) {
+            return !/favicon\.ico$/.test(entry.request.url);
+        });
+        log.entries.sort(InspectorTest.requestURLComparer);
+        InspectorTest.addObject(log, InspectorTest.HARPropertyFormattersWithSize);
+        var pageTimings = log.pages[0].pageTimings;
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests conversion of Inspector's resource representation into HAR format.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourceharheadersexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourceharheadersexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-headers-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-har-headers-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-headers-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-headers-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,72 @@
</span><ins>+Tests the nondeterministic bits of HAR conversion via the magic of hard-coded values.
+
+Resource:{
+    request : {
+        headers : [
+            {
+                name : &quot;Request&quot;
+                value : &quot;request-value&quot;
+            }
+        ]
+        headersSize : 72
+        headersText : &quot;GET http://example.com/inspector-test.js HTTP/1.1\r\nRequest: headers-text&quot;
+    }
+    response : {
+        headers : [
+            {
+                name : &quot;Response&quot;
+                value : &quot;response-value&quot;
+            }
+        ]
+        headersSize : 39
+        headersText : &quot;HTTP/1.1 200 OK\r\nResponse: headers-text&quot;
+        resourceSize : 1000
+        transferSize : 539
+    }
+}
+HAR:{
+    cache : {
+    }
+    request : {
+        bodySize : 0
+        cookies : [
+        ]
+        headers : [
+            {
+                name : &quot;Request&quot;
+                value : &quot;request-value&quot;
+            }
+        ]
+        headersSize : 72
+        httpVersion : &quot;HTTP/1.1&quot;
+        method : &quot;GET&quot;
+        queryString : [
+        ]
+        url : &quot;http://example.com/inspector-test.js&quot;
+    }
+    response : {
+        bodySize : 500
+        content : {
+            compression : 500
+            mimeType : &quot;text/html&quot;
+            size : 1000
+        }
+        cookies : [
+        ]
+        headers : [
+            {
+                name : &quot;Response&quot;
+                value : &quot;response-value&quot;
+            }
+        ]
+        headersSize : 39
+        httpVersion : &quot;HTTP/1.1&quot;
+        redirectURL : &quot;&quot;
+        status : 200
+        statusText : &quot;OK&quot;
+    }
+    startedDateTime : &lt;object&gt;
+    time : &lt;number&gt;
+    timings : &lt;object&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourceharheadershtmlfromrev164517trunkLayoutTestshttptestsinspectorresourceharheadershtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-headers.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-har-headers.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-headers.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-headers.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,73 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+var test = function()
+{
+    function visibleNewlines(s)
+    {
+        return s.replace(/\r/, &quot;\\r&quot;).replace(/\n/, &quot;\\n&quot;);
+    }
+
+    function setRequestValues(request)
+    {
+        request.requestHeaders = [
+            { name: &quot;Request&quot;, value: &quot;request-value&quot; }
+        ];
+        request.requestHeadersText = &quot;GET http://example.com/inspector-test.js HTTP/1.1\r\nRequest: headers-text&quot;;
+
+        request.responseHeaders = [
+            { name: &quot;Response&quot;, value: &quot;response-value&quot; }
+        ];
+        request.responseHeadersText = &quot;HTTP/1.1 200 OK\r\nResponse: headers-text&quot;;
+
+        request.documentURL = &quot;http://example.com/inspector-test.js&quot;;
+        request.requestMethod = &quot;GET&quot;;
+        request.mimeType = &quot;text/html&quot;;
+        request.statusCode = 200;
+        request.statusText = &quot;OK&quot;;
+        request.resourceSize = 1000;
+        request._transferSize = 539; // 39 = header size at the end of the day
+    }
+
+    var testRequest = new WebInspector.NetworkRequest(&quot;testRequest&quot;, &quot;http://example.com/inspector-test.js&quot;, 1); 
+    setRequestValues(testRequest);
+    var requestResults = {
+        &quot;request&quot;: {
+            &quot;headers&quot;: testRequest.requestHeaders,
+            &quot;headersText&quot;: visibleNewlines(testRequest.requestHeadersText),
+            &quot;headersSize&quot;: testRequest.requestHeadersSize,
+        },
+        &quot;response&quot;: {
+            &quot;headers&quot;: testRequest.responseHeaders,
+            &quot;headersText&quot;: visibleNewlines(testRequest.responseHeadersText),
+            &quot;headersSize&quot;: testRequest.responseHeadersSize,
+            &quot;resourceSize&quot;: testRequest.resourceSize,
+            &quot;transferSize&quot;: testRequest.transferSize
+        }
+    };
+    InspectorTest.addObject(requestResults, {}, &quot;&quot;, &quot;Resource:&quot;);
+
+    var stillNondeterministic = {
+        &quot;startedDateTime&quot;: &quot;formatAsTypeName&quot;,
+        &quot;time&quot;: &quot;formatAsTypeName&quot;,
+        &quot;timings&quot;: &quot;formatAsTypeName&quot;
+    };
+    InspectorTest.addObject(new WebInspector.HAREntry(testRequest).build(), stillNondeterministic, &quot;&quot;, &quot;HAR:&quot;);
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the nondeterministic bits of HAR conversion via the magic of hard-coded values.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourceharpagesexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourceharpagesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-pages-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-har-pages-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-pages-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-pages-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+Tests conversion of Inspector's resource representation into HAR format.
+
+{
+    0 : {
+        id : &lt;string&gt;
+        pageTimings : {
+            onContentLoad : &lt;number&gt;
+            onLoad : &lt;number&gt;
+        }
+        startedDateTime : &lt;plausible&gt;
+        title : &quot;http://127.0.0.1:8000/resources/redirect.php?url=/inspector/resources/har-pages-navigation-target.html&quot;
+    }
+    1 : {
+        id : &lt;string&gt;
+        pageTimings : {
+            onContentLoad : &lt;number&gt;
+            onLoad : &lt;number&gt;
+        }
+        startedDateTime : &lt;plausible&gt;
+        title : &quot;http://127.0.0.1:8000/inspector/resource-har-pages.html&quot;
+    }
+}
+page: page_2 url: http://127.0.0.1:8000/inspector/inspector-test.js
+page: page_2 url: http://127.0.0.1:8000/inspector/resource-har-pages.html
+page: page_2 url: http://127.0.0.1:8000/inspector/resources-test.js
+page: page_1 url: http://127.0.0.1:8000/inspector/resources/har-pages-iframe.html
+page: page_1 url: http://127.0.0.1:8000/inspector/resources/har-pages-navigation-target.html
+page: page_1 url: http://127.0.0.1:8000/inspector/resources/source1.js
+page: page_1 url: http://127.0.0.1:8000/resources/redirect.php?url=/inspector/resources/har-pages-navigation-target.html
+Page reloaded.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourceharpageshtmlfromrev164517trunkLayoutTestshttptestsinspectorresourceharpageshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-pages.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-har-pages.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-pages.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-har-pages.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+&lt;!doctype html&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+var test = function()
+{
+    function step1()
+    {
+        var hadNavigation = false;
+
+        function onRequestFinished(event)
+        {
+            var request = event.data;
+            if (/\/har-pages-navigation-target\.html$/.test(request.url))
+                hadNavigation = true;
+            if (hadNavigation &amp;&amp; /\/resource-har-pages\.html$/.test(request.url)) {
+                WebInspector.networkManager.removeEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequestFinished)
+                step2();
+            }
+        }
+        WebInspector.showPanel(&quot;network&quot;);
+        var networkLogView = WebInspector.panel(&quot;network&quot;)._networkLogView;
+        // networkLogView.clear();
+        networkLogView._preserveLogToggle.toggled = true;
+        WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequestFinished);
+        InspectorTest.evaluateInPage(&quot;location.href = '/resources/redirect.php?url=/inspector/resources/har-pages-navigation-target.html';&quot;);
+    }
+
+    function step2()
+    {
+        var log = (new WebInspector.HARLog(WebInspector.panel(&quot;network&quot;)._networkLogView._requests)).build();
+        InspectorTest.addObject(log.pages, InspectorTest.HARPropertyFormattersWithSize);
+
+        // Filter out favicon.ico requests that only appear on certain platforms.
+        log.entries = log.entries.filter(function(entry) {
+            return !/favicon\.ico$/.test(entry.request.url);
+        });
+        log.entries.sort(InspectorTest.requestURLComparer);
+        for (var i = 0; i &lt; log.entries.length; ++i) {
+            var entry = log.entries[i];
+            InspectorTest.addResult(&quot;page: &quot; + entry.pageref + &quot; url: &quot; + entry.request.url);
+        }
+        InspectorTest.completeTest();
+    }
+
+    step1();
+}
+
+&lt;/script&gt;
+
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests conversion of Inspector's resource representation into HAR format.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcemaincookiesexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcemaincookiesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-main-cookies-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-main-cookies-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-main-cookies-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-main-cookies-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+This tests that the cookie set by main resource is shown in resources panel.
+
+bug 65770.
+Page reloaded.
+Cookie: cookieName=cookieValue.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcemaincookiesphpfromrev164517trunkLayoutTestshttptestsinspectorresourcemaincookiesphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-main-cookies.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-main-cookies.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-main-cookies.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-main-cookies.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;?php
+    if (!$_COOKIE[&quot;cookieName&quot;])
+        setcookie(&quot;cookieName&quot;, &quot;cookieValue&quot;);
+?&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var cookieName = &quot;cookieName&quot;;
+    var cookieDomain = &quot;127.0.0.1&quot;;
+    var cookieURL = &quot;http://&quot; + cookieDomain + &quot;/&quot;;
+    // Ensure cookie is deleted before testing.
+    PageAgent.deleteCookie(cookieName, cookieURL, step1);
+
+    function step1()
+    {
+        InspectorTest.reloadPage(step2);
+    }
+
+    function step2()
+    {
+        WebInspector.Cookies.getCookiesAsync(step3);
+    }
+
+    function step3(allCookies)
+    {
+        for (var i = 0; i &lt; allCookies.length; i++) {
+          var cookie = allCookies[i];
+            if (cookie.name() === cookieName &amp;&amp; cookie.domain() == cookieDomain) {
+                InspectorTest.addResult(&quot;Cookie: &quot; + cookie.name() + &quot;=&quot; + cookie.value() + &quot;.&quot;);
+            }
+        }
+        // Ensure cookie is deleted after testing.
+        PageAgent.deleteCookie(cookieName, cookieURL, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+    &lt;p&gt;This tests that the cookie set by main resource is shown in resources panel.&lt;/p&gt;
+    &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=65770&quot;&gt;bug 65770&lt;/a&gt;.
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourceparametersexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourceparametersexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-parameters-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-parameters-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-parameters-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-parameters-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+Tests that resources panel shows form data parameters.
+
+  
+
+{
+    cache : {
+    }
+    request : {
+        bodySize : &lt;number&gt;
+        cookies : [
+        ]
+        headers : &lt;object&gt;
+        headersSize : &lt;number&gt;
+        httpVersion : &quot;HTTP/1.1&quot;
+        method : &quot;POST&quot;
+        postData : {
+            mimeType : &quot;application/x-www-form-urlencoded&quot;
+            params : [
+                {
+                    name : &quot;formParam1&quot;
+                    value : &quot;formValue1&quot;
+                }
+                {
+                    name : &quot;formParam2&quot;
+                    value : &quot;&quot;
+                }
+            ]
+            text : &quot;formParam1=formValue1&amp;formParam2=&quot;
+        }
+        queryString : [
+            {
+                name : &quot;queryParam1&quot;
+                value : &quot;queryValue1&quot;
+            }
+            {
+                name : &quot;queryParam2&quot;
+                value : &quot;&quot;
+            }
+        ]
+        url : &quot;http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&amp;queryParam2=&quot;
+    }
+    response : {
+        bodySize : &lt;number&gt;
+        content : {
+            compression : &lt;number&gt;
+            mimeType : &quot;application/xml&quot;
+            size : 14
+        }
+        cookies : [
+        ]
+        headers : &lt;object&gt;
+        headersSize : &lt;number&gt;
+        httpVersion : &quot;HTTP/1.1&quot;
+        redirectURL : &quot;&quot;
+        status : 200
+        statusText : &quot;OK&quot;
+    }
+    startedDateTime : &lt;plausible&gt;
+    time : &lt;number&gt;
+    timings : &lt;object&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourceparametershtmlfromrev164517trunkLayoutTestshttptestsinspectorresourceparametershtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-parameters.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-parameters.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-parameters.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-parameters.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resources-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+function submit()
+{
+    document.getElementById(&quot;submit&quot;).click();
+}
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;submit()&quot;);
+    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestFinished, onRequestFinished);
+
+    function onRequestFinished(event)
+    {
+        var request = event.data;
+        if (request.url !== &quot;http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&amp;queryParam2=#fragmentParam1=fragmentValue1&amp;fragmentParam2=&quot;)
+            return;
+        InspectorTest.addObject(new WebInspector.HAREntry(request).build(), InspectorTest.HARPropertyFormatters);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that resources panel shows form data parameters.
+&lt;/p&gt;
+&lt;form target=&quot;target-iframe&quot; method=&quot;POST&quot; action=&quot;http://localhost:8000/inspector/resources/post-target.cgi?queryParam1=queryValue1&amp;queryParam2=#fragmentParam1=fragmentValue1&amp;fragmentParam2=&quot;&gt;
+&lt;input name=&quot;formParam1&quot; value=&quot;formValue1&quot;&gt;
+&lt;input name=&quot;formParam2&quot;&gt;
+&lt;input id=&quot;submit&quot; type=&quot;submit&quot;&gt;
+&lt;/form&gt;
+&lt;iframe name=&quot;target-iframe&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcerequestcontentafterloadingandclearingcacheexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentafterloadingandclearingcacheexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-after-loading-and-clearing-cache-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+Tests resource content is correctly loaded if Resource.requestContent was called before network request was finished.
+
+Bug 90153
+Adding dynamic script: 
+Waiting for script request to finish: 
+Clearing memory cache: 
+Requesting content: 
+Resource url: http://127.0.0.1:8000/inspector/resource-tree/resources/dynamic-script.js
+Resource content: function foo() {
+}
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcerequestcontentafterloadingandclearingcachehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentafterloadingandclearingcachehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-after-loading-and-clearing-cache.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-after-loading-and-clearing-cache.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-after-loading-and-clearing-cache.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-after-loading-and-clearing-cache.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
+&lt;script&gt;
+function createScriptTag()
+{
+    var scriptElement = document.createElement(&quot;script&quot;);
+    scriptElement.src = &quot;resources/dynamic-script.js&quot;;
+    document.head.appendChild(scriptElement);
+}
+
+function test()
+{
+    InspectorTest.addResult(&quot;Adding dynamic script: &quot;);
+    InspectorTest.evaluateInPage(&quot;createScriptTag()&quot;, step2);
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;Waiting for script request to finish: &quot;);
+        InspectorTest.runAfterResourcesAreFinished([&quot;dynamic-script.js&quot;], step3)
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;Clearing memory cache: &quot;);
+        NetworkAgent.setCacheDisabled(true, step4);
+    }
+
+    function step4()
+    {
+        NetworkAgent.setCacheDisabled(false, step5);
+    }
+
+    var resource;
+    function step5()
+    {
+        InspectorTest.addResult(&quot;Requesting content: &quot;);
+        resource = InspectorTest.resourceMatchingURL(&quot;dynamic-script.js&quot;);
+        resource.requestContent(step6);
+    }
+
+    function step6(content)
+    {
+        InspectorTest.assertTrue(!!content, &quot;No content available.&quot;);
+        InspectorTest.addResult(&quot;Resource url: &quot; + resource.url);
+        InspectorTest.addResult(&quot;Resource content: &quot; + content);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests resource content is correctly loaded if Resource.requestContent was called before network request was finished.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=90153&quot;&gt;Bug 90153&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcerequestcontentwhileloadingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentwhileloadingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-while-loading-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-while-loading-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-while-loading-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests resource content is correctly loaded if Resource.requestContent was called before network request was finished.
+
+Bug 90153
+Resource url: http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+Resource content: html {
+    background-color: green;
+}
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcerequestcontentwhileloadinghtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcerequestcontentwhileloadinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-while-loading.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-request-content-while-loading.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-while-loading.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-request-content-while-loading.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadStylesheet()
+{
+    var styleElement = document.createElement(&quot;link&quot;);
+    styleElement.rel = &quot;stylesheet&quot;;
+    styleElement.href = &quot;resources/styles-initial.css&quot;;
+    document.head.appendChild(styleElement);
+}
+
+function test()
+{
+    InspectorTest.addSniffer(WebInspector.ResourceTreeFrame.prototype, &quot;_addRequest&quot;, requestAdded, true);
+    InspectorTest.addSniffer(PageAgent, &quot;getResourceContent&quot;, pageAgentGetResourceContentCalled, true);
+    InspectorTest.evaluateInPage(&quot;loadStylesheet()&quot;);
+    var contentWasRequested = false;
+    var resource;
+
+    function requestAdded(request)
+    {
+        if (request.url.indexOf(&quot;styles-initial&quot;) === -1)
+            return;
+        resource = InspectorTest.resourceMatchingURL(&quot;styles-initial&quot;);
+        if (!resource || !resource.request || contentWasRequested)
+            return;
+        resource.requestContent(contentLoaded);
+        contentWasRequested = true;
+    }
+
+    function pageAgentGetResourceContentCalled()
+    {
+        InspectorTest.assertTrue(resource.request.finished);
+    }
+
+    function contentLoaded(content)
+    {
+        InspectorTest.addResult(&quot;Resource url: &quot; + resource.url);
+        InspectorTest.addResult(&quot;Resource content: &quot; + content);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests resource content is correctly loaded if Resource.requestContent was called before network request was finished.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=90153&quot;&gt;Bug 90153&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreedocumenturlexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreedocumenturlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-document-url-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-document-url-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-document-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests that resources have proper documentURL set in the tree model.
+
+
+http://127.0.0.1:8000/inspector/inspector-test.js =&gt; http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html =&gt; http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js =&gt; http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html
+http://127.0.0.1:8000/inspector/resource-tree/resources/dummy-iframe.html =&gt; http://127.0.0.1:8000/inspector/resource-tree/resources/dummy-iframe.html
+http://127.0.0.1:8000/inspector/resources-test.js =&gt; http://127.0.0.1:8000/inspector/resource-tree/resource-tree-document-url.html
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreedocumenturlhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreedocumenturlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-document-url.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-document-url.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-document-url.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-document-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.runAfterResourcesAreFinished([&quot;dummy-iframe.html&quot;, &quot;inspector-test.js&quot;, &quot;resources-test.js&quot;, &quot;resource-tree-test.js&quot;], step1);
+
+    function step1()
+    {
+        function formatter(resource)
+        {
+            return resource.url + &quot; =&gt; &quot; + resource.documentURL;
+        }
+    
+        InspectorTest.dumpResources(formatter);    
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Tests that resources have proper documentURL set in the tree model.
+&lt;/p&gt;
+
+&lt;iframe src=&quot;resources/dummy-iframe.html&quot; onload=&quot;runTest()&quot;&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeerrorsreloadexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeerrorsreloadexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-errors-reload-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-errors-reload-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-errors-reload-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+CONSOLE MESSAGE: line 4: Console error 1.
+CONSOLE MESSAGE: line 5: Console error 2.
+CONSOLE MESSAGE: line 4: Console error 1.
+CONSOLE MESSAGE: line 5: Console error 2.
+Tests that console messages are matched to resources after page reload.
+
+Bug 60701
+Page reloaded.
+Number of errors for the main resource: 2
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeerrorsreloadhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeerrorsreloadhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-errors-reload.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-errors-reload.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-errors-reload.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-errors-reload.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+console.error(&quot;Console error 1.&quot;);
+console.error(&quot;Console error 2.&quot;);
+&lt;/script&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var resourcesWereFinished = false;
+    var pageWasReloaded = false;
+
+    WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.MainFrameNavigated, frameNavigated);
+    InspectorTest.reloadPage(pageReloaded);
+
+    function frameNavigated()
+    {
+        InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-errors-reload.html&quot;], resourcesFinished);
+    }
+
+    function resourcesFinished()
+    {
+        if (pageWasReloaded)
+            step1();
+        else
+            resourcesWereFinished = true;
+    }
+
+    function pageReloaded()
+    {
+        if (resourcesWereFinished)
+            step1();
+        else
+            pageWasReloaded = true;
+
+    }
+
+    function step1()
+    {
+        var resource = WebInspector.resourceTreeModel.resourceForURL(&quot;http://127.0.0.1:8000/inspector/resource-tree/resource-tree-errors-reload.html&quot;);
+        InspectorTest.addResult(&quot;Number of errors for the main resource: &quot; + resource.errors);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that console messages are matched to resources after page reload.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60701&quot;&gt;Bug 60701&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeeventsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeeventsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-events-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-events-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-events-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+Tests top frame navigation events.
+
+
+Navigating child frame 1
+    FrameAdded : child1
+    FrameNavigated : child1
+    SecurityOriginAdded : http://frame/child1.html
+Navigating child frame 1 to a different URL
+    SecurityOriginRemoved : http://frame/child1.html
+    FrameNavigated : child1
+    SecurityOriginAdded : http://frame/child1-new.html
+Navigating child frame 2
+    FrameAdded : child2
+    FrameNavigated : child2
+    SecurityOriginAdded : http://frame/child2.html
+Detaching child frame 1
+    SecurityOriginRemoved : http://frame/child1-new.html
+    FrameDetached : child1
+Navigating root frame
+    SecurityOriginRemoved : http://frame/child2.html
+    SecurityOriginRemoved : http://frame/root1.html
+    FrameDetached : child2
+    FrameDetached : root1
+    FrameAdded : root2
+    FrameNavigated : root2
+    MainFrameNavigated : root2
+    SecurityOriginAdded : http://frame/root2.html
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeeventshtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeeventshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-events.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-events.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-events.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-events.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,80 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.runAfterResourcesAreFinished([&quot;dummy-iframe.html&quot;, &quot;inspector-test.js&quot;, &quot;resources-test.js&quot;, &quot;resource-tree-test.js&quot;], step1);
+
+    function step1()
+    {
+        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;root1&quot;));
+
+        for (var eventName in WebInspector.ResourceTreeModel.EventTypes)
+            WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes[eventName], eventHandler.bind(this, eventName));
+    
+        function eventHandler(eventName, event)
+        {
+            switch (eventName) {
+            case &quot;FrameAdded&quot;:
+            case &quot;FrameNavigated&quot;:
+            case &quot;FrameDetached&quot;:
+            case &quot;MainFrameNavigated&quot;:
+                var frame = event.data;
+                InspectorTest.addResult(&quot;    &quot; + eventName + &quot; : &quot; + frame.id);
+                break;
+            case &quot;SecurityOriginAdded&quot;:
+            case &quot;SecurityOriginRemoved&quot;:
+                var securityOrigin = event.data;
+                InspectorTest.addResult(&quot;    &quot; + eventName + &quot; : &quot; + securityOrigin);
+                break;
+            default:
+            }
+            
+        }
+
+        InspectorTest.addResult(&quot;Navigating child frame 1&quot;);
+        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;child1&quot;, &quot;root1&quot;));
+        InspectorTest.addResult(&quot;Navigating child frame 1 to a different URL&quot;);
+        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;child1&quot;, &quot;root1&quot;, &quot;child1-new&quot;));
+        InspectorTest.addResult(&quot;Navigating child frame 2&quot;);
+        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;child2&quot;, &quot;root1&quot;));
+        InspectorTest.addResult(&quot;Detaching child frame 1&quot;);
+        WebInspector.resourceTreeModel._frameDetached(&quot;child1&quot;);
+
+        InspectorTest.addResult(&quot;Navigating root frame&quot;);
+        WebInspector.resourceTreeModel._frameNavigated(createFramePayload(&quot;root2&quot;));
+        InspectorTest.completeTest();
+    }
+
+    function createFramePayload(id, parentId, name)
+    {
+        var framePayload = {};
+        framePayload.id = id;
+        framePayload.parentId = parentId || &quot;&quot;;
+        framePayload.loaderId = &quot;loader-&quot; + id;
+        framePayload.name = &quot;frame-&quot; + id;
+        framePayload.url = &quot;http://frame/&quot; + (name || id) + &quot;.html&quot;;
+        framePayload.securityOrigin = framePayload.url;
+        framePayload.mimeType = &quot;text/html&quot;;
+        return framePayload;
+    }
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Tests top frame navigation events.
+&lt;/p&gt;
+
+&lt;iframe src=&quot;resources/dummy-iframe.html&quot; onload=&quot;runTest()&quot;&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeframeaddexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframeaddexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-add-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-add-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-add-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,69 @@
</span><ins>+CONSOLE MESSAGE: line 21: iframe navigated
+Tests resource tree model on iframe addition, compares resource tree against golden. Every line is important.
+
+Before addition
+====================================
+Resources:
+script http://127.0.0.1:8000/inspector/inspector-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html
+script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+script http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources URL Map:
+http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources Tree:
+Frames
+    (resource-tree-frame-add.html)
+        Scripts
+            inspector-test.js
+            resource-tree-test.js
+            resources-test.js
+        Stylesheets
+            styles-initial.css
+        resource-tree-frame-add.html
+
+After addition
+====================================
+Resources:
+script http://127.0.0.1:8000/inspector/inspector-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html
+script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html
+script http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css
+script http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources URL Map:
+http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-add.html
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html == http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html
+http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js == http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css
+http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources Tree:
+Frames
+    (resource-tree-frame-add.html)
+        (resource-tree-frame-add-iframe.html)
+            Scripts
+                script-navigated.js
+            Stylesheets
+                styles-navigated.css
+            resource-tree-frame-add-iframe.html
+        Scripts
+            inspector-test.js
+            resource-tree-test.js
+            resources-test.js
+        Stylesheets
+            styles-initial.css
+        resource-tree-frame-add.html
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeframeaddhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframeaddhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-add.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-add.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-add.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-add.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,63 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
+
+&lt;script&gt;
+
+function createIframe()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.setAttribute(&quot;src&quot;, &quot;resources/resource-tree-frame-add-iframe.html&quot;);
+    iframe.onload = onIframeLoad;
+    document.body.appendChild(iframe);
+}
+
+function onIframeLoad()
+{
+    console.log(&quot;iframe navigated&quot;);
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;resources&quot;);
+    InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-frame-add.html&quot;, &quot;resource-tree-test.js&quot;, &quot;styles-initial.css&quot;], step1);
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Before addition&quot;);
+        InspectorTest.addResult(&quot;====================================&quot;);
+        InspectorTest.dumpResourceTreeEverything();
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;createIframe()&quot;);
+    }
+
+    function step2()
+    {
+        InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-frame-add-iframe.html&quot;, &quot;styles-navigated.css&quot;, &quot;script-navigated.js&quot;], step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(&quot;After addition&quot;);
+        InspectorTest.addResult(&quot;====================================&quot;);
+        InspectorTest.dumpResourceTreeEverything();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests resource tree model on iframe addition, compares resource tree against golden. Every line is important.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeframenavigateexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframenavigateexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-navigate-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-navigate-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-navigate-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,81 @@
</span><ins>+CONSOLE MESSAGE: line 22: iframe navigated
+Tests resource tree model on iframe navigation, compares resource tree against golden. Every line is important.
+
+Before navigation
+====================================
+Resources:
+script http://127.0.0.1:8000/inspector/inspector-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html
+script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html
+script http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+script http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources URL Map:
+http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html == http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html
+http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js == http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources Tree:
+Frames
+    (resource-tree-frame-navigate.html)
+        iframe(resource-tree-frame-navigate-iframe-before.html)
+            Scripts
+                script-initial.js
+            Stylesheets
+                styles-initial-2.css
+            resource-tree-frame-navigate-iframe-before.html
+        Scripts
+            inspector-test.js
+            resource-tree-test.js
+            resources-test.js
+        Stylesheets
+            styles-initial.css
+        resource-tree-frame-navigate.html
+
+After navigation
+====================================
+Resources:
+script http://127.0.0.1:8000/inspector/inspector-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html
+script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html
+script http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css
+script http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources URL Map:
+http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-frame-navigate.html
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html == http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html
+http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js == http://127.0.0.1:8000/inspector/resource-tree/resources/script-navigated.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-navigated.css
+http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources Tree:
+Frames
+    (resource-tree-frame-navigate.html)
+        iframe(resource-tree-frame-navigate-iframe-after.html)
+            Scripts
+                script-navigated.js
+            Stylesheets
+                styles-navigated.css
+            resource-tree-frame-navigate-iframe-after.html
+        Scripts
+            inspector-test.js
+            resource-tree-test.js
+            resources-test.js
+        Stylesheets
+            styles-initial.css
+        resource-tree-frame-navigate.html
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeframenavigatehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeframenavigatehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-navigate.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-frame-navigate.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-navigate.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-frame-navigate.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,66 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
+
+&lt;script&gt;
+
+function navigateIframe()
+{
+    var iframe = document.getElementById(&quot;iframe&quot;);
+    iframe.removeAttribute(&quot;onload&quot;);
+    iframe.onload = onIframeLoad;
+    iframe.setAttribute(&quot;src&quot;, &quot;resources/resource-tree-frame-navigate-iframe-after.html&quot;);
+    document.body.appendChild(iframe);
+}
+
+function onIframeLoad()
+{
+    console.log(&quot;iframe navigated&quot;);
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;resources&quot;);
+    InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-frame-navigate-iframe-before.html&quot;, &quot;script-initial.js&quot;, &quot;styles-initial.css&quot;, &quot;styles-initial-2.css&quot;], step1);
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Before navigation&quot;);
+        InspectorTest.addResult(&quot;====================================&quot;);
+        InspectorTest.dumpResourceTreeEverything();
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;navigateIframe()&quot;);
+    }
+
+    function step2()
+    {
+        InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-frame-navigate-iframe-after.html&quot;, &quot;styles-navigated.css&quot;, &quot;script-navigated.js&quot;], step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(&quot;After navigation&quot;);
+        InspectorTest.addResult(&quot;====================================&quot;);
+        InspectorTest.dumpResourceTreeEverything();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Tests resource tree model on iframe navigation, compares resource tree against golden. Every line is important.
+&lt;/p&gt;
+
+&lt;iframe id=&quot;iframe&quot; src=&quot;resources/resource-tree-frame-navigate-iframe-before.html&quot; onload=&quot;runTest()&quot;&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeinvalidmimetypecsscontentexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeinvalidmimetypecsscontentexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-invalid-mime-type-css-content-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests that content is correctly shown for css loaded with invalid mime type in quirks mode.
+
+Bug 80528
+http://127.0.0.1:8000/inspector/resource-tree/resources/stylesheet-text-plain.php
+Resource.content: body {
+    background-color: green:
+}
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreeinvalidmimetypecsscontenthtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreeinvalidmimetypecsscontenthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-invalid-mime-type-css-content.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-invalid-mime-type-css-content.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-invalid-mime-type-css-content.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-invalid-mime-type-css-content.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/stylesheet-text-plain.php&quot; type=&quot;text/css&quot;&gt;
+&lt;script&gt;
+function test()
+{
+    var cssResource;
+
+    InspectorTest.runAfterResourcesAreFinished([&quot;stylesheet-text-plain.php&quot;], step1);
+
+    function step1()
+    {
+        WebInspector.resourceTreeModel.forAllResources(findCSSResource);
+        function findCSSResource(resource)
+        {
+            if (resource.url.indexOf(&quot;stylesheet-text-plain.php&quot;) !== -1)
+                cssResource = resource;
+        }
+        InspectorTest.addResult(cssResource.url);
+        InspectorTest.assertEquals(cssResource.type, WebInspector.resourceTypes.Stylesheet, &quot;Resource type should be Stylesheet.&quot;);
+        InspectorTest.assertTrue(!cssResource.failed, &quot;Resource loading failed.&quot;);
+        cssResource.requestContent(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;Resource.content: &quot; + cssResource.content);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that content is correctly shown for css loaded with invalid mime type in quirks mode.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=80528&quot;&gt;Bug 80528&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreemimetypeexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreemimetypeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-mimetype-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-mimetype-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-mimetype-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests that resources panel correctly shows mime type when it loads data from memory cache.
+
+Bug 63701 
+script application/x-javascript http://127.0.0.1:8000/inspector/inspector-test.js
+document text/html http://127.0.0.1:8000/inspector/resource-tree/resource-tree-mimetype.html
+script application/x-javascript http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+image image/png http://127.0.0.1:8000/inspector/resource-tree/resources/empty.png
+stylesheet text/css http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreemimetypehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreemimetypehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-mimetype.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-mimetype.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-mimetype.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-mimetype.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
+&lt;script&gt;
+function test()
+{
+    WebInspector.panel(&quot;network&quot;)._reset();
+    WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.CachedResourcesLoaded, step2);
+    WebInspector.resourceTreeModel._fetchResourceTree();
+
+    function step2()
+    {
+        function format(resource)
+        {
+            return resource.type.name() + &quot; &quot; + resource.mimeType + &quot; &quot; + resource.url;
+        }
+
+        InspectorTest.dumpResources(format);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that resources panel correctly shows mime type when it loads data from memory cache.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=63701&quot;&gt;Bug 63701&lt;/a&gt;
+&lt;img src=&quot;resources/empty.png&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreenoxhrsexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenoxhrsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-no-xhrs-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-no-xhrs-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-no-xhrs-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+CONSOLE MESSAGE: line 6: XHR loaded: 1
+Tests that XHRs are not added to resourceTreeModel.
+
+Bug 60321
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreenoxhrshtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenoxhrshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-no-xhrs.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-no-xhrs.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-no-xhrs.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-no-xhrs.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../network-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.makeSimpleXHR(&quot;GET&quot;, &quot;resources/resource.php&quot;, false, step2);
+
+    function step2()
+    {
+        var resource = WebInspector.resourceTreeModel.resourceForURL(&quot;http://127.0.0.1:8000/inspector/resource-tree/resources/resource.php&quot;);
+        InspectorTest.assertTrue(!resource, &quot;XHR resource should not be added to resourceTreeModel.&quot;);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that XHRs are not added to resourceTreeModel.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=60321&quot;&gt;Bug 60321&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreenonuniqueurlexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenonuniqueurlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-non-unique-url-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-non-unique-url-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-non-unique-url-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+Tests resources panel shows several resources with the same url if they were loaded with inspector already opened.
+
+
+Resources Tree:
+Frames
+    (resource-tree-non-unique-url.html)
+        (resource-tree-non-unique-url-iframe.html)
+            Images
+                styles-non-unique-url.css
+            Stylesheets
+                styles-non-unique-url.css
+            resource-tree-non-unique-url-iframe.html
+        Scripts
+            inspector-test.js
+            resource-tree-test.js
+            resources-test.js
+        resource-tree-non-unique-url.html
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreenonuniqueurlhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreenonuniqueurlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-non-unique-url.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-non-unique-url.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-non-unique-url.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-non-unique-url.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function loadIframe()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    document.body.appendChild(iframe);
+    iframe.src = &quot;resources/resource-tree-non-unique-url-iframe.html&quot;;
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;resources&quot;);
+    InspectorTest.addSniffer(WebInspector.FrameTreeElement.prototype, &quot;appendResource&quot;, onResource, true);
+
+    var cssRequestsCount = 0;
+    function onResource(resource)
+    {
+        if (resource.url.match(/\.css$/) &amp;&amp; ++cssRequestsCount === 2) {
+            InspectorTest.addResult(&quot;Resources Tree:&quot;);
+            InspectorTest.dumpResourcesTree();
+            InspectorTest.completeTest();
+        }
+    }
+
+    InspectorTest.evaluateInPage(&quot;loadIframe();&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests resources panel shows several resources with the same url if they were loaded with inspector already opened.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreereloadexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreereloadexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-reload-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-reload-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-reload-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+Tests resource tree model on page reload, compares resource tree against golden. Every line is important.
+
+
+Page reloaded.
+Resources:
+script http://127.0.0.1:8000/inspector/inspector-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resource-tree-reload.html
+script http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+document http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-reload-iframe.html
+script http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css
+stylesheet http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+script http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources URL Map:
+http://127.0.0.1:8000/inspector/inspector-test.js == http://127.0.0.1:8000/inspector/inspector-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-reload.html == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-reload.html
+http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js == http://127.0.0.1:8000/inspector/resource-tree/resource-tree-test.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-reload-iframe.html == http://127.0.0.1:8000/inspector/resource-tree/resources/resource-tree-reload-iframe.html
+http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js == http://127.0.0.1:8000/inspector/resource-tree/resources/script-initial.js
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial-2.css
+http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css == http://127.0.0.1:8000/inspector/resource-tree/resources/styles-initial.css
+http://127.0.0.1:8000/inspector/resources-test.js == http://127.0.0.1:8000/inspector/resources-test.js
+
+Resources Tree:
+Frames
+    (resource-tree-reload.html)
+        (resource-tree-reload-iframe.html)
+            Scripts
+                script-initial.js
+            Stylesheets
+                styles-initial-2.css
+            resource-tree-reload-iframe.html
+        Scripts
+            inspector-test.js
+            resource-tree-test.js
+            resources-test.js
+        Stylesheets
+            styles-initial.css
+        resource-tree-reload.html
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreereloadhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreereloadhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-reload.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-reload.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-reload.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-reload.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,41 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;resource-tree-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-initial.css&quot;&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;resources&quot;);
+
+    InspectorTest.reloadPage(step1);
+
+    function step1()
+    {
+        InspectorTest.runAfterResourcesAreFinished([&quot;resource-tree-reload-iframe.html&quot;, &quot;script-initial.js&quot;, &quot;styles-initial-2.css&quot;], step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.dumpResourceTreeEverything();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;p&gt;
+Tests resource tree model on page reload, compares resource tree against golden. Every line is important.
+&lt;/p&gt;
+
+&lt;iframe src=&quot;resources/resource-tree-reload-iframe.html&quot; onload=&quot;runTest()&quot;&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcetreetestjsfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcetreetestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resource-tree-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resource-tree-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,89 @@
</span><ins>+var initialize_ResourceTreeTest = function() {
+
+InspectorTest.dumpResources = function(formatter)
+{
+    var results = [];
+
+    function formatterWrapper(resource)
+    {
+        if (formatter)
+            results.push({ resource: resource, text: formatter(resource) });
+        else
+            results.push({ resource: resource, text: resource.url });
+    }
+
+    WebInspector.resourceTreeModel.forAllResources(formatterWrapper);
+
+    function comparator(result1, result2)
+    {
+        return result1.resource.url.localeCompare(result2.resource.url);
+    }
+    results.sort(comparator);
+
+    for (var i = 0; i &lt; results.length; ++i)
+        InspectorTest.addResult(results[i].text);
+}
+
+InspectorTest.dumpResourcesURLMap = function()
+{
+    var results = [];
+    WebInspector.resourceTreeModel.forAllResources(collect);
+    function collect(resource)
+    {
+        results.push({ url: resource.url, resource: WebInspector.resourceTreeModel.resourceForURL(resource.url) });
+    }
+
+    function comparator(result1, result2)
+    {
+        if (result1.url &gt; result2.url)
+            return 1;
+        if (result2.url &gt; result1.url)
+            return -1;
+        return 0;
+    }
+
+    results.sort(comparator);
+
+    for (var i = 0; i &lt; results.length; ++i)
+        InspectorTest.addResult(results[i].url + &quot; == &quot; + results[i].resource.url);
+}
+
+InspectorTest.dumpResourcesTree = function()
+{
+    function dump(treeItem, prefix)
+    {
+        // We don't need to print the bubbles content here.
+        if (typeof(treeItem._resetBubble) === &quot;function&quot;)
+            treeItem._resetBubble();
+
+        InspectorTest.addResult(prefix + treeItem.listItemElement.textContent);
+
+        treeItem.expand();
+        var children = treeItem.children;
+        for (var i = 0; children &amp;&amp; i &lt; children.length; ++i)
+            dump(children[i], prefix + &quot;    &quot;);
+    }
+
+    dump(WebInspector.showPanel(&quot;resources&quot;).resourcesListTreeElement, &quot;&quot;);
+}
+
+InspectorTest.dumpResourceTreeEverything = function()
+{
+    function format(resource)
+    {
+        return resource.type.name() + &quot; &quot; + resource.url;
+    }
+
+    InspectorTest.addResult(&quot;Resources:&quot;);
+    InspectorTest.dumpResources(format);
+
+    InspectorTest.addResult(&quot;&quot;);
+    InspectorTest.addResult(&quot;Resources URL Map:&quot;);
+    InspectorTest.dumpResourcesURLMap();
+
+    InspectorTest.addResult(&quot;&quot;);
+    InspectorTest.addResult(&quot;Resources Tree:&quot;);
+    InspectorTest.dumpResourcesTree();
+}
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesdummyiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesdummyiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/dummy-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dummy-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/dummy-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/dummy-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesdynamicscriptjsfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesdynamicscriptjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/dynamic-script.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/dynamic-script.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/dynamic-script.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/dynamic-script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,2 @@
</span><ins>+function foo() {
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesemptypngfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesemptypng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/empty.png (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/empty.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesemptypng"></a>
<div class="propset"><h4>Property changes: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/empty.png</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreeframeaddiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframeaddiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-add-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-add-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-add-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-add-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;html&gt;
+
+&lt;head&gt;
+&lt;script src=&quot;script-navigated.js&quot;&gt;&lt;/script&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-navigated.css&quot;&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreeframenavigateiframeafterhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframenavigateiframeafterhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-navigate-iframe-after.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;html&gt;
+
+&lt;head&gt;
+&lt;script src=&quot;script-navigated.js&quot;&gt;&lt;/script&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-navigated.css&quot;&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreeframenavigateiframebeforehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreeframenavigateiframebeforehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-frame-navigate-iframe-before.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;html&gt;
+
+&lt;head&gt;
+&lt;script src=&quot;script-initial.js&quot;&gt;&lt;/script&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-initial-2.css&quot;&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreenonuniqueurliframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreenonuniqueurliframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-non-unique-url-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-non-unique-url-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-non-unique-url-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-non-unique-url-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-non-unique-url.css&quot;&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesresourcetreereloadiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesresourcetreereloadiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-reload-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/resource-tree-reload-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-reload-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/resource-tree-reload-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;html&gt;
+
+&lt;head&gt;
+&lt;script src=&quot;script-initial.js&quot;&gt;&lt;/script&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;styles-initial-2.css&quot;&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesscriptinitialjsfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesscriptinitialjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/script-initial.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-initial.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/script-initial.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/script-initial.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,2 @@
</span><ins>+function foo() {
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesscriptnavigatedjsfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesscriptnavigatedjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/script-navigated.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/script-navigated.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/script-navigated.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/script-navigated.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,2 @@
</span><ins>+function foo() {
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesinitial2cssfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesinitial2css"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-initial-2.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial-2.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-initial-2.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-initial-2.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+html {
+    background-color: green;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesinitialcssfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesinitialcss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-initial.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-initial.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-initial.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-initial.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+html {
+    background-color: green;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesnavigatedcssfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesnavigatedcss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-navigated.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-navigated.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-navigated.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-navigated.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+html {
+    background-color: green;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesnonuniqueurlcssfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesnonuniqueurlcss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-non-unique-url.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/styles-non-unique-url.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-non-unique-url.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/styles-non-unique-url.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+body {
+    background: url();
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcetreeresourcesstylesheettextplainphpfromrev164517trunkLayoutTestshttptestsinspectorresourcetreeresourcesstylesheettextplainphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/stylesheet-text-plain.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/resource-tree/resources/stylesheet-text-plain.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/stylesheet-text-plain.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resource-tree/resources/stylesheet-text-plain.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+&lt;?php
+    header(&quot;Content-Type: text/plain&quot;);
+?&gt;
+body {
+    background-color: green:
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcescompiledjsfromrev164517trunkLayoutTestshttptestsinspectorresourcescompiledjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/compiled.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/compiled.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/compiled.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/compiled.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+window.addEventListener(&quot;load&quot;,function(){var a=document.createElement(&quot;button&quot;);a.id=&quot;test&quot;;a.addEventListener(&quot;click&quot;,handleClick,!0);document.body.appendChild(a);a=document.createElement(&quot;div&quot;);a.id=&quot;barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr&quot;;
+document.body.appendChild(a)});function handleClick(a){(new ClickHandler).handle(a)};function ClickHandler(){}ClickHandler.prototype.handle=function(){console.log(&quot;button clicked!&quot;)};
+//@ sourceMappingURL=source-map.json  
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesconsolecdcompletionsiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesconsolecdcompletionsiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-cd-completions-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/console-cd-completions-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-cd-completions-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-cd-completions-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+&lt;script&gt;
+var myGlobalVar = 2011;
+function myGlobalFunction() { }
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesconsolecdiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesconsolecdiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-cd-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/console-cd-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-cd-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-cd-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+&lt;script&gt;
+var foo = 2011;
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesconsoleclearargumentsiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorenabledresourcesconsoleclearargumentsiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-clear-arguments-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-clear-arguments-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-clear-arguments-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+&lt;script&gt;
+console.log(&quot;A message with first argument string&quot;, &quot;Second argument which should be discarded on iframe removal&quot;);
+console.log(2011, &quot;A message with first argument integer&quot;);
+console.log(window, &quot;A message with first argument window&quot;);
+&lt;/script&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesconsoleclearargumentstestjsfromrev164517trunkLayoutTestshttptestsinspectorenabledresourcesconsoleclearargumentstestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-clear-arguments-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/resources/console-clear-arguments-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-clear-arguments-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-clear-arguments-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+function print(text)
+{
+    var output = document.getElementById(&quot;output&quot;);
+    var div = document.createElement(&quot;div&quot;);
+    div.textContent = text;
+    output.appendChild(div);
+}
+
+function dumpConsoleMessageArgumentCounts()
+{
+    var consoleMessageArgumentCounts = window.internals.consoleMessageArgumentCounts();
+    if (consoleMessageArgumentCounts.length === 3)
+        print(&quot;PASSED: found argument counts for 3 messages&quot;);
+    else
+        print(&quot;FAILED: unexpected number of messages: &quot; + consoleMessageArgumentCounts.length);
+
+    for (var i = 0; i &lt; consoleMessageArgumentCounts.length; i++) {
+        var count = consoleMessageArgumentCounts[i];
+        if (count == 0)
+            print(&quot;PASSED: message #&quot; + i + &quot; has no arguments.&quot;);
+        else
+            print(&quot;FAILED: message #&quot; + i + &quot; has &quot; + count + &quot; arguments.&quot;);
+    }
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesconsolelogframeafternavigationhtmlfromrev164517trunkLayoutTestshttptestsinspectorenabledresourcesconsolelogframeafternavigationhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-log-frame-after-navigation.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-after-navigation.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-log-frame-after-navigation.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-log-frame-after-navigation.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+function handleLoad() {
+    window.parent.postMessage(&quot;frameReloaded&quot;, &quot;*&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;handleLoad()&quot;&gt;
+New Inner Content.
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesconsolelogframebeforenavigationhtmlfromrev164517trunkLayoutTestshttptestsinspectorenabledresourcesconsolelogframebeforenavigationhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-log-frame-before-navigation.html (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/resources/console-log-frame-before-navigation.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-log-frame-before-navigation.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-log-frame-before-navigation.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+function handleLoad() {
+  console.log(&quot;Console message (C) %d with element&quot;, 2010, document.documentElement);
+
+  setTimeout(function() {
+    // Note that localhost is different from the 127.0.0.1 that tests are runnung against. So this navigation
+    // is in fact cross-domain.
+    document.location = &quot;http://localhost:8000/inspector-enabled/resources/console-log-frame-after-navigation.html&quot;;
+  }, 0);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;handleLoad()&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesconsoleresourceerrorsiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesconsoleresourceerrorsiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-resource-errors-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/console-resource-errors-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-resource-errors-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/console-resource-errors-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;../missing.css&quot;&gt;
+&lt;script src=&quot;../non-existent-script.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body&gt;
+&lt;iframe src=&quot;../non-existent-iframe.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcescorstargetphpfromrev164517trunkLayoutTestshttptestsinspectorresourcescorstargetphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/cors-target.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/cors-target.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/cors-target.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/cors-target.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+&lt;?php
+    parse_str($_SERVER['QUERY_STRING'], $queryParams);
+    if ($queryParams[&quot;deny&quot;] != &quot;yes&quot;) {
+        header(&quot;Access-control-allow-origin: http://127.0.0.1:8000&quot;);
+        header(&quot;Access-control-allow-headers: Content-Type&quot;);
+    }
+    header(&quot;Content-Type: text/plain&quot;);
+
+    print &quot;body&quot;
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcescrossoriginiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcescrossoriginiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/cross-origin-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/cross-origin-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/cross-origin-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/cross-origin-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;/head&gt;
+&lt;body&gt;
+  &lt;p&gt;Cross origin frame.&lt;p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesdedicatedworkerjsfromrev164517trunkLayoutTestshttptestsinspectorenabledresourcesdedicatedworkerjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/dedicated-worker.js (from rev 164517, trunk/LayoutTests/http/tests/inspector-enabled/resources/dedicated-worker.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/dedicated-worker.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/dedicated-worker.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+var workerId = location.search.substring(4);
+postMessage(&quot;Worker &quot; + workerId + &quot; started.&quot;);
+doWork();
+setInterval(doWork, 1000);
+function doWork() {
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesdynamicscriptjsfromrev164517trunkLayoutTestsinspectordebuggerresourcesdynamicscriptjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/dynamic-script.js (from rev 164517, trunk/LayoutTests/inspector/debugger/resources/dynamic-script.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/dynamic-script.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/dynamic-script.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+function fooDynamicScript()
+{
+}
+
+scriptLoaded();
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesechoheadersphpfromrev164517trunkLayoutTestshttptestsinspectorresourcesechoheadersphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/echo-headers.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/echo-headers.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/echo-headers.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/echo-headers.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;?php
+
+$headers = Array('HTTP_X_WEBINSPECTOR_EXTENSION', 'HTTP_USER_AGENT');
+
+foreach ($headers as $header) {
+    echo $header . &quot;: &quot; . $_SERVER[$header] . &quot;\n&quot;;
+}
+
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesemptyzipfromrev164517trunkLayoutTestshttptestsinspectorresourcesemptyzip"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/empty.zip (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/empty.zip) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/empty.zip                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/empty.zip        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+PK
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesexamplecssmapfromrev164517trunkLayoutTestshttptestsinspectorresourcesexamplecssmap"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/example.css.map (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/example.css.map) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/example.css.map                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/example.css.map        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+{
+&quot;version&quot;: &quot;3&quot;,
+&quot;mappings&quot;: &quot;;AACA,CAAE;EACA,GAAG,EAAE,GAAG;;EAER,SAAS,EAAE,IAAI&quot;,
+&quot;sources&quot;: [&quot;example.scss&quot;],
+&quot;file&quot;: &quot;example.css&quot;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesexamplescssfromrev164517trunkLayoutTestshttptestsinspectorresourcesexamplescss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/example.scss (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/example.scss) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/example.scss                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/example.scss        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+/* Comment */
+a {
+  foo: bar;
+/* SOME COMMENT */
+  font-size: 12px;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionmainhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesextensionmainhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-main.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/extension-main.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-main.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-main.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;extension-main.js&quot;&gt;&lt;/script&gt;
+&lt;script type=&quot;text/javascript&quot;&gt;
+output(&quot;Started extension.&quot;);
+fetchTests();
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionmainjsfromrev164517trunkLayoutTestshttptestsinspectorresourcesextensionmainjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-main.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/extension-main.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-main.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-main.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,120 @@
</span><ins>+function trimURL(url)
+{
+    if (!url)
+        return;
+    if (/^data:/.test(url))
+        return url.replace(/,.*$/, &quot;...&quot;);
+    return url.replace(/.*\//, &quot;.../&quot;);
+}
+
+function dumpObject(object, nondeterministicProps, prefix, firstLinePrefix)
+{
+    prefix = prefix || &quot;&quot;;
+    firstLinePrefix = firstLinePrefix || prefix;
+    output(firstLinePrefix + &quot;{&quot;);
+    var propertyNames = Object.keys(object);
+    propertyNames.sort();
+    
+    for (var i = 0; i &lt; propertyNames.length; ++i) {
+        var prop = propertyNames[i];
+        var prefixWithName = prefix + &quot;    &quot; + prop + &quot; : &quot;;
+        var propValue = object[prop];
+        if (nondeterministicProps &amp;&amp; prop in nondeterministicProps) {
+            var value = nondeterministicProps[prop] === &quot;url&quot; ? trimURL(propValue) : &quot;&lt;&quot; + typeof propValue + &quot;&gt;&quot;;
+            output(prefixWithName + value);
+        } else if (typeof propValue === &quot;object&quot; &amp;&amp; propValue != null)
+            dumpObject(propValue, nondeterministicProps, prefix + &quot;    &quot;, prefixWithName);
+        else if (typeof propValue === &quot;string&quot;)
+            output(prefixWithName + &quot;\&quot;&quot; + propValue + &quot;\&quot;&quot;);
+        else if (typeof propValue === &quot;function&quot;)
+            output(prefixWithName + &quot;&lt;function&gt;&quot;);
+        else
+            output(prefixWithName + propValue);
+    }
+    output(prefix + &quot;}&quot;);
+}
+
+function dumpArray(result)
+{
+    if (result instanceof Array) {
+        for (var i = 0; i &lt; result.length; ++i)
+            output(result[i]);
+    } else
+        output(result);
+}
+
+function evaluateOnFrontend(expression, callback)
+{
+    window._extensionServerForTests.sendRequest({ command: &quot;evaluateForTestInFrontEnd&quot;, expression: expression }, callback);
+}
+
+function output(message)
+{
+    evaluateOnFrontend(&quot;InspectorTest.addResult(unescape('&quot; + escape(message) + &quot;'));&quot;);
+}
+
+function onError(event)
+{
+    window.removeEventListener(&quot;error&quot;, onError);
+    output(&quot;Uncaught exception in extension context: &quot; + event.message + &quot; [&quot; + event.filename + &quot;:&quot; + event.lineno + &quot;]&quot;);
+    evaluateOnFrontend(&quot;InspectorTest.completeTest();&quot;);
+}
+
+window.addEventListener(&quot;error&quot;, onError);
+
+function fetchTests()
+{
+    function callback(result)
+    {
+         window.eval(result);
+         runTests();
+    }
+    webInspector.inspectedWindow.eval(&quot;extensionFunctions()&quot;, callback);
+}
+
+function runTests()
+{
+    output(&quot;Running tests...&quot;);
+    var tests = [];
+    for (var symbol in this) {
+        if (/^extension_test/.test(symbol) &amp;&amp; typeof this[symbol] === &quot;function&quot;)
+            tests.push(symbol);
+    }
+    tests = tests.sort();
+    var testChain = onTestsDone;
+    for (var test = tests.pop(); test; test = tests.pop())
+        testChain = bind(runTest, this, bind(this[test], this, testChain), test);
+    testChain();
+}
+
+function onTestsDone()
+{
+    output(&quot;All tests done.&quot;);
+    evaluateOnFrontend(&quot;InspectorTest.completeTest();&quot;);
+}
+
+function runTest(test, name)
+{
+    output(&quot;RUNNING TEST: &quot; + name);
+    try {
+        test();
+    } catch (e) {
+        output(name + &quot;: &quot; + e);
+    }
+}
+
+function callbackAndNextTest(callback, nextTest)
+{
+    function callbackWrapper()
+    {
+        callback.apply(this, arguments);
+        nextTest.call(this);
+    }
+    return callbackWrapper;
+}
+
+function bind(func, thisObject)
+{
+    var args = Array.prototype.slice.call(arguments, 2);
+    return function() { return func.apply(thisObject, args.concat(Array.prototype.slice.call(arguments, 0))); };
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionpanelhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesextensionpanelhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-panel.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/extension-panel.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-panel.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-panel.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;extension-main.js&quot;&gt;&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionsidebarhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesextensionsidebarhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-sidebar.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/extension-sidebar.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-sidebar.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/extension-sidebar.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,2 @@
</span><ins>+&lt;html&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesextensionsframeevalhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesextensionsframeevalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/extensions-frame-eval.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/extensions-frame-eval.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/extensions-frame-eval.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/extensions-frame-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+&lt;html&gt;
+&lt;script&gt;
+// Some JS to create a context
+window.iAmAnIFrame = true;
+&lt;/script&gt;
+&lt;/html&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesharpagesiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesharpagesiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/har-pages-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/har-pages-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/har-pages-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/har-pages-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script type=&quot;text/javascript&quot;&gt;
+function redirectBack()
+{
+    top.location.href = &quot;/inspector/resource-har-pages.html&quot;;
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;redirectBack()&quot;&gt;
+&lt;script src=&quot;source1.js&quot;&gt;&lt;/script&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesharpagesnavigationtargethtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesharpagesnavigationtargethtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/har-pages-navigation-target.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/har-pages-navigation-target.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/har-pages-navigation-target.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/har-pages-navigation-target.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+&lt;html&gt;
+&lt;body&gt;
+&lt;iframe src=&quot;har-pages-iframe.html&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesiframefromdifferentdomaindatahtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesiframefromdifferentdomaindatahtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/iframe-from-different-domain-data.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/iframe-from-different-domain-data.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/iframe-from-different-domain-data.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/iframe-from-different-domain-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+function onload()
+{
+    console.log(&quot;IFRAME HOST: &quot; + window.location.host);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body id=&quot;iframe-body&quot; style=&quot;background:green;&quot; onload=&quot;onload()&quot;&gt;
+Inspect me.
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesinspectelementiframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesinspectelementiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/inspect-element-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/inspect-element-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/inspect-element-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/inspect-element-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+&lt;html&gt;
+
+&lt;body&gt;
+&lt;div id=&quot;div&quot;&gt;Element to inspect&lt;/div&gt;
+&lt;/body&gt;
+
+&lt;script&gt;
+top.iframeDivElement = document.getElementById(&quot;div&quot;);
+&lt;/script&gt;
+
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesposttargetcgifromrev164517trunkLayoutTestshttptestsinspectorresourcesposttargetcgi"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/post-target.cgi (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/post-target.cgi) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/post-target.cgi                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/post-target.cgi        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+#!/usr/bin/perl -wT
+
+print &quot;Content-Type: application/xml\n\n&quot;;
+print &quot;&lt;xml&gt;42&lt;/xml&gt;\n&quot;;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesresourceformdatareceiveriframehtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesresourceformdatareceiveriframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/resource-form-data-receiver-iframe.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/resource-form-data-receiver-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/resource-form-data-receiver-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/resource-form-data-receiver-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+&lt;html&gt;
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcessourcemapjsonfromrev164517trunkLayoutTestshttptestsinspectorresourcessourcemapjson"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/source-map.json (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/source-map.json) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/source-map.json                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/source-map.json        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+{
+&quot;version&quot;:3,
+&quot;file&quot;:&quot;compiled.js&quot;,
+&quot;sourceRoot&quot;: &quot;&quot;,
+&quot;lineCount&quot;:2,
+&quot;mappings&quot;:&quot;AACAA,MAAAC,iBAAuB,CAAC,MAAD,CAAS,QAAQ,EACxC,CACI,IAAIC,EAASC,QAAAC,cAAsB,CAAC,QAAD,CACnCF,EAAAG,GAAA,CAAY,MACZH,EAAAD,iBAAuB,CAAC,OAAD,CAAUK,WAAV,CAAuB,CAAA,CAAvB,CACvBH,SAAAI,KAAAC,YAAyB,CAACN,CAAD,CAErBO,EAAAA,CAAMN,QAAAC,cAAsB,CAAC,KAAD,CAChCK,EAAAJ,GAAA,CAAS,ocACTF;QAAAI,KAAAC,YAAyB,CAACC,CAAD,CAR7B,CADuB,CAYvBH,SAASA,YAAW,CAACI,CAAD,CACpB,CAEIC,CAD8BC,IAAZC,YAClBF,QAAc,CAACD,CAAD,CAFlB,C,CCbAG,QAASA,aAAY,EACrB,EAGAA,YAAAC,UAAAH,OAAA,CAAgCI,QAAQ,EACxC,CACIC,OAAAC,IAAW,CAAC,iBAAD,CADf,C;&quot;,
+&quot;sources&quot;:[&quot;source1.js&quot;,&quot;source2.js&quot;],
+&quot;names&quot;:[&quot;window&quot;,&quot;addEventListener&quot;,&quot;button&quot;,&quot;document&quot;,&quot;createElement&quot;,&quot;id&quot;,&quot;handleClick&quot;,&quot;body&quot;,&quot;appendChild&quot;,&quot;bar&quot;,&quot;event&quot;,&quot;handle&quot;,&quot;handler&quot;,&quot;ClickHandler&quot;,&quot;prototype&quot;,&quot;ClickHandler.prototype.handle&quot;,&quot;console&quot;,&quot;log&quot;]
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcessource1jsfromrev164517trunkLayoutTestshttptestsinspectorresourcessource1js"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/source1.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/source1.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/source1.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/source1.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+window.addEventListener('load', function()
+{
+    var button = document.createElement('button');
+    button.id = 'test';
+    button.addEventListener('click', handleClick, true);
+    document.body.appendChild(button);
+
+    var bar = document.createElement('div');
+    bar.id = 'barrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr';
+    document.body.appendChild(bar);
+});
+
+function handleClick(event)
+{
+    var handler = new ClickHandler();
+    handler.handle(event);
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcessource2jsfromrev164517trunkLayoutTestshttptestsinspectorresourcessource2js"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/source2.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/source2.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/source2.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/source2.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+function ClickHandler()
+{
+}
+
+ClickHandler.prototype.handle = function(event)
+{
+    console.log('button clicked!');
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcestestscannerhtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcestestscannerhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/test-scanner.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/test-scanner.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/test-scanner.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/test-scanner.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,68 @@
</span><ins>+&lt;html&gt;
+&lt;script&gt;
+var tests = [];
+
+scanFolder(&quot;inspector/console&quot;);
+// scanFolder(&quot;inspector/debugger&quot;);
+scanFolder(&quot;inspector/editor&quot;);
+scanFolder(&quot;inspector/elements&quot;);
+scanFolder(&quot;inspector/profiler&quot;);
+scanFolder(&quot;inspector/styles&quot;);
+scanFolder(&quot;inspector/timeline&quot;);
+scanFolder(&quot;inspector&quot;);
+
+function scanFolder(folder)
+{
+    var xhr = new XMLHttpRequest();
+    xhr.open(&quot;GET&quot;, &quot;/LayoutTests/&quot; + folder + &quot;/&quot;, false);
+    xhr.send(null);
+    var text = xhr.responseText;
+    var element = document.createElement(&quot;div&quot;);
+    element.innerHTML = text;
+    var links = element.querySelectorAll(&quot;a&quot;);
+    for (var i = 0; i &lt; links.length; ++i) {
+        var link = links[i].href;
+        var match = link.match(/[^\/]*\/([^\/]+\.html)$/);
+        if (!match)
+            continue;
+        var path = &quot;/LayoutTests/&quot; + folder + &quot;/&quot; + match[1];
+        var expected = fetchExpectations(path);
+        tests.push([path, expected]);
+    }
+}
+
+function fetchExpectations(path)
+{
+    var ext = path.lastIndexOf(&quot;.&quot;);
+    path = path.substring(0, ext) + &quot;-expected.txt&quot;;
+    var chromiumPath = path.replace(&quot;/LayoutTests/&quot;, &quot;/LayoutTests/platform/chromium/&quot;);
+
+    var expectations = fetch(chromiumPath) || fetch(path) || &quot;&quot;;
+
+    var expectationLines = expectations.split(&quot;\n&quot;);
+    var filtered = [];
+    for (var i = 0; i &lt; expectationLines.length; ++i) {
+        if (!expectationLines[i].indexOf(&quot;ALERT: &quot;) ||
+            !expectationLines[i].indexOf(&quot;CONSOLE MESSAGE: &quot;)) {
+            filtered = [];
+            continue;
+        }
+        filtered.push(expectationLines[i]);
+    }
+    return filtered.join(&quot;\n&quot;);
+}
+
+function fetch(path)
+{
+    var xhr = new XMLHttpRequest();
+    xhr.open(&quot;GET&quot;, path, false);
+    xhr.send(null);
+    return xhr.status !== 404 ? xhr.responseText : &quot;&quot;;
+}
+
+window.parent.postMessage([&quot;tests&quot;, tests], &quot;*&quot;);
+
+&lt;/script&gt;
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcesxhrexistshtmlfromrev164517trunkLayoutTestshttptestsinspectorresourcesxhrexistshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources/xhr-exists.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources/xhr-exists.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources/xhr-exists.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources/xhr-exists.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+&lt;p&gt;Existing File&lt;/p&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsresourcestestjsfromrev164517trunkLayoutTestshttptestsinspectorresourcestestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/resources-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/resources-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/resources-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/resources-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,99 @@
</span><ins>+var initialize_ResourceTest = function() {
+
+InspectorTest.HARPropertyFormatters = {
+    bodySize: &quot;formatAsTypeName&quot;,
+    compression: &quot;formatAsTypeName&quot;,
+    headers: &quot;formatAsTypeName&quot;,
+    headersSize: &quot;formatAsTypeName&quot;,
+    id: &quot;formatAsTypeName&quot;,
+    onContentLoad: &quot;formatAsTypeName&quot;,
+    onLoad: &quot;formatAsTypeName&quot;,
+    receive: &quot;formatAsTypeName&quot;,
+    startedDateTime: &quot;formatAsRecentTime&quot;,
+    time: &quot;formatAsTypeName&quot;,
+    timings: &quot;formatAsTypeName&quot;,
+    version: &quot;formatAsTypeName&quot;,
+    wait: &quot;formatAsTypeName&quot;,
+};
+
+// addObject checks own properties only, so make a deep copy rather than use prototype.
+
+InspectorTest.HARPropertyFormattersWithSize = JSON.parse(JSON.stringify(InspectorTest.HARPropertyFormatters));
+InspectorTest.HARPropertyFormattersWithSize.size = &quot;formatAsTypeName&quot;;
+
+
+InspectorTest.requestURLComparer = function(r1, r2)
+{
+    return r1.request.url.localeCompare(r2.request.url);
+}
+
+InspectorTest.runAfterCachedResourcesProcessed = function(callback)
+{
+    if (!WebInspector.resourceTreeModel._cachedResourcesProcessed)
+        WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.CachedResourcesLoaded, callback);
+    else
+        callback();
+}
+
+InspectorTest.runAfterResourcesAreFinished = function(resourceURLs, callback)
+{
+    var resourceURLsMap = resourceURLs.keySet();
+
+    function checkResources()
+    {
+        for (url in resourceURLsMap) {
+            var resource = InspectorTest.resourceMatchingURL(url);
+            if (resource)
+                delete resourceURLsMap[url];
+        }
+        if (!Object.keys(resourceURLsMap).length) {
+            WebInspector.resourceTreeModel.removeEventListener(WebInspector.ResourceTreeModel.EventTypes.ResourceAdded, checkResources);
+            callback();
+        }
+    }
+    checkResources();
+    if (Object.keys(resourceURLsMap).length)
+        WebInspector.resourceTreeModel.addEventListener(WebInspector.ResourceTreeModel.EventTypes.ResourceAdded, checkResources);
+}
+
+InspectorTest.showResource = function(resourceURL, callback)
+{
+    var reported = false;
+    function callbackWrapper(sourceFrame)
+    {
+        if (reported)
+            return;
+        callback(sourceFrame);
+        reported = true;
+    }
+
+    function showResourceCallback()
+    {
+        var resource = InspectorTest.resourceMatchingURL(resourceURL);
+        if (!resource)
+            return;
+        WebInspector.panels.resources.showResource(resource, 1);
+        var sourceFrame = WebInspector.panels.resources._resourceViewForResource(resource);
+        if (sourceFrame.loaded)
+            callbackWrapper(sourceFrame);
+        else
+            InspectorTest.addSniffer(sourceFrame, &quot;onTextEditorContentLoaded&quot;, callbackWrapper.bind(null, sourceFrame));
+    }
+    InspectorTest.runAfterResourcesAreFinished([resourceURL], showResourceCallback);
+}
+
+InspectorTest.resourceMatchingURL = function(resourceURL)
+{
+    var result = null;
+    WebInspector.resourceTreeModel.forAllResources(visit);
+    function visit(resource)
+    {
+        if (resource.url.indexOf(resourceURL) !== -1) {
+            result = resource;
+            return true;
+        }
+    }
+    return result;
+}
+
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchconcatenatedhtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchresourcessearchconcatenatedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search-concatenated.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/resources/search-concatenated.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search-concatenated.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search-concatenated.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+function searchTestUniqueString()
+{
+    var variable = 0;
+    // searchTestUniqueString two occurences on the same line searchTestUniqueString
+    var variable2 = 0;
+}
+&lt;/script&gt;&lt;script&gt;
+function doSomething()
+{
+    searchTestUniqueString();
+    // SEARCHTestUniqueString();
+}
+&lt;/script&gt;
+&lt;link href=&quot;search.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
+&lt;script&gt;
+function searchTestUniqueString2()
+{
+    var variable = 0;
+    /* searchTestUniqueString two occurences on the same line searchTestUniqueString */ } &lt;/script&gt;&lt;script&gt; function doSomething2() { searchTestUniqueString();
+    // SEARCHTestUniqueString();
+}
+&lt;/script&gt;
+&lt;/script&gt;
+&lt;body&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchcssfromrev164517trunkLayoutTestshttptestsinspectorsearchresourcessearchcss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/resources/search.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+div.searchTestUniqueString {
+    background-color: red;
+}
+
+div.searchTestUniqueString:hover {
+    /* another searchTestUniqueString occurence */
+    background-color: red;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchhtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchresourcessearchhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/resources/search.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link href=&quot;search.css&quot; rel=&quot;stylesheet&quot; type=&quot;text/css&quot;&gt;
+&lt;script src=&quot;search.js&quot;&gt;&lt;/script&gt;
+&lt;body&gt;
+&lt;div&gt;searchTestUniqueString&lt;/div&gt;
+&lt;div&gt;other text&lt;/div&gt;
+&lt;!-- searchTestUniqueString --&gt;
+&lt;div&gt;some other text&lt;/div&gt;
+&lt;div id=&quot;searchTestUniqueString&quot;&gt;div text&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchjsfromrev164517trunkLayoutTestshttptestsinspectorsearchresourcessearchjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/resources/search.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/resources/search.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+function searchTestUniqueString()
+{
+    var variable = 0;
+    // searchTestUniqueString two occurences on the same line searchTestUniqueString
+    var variable2 = 0;
+}
+
+function doSomething()
+{
+    searchTestUniqueString();
+    // SEARCHTestUniqueString();
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchmatchindexexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorsearchresourcessearchmatchindexexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/resources-search-match-index-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/resources-search-match-index-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/resources-search-match-index-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,120 @@
</span><ins>+Tests search match index calculation in resources panel.
+
+Bug 66050
+
+Running: test1
+Running test for matches counts: [1]
+Element index: 1, index: 0, match index: 1.
+Element index: 1, index: 0, match index: 1.
+Element index: 1, index: 0, match index: 1.
+Element index: 1, index: 0, match index: 1.
+Element index: 1, index: 0, match index: 1.
+Element index: 1, index: 0, match index: 1.
+
+
+Running: test2
+Running test for matches counts: [1,2,3]
+Element index: 1, index: 0, match index: 1.
+Element index: 2, index: 0, match index: 2.
+Element index: 2, index: 1, match index: 3.
+Element index: 3, index: 0, match index: 4.
+Element index: 3, index: 1, match index: 5.
+Element index: 3, index: 2, match index: 6.
+Element index: 1, index: 0, match index: 1.
+Element index: 3, index: 2, match index: 6.
+Element index: 3, index: 1, match index: 5.
+Element index: 3, index: 0, match index: 4.
+Element index: 2, index: 1, match index: 3.
+Element index: 2, index: 0, match index: 2.
+Element index: 1, index: 0, match index: 1.
+Element index: 3, index: 2, match index: 6.
+Element index: 1, index: 0, match index: 1.
+Element index: 3, index: 2, match index: 6.
+
+
+Running: test3
+Running test for matches counts: [1,0,2,0,3]
+Element index: 1, index: 0, match index: 1.
+Element index: 3, index: 0, match index: 2.
+Element index: 3, index: 1, match index: 3.
+Element index: 5, index: 0, match index: 4.
+Element index: 5, index: 1, match index: 5.
+Element index: 5, index: 2, match index: 6.
+Element index: 1, index: 0, match index: 1.
+Element index: 5, index: 2, match index: 6.
+Element index: 5, index: 1, match index: 5.
+Element index: 5, index: 0, match index: 4.
+Element index: 3, index: 1, match index: 3.
+Element index: 3, index: 0, match index: 2.
+Element index: 1, index: 0, match index: 1.
+Element index: 5, index: 2, match index: 6.
+Element index: 1, index: 0, match index: 1.
+Element index: 5, index: 2, match index: 6.
+Element index: 3, index: 0, match index: 2.
+Element index: 1, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 4.
+Element index: 3, index: 1, match index: 3.
+
+
+Running: test4
+Running test for matches counts: [0,0,0,3,0,0,0,3,0,0,0]
+Element index: 4, index: 0, match index: 1.
+Element index: 4, index: 1, match index: 2.
+Element index: 4, index: 2, match index: 3.
+Element index: 8, index: 0, match index: 4.
+Element index: 8, index: 1, match index: 5.
+Element index: 8, index: 2, match index: 6.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+Element index: 8, index: 1, match index: 5.
+Element index: 8, index: 0, match index: 4.
+Element index: 4, index: 2, match index: 3.
+Element index: 4, index: 1, match index: 2.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+Element index: 8, index: 0, match index: 4.
+Element index: 4, index: 2, match index: 3.
+Element index: 8, index: 0, match index: 4.
+Element index: 4, index: 2, match index: 3.
+Element index: 8, index: 0, match index: 4.
+Element index: 4, index: 2, match index: 3.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+Element index: 4, index: 0, match index: 1.
+Element index: 8, index: 2, match index: 6.
+
+
+Running: test5
+Running test for matches counts: [0,0,0,0,1,0,0,0]
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+Element index: 5, index: 0, match index: 1.
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchresourcessearchmatchindexhtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchresourcessearchmatchindexhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/resources-search-match-index.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/resources-search-match-index.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/resources-search-match-index.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/resources-search-match-index.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,130 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    WebInspector.showPanel(&quot;resources&quot;);
+
+    var FakeElement = function(elements, index, searchMatchesCount)
+    {
+        this._elements = elements;
+        this.index = index;
+        this.searchMatchesCount = searchMatchesCount;
+    };
+
+    FakeElement.prototype = {
+        // Ignore all parameters.
+        traversePreviousTreeElement: function()
+        {
+            return this.index &gt; 0 ? this._elements[this.index - 1] : null;
+        },
+
+        // Ignore all parameters.
+        traverseNextTreeElement: function()
+        {
+            return this.index &lt; this._elements.length - 1 ? this._elements[this.index + 1] : null;
+        }
+    };
+
+    function createElementsTreeWithMatchesCounts(matchesCounts)
+    {
+        var elements = [];
+        var totalMatchesCount = 0;
+        var element = new FakeElement(elements, 0, 0);
+        elements.push(element);
+        for (var i = 0; i &lt; matchesCounts.length; ++i) {
+            element = new FakeElement(elements, i + 1, matchesCounts[i]);
+            elements.push(element);
+            totalMatchesCount += matchesCounts[i];
+        }
+        elements.totalMatchesCount = totalMatchesCount;
+        return elements;
+    }
+
+    function dumpSearchResult(searchResult)
+    {
+        if (searchResult) {
+            var elementIndex = searchResult.treeElement.index;
+            var index = searchResult.index;
+            var matchIndex = searchResult.currentMatchIndex;
+            InspectorTest.addResult(&quot;Element index: &quot; + elementIndex + &quot;, index: &quot; + index + &quot;, match index: &quot; + matchIndex + &quot;.&quot;);
+        } else
+            InspectorTest.addResult(&quot;No search result found.&quot;);
+    }
+
+    function runTestForMatchesCounts(matchesCounts)
+    {
+        InspectorTest.addResult(&quot;Running test for matches counts: &quot; + JSON.stringify(matchesCounts));
+        var elements = createElementsTreeWithMatchesCounts(matchesCounts);
+        var controller = new WebInspector.ResourcesSearchController(elements[0], elements.totalMatchesCount);
+        var lastSearchResult;
+
+        // First of all make a full cycle through the tree.
+        for (var i = 0; i &lt; elements.totalMatchesCount + 1; ++i) {
+            lastSearchResult = controller.nextSearchResult(lastSearchResult ? lastSearchResult.treeElement : null);
+            dumpSearchResult(lastSearchResult);
+            if (!lastSearchResult)
+                break;
+        }
+
+        // Then make another one in the opposite direction.
+        for (var i = 0; i &lt; elements.totalMatchesCount + 1; ++i) {
+            lastSearchResult = controller.previousSearchResult(lastSearchResult ? lastSearchResult.treeElement : null);
+            dumpSearchResult(lastSearchResult);
+            if (!lastSearchResult)
+                break;
+        }
+
+        // Now dump next and previous search results for each element without search matches.
+        for (var i = 0; i &lt; elements.length; ++i) {
+            if (elements[i].searchMatchesCount === 0) {
+                var searchResult = controller.nextSearchResult(elements[i]);
+                dumpSearchResult(searchResult);
+                searchResult = controller.previousSearchResult(elements[i]);
+                dumpSearchResult(searchResult);
+            }
+        }
+        InspectorTest.addResult(&quot;&quot;);
+    }
+
+    InspectorTest.runTestSuite([
+        function test1(next)
+        {
+            runTestForMatchesCounts([1]);
+            next();
+        },
+
+        function test2(next)
+        {
+            runTestForMatchesCounts([1, 2, 3]);
+            next();
+        },
+
+        function test3(next)
+        {
+            runTestForMatchesCounts([1, 0, 2, 0, 3]);
+            next();
+        },
+
+        function test4(next)
+        {
+            runTestForMatchesCounts([0, 0, 0, 3, 0, 0, 0, 3, 0, 0, 0]);
+            next();
+        },
+
+        function test5(next)
+        {
+            runTestForMatchesCounts([0, 0, 0, 0, 1, 0, 0, 0]);
+            next();
+        }
+    ]);
+
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests search match index calculation in resources panel.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=66050&quot;&gt;Bug 66050&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchscriptssearchscopeexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorsearchscriptssearchscopeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/scripts-search-scope-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/scripts-search-scope-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/scripts-search-scope-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+
+
+Running: testIgnoreCase
+Search result #1: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.css
+  search match #1: lineNumber = 0, lineContent = 'div.searchTestUniqueString {'
+  search match #2: lineNumber = 4, lineContent = 'div.searchTestUniqueString:hover {'
+  search match #3: lineNumber = 5, lineContent = '    /* another searchTestUniqueString occurence */'
+Search result #2: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.html
+  search match #1: lineNumber = 5, lineContent = '&lt;div&gt;searchTestUniqueString&lt;/div&gt;'
+  search match #2: lineNumber = 7, lineContent = '&lt;!-- searchTestUniqueString --&gt;'
+  search match #3: lineNumber = 9, lineContent = '&lt;div id=&quot;searchTestUniqueString&quot;&gt;div text&lt;/div&gt;'
+Search result #3: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.js
+  search match #1: lineNumber = 0, lineContent = 'function searchTestUniqueString()'
+  search match #2: lineNumber = 3, lineContent = '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+  search match #3: lineNumber = 9, lineContent = '    searchTestUniqueString();'
+  search match #4: lineNumber = 10, lineContent = '    // SEARCHTestUniqueString();'
+
+Running: testCaseSensitive
+Search result #1: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.css
+  search match #1: lineNumber = 0, lineContent = 'div.searchTestUniqueString {'
+  search match #2: lineNumber = 4, lineContent = 'div.searchTestUniqueString:hover {'
+  search match #3: lineNumber = 5, lineContent = '    /* another searchTestUniqueString occurence */'
+Search result #2: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.html
+  search match #1: lineNumber = 5, lineContent = '&lt;div&gt;searchTestUniqueString&lt;/div&gt;'
+  search match #2: lineNumber = 7, lineContent = '&lt;!-- searchTestUniqueString --&gt;'
+  search match #3: lineNumber = 9, lineContent = '&lt;div id=&quot;searchTestUniqueString&quot;&gt;div text&lt;/div&gt;'
+Search result #3: uiSourceCode.uri = http://127.0.0.1:8000/inspector/search/resources/search.js
+  search match #1: lineNumber = 0, lineContent = 'function searchTestUniqueString()'
+  search match #2: lineNumber = 3, lineContent = '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+  search match #3: lineNumber = 9, lineContent = '    searchTestUniqueString();'
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchscriptssearchscopehtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchscriptssearchscopehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/scripts-search-scope.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/scripts-search-scope.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/scripts-search-scope.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/scripts-search-scope.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,80 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;title&gt;Change inspected iframe's &quot;src&quot; attribute.&lt;/title&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    WebInspector.showPanel(&quot;scripts&quot;);
+    InspectorTest.runAfterResourcesAreFinished([&quot;search.html&quot;, &quot;search.js&quot;, &quot;search.css&quot;], step1)
+
+    function runSearchAndDumpResults(searchConfig, callback)
+    {
+        var searchResults = [];
+        var scope = new WebInspector.ScriptsSearchScope(WebInspector.workspace);
+        scope.performSearch(searchConfig, searchResultCallback, searchFinishedCallback);
+
+        function searchResultCallback(searchResult)
+        {
+            searchResults.push(searchResult);
+        }
+
+        function searchFinishedCallback()
+        {
+            function filterOutEmptySearchResults(searchResult)
+            {
+                return searchResult.searchMatches.length;
+            }
+            searchResults = searchResults.filter(filterOutEmptySearchResults);
+
+            for (var i = 0; i &lt; searchResults.length; ++i) {
+                var searchResult = searchResults[i];
+                var uiSourceCode = searchResult.uiSourceCode;
+                var searchMatches = searchResult.searchMatches;
+
+                if (!searchMatches.length)
+                    continue;
+                InspectorTest.addResult(&quot;Search result #&quot; + (i + 1) + &quot;: uiSourceCode.uri = &quot; + uiSourceCode.uri());
+                for (var j = 0; j &lt; searchMatches.length; ++j) {
+                    var lineNumber = searchMatches[j].lineNumber;
+                    var lineContent = searchMatches[j].lineContent;
+                    InspectorTest.addResult(&quot;  search match #&quot; + (j + 1) + &quot;: lineNumber = &quot; + lineNumber + &quot;, lineContent = '&quot; + lineContent + &quot;'&quot;);
+                }
+            }
+            callback();
+        }
+    }
+
+    function step1()
+    {
+        InspectorTest.runTestSuite([
+            function testIgnoreCase(next)
+            {
+                var searchConfig = {};
+                searchConfig.query = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+                searchConfig.ignoreCase = true;
+                searchConfig.isRegex = false;
+                runSearchAndDumpResults(searchConfig, next);
+            },
+
+            function testCaseSensitive(next)
+            {
+                var searchConfig = {};
+                searchConfig.query = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+                searchConfig.ignoreCase = false;
+                searchConfig.isRegex = false;
+                runSearchAndDumpResults(searchConfig, next);
+            },
+        ]);
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;iframe src=&quot;resources/search.html&quot;&gt;
+&lt;p&gt;Tests that ScriptSearchScope performs search across all sources correctly.&lt;/p&gt;
+See &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=41350&quot;&gt;bug 41350&lt;/a&gt;.
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinconcatenatedscriptexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinconcatenatedscriptexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-concatenated-script-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-concatenated-script-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-concatenated-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+Tests concatenated script search in inspector debugger agent.
+
+Bug 69015  
+Debugger was enabled.
+http://127.0.0.1:8000/inspector/search/resources/search-concatenated.html
+Search matches: 
+lineNumber: 3, line: 'function searchTestUniqueString()'
+lineNumber: 6, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 12, line: '    searchTestUniqueString();'
+lineNumber: 13, line: '    // SEARCHTestUniqueString();'
+lineNumber: 18, line: 'function searchTestUniqueString2()'
+lineNumber: 21, line: '    /* searchTestUniqueString two occurences on the same line searchTestUniqueString */ } '
+lineNumber: 21, line: ' function doSomething2() { searchTestUniqueString();'
+lineNumber: 22, line: '    // SEARCHTestUniqueString();'
+
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinconcatenatedscripthtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinconcatenatedscripthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-concatenated-script.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-concatenated-script.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-concatenated-script.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-concatenated-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // This file should not match search query.
+    var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+    InspectorTest.startDebuggerTest(step1);
+
+    function step1()
+    {
+        InspectorTest.runAfterResourcesAreFinished([&quot;search-concatenated.html&quot;], step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.showScriptSource(&quot;search-concatenated.html&quot;, step3);
+    }
+
+    function step3()
+    {
+        var url = &quot;http://127.0.0.1:8000/inspector/search/resources/search-concatenated.html&quot;;
+        var scripts = InspectorTest.queryScripts(function(s) { return s.sourceURL === url; });
+        var contentProvider = new WebInspector.ConcatenatedScriptsContentProvider(scripts);
+        InspectorTest.addResult(url);
+        contentProvider.searchInContent(text, false, false, step4);
+    }
+
+    function step4(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+        InspectorTest.completeDebuggerTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;Tests concatenated script search in inspector debugger agent.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=69015&quot;&gt;Bug 69015&lt;/a&gt;
+
+&lt;iframe src=&quot;resources/search-concatenated.html&quot; onload=&quot;runTest()&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinnonexistingresourceexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinnonexistingresourceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-non-existing-resource-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-non-existing-resource-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-non-existing-resource-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Tests single resource search in inspector page agent with non existing resource url does not cause a crash.
+
+Bug 69767  
+Search matches: 
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinnonexistingresourcehtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinnonexistingresourcehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-non-existing-resource.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-non-existing-resource.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-non-existing-resource.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-non-existing-resource.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // This file should not match search query.
+    var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+    InspectorTest.runAfterResourcesAreFinished([&quot;search.js&quot;], step2);
+
+    function step2()
+    {
+        var resource = WebInspector.resourceForURL(&quot;http://127.0.0.1:8000/inspector/search/resources/search.js&quot;);
+        var url = &quot;http://127.0.0.1:8000/inspector/search/resources/non-existing.js&quot;;
+        PageAgent.searchInResource(resource.frameId, url, text, step3);
+    }
+
+    function step3(error, searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;Tests single resource search in inspector page agent with non existing resource url does not cause a crash.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=69767&quot;&gt;Bug 69767&lt;/a&gt;
+
+&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinresourceexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinresourceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resource-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-resource-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resource-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resource-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+Tests single resource search in inspector page agent.
+
+Bug 68998  
+http://127.0.0.1:8000/inspector/search/resources/search.js
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+lineNumber: 10, line: '    // SEARCHTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+lineNumber: 10, line: '    // SEARCHTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinresourcehtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinresourcehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resource.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-resource.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resource.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resource.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,62 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.runAfterResourcesAreFinished([&quot;search.js&quot;], step2);
+    var resource;
+
+    function step2()
+    {
+        resource = WebInspector.resourceForURL(&quot;http://127.0.0.1:8000/inspector/search/resources/search.js&quot;);
+        InspectorTest.addResult(resource.url);
+
+        // This file should not match search query.
+        var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+        resource.searchInContent(text, false, false, step3);
+    }
+
+    function step3(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        // This file should not match search query.
+        var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+        resource.searchInContent(text, true, false, step4);
+    }
+
+    function step4(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        var text = &quot;[a-z]earchTestUniqueString&quot;;
+        resource.searchInContent(text, false, true, step5);
+    }
+
+    function step5(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        var text = &quot;[a-z]earchTestUniqueString&quot;;
+        resource.searchInContent(text, true, true, step6);
+    }
+
+    function step6(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;Tests single resource search in inspector page agent.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=68998&quot;&gt;Bug 68998&lt;/a&gt;
+
+&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinresourcesexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinresourcesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resources-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-resources-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resources-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resources-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+Tests backend search in inspector.
+
+Bug 61205  
+Case insensitive, non regex:
+Search results: 
+url: http://127.0.0.1:8000/inspector/search/resources/search.css, matchesCount: 3
+url: http://127.0.0.1:8000/inspector/search/resources/search.js, matchesCount: 5
+url: http://127.0.0.1:8000/inspector/search/resources/search.html, matchesCount: 3
+
+Case sensitive, non regex:
+Search results: 
+url: http://127.0.0.1:8000/inspector/search/resources/search.css, matchesCount: 3
+url: http://127.0.0.1:8000/inspector/search/resources/search.js, matchesCount: 4
+url: http://127.0.0.1:8000/inspector/search/resources/search.html, matchesCount: 3
+
+Case insensitive, regex:
+Search results: 
+url: http://127.0.0.1:8000/inspector/search/resources/search.css, matchesCount: 3
+url: http://127.0.0.1:8000/inspector/search/resources/search.js, matchesCount: 5
+url: http://127.0.0.1:8000/inspector/search/resources/search.html, matchesCount: 3
+
+Case sensitive, regex:
+Search results: 
+url: http://127.0.0.1:8000/inspector/search/resources/search.css, matchesCount: 3
+url: http://127.0.0.1:8000/inspector/search/resources/search.js, matchesCount: 4
+url: http://127.0.0.1:8000/inspector/search/resources/search.html, matchesCount: 3
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinresourceshtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinresourceshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resources.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-resources.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resources.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-resources.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    // This file should not match search query.
+    var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+
+    InspectorTest.addResult(&quot;Case insensitive, non regex:&quot;);
+    PageAgent.searchInResources(text, false, false, step2);
+
+    function step2(error, searchResults)
+    {
+        InspectorTest.dumpSearchResults(searchResults);
+        InspectorTest.addResult(&quot;Case sensitive, non regex:&quot;);
+        PageAgent.searchInResources(text, true, false, step3);
+    }
+
+    function step3(error, searchResults)
+    {
+        InspectorTest.dumpSearchResults(searchResults);
+        InspectorTest.addResult(&quot;Case insensitive, regex:&quot;);
+        PageAgent.searchInResources(text, false, true, step4);
+    }
+
+    function step4(error, searchResults)
+    {
+        InspectorTest.dumpSearchResults(searchResults);
+        InspectorTest.addResult(&quot;Case sensitive, regex:&quot;);
+        PageAgent.searchInResources(text, true, true, step5);
+    }
+
+    function step5(error, searchResults)
+    {
+        InspectorTest.dumpSearchResults(searchResults);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;Tests backend search in inspector.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=61205&quot;&gt;Bug 61205&lt;/a&gt;
+
+&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinscriptexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinscriptexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-script-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-script-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-script-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-script-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,29 @@
</span><ins>+Tests script search in inspector debugger agent.
+
+Bug 69015  
+Debugger was enabled.
+http://127.0.0.1:8000/inspector/search/resources/search.js
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+lineNumber: 10, line: '    // SEARCHTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+lineNumber: 10, line: '    // SEARCHTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+
+Debugger was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinscripthtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinscripthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-script.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-script.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-script.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-script.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,75 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.startDebuggerTest(step1);
+    var script;
+
+    function step1()
+    {
+        InspectorTest.runAfterResourcesAreFinished([&quot;search.js&quot;], step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.showScriptSource(&quot;search.js&quot;, step3);
+    }
+
+    function step3()
+    {
+        var url = &quot;http://127.0.0.1:8000/inspector/search/resources/search.js&quot;;
+        var scripts = InspectorTest.queryScripts(function(s) { return s.sourceURL === url; });
+        script = scripts[0];
+        InspectorTest.addResult(script.sourceURL);
+
+        // This file should not match search query.
+        var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+        script.searchInContent(text, false, false, step4);
+    }
+
+    function step4(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        // This file should not match search query.
+        var text = &quot;searchTest&quot; + &quot;UniqueString&quot;;
+        script.searchInContent(text, true, false, step5);
+    }
+
+    function step5(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        var text = &quot;[a-z]earchTestUniqueString&quot;;
+        script.searchInContent(text, false, true, step6);
+    }
+
+    function step6(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        var text = &quot;[a-z]earchTestUniqueString&quot;;
+        script.searchInContent(text, true, true, step7);
+    }
+
+    function step7(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        InspectorTest.completeDebuggerTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;Tests script search in inspector debugger agent.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=69015&quot;&gt;Bug 69015&lt;/a&gt;
+
+&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinstaticexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinstaticexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-static-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-static-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-static-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-static-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+Tests static content provider search.
+
+Bug 70354  
+http://127.0.0.1:8000/inspector/search/resources/search.js
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+
+Search matches: 
+lineNumber: 0, line: 'function searchTestUniqueString()'
+lineNumber: 3, line: '    // searchTestUniqueString two occurences on the same line searchTestUniqueString'
+lineNumber: 9, line: '    searchTestUniqueString();'
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchinstatichtmlfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchinstatichtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-static.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-in-static.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-static.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-in-static.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,67 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;search-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    InspectorTest.runAfterResourcesAreFinished([&quot;search.js&quot;], step2);
+    var resource;
+    var staticContentProvider;
+
+    function step2()
+    {
+        resource = WebInspector.resourceForURL(&quot;http://127.0.0.1:8000/inspector/search/resources/search.js&quot;);
+        resource.requestContent(step3);
+    }
+
+    function step3()
+    {
+        staticContentProvider = new WebInspector.StaticContentProvider(WebInspector.resourceTypes.Script, resource.content);
+        InspectorTest.addResult(resource.url);
+
+        var text = &quot;searchTestUniqueString&quot;;
+        staticContentProvider.searchInContent(text, true, false, step4);
+    }
+
+    function step4(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        var text = &quot;searchTestUniqueString&quot;;
+        staticContentProvider.searchInContent(text, true, false, step5);
+    }
+
+    function step5(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        var text = &quot;[a-z]earchTestUniqueString&quot;;
+        staticContentProvider.searchInContent(text, false, true, step6);
+    }
+
+    function step6(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        var text = &quot;[a-z]earchTestUniqueString&quot;;
+        staticContentProvider.searchInContent(text, true, true, step7);
+    }
+
+    function step7(searchMatches)
+    {
+        InspectorTest.dumpSearchMatches(searchMatches);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body&gt;
+&lt;p&gt;Tests static content provider search.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=70354&quot;&gt;Bug 70354&lt;/a&gt;
+
+&lt;iframe src=&quot;resources/search.html&quot; onload=&quot;runTest()&quot;&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestssearchsearchtestjsfromrev164517trunkLayoutTestshttptestsinspectorsearchsearchtestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/search/search-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/search/search-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/search/search-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/search/search-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+var initialize_SearchTest = function() {
+
+InspectorTest.dumpSearchResults = function(searchResults)
+{
+    function comparator(a, b)
+    {
+        a.url.localeCompare(b.url);
+    }
+    searchResults.sort(comparator);
+
+    InspectorTest.addResult(&quot;Search results: &quot;);
+    for (var i = 0; i &lt; searchResults.length; i++)
+        InspectorTest.addResult(&quot;url: &quot; + searchResults[i].url + &quot;, matchesCount: &quot; + searchResults[i].matchesCount);
+    InspectorTest.addResult(&quot;&quot;);
+};
+
+InspectorTest.dumpSearchMatches = function(searchMatches)
+{
+    InspectorTest.addResult(&quot;Search matches: &quot;);
+    for (var i = 0; i &lt; searchMatches.length; i++)
+        InspectorTest.addResult(&quot;lineNumber: &quot; + searchMatches[i].lineNumber + &quot;, line: '&quot; + searchMatches[i].lineContent + &quot;'&quot;);
+    InspectorTest.addResult(&quot;&quot;);
+};
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracescspinjectedcontentwarningcontainsstacktraceexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorstacktracescspinjectedcontentwarningcontainsstacktraceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-injected-content-warning-contains-stacktrace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+CONSOLE MESSAGE: Refused to load the image 'http://127.0.0.1:8000/resources/abe.png' because it violates the following Content Security Policy directive: &quot;img-src 'none'&quot;.
+
+This test injects a blocked image from JavaScript. The resulting console error should contain a stack trace.
+
+
+Message[0]: csp-injected-content-warning-contains-stacktrace.html:12 Refused to load the image 'http://127.0.0.1:8000/resources/abe.png' because it violates the following Content Security Policy directive: &quot;img-src 'none'&quot;.
+
+Stack Trace:
+
+    url: http://127.0.0.1:8000/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html
+    function: thisTest
+    line: 12
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracescspinjectedcontentwarningcontainsstacktracehtmlfromrev164517trunkLayoutTestshttptestsinspectorstacktracescspinjectedcontentwarningcontainsstacktracehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-injected-content-warning-contains-stacktrace.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/csp-injected-content-warning-contains-stacktrace.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-injected-content-warning-contains-stacktrace.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-injected-content-warning-contains-stacktrace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+    &lt;head&gt;
+        &lt;meta http-equiv='Content-Security-Policy' content=&quot;img-src 'none'&quot;&gt;
+        &lt;script src='/inspector/console-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/debugger-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/inspector-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/stacktraces/resources/stacktrace-test.js'&gt;&lt;/script&gt;
+        &lt;script&gt;
+            function thisTest() {
+                var img = document.createElement('img');
+                img.src = '/resources/abe.png';
+                document.body.appendChild(img);
+            }
+        &lt;/script&gt;
+    &lt;/head&gt;
+    &lt;body onload='runTest()'&gt;
+        &lt;p&gt;This test injects a blocked image from JavaScript. The resulting console
+        error should contain a stack trace.&lt;/p&gt;
+    &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracescspinlinewarningcontainsstacktraceexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorstacktracescspinlinewarningcontainsstacktraceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-inline-warning-contains-stacktrace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: Refused to execute inline script because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
+
+This test injects an inline script from JavaScript. The resulting console error should contain a stack trace.
+
+Message[0]: [native code]:0 Refused to execute inline script because it violates the following Content Security Policy directive: &quot;script-src 'self'&quot;.
+
+Stack Trace:
+
+    url: [native code]
+    function: appendChild
+    line: 0
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracescspinlinewarningcontainsstacktracehtmlfromrev164517trunkLayoutTestshttptestsinspectorstacktracescspinlinewarningcontainsstacktracehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-inline-warning-contains-stacktrace.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/csp-inline-warning-contains-stacktrace.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-inline-warning-contains-stacktrace.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-inline-warning-contains-stacktrace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+    &lt;head&gt;
+        &lt;meta http-equiv='Content-Security-Policy' content=&quot;script-src 'self'&quot;&gt;
+        &lt;script src='/inspector/console-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/debugger-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/inspector-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/stacktraces/resources/stacktrace-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/stacktraces/resources/csp-inline-test.js'&gt;&lt;/script&gt;
+    &lt;/head&gt;
+    &lt;body&gt;
+        &lt;p&gt;This test injects an inline script from JavaScript. The resulting
+        console error should contain a stack trace.&lt;/p&gt;
+    &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracescspsetIntervalwarningcontainsstacktraceexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorstacktracescspsetIntervalwarningcontainsstacktraceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setInterval-warning-contains-stacktrace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: Refused to evaluate script because it violates the following Content Security Policy directive: &quot;script-src 'self' 'unsafe-inline'&quot;.
+
+This test attempts to evaluate script via setInterval. The resulting console error should contain a stack trace tied to line 11.
+
+Message[0]: csp-setInterval-warning-contains-stacktrace.html:11 Refused to evaluate script because it violates the following Content Security Policy directive: &quot;script-src 'self' 'unsafe-inline'&quot;.
+
+Stack Trace:
+
+    url: http://127.0.0.1:8000/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html
+    function: thisTest
+    line: 11
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracescspsetIntervalwarningcontainsstacktracehtmlfromrev164517trunkLayoutTestshttptestsinspectorstacktracescspsetIntervalwarningcontainsstacktracehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setInterval-warning-contains-stacktrace.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setInterval-warning-contains-stacktrace.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setInterval-warning-contains-stacktrace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+    &lt;head&gt;
+        &lt;meta http-equiv='Content-Security-Policy' content=&quot;script-src 'self' 'unsafe-inline'&quot;&gt;
+        &lt;script src='/inspector/console-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/debugger-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/inspector-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/stacktraces/resources/stacktrace-test.js'&gt;&lt;/script&gt;
+        &lt;script&gt;
+            function thisTest() {
+                var id = setInterval('log(&quot;FAIL&quot;)', 0);
+                if (id != 0)
+                    log('FAIL: Return value for string (should be 0): ' + id);
+                else
+                    log('PASS: Return value for blocked setInterval is 0');
+            }
+        &lt;/script&gt;
+    &lt;/head&gt;
+    &lt;body onload='runTest()'&gt;
+        &lt;p&gt;This test attempts to evaluate script via setInterval. The resulting console
+        error should contain a stack trace tied to line 11.&lt;/p&gt;
+    &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracescspsetTimeoutwarningcontainsstacktraceexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorstacktracescspsetTimeoutwarningcontainsstacktraceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setTimeout-warning-contains-stacktrace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+CONSOLE MESSAGE: Refused to evaluate script because it violates the following Content Security Policy directive: &quot;script-src 'self' 'unsafe-inline'&quot;.
+
+This test attempts to evaluate script via setTimeout. The resulting console error should contain a stack trace tied to line 11.
+
+Message[0]: csp-setTimeout-warning-contains-stacktrace.html:11 Refused to evaluate script because it violates the following Content Security Policy directive: &quot;script-src 'self' 'unsafe-inline'&quot;.
+
+Stack Trace:
+
+    url: http://127.0.0.1:8000/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html
+    function: thisTest
+    line: 11
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracescspsetTimeoutwarningcontainsstacktracehtmlfromrev164517trunkLayoutTestshttptestsinspectorstacktracescspsetTimeoutwarningcontainsstacktracehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setTimeout-warning-contains-stacktrace.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/csp-setTimeout-warning-contains-stacktrace.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setTimeout-warning-contains-stacktrace.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/csp-setTimeout-warning-contains-stacktrace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+&lt;!DOCTYPE html&gt;
+&lt;html&gt;
+    &lt;head&gt;
+        &lt;meta http-equiv='Content-Security-Policy' content=&quot;script-src 'self' 'unsafe-inline'&quot;&gt;
+        &lt;script src='/inspector/console-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/debugger-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/inspector-test.js'&gt;&lt;/script&gt;
+        &lt;script src='/inspector/stacktraces/resources/stacktrace-test.js'&gt;&lt;/script&gt;
+        &lt;script&gt;
+            function thisTest() {
+                var id = setTimeout('log(&quot;FAIL&quot;)', 0);
+                if (id != 0)
+                    log('FAIL: Return value for string (should be 0): ' + id);
+                else
+                    log('PASS: Return value for blocked setInterval is 0');
+            }
+        &lt;/script&gt;
+    &lt;/head&gt;
+    &lt;body onload='runTest()'&gt;
+        &lt;p&gt;This test attempts to evaluate script via setTimeout. The resulting console
+        error should contain a stack trace tied to line 11.&lt;/p&gt;
+    &lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracesresourcescspinlinetestjsfromrev164517trunkLayoutTestshttptestsinspectorstacktracesresourcescspinlinetestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/csp-inline-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/resources/csp-inline-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/csp-inline-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/csp-inline-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+function thisTest() {
+    var s = document.createElement('script');
+    s.innerText = &quot;alert('FAIL.');&quot;
+    document.body.appendChild(s);
+}
+window.onload = runTest;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstacktracesresourcesstacktracetestjsfromrev164517trunkLayoutTestshttptestsinspectorstacktracesresourcesstacktracetestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/stacktrace-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/stacktraces/resources/stacktrace-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/stacktrace-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stacktraces/resources/stacktrace-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,22 @@
</span><ins>+function test() {
+    InspectorTest.addConsoleSniffer(addMessage);
+
+    function addMessage(message) {
+        var messages = WebInspector.consoleView._visibleMessages;
+        for (var i = 0; i &lt; messages.length; ++i) {
+            var m = messages[i];
+            InspectorTest.addResult(&quot;Message[&quot; + i + &quot;]: &quot; + WebInspector.displayNameForURL(m.url) + &quot;:&quot; + m.line + &quot; &quot; + m.message);
+            var trace = m.stackTrace;
+            if (!trace) {
+                InspectorTest.addResult(&quot;FAIL: no stack trace attached to message #&quot; + i);
+            } else {
+                InspectorTest.addResult(&quot;Stack Trace:\n&quot;);
+                InspectorTest.addResult(&quot;    url: &quot; + trace[0].url);
+                InspectorTest.addResult(&quot;    function: &quot; + trace[0].functionName);
+                InspectorTest.addResult(&quot;    line: &quot; + trace[0].lineNumber);
+            }
+        }
+        InspectorTest.completeTest();
+    }
+    InspectorTest.evaluateInPage(&quot;thisTest()&quot;);
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesmodifycrossdomainrulecssfromrev164517trunkLayoutTestshttptestsinspectorstylesmodifycrossdomainrulecss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/styles/modify-cross-domain-rule.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/styles/modify-cross-domain-rule.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/styles/modify-cross-domain-rule.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/styles/modify-cross-domain-rule.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+#inspected {
+  color: green;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesresourcesstylesredirectedcsscssfromrev164517trunkLayoutTestshttptestsinspectorstylesresourcesstylesredirectedcsscss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/styles-redirected-css.css (from rev 164517, trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/styles-redirected-css.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/styles-redirected-css.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+div {
+    background-color: red;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesresourcesstylesredirectedcssphpfromrev164517trunkLayoutTestshttptestsinspectorstylesresourcesstylesredirectedcssphp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/styles-redirected-css.php (from rev 164517, trunk/LayoutTests/http/tests/inspector/styles/resources/styles-redirected-css.php) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/styles-redirected-css.php                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/styles-redirected-css.php        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+&lt;?php
+    header(&quot;Location: styles-redirected-css.css&quot;);
+?&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesresourcesxsltransformedxslfromrev164517trunkLayoutTestshttptestsinspectorstylesresourcesxsltransformedxsl"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/xsl-transformed.xsl (from rev 164517, trunk/LayoutTests/http/tests/inspector/styles/resources/xsl-transformed.xsl) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/xsl-transformed.xsl                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/styles/resources/xsl-transformed.xsl        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+&lt;?xml version='1.0' encoding='utf-8'?&gt;
+&lt;xsl:stylesheet version=&quot;1.0&quot;
+                id=&quot;stylesheet&quot;
+                xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot;&gt;
+    &lt;xsl:template match=&quot;items&quot;&gt;
+        &lt;html&gt;
+        &lt;head&gt;
+        &lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+        &lt;script src=&quot;../elements-test.js&quot;&gt;&lt;/script&gt;
+        &lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+        &lt;script&gt;
+        function test()
+        {
+            InspectorTest.reloadPage(step1);
+
+            function step1()
+            {
+                InspectorTest.runAfterResourcesAreFinished([&quot;xsl-transformed.xsl&quot;], InspectorTest.expandElementsTree.bind(InspectorTest, step2));
+            }
+
+            function step2()
+            {
+                InspectorTest.dumpElementsTree();
+                InspectorTest.completeTest();
+            }
+        }
+        &lt;/script&gt;
+        &lt;/head&gt;
+        &lt;body onload=&quot;runTest()&quot;&gt;
+        &lt;p&gt;Tests that XSL-transformed documents in the main frame are rendered correctly in the Elements panel. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=111313&quot;&gt;Bug 111313&lt;/a&gt;&lt;/p&gt;
+        &lt;xsl:for-each select=&quot;item&quot;&gt;
+          &lt;span&gt;&lt;xsl:value-of select=&quot;.&quot;/&gt;&lt;/span&gt;
+        &lt;/xsl:for-each&gt;
+        &lt;/body&gt;
+        &lt;/html&gt;
+    &lt;/xsl:template&gt;
+&lt;/xsl:stylesheet&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesstylesredirectedcssexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorstylesstylesredirectedcssexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/styles/styles-redirected-css-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/styles/styles-redirected-css-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/styles/styles-redirected-css-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests that styles in redirected css are editable.
+
+Bug 68631
+test
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesstylesredirectedcsshtmlfromrev164517trunkLayoutTestshttptestsinspectorstylesstylesredirectedcsshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/styles/styles-redirected-css.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/styles/styles-redirected-css.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/styles/styles-redirected-css.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/styles/styles-redirected-css.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-redirected-css.php&quot; type=&quot;text/css&quot;&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;test_div&quot;, step1);
+
+    function step1()
+    {
+        var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(&quot;background-color&quot;);
+        treeItem.property.setDisabled(true, step2);
+    }
+
+    function step2(newStyle)
+    {
+        InspectorTest.assertTrue(!!newStyle, &quot;Could not disable style in redirected css.&quot;);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that styles in redirected css are editable.&lt;/p&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=68631&quot;&gt;Bug 68631&lt;/a&gt;
+
+&lt;div id=&quot;test_div&quot;&gt;test&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesxsltransformedexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorstylesxsltransformedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/styles/xsl-transformed-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/styles/xsl-transformed-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/styles/xsl-transformed-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+Tests that XSL-transformed documents in the main frame are rendered correctly in the Elements panel. Bug 111313
+
+OneTwoThree
+Page reloaded.
+- &lt;html&gt;
+    - &lt;head&gt;
+          &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;&gt;
+          &lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+          &lt;script src=&quot;../elements-test.js&quot;&gt;&lt;/script&gt;
+          &lt;script src=&quot;../resources-test.js&quot;&gt;&lt;/script&gt;
+        - &lt;script&gt;
+              function test()\n        {\n            InspectorTest.reloadPage(step1);\n\n            function step1()\n            {\n                InspectorTest.runAfterResourcesAreFinished([&quot;xsl-transformed.xsl&quot;], InspectorTest.expandElementsTree.bind(InspectorTest, step2));\n            }\n\n            function step2()\n            {\n                InspectorTest.dumpElementsTree();\n                InspectorTest.completeTest();\n            }\n        }\n
+          &lt;/script&gt;
+      &lt;/head&gt;
+    - &lt;body onload=&quot;runTest()&quot;&gt;
+        - &lt;p&gt;
+              &quot;Tests that XSL-transformed documents in the main frame are rendered correctly in the Elements panel. &quot;
+              &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=111313&quot;&gt;Bug 111313&lt;/a&gt;
+          &lt;/p&gt;
+          &lt;span&gt;One&lt;/span&gt;
+          &lt;span&gt;Two&lt;/span&gt;
+          &lt;span&gt;Three&lt;/span&gt;
+        - &lt;div&gt;
+            - &lt;div&gt;
+                - &lt;div class=&quot;output&quot; id=&quot;output&quot; style=&quot;white-space: pre;&quot;&gt;
+                      &quot;Page reloaded.&quot;
+                      &lt;br&gt;
+                  &lt;/div&gt;
+              &lt;/div&gt;
+          &lt;/div&gt;
+      &lt;/body&gt;
+  &lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesxsltransformedxmlfromrev164517trunkLayoutTestshttptestsinspectorstylesxsltransformedxml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/styles/xsl-transformed.xml (from rev 164517, trunk/LayoutTests/http/tests/inspector/styles/xsl-transformed.xml) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/styles/xsl-transformed.xml                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/styles/xsl-transformed.xml        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+&lt;?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;resources/xsl-transformed.xsl&quot;?&gt;
+&lt;items&gt;
+  &lt;item&gt;One&lt;/item&gt;
+  &lt;item&gt;Two&lt;/item&gt;
+  &lt;item&gt;Three&lt;/item&gt;
+&lt;/items&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesheetsourcemappingexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorstylesheetsourcemappingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stylesheet-source-mapping-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stylesheet-source-mapping-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stylesheet-source-mapping-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests SourceMap and StyleSheetMapping.
+
+PASS
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsstylesheetsourcemappinghtmlfromrev164517trunkLayoutTestshttptestsinspectorstylesheetsourcemappinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/stylesheet-source-mapping.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/stylesheet-source-mapping.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/stylesheet-source-mapping.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/stylesheet-source-mapping.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,90 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;debugger-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;workspace-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.createWorkspace();
+    var cssModel = new WebInspector.CSSStyleModel(InspectorTest.testWorkspace);
+    var mapping = new WebInspector.SASSSourceMapping(cssModel, InspectorTest.testWorkspace, InspectorTest.testNetworkWorkspaceProvider);
+    var stylesSourceMapping = new WebInspector.StylesSourceMapping(cssModel, InspectorTest.testWorkspace);
+
+    InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(cssUISourceCodeAdded);
+    InspectorTest.addMockUISourceCodeToWorkspace(&quot;http://localhost:8000/inspector/resources/example.css&quot;, WebInspector.resourceTypes.Stylesheet, &quot;&quot;);
+    var event = { data: createMockStyleSheetResource(&quot;http://localhost:8000/inspector/resources/example.css&quot;, &quot;text/css&quot;,
+        &quot;/* Comment */\n&quot; +
+        &quot;a {\n&quot; +
+        &quot;  foo: bar;\n&quot; +
+        &quot;  /* SOME COMMENT */\n&quot; +
+        &quot;  font-size: 12px; }\n\n&quot; +
+        &quot;/*# sourceMappingURL=example.css.map */&quot;) };
+    stylesSourceMapping._resourceAdded(event);
+    mapping._resourceAdded(event);
+    afterStyleSheetAdded();
+
+    function createMockStyleSheetResource(url, mimeType, content)
+    {
+        const documentURL = &quot;http://localhost:8000/inspector/stylesheet-source-mapping.html&quot;;
+        const frame = WebInspector.resourceTreeModel.mainFrame;
+        var resource = new WebInspector.Resource(null, url, documentURL, frame.id, frame.loaderId, WebInspector.resourceTypes.Stylesheet, mimeType);
+        resource.requestContent = function(callback)
+        {
+            callback(content, false, mimeType);
+        }
+        return resource;
+    }
+
+
+    function cssUISourceCodeAdded(uiSourceCode)
+    {
+        InspectorTest.waitForWorkspaceUISourceCodeAddedEvent(scssUISourceCodeAdded);
+    }
+
+    function scssUISourceCodeAdded(uiSourceCode)
+    {
+    }
+
+    function rawLocationToUILocation(line, column, url)
+    {
+        return cssModel.rawLocationToUILocation(new WebInspector.CSSLocation(&quot;http://localhost:8000/inspector/resources/example.css&quot;, line, column));
+    }
+
+    function afterStyleSheetAdded()
+    {
+        var cssUISourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/example.css&quot;);
+        var scssUISourceCode = InspectorTest.testWorkspace.uiSourceCodeForOriginURL(&quot;http://localhost:8000/inspector/resources/example.scss&quot;);
+
+        InspectorTest.checkUILocation(cssUISourceCode, 0, 3, rawLocationToUILocation(0, 3));
+        InspectorTest.checkUILocation(scssUISourceCode, 1, 0, rawLocationToUILocation(1, 0));
+        InspectorTest.checkUILocation(scssUISourceCode, 2, 2, rawLocationToUILocation(2, 4));
+        InspectorTest.checkUILocation(scssUISourceCode, 2, 5, rawLocationToUILocation(2, 6));
+        InspectorTest.checkUILocation(scssUISourceCode, 2, 7, rawLocationToUILocation(2, 9));
+        InspectorTest.checkUILocation(scssUISourceCode, 2, 10, rawLocationToUILocation(3, 7));
+        InspectorTest.checkUILocation(scssUISourceCode, 4, 2, rawLocationToUILocation(4, 8));
+        InspectorTest.checkUILocation(scssUISourceCode, 4, 2, rawLocationToUILocation(4, 10));
+        InspectorTest.checkUILocation(scssUISourceCode, 4, 11, rawLocationToUILocation(4, 11));
+        InspectorTest.checkUILocation(scssUISourceCode, 4, 13, rawLocationToUILocation(4, 15));
+        InspectorTest.checkUILocation(scssUISourceCode, 4, 17, rawLocationToUILocation(4, 20));
+        scssUISourceCode.requestContent(didRequestContent);
+
+        function didRequestContent(content, contentEncoded, mimeType)
+        {
+            InspectorTest.assertEquals(0, content.indexOf(&quot;/* Comment */&quot;));
+            InspectorTest.addResult(&quot;PASS&quot;);
+            InspectorTest.completeTest();
+        }
+    }
+}
+
+&lt;/script&gt;
+
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests SourceMap and StyleSheetMapping.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttpteststimelinetestjsfromrev164517trunkLayoutTestshttptestsinspectortimelinetestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/timeline-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/timeline-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/timeline-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/timeline-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,237 @@
</span><ins>+var initialize_Timeline = function() {
+
+// Scrub values when printing out these properties in the record or data field.
+InspectorTest.timelinePropertyFormatters = {
+    children: &quot;formatAsTypeName&quot;,
+    endTime: &quot;formatAsTypeName&quot;,
+    requestId: &quot;formatAsTypeName&quot;,
+    startTime: &quot;formatAsTypeName&quot;,
+    stackTrace: &quot;formatAsTypeName&quot;,
+    url: &quot;formatAsTypeName&quot;,
+    scriptName: &quot;formatAsTypeName&quot;,
+    usedHeapSize: &quot;formatAsTypeName&quot;,
+    usedHeapSizeDelta: &quot;skip&quot;,
+    mimeType: &quot;formatAsTypeName&quot;,
+    id: &quot;formatAsTypeName&quot;,
+    counters: &quot;formatAsTypeName&quot;,
+    timerId: &quot;formatAsTypeName&quot;,
+    scriptLine: &quot;formatAsTypeName&quot;,
+    lineNumber: &quot;formatAsTypeName&quot;,
+    frameId: &quot;formatAsTypeName&quot;,
+    encodedDataLength: &quot;formatAsTypeName&quot;,
+    identifier: &quot;formatAsTypeName&quot;,
+    clip: &quot;formatAsTypeName&quot;,
+    root: &quot;formatAsTypeName&quot;,
+};
+
+InspectorTest.startTimeline = function(callback)
+{
+    InspectorTest._timelineRecords = [];
+    WebInspector.panel(&quot;timeline&quot;).toggleTimelineButton.toggled = true;
+    WebInspector.panel(&quot;timeline&quot;)._model._collectionEnabled = true;
+    TimelineAgent.start(5, true, false, callback);
+    function addRecord(record)
+    {
+        InspectorTest._timelineRecords.push(record);
+        for (var i = 0; record.children &amp;&amp; i &lt; record.children.length; ++i)
+            addRecord(record.children[i]);
+    }
+    InspectorTest._addTimelineEvent = function(event)
+    {
+        addRecord(event.data);
+    }
+    WebInspector.timelineManager.addEventListener(WebInspector.TimelineManager.EventTypes.TimelineEventRecorded, InspectorTest._addTimelineEvent);
+};
+
+
+InspectorTest.waitForRecordType = function(recordType, callback)
+{
+    WebInspector.timelineManager.addEventListener(WebInspector.TimelineManager.EventTypes.TimelineEventRecorded, addEvent);
+
+    function addEvent(event)
+    {
+        addRecord(event.data);
+    }
+    function addRecord(record)
+    {
+        if (record.type !== WebInspector.TimelineModel.RecordType[recordType]) {
+            for (var i = 0; record.children &amp;&amp; i &lt; record.children.length; ++i)
+                addRecord(record.children[i]);
+            return;
+        }
+        WebInspector.timelineManager.removeEventListener(WebInspector.TimelineManager.EventTypes.TimelineEventRecorded, addEvent);
+        callback(record);
+    }
+}
+
+InspectorTest.stopTimeline = function(callback)
+{
+    function didStop()
+    {
+        WebInspector.timelineManager.removeEventListener(WebInspector.TimelineManager.EventTypes.TimelineEventRecorded, InspectorTest._addTimelineEvent);
+        WebInspector.panel(&quot;timeline&quot;).toggleTimelineButton.toggled = false;
+        WebInspector.panel(&quot;timeline&quot;)._model._collectionEnabled = false;
+        callback(InspectorTest._timelineRecords);
+    }
+    TimelineAgent.stop(didStop);
+};
+
+InspectorTest.evaluateWithTimeline = function(actions, doneCallback)
+{
+    InspectorTest.startTimeline(step1);
+    function step1()
+    {
+        InspectorTest.evaluateInPage(actions, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.stopTimeline(doneCallback);
+    }
+
+}
+
+InspectorTest.performActionsAndPrint = function(actions, typeName, includeTimeStamps)
+{
+    function callback()
+    {
+        InspectorTest.printTimelineRecords(typeName);
+        if (includeTimeStamps) {
+            InspectorTest.addResult(&quot;Timestamp records: &quot;);
+            InspectorTest.printTimestampRecords(typeName);
+        }
+        InspectorTest.completeTest();
+    }
+    InspectorTest.evaluateWithTimeline(actions, callback)
+};
+
+InspectorTest.printTimelineRecords = function(typeName, formatter)
+{
+    InspectorTest.innerPrintTimelineRecords(InspectorTest._timelineRecords, typeName, formatter);
+};
+
+InspectorTest.printTimestampRecords = function(typeName, formatter)
+{
+    InspectorTest.innerPrintTimelineRecords(WebInspector.panels.timeline._presentationModel.eventDividerRecords().select(&quot;_record&quot;), typeName, formatter);
+};
+
+InspectorTest.innerPrintTimelineRecords = function(records, typeName, formatter)
+{
+    for (var i = 0; i &lt; records.length; ++i) {
+        if (typeName &amp;&amp; records[i].type === WebInspector.TimelineModel.RecordType[typeName])
+            InspectorTest.printTimelineRecordProperties(records[i]);
+        if (formatter)
+            formatter(records[i]);
+    }
+};
+
+// Dump just the record name, indenting output on separate lines for subrecords
+InspectorTest.dumpTimelineRecord = function(record, level) 
+{
+    if (typeof level !== &quot;number&quot;)
+        level = 0;
+    var prefix = &quot;&quot;;
+    var suffix = &quot;&quot;;
+    for (var i = 0; i &lt; level ; ++i)
+        prefix = &quot;----&quot; + prefix;
+    if (level &gt; 0)
+        prefix = prefix + &quot;&gt; &quot;;
+    if (record.type === WebInspector.TimelineModel.RecordType.TimeStamp) {
+        suffix = &quot; : &quot; + record.data.message;
+    }
+    InspectorTest.addResult(prefix + InspectorTest._timelineAgentTypeToString(record.type) + suffix);
+
+    var numChildren = record.children ? record.children.length : 0;
+    for (var i = 0; i &lt; numChildren; ++i)
+        InspectorTest.dumpTimelineRecord(record.children[i], level + 1);
+};
+
+InspectorTest.dumpTimelineRecords = function(timelineRecords)
+{
+    for (var i = 0; i &lt; timelineRecords.length; ++i)
+        InspectorTest.dumpTimelineRecord(timelineRecords[i], 0);
+};
+
+InspectorTest.printTimelineRecordProperties = function(record)
+{
+    InspectorTest.addResult(InspectorTest._timelineAgentTypeToString(record.type) + &quot; Properties:&quot;);
+    // Use this recursive routine to print the properties
+    InspectorTest.addObject(record, InspectorTest.timelinePropertyFormatters);
+};
+
+InspectorTest._timelineAgentTypeToString = function(numericType)
+{
+    for (var prop in WebInspector.TimelineModel.RecordType) {
+        if (WebInspector.TimelineModel.RecordType[prop] === numericType)
+            return prop;
+    }
+    return undefined;
+};
+
+InspectorTest.findPresentationRecord = function(type)
+{
+    var result;
+    function findByType(record)
+    {
+        if (record.type !== type)
+            return false;
+        result = record;
+        return true;
+    }
+    var records = WebInspector.panel(&quot;timeline&quot;)._rootRecord().children;
+    WebInspector.TimelinePresentationModel.forAllRecords(records, findByType);
+    return result;
+}
+
+InspectorTest.FakeFileReader = function(input, delegate, callback)
+{
+    this._delegate = delegate;
+    this._callback = callback;
+    this._input = input;
+    this._loadedSize = 0;
+    this._fileSize = input.length;
+};
+
+InspectorTest.FakeFileReader.prototype = {
+    start: function(output)
+    {
+        this._delegate.onTransferStarted(this);
+
+        var length = this._input.length;
+        var half = (length + 1) &gt;&gt; 1;
+
+        var chunk = this._input.substring(0, half);
+        this._loadedSize += chunk.length;
+        output.write(chunk);
+        this._delegate.onChunkTransferred(this);
+
+        chunk = this._input.substring(half);
+        this._loadedSize += chunk.length;
+        output.write(chunk);
+        this._delegate.onChunkTransferred(this);
+
+        output.close();
+        this._delegate.onTransferFinished(this);
+
+        this._callback();
+    },
+
+    cancel: function() { },
+
+    loadedSize: function()
+    {
+        return this._loadedSize;
+    },
+
+    fileSize: function()
+    {
+        return this._fileSize;
+    },
+
+    fileName: function()
+    {
+        return &quot;fakeFile&quot;;
+    }
+};
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestswebsocketframeerrorexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorwebsocketframeerrorexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/web-socket-frame-error-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/web-socket-frame-error-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/web-socket-frame-error-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/web-socket-frame-error-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8000/websocket/tests/hybi/does_not_exist' failed: Unexpected response code: 404
+Closed.
+Tests that WebSocketFrames errors are visible to Web Inspector.
+
+1: Unexpected response code: 404
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestswebsocketframeerrorhtmlfromrev164517trunkLayoutTestshttptestsinspectorwebsocketframeerrorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/web-socket-frame-error.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/web-socket-frame-error.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/web-socket-frame-error.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/web-socket-frame-error.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../../../js-test-resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var ws;
+function sendMessages() {
+    ws = new WebSocket(&quot;ws://localhost:8000/websocket/tests/hybi/does_not_exist&quot;);
+    ws.onclose = function()
+    {
+        debug(&quot;Closed.&quot;);
+    };
+}
+
+function test() {
+    function onRequest(event)
+    {
+        var request = event.data;
+        if (request._type._name === &quot;websocket&quot;) {
+            for (var i = 0; i &lt; request.frames().length; i++) {
+                var frame = request.frame(i);
+                var result = String.sprintf(&quot;%d: %s&quot;, (i + 1), frame.errorMessage);
+                InspectorTest.addResult(result);
+                if (frame.errorMessage)
+                    InspectorTest.completeTest();
+            }
+        }
+    }
+    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestUpdated, onRequest);
+    InspectorTest.evaluateInPage(&quot;sendMessages()&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that WebSocketFrames errors are visible to Web Inspector.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestswebsockettimelinewebsocketeventexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorwebsockettimelinewebsocketeventexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/websocket/timeline-websocket-event-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/websocket/timeline-websocket-event-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/websocket/timeline-websocket-event-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+Tests the Timeline events for WebSocket
+
+WebSocketCreate Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        identifier : &lt;number&gt;
+        url : &lt;string&gt;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;WebSocketCreate&quot;
+    usedHeapSize : &lt;number&gt;
+}
+WebSocketSendHandshakeRequest Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        identifier : &lt;number&gt;
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;WebSocketSendHandshakeRequest&quot;
+    usedHeapSize : &lt;number&gt;
+}
+WebSocketReceiveHandshakeResponse Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        identifier : &lt;number&gt;
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;WebSocketReceiveHandshakeResponse&quot;
+    usedHeapSize : &lt;number&gt;
+}
+WebSocketDestroy Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        identifier : &lt;number&gt;
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;WebSocketDestroy&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestswebsockettimelinewebsocketeventhtmlfromrev164517trunkLayoutTestshttptestsinspectorwebsockettimelinewebsocketeventhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/websocket/timeline-websocket-event.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/websocket/timeline-websocket-event.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/websocket/timeline-websocket-event.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/websocket/timeline-websocket-event.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    var ws = new WebSocket(&quot;ws://127.0.0.1:8880/websocket/tests/hybi/simple&quot;);
+
+    testRunner.display();
+}
+
+function test()
+{
+    InspectorTest.startTimeline(function() {
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+    });
+
+    InspectorTest.waitForRecordType(&quot;WebSocketDestroy&quot;, finish);
+
+    function finish()
+    {
+        InspectorTest.printTimelineRecords(&quot;WebSocketCreate&quot;);
+        InspectorTest.printTimelineRecords(&quot;WebSocketSendHandshakeRequest&quot;);
+        InspectorTest.printTimelineRecords(&quot;WebSocketReceiveHandshakeResponse&quot;);
+        InspectorTest.printTimelineRecords(&quot;WebSocketDestroy&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+if (!window.testRunner)
+    setTimeout(performActions, 2000);
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline events for WebSocket
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestswebsocketwebsocketframeexpectedtxtfromrev164517trunkLayoutTestshttptestsinspectorwebsocketwebsocketframeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/websocket/web-socket-frame-expected.txt (from rev 164517, trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/websocket/web-socket-frame-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/websocket/web-socket-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+Connected.
+Tests that WebSocketFrames are being sent and recieved by Web Inspector.
+
+1- sent: test
+1- sent: test
+2- sent: exit
+1- sent: test
+2- sent: exit
+3- received: test
+1- sent: test
+2- sent: exit
+3- received: test
+4- received: exit
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestswebsocketwebsocketframehtmlfromrev164517trunkLayoutTestshttptestsinspectorwebsocketwebsocketframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/websocket/web-socket-frame.html (from rev 164517, trunk/LayoutTests/http/tests/inspector/websocket/web-socket-frame.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/websocket/web-socket-frame.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/websocket/web-socket-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../../../../js-test-resources/js-test-pre.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+var ws;
+function sendMessages() {
+    ws = new WebSocket(&quot;ws://localhost:8880/websocket/tests/hybi/echo&quot;);
+    ws.onopen = function()
+    {
+        debug(&quot;Connected.&quot;);
+        ws.send(&quot;test&quot;);
+        ws.send(&quot;exit&quot;);
+    };
+}
+
+function test() {
+    function onRequest(event)
+    {
+        var request = event.data;
+        if (request._type._name === &quot;websocket&quot;) {
+            for (var i = 0; i &lt; request.frames().length; i++) {
+                var frame = request.frame(i);
+                var result = String.sprintf(&quot;%d-%s: %s&quot;, (i + 1), frame.sent ? &quot; sent&quot; : &quot; received&quot;, frame.payloadData);
+                InspectorTest.addResult(result);
+                if (!frame.sent &amp;&amp; frame.payloadData === &quot;exit&quot;)
+                    InspectorTest.completeTest();
+            }
+        }
+    }
+    WebInspector.networkManager.addEventListener(WebInspector.NetworkManager.EventTypes.RequestUpdated, onRequest);
+    InspectorTest.evaluateInPage(&quot;sendMessages()&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that WebSocketFrames are being sent and recieved by Web Inspector.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletehttptestsworkspacetestjsfromrev164517trunkLayoutTestshttptestsinspectorworkspacetestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/http-tests/workspace-test.js (from rev 164517, trunk/LayoutTests/http/tests/inspector/workspace-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/http-tests/workspace-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/http-tests/workspace-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,63 @@
</span><ins>+var initialize_WorkspaceTest = function() {
+
+InspectorTest.createWorkspace = function(ignoreEvents)
+{
+    InspectorTest.testFileMapping = new WebInspector.FileMapping();
+    InspectorTest.testFileSystemMapping = new WebInspector.FileSystemMappingImpl();
+    InspectorTest.testFileSystemMapping._fileSystemMappingSetting = new InspectorTest.MockSetting({});
+
+    InspectorTest.testWorkspace = new WebInspector.Workspace(InspectorTest.testFileMapping, InspectorTest.testFileSystemMapping);
+    InspectorTest.testNetworkWorkspaceProvider = new WebInspector.SimpleWorkspaceProvider(InspectorTest.testWorkspace, WebInspector.projectTypes.Network);
+    if (ignoreEvents)
+        return;
+    InspectorTest.testWorkspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, InspectorTest._defaultUISourceCodeProviderEventHandler);
+    InspectorTest.testWorkspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeRemoved, InspectorTest._defaultUISourceCodeProviderEventHandler);
+}
+
+InspectorTest.waitForWorkspaceUISourceCodeAddedEvent = function(callback, count)
+{
+    InspectorTest.uiSourceCodeAddedEventsLeft = count || 1;
+    InspectorTest.testWorkspace.removeEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, InspectorTest._defaultUISourceCodeProviderEventHandler);
+    InspectorTest.testWorkspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, uiSourceCodeAdded);
+
+    function uiSourceCodeAdded(event)
+    {
+        if (!(--InspectorTest.uiSourceCodeAddedEventsLeft)) {
+            InspectorTest.testWorkspace.removeEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, uiSourceCodeAdded);
+            InspectorTest.testWorkspace.addEventListener(WebInspector.UISourceCodeProvider.Events.UISourceCodeAdded, InspectorTest._defaultUISourceCodeProviderEventHandler);
+        }
+        callback(event.data);
+    }
+}
+
+InspectorTest.addMockUISourceCodeToWorkspace = function(url, type, content)
+{
+    var isDocument = type === WebInspector.resourceTypes.Document;
+    var mockContentProvider = new WebInspector.StaticContentProvider(type, content);
+    InspectorTest.testNetworkWorkspaceProvider.addFileForURL(url, mockContentProvider, !isDocument);
+}
+
+InspectorTest._defaultUISourceCodeProviderEventHandler = function(event)
+{
+    var uiSourceCode = event.data;
+    throw new Error(&quot;Unexpected UISourceCodeProvider event: &quot; + event.type + &quot;: &quot; + uiSourceCode.uri() + &quot;.&quot;);
+}
+
+InspectorTest.dumpUISourceCode = function(uiSourceCode, callback)
+{
+    var url = uiSourceCode.originURL().replace(/.*LayoutTests/, &quot;LayoutTests&quot;);
+    InspectorTest.addResult(&quot;UISourceCode: &quot; + url);
+    InspectorTest.addResult(&quot;UISourceCode is editable: &quot; + uiSourceCode.isEditable());
+    if (uiSourceCode.contentType() === WebInspector.resourceTypes.Script || uiSourceCode.contentType() === WebInspector.resourceTypes.Document)
+        InspectorTest.addResult(&quot;UISourceCode is content script: &quot; + !!uiSourceCode.isContentScript);
+    uiSourceCode.requestContent(didRequestContent);
+
+    function didRequestContent(content, contentEncoded, mimeType)
+    {
+        InspectorTest.addResult(&quot;Mime type: &quot; + mimeType);
+        InspectorTest.addResult(&quot;UISourceCode content: &quot; + content);
+        callback();
+    }
+}
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteinspectedobjectsnotoverridenexpectedtxtfromrev164517trunkLayoutTestsinspectorinspectedobjectsnotoverridenexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/inspected-objects-not-overriden-expected.txt (from rev 164517, trunk/LayoutTests/inspector/inspected-objects-not-overriden-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/inspected-objects-not-overriden-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/inspected-objects-not-overriden-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,10 @@
</span><ins>+Tests that opening inspector front-end doesn't change methods defined by the inspected application.
+
+myImpl() =&gt; my value
+Object.type === myImpl =&gt; true
+Object.hasProperties === myImpl =&gt; true
+Object.describe === myImpl =&gt; true
+Object.className === myImpl =&gt; true
+String.prototype.escapeCharacters === myImpl =&gt; true
+JSON.stringify === myImpl =&gt; true
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteinspectedobjectsnotoverridenhtmlfromrev164517trunkLayoutTestsinspectorinspectedobjectsnotoverridenhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/inspected-objects-not-overriden.html (from rev 164517, trunk/LayoutTests/inspector/inspected-objects-not-overriden.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/inspected-objects-not-overriden.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/inspected-objects-not-overriden.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,57 @@
</span><ins>+&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt;
+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function myImpl() {
+  return &quot;my value&quot;;
+}
+
+// Provide some custom methods.
+Object.type = myImpl;
+Object.hasProperties = myImpl;
+Object.describe = myImpl;
+Object.className = myImpl;
+String.prototype.escapeCharacters = myImpl;
+JSON.stringify = myImpl;
+
+function output(text)
+{
+    var output = document.getElementById(&quot;output&quot;);
+    output.appendChild(document.createTextNode(text));
+    output.appendChild(document.createElement(&quot;br&quot;));
+}
+
+function dumpValues()
+{
+    // Check that the methods haven't changed.
+    output(&quot;myImpl() =&gt; &quot; + myImpl());
+    output(&quot;Object.type === myImpl =&gt; &quot; + (Object.type === myImpl));
+    output(&quot;Object.hasProperties === myImpl =&gt; &quot; + (Object.hasProperties === myImpl));
+    output(&quot;Object.describe === myImpl =&gt; &quot; + (Object.describe === myImpl));
+    output(&quot;Object.className === myImpl =&gt; &quot; + (Object.className === myImpl));
+    output(&quot;String.prototype.escapeCharacters === myImpl =&gt; &quot; + (String.prototype.escapeCharacters === myImpl));
+    output(&quot;JSON.stringify === myImpl =&gt; &quot; + (JSON.stringify === myImpl));
+}
+
+function test()
+{
+    function callback()
+    {
+        InspectorTest.completeTest();
+    }
+    InspectorTest.evaluateInPage(&quot;dumpValues()&quot;, callback);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that opening inspector front-end doesn't change methods defined by the inspected application.
+&lt;/p&gt;
+
+&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteloadresourcesynchronouslyutf8expectedtxtfromrev164517trunkLayoutTestsinspectorloadresourcesynchronouslyutf8expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/load-resource-synchronously-utf8-expected.txt (from rev 164517, trunk/LayoutTests/inspector/load-resource-synchronously-utf8-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/load-resource-synchronously-utf8-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/load-resource-synchronously-utf8-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that InspectorFrontendHost.loadResourceSynchronously() correctly loads non-ASCII resources.
+
+'ASCII - Test' (12)
+'UTF8 - Тест' (11)
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteloadresourcesynchronouslyutf8htmlfromrev164517trunkLayoutTestsinspectorloadresourcesynchronouslyutf8html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/load-resource-synchronously-utf8.html (from rev 164517, trunk/LayoutTests/inspector/load-resource-synchronously-utf8.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/load-resource-synchronously-utf8.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/load-resource-synchronously-utf8.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var asciiText = InspectorFrontendHost.loadResourceSynchronously(&quot;data:text/plain;,ASCII - Test&quot;);
+    InspectorTest.addResult(&quot;'&quot; + asciiText + &quot;' (&quot; + asciiText.length + &quot;)&quot;);
+    var utf8Text = InspectorFrontendHost.loadResourceSynchronously(&quot;data:text/plain;,&quot; + encodeURIComponent(&quot;UTF8 - \u0422\u0435\u0441\u0442&quot;));
+    InspectorTest.addResult(&quot;'&quot; + utf8Text + &quot;' (&quot; + utf8Text.length + &quot;)&quot;);
+    InspectorTest.completeTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that InspectorFrontendHost.loadResourceSynchronously() correctly loads non-ASCII resources.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofileragentcrashonstartexpectedtxtfromrev164517trunkLayoutTestsinspectorprofilercpuprofileragentcrashonstartexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-agent-crash-on-start-expected.txt (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-agent-crash-on-start-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-agent-crash-on-start-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Test that ProfilerAgent start/stop doesn't crash.
+
+ProfilerAgent started.
+ProfilerAgent stopped.
+ProfilerAgent cleared.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofileragentcrashonstarthtmlfromrev164517trunkLayoutTestsinspectorprofilercpuprofileragentcrashonstarthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-agent-crash-on-start.html (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-agent-crash-on-start.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-agent-crash-on-start.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-agent-crash-on-start.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+  &lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;profiles&quot;);
+    ProfilerAgent.start(onStart);
+
+    function onStart()
+    {
+        InspectorTest.addResult(&quot;ProfilerAgent started.&quot;);
+        ProfilerAgent.stop(onStop);
+    }
+
+    function onStop()
+    {
+        InspectorTest.addResult(&quot;ProfilerAgent stopped.&quot;);
+        ProfilerAgent.clearProfiles(done);
+    }
+
+    function done()
+    {
+        InspectorTest.addResult(&quot;ProfilerAgent cleared.&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that ProfilerAgent start/stop doesn't crash.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofilerparameterlessprofileendcrashexpectedtxtfromrev164517trunkLayoutTestsinspectorprofilercpuprofilerparameterlessprofileendcrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-parameterless-profile-end-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Tests that &quot;console.profileEnd()&quot; do not cause crash.
+Bug 105759.
+
+Profiles count: 2
+Titled profile found.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofilerparameterlessprofileendcrashhtmlfromrev164517trunkLayoutTestsinspectorprofilercpuprofilerparameterlessprofileendcrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-parameterless-profile-end-crash.html (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-parameterless-profile-end-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-parameterless-profile-end-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-parameterless-profile-end-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+
+if (window.testRunner)
+    testRunner.dumpAsText();
+if (window.internals)
+    internals.setJavaScriptProfilingEnabled(true);
+
+function pageFunction()
+{
+    console.profile(); // Untitled
+    console.profile(&quot;titled&quot;);
+    console.profileEnd();
+    console.profileEnd();
+}
+
+function startTest()
+{
+    pageFunction();
+    printResult();
+    if (window.testRunner)
+        testRunner.notifyDone();
+}
+
+function printResult()
+{
+    var preElement = document.createElement(&quot;pre&quot;);
+    preElement.appendChild(document.createTextNode(&quot;\n&quot;));
+
+    var profiles = console.profiles;
+    preElement.appendChild(document.createTextNode(&quot;Profiles count: &quot; + profiles.length + &quot;\n&quot;));
+    for (var i = 0; i &lt; profiles.length; ++i) {
+        if (profiles[i].title === &quot;titled&quot;)
+            preElement.appendChild(document.createTextNode(&quot;Titled profile found.\n&quot;));
+    }
+    document.getElementById(&quot;output&quot;).appendChild(preElement);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;startTest()&quot;&gt;
+&lt;p&gt;
+Tests that &quot;console.profileEnd()&quot; do not cause crash.&lt;br&gt;
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=105759&quot;&gt;Bug 105759.&lt;/a&gt;&lt;br&gt;
+&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofileremovalexpectedtxtfromrev164517trunkLayoutTestsinspectorprofilercpuprofilerprofileremovalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profile-removal-expected.txt (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profile-removal-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profile-removal-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Tests that CPU profile removal from a group works. Bug 110466
+
+Profiler was enabled.
+Profile groups after removal:
+
+Profiler was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofileremovalhtmlfromrev164517trunkLayoutTestsinspectorprofilercpuprofilerprofileremovalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profile-removal.html (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-profile-removal.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profile-removal.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profile-removal.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,46 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+  &lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+  &lt;script src=&quot;profiler-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function pageFunction() {
+    console.profile(&quot;p1&quot;);
+    console.profileEnd(&quot;p1&quot;);
+    console.profile(&quot;p1&quot;);
+    console.profileEnd(&quot;p1&quot;);
+    console.profile(&quot;p2&quot;);
+    console.profileEnd(&quot;p2&quot;);
+}
+
+function test()
+{
+    InspectorTest.startProfilerTest(function() {
+        function viewLoaded(view) {
+            var profiles = WebInspector.panels.profiles;
+            var type = profiles.getProfileType(&quot;CPU&quot;);
+            while (type.getProfiles().length !== 0)
+                profiles._removeProfileHeader(type.getProfiles()[0]);
+            InspectorTest.addResult(&quot;Profile groups after removal:&quot;);
+            for (var key in profiles._profileGroups)
+                InspectorTest.addResult(key + &quot;: &quot; + profiles._profileGroups[key].length);
+            InspectorTest.assertEquals(0, type.treeElement.children.length, &quot;All children has been removed&quot;);
+            InspectorTest.completeProfilerTest();
+        }
+        WebInspector.showPanel(&quot;profiles&quot;);
+        InspectorTest.evaluateInConsole(&quot;pageFunction()&quot;, function() {});
+        InspectorTest.showProfileWhenAdded(&quot;p2&quot;);
+        InspectorTest.waitUntilProfileViewIsShown(&quot;p2&quot;, viewLoaded);
+    });
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that CPU profile removal from a group works.
+
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=110466&quot;&gt;Bug 110466&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofilingexpectedtxtfromrev164517trunkLayoutTestsinspectorprofilercpuprofilerprofilingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-expected.txt (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests that CPU profiling works. Bug 52634.
+
+Profiler was enabled.
+
+Running: testProfiling
+found pageFunction
+
+Profiler was disabled.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofilingwithoutinspectorexpectedtxtfromrev164517trunkLayoutTestsinspectorprofilercpuprofilerprofilingwithoutinspectorexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-without-inspector-expected.txt (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-without-inspector-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-without-inspector-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+Tests that CPU profiling works.
+Doesn't open Inspector, uses console.profile....
+
+
+Found pageFunction
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofilingwithoutinspectorhtmlfromrev164517trunkLayoutTestsinspectorprofilercpuprofilerprofilingwithoutinspectorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-without-inspector.html (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling-without-inspector.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-without-inspector.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling-without-inspector.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,84 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+
+if (window.testRunner)
+    testRunner.dumpAsText();
+if (window.internals)
+    internals.setJavaScriptProfilingEnabled(true);
+
+function pageFunction()
+{
+    console.profile(&quot;outer&quot;);
+    console.profile(&quot;inner&quot;);  // [Chromium] Make sure we capture the current callstack.
+    console.profileEnd(&quot;outer&quot;);
+    console.profileEnd(&quot;inner&quot;);
+}
+
+function startTest()
+{
+    pageFunction();
+    printResult();
+    if (window.testRunner)
+        testRunner.notifyDone();
+}
+
+function printResult()
+{
+    var preElement = document.createElement(&quot;pre&quot;);
+    preElement.appendChild(document.createTextNode(&quot;\n&quot;));
+
+    var profiles = console.profiles;
+    for (var i = 0; i &lt; profiles.length; ++i) {
+        var profile = profiles[i];
+        if (profile.title !== &quot;inner&quot;)
+            continue;
+        var functionName = &quot;pageFunction&quot;;
+        if (findFunctionInProfile(profile.head, functionName))
+            preElement.appendChild(document.createTextNode(&quot;Found &quot; + functionName));
+        else {
+            preElement.appendChild(document.createTextNode(&quot;!!! Not found &quot; + functionName));
+            preElement.appendChild(document.createTextNode(&quot;\n\n&quot;));
+            printProfileNodeWithoutTime(preElement, profile.head, &quot;&quot;);
+        }
+        preElement.appendChild(document.createTextNode(&quot;\n&quot;));
+    }
+
+    document.getElementById(&quot;output&quot;).appendChild(preElement);
+}
+
+function printProfileNodeWithoutTime(preElement, node, space)
+{
+    if (!node.visible)
+        return;
+
+    var line = space + node.functionName + &quot; (line &quot; + node.lineNumber + &quot;)\n&quot;;
+    preElement.appendChild(document.createTextNode(line));
+
+    var children = node.children();
+    for (var i = 0; i &lt; children.length; ++i)
+        printProfileNodeWithoutTime(preElement, children[i], space + &quot;   &quot;);
+}
+
+function findFunctionInProfile(node, functionName)
+{
+    if (node.functionName === functionName)
+        return true;
+    var children = node.children();
+    for (var i = 0; i &lt; children.length; ++i)
+        if (findFunctionInProfile(children[i], functionName))
+            return true;
+    return false;
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;startTest()&quot;&gt;
+&lt;p&gt;
+Tests that CPU profiling works.&lt;br&gt;
+Doesn't open Inspector, uses &lt;b&gt;console.profile...&lt;/b&gt;.
+
+&lt;div id=&quot;output&quot;&gt;&lt;/div&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilercpuprofilerprofilinghtmlfromrev164517trunkLayoutTestsinspectorprofilercpuprofilerprofilinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling.html (from rev 164517, trunk/LayoutTests/inspector/profiler/cpu-profiler-profiling.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/cpu-profiler-profiling.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+  &lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+  &lt;script src=&quot;profiler-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function pageFunction() {
+    console.profile(&quot;outer&quot;);
+    console.profile(&quot;inner&quot;);  // [Chromium] Make sure we capture the current callstack.
+    console.profileEnd(&quot;outer&quot;);
+    console.profileEnd(&quot;inner&quot;);
+}
+
+function test()
+{
+    InspectorTest.runProfilerTestSuite([
+        function testProfiling(next)
+        {
+            function findPageFunctionInProfileView(view)
+            {
+                var tree = view.profileDataGridTree;
+                if (!tree)
+                     InspectorTest.addResult(&quot;no tree&quot;);
+                var node = tree.children[0];
+                if (!node)
+                     InspectorTest.addResult(&quot;no node&quot;);
+                while (node) {
+                    if (node.functionName.indexOf(&quot;pageFunction&quot;) !== -1) {
+                        InspectorTest.addResult(&quot;found pageFunction&quot;);
+                        break;
+                    }
+                    node = node.traverseNextNode(true, null, true);
+                }
+                next();
+            }
+            InspectorTest.showProfileWhenAdded(&quot;inner&quot;);
+            InspectorTest.waitUntilProfileViewIsShown(&quot;inner&quot;, findPageFunctionInProfileView);
+            InspectorTest.evaluateInConsole(&quot;pageFunction()&quot;, function done() {});
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that CPU profiling works.
+
+&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=52634&quot;&gt;Bug 52634.&lt;/a&gt;
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteprofilerprofilertestjsfromrev164517trunkLayoutTestsinspectorprofilerprofilertestjs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/profiler/profiler-test.js (from rev 164517, trunk/LayoutTests/inspector/profiler/profiler-test.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/profiler/profiler-test.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/profiler/profiler-test.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,94 @@
</span><ins>+var initialize_ProfilerTest = function() {
+
+InspectorTest.startProfilerTest = function(callback)
+{
+    WebInspector.showPanel(&quot;profiles&quot;);
+
+    function startTest()
+    {
+        InspectorTest.addResult(&quot;Profiler was enabled.&quot;);
+        InspectorTest.addSniffer(WebInspector.panels.profiles, &quot;_addProfileHeader&quot;, InspectorTest._profileHeaderAdded, true);
+        InspectorTest.addSniffer(WebInspector.CPUProfileView.prototype, &quot;refresh&quot;, InspectorTest._profileViewRefresh, true);
+        InspectorTest.safeWrap(callback)();
+    }
+
+    if (WebInspector.panels.profiles._profilerEnabled)
+        startTest();
+    else {
+        InspectorTest.addSniffer(WebInspector.panels.profiles, &quot;_profilerWasEnabled&quot;, startTest);
+        WebInspector.panels.profiles._toggleProfiling(false);
+    }
+};
+
+InspectorTest.completeProfilerTest = function()
+{
+    function completeTest()
+    {
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(&quot;Profiler was disabled.&quot;);
+        InspectorTest.completeTest();
+    }
+
+    var profilesPanel = WebInspector.panels.profiles;
+    if (!profilesPanel._profilerEnabled)
+        completeTest();
+    else {
+        InspectorTest.addSniffer(WebInspector.panels.profiles, &quot;_profilerWasDisabled&quot;, completeTest);
+        profilesPanel._toggleProfiling(false);
+    }
+};
+
+InspectorTest.runProfilerTestSuite = function(testSuite)
+{
+    var testSuiteTests = testSuite.slice();
+
+    function runner()
+    {
+        if (!testSuiteTests.length) {
+            InspectorTest.completeProfilerTest();
+            return;
+        }
+
+        var nextTest = testSuiteTests.shift();
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(&quot;Running: &quot; + /function\s([^(]*)/.exec(nextTest)[1]);
+        InspectorTest.safeWrap(nextTest)(runner, runner);
+    }
+
+    InspectorTest.startProfilerTest(runner);
+};
+
+InspectorTest.showProfileWhenAdded = function(title)
+{
+    InspectorTest._showProfileWhenAdded = title;
+};
+
+InspectorTest._profileHeaderAdded = function(profile)
+{
+    if (InspectorTest._showProfileWhenAdded === profile.title) {
+        WebInspector.panels.profiles._showProfile(profile);
+    }
+};
+
+InspectorTest.waitUntilProfileViewIsShown = function(title, callback)
+{
+    callback = InspectorTest.safeWrap(callback);
+
+    var profilesPanel = WebInspector.panels.profiles;
+    if (profilesPanel.visibleView &amp;&amp; profilesPanel.visibleView.profile &amp;&amp; profilesPanel.visibleView.profile.title === title)
+        callback(profilesPanel.visibleView);
+    else
+        InspectorTest._waitUntilProfileViewIsShownCallback = { title: title, callback: callback };
+}
+
+InspectorTest._profileViewRefresh = function()
+{
+    // Called in the context of ProfileView.
+    if (InspectorTest._waitUntilProfileViewIsShownCallback &amp;&amp; InspectorTest._waitUntilProfileViewIsShownCallback.title === this.profile.title) {
+        var callback = InspectorTest._waitUntilProfileViewIsShownCallback;
+        delete InspectorTest._waitUntilProfileViewIsShownCallback;
+        callback.callback(this);
+    }
+};
+
+};
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteremoteobjectexpectedtxtfromrev164517trunkLayoutTestsinspectorremoteobjectexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/remote-object-expected.txt (from rev 164517, trunk/LayoutTests/inspector/remote-object-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/remote-object-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/remote-object-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests formatting of different types of remote objects.
+
+date = Wed Dec 07 2011 12:01:00 
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteremoteobjecthtmlfromrev164517trunkLayoutTestsinspectorremoteobjecthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/remote-object.html (from rev 164517, trunk/LayoutTests/inspector/remote-object.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/remote-object.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/remote-object.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function callback(result)
+    {
+        InspectorTest.addResult(&quot;date = &quot; + result.description.substring(0, 25));
+        InspectorTest.completeTest();
+    }
+    InspectorTest.evaluateInPage(&quot;new Date(2011, 11, 7, 12, 01)&quot;, callback);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests formatting of different types of remote objects.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletereportAPIerrorsexpectedtxtfromrev164517trunkLayoutTestsinspectorreportAPIerrorsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/report-API-errors-expected.txt (from rev 164517, trunk/LayoutTests/inspector/report-API-errors-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/report-API-errors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/report-API-errors-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,8 @@
</span><ins>+Tests that InspectorBackendStub is catching incorrect arguments.
+
+Protocol Error: Invalid type of argument 'enabled' for method 'Console.setMonitoringXHREnabled' call. It must be 'boolean' but it is 'number'.
+Protocol Error: Invalid number of arguments for method 'Console.setMonitoringXHREnabled' call. It must have the following arguments '[{&quot;name&quot;:&quot;enabled&quot;,&quot;type&quot;:&quot;boolean&quot;,&quot;optional&quot;:false}]'.
+Protocol Error: Optional callback argument for method 'Console.setMonitoringXHREnabled' call must be a function but its type is 'string'.
+Protocol Error: the message is for non-existing domain 'wrongDomain'
+Protocol Error: Attempted to dispatch an unimplemented method 'Inspector.something-strange'
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletereportAPIerrorshtmlfromrev164517trunkLayoutTestsinspectorreportAPIerrorshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/report-API-errors.html (from rev 164517, trunk/LayoutTests/inspector/report-API-errors.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/report-API-errors.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/report-API-errors.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+
+    console.error = function()
+    {
+        InspectorTest.addResult(String.sprintf.apply(this, arguments));
+    }
+
+    ConsoleAgent.setMonitoringXHREnabled(1);
+    ConsoleAgent.setMonitoringXHREnabled();
+    ConsoleAgent.setMonitoringXHREnabled(false, &quot;not a function&quot;);
+    ConsoleAgent.setMonitoringXHREnabled(false, undefined);
+    RuntimeAgent.evaluate(&quot;true&quot;, &quot;test&quot;);
+    RuntimeAgent.evaluate(&quot;true&quot;, &quot;test&quot;, function(){});
+    RuntimeAgent.evaluate(&quot;true&quot;, &quot;test&quot;, undefined, function(){});
+    InspectorBackend.dispatch('{&quot;method&quot;: &quot;wrongDomain.something-strange&quot;, &quot;params&quot;: {}}');
+    InspectorBackend.dispatch('{&quot;method&quot;: &quot;Inspector.something-strange&quot;, &quot;params&quot;: {}}');
+
+    InspectorTest.completeTest();
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that InspectorBackendStub is catching incorrect arguments.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletereportprotocolerrorsexpectedtxtfromrev164517trunkLayoutTestsinspectorreportprotocolerrorsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/report-protocol-errors-expected.txt (from rev 164517, trunk/LayoutTests/inspector/report-protocol-errors-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/report-protocol-errors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/report-protocol-errors-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,170 @@
</span><ins>+Tests that InspectorBackendDispatcher is catching incorrect messages.
+
+{
+    error : {
+        code : -32700
+        message : &quot;Message must be in JSON format&quot;
+    }
+    id : null
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32600
+        message : &quot;'id' property was not found&quot;
+    }
+    id : null
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32600
+        message : &quot;The type of 'id' property must be number&quot;
+    }
+    id : null
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32600
+        message : &quot;The type of 'method' property must be string&quot;
+    }
+    id : 1
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'resourceContent' wasn't found&quot;
+    }
+    id : 2
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'DOM.test' wasn't found&quot;
+    }
+    id : 3
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32602
+        data : [
+            &quot;'params' object must contain required parameter 'frameId' with type 'String'.&quot;
+            &quot;'params' object must contain required parameter 'url' with type 'String'.&quot;
+        ]
+        message : &quot;Some arguments of method 'Page.getResourceContent' can't be processed&quot;
+    }
+    id : 4
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32602
+        data : [
+            &quot;'params' object must contain required parameter 'frameId' with type 'String'.&quot;
+            &quot;'params' object must contain required parameter 'url' with type 'String'.&quot;
+        ]
+        message : &quot;Some arguments of method 'Page.getResourceContent' can't be processed&quot;
+    }
+    id : 5
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32602
+        data : [
+            &quot;Parameter 'frameId' with type 'String' was not found.&quot;
+            &quot;Parameter 'url' with type 'String' was not found.&quot;
+        ]
+        message : &quot;Some arguments of method 'Page.getResourceContent' can't be processed&quot;
+    }
+    id : 6
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32602
+        data : [
+            &quot;Parameter 'url' with type 'String' was not found.&quot;
+        ]
+        message : &quot;Some arguments of method 'Page.getResourceContent' can't be processed&quot;
+    }
+    id : 7
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 8
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 9
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 10
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 11
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 12
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 13
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 14
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 15
+}
+-------------------------------------------------------
+{
+    error : {
+        code : -32601
+        message : &quot;'Page.test' wasn't found&quot;
+    }
+    id : 16
+}
+-------------------------------------------------------
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletereportprotocolerrorshtmlfromrev164517trunkLayoutTestsinspectorreportprotocolerrorshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/report-protocol-errors.html (from rev 164517, trunk/LayoutTests/inspector/report-protocol-errors.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/report-protocol-errors.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/report-protocol-errors.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,60 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var messages = [
+        'some wrong string',
+        '{}',
+        '{&quot;id&quot;:&quot;not a number&quot;}',
+        '{&quot;id&quot;:1,&quot;method&quot;:1}',
+        '{&quot;id&quot;:2,&quot;method&quot;:&quot;resourceContent&quot;}',
+        '{&quot;id&quot;:3,&quot;method&quot;:&quot;DOM.test&quot;}',
+        '{&quot;id&quot;:4,&quot;method&quot;:&quot;Page.getResourceContent&quot;}',
+        '{&quot;id&quot;:5,&quot;method&quot;:&quot;Page.getResourceContent&quot;,&quot;params&quot;:[]}',
+        '{&quot;id&quot;:6,&quot;method&quot;:&quot;Page.getResourceContent&quot;,&quot;params&quot;:{}}',
+        '{&quot;id&quot;:7,&quot;method&quot;:&quot;Page.getResourceContent&quot;,&quot;params&quot;:{&quot;frameId&quot;:&quot;not a number&quot;}}',
+        '{&quot;id&quot;:8,&quot;method&quot;:&quot;Page.test&quot;}',
+        '{&quot;id&quot;:9,&quot;method&quot;:&quot;Page.test&quot; }',
+        '{&quot;id&quot;:10,&quot;method&quot;: &quot;Page.test&quot; }',
+        '{&quot;id&quot;:11,&quot;method&quot; : &quot;Page.test&quot; }',
+        '{&quot;id&quot;:12, &quot;method&quot; : &quot;Page.test&quot; }',
+        '{&quot;id&quot;: 13, &quot;method&quot; : &quot;Page.test&quot; }',
+        '{&quot;id&quot; : 14, &quot;method&quot; : &quot;Page.test&quot; }',
+        '{ &quot;id&quot; : 15, &quot;method&quot; : &quot;Page.test&quot; }',
+        '{  &quot;id&quot;\n :\r 16,\t &quot;method&quot;\f :\v &quot;Page.test&quot; }',
+    ];
+    var numberOfReports = 0;
+
+    InspectorBackend.reportProtocolError = function(message)
+    {
+
+        if (numberOfReports &lt; messages.length) {
+            InspectorTest.addObject(message);
+            InspectorTest.addResult(&quot;-------------------------------------------------------&quot;);
+        }
+
+        if (++numberOfReports === messages.length)
+            InspectorTest.completeTest();
+    }
+
+    function fire() {
+        for (var i = 0; i &lt; messages.length; ++i)
+            InspectorFrontendHost.sendMessageToBackend(messages[i]);
+    }
+
+    DebuggerAgent.disable(fire);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that InspectorBackendDispatcher is catching incorrect messages.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimecallFunctionOnexpectedtxtfromrev164517trunkLayoutTestsinspectorruntimeruntimecallFunctionOnexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-callFunctionOn-expected.txt (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-callFunctionOn-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-callFunctionOn-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+Tests RuntimeAgent.callFunctionOn usages.
+
+
+Running: testThis
+3
+
+Running: testArguments
+{&quot;a&quot;:1,&quot;b&quot;:2}
+{&quot;a&quot;:1,&quot;b&quot;:2}
+{&quot;c&quot;:1,&quot;d&quot;:2}
+4
+undefined
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimecallFunctionOnhtmlfromrev164517trunkLayoutTestsinspectorruntimeruntimecallFunctionOnhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-callFunctionOn.html (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-callFunctionOn.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-callFunctionOn.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-callFunctionOn.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,67 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var obj1, obj2;
+
+    InspectorTest.runTestSuite([
+        function testThis(next)
+        {
+            RuntimeAgent.evaluate(&quot;({ a : 1, b : 2 })&quot;, step1);
+
+            function step1(error, result, wasThrown)
+            {
+
+                function sum()
+                {
+                    return this.a + this.b;
+                }
+
+                obj1 = result;
+                RuntimeAgent.callFunctionOn(obj1.objectId, sum.toString(), step2);
+            }
+
+            function step2(error, result, wasThrown)
+            {
+                InspectorTest.addResult(result.value);
+                next();
+            }
+        },
+
+        function testArguments(next)
+        {
+            RuntimeAgent.evaluate(&quot;({ c : 1, d : 2 })&quot;, step1);
+
+            function step1(error, result, wasThrown)
+            {
+                function format(aobj1, aobj2, val, undef)
+                {
+                    return JSON.stringify(this) + &quot;\n&quot; + JSON.stringify(aobj1) + &quot;\n&quot; + JSON.stringify(aobj2) + &quot;\n&quot; + val + &quot;\n&quot; + undef;
+                }
+
+                obj2 = result;
+                RuntimeAgent.callFunctionOn(obj1.objectId, format.toString(), [obj1, obj2, {value:4}, {}], step2);
+            }
+
+            function step2(error, result, wasThrown)
+            {
+                InspectorTest.addResult(result.value);
+                next();
+            }
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests RuntimeAgent.callFunctionOn usages.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimegetPropertiesexpectedtxtfromrev164517trunkLayoutTestsinspectorruntimeruntimegetPropertiesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-expected.txt (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-getProperties-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+Tests RemoteObject.getProperties.
+
+
+Running: testSetUp
+
+Running: testGetterAndSetter
+{
+    enumerable : true
+    name : &quot;get foo&quot;
+    value : {
+        description : &quot;function () { return 1; }&quot;
+        objectId : &lt;string&gt;
+        type : &quot;function&quot;
+    }
+    writable : false
+}
+{
+    enumerable : true
+    name : &quot;set foo&quot;
+    value : {
+        description : &quot;function (value) { }&quot;
+        objectId : &lt;string&gt;
+        type : &quot;function&quot;
+    }
+    writable : false
+}
+
+Running: testGetterOnly
+{
+    enumerable : true
+    name : &quot;get foo&quot;
+    value : {
+        description : &quot;function () { return 1; }&quot;
+        objectId : &lt;string&gt;
+        type : &quot;function&quot;
+    }
+    writable : false
+}
+{
+    enumerable : true
+    name : &quot;set foo&quot;
+    value : {
+        description : &quot;undefined&quot;
+        objectId : &lt;undefined&gt;
+        type : &quot;undefined&quot;
+    }
+    writable : false
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimegetPropertiesisOwnPropertyexpectedtxtfromrev164517trunkLayoutTestsinspectorruntimeruntimegetPropertiesisOwnPropertyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-isOwnProperty-expected.txt (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-isOwnProperty-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-isOwnProperty-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests RemoteObject.getProperties.
+
+property.name==&quot;testBar&quot; isOwn==&quot;true&quot;
+property.name==&quot;testFoo&quot; isOwn==&quot;undefined&quot;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimegetPropertiesisOwnPropertyhtmlfromrev164517trunkLayoutTestsinspectorruntimeruntimegetPropertiesisOwnPropertyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-isOwnProperty.html (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-getProperties-isOwnProperty.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-isOwnProperty.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties-isOwnProperty.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function A() {
+    this.testFoo = &quot;abc&quot;;
+}
+
+function B() { 
+    this.testBar = &quot;cde&quot;;
+}
+
+B.prototype = new A();
+b = new B();
+
+function test()
+{
+    function fail(message)
+    {
+        InspectorTest.addResult(message);
+        InspectorTest.completeTest();
+    }
+
+    RuntimeAgent.evaluate(&quot;window.b&quot;, step1);
+
+    function step1(error, result)
+    {
+        RuntimeAgent.getProperties(result.objectId, /* isOwnProperty */ false, step2);
+    }
+
+    function step2(error, properties) 
+    {
+        if (error) 
+            return fail(&quot;Error took place during RuntimeAgent.getProperties call&quot;);
+        
+        if (!properties) 
+            return fail(&quot;Properties do not exist&quot;);
+        
+        for (var i = 0; i &lt; properties.length; i++) {
+            var property = properties[i];
+            if (property.name.match(/^test/)) 
+                InspectorTest.addResult(&quot;property.name==\&quot;&quot; + property.name + &quot;\&quot; isOwn==\&quot;&quot; + property.isOwn + &quot;\&quot;&quot;);
+        }
+        InspectorTest.completeTest();
+    }
+
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests RemoteObject.getProperties.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimegetPropertieshtmlfromrev164517trunkLayoutTestsinspectorruntimeruntimegetPropertieshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties.html (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-getProperties.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-getProperties.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,84 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var object1 = { get foo() { return 1; }, set foo(value) { } };
+var object2 = { get foo() { return 1; } };
+
+function test()
+{
+    var obj1, obj2;
+
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.evaluateInPage(&quot;dumpObjects('Initial')&quot;, step0);
+
+            function step0()
+            {
+                RuntimeAgent.evaluate(&quot;object1&quot;, step1);
+            }
+
+            function step1(error, result, wasThrown)
+            {
+                obj1 = WebInspector.RemoteObject.fromPayload(result);
+                RuntimeAgent.evaluate(&quot;object2&quot;, step2);
+            }
+
+            function step2(error, result, wasThrown)
+            {
+                obj2 = WebInspector.RemoteObject.fromPayload(result);
+                next();
+            }
+        },
+
+        function testGetterAndSetter(next)
+        {
+            obj1.getOwnProperties(step1);
+
+            function step1(properties)
+            {
+                for (var i = 0; i &lt; properties.length; ++i)
+                    dumpProperty(properties[i]);
+
+                next();
+            }
+        },
+
+        function testGetterOnly(next)
+        {
+            obj2.getOwnProperties(step1);
+
+            function step1(properties)
+            {
+                for (var i = 0; i &lt; properties.length; ++i)
+                    dumpProperty(properties[i]);
+
+                next();
+            }
+        }
+    ]);
+
+    function dumpProperty(property)
+    {
+        if (property.name === &quot;__proto__&quot;)
+            return;
+
+        var value = property.value;
+        if (value)
+            property.value = { type: value.type, description: value.description.replace(&quot;function foo&quot;, &quot;function &quot;), objectId: value.objectId };
+        InspectorTest.dump(property, { objectId: &quot;formatAsTypeName&quot; });
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests RemoteObject.getProperties.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimelocalStoragegetPropertiesexpectedtxtfromrev164517trunkLayoutTestsinspectorruntimeruntimelocalStoragegetPropertiesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-localStorage-getProperties-expected.txt (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-localStorage-getProperties-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-localStorage-getProperties-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,12 @@
</span><ins>+Tests RemoteObject.getProperties on localStorage object. 66215
+
+{
+    enumerable : false
+    name : &quot;testProperty&quot;
+    value : {
+        description : &quot;testPropertyValue&quot;
+        type : &quot;string&quot;
+    }
+    writable : false
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimelocalStoragegetPropertieshtmlfromrev164517trunkLayoutTestsinspectorruntimeruntimelocalStoragegetPropertieshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-localStorage-getProperties.html (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-localStorage-getProperties.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-localStorage-getProperties.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-localStorage-getProperties.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+localStorage.testProperty = &quot;testPropertyValue&quot;;
+
+function test()
+{
+    RuntimeAgent.evaluate(&quot;localStorage&quot;, step1);
+
+    function step1(error, result, wasThrown)
+    {
+        var localStorageHandle = WebInspector.RemoteObject.fromPayload(result);
+        localStorageHandle.getOwnProperties(step2);
+    }
+
+    function step2(properties)
+    {
+        for (var i = 0; i &lt; properties.length; ++i) {
+            var property = properties[i];
+            if (property.name !== &quot;testProperty&quot;)
+                continue;
+            property.value = { type: property.value.type, description: property.value.description };                
+            InspectorTest.dump(property);
+        }
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests RemoteObject.getProperties on localStorage object. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=66215&quot;&gt;66215&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimesetPropertyValueexpectedtxtfromrev164517trunkLayoutTestsinspectorruntimeruntimesetPropertyValueexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-setPropertyValue-expected.txt (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-setPropertyValue-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-setPropertyValue-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+CONSOLE MESSAGE: line 11: ===== Initial =====
+CONSOLE MESSAGE: line 12: {&quot;foo&quot;:1}
+CONSOLE MESSAGE: line 13: 
+CONSOLE MESSAGE: line 11: ===== Set primitive =====
+CONSOLE MESSAGE: line 12: {&quot;foo&quot;:2}
+CONSOLE MESSAGE: line 13: 
+CONSOLE MESSAGE: line 11: ===== Set handle =====
+CONSOLE MESSAGE: line 12: {&quot;foo&quot;:{&quot;bar&quot;:2}}
+CONSOLE MESSAGE: line 13: 
+CONSOLE MESSAGE: line 11: ===== Set undefined =====
+CONSOLE MESSAGE: line 12: {}
+CONSOLE MESSAGE: line 13: 
+CONSOLE MESSAGE: line 11: ===== Set zero =====
+CONSOLE MESSAGE: line 12: {&quot;foo&quot;:0}
+CONSOLE MESSAGE: line 13: 
+CONSOLE MESSAGE: line 11: ===== Set null =====
+CONSOLE MESSAGE: line 12: {&quot;foo&quot;:null}
+CONSOLE MESSAGE: line 13: 
+CONSOLE MESSAGE: line 11: ===== Set empty string =====
+CONSOLE MESSAGE: line 12: {&quot;foo&quot;:&quot;&quot;}
+CONSOLE MESSAGE: line 13: 
+CONSOLE MESSAGE: line 11: ===== Set exception =====
+CONSOLE MESSAGE: line 12: {&quot;foo&quot;:&quot;&quot;}
+CONSOLE MESSAGE: line 13: 
+CONSOLE MESSAGE: line 11: ===== Set non-finite numbers =====
+CONSOLE MESSAGE: line 12: {&quot;foo&quot;:&quot;NaN&quot;,&quot;foo1&quot;:&quot;Infinity&quot;,&quot;foo2&quot;:&quot;-Infinity&quot;}
+CONSOLE MESSAGE: line 13: 
+Tests WebInspector.RemoveObject.setPropertyValue implementation.
+
+
+Running: testSetUp
+
+Running: testSetPrimitive
+
+Running: testSetHandle
+
+Running: testSetUndefined
+
+Running: testSetZero
+
+Running: testSetNull
+
+Running: testSetEmptyString
+
+Running: testSetException
+exception
+
+Running: testSetNonFiniteNumbers
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteruntimeruntimesetPropertyValuehtmlfromrev164517trunkLayoutTestsinspectorruntimeruntimesetPropertyValuehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/runtime/runtime-setPropertyValue.html (from rev 164517, trunk/LayoutTests/inspector/runtime/runtime-setPropertyValue.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/runtime/runtime-setPropertyValue.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/runtime/runtime-setPropertyValue.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,152 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var object1 = { foo: 1 };
+var object2 = { bar: 2 };
+
+function dumpObject(label)
+{
+    console.log(&quot;===== &quot; + label + &quot; =====&quot;);
+    console.log(JSON.stringify(object1, replacer));
+    console.log(&quot;&quot;);
+
+    function replacer(key, value)
+    {
+        if (typeof value === &quot;number&quot; &amp;&amp; !isFinite(value))
+            return String(value);
+        return value;
+    }
+}
+
+function test()
+{
+    var obj1, obj2;
+
+    InspectorTest.runTestSuite([
+        function testSetUp(next)
+        {
+            InspectorTest.evaluateInPage(&quot;dumpObject('Initial')&quot;, step0);
+
+            function step0()
+            {
+                RuntimeAgent.evaluate(&quot;object1&quot;, step1);
+            }
+
+            function step1(error, result, wasThrown)
+            {
+                obj1 = WebInspector.RemoteObject.fromPayload(result);
+                RuntimeAgent.evaluate(&quot;object2&quot;, step2);
+            }
+
+            function step2(error, result, wasThrown)
+            {
+                obj2 = WebInspector.RemoteObject.fromPayload(result);
+                next();
+            }
+        },
+
+        function testSetPrimitive(next)
+        {
+            obj1.setPropertyValue(&quot;foo&quot;, &quot;2&quot;, step1);
+
+            function step1()
+            {
+                InspectorTest.evaluateInPage(&quot;dumpObject('Set primitive')&quot;, next);
+            }
+        },
+
+        function testSetHandle(next)
+        {
+            obj1.setPropertyValue(&quot;foo&quot;, &quot;object2&quot;, step1);
+
+            function step1()
+            {
+                InspectorTest.evaluateInPage(&quot;dumpObject('Set handle')&quot;, next);
+            }
+        },
+
+        function testSetUndefined(next)
+        {
+            obj1.setPropertyValue(&quot;foo&quot;, &quot;undefined&quot;, step1);
+
+            function step1()
+            {
+                InspectorTest.evaluateInPage(&quot;dumpObject('Set undefined')&quot;, next);
+            }
+        },
+
+        function testSetZero(next)
+        {
+            obj1.setPropertyValue(&quot;foo&quot;, &quot;0&quot;, step1);
+
+            function step1()
+            {
+                InspectorTest.evaluateInPage(&quot;dumpObject('Set zero')&quot;, next);
+            }
+        },
+
+        function testSetNull(next)
+        {
+            obj1.setPropertyValue(&quot;foo&quot;, &quot;null&quot;, step1);
+
+            function step1()
+            {
+                InspectorTest.evaluateInPage(&quot;dumpObject('Set null')&quot;, next);
+            }
+        },
+
+        function testSetEmptyString(next)
+        {
+            obj1.setPropertyValue(&quot;foo&quot;, &quot;\&quot;\&quot;&quot;, step1);
+
+            function step1()
+            {
+                InspectorTest.evaluateInPage(&quot;dumpObject('Set empty string')&quot;, next);
+            }
+        },
+
+        function testSetException(next)
+        {
+            obj1.setPropertyValue(&quot;foo&quot;, &quot;throw 'exception'&quot;, step1);
+
+            function step1(error)
+            {
+                InspectorTest.addResult(error);
+                InspectorTest.evaluateInPage(&quot;dumpObject('Set exception')&quot;, next);
+            }
+        },
+
+        function testSetNonFiniteNumbers(next)
+        {
+            obj1.setPropertyValue(&quot;foo&quot;, &quot;NaN&quot;, step1);
+
+            function step1(error)
+            {
+                obj1.setPropertyValue(&quot;foo1&quot;, &quot;Infinity&quot;, step2);
+            }
+
+            function step2(error)
+            {
+                obj1.setPropertyValue(&quot;foo2&quot;, &quot;-Infinity&quot;, step3);
+            }
+
+            function step3(error)
+            {
+                InspectorTest.evaluateInPage(&quot;dumpObject('Set non-finite numbers')&quot;, next);
+            }
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests WebInspector.RemoveObject.setPropertyValue implementation.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletescriptexecutionstatechangenotificationexpectedtxtfromrev164517trunkLayoutTestsinspectorscriptexecutionstatechangenotificationexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/script-execution-state-change-notification-expected.txt (from rev 164517, trunk/LayoutTests/inspector/script-execution-state-change-notification-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/script-execution-state-change-notification-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/script-execution-state-change-notification-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests that whenever Script Execution state is changed outside inspector, its notified to the Inspector front-end.
+
+Registered PageDispatcher.scriptsEnabled()
+running disableJavaScriptTest...
+PageDispatcher.scriptsEnabled should be invoked with isEnabled=false
+running enableJavaScriptTest...
+PageDispatcher.scriptsEnabled should be invoked with isEnabled=true
+Finished verification.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletescriptexecutionstatechangenotificationhtmlfromrev164517trunkLayoutTestsinspectorscriptexecutionstatechangenotificationhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/script-execution-state-change-notification.html (from rev 164517, trunk/LayoutTests/inspector/script-execution-state-change-notification.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/script-execution-state-change-notification.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/script-execution-state-change-notification.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,54 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function enableJavaScriptForPage()
+{
+    if (window.testRunner)
+        testRunner.overridePreference(&quot;WebKitJavaScriptEnabled&quot;, true);
+}
+
+function disableJavaScriptForPage()
+{
+    if (window.testRunner)
+        testRunner.overridePreference(&quot;WebKitJavaScriptEnabled&quot;, false);
+}
+
+function test()
+{
+    function scriptsEnabled(isEnabled)
+    {
+        InspectorTest.addResult(&quot;PageDispatcher.scriptsEnabled should be invoked with isEnabled=&quot; + isEnabled);
+    }
+
+    function disableJavaScriptTest()
+    {
+        InspectorTest.addResult(&quot;running disableJavaScriptTest...&quot;);
+        InspectorTest.evaluateInPage(&quot;disableJavaScriptForPage();&quot;, enableJavaScriptTest);
+    }
+
+    function enableJavaScriptTest()
+    {
+        InspectorTest.addResult(&quot;running enableJavaScriptTest...&quot;);
+        InspectorTest.evaluateInPage(&quot;enableJavaScriptForPage();&quot;, finish);
+    }
+
+    function finish()
+    {
+        InspectorTest.addResult(&quot;Finished verification.&quot;)
+        InspectorTest.completeTest();
+    }
+
+    InspectorTest.addSniffer(WebInspector.PageDispatcher.prototype, &quot;scriptsEnabled&quot;, scriptsEnabled, true);
+    InspectorTest.addResult(&quot;Registered PageDispatcher.scriptsEnabled()&quot;);
+    disableJavaScriptTest();
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Tests that whenever Script Execution state is changed outside inspector, its notified to the Inspector front-end.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestoragepaneldomstorageemptyexpectedtxtfromrev164517trunkLayoutTestsinspectorstoragepaneldomstorageemptyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-empty-expected.txt (from rev 164517, trunk/LayoutTests/inspector/storage-panel-dom-storage-empty-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-empty-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-empty-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Test that storage panel is present and that it contains no data for local and session DOM storages.
+
+Populated local and session storage
+Did show: Local storage
+Did show: Session storage
+Local storage content: 
+KeyValue pairs: 
+Session storage content: 
+KeyValue pairs: 
+DONE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestoragepaneldomstorageemptyhtmlfromrev164517trunkLayoutTestsinspectorstoragepaneldomstorageemptyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-empty.html (from rev 164517, trunk/LayoutTests/inspector/storage-panel-dom-storage-empty.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-empty.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-empty.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,70 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function clearDOMStorage()
+{
+    localStorage.clear();
+    sessionStorage.clear();
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;resources&quot;);
+
+    InspectorTest.evaluateInPage(&quot;clearDOMStorage()&quot;, function(result) {
+        InspectorTest.addResult(&quot;Populated local and session storage&quot;);
+    });
+    function name(storage)
+    {
+        return storage.isLocalStorage ? &quot;Local storage&quot; : &quot;Session storage&quot;;
+    }
+
+    function dumpDataGridContent(dataGrid)
+    {
+        var nodes = dataGrid.rootNode().children;
+        var rows = [];
+        for (var i = 0; i &lt; nodes.length; ++i) {
+            var node = nodes[i];
+            rows.push(node._data.key + node._data.value);
+        }
+        rows.sort();
+        InspectorTest.addResult(&quot;KeyValue pairs: &quot; + rows.join(''));
+    }
+
+    InspectorTest.runAfterPendingDispatches(function() {
+        var storages = WebInspector.domStorageModel.storages();
+        if (storages) {
+            for (var i = 0; i &lt; storages.length; i++) {
+                var storage = storages[i];
+                WebInspector.panels.resources._showDOMStorage(storage);
+                InspectorTest.addResult(&quot;Did show: &quot; + name(storage));
+            }
+        } else
+            InspectorTest.addResult(&quot;FAIL: no DOM storages found.&quot;);
+
+        InspectorTest.runAfterPendingDispatches(function() {
+            var storages = WebInspector.domStorageModel.storages();
+            for (var i = 0; i &lt; storages.length; i++) {
+                var storage = storages[i];
+                InspectorTest.addResult(name(storage) + &quot; content: &quot;);
+                var view = WebInspector.panels.resources._domStorageViews.get(storage);
+                dumpDataGridContent(view._dataGrid);
+            }
+            InspectorTest.addResult(&quot;DONE&quot;);
+            InspectorTest.completeTest();
+        });
+    });
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that storage panel is present and that it contains no data for local and session DOM storages.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestoragepaneldomstorageexpectedtxtfromrev164517trunkLayoutTestsinspectorstoragepaneldomstorageexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-expected.txt (from rev 164517, trunk/LayoutTests/inspector/storage-panel-dom-storage-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Test that storage panel is present and that it contains correct data for local and session DOM storages.
+
+Populated local and session storage
+Did show: Local storage
+Did show: Session storage
+Local storage content: 
+KeyValue pairs: a0=value0, a1=value1, a2=value2, a3=value3, a4=value4, a5=value5, a6=value6, a7=value7, a8=value8, a9=value9, resource-history{}
+Session storage content: 
+KeyValue pairs: b0=value10, b1=value11, b2=value12, b3=value13, b4=value14, b5=value15, b6=value16, b7=value17, b8=value18, b9=value19, 
+DONE
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestoragepaneldomstorageupdateexpectedtxtfromrev164517trunkLayoutTestsinspectorstoragepaneldomstorageupdateexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-update-expected.txt (from rev 164517, trunk/LayoutTests/inspector/storage-panel-dom-storage-update-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-update-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-update-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+Test that storage panel is present and that it contains correct data whenever localStorage is updated.
+
+
+Running: initialize
+Initialized localStorage by clearing entries
+
+Running: updateLocalStorageView
+Resource Panel with localStorage view updated
+
+Running: addItemTest
+addItem('a1','=value1')
+KeyValue pairs: [a1=value1]
+addItem('a2','=value2')
+KeyValue pairs: [a1=value1,a2=value2]
+addItem('a3','=value3')
+KeyValue pairs: [a1=value1,a2=value2,a3=value3]
+addItem('a4','=value4')
+KeyValue pairs: [a1=value1,a2=value2,a3=value3,a4=value4]
+addItem('a5','=value5')
+KeyValue pairs: [a1=value1,a2=value2,a3=value3,a4=value4,a5=value5]
+
+Running: removeItemTest
+removeItem('a5')
+KeyValue pairs: [a1=value1,a2=value2,a3=value3,a4=value4]
+removeItem('a4')
+KeyValue pairs: [a1=value1,a2=value2,a3=value3]
+
+Running: clearTest
+clear()
+KeyValue pairs: []
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestoragepaneldomstorageupdatehtmlfromrev164517trunkLayoutTestsinspectorstoragepaneldomstorageupdatehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-update.html (from rev 164517, trunk/LayoutTests/inspector/storage-panel-dom-storage-update.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-update.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage-update.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,171 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function addItem(key,value)
+{
+    localStorage.setItem(key,value);
+}
+
+function removeItem(key)
+{
+    localStorage.removeItem(key);
+}
+
+function clear()
+{
+    localStorage.clear();
+}
+
+function test()
+{
+    var storage = null;
+    var rootNode = null;
+    var count = 1;
+
+    // Resources panel must be visible
+    WebInspector.showPanel(&quot;resources&quot;);
+
+    function dumpDataGrid()
+    {
+        var nodes = rootNode.children;
+        var rows = [];
+        for (var i = 0; i &lt; nodes.length; ++i) {
+            var node = nodes[i];
+            if (node._data.key.length)
+                rows.push(node._data.key + node._data.value);
+        }
+        rows.sort();
+        InspectorTest.addResult(&quot;KeyValue pairs: [&quot; + rows.join() + &quot;]&quot;);
+    }
+
+    var nextDOMStorageClearHandler = null;
+    InspectorTest.addSniffer(WebInspector.DOMStorageDispatcher.prototype, &quot;domStorageItemsCleared&quot;, function() {
+        if (nextDOMStorageClearHandler) {
+            var handler = nextDOMStorageClearHandler;
+            nextDOMStorageClearHandler = null;
+            handler();
+        } else
+            InspectorTest.addResult(&quot;ERROR: domStorageItemsCleared event without handler&quot;);
+    }, true);
+
+    var nextDOMStorageAddHandler = null;
+    InspectorTest.addSniffer(WebInspector.DOMStorageDispatcher.prototype, &quot;domStorageItemAdded&quot;, function() {
+        if (nextDOMStorageAddHandler) {
+            var handler = nextDOMStorageAddHandler;
+            nextDOMStorageAddHandler = null;
+            handler();
+        } else
+            InspectorTest.addResult(&quot;ERROR: domStorageItemAdded event without handler&quot;);
+    }, true);
+
+    var nextDOMStorageRemoveHandler = null;
+    InspectorTest.addSniffer(WebInspector.DOMStorageDispatcher.prototype, &quot;domStorageItemRemoved&quot;, function() {
+        if (nextDOMStorageRemoveHandler) {
+            var handler = nextDOMStorageRemoveHandler;
+            nextDOMStorageRemoveHandler = null;
+            handler();
+        } else
+            InspectorTest.addResult(&quot;ERROR: domStorageItemRemoved event without handler&quot;);
+    }, true);
+
+    InspectorTest.runTestSuite([
+        function initialize(next)
+        {
+            function didClear(result)
+            {
+                InspectorTest.addResult(&quot;Initialized localStorage by clearing entries&quot;);
+                next();
+            }
+
+            nextDOMStorageClearHandler = didClear;
+
+            InspectorTest.evaluateInPage(&quot;clear()&quot;);
+        },
+
+        function updateLocalStorageView(next)
+        {
+            function localStorageViewUpdated()
+            {
+                rootNode = WebInspector.panels.resources._domStorageViews.get(storage)._dataGrid.rootNode();
+                InspectorTest.addResult(&quot;Resource Panel with localStorage view updated&quot;);
+                next();
+            }
+
+            var didFindStorage = false;
+
+            var storages = WebInspector.domStorageModel.storages();
+            for (var i = 0; i &lt; storages.length; ++i) {
+                storage = storages[i];
+                if (storage.isLocalStorage) {
+                    WebInspector.panels.resources._showDOMStorage(storage);
+                    InspectorTest.runAfterPendingDispatches(localStorageViewUpdated);
+                    didFindStorage = true;
+                    break;
+                }
+            }
+
+            if (!didFindStorage)
+                InspectorTest.addResult(&quot;did not find local storage&quot;);
+        },
+
+        function addItemTest(next)
+        {
+            function viewUpdatedAfterAddition()
+            {
+                rootNode = WebInspector.panels.resources._domStorageViews.get(storage)._dataGrid.rootNode();
+                dumpDataGrid();
+                if (count &lt; 6)
+                    addItemTest(next);
+                else
+                    next();
+            }
+
+            nextDOMStorageAddHandler = viewUpdatedAfterAddition;
+
+            InspectorTest.addResult(&quot;addItem('a&quot;+count+&quot;','=value&quot;+count+&quot;')&quot;);
+            InspectorTest.evaluateInPage(&quot;addItem('a&quot;+count+&quot;','=value&quot;+count+&quot;')&quot;);
+            count++;
+        },
+
+        function removeItemTest(next)
+        {
+            function viewUpdatedAfterRemoval()
+            {
+                rootNode = WebInspector.panels.resources._domStorageViews.get(storage)._dataGrid.rootNode();
+                dumpDataGrid();
+                if (count &gt; 4)
+                    removeItemTest(next);
+                else
+                    next();
+            }
+
+            nextDOMStorageRemoveHandler = viewUpdatedAfterRemoval;
+
+            --count;
+            InspectorTest.addResult(&quot;removeItem('a&quot;+count+&quot;')&quot;);
+            InspectorTest.evaluateInPage(&quot;removeItem('a&quot;+count+&quot;')&quot;);
+        },
+
+        function clearTest(next)
+        {
+            function viewUpdatedAfterClear()
+            {
+                rootNode = WebInspector.panels.resources._domStorageViews.get(storage)._dataGrid.rootNode();
+                dumpDataGrid();
+                next();
+            }
+
+            nextDOMStorageClearHandler = viewUpdatedAfterClear;
+
+            InspectorTest.addResult(&quot;clear()&quot;);
+            InspectorTest.evaluateInPage(&quot;clear()&quot;);
+        }
+    ]);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;Test that storage panel is present and that it contains correct data whenever localStorage is updated.&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestoragepaneldomstoragehtmlfromrev164517trunkLayoutTestsinspectorstoragepaneldomstoragehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage.html (from rev 164517, trunk/LayoutTests/inspector/storage-panel-dom-storage.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/storage-panel-dom-storage.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,76 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function populateDOMStorage()
+{
+    localStorage.clear();
+    sessionStorage.clear();
+    localStorage[&quot;resource-history&quot;] = &quot;{}&quot;; // This mitigates file:// localstorage conflict.
+    // Fill local and session storage with some random strings.
+    for (var i = 0; i &lt; 10; i++) {
+        localStorage[&quot;a&quot; + i] = &quot;=value&quot; + i + &quot;, &quot;;
+        sessionStorage[&quot;b&quot; + i] = &quot;=value&quot; + (i+10) + &quot;, &quot;;
+    }
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;resources&quot;);
+
+    InspectorTest.evaluateInPage(&quot;populateDOMStorage()&quot;, function(result) {
+        InspectorTest.addResult(&quot;Populated local and session storage&quot;);
+    });
+    function name(storage)
+    {
+        return storage.isLocalStorage ? &quot;Local storage&quot; : &quot;Session storage&quot;;
+    }
+
+    function dumpDataGridContent(dataGrid)
+    {
+        var nodes = dataGrid.rootNode().children;
+        var rows = [];
+        for (var i = 0; i &lt; nodes.length; ++i) {
+            var node = nodes[i];
+            rows.push(node._data.key + node._data.value);
+        }
+        rows.sort();
+        InspectorTest.addResult(&quot;KeyValue pairs: &quot; + rows.join(''));
+    }
+
+    InspectorTest.runAfterPendingDispatches(function() {
+        var storages = WebInspector.domStorageModel.storages();
+        if (storages) {
+            for (var i = 0; i &lt; storages.length; i++) {
+                var storage = storages[i];
+                WebInspector.panels.resources._showDOMStorage(storage);
+                InspectorTest.addResult(&quot;Did show: &quot; + name(storage));
+            }
+        } else
+            InspectorTest.addResult(&quot;FAIL: no DOM storages found.&quot;);
+
+        InspectorTest.runAfterPendingDispatches(function() {
+            var storages = WebInspector.domStorageModel.storages();
+            for (var i = 0; i &lt; storages.length; i++) {
+                var storage = storages[i];
+                InspectorTest.addResult(name(storage) + &quot; content: &quot;);
+                var view = WebInspector.panels.resources._domStorageViews.get(storage);
+                dumpDataGridContent(view._dataGrid);
+            }
+            InspectorTest.addResult(&quot;DONE&quot;);
+            InspectorTest.completeTest();
+        });
+    });
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test that storage panel is present and that it contains correct data for local and session DOM storages.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesaddnewruleinlinestylecspexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesaddnewruleinlinestylecspexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-inline-style-csp-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-inline-style-csp-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-inline-style-csp-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+Tests that adding a new rule does not crash the renderer and modifying an inline style does not report errors when forbidden by Content-Security-Policy.
+
+Text
+
+Running: testSetUp
+
+Running: testAddRule
+=== Rule added ===
+#inspected {}
+Affects selected (#inspected) node: true
+
+Running: testAddProperty
+=== Added rule modified ===
+width: 100%;
+=== Selector changed ===
+body {
+    width: 100%;
+}
+Affects selected (#inspected) node: false
+
+Running: testModifyInlineStyle
+=== Inline style modified ===
+font-size: 14px;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesaddnewruleinlinestylecsphtmlfromrev164517trunkLayoutTestsinspectorstylesaddnewruleinlinestylecsphtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-inline-style-csp.html (from rev 164517, trunk/LayoutTests/inspector/styles/add-new-rule-inline-style-csp.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-inline-style-csp.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-inline-style-csp.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,127 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;meta http-equiv=&quot;x-webkit-csp&quot; content=&quot;style-src https://*:443&quot;&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var nodeId;
+    var rule;
+
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.runTestSuite([
+        function testSetUp(next) {
+          InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, next);
+        },
+
+        function testAddRule(next)
+        {
+            var idToDOMNode = WebInspector.domAgent._idToDOMNode;
+            for (var id in idToDOMNode) {
+                node = idToDOMNode[id];
+                if (node.getAttribute &amp;&amp; node.getAttribute(&quot;id&quot;) === &quot;inspected&quot;) {
+                    nodeId = parseInt(id, 10);
+                    WebInspector.cssModel.addRule(nodeId, &quot;#inspected&quot;, successCallback, failureCallback);
+                    break;
+                }
+            }
+
+            function successCallback(newRule, doesAffectSelectedNode)
+            {
+                rule = newRule;
+                InspectorTest.addResult(&quot;=== Rule added ===&quot;);
+                InspectorTest.addResult(rule.selectorText + &quot; {&quot; + rule.style.cssText + &quot;}&quot;);
+                InspectorTest.addResult(&quot;Affects selected (#inspected) node: &quot; + doesAffectSelectedNode);
+                next();
+            }
+
+            function failureCallback()
+            {
+                InspectorTest.addResult(&quot;[!] Failed to add rule.&quot;);
+                InspectorTest.completeTest();
+            }
+        },
+
+        function testAddProperty(next)
+        {
+            rule.style.appendProperty(&quot;width&quot;, &quot;100%&quot;, callback);
+
+            function callback(newStyle)
+            {
+                InspectorTest.addResult(&quot;=== Added rule modified ===&quot;);
+                if (!newStyle) {
+                    InspectorTest.addResult(&quot;[!] No valid rule style received&quot;);
+                    InspectorTest.completeTest();
+                } else {
+                    dumpProperties(newStyle);
+                    WebInspector.cssModel.setRuleSelector(rule.id, nodeId, &quot;body&quot;, successCallback, failureCallback);
+                }
+            }
+
+            function successCallback(rule, doesAffectSelectedNode)
+            {
+                InspectorTest.addResult(&quot;=== Selector changed ===&quot;);
+                InspectorTest.addResult(rule.selectorText + &quot; {&quot; + rule.style.cssText + &quot;}&quot;);
+                InspectorTest.addResult(&quot;Affects selected (#inspected) node: &quot; + doesAffectSelectedNode);
+
+                next();
+            }
+
+            function failureCallback()
+            {
+                InspectorTest.addResult(&quot;[!] Failed to change selector&quot;);
+                InspectorTest.completeTest();
+            }
+        },
+
+        function testModifyInlineStyle(next)
+        {
+            WebInspector.cssModel.getInlineStylesAsync(nodeId, stylesCallback);
+
+            function stylesCallback(inlineStyle)
+            {
+                if (!inlineStyle) {
+                    InspectorTest.completeTest();
+                    return;
+                }
+                inlineStyle.appendProperty(&quot;font-size&quot;, &quot;14px&quot;, appendCallback);
+            }
+
+            function appendCallback(newStyle)
+            {
+                InspectorTest.addResult(&quot;=== Inline style modified ===&quot;);
+                if (!newStyle) {
+                    InspectorTest.addResult(&quot;No valid inline style received&quot;);
+                    InspectorTest.completeTest();
+                    return;
+                }
+
+                dumpProperties(newStyle);
+                next();
+            }
+        }
+    ]);
+
+    function dumpProperties(style)
+    {
+       if (!style)
+           return;
+       var allProperties = style.allProperties;
+       for (var i = 0; i &lt; allProperties.length; ++i)
+           InspectorTest.addResult(allProperties[i].text);
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that adding a new rule does not crash the renderer and modifying an inline style does not report errors when forbidden by Content-Security-Policy.
+&lt;/p&gt;
+
+&lt;div id=&quot;inspected&quot;&gt;Text&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesaddnewruleinvalidselectorexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesaddnewruleinvalidselectorexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-invalid-selector-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-invalid-selector-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-invalid-selector-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+Tests that adding a new rule with invalid selector works as expected.
+
+Text
+
+Running: init
+
+Running: keyframesRuleSelector
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesaddnewruleinvalidselectorhtmlfromrev164517trunkLayoutTestsinspectorstylesaddnewruleinvalidselectorhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-invalid-selector.html (from rev 164517, trunk/LayoutTests/inspector/styles/add-new-rule-invalid-selector.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-invalid-selector.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-invalid-selector.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,45 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.runTestSuite([
+        function init(next)
+        {
+            WebInspector.showPanel(&quot;elements&quot;);
+            InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, next);
+        },
+
+        function keyframesRuleSelector(next)
+        {
+            // Click &quot;Add new rule&quot;.
+            document.getElementById(&quot;add-style-button-test-id&quot;).click();
+            var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+            section._selectorElement.textContent = &quot;@-webkit-keyframes shake&quot;;
+            section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+            InspectorTest.runAfterPendingDispatches(callback);
+
+            function callback()
+            {
+                InspectorTest.dumpSelectedElementStyles(true, false, true);
+                next();
+            }
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that adding a new rule with invalid selector works as expected.
+&lt;/p&gt;
+
+&lt;div id=&quot;inspected&quot;&gt;Text&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesaddnewrulewithstyleafterbodyexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesaddnewrulewithstyleafterbodyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-with-style-after-body-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-with-style-after-body-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-with-style-after-body-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+Tests that adding a new rule works when there is a STYLE element after BODY. TIMEOUT SHOULD NOT OCCUR! Bug 111299
+
+Text
+After adding new rule:
+[expanded] 
+element.style  { ()
+font-size: 12px;
+
+[expanded] [no-affect] 
+inspected  { (inspector-stylesheet:1)
+color: maroon;
+: ;
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesaddnewrulewithstyleafterbodyhtmlfromrev164517trunkLayoutTestsinspectorstylesaddnewrulewithstyleafterbodyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-with-style-after-body.html (from rev 164517, trunk/LayoutTests/inspector/styles/add-new-rule-with-style-after-body.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-with-style-after-body.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/add-new-rule-with-style-after-body.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,67 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function addStyle()
+{
+    var style = document.createElement(&quot;style&quot;);
+    document.documentElement.appendChild(style);
+    style.sheet.insertRule(&quot;foo {display: none;}&quot;, 0);
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.evaluateInPage(&quot;addStyle()&quot;, step0);
+
+    function step0()
+    {
+        InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
+    }
+
+    var treeElement;
+    var hasResourceChanged;
+
+    function step1()
+    {
+        // Click &quot;Add new rule&quot;.
+        document.getElementById(&quot;add-style-button-test-id&quot;).click();
+        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+        section._selectorElement.textContent = &quot;inspected&quot;;
+        section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        InspectorTest.runAfterPendingDispatches(step2);
+    }
+
+    function step2()
+    {
+        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+        var newProperty = section.addNewBlankProperty();
+        newProperty.startEditing();
+        newProperty.nameElement.textContent = &quot;color&quot;;
+        newProperty.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        newProperty.valueElement.textContent = &quot;maroon&quot;;
+        newProperty.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        InspectorTest.waitForStyles(&quot;inspected&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;After adding new rule:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that adding a new rule works when there is a STYLE element after BODY. TIMEOUT SHOULD NOT OCCUR! &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=111299&quot;&gt;Bug 111299&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;div id=&quot;inspected&quot; style=&quot;font-size: 12px&quot;&gt;Text&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesgetsetstylesheettextexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesgetsetstylesheettextexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/get-set-stylesheet-text-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/get-set-stylesheet-text-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/get-set-stylesheet-text-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/get-set-stylesheet-text-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+Tests that WebInspector.CSSStyleSheet methods work as expected.
+
+Inspect Me
+
+
+Running: testSetText
+=== Original stylesheet text: ===
+body {
+    font-size: 12px;
+    foo: bar !
+
+    important /* !important property not recognized by WebCore */;
+    height: 100% !important;
+    colorz: &quot;!important&quot;;
+    important:!important;
+    color: &quot;badcolor&quot; ! important /* good property with strange value */;
+}
+
+@media {
+    /* @media rule with an empty media list */
+}
+
+/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
+
+body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
+
+
+Running: testNewElementStyles
+=== Matched rules for h1 after setText() ===
+
+rule
+h1: [user-agent]
+['display':'block'] @[undefined-undefined] style
+['font-size':'2em'] @[undefined-undefined] style
+['-webkit-margin-before':'0.67em'] @[undefined-undefined] style
+['-webkit-margin-after':'0.67em'] @[undefined-undefined] style
+['-webkit-margin-start':'0px'] @[undefined-undefined] style
+['-webkit-margin-end':'0px'] @[undefined-undefined] style
+['font-weight':'bold'] @[undefined-undefined] style
+
+rule
+h1: [regular]
+['COLOR':'Red'] @[0:5-0:16] active
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesgetsetstylesheettexthtmlfromrev164517trunkLayoutTestsinspectorstylesgetsetstylesheettexthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/get-set-stylesheet-text.html (from rev 164517, trunk/LayoutTests/inspector/styles/get-set-stylesheet-text.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/get-set-stylesheet-text.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/get-set-stylesheet-text.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,117 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+
+/* An inline stylesheet */
+body.mainpage {
+    text-decoration: none;
+}
+&lt;/style&gt;
+
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/get-set-stylesheet-text.css&quot;&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var foundStyleSheet;
+
+    CSSAgent.getAllStyleSheets(findStyleSheet);
+
+    function findStyleSheet(error, styleSheetInfos)
+    {
+        function callback(styleSheet)
+        {
+            foundStyleSheet = styleSheet;
+            InspectorTest.runTestSuite([ testSetText, testNewElementStyles ]);
+        }
+
+        for (var i = 0; i &lt; styleSheetInfos.length; ++i) {
+            if (styleSheetInfos[i].sourceURL.indexOf(&quot;get-set-stylesheet-text.css&quot;) &gt;= 0) {
+                foundStyleSheetInfo = styleSheetInfos[i];
+                WebInspector.CSSStyleSheet.createForId(foundStyleSheetInfo.styleSheetId, callback);
+            }
+        }
+    }
+
+    function testSetText(next)
+    {
+        function callback(error)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;Failed to set stylesheet text: &quot; + error);
+                return;
+            }
+
+            InspectorTest.runAfterPendingDispatches(next);
+        }
+
+        InspectorTest.addResult(&quot;=== Original stylesheet text: ===&quot;);
+        InspectorTest.addResult(foundStyleSheet.getText());
+        foundStyleSheet.setText(&quot;h1 { COLOR: Red; }&quot;, true, callback);
+    }
+
+    function testNewElementStyles()
+    {
+        function callback(error, matchedCSSRules)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+
+            InspectorTest.addResult(&quot;=== Matched rules for h1 after setText() ===&quot;);
+            dumpMatchesArray(matchedCSSRules);
+            InspectorTest.completeTest();
+        }
+
+        function nodeCallback(node)
+        {
+            CSSAgent.getMatchedStylesForNode(node.id, false, false, callback);
+        }
+
+        InspectorTest.selectNodeWithId(&quot;inspected&quot;, nodeCallback);
+    }
+
+
+    // Data dumping
+
+    function dumpMatchesArray(rules)
+    {
+        if (!rules)
+            return;
+        for (var i = 0; i &lt; rules.length; ++i)
+            dumpRuleOrStyle(rules[i].rule);
+    }
+
+    function dumpRuleOrStyle(ruleOrStyle)
+    {
+        if (!ruleOrStyle)
+            return;
+        var isRule = !!(ruleOrStyle.style);
+        var style = isRule ? ruleOrStyle.style : ruleOrStyle;
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(isRule ? &quot;rule&quot; : &quot;style&quot;);
+        InspectorTest.addResult((isRule ? (ruleOrStyle.selectorList.text + &quot;: [&quot; + ruleOrStyle.origin + &quot;]&quot;) : &quot;raw style&quot;));
+        for (var i = 0; i &lt; style.cssProperties.length; ++i) {
+            var property = style.cssProperties[i];
+            if (property.status !== &quot;disabled&quot;)
+                InspectorTest.addResult(&quot;['&quot; + property.name + &quot;':'&quot; + property.value + &quot;'&quot; + (property.priority === &quot;important&quot; ? &quot; is-important&quot; : &quot;&quot;) + ((&quot;parsedOk&quot; in property) ? &quot; non-parsed&quot; : &quot;&quot;) +&quot;] @&quot; + InspectorTest.rangeText(property.range) + &quot; &quot; + (property.status || &quot;style&quot;));
+            else
+                InspectorTest.addResult(&quot;[text='&quot; + property.text + &quot;'] &quot; + property.status);
+        }
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that WebInspector.CSSStyleSheet methods work as expected.
+&lt;/p&gt;
+&lt;h1 id=&quot;inspected&quot;&gt;Inspect Me&lt;/h1&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesimportpseudoclasscrashexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesimportpseudoclasscrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/import-pseudoclass-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/import-pseudoclass-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/import-pseudoclass-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/import-pseudoclass-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+Tests that modifying stylesheet text with @import and :last-child selector does not crash (Bug 95324).
+
+:last-child
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesimportpseudoclasscrashhtmlfromrev164517trunkLayoutTestsinspectorstylesimportpseudoclasscrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/import-pseudoclass-crash.html (from rev 164517, trunk/LayoutTests/inspector/styles/import-pseudoclass-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/import-pseudoclass-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/import-pseudoclass-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/import-pseudoclass-crash.css&quot;&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.nodeWithId(&quot;lastchild&quot;, nodeFound);
+
+    function nodeFound(node)
+    {
+        WebInspector.cssModel.getMatchedStylesAsync(node.id, true, false, matchedStylesCallback);
+    }
+
+    var styleSheetId;
+
+    function matchedStylesCallback(styles)
+    {
+        styleSheetId = styles.matchedCSSRules[1].id.styleSheetId;
+        CSSAgent.setStyleSheetText(styleSheetId,
+            &quot;@import url(\&quot;import-pseudoclass-crash-empty.css\&quot;);\n\n:last-child { color: #000001; }\n&quot;, modifiedCallback);
+    }
+
+    function modifiedCallback()
+    {
+        CSSAgent.setStyleSheetText(styleSheetId, &quot;@import url(\&quot;import-pseudoclass-crash-empty.css\&quot;);\n\n:last-child { color: #002001; }\n&quot;, modifiedCallback2);
+    }
+
+    function modifiedCallback2()
+    {
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that modifying stylesheet text with @import and :last-child selector does not crash (&lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=95324&quot;&gt;Bug 95324&lt;/a&gt;).
+&lt;/p&gt;
+
+&lt;div&gt;
+    &lt;p id=&quot;lastchild&quot;&gt;:last-child&lt;/p&gt;
+&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesinjectstylesheetexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesinjectstylesheetexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/inject-stylesheet-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/inject-stylesheet-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/inject-stylesheet-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/inject-stylesheet-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,135 @@
</span><ins>+CONSOLE MESSAGE: line 9: iframe loaded
+Tests that injected user stylesheets are reflected in the Styles pane.
+
+
+Main frame style:
+[expanded] 
+-webkit-background-clip: border-box;
+-webkit-background-origin: padding-box;
+-webkit-background-size: auto;
+-webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQ…Ms+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==) 100% / 1 / 0px stretch;
+    #main - url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQVR42r2RsQrDMAxEBRdl8SDcX8lQPGg1GBI6lvz/h7QyRRXV0qUULwfvwZ1tenw5PxToRPWMC52eA9+WDnlh3HFQ/xBQl86NFYJqeGflkiogrOvVlIFhqURFVho3x1moGAa3deMs+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==) user stylesheet
+background-attachment: scroll;
+    #main - initial inject-stylesheet.html:5
+background-clip: border-box;
+    #main - initial inject-stylesheet.html:5
+background-color: rgb(0, 0, 255);
+    #main - blue inject-stylesheet.html:5
+background-image: none;
+    #main - initial inject-stylesheet.html:5
+background-origin: padding-box;
+    #main - initial inject-stylesheet.html:5
+background-size: auto;
+    #main - initial inject-stylesheet.html:5
+color: rgb(255, 0, 0);
+    #main - red user stylesheet
+display: block;
+    div - block user agent stylesheet
+
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+media=&quot;screen&quot; (inject-stylesheet.html)
+#main  { (inject-stylesheet.html:5)
+background: blue;
+    background-image: initial;
+    background-position-x: initial;
+    background-position-y: initial;
+    background-size: initial;
+    background-repeat-x: initial;
+    background-repeat-y: initial;
+    background-attachment: initial;
+    background-origin: initial;
+    background-clip: initial;
+    background-color: blue;
+
+[expanded] 
+#main  { (user stylesheet)
+color: red;
+-webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQ…Ms+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==);
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+iframe style:
+[expanded] 
+-webkit-background-clip: border-box;
+-webkit-background-origin: padding-box;
+-webkit-background-size: auto;
+background-attachment: scroll;
+    body - initial inject-stylesheet-iframe-data.html:4
+    /-- overloaded --/ #iframebody - initial user stylesheet
+background-clip: border-box;
+    body - initial inject-stylesheet-iframe-data.html:4
+    /-- overloaded --/ #iframebody - initial user stylesheet
+background-color: rgb(0, 128, 0);
+    body - green inject-stylesheet-iframe-data.html:4
+    /-- overloaded --/ #iframebody - red user stylesheet
+background-image: none;
+    body - initial inject-stylesheet-iframe-data.html:4
+    /-- overloaded --/ #iframebody - initial user stylesheet
+background-origin: padding-box;
+    body - initial inject-stylesheet-iframe-data.html:4
+    /-- overloaded --/ #iframebody - initial user stylesheet
+background-size: auto;
+    body - initial inject-stylesheet-iframe-data.html:4
+    /-- overloaded --/ #iframebody - initial user stylesheet
+display: block;
+    body - block user agent stylesheet
+margin-bottom: 8px;
+    body - 8px user agent stylesheet
+margin-left: 8px;
+    body - 8px user agent stylesheet
+margin-right: 8px;
+    body - 8px user agent stylesheet
+margin-top: 8px;
+    body - 8px user agent stylesheet
+
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+media=&quot;screen&quot; (inject-stylesheet-iframe-data.html)
+body  { (inject-stylesheet-iframe-data.html:4)
+background: green;
+    background-image: initial;
+    background-position-x: initial;
+    background-position-y: initial;
+    background-size: initial;
+    background-repeat-x: initial;
+    background-repeat-y: initial;
+    background-attachment: initial;
+    background-origin: initial;
+    background-clip: initial;
+    background-color: green;
+
+[expanded] 
+#iframebody  { (user stylesheet)
+/-- overloaded --/ background: red;
+    /-- overloaded --/ background-image: initial;
+    /-- overloaded --/ background-position-x: initial;
+    /-- overloaded --/ background-position-y: initial;
+    /-- overloaded --/ background-size: initial;
+    /-- overloaded --/ background-repeat-x: initial;
+    /-- overloaded --/ background-repeat-y: initial;
+    /-- overloaded --/ background-attachment: initial;
+    /-- overloaded --/ background-origin: initial;
+    /-- overloaded --/ background-clip: initial;
+    /-- overloaded --/ background-color: red;
+
+[expanded] 
+body  { (user agent stylesheet)
+display: block;
+margin: 8px;
+    margin-top: 8px;
+    margin-right: 8px;
+    margin-bottom: 8px;
+    margin-left: 8px;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesinjectstylesheethtmlfromrev164517trunkLayoutTestsinspectorstylesinjectstylesheethtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/inject-stylesheet.html (from rev 164517, trunk/LayoutTests/inspector/styles/inject-stylesheet.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/inject-stylesheet.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/inject-stylesheet.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
+  #main { background:blue; }
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function injectStyleSheet()
+{
+    var styleSheet = &quot;#main { color: red; -webkit-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAiElEQVR42r2RsQrDMAxEBRdl8SDcX8lQPGg1GBI6lvz/h7QyRRXV0qUULwfvwZ1tenw5PxToRPWMC52eA9+WDnlh3HFQ/xBQl86NFYJqeGflkiogrOvVlIFhqURFVho3x1moGAa3deMs+LS30CAhBN5nNxeT5hbJ1zwmji2k+aF6NENIPf/hs54f0sZFUVAMigAAAABJRU5ErkJggg==) }  #iframeBody { background: red }&quot;;
+    if (window.testRunner)
+        window.testRunner.addUserStyleSheet(styleSheet, true);
+}
+
+function loadIframe()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.src = &quot;resources/inject-stylesheet-iframe-data.html&quot;;
+    document.getElementById(&quot;main&quot;).appendChild(iframe);
+}
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;injectStyleSheet()&quot;, init);
+
+    function init()
+    {
+        InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;main&quot;, step0);
+    }
+
+    function step0()
+    {
+        InspectorTest.addResult(&quot;Main frame style:&quot;);
+        InspectorTest.dumpSelectedElementStyles();
+        InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
+        InspectorTest.addConsoleSniffer(step1);
+    }
+
+    function step1()
+    {
+        InspectorTest.selectNodeAndWaitForStyles(&quot;iframeBody&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;iframe style:&quot;);
+        InspectorTest.dumpSelectedElementStyles();
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that injected user stylesheets are reflected in the Styles pane.
+&lt;/p&gt;
+
+&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesparsestylesheeterrorsexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesparsestylesheeterrorsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/parse-stylesheet-errors-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/parse-stylesheet-errors-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/parse-stylesheet-errors-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/parse-stylesheet-errors-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+Tests that CSSParser produces source data consistent with CSSOM when parsing broken stylesheets. Bug 98246
+
+body: [regular, 1:0-1:4] {
+    ['color':'black'] @[2:4-2:17] active
+}
+body: [regular, 12:0-12:4] {
+    ['background-color':'broken-declaration' non-parsed] @[13:4-13:41] active
+}
+body: [regular, 2:0-2:4] {
+    ['color':'import-error' non-parsed] @[3:4-3:24] active
+}
+body: [regular, 2:0-2:4] {
+    ['color':'import-error-block' non-parsed] @[3:4-3:30] active
+}
+body: [regular, 2:0-2:4] {
+    ['color':'media-empty' non-parsed] @[3:4-3:23] active
+}
+body: [regular, 2:0-2:4] {
+    ['color':'page-error' non-parsed] @[3:4-3:22] active
+}
+body: [regular, 2:0-2:4] {
+    ['color':'page-block' non-parsed] @[3:4-3:22] active
+}
+body: [regular, 1:0-1:4] {
+    ['color':'before-import' non-parsed] @[2:4-2:25] active
+}
+body: [regular, 5:0-5:4] {
+    ['color':'after-import' non-parsed] @[6:4-6:24] active
+}
+body: [regular, 4:0-4:4] {
+    ['color':'after-invalid-font-face' non-parsed] @[5:4-5:35] active
+}
+body: [regular, 3:0-3:4] {
+    ['color':'after-invalid-region' non-parsed] @[4:4-4:32] active
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesparsestylesheeterrorshtmlfromrev164517trunkLayoutTestsinspectorstylesparsestylesheeterrorshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/parse-stylesheet-errors.html (from rev 164517, trunk/LayoutTests/inspector/styles/parse-stylesheet-errors.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/parse-stylesheet-errors.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/parse-stylesheet-errors.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,118 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+
+    CSSAgent.getAllStyleSheets(headersCallback);
+
+    function headersCallback(error, headers)
+    {
+        if (error) {
+            InspectorTest.addResult(&quot;Error loading stylesheet headers: &quot; + error);
+            InspectorTest.completeTest();
+            return;
+        }
+
+        for (var i = 0; i &lt; headers.length; ++i)
+            CSSAgent.getStyleSheet(headers[i].styleSheetId, styleSheetCallback.bind(null, i === headers.length - 1));
+    }
+
+    function styleSheetCallback(isLast, error, styleSheet)
+    {
+        if (error) {
+            InspectorTest.addResult(&quot;Error loading stylesheet body: &quot; + error);
+            InspectorTest.completeTest();
+            return;
+        }
+
+        InspectorTest.dumpRulesArray(styleSheet.rules);
+        if (isLast)
+            InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+
+&lt;style&gt;
+body {
+    color: black;
+}
+
+font-family: serif;
+}
+
+body:hover {
+    color: #CDE;
+}
+
+body {
+    background-color: broken-declaration;
+}
+
+&lt;/style&gt;
+&lt;style&gt;
+@import 12;
+body {
+    color: import-error;
+}
+&lt;/style&gt;
+&lt;style&gt;
+@import 12 {}
+body {
+    color: import-error-block;
+}
+&lt;/style&gt;
+&lt;style&gt;
+@media ;
+body {
+    color: media-empty;
+}
+&lt;/style&gt;
+&lt;style&gt;
+@page ;
+body {
+    color: page-error;
+}
+&lt;/style&gt;
+&lt;style&gt;
+@page {}
+body {
+    color: page-block;
+}
+&lt;/style&gt;
+&lt;style&gt;
+body {
+    color: before-import;
+}
+@import &quot;foo&quot;;
+body {
+    color: after-import;
+}
+&lt;/style&gt;
+&lt;style&gt;
+@font-face {
+    font-family: initial;
+}
+body {
+    color: after-invalid-font-face;
+}
+&lt;/style&gt;
+&lt;style&gt;
+@-webkit-region %^% {
+}
+body {
+    color: after-invalid-region;
+}
+&lt;/style&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that CSSParser produces source data consistent with CSSOM when parsing broken stylesheets. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=98246&quot;&gt;Bug 98246&lt;/a&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesparseutf8bomexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesparseutf8bomexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/parse-utf8-bom-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/parse-utf8-bom-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/parse-utf8-bom-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/parse-utf8-bom-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+Tests that source data are extracted correctly from external stylesheets in UTF-8 with BOM. Bug 59322.
+
+I'm red.
+
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+h1  { (parse-utf8-bom-main.css:3)
+color: red;
+
+[expanded] 
+h1  { (user agent stylesheet)
+display: block;
+font-size: 2em;
+-webkit-margin-before: 0.67em;
+-webkit-margin-after: 0.67em;
+-webkit-margin-start: 0px;
+-webkit-margin-end: 0px;
+font-weight: bold;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesparseutf8bomhtmlfromrev164517trunkLayoutTestsinspectorstylesparseutf8bomhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/parse-utf8-bom.html (from rev 164517, trunk/LayoutTests/inspector/styles/parse-utf8-bom.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/parse-utf8-bom.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/parse-utf8-bom.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;resources/parse-utf8-bom-main.css&quot;&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that source data are extracted correctly from external stylesheets in UTF-8 with BOM. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=59322&quot;&gt;Bug 59322&lt;/a&gt;.
+&lt;/p&gt;
+&lt;h1 id=&quot;inspected&quot;&gt;
+I'm red.
+&lt;/h1&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesregionstylecrashexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesregionstylecrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/region-style-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/region-style-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/region-style-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/region-style-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+Tests that webkit css region styling can be parsed correctly. Test passes if it doesn't crash.
+
+P color styled in region: #008000.
+
+[expanded] 
+color: rgb(255, 0, 0);
+    #p1 - #ff0000 region-style-crash.html:6
+display: block;
+    p - block user agent stylesheet
+
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+#p1  { (region-style-crash.html:6)
+color: #ff0000;
+
+[expanded] 
+p  { (user agent stylesheet)
+display: block;
+-webkit-margin-before: 1em;
+-webkit-margin-after: 1em;
+-webkit-margin-start: 0px;
+-webkit-margin-end: 0px;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesregionstylecrashhtmlfromrev164517trunkLayoutTestsinspectorstylesregionstylecrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/region-style-crash.html (from rev 164517, trunk/LayoutTests/inspector/styles/region-style-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/region-style-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/region-style-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+#article1 { -webkit-flow-into: flow1; }
+#region1 { -webkit-flow-from: flow1; position: absolute; top: 10px; width: 350px; height: 25px;}
+#p1 { color: #ff0000; }
+@-webkit-region #region1 {
+    #p1 { color: #008000; }
+}
+
+&lt;/style&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;p1&quot;, dumpAllStyles);
+
+    function dumpAllStyles()
+    {
+        InspectorTest.dumpSelectedElementStyles();
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that webkit css region styling can be parsed correctly. Test passes if it doesn't crash.
+&lt;/p&gt;
+
+&lt;div id=&quot;article1&quot;&gt;
+    &lt;p id=&quot;p1&quot;&gt;P color styled in region: #008000.&lt;/p&gt;
+&lt;/div&gt;
+&lt;div id=&quot;region1&quot; class=&quot;regionBox&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesremovedrulecrashexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesremovedrulecrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/removed-rule-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/removed-rule-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/removed-rule-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/removed-rule-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+Tests that disabling style property after the style rule has been removed does not crash the inspected page.
+
+Before disable
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+#container  { (removed-rule-crash.html:4)
+font-weight: bold;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+PASS: No crash
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesremovedrulecrashhtmlfromrev164517trunkLayoutTestsinspectorstylesremovedrulecrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/removed-rule-crash.html (from rev 164517, trunk/LayoutTests/inspector/styles/removed-rule-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/removed-rule-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/removed-rule-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+#container {
+    font-weight: bold;
+}
+&lt;/style&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function removeRule()
+{
+    document.styleSheets[0].removeRule(0);
+}
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step0);
+
+    function step0(node)
+    {
+        InspectorTest.evaluateInPage(&quot;removeRule()&quot;, step1);
+    }
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Before disable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        InspectorTest.toggleMatchedStyleProperty(&quot;font-weight&quot;, false);
+        InspectorTest.runAfterPendingDispatches(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;PASS: No crash&quot;);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that disabling style property after the style rule has been removed does not crash the inspected page.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot;&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesfromcsspngfromrev164517trunkLayoutTestsinspectorstylesresourcesfromcsspng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/fromcss.png (from rev 164517, trunk/LayoutTests/inspector/styles/resources/fromcss.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesfromcsspng"></a>
<div class="propset"><h4>Property changes: trunk/LayoutTests/inspector-obsolete/styles/resources/fromcss.png</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesgetsetstylesheettextcssfromrev164517trunkLayoutTestsinspectorstylesresourcesgetsetstylesheettextcss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/get-set-stylesheet-text.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/get-set-stylesheet-text.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/get-set-stylesheet-text.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/get-set-stylesheet-text.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+body {
+    font-size: 12px;
+    foo: bar !
+
+    important /* !important property not recognized by WebCore */;
+    height: 100% !important;
+    colorz: &quot;!important&quot;;
+    important:!important;
+    color: &quot;badcolor&quot; ! important /* good property with strange value */;
+}
+
+@media {
+    /* @media rule with an empty media list */
+}
+
+/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
+
+body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesiframedpngfromrev164517trunkLayoutTestsinspectorstylesresourcesiframedpng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/iframed.png (from rev 164517, trunk/LayoutTests/inspector/styles/resources/iframed.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesiframedpng"></a>
<div class="propset"><h4>Property changes: trunk/LayoutTests/inspector-obsolete/styles/resources/iframed.png</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesimportpseudoclasscrashemptycssfromrev164517trunkLayoutTestsinspectorstylesresourcesimportpseudoclasscrashemptycss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/import-pseudoclass-crash-empty.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/import-pseudoclass-crash-empty.css) ( => )</h4>
<pre class="diff"><span>
<span class="info">Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/import-pseudoclass-crash.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/import-pseudoclass-crash.css)
===================================================================
</span><del>--- trunk/LayoutTests/inspector-obsolete/styles/resources/import-pseudoclass-crash.css                                (rev 0)
</del><ins>+++ trunk/LayoutTests/inspector-obsolete/styles/resources/import-pseudoclass-crash.css        2014-02-22 01:58:54 UTC (rev 164518)
</ins><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+@import url(&quot;import-pseudoclass-crash-empty.css&quot;);
+
+:last-child {
+  color: #000;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesinjectstylesheetiframedatahtmlfromrev164517trunkLayoutTestsinspectorstylesresourcesinjectstylesheetiframedatahtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/inject-stylesheet-iframe-data.html (from rev 164517, trunk/LayoutTests/inspector/styles/resources/inject-stylesheet-iframe-data.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/inject-stylesheet-iframe-data.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/inject-stylesheet-iframe-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
+  body { background:green; }
+&lt;/style&gt;
+&lt;script&gt;
+function iframeOnload()
+{
+    console.log(&quot;iframe loaded&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;iframeOnload()&quot; id=&quot;iframeBody&quot;&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesmediaqueries1cssfromrev164517trunkLayoutTestsinspectorstylesresourcesmediaqueries1css"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/media-queries-1.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/media-queries-1.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/media-queries-1.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/media-queries-1.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+body {
+    margin: 0;
+}
+
+@media not aural {
+    #main { border: 1px solid black; }
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesmediaqueriescssfromrev164517trunkLayoutTestsinspectorstylesresourcesmediaqueriescss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/media-queries.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/media-queries.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/media-queries.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/media-queries.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+
+
+@import url(media-queries-1.css) screen;
+
+@media screen {
+    #main { color: yellow; }
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesparseutf8bommaincssfromrev164517trunkLayoutTestsinspectorstylesresourcesparseutf8bommaincss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/parse-utf8-bom-main.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-main.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/parse-utf8-bom-main.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/parse-utf8-bom-main.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+@import './parse-utf8-bom-reset.css';
+
+h1 {
+    color: red;
+}
+
+h2 {
+    color: blue;
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesparseutf8bomresetcssfromrev164517trunkLayoutTestsinspectorstylesresourcesparseutf8bomresetcss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/parse-utf8-bom-reset.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/parse-utf8-bom-reset.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/parse-utf8-bom-reset.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/parse-utf8-bom-reset.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesselectorlinecssfromrev164517trunkLayoutTestsinspectorstylesresourcesselectorlinecss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/selector-line.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+#container {
+  background: papayawhip; }
+  #container #inspected {
+    color: green; }
+
+/*@ sourceMappingURL=selector-line.css.map */
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesselectorlinecssmapfromrev164517trunkLayoutTestsinspectorstylesresourcesselectorlinecssmap"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.css.map (from rev 164517, trunk/LayoutTests/inspector/styles/resources/selector-line.css.map) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.css.map                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.css.map        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+{
+&quot;version&quot;: &quot;3&quot;,
+&quot;mappings&quot;: &quot;AAAA,UAAW;EACP,UAAU,EAAE,UAAU;EAEtB,qBAAW;IACP,KAAK,EAAE,KAAK&quot;,
+&quot;sources&quot;: [&quot;selector-line.scss&quot;],
+&quot;file&quot;: &quot;selector-line.css&quot;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesselectorlinescssfromrev164517trunkLayoutTestsinspectorstylesresourcesselectorlinescss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.scss (from rev 164517, trunk/LayoutTests/inspector/styles/resources/selector-line.scss) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.scss                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/selector-line.scss        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+#container {
+    background: papayawhip;
+
+    #inspected {
+        color: green;
+    }
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstyleshistorycssfromrev164517trunkLayoutTestsinspectorstylesresourcesstyleshistorycss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-history.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-history.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-history.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-history.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+body {
+  margin: 10px;
+  padding: 10px;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstylesiframedatahtmlfromrev164517trunkLayoutTestsinspectorstylesresourcesstylesiframedatahtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-iframe-data.html (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-iframe-data.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-iframe-data.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-iframe-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
+  body { background:green; }
+&lt;/style&gt;
+&lt;script&gt;
+function iframeOnload()
+{
+    console.log(&quot;iframe loaded&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;iframeOnload()&quot; id=&quot;iframeBody&quot;&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstylesnewAPI1cssfromrev164517trunkLayoutTestsinspectorstylesresourcesstylesnewAPI1css"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API-1.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-new-API-1.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API-1.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API-1.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+@import url(styles-new-API-2.css);
+
+@page { margin: 2cm } /* All margins set to 2cm */
+
+@page :first {
+  margin-top: 10cm    /* Top margin on first page 10cm */
+}
+
+@media screen {
+
+#absent-id {
+}
+
+@font-face {
+    font-family: 'TheFont';
+    src: url('font.url');
+    font-weight: normal;
+    font-style: normal;
+}
+
+body {
+    property: imported-media-screen-stylesheet;
+}
+
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstylesnewAPI2cssfromrev164517trunkLayoutTestsinspectorstylesresourcesstylesnewAPI2css"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API-2.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-new-API-2.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API-2.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API-2.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+@import url(styles-new-API-1.css);
+
+@page { margin: 2cm } /* All margins set to 2cm */
+
+@page :first {
+  margin-top: 10cm    /* Top margin on first page 10cm */
+}
+
+@media screen {
+
+#absent-id {
+}
+
+@font-face {
+    font-family: 'TheFont';
+    src: url('font.url');
+    font-weight: normal;
+    font-style: normal;
+}
+
+body {
+    property: imported-media-screen-stylesheet;
+}
+
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstylesnewAPIcssfromrev164517trunkLayoutTestsinspectorstylesresourcesstylesnewAPIcss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-new-API.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-new-API.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,33 @@
</span><ins>+@charset &quot;UTF-8&quot;;
+
+@import url(&quot;styles-new-API-1.css&quot;);
+
+html {
+    font-weight: 400;
+}
+
+@media screen {
+body {
+    font-size: 12px;
+    foo: bar !
+
+    important /* !important property not recognized by WebCore */;
+    height: 100% !important;
+    colorz: &quot;!important&quot;;
+    important:!important;
+    color: yellow;
+    color: &quot;badcolor&quot; ! important /* good property with strange value */;
+}
+
+/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
+
+body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
+}
+
+body::after  {
+    content: &quot;After body&quot;;
+}
+
+h1 {
+    height : 100% ; border: 1px solid; border-width: 2px; background-color : #33FF33; googles: abra; foo: .bar; -moz-goog: 1***; border-width: 0px;
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstylessourcelinesinlineiframehtmlfromrev164517trunkLayoutTestsinspectorstylesresourcesstylessourcelinesinlineiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-source-lines-inline-iframe.html (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-source-lines-inline-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-source-lines-inline-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-source-lines-inline-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+.bar {
+    color: red;
+}
+&lt;/style&gt;
+&lt;script&gt;
+function iframeOnload()
+{
+    window.parent.iframeLoaded = true;
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;iframeOnload()&quot;&gt;
+&lt;div id=&quot;bar&quot; class=&quot;bar&quot;&gt;Bar&lt;/div&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstylessourceoffsetscssfromrev164517trunkLayoutTestsinspectorstylesresourcesstylessourceoffsetscss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-source-offsets.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-source-offsets.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-source-offsets.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-source-offsets.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+body {
+    font-size: 12px;
+    foo: bar !
+
+    important /* !important property not recognized by WebCore */;
+    height: 100% !important;
+    colorz: &quot;!important&quot;;
+    important:!important;
+    color: &quot;badcolor&quot; ! important /* good property with strange value */;
+}
+
+/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
+
+body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstylesurllinkifyiframehtmlfromrev164517trunkLayoutTestsinspectorstylesresourcesstylesurllinkifyiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-url-linkify-iframe.html (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-url-linkify-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-url-linkify-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-url-linkify-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+#iframed {
+    background-image: url( iframed.png );
+}
+&lt;/style&gt;
+&lt;script&gt;
+function iframeOnload()
+{
+    window.parent.iframeLoaded = true;
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;iframeOnload()&quot;&gt;
+&lt;div id=&quot;iframed&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesresourcesstylesurllinkifycssfromrev164517trunkLayoutTestsinspectorstylesresourcesstylesurllinkifycss"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/resources/styles-url-linkify.css (from rev 164517, trunk/LayoutTests/inspector/styles/resources/styles-url-linkify.css) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/resources/styles-url-linkify.css                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/resources/styles-url-linkify.css        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+#local {
+    background-image: url(  'fromcss.png' );
+}
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesselectorlistexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesselectorlistexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/selector-list-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/selector-list-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/selector-list-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/selector-list-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,30 @@
</span><ins>+Tests representation of selector lists in the protocol. Bug 103118.
+
+Text
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+FOO bAr, #inspected, MOO&gt;BAR, htML div, Foo~Moo, MOO  { (selector-list.html:19)
+color: green;
+
+[expanded] 
+#inspected  { (selector-list.html:10)
+
+[expanded] 
+#InSpEcTeD  { (selector-list.html:7)
+
+[expanded] 
+#inspected  { (selector-list.html:4)
+
+[expanded] 
+FOO bAr, #inspected, MOO&gt;BAR, htML div, Foo~Moo, MOO  { (selector-list.html:19)
+/-- overloaded --/ color: green;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesselectorlisthtmlfromrev164517trunkLayoutTestsinspectorstylesselectorlisthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/selector-list.html (from rev 164517, trunk/LayoutTests/inspector/styles/selector-list.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/selector-list.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/selector-list.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+#inspected{
+}
+
+#InSpEcTeD {
+}
+
+/* */#inspected/* */ {
+}
+
+/* 
+ */ FOO/*Single-line 1*/ bAr,/* Single-line 2*/#inspected/*
+    Multiline comment
+*/ ,MOO&gt;BAR, /*1*/htML /*2
+*/div/*3*/,/**/Foo~/**C*/Moo,/**/MOO /* Comment
+ */ 
+{
+  color: green;
+}
+
+&lt;/style&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpSelectedElementStyles(true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests representation of selector lists in the protocol. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=103118&quot;&gt;Bug 103118&lt;/a&gt;.
+&lt;/p&gt;
+
+&lt;div id=&quot;inspected&quot;&gt;Text&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylessetpropertyboundariesexpectedtxtfromrev164517trunkLayoutTestsinspectorstylessetpropertyboundariesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/set-property-boundaries-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/set-property-boundaries-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/set-property-boundaries-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/set-property-boundaries-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that setting CSS property text out of boundaries does not crash.
+
+color: red;
+IndexSizeError
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylessetpropertyboundarieshtmlfromrev164517trunkLayoutTestsinspectorstylessetpropertyboundarieshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/set-property-boundaries.html (from rev 164517, trunk/LayoutTests/inspector/styles/set-property-boundaries.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/set-property-boundaries.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/set-property-boundaries.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style&gt;
+h1 {
+    color: red;
+}
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    CSSAgent.getAllStyleSheets(styleSheetInfosLoaded);
+
+    function styleSheetInfosLoaded(error, infos)
+    {
+        if (error) {
+            InspectorTest.addResult(&quot;error: &quot; + error);
+            InspectorTest.completeTest();
+            return;
+        }
+
+        for (var i = 0; i &lt; infos.length; ++i)
+            CSSAgent.getStyleSheet(infos[i].styleSheetId, styleSheetLoaded);
+    }
+
+    function styleSheetLoaded(error, styleSheet)
+    {
+        if (error) {
+            InspectorTest.addResult(&quot;error: &quot; + error);
+            InspectorTest.completeTest();
+            return;
+        }
+        editRule(styleSheet.rules[0]);
+    }
+
+    function editRule(rule)
+    {
+        var style = rule.style;
+        InspectorTest.addResult(style.cssProperties[0].text);
+
+        const outOfBOundsRuleIndex = 10;
+        CSSAgent.setPropertyText(style.styleId, outOfBOundsRuleIndex, &quot;color:blue;&quot;, true, dumpErrorMessage);
+    }
+
+    function dumpErrorMessage(error)
+    {
+        InspectorTest.addResult(error);
+        InspectorTest.completeTest();
+    }   
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that setting CSS property text out of boundaries does not crash.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesaddblankpropertyexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesaddblankpropertyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-add-blank-property-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-add-blank-property-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-add-blank-property-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-add-blank-property-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,56 @@
</span><ins>+Tests that adding a new blank property works.
+
+Text
+Before append:
+[expanded] 
+element.style  { ()
+font-size: 12px;
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After insertion at index 0:
+[expanded] 
+element.style  { ()
+margin-left: 3px;
+font-size: 12px;
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After appending and changing a 'compound' property:
+[expanded] 
+element.style  { ()
+margin-left: 3px;
+font-size: 12px;
+color: red;
+font-weight: bold;
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After insertion at index 2:
+[expanded] 
+element.style  { ()
+margin-left: 3px;
+font-size: 12px;
+/-- overloaded --/ third-property: third-value;
+color: red;
+font-weight: bold;
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesaddblankpropertyhtmlfromrev164517trunkLayoutTestsinspectorstylesstylesaddblankpropertyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-add-blank-property.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-add-blank-property.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-add-blank-property.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-add-blank-property.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,114 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, addAndIncrementFirstProperty);
+
+    var treeElement;
+    var section;
+
+    function addAndIncrementFirstProperty()
+    {
+        InspectorTest.addResult(&quot;Before append:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1];
+        section.expand();
+
+        // Create and increment.
+        treeElement = section.addNewBlankProperty(0);
+        treeElement.startEditing();
+        treeElement.nameElement.textContent = &quot;margin-left&quot;;
+        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+
+        treeElement.valueElement.textContent = &quot;1px&quot;;
+        treeElement.valueElement.firstChild.select();
+        treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Up&quot;));
+        InspectorTest.runAfterPendingDispatches(incrementProperty);
+    }
+
+    function incrementProperty()
+    {
+        // Increment again.
+        treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Up&quot;));
+        InspectorTest.runAfterPendingDispatches(commitProperty);
+    }
+
+    function commitProperty()
+    {
+        // Commit.
+        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        reloadStyles(addAndChangeLastCompoundProperty);
+    }
+
+    function addAndChangeLastCompoundProperty()
+    {
+        InspectorTest.addResult(&quot;After insertion at index 0:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        treeElement = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
+        treeElement.startEditing();
+        treeElement.nameElement.textContent = &quot;color&quot;;
+        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+
+        treeElement.valueElement.textContent = &quot;green; font-weight: bold&quot;;
+        treeElement.kickFreeFlowStyleEditForTest();
+
+        treeElement.valueElement.textContent = &quot;red; font-weight: bold&quot;;
+        treeElement.kickFreeFlowStyleEditForTest();
+
+        treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        InspectorTest.runAfterPendingDispatches(reloadStyles.bind(this, addAndCommitMiddleProperty));
+    }
+
+    function addAndCommitMiddleProperty()
+    {
+        InspectorTest.addResult(&quot;After appending and changing a 'compound' property:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        treeElement = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1].addNewBlankProperty(2);
+        treeElement.startEditing();
+        treeElement.nameElement.textContent = &quot;third-property&quot;;
+        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        treeElement.valueElement.textContent = &quot;third-value&quot;;
+
+        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        InspectorTest.runAfterPendingDispatches(reloadStyles.bind(this, dumpAndComplete));
+    }
+
+    function dumpAndComplete()
+    {
+        InspectorTest.addResult(&quot;After insertion at index 2:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        InspectorTest.completeTest();
+    }
+
+    function reloadStyles(callback) {
+        InspectorTest.selectNodeWithId(&quot;other&quot;);
+        InspectorTest.runAfterPendingDispatches(otherCallback);
+
+        function otherCallback()
+        {
+            InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, callback);
+        }
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that adding a new blank property works.
+&lt;/p&gt;
+
+&lt;div id=&quot;inspected&quot; style=&quot;font-size: 12px&quot;&gt;Text&lt;/div&gt;
+&lt;div id=&quot;other&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesaddinvalidpropertyexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesaddinvalidpropertyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-add-invalid-property-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-add-invalid-property-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-add-invalid-property-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-add-invalid-property-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+Tests that adding an invalid property retains its syntax.
+
+Text
+Before append:
+[expanded] 
+element.style  { ()
+font-size: 12px;
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After append:
+[expanded] 
+element.style  { ()
+font-size: 12px;
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesaddinvalidpropertyhtmlfromrev164517trunkLayoutTestsinspectorstylesstylesaddinvalidpropertyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-add-invalid-property.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-add-invalid-property.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-add-invalid-property.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-add-invalid-property.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,73 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
+
+    var treeElement;
+    var section;
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Before append:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][1];
+        section.expand();
+
+        // Create and increment.
+        treeElement = section.addNewBlankProperty();
+        treeElement.startEditing();
+        treeElement.nameElement.textContent = &quot;color&quot;;
+        treeElement.nameElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+
+        // Update incrementally to a valid value. 
+        treeElement.valueElement.textContent = &quot;rgb(&quot;;
+        treeElement.kickFreeFlowStyleEditForTest();
+        InspectorTest.runAfterPendingDispatches(step2);
+    }
+
+    function step2()
+    {
+        // Commit invalid value. 
+        treeElement.valueElement.textContent = &quot;rgb(1&quot;;
+        treeElement.valueElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        InspectorTest.runAfterPendingDispatches(step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.selectNodeWithId(&quot;other&quot;);
+        InspectorTest.runAfterPendingDispatches(step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step5);
+    }
+
+    function step5()
+    {
+        InspectorTest.addResult(&quot;After append:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that adding an invalid property retains its syntax.
+&lt;/p&gt;
+
+&lt;div id=&quot;inspected&quot; style=&quot;font-size: 12px&quot;&gt;Text&lt;/div&gt;
+&lt;div id=&quot;other&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylescomputedtraceexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylescomputedtraceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-computed-trace-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-computed-trace-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-computed-trace-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-computed-trace-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,64 @@
</span><ins>+Tests that computed styles expand and allow tracing to style rules.
+
+==== Computed style for ID1 ====
+[expanded] 
+-webkit-background-clip: border-box;
+-webkit-background-origin: padding-box;
+-webkit-background-size: auto;
+background-attachment: scroll;
+    #id1 - initial styles-computed-trace.html:23
+background-clip: border-box;
+    #id1 - initial styles-computed-trace.html:23
+background-color: rgb(128, 128, 128);
+    #id1 - gray styles-computed-trace.html:23
+    /-- overloaded --/ #id1 - black styles-computed-trace.html:18
+    /-- overloaded --/ #id1 - green styles-computed-trace.html:13
+background-image: none;
+    #id1 - initial styles-computed-trace.html:23
+background-origin: padding-box;
+    #id1 - initial styles-computed-trace.html:23
+background-size: auto;
+    #id1 - initial styles-computed-trace.html:23
+display: block;
+    div - block user agent stylesheet
+font-family: Courier;
+    #id1 - Courier styles-computed-trace.html:18
+    /-- overloaded --/ #id1 - Times styles-computed-trace.html:13
+    /-- overloaded --/ body - Arial styles-computed-trace.html:4
+text-decoration: underline;
+    div - underline styles-computed-trace.html:9
+
+[expanded] 
+element.style  { ()
+
+
+==== Computed style for ID2 ====
+[expanded] 
+background-color: rgb(0, 0, 255);
+    #id2 - blue styles-computed-trace.html:27
+display: block;
+    div - block user agent stylesheet
+font-family: Courier;
+    #id2 - Courier styles-computed-trace.html:27
+    /-- overloaded --/ #id1 - Courier styles-computed-trace.html:18
+    /-- overloaded --/ #id1 - Times styles-computed-trace.html:13
+    /-- overloaded --/ body - Arial styles-computed-trace.html:4
+text-decoration: underline;
+    /-- overloaded --/ #id2 - invalidvalue styles-computed-trace.html:27
+    div - underline styles-computed-trace.html:9
+
+[expanded] 
+element.style  { ()
+
+
+==== Style for ID3 ====
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+button[Attributes Style]  { ()
+display: none;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylescomputedtracehtmlfromrev164517trunkLayoutTestsinspectorstylesstylescomputedtracehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-computed-trace.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-computed-trace.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-computed-trace.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-computed-trace.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,80 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+body {
+    background-color: rgb(100, 0, 0);
+    font-family: Arial;
+}
+
+div {
+    text-decoration: underline;
+}
+
+#id1 {
+    background-color: green;
+    font-family: Times;
+}
+
+#id1 {
+    background-color: black;
+    font-family: Courier;
+}
+
+#id1 {
+    background: gray;
+}
+
+#id2 {
+    background-color: blue;
+    font-family: Courier;
+    text-decoration: invalidvalue;
+}
+
+&lt;/style&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;id1&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;==== Computed style for ID1 ====&quot;);
+        InspectorTest.dumpSelectedElementStyles(false, true);
+        InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;id2&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;==== Computed style for ID2 ====&quot;);
+        InspectorTest.dumpSelectedElementStyles(false, true);
+        InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;id3&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;==== Style for ID3 ====&quot;);
+        // The button[hidden] style specifies &quot;display: none&quot;, which should not be /-- overloaded --/.
+        InspectorTest.dumpSelectedElementStyles(true, true);
+        InspectorTest.completeTest();
+    }
+
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that computed styles expand and allow tracing to style rules.
+&lt;/p&gt;
+
+&lt;div id=&quot;id1&quot;&gt;
+&lt;div id=&quot;id2&quot;&gt;
+&lt;/div&gt;
+&lt;button id=&quot;id3&quot; hidden /&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisableinheritedexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesdisableinheritedexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-inherited-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-inherited-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-inherited-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-inherited-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+Tests that disabling inherited style property does not break further style inspection.
+
+Before disable
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+======== Inherited from div#container ========
+[expanded] 
+Style Attribute  { ()
+font-weight: bold;
+
+
+After disable:
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisableinheritedhtmlfromrev164517trunkLayoutTestsinspectorstylesstylesdisableinheritedhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-inherited.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-inherited.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-inherited.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-inherited.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+
+    InspectorTest.selectNodeAndWaitForStyles(&quot;nested&quot;, step1);
+
+    function step1()
+    {
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        InspectorTest.addResult(&quot;Before disable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
+        InspectorTest.selectNodeAndWaitForStyles(&quot;nested&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;After disable:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that disabling inherited style property does not break further style inspection.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
+    &lt;div id=&quot;nested&quot;&gt;&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisablethenchangeexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesdisablethenchangeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-change-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-then-change-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-change-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-change-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,21 @@
</span><ins>+Tests that changing a disabled property enables it as well.
+
+Before disable
+[expanded] 
+element.style  { ()
+font-weight: bold;
+
+
+After disable
+[expanded] 
+element.style  { ()
+/-- overloaded --/ /-- disabled --/ font-weight: bold;
+
+
+After change
+[expanded] 
+element.style  { ()
+color: green;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisablethenchangehtmlfromrev164517trunkLayoutTestsinspectorstylesstylesdisablethenchangehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-change.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-then-change.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-change.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-change.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Before disable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, true);
+
+        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
+        InspectorTest.waitForStyles(&quot;container&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;After disable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, true);
+
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        treeItem.applyStyleText(&quot;color: green&quot;, true);
+        InspectorTest.waitForStyles(&quot;container&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;After change&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, true);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that changing a disabled property enables it as well.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
+&lt;/div&gt;
+
+&lt;div id=&quot;other&quot;&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisablethendeleteexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesdisablethendeleteexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-delete-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-then-delete-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-delete-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-delete-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,20 @@
</span><ins>+Tests that removal of property following its disabling works.
+
+Before disable
+[expanded] 
+element.style  { ()
+font-weight: bold;
+
+
+After disable
+[expanded] 
+element.style  { ()
+/-- overloaded --/ /-- disabled --/ font-weight: bold;
+
+
+After delete
+[expanded] 
+element.style  { ()
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisablethendeletehtmlfromrev164517trunkLayoutTestsinspectorstylesstylesdisablethendeletehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-delete.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-then-delete.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-delete.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-delete.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
+
+    function step1()
+    {
+        // Disable property
+        InspectorTest.addResult(&quot;Before disable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, true);
+        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
+        InspectorTest.runAfterPendingDispatches(step2);
+    }
+
+    function step2()
+    {
+        // Delete style
+        InspectorTest.addResult(&quot;After disable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, true);
+
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        treeItem.applyStyleText(&quot;&quot;, true);
+
+        InspectorTest.runAfterPendingDispatches(step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.selectNodeWithId(&quot;other&quot;);
+        InspectorTest.runAfterPendingDispatches(step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step5);
+    }
+
+    function step5(node)
+    {
+        InspectorTest.addResult(&quot;After delete&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, true);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that removal of property following its disabling works.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
+&lt;/div&gt;
+
+&lt;div id=&quot;other&quot;&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisablethenenableexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesdisablethenenableexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-then-enable-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+Tests that disabling style property works.
+
+Before disable
+font-weight: bold;
+After disable
+/-- overloaded --/ /-- disabled --/ font-weight: bold;
+After enable
+font-weight: bold;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisablethenenableoverridenuaexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesdisablethenenableoverridenuaexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-overriden-ua-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-overriden-ua-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-overriden-ua-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,48 @@
</span><ins>+Tests that disabling shorthand removes the &quot;overriden&quot; mark from the UA shorthand it overrides.
+
+Before disable
+[expanded] 
+element.style  { ()
+margin: 10px;
+
+======== Matched CSS Rules ========
+[expanded] 
+#container  { (user stylesheet)
+/-- overloaded --/ margin: 8px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After disable
+[expanded] 
+element.style  { ()
+/-- overloaded --/ /-- disabled --/ margin: 10px;
+
+======== Matched CSS Rules ========
+[expanded] 
+#container  { (user stylesheet)
+margin: 8px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After enable
+[expanded] 
+element.style  { ()
+margin: 10px;
+
+======== Matched CSS Rules ========
+[expanded] 
+#container  { (user stylesheet)
+/-- overloaded --/ margin: 8px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisablethenenableoverridenuahtmlfromrev164517trunkLayoutTestsinspectorstylesstylesdisablethenenableoverridenuahtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-overriden-ua.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-then-enable-overriden-ua.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-overriden-ua.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable-overriden-ua.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,57 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;script&gt;
+
+function injectStyleSheet()
+{
+    var styleSheet = &quot;#container { margin: 8px }&quot;;
+    if (window.testRunner)
+        window.testRunner.addUserStyleSheet(styleSheet, true);
+}
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;injectStyleSheet()&quot;, step1);
+    function step1()
+    {
+        InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;Before disable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.toggleStyleProperty(&quot;margin&quot;, false);
+        InspectorTest.waitForStyles(&quot;container&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;After disable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.toggleStyleProperty(&quot;margin&quot;, true);
+        InspectorTest.waitForStyles(&quot;container&quot;, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.addResult(&quot;After enable&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot; id=&quot;body-id&quot;&gt;
+&lt;p&gt;
+Tests that disabling shorthand removes the &quot;overriden&quot; mark from the UA shorthand it overrides.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;margin: 10px&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesdisablethenenablehtmlfromrev164517trunkLayoutTestsinspectorstylesstylesdisablethenenablehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-disable-then-enable.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-disable-then-enable.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
+
+    function step1(node)
+    {
+        InspectorTest.addResult(&quot;Before disable&quot;);
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
+
+        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
+        InspectorTest.waitForStyles(&quot;container&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;After disable&quot;);
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
+
+        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, true);
+        InspectorTest.waitForStyles(&quot;container&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;After enable&quot;);
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
+
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that disabling style property works.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesformattingexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesformattingexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-formatting-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-formatting-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-formatting-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-formatting-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,177 @@
</span><ins>+Tests that InspectorCSSAgent formats the CSS style text based on the CSS model modifications.
+
+Formatted
+Unformatted
+
+Running: initFormattedStyle
+
+Running: testFormattedInsertStart
+raw cssText:
+{ 
+    firstProperty: firstValue;
+    property1: value1;
+    property2: value2;
+    property3: value3;
+}
+
+Running: testFormattedRemoveStart
+raw cssText:
+{ 
+    property1: value1;
+    property2: value2;
+    property3: value3;
+}
+
+Running: testFormattedInsertMiddle
+raw cssText:
+{ 
+    property1: value1;
+    middleProperty: middleValue;
+    property2: value2;
+    property3: value3;
+}
+
+Running: testFormattedRemoveMiddle
+raw cssText:
+{ 
+    property1: value1;
+    property2: value2;
+    property3: value3;
+}
+
+Running: testFormattedInsertEnd
+raw cssText:
+{ 
+    property1: value1;
+    property2: value2;
+    property3: value3;
+    endProperty: endValue;
+}
+
+Running: testFormattedRemoveEnd
+raw cssText:
+{ 
+    property1: value1;
+    property2: value2;
+    property3: value3;
+}
+
+Running: testFormattedDisableStart
+raw cssText:
+{ 
+    property2: value2;
+    property3: value3;
+}
+
+Running: testFormattedDisableEnd
+raw cssText:
+{ 
+    property2: value2;
+}
+
+Running: testFormattedDisableMiddle
+raw cssText:
+{ 
+}
+
+Running: testFormattedInsert1
+raw cssText:
+{ 
+    propA: valA;
+}
+
+Running: testFormattedInsert2
+raw cssText:
+{ 
+    propA: valA;
+    propB: valB;
+}
+
+Running: testFormattedInsert3
+raw cssText:
+{ 
+    propA: valA;
+    propB: valB;
+    propC: valC;
+}
+
+Running: testFormattedEnableStart
+raw cssText:
+{ 
+    propA: valA;
+    property1: value1;
+    propB: valB;
+    propC: valC;
+}
+
+Running: testFormattedEnableEnd
+raw cssText:
+{ 
+    propA: valA;
+    property1: value1;
+    propB: valB;
+    property3: value3;
+    propC: valC;
+}
+
+Running: testFormattedEnableMiddle
+raw cssText:
+{ 
+    propA: valA;
+    property1: value1;
+    propB: valB;
+    property2: value2;
+    property3: value3;
+    propC: valC;
+}
+
+Running: initUnformattedStyle
+
+Running: testUnformattedInsertStart
+raw cssText:
+{firstProperty: firstValue;property1:value1;property2:value2;property3:value3;}
+
+Running: testUnformattedRemoveStart
+raw cssText:
+{property1:value1;property2:value2;property3:value3;}
+
+Running: testUnformattedInsertMiddle
+raw cssText:
+{property1:value1;middleProperty: middleValue;property2:value2;property3:value3;}
+
+Running: testUnformattedRemoveMiddle
+raw cssText:
+{property1:value1;property2:value2;property3:value3;}
+
+Running: testUnformattedInsertEnd
+raw cssText:
+{property1:value1;property2:value2;property3:value3;endProperty: endValue;}
+
+Running: testUnformattedRemoveEnd
+raw cssText:
+{property1:value1;property2:value2;property3:value3;}
+
+Running: testUnformattedDisableStart
+raw cssText:
+{property2:value2;property3:value3;}
+
+Running: testUnformattedDisableEnd
+raw cssText:
+{property2:value2;}
+
+Running: testUnformattedDisableMiddle
+raw cssText:
+{}
+
+Running: testUnformattedEnableStart
+raw cssText:
+{property1:value1;}
+
+Running: testUnformattedEnableEnd
+raw cssText:
+{property1:value1;property3:value3;}
+
+Running: testUnformattedEnableMiddle
+raw cssText:
+{property1:value1;property2:value2;property3:value3;}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesformattinghtmlfromrev164517trunkLayoutTestsinspectorstylesstylesformattinghtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-formatting.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-formatting.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-formatting.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-formatting.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,248 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    var formattedStyle;
+    var unformattedStyle;
+
+    InspectorTest.runTestSuite([
+        function initFormattedStyle(next)
+        {
+            function callback(styles)
+            {
+                if (!styles) {
+                    InspectorTest.addResult(&quot;empty styles&quot;);
+                    return;
+                }
+
+                formattedStyle = styles.matchedCSSRules[1].style;
+                next();
+            }
+
+            function nodeCallback(node)
+            {
+                WebInspector.cssModel.getMatchedStylesAsync(node.id, false, false, callback);
+            }
+            InspectorTest.selectNodeWithId(&quot;formatted&quot;, nodeCallback);
+        },
+
+        function testFormattedInsertStart(next)
+        {
+            formattedStyle.insertPropertyAt(0, &quot;firstProperty&quot;, &quot;firstValue&quot;, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedRemoveStart(next)
+        {
+            formattedStyle.allProperties[0].setText(&quot;&quot;, true, true, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedInsertMiddle(next)
+        {
+            formattedStyle.insertPropertyAt(1, &quot;middleProperty&quot;, &quot;middleValue&quot;, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedRemoveMiddle(next)
+        {
+            formattedStyle.allProperties[1].setText(&quot;&quot;, true, true, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedInsertEnd(next)
+        {
+            formattedStyle.insertPropertyAt(3, &quot;endProperty&quot;, &quot;endValue&quot;, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedRemoveEnd(next)
+        {
+            formattedStyle.allProperties[3].setText(&quot;&quot;, true, true, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedDisableStart(next)
+        {
+            formattedStyle.allProperties[0].setDisabled(true, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedDisableEnd(next)
+        {
+            formattedStyle.allProperties[2].setDisabled(true, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedDisableMiddle(next)
+        {
+            formattedStyle.allProperties[1].setDisabled(true, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedInsert1(next)
+        {
+            formattedStyle.insertPropertyAt(0, &quot;propA&quot;, &quot;valA&quot;, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedInsert2(next)
+        {
+            formattedStyle.insertPropertyAt(2, &quot;propB&quot;, &quot;valB&quot;, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedInsert3(next)
+        {
+            formattedStyle.insertPropertyAt(5, &quot;propC&quot;, &quot;valC&quot;, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedEnableStart(next)
+        {
+            formattedStyle.allProperties[1].setDisabled(false, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedEnableEnd(next)
+        {
+            formattedStyle.allProperties[4].setDisabled(false, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function testFormattedEnableMiddle(next)
+        {
+            formattedStyle.allProperties[3].setDisabled(false, dumpFormattedAndCallNext.bind(null, next));
+        },
+
+        function initUnformattedStyle(next)
+        {
+            function callback(styles)
+            {
+                if (!styles) {
+                    InspectorTest.addResult(&quot;empty styles&quot;);
+                    return;
+                }
+
+                unformattedStyle = styles.matchedCSSRules[1].style;
+                next();
+            }
+
+            function nodeCallback(node)
+            {
+                WebInspector.cssModel.getMatchedStylesAsync(node.id, false, false, callback);
+            }
+            InspectorTest.selectNodeWithId(&quot;unformatted&quot;, nodeCallback);
+        },
+
+        function testUnformattedInsertStart(next)
+        {
+            unformattedStyle.insertPropertyAt(0, &quot;firstProperty&quot;, &quot;firstValue&quot;, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedRemoveStart(next)
+        {
+            unformattedStyle.allProperties[0].setText(&quot;&quot;, true, true, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedInsertMiddle(next)
+        {
+            unformattedStyle.insertPropertyAt(1, &quot;middleProperty&quot;, &quot;middleValue&quot;, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedRemoveMiddle(next)
+        {
+            unformattedStyle.allProperties[1].setText(&quot;&quot;, true, true, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedInsertEnd(next)
+        {
+            unformattedStyle.insertPropertyAt(3, &quot;endProperty&quot;, &quot;endValue&quot;, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedRemoveEnd(next)
+        {
+            unformattedStyle.allProperties[3].setText(&quot;&quot;, true, true, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedDisableStart(next)
+        {
+            unformattedStyle.allProperties[0].setDisabled(true, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedDisableEnd(next)
+        {
+            unformattedStyle.allProperties[2].setDisabled(true, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedDisableMiddle(next)
+        {
+            unformattedStyle.allProperties[1].setDisabled(true, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedEnableStart(next)
+        {
+            unformattedStyle.allProperties[0].setDisabled(false, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedEnableEnd(next)
+        {
+            unformattedStyle.allProperties[2].setDisabled(false, dumpUnformattedAndCallNext.bind(null, next));
+        },
+
+        function testUnformattedEnableMiddle(next)
+        {
+            unformattedStyle.allProperties[1].setDisabled(false, dumpUnformattedAndCallNext.bind(null, next));
+        }
+    ]);
+
+    // Data dumping
+
+    function dumpFormattedAndCallNext(next, style)
+    {
+        if (!style) {
+            InspectorTest.addResult(&quot;error: empty style&quot;);
+            InspectorTest.completeTest();
+        }
+
+        formattedStyle = style;
+        dumpStyle(style);
+        if (next)
+            next();
+    }
+
+    function dumpUnformattedAndCallNext(next, style)
+    {
+        if (!style) {
+            InspectorTest.addResult(&quot;error: empty style&quot;);
+            InspectorTest.completeTest();
+        }
+
+        unformattedStyle = style;
+        dumpStyle(style);
+        if (next)
+            next();
+    }
+
+    function dumpStyle(style)
+    {
+        if (!style)
+            return;
+        InspectorTest.addResult(&quot;raw cssText:&quot;);
+        InspectorTest.addResult(&quot;{&quot; + style.cssText + &quot;}&quot;);
+    }
+}
+&lt;/script&gt;
+
+&lt;style&gt;
+
+#formatted { 
+    property1: value1;
+    property2: value2;
+    property3: value3;
+}
+
+#unformatted {property1:value1;property2:value2;property3:value3;}
+
+&lt;/style&gt;
+&lt;/head&gt;
+
+&lt;body id=&quot;mainBody&quot; onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that InspectorCSSAgent formats the CSS style text based on the CSS model modifications.
+&lt;/p&gt;
+&lt;div id=&quot;formatted&quot;&gt;Formatted&lt;/div&gt;
+&lt;div id=&quot;unformatted&quot;&gt;Unformatted&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstyleshistoryexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstyleshistoryexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-history-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-history-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-history-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-history-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+Tests resources panel history.
+
+
+Running: testSetUp
+
+Running: testSetResourceContentMinor
+History length: 0
+
+Running: testSetResourceContentMajor
+History length: 1
+Item 0:
+body {
+  margin: 20px;
+  padding: 10px;
+}
+
+Running: testSetContentViaModelMinor
+History length: 1
+Item 0:
+body {
+  margin: 20px;
+  padding: 10px;
+}
+
+Running: testSetContentViaModelMajor
+History length: 2
+Item 0:
+body {
+  margin: 20px;
+  padding: 10px;
+}
+Item 1:
+body {
+  margin:30px;
+  padding: 10px;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstyleshistoryhtmlfromrev164517trunkLayoutTestsinspectorstylesstyleshistoryhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-history.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-history.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-history.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-history.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,133 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-history.css&quot;&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/resources-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.runAfterCachedResourcesProcessed(runTestSuite);
+
+    var uiSourceCode;
+
+    function runTestSuite()
+    {
+        InspectorTest.runTestSuite([
+            function testSetUp(next)
+            {
+                function visitUISourceCodes(currentUISourceCode)
+                {
+                    if (currentUISourceCode.originURL().indexOf(&quot;styles-history.css&quot;) === -1)
+                        return;
+                    uiSourceCode = currentUISourceCode;
+                    next();
+                }
+                WebInspector.workspace.uiSourceCodes().forEach(visitUISourceCodes);
+            },
+
+            function testSetResourceContentMinor(next)
+            {
+                InspectorTest.addSniffer(WebInspector.StyleFile.prototype, &quot;_styleContentSet&quot;, styleUpdatedMinor);
+                uiSourceCode.setWorkingCopy(&quot;body {\n  margin: 15px;\n  padding: 10px;\n}&quot;);
+
+                function styleUpdatedMinor()
+                {
+                    dumpHistory(next)();
+                }
+            },
+
+            function testSetResourceContentMajor(next)
+            {
+                InspectorTest.addSniffer(WebInspector.StyleFile.prototype, &quot;_styleContentSet&quot;, styleUpdatedMinor);
+                uiSourceCode.setWorkingCopy(&quot;body {\n  margin: 20px;\n  padding: 10px;\n}&quot;);
+
+                function styleUpdatedMinor()
+                {
+                    InspectorTest.addSniffer(WebInspector.StyleFile.prototype, &quot;_styleContentSet&quot;, styleUpdatedMajor);
+                    uiSourceCode.commitWorkingCopy(function() { });
+
+                    function styleUpdatedMajor()
+                    {
+                        dumpHistory(next)();
+                    }
+                }
+            },
+
+            function testSetContentViaModelMinor(next)
+            {
+                styleSheetForResource(step1);
+
+                function step1(styleSheet)
+                {
+                    var style = styleSheet.rules[0].style;
+                    var property = style.getLiveProperty(&quot;margin&quot;);
+                    property.setText(&quot;margin:25px;&quot;, false, true, dumpHistory(next));
+                }
+            },
+
+            function testSetContentViaModelMajor(next)
+            {
+                styleSheetForResource(step1);
+
+                function step1(styleSheet)
+                {
+                    var style = styleSheet.rules[0].style;
+                    var property = style.getLiveProperty(&quot;margin&quot;);
+                    property.setText(&quot;margin:30px;&quot;, true, true);
+                    InspectorTest.runAfterPendingDispatches(dumpHistory(next));
+                }
+            }
+        ]);
+    }
+
+    function styleSheetForResource(callback)
+    {
+        CSSAgent.getAllStyleSheets(didGetAllStyleSheets.bind(this));
+
+        function didGetAllStyleSheets(error, infos)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;Error:&quot; + error);
+                callback(null);
+                return;
+            }
+
+            for (var i = 0; i &lt; infos.length; ++i) {
+                var info = infos[i];
+                if (info.sourceURL.indexOf(&quot;styles-history.css&quot;) === -1)
+                    continue;
+                WebInspector.CSSStyleSheet.createForId(info.styleSheetId, callback);
+                return;
+            }
+            callback(null);
+        }
+    }
+
+    function dumpHistory(next)
+    {
+        function result()
+        {
+            InspectorTest.addResult(&quot;History length: &quot; + uiSourceCode.history.length);
+            for (var i = 0; i &lt; uiSourceCode.history.length; ++i) {
+                InspectorTest.addResult(&quot;Item &quot; + i + &quot;:&quot;);
+                InspectorTest.addResult(uiSourceCode.history[i].content);
+            }
+            next();
+        }
+        return result;
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests resources panel history.
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesiframeexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesiframeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-iframe-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-iframe-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-iframe-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-iframe-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+CONSOLE MESSAGE: line 9: iframe loaded
+Tests that proper (and different) styles are returned for body elements of main document and iframe.
+
+
+Main frame style:
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+media=&quot;screen&quot; (styles-iframe.html)
+#main  { (styles-iframe.html:5)
+background: blue;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+iframe style:
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+media=&quot;screen&quot; (styles-iframe-data.html)
+body  { (styles-iframe-data.html:4)
+background: green;
+
+[expanded] 
+body  { (user agent stylesheet)
+display: block;
+margin: 8px;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesiframehtmlfromrev164517trunkLayoutTestsinspectorstylesstylesiframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-iframe.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-iframe.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-iframe.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-iframe.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,53 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
+  #main { background:blue; }
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function loadIframe()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.src = &quot;resources/styles-iframe-data.html&quot;;
+    document.getElementById(&quot;main&quot;).appendChild(iframe);
+}
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;loadIframe()&quot;);
+    InspectorTest.addConsoleSniffer(step0);
+
+    function step0()
+    {
+        InspectorTest.selectNodeAndWaitForStyles(&quot;main&quot;, step1);
+    }
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Main frame style:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.selectNodeAndWaitForStyles(&quot;iframeBody&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;iframe style:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that proper (and different) styles are returned for body elements of main document and iframe.
+&lt;/p&gt;
+
+&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesincludehostrulescrashexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesincludehostrulescrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-include-host-rules-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-include-host-rules-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-include-host-rules-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+[bug 102116] - https://bugs.webkit.org/show_bug.cgi?id=102116 - ASSERT_NOT_REACHED() when building a CSSOM wrapper for StyleRuleHost. If this test passes, no crash occurs.
+
+Foo
+[expanded] 
+display: block;
+    div - block user agent stylesheet
+
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesincludehostrulescrashhtmlfromrev164517trunkLayoutTestsinspectorstylesstylesincludehostrulescrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-include-host-rules-crash.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-include-host-rules-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-include-host-rules-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-include-host-rules-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+@host {
+    div { border: 1px solid blue; }
+}
+
+@host.div {
+  opacity: 0;
+}
+&lt;/style&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStylesWithComputed(&quot;foo&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpSelectedElementStyles(false, false);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+[bug 102116] - &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=102116&quot;&gt;https://bugs.webkit.org/show_bug.cgi?id=102116&lt;/a&gt; -
+ASSERT_NOT_REACHED() when building a CSSOM wrapper for StyleRuleHost.
+If this test passes, no crash occurs.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot;&gt;
+    &lt;div id=&quot;foo&quot;&gt;Foo&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesinvalidcolorvaluesexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesinvalidcolorvaluesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-invalid-color-values-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-invalid-color-values-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-invalid-color-values-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-invalid-color-values-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,79 @@
</span><ins>+Tests that the displayed string for colors correctly handles clipped CSS values and RGB percentages.
+
+
+Running: testColors
+
+color: red
+  simple: true
+  original: red
+  nickname: red
+  hex: #FF0000
+  shorthex: #F00
+  rgb: rgb(255, 0, 0)
+  hsl: hsl(0, 100%, 50%)
+
+color: #F00
+  simple: true
+  original: #F00
+  nickname: red
+  hex: #FF0000
+  shorthex: #F00
+  rgb: rgb(255, 0, 0)
+  hsl: hsl(0, 100%, 50%)
+
+color: rgb(255,0,0)
+  simple: true
+  original: rgb(255,0,0)
+  nickname: red
+  hex: #FF0000
+  shorthex: #F00
+  rgb: rgb(255, 0, 0)
+  hsl: hsl(0, 100%, 50%)
+
+color: rgb(300,0,0)
+  simple: true
+  original: rgb(300,0,0)
+  nickname: red
+  hex: #FF0000
+  shorthex: #F00
+  rgb: rgb(255, 0, 0)
+  hsl: hsl(0, 100%, 50%)
+
+color: rgb(255,-10,0)
+  simple: true
+  original: rgb(255,-10,0)
+  nickname: red
+  hex: #FF0000
+  shorthex: #F00
+  rgb: rgb(255, 0, 0)
+  hsl: hsl(0, 100%, 50%)
+
+color: rgb(110%, 0%, 0%)
+  simple: true
+  original: rgb(110%, 0%, 0%)
+  nickname: red
+  hex: #FF0000
+  shorthex: #F00
+  rgb: rgb(255, 0, 0)
+  hsl: hsl(0, 100%, 50%)
+
+color: rgba(255, 0, 0, -5)
+  simple: false
+  original: rgba(255, 0, 0, -5)
+  rgb: rgb(255, 0, 0)
+  rgba: rgba(255, 0, 0, 0)
+  hsl: hsl(0, 100%, 50%)
+  hsla: hsla(0, 100%, 50%, 0)
+
+color: rgba(255, 0, 0, 5)
+  simple: false
+  original: rgba(255, 0, 0, 5)
+  rgb: rgb(255, 0, 0)
+  rgba: rgba(255, 0, 0, 1)
+  hsl: hsl(0, 100%, 50%)
+  hsla: hsla(0, 100%, 50%, 1)
+
+Running: testInvalidColors
+
+SUCCESS: parsed invalid color none to null
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesinvalidcolorvalueshtmlfromrev164517trunkLayoutTestsinspectorstylesstylesinvalidcolorvalueshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-invalid-color-values.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-invalid-color-values.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-invalid-color-values.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-invalid-color-values.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,92 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+function test()
+{
+    var colors = [
+        // Each of these is red. Some may need to be clipped to [0, 255].
+        'red',
+        '#F00',
+        'rgb(255,0,0)',
+        'rgb(300,0,0)',        // clipped to rgb(255,0,0)
+        'rgb(255,-10,0)',      // clipped to rgb(255,0,0)
+        'rgb(110%, 0%, 0%)',   // clipped to rgb(100%,0%,0%)
+
+        // Each of these has their alpha clipped [0.0, 1.0].
+        'rgba(255, 0, 0, -5)', // clipped to rgba(255,0,0,0)
+        'rgba(255, 0, 0, 5)',  // clipped to rgba(255,0,0,1)
+        ];
+
+    var invalidColors = [
+        // An invalid color, eg a value for a shorthand like 'border' which can have a color
+        'none',
+    ];
+
+    InspectorTest.runTestSuite([
+        function testColors(next)
+        {
+            for (var i = 0; i &lt; colors.length; ++i)
+                dumpColorRepresentationsForColor(colors[i]);
+            next();
+        },
+        function testInvalidColors(next)
+        {
+            for (var i = 0; i &lt; invalidColors.length; ++i)
+                dumpErrorsForInvalidColor(invalidColors[i]);
+            next();
+        },
+    ]);
+
+    function dumpErrorsForInvalidColor(colorString) 
+    {
+        var color = WebInspector.Color.parse(colorString);
+        if (!color) {
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;SUCCESS: parsed invalid color &quot; + colorString + &quot; to null&quot;);
+            return;
+        } else {
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;FAIL: invalid color &quot; + colorString + &quot; did not parse to to null&quot;);
+        }
+    }
+
+    function dumpColorRepresentationsForColor(colorString)
+    {
+        var color = WebInspector.Color.parse(colorString);
+        if (!color)
+            return;
+
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.addResult(&quot;color: &quot; + colorString);
+        InspectorTest.addResult(&quot;  simple: &quot; + color.simple);
+        var cf = WebInspector.Color.Format;
+        for (var colorFormatKey in cf) {
+            var colorFormat = cf[colorFormatKey];
+            // Simple colors do not have RGBA and HSLA representations.
+            if (color.simple &amp;&amp; (colorFormat === cf.RGBA || colorFormat === cf.HSLA))
+                continue;
+            // Advanced colors do not have HEX representations.
+            if (!color.simple &amp;&amp; (colorFormat === cf.ShortHEX || colorFormat === cf.HEX))
+                continue;
+            // If there is no ShortHEX then skip it.
+            if (colorFormat === cf.ShortHEX &amp;&amp; !color.hasShortHex())
+                continue;
+            // If there is no nickname, then skip it.
+            if (colorFormat === cf.Nickname &amp;&amp; !color.nickname)
+                continue;
+            InspectorTest.addResult('  ' + colorFormat + &quot;: &quot; + color.toString(colorFormat));
+        }
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that the displayed string for colors correctly handles clipped CSS values and RGB percentages.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesnewAPIexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesnewAPIexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-new-API-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-new-API-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-new-API-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-new-API-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,531 @@
</span><ins>+Tests that InspectorCSSAgent API methods work as expected.
+
+H1
+
+
+=== Computed style property count for body ===
+OK
+
+=== Matched rules for body ===
+body: [user-agent] {
+    ['display':'block'] @[undefined-undefined] style
+    ['margin-top':'8px'] @[undefined-undefined] style
+    ['margin-right':'8px'] @[undefined-undefined] style
+    ['margin-bottom':'8px'] @[undefined-undefined] style
+    ['margin-left':'8px'] @[undefined-undefined] style
+}
+body: [regular, 20:0-20:4] {
+    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
+}
+body: [regular, 20:0-20:4] {
+    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
+}
+body: [regular, 9:0-9:4] {
+    ['font-size':'12px'] @[10:4-10:20] active
+    ['foo':'bar !
+
+    important /* !important property not recognized by WebCore */' is-important non-parsed] @[11:4-13:66] active
+    ['height':'100% !important' is-important] @[14:4-14:28] active
+    ['colorz':'&quot;!important&quot;' non-parsed] @[15:4-15:25] active
+    ['important':'!important' non-parsed] @[16:4-16:25] active
+    ['color':'yellow'] @[17:4-17:18] active
+    ['color':'&quot;badcolor&quot; ! important /* good property with strange value */' is-important non-parsed] @[18:4-18:73] active
+}
+body.main1: [regular, 21:29-21:67] {
+    ['color':'#F00BAA'] @[21:81-21:96] active
+    ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:96-21:149] active
+}
+body.main2: [regular, 23:0-23:10] {
+    ['background':'green /* value !important comment */ !important /* no semicolon, very !important */' is-important] @[23:11-23:106] active
+    ['background-image':'initial' is-important] @[undefined-undefined] style
+    ['background-repeat-x':'initial' is-important] @[undefined-undefined] style
+    ['background-repeat-y':'initial' is-important] @[undefined-undefined] style
+    ['background-attachment':'initial' is-important] @[undefined-undefined] style
+    ['background-position-x':'initial' is-important] @[undefined-undefined] style
+    ['background-position-y':'initial' is-important] @[undefined-undefined] style
+    ['background-origin':'initial' is-important] @[undefined-undefined] style
+    ['background-clip':'initial' is-important] @[undefined-undefined] style
+    ['background-color':'green' is-important] @[undefined-undefined] style
+    ['background-size':'initial' is-important] @[undefined-undefined] style
+}
+body.mainpage: [regular, 3:0-3:13] {
+    ['text-decoration':'none'] @[4:4-4:26] active
+    ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] active
+}
+body.mainpage: [regular, 8:0-8:13] {
+    ['prop1':'val1' non-parsed] @[9:4-9:16] active
+    ['prop2':'val2' non-parsed] @[10:4-10:16] active
+}
+
+=== Pseudo rules for body ===
+PseudoId=4
+body::after: [regular, 26:0-26:11] {
+    ['content':'&quot;After body&quot;'] @[27:4-27:26] active
+}
+
+=== Inherited styles for body ===
+Level=1
+[NO STYLE]
+html: [user-agent] {
+    ['display':'block'] @[undefined-undefined] style
+}
+html: [regular, 4:0-4:4] {
+    ['font-weight':'400'] @[5:4-5:21] active
+}
+
+=== Inline style for body ===
+['font-weight':'normal'] @[0:0-0:20] active
+['width':'85%'] @[0:21-0:32] active
+['background-image':'url(bar.png)'] @[0:33-0:63] active
+=== BODY with forced :hover ===
+body: [user-agent] {
+    ['display':'block'] @[undefined-undefined] style
+    ['margin-top':'8px'] @[undefined-undefined] style
+    ['margin-right':'8px'] @[undefined-undefined] style
+    ['margin-bottom':'8px'] @[undefined-undefined] style
+    ['margin-left':'8px'] @[undefined-undefined] style
+}
+body: [regular, 20:0-20:4] {
+    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
+}
+body: [regular, 20:0-20:4] {
+    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
+}
+body: [regular, 9:0-9:4] {
+    ['font-size':'12px'] @[10:4-10:20] active
+    ['foo':'bar !
+
+    important /* !important property not recognized by WebCore */' is-important non-parsed] @[11:4-13:66] active
+    ['height':'100% !important' is-important] @[14:4-14:28] active
+    ['colorz':'&quot;!important&quot;' non-parsed] @[15:4-15:25] active
+    ['important':'!important' non-parsed] @[16:4-16:25] active
+    ['color':'yellow'] @[17:4-17:18] active
+    ['color':'&quot;badcolor&quot; ! important /* good property with strange value */' is-important non-parsed] @[18:4-18:73] active
+}
+body.main1: [regular, 21:29-21:67] {
+    ['color':'#F00BAA'] @[21:81-21:96] active
+    ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:96-21:149] active
+}
+body.main2: [regular, 23:0-23:10] {
+    ['background':'green /* value !important comment */ !important /* no semicolon, very !important */' is-important] @[23:11-23:106] active
+    ['background-image':'initial' is-important] @[undefined-undefined] style
+    ['background-repeat-x':'initial' is-important] @[undefined-undefined] style
+    ['background-repeat-y':'initial' is-important] @[undefined-undefined] style
+    ['background-attachment':'initial' is-important] @[undefined-undefined] style
+    ['background-position-x':'initial' is-important] @[undefined-undefined] style
+    ['background-position-y':'initial' is-important] @[undefined-undefined] style
+    ['background-origin':'initial' is-important] @[undefined-undefined] style
+    ['background-clip':'initial' is-important] @[undefined-undefined] style
+    ['background-color':'green' is-important] @[undefined-undefined] style
+    ['background-size':'initial' is-important] @[undefined-undefined] style
+}
+body.mainpage: [regular, 3:0-3:13] {
+    ['text-decoration':'none'] @[4:4-4:26] active
+    ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] active
+}
+body.mainpage: [regular, 8:0-8:13] {
+    ['prop1':'val1' non-parsed] @[9:4-9:16] active
+    ['prop2':'val2' non-parsed] @[10:4-10:16] active
+}
+body:hover: [regular, 13:0-13:10] {
+    ['color':'#CDE'] @[14:2-14:14] active
+}
+
+=== Attributes style for table ===
+['width':'50%'] @[undefined-undefined] style
+
+=== Stylesheet-for-inline-style text ===
+
+
+=== Stylesheet-for-inline-style modification result ===
+NotSupportedError
+
+=== All stylesheets ===
+
+StyleSheet: '@charset &quot;UTF-8&quot;;
+
+@import url(&quot;styles-new-API-1.css&quot;);
+
+html {
+    font-weight: 400;
+}
+
+@media screen {
+body {
+    font-size: 12px;
+    foo: bar !
+
+    important /* !important property not recognized by WebCore */;
+    height: 100% !important;
+    colorz: &quot;!important&quot;;
+    important:!important;
+    color: yellow;
+    color: &quot;badcolor&quot; ! important /* good property with strange value */;
+}
+
+/* comment before selector */body.main1/* comment after selector */{/* comment */color: #F00BAA;zoo:moo /* not an !important unrecognized property */}/* comment */
+
+body.main2{background: green /* value !important comment */ !important /* no semicolon, very !important */}
+}
+
+body::after  {
+    content: &quot;After body&quot;;
+}
+
+h1 {
+    height : 100% ; border: 1px solid; border-width: 2px; background-color : #33FF33; googles: abra; foo: .bar; -moz-goog: 1***; border-width: 0px;
+}
+'
+html: [regular, 4:0-4:4] {
+    ['font-weight':'400'] @[5:4-5:21] active
+}
+body: [regular, 9:0-9:4] {
+    ['font-size':'12px'] @[10:4-10:20] active
+    ['foo':'bar !
+
+    important /* !important property not recognized by WebCore */' is-important non-parsed] @[11:4-13:66] active
+    ['height':'100% !important' is-important] @[14:4-14:28] active
+    ['colorz':'&quot;!important&quot;' non-parsed] @[15:4-15:25] active
+    ['important':'!important' non-parsed] @[16:4-16:25] active
+    ['color':'yellow'] @[17:4-17:18] active
+    ['color':'&quot;badcolor&quot; ! important /* good property with strange value */' is-important non-parsed] @[18:4-18:73] active
+}
+body.main1: [regular, 21:29-21:67] {
+    ['color':'#F00BAA'] @[21:81-21:96] active
+    ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:96-21:149] active
+}
+body.main2: [regular, 23:0-23:10] {
+    ['background':'green /* value !important comment */ !important /* no semicolon, very !important */' is-important] @[23:11-23:106] active
+    ['background-image':'initial' is-important] @[undefined-undefined] style
+    ['background-repeat-x':'initial' is-important] @[undefined-undefined] style
+    ['background-repeat-y':'initial' is-important] @[undefined-undefined] style
+    ['background-attachment':'initial' is-important] @[undefined-undefined] style
+    ['background-position-x':'initial' is-important] @[undefined-undefined] style
+    ['background-position-y':'initial' is-important] @[undefined-undefined] style
+    ['background-origin':'initial' is-important] @[undefined-undefined] style
+    ['background-clip':'initial' is-important] @[undefined-undefined] style
+    ['background-color':'green' is-important] @[undefined-undefined] style
+    ['background-size':'initial' is-important] @[undefined-undefined] style
+}
+body::after: [regular, 26:0-26:11] {
+    ['content':'&quot;After body&quot;'] @[27:4-27:26] active
+}
+h1: [regular, 30:0-30:2] {
+    ['height':'100%'] @[31:4-31:19] active
+    ['border':'1px solid'] @[31:20-31:38] active
+    ['border-width':'2px'] @[31:39-31:57] inactive
+    ['background-color':'#33FF33'] @[31:58-31:85] active
+    ['googles':'abra' non-parsed] @[31:86-31:100] active
+    ['foo':'.bar' non-parsed] @[31:101-31:111] active
+    ['-moz-goog':'1***' non-parsed] @[31:112-31:128] active
+    ['border-width':'0px'] @[31:129-31:147] active
+    ['border-top-style':'solid'] @[undefined-undefined] style
+    ['border-right-style':'solid'] @[undefined-undefined] style
+    ['border-bottom-style':'solid'] @[undefined-undefined] style
+    ['border-left-style':'solid'] @[undefined-undefined] style
+    ['border-top-color':'initial'] @[undefined-undefined] style
+    ['border-right-color':'initial'] @[undefined-undefined] style
+    ['border-bottom-color':'initial'] @[undefined-undefined] style
+    ['border-left-color':'initial'] @[undefined-undefined] style
+    ['border-image-source':'initial'] @[undefined-undefined] style
+    ['border-image-slice':'initial'] @[undefined-undefined] style
+    ['border-image-width':'initial'] @[undefined-undefined] style
+    ['border-image-outset':'initial'] @[undefined-undefined] style
+    ['border-image-repeat':'initial'] @[undefined-undefined] style
+    ['border-top-width':'0px'] @[undefined-undefined] style
+    ['border-right-width':'0px'] @[undefined-undefined] style
+    ['border-bottom-width':'0px'] @[undefined-undefined] style
+    ['border-left-width':'0px'] @[undefined-undefined] style
+}
+
+StyleSheet: '@import url(styles-new-API-2.css);
+
+@page { margin: 2cm } /* All margins set to 2cm */
+
+@page :first {
+  margin-top: 10cm    /* Top margin on first page 10cm */
+}
+
+@media screen {
+
+#absent-id {
+}
+
+@font-face {
+    font-family: 'TheFont';
+    src: url('font.url');
+    font-weight: normal;
+    font-style: normal;
+}
+
+body {
+    property: imported-media-screen-stylesheet;
+}
+
+}
+'
+#absent-id: [regular, 10:0-10:10] {
+}
+body: [regular, 20:0-20:4] {
+    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
+}
+
+StyleSheet: '@import url(styles-new-API-1.css);
+
+@page { margin: 2cm } /* All margins set to 2cm */
+
+@page :first {
+  margin-top: 10cm    /* Top margin on first page 10cm */
+}
+
+@media screen {
+
+#absent-id {
+}
+
+@font-face {
+    font-family: 'TheFont';
+    src: url('font.url');
+    font-weight: normal;
+    font-style: normal;
+}
+
+body {
+    property: imported-media-screen-stylesheet;
+}
+
+}
+'
+#absent-id: [regular, 10:0-10:10] {
+}
+body: [regular, 20:0-20:4] {
+    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
+}
+
+StyleSheet: '
+
+/* An inline stylesheet */
+body.mainpage {
+    text-decoration: none; /* at least one valid property is necessary for WebCore to match a rule */
+    ;badproperty: 1badvalue1;
+}
+
+body.mainpage {
+    prop1: val1;
+    prop2: val2;
+}
+
+body:hover {
+  color: #CDE;
+}
+'
+body.mainpage: [regular, 3:0-3:13] {
+    ['text-decoration':'none'] @[4:4-4:26] active
+    ['badproperty':'1badvalue1' non-parsed] @[5:5-5:29] active
+}
+body.mainpage: [regular, 8:0-8:13] {
+    ['prop1':'val1' non-parsed] @[9:4-9:16] active
+    ['prop2':'val2' non-parsed] @[10:4-10:16] active
+}
+body:hover: [regular, 13:0-13:10] {
+    ['color':'#CDE'] @[14:2-14:14] active
+}
+
+=== Last stylesheet patched ===
+
+StyleSheet: 'body.mainpage {    text-decoration: strikethrough;    badproperty: 2badvalue2;}body {    text-align: justify;}'
+body.mainpage: [regular, 0:0-0:13] {
+    ['text-decoration':'strikethrough' non-parsed] @[0:19-0:50] active
+    ['badproperty':'2badvalue2' non-parsed] @[0:54-0:78] active
+}
+body: [regular, 0:79-0:83] {
+    ['text-align':'justify'] @[0:89-0:109] active
+}
+
+=== After selector set ===
+
+StyleSheet: 'html *, body[foo=&quot;bar&quot;] {    text-decoration: strikethrough;    badproperty: 2badvalue2;}body {    text-align: justify;}'
+html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
+    ['text-decoration':'strikethrough' non-parsed] @[0:29-0:60] active
+    ['badproperty':'2badvalue2' non-parsed] @[0:64-0:88] active
+}
+body: [regular, 0:89-0:93] {
+    ['text-align':'justify'] @[0:99-0:119] active
+}
+
+=== After property text set ===
+
+StyleSheet: 'html *, body[foo=&quot;bar&quot;] {
+    color: white; background: black;
+}body {    text-align: justify;}'
+html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
+    ['color':'white'] @[1:4-1:17] active
+    ['background':'black'] @[1:18-1:36] active
+    ['background-image':'initial'] @[undefined-undefined] style
+    ['background-repeat-x':'initial'] @[undefined-undefined] style
+    ['background-repeat-y':'initial'] @[undefined-undefined] style
+    ['background-attachment':'initial'] @[undefined-undefined] style
+    ['background-position-x':'initial'] @[undefined-undefined] style
+    ['background-position-y':'initial'] @[undefined-undefined] style
+    ['background-origin':'initial'] @[undefined-undefined] style
+    ['background-clip':'initial'] @[undefined-undefined] style
+    ['background-color':'black'] @[undefined-undefined] style
+    ['background-size':'initial'] @[undefined-undefined] style
+}
+body: [regular, 2:1-2:5] {
+    ['text-align':'justify'] @[2:11-2:31] active
+}
+
+=== After first style text set ===
+
+StyleSheet: 'html *, body[foo=&quot;bar&quot;] {}body {    text-align: justify;}'
+html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
+}
+body: [regular, 0:26-0:30] {
+    ['text-align':'justify'] @[0:36-0:56] active
+}
+
+=== After second style text set ===
+
+StyleSheet: 'html *, body[foo=&quot;bar&quot;] {color: green; background: red; foo: bar; *baz: bar; /* Comment */ font-weight: bold !important}body {    text-align: justify;}'
+html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
+    ['color':'green'] @[0:25-0:38] active
+    ['background':'red'] @[0:39-0:55] active
+    ['foo':'bar' non-parsed] @[0:56-0:65] active
+    ['font-weight':'bold !important' is-important] @[0:91-0:119] active
+    ['background-image':'initial'] @[undefined-undefined] style
+    ['background-repeat-x':'initial'] @[undefined-undefined] style
+    ['background-repeat-y':'initial'] @[undefined-undefined] style
+    ['background-attachment':'initial'] @[undefined-undefined] style
+    ['background-position-x':'initial'] @[undefined-undefined] style
+    ['background-position-y':'initial'] @[undefined-undefined] style
+    ['background-origin':'initial'] @[undefined-undefined] style
+    ['background-clip':'initial'] @[undefined-undefined] style
+    ['background-color':'red'] @[undefined-undefined] style
+    ['background-size':'initial'] @[undefined-undefined] style
+}
+body: [regular, 0:120-0:124] {
+    ['text-align':'justify'] @[0:130-0:150] active
+}
+
+=== Matched rules after rule added ===
+body: [user-agent] {
+    ['display':'block'] @[undefined-undefined] style
+    ['margin-top':'8px'] @[undefined-undefined] style
+    ['margin-right':'8px'] @[undefined-undefined] style
+    ['margin-bottom':'8px'] @[undefined-undefined] style
+    ['margin-left':'8px'] @[undefined-undefined] style
+}
+body: [regular, 20:0-20:4] {
+    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
+}
+body: [regular, 20:0-20:4] {
+    ['property':'imported-media-screen-stylesheet' non-parsed] @[21:4-21:47] active
+}
+body: [regular, 9:0-9:4] {
+    ['font-size':'12px'] @[10:4-10:20] active
+    ['foo':'bar !
+
+    important /* !important property not recognized by WebCore */' is-important non-parsed] @[11:4-13:66] active
+    ['height':'100% !important' is-important] @[14:4-14:28] active
+    ['colorz':'&quot;!important&quot;' non-parsed] @[15:4-15:25] active
+    ['important':'!important' non-parsed] @[16:4-16:25] active
+    ['color':'yellow'] @[17:4-17:18] active
+    ['color':'&quot;badcolor&quot; ! important /* good property with strange value */' is-important non-parsed] @[18:4-18:73] active
+}
+html *, body[foo=&quot;bar&quot;]: [regular, 0:0-0:23] {
+    ['color':'green'] @[0:25-0:38] active
+    ['background':'red'] @[0:39-0:55] active
+    ['foo':'bar' non-parsed] @[0:56-0:65] active
+    ['font-weight':'bold !important' is-important] @[0:91-0:119] active
+    ['background-image':'initial'] @[undefined-undefined] style
+    ['background-repeat-x':'initial'] @[undefined-undefined] style
+    ['background-repeat-y':'initial'] @[undefined-undefined] style
+    ['background-attachment':'initial'] @[undefined-undefined] style
+    ['background-position-x':'initial'] @[undefined-undefined] style
+    ['background-position-y':'initial'] @[undefined-undefined] style
+    ['background-origin':'initial'] @[undefined-undefined] style
+    ['background-clip':'initial'] @[undefined-undefined] style
+    ['background-color':'red'] @[undefined-undefined] style
+    ['background-size':'initial'] @[undefined-undefined] style
+}
+body: [regular, 0:120-0:124] {
+    ['text-align':'justify'] @[0:130-0:150] active
+}
+body: [inspector, 0:0-0:4] {
+    ['font-family':'serif'] @[1:4-1:23] active
+}
+body.main1: [regular, 21:29-21:67] {
+    ['color':'#F00BAA'] @[21:81-21:96] active
+    ['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[21:96-21:149] active
+}
+body.main2: [regular, 23:0-23:10] {
+    ['background':'green /* value !important comment */ !important /* no semicolon, very !important */' is-important] @[23:11-23:106] active
+    ['background-image':'initial' is-important] @[undefined-undefined] style
+    ['background-repeat-x':'initial' is-important] @[undefined-undefined] style
+    ['background-repeat-y':'initial' is-important] @[undefined-undefined] style
+    ['background-attachment':'initial' is-important] @[undefined-undefined] style
+    ['background-position-x':'initial' is-important] @[undefined-undefined] style
+    ['background-position-y':'initial' is-important] @[undefined-undefined] style
+    ['background-origin':'initial' is-important] @[undefined-undefined] style
+    ['background-clip':'initial' is-important] @[undefined-undefined] style
+    ['background-color':'green' is-important] @[undefined-undefined] style
+    ['background-size':'initial' is-important] @[undefined-undefined] style
+}
+
+=== After property manipulations ===
+[text='height : 100% ;'] disabled
+['border':'1px solid'] @[30:5-30:23] active
+['border-width':'2px'] @[30:24-30:42] inactive
+['googles':'abra' non-parsed] @[30:44-30:58] active
+['foo':'.bar' non-parsed] @[30:59-30:69] active
+['-moz-goog':'1***' non-parsed] @[30:70-30:86] active
+['font-size':'12px'] @[31:4-31:20] active
+['border-width':'1px'] @[32:4-32:22] active
+[text='font-size: 14px;'] disabled
+['border-top-width':'1px'] @[undefined-undefined] style
+['border-right-width':'1px'] @[undefined-undefined] style
+['border-bottom-width':'1px'] @[undefined-undefined] style
+['border-left-width':'1px'] @[undefined-undefined] style
+['border-top-style':'solid'] @[undefined-undefined] style
+['border-right-style':'solid'] @[undefined-undefined] style
+['border-bottom-style':'solid'] @[undefined-undefined] style
+['border-left-style':'solid'] @[undefined-undefined] style
+['border-top-color':'initial'] @[undefined-undefined] style
+['border-right-color':'initial'] @[undefined-undefined] style
+['border-bottom-color':'initial'] @[undefined-undefined] style
+['border-left-color':'initial'] @[undefined-undefined] style
+['border-image-source':'initial'] @[undefined-undefined] style
+['border-image-slice':'initial'] @[undefined-undefined] style
+['border-image-width':'initial'] @[undefined-undefined] style
+['border-image-outset':'initial'] @[undefined-undefined] style
+['border-image-repeat':'initial'] @[undefined-undefined] style
+
+=== After property enabled ===
+[text='height : 100% ;'] disabled
+['border':'1px solid'] @[30:5-30:23] active
+['border-width':'2px'] @[30:24-30:42] inactive
+['googles':'abra' non-parsed] @[30:44-30:58] active
+['foo':'.bar' non-parsed] @[30:59-30:69] active
+['-moz-goog':'1***' non-parsed] @[30:70-30:86] active
+['font-size':'12px'] @[31:4-31:20] inactive
+['border-width':'1px'] @[32:4-32:22] active
+['font-size':'14px'] @[33:4-33:20] active
+['border-top-width':'1px'] @[undefined-undefined] style
+['border-right-width':'1px'] @[undefined-undefined] style
+['border-bottom-width':'1px'] @[undefined-undefined] style
+['border-left-width':'1px'] @[undefined-undefined] style
+['border-top-style':'solid'] @[undefined-undefined] style
+['border-right-style':'solid'] @[undefined-undefined] style
+['border-bottom-style':'solid'] @[undefined-undefined] style
+['border-left-style':'solid'] @[undefined-undefined] style
+['border-top-color':'initial'] @[undefined-undefined] style
+['border-right-color':'initial'] @[undefined-undefined] style
+['border-bottom-color':'initial'] @[undefined-undefined] style
+['border-left-color':'initial'] @[undefined-undefined] style
+['border-image-source':'initial'] @[undefined-undefined] style
+['border-image-slice':'initial'] @[undefined-undefined] style
+['border-image-width':'initial'] @[undefined-undefined] style
+['border-image-outset':'initial'] @[undefined-undefined] style
+['border-image-repeat':'initial'] @[undefined-undefined] style
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesnewAPIhtmlfromrev164517trunkLayoutTestsinspectorstylesstylesnewAPIhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-new-API.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-new-API.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-new-API.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-new-API.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,418 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-new-API.css&quot;&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+
+    test_styles();
+
+    var bodyId;
+    function test_styles(node)
+    {
+        function callback(styles)
+        {
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Computed style property count for body ===&quot;);
+            var propCount = styles.computedStyle.length;
+            InspectorTest.addResult(propCount &gt; 200 ? &quot;OK&quot; : &quot;FAIL (&quot; + propCount + &quot;)&quot;);
+
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Matched rules for body ===&quot;);
+            InspectorTest.dumpRuleMatchesArray(styles.matchedCSSRules);
+
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Pseudo rules for body ===&quot;);
+            for (var i = 0; i &lt; styles.pseudoElements.length; ++i) {
+                InspectorTest.addResult(&quot;PseudoId=&quot; + styles.pseudoElements[i].pseudoId);
+                InspectorTest.dumpRuleMatchesArray(styles.pseudoElements[i].matches);
+            }
+
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Inherited styles for body ===&quot;);
+            for (var i = 0; i &lt; styles.inherited.length; ++i) {
+                InspectorTest.addResult(&quot;Level=&quot; + (i + 1));
+                InspectorTest.dumpStyle(styles.inherited[i].inlineStyle);
+                InspectorTest.dumpRuleMatchesArray(styles.inherited[i].matchedCSSRules);
+            }
+
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Inline style for body ===&quot;);
+            InspectorTest.dumpStyle(styles.inlineStyle);
+            test_forcedState();
+        }
+
+        var resultStyles = {};
+
+        function computedCallback(error, computedStyle)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                InspectorTest.completeTest();
+                return;
+            }
+            resultStyles.computedStyle = computedStyle;
+        }
+
+        function inlineCallback(error, inlineStyle)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                InspectorTest.completeTest();
+                return;
+            }
+            resultStyles.inlineStyle = inlineStyle;
+        }
+
+        function matchedCallback(error, matchedCSSRules, pseudoElements, inherited)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                InspectorTest.completeTest();
+                return;
+            }
+
+            resultStyles.matchedCSSRules = matchedCSSRules;
+            resultStyles.pseudoElements = pseudoElements;
+            resultStyles.inherited = inherited;
+            callback(resultStyles);
+        }
+
+        function nodeCallback(node)
+        {
+            bodyId = node.id;
+            CSSAgent.getComputedStyleForNode(node.id, computedCallback);
+            CSSAgent.getInlineStylesForNode(node.id, inlineCallback);
+            CSSAgent.getMatchedStylesForNode(node.id, true, true, matchedCallback);
+        }
+        InspectorTest.selectNodeWithId(&quot;mainBody&quot;, nodeCallback);
+    }
+
+    function test_forcedState()
+    {
+        CSSAgent.forcePseudoState(bodyId, [&quot;hover&quot;]);
+        CSSAgent.getMatchedStylesForNode(bodyId, true, true, matchedCallback);
+
+        function matchedCallback(error, matchedRules)
+        {
+            InspectorTest.addResult(&quot;=== BODY with forced :hover ===&quot;);
+            InspectorTest.dumpRuleMatchesArray(matchedRules);
+            CSSAgent.forcePseudoState(bodyId, [&quot;hover&quot;], test_tableStyles);
+        }
+    }
+
+    function test_tableStyles()
+    {
+        function callback(error, inlineStyle, attributesStyle)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Attributes style for table ===&quot;);
+            InspectorTest.dumpStyle(attributesStyle);
+            test_inlineStyleSheetModification(inlineStyle);
+        }
+
+        function nodeCallback(node)
+        {
+            CSSAgent.getInlineStylesForNode(node.id, callback);
+        }
+        InspectorTest.nodeWithId(&quot;thetable&quot;, nodeCallback);
+    }
+
+    function test_inlineStyleSheetModification(inlineStyle)
+    {
+        CSSAgent.getStyleSheetText(inlineStyle.styleId.styleSheetId, textCallback);
+
+        function textCallback(error, result)
+        {
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Stylesheet-for-inline-style text ===&quot;);
+            InspectorTest.addResult(result);
+            CSSAgent.setStyleSheetText(inlineStyle.styleId.styleSheetId, &quot;&quot;, setTextCallback);
+        }
+
+        function setTextCallback(error, result)
+        {
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Stylesheet-for-inline-style modification result ===&quot;);
+            InspectorTest.addResult(error);
+            test_styleSheets();
+        }
+    }
+
+    function test_styleSheets()
+    {
+        var newStyleSheetText =
+            &quot;body.mainpage {&quot; +
+            &quot;    text-decoration: strikethrough;&quot; +
+            &quot;    badproperty: 2badvalue2;&quot; +
+            &quot;}&quot; +
+            &quot;body {&quot; +
+            &quot;    text-align: justify;&quot; +
+            &quot;}&quot;;
+
+        function patchStyleSheet(styleSheet)
+        {
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Last stylesheet patched ===&quot;);
+            CSSAgent.setStyleSheetText(styleSheet.styleSheetId, newStyleSheetText,
+                loadAndDumpStyleSheet.bind(null, styleSheet.styleSheetId, test_changeSelector));
+        }
+
+        function styleSheetInfosLoaded(error, infos)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== All stylesheets ===&quot;);
+            for (var i = 0; i &lt; infos.length; ++i)
+                loadAndDumpStyleSheet(infos[i].styleSheetId, (i &lt; infos.length - 1) ? null : patchStyleSheet);
+        }
+        CSSAgent.getAllStyleSheets(styleSheetInfosLoaded);
+    }
+
+    function test_changeSelector(styleSheet)
+    {
+        function didSetSelector(error, rule)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== After selector set ===&quot;);
+            loadAndDumpStyleSheet(rule.ruleId.styleSheetId, test_setPropertyText);
+        }
+
+        CSSAgent.setRuleSelector(styleSheet.rules[0].ruleId, &quot;html *, body[foo=\&quot;bar\&quot;]&quot;, didSetSelector);
+    }
+
+    function test_setPropertyText(styleSheet)
+    {
+        function didSetPropertyText(error, style)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== After property text set ===&quot;);
+            loadAndDumpStyleSheet(style.styleId.styleSheetId, test_setStyleText1);
+        }
+
+        CSSAgent.setPropertyText(styleSheet.rules[0].style.styleId, 0, &quot;&quot;, true);
+        CSSAgent.setPropertyText(styleSheet.rules[0].style.styleId, 0, &quot;&quot;, true);
+
+        // This operation should not update the style as the new property text is not parsable.
+        CSSAgent.setPropertyText(styleSheet.rules[0].style.styleId, 0, &quot;zzz;&quot;, false);
+        CSSAgent.setPropertyText(styleSheet.rules[0].style.styleId, 0, &quot;color: white; background: black;&quot;, false, didSetPropertyText);
+    }
+
+    function test_setStyleText1(styleSheet)
+    {
+        function didSetStyleText1(error, style)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== After first style text set ===&quot;);
+            loadAndDumpStyleSheet(style.styleId.styleSheetId, test_setStyleText2);
+        }
+
+        CSSAgent.setStyleText(styleSheet.rules[0].style.styleId, &quot;&quot;, didSetStyleText1);
+    }
+
+    function test_setStyleText2(styleSheet)
+    {
+        function didSetStyleText2(error, style)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== After second style text set ===&quot;);
+            loadAndDumpStyleSheet(style.styleId.styleSheetId, test_addRule);
+        }
+
+        CSSAgent.setStyleText(styleSheet.rules[0].style.styleId, &quot;color: green; background: red; foo: bar; *baz: bar; /* Comment */ font-weight: bold !important&quot;, didSetStyleText2);
+    }
+
+    function test_addRule()
+    {
+        function didGetStyles(error, matchedCSSRules)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== Matched rules after rule added ===&quot;);
+            InspectorTest.dumpRuleMatchesArray(matchedCSSRules);
+            test_disableProperty();
+        }
+
+        function didSetStyleText(error, style)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            CSSAgent.getMatchedStylesForNode(bodyId, false, false, didGetStyles);
+        }
+
+        function ruleAdded(error, rule)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            CSSAgent.setPropertyText(rule.style.styleId, 0, &quot;font-family: serif;&quot;, false, didSetStyleText);
+        }
+
+        CSSAgent.addRule(bodyId, &quot;body&quot;, ruleAdded);
+    }
+
+    function test_disableProperty()
+    {
+        function didDisableProperty(error, style)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== After property manipulations ===&quot;);
+            InspectorTest.dumpStyle(style);
+            test_enableProperty(style.styleId);
+        }
+
+        function stylesCallback(error, matchedCSSRules)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            // height : 100% ;
+            // border: 1px solid;
+            // border-width: 2px;
+            // background-color : #33FF33;
+            // googles: abra;
+            // foo: .bar;
+            // -moz-goog: 1***;
+            // border-width: 0px;
+
+            var styleId = matchedCSSRules[1].rule.style.styleId;
+            CSSAgent.toggleProperty(styleId, 0, true); // height: 100%
+            CSSAgent.toggleProperty(styleId, 7, true); // border-width: 0px
+            CSSAgent.setPropertyText(styleId, 7, &quot;font-size: 12px;&quot;, false);
+            CSSAgent.setPropertyText(styleId, 9, &quot;font-size: 14px;&quot;, false);
+            CSSAgent.toggleProperty(styleId, 9, true); // font-size: 14px
+            CSSAgent.setPropertyText(styleId, 8, &quot;border-width: 1px;&quot;, true);
+            CSSAgent.toggleProperty(styleId, 8, false); // border-width: 1px
+            // height : 100% ; [d]
+            // border: 1px solid;
+            // border-width: 2px;
+            // background-color : #33FF33;
+            // googles: abra;
+            // foo: .bar;
+            // -moz-goog: 1***;
+            // font-size: 12px;
+            // border-width: 1px;
+            // font-size: 14px; [d]
+
+            CSSAgent.setPropertyText(styleId, 3, &quot;&quot;, true, didDisableProperty);
+        }
+
+        function nodeCallback(node)
+        {
+            CSSAgent.getMatchedStylesForNode(node.id, false, false, stylesCallback);
+        }
+        InspectorTest.nodeWithId(&quot;toggle&quot;, nodeCallback);
+    }
+
+    function test_enableProperty(styleId)
+    {
+        function didEnableProperty(error, style)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;=== After property enabled ===&quot;);
+            InspectorTest.dumpStyle(style);
+            InspectorTest.completeTest();
+        }
+
+        CSSAgent.toggleProperty(styleId, 6, false);
+        CSSAgent.toggleProperty(styleId, 8, false, didEnableProperty);
+    }
+
+    function loadAndDumpStyleSheet(styleSheetId, continuation, error)
+    {
+        if (error) {
+            InspectorTest.addResult(&quot;error: &quot; + error);
+            return;
+        }
+
+        function styleSheetLoaded(error, styleSheet)
+        {
+            if (error) {
+                InspectorTest.addResult(&quot;error: &quot; + error);
+                return;
+            }
+            InspectorTest.addResult(&quot;&quot;);
+            InspectorTest.addResult(&quot;StyleSheet: '&quot; + styleSheet.text + &quot;'&quot;);
+            InspectorTest.dumpRulesArray(styleSheet.rules);
+            if (continuation)
+                continuation(styleSheet);
+        }
+
+        CSSAgent.getStyleSheet(styleSheetId, styleSheetLoaded);
+    }
+}
+
+&lt;/script&gt;
+
+&lt;style&gt;
+
+/* An inline stylesheet */
+body.mainpage {
+    text-decoration: none; /* at least one valid property is necessary for WebCore to match a rule */
+    ;badproperty: 1badvalue1;
+}
+
+body.mainpage {
+    prop1: val1;
+    prop2: val2;
+}
+
+body:hover {
+  color: #CDE;
+}
+&lt;/style&gt;
+&lt;/head&gt;
+
+&lt;body id=&quot;mainBody&quot; class=&quot;main1 main2 mainpage&quot; onload=&quot;runTest()&quot; style=&quot;font-weight: normal; width: 85%; background-image: url(bar.png)&quot;&gt;
+&lt;p&gt;
+Tests that InspectorCSSAgent API methods work as expected.
+&lt;/p&gt;
+&lt;table width=&quot;50%&quot; id=&quot;thetable&quot;&gt;
+&lt;/table&gt;
+&lt;h1 id=&quot;toggle&quot;&gt;H1&lt;/h1&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesoverridenpropertiesexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylesoverridenpropertiesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-overriden-properties-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-overriden-properties-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-overriden-properties-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-overriden-properties-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+Tests that overriding shorthands within rule are visible.
+
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+#main  { (styles-overriden-properties.html:4)
+/-- overloaded --/ background: #000;
+background: #bada55;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylesoverridenpropertieshtmlfromrev164517trunkLayoutTestsinspectorstylesstylesoverridenpropertieshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-overriden-properties.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-overriden-properties.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-overriden-properties.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-overriden-properties.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style type=&quot;text/css&quot;&gt;
+#main {
+    height: 100px;
+    background: #000;
+    background: #bada55;
+}
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;main&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that overriding shorthands within rule are visible.
+&lt;/p&gt;
+
+&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylessourcelinesexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylessourcelinesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-source-lines-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,35 @@
</span><ins>+Tests that proper source lines are reported for the parsed styles.
+
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+media=&quot;screen&quot; (styles-source-lines.html)
+#main, .at_line_50  { (styles-source-lines.html:50)
+border: 1px solid
+    red;
+
+[expanded] 
+media=&quot;screen&quot; (styles-source-lines.html)
+#main, .at_line_43  { (styles-source-lines.html:43)
+font-size: 10px;
+
+[expanded] 
+media=&quot;screen&quot; (styles-source-lines.html)
+#main, .at_line_29  { (styles-source-lines.html:29)
+font-family: /*  Comment in 
+                      value  */courier;
+
+[expanded] 
+media=&quot;screen&quot; (styles-source-lines.html)
+#main, .at_line_15::before  { (styles-source-lines.html:15)
+color: red;
+content: &quot;Before&quot;;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylessourcelinesinlineexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylessourcelinesinlineexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-inline-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-source-lines-inline-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-inline-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-inline-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+Tests that elements panel shows proper inline style locations in the sidebar panel.
+
+
+[expanded] 
+element.style  { ()
+display: none;
+
+======== Matched CSS Rules ========
+[expanded] 
+.foo  { (styles-source-lines-inline.html:7)
+color: blue;
+
+[expanded] 
+div  { (user agent stylesheet)
+/-- overloaded --/ display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylessourcelinesinlinehtmlfromrev164517trunkLayoutTestsinspectorstylesstylessourcelinesinlinehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-inline.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-source-lines-inline.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-inline.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines-inline.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,37 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;style&gt;
+.foo {
+    color: blue;
+}
+&lt;/style&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;foo&quot;, step2);
+
+    function step2()
+    {
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that elements panel shows proper inline style locations in the sidebar panel.
+&lt;/p&gt;
+
+&lt;div id=&quot;foo&quot; class=&quot;foo&quot; style=&quot;display:none&quot;&gt;Foo&lt;/div&gt;
+&lt;iframe src=&quot;resources/styles-source-lines-inline-iframe.html&quot;&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylessourcelineshtmlfromrev164517trunkLayoutTestsinspectorstylesstylessourcelineshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-source-lines.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-source-lines.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,82 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;!--
+    Line numbers are reported wrt the opened style tag baseline.
+    Allow some space here to align local line numbers to be style + 10.
+    Selector sourceLine is the line of the corresponding { following the
+    selector text.
+--&gt;
+
+&lt;style type=&quot;text/css&quot; media=&quot;screen&quot;&gt;
+#main, .at_line_15::/*
+Multiline comment
+before pseudo element
+              */before 
+{
+    color:red;
+    content: &quot;Before&quot;
+}
+/*
+
+Multiline comment followed with whitespace
+
+
+*/
+
+#main, .at_line_29
+
+
+{
+    /* Comment in definition*/
+    /* Comment in definition 2*/
+
+    /* Comment in definition 3
+    */font-family:/*  Comment in 
+                      value  */courier;
+    color blue;
+}/*Multiline comment
+
+followed by selector
+*/#main,
+.at_line_43
+
+{
+    font-size:
+        10px;
+}
+
+
+#main, .at_line_50
+{
+    border: 1px solid
+    red;
+}
+&lt;/style&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;main&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that proper source lines are reported for the parsed styles.
+&lt;/p&gt;
+
+&lt;div id=&quot;main&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylessourceoffsetsexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesstylessourceoffsetsexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-source-offsets-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/styles-source-offsets-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-source-offsets-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-source-offsets-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,23 @@
</span><ins>+Tests that proper data and start/end offset positions are reported for CSS style declarations and properties.
+
+body: [0:0-0:4] [0:6-9:0]
+['font-size':'12px'] @[1:4-1:20]
+['foo':'bar !
+
+    important /* !important property not recognized by WebCore */' !important non-parsed] @[2:4-4:66]
+['height':'100% !important' !important] @[5:4-5:28]
+['colorz':'&quot;!important&quot;' non-parsed] @[6:4-6:25]
+['important':'!important' non-parsed] @[7:4-7:25]
+['color':'&quot;badcolor&quot; ! important /* good property with strange value */' !important non-parsed] @[8:4-8:73]
+body.main1: [11:29-11:67] [11:68-11:149]
+['color':'#F00BAA'] @[11:81-11:96]
+['zoo':'moo /* not an !important unrecognized property */' non-parsed] @[11:96-11:149]
+body.main2: [13:0-13:10] [13:11-13:106]
+['background':'green /* value !important comment */ !important /* no semicolon, very !important */' !important] @[13:11-13:106]
+body.mainpage: [2:0-2:13] [2:15-5:0]
+['text-decoration':'none'] @[3:4-3:26]
+['badproperty':'1badvalue1' non-parsed] @[4:4-4:28]
+element.style: [0:0-0:31]
+['font-weight':'normal'] @[0:0-0:20]
+['width':'80%'] @[0:21-0:31]
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesstylessourceoffsetshtmlfromrev164517trunkLayoutTestsinspectorstylesstylessourceoffsetshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/styles-source-offsets.html (from rev 164517, trunk/LayoutTests/inspector/styles/styles-source-offsets.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/styles-source-offsets.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/styles-source-offsets.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,96 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+
+&lt;link rel=&quot;stylesheet&quot; href=&quot;resources/styles-source-offsets.css&quot;&gt;
+
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function dumpStyleData(ruleOrStyle)
+    {
+        var isRule = !!(ruleOrStyle.style);
+        var style;
+        var header = &quot;&quot;;
+        if (isRule) {
+            if (ruleOrStyle.origin !== &quot;regular&quot;)
+                return;
+            style = ruleOrStyle.style;
+            header = ruleOrStyle.selectorList.text + &quot;: &quot; + (ruleOrStyle.selectorList.range ? InspectorTest.rangeText(ruleOrStyle.selectorList.range) : &quot;&quot;);
+        } else {
+            style = ruleOrStyle;
+            header = &quot;element.style:&quot;;
+        }
+        InspectorTest.addResult(header + &quot; &quot; + InspectorTest.rangeText(style.range));
+        var allProperties = style.cssProperties;
+        for (var i = 0; i &lt; allProperties.length; ++i) {
+            var property = allProperties[i];
+            if (!property.status)
+                continue;
+            InspectorTest.addResult(&quot;['&quot; + property.name + &quot;':'&quot; + property.value + &quot;'&quot; + (property.priority ? &quot; !important&quot; : &quot;&quot;) + ((&quot;parsedOk&quot; in property) ? &quot; non-parsed&quot; : &quot;&quot;) +&quot;] @&quot; + InspectorTest.rangeText(property.range));
+        }
+    }
+    
+    InspectorTest.selectNodeWithId(&quot;mainBody&quot;, step1);
+
+    var resultStyles = {};
+
+    function inlineCallback(error, inlineStyle)
+    {
+        if (error) {
+             InspectorTest.addResult(&quot;error: &quot; + error);
+             InspectorTest.completeTest();
+             return;
+        }
+
+        resultStyles.inlineStyle = inlineStyle;
+    }
+
+    function matchedCallback(error, matchedCSSRules)
+    {
+        if (error) {
+             InspectorTest.addResult(&quot;error: &quot; + error);
+             InspectorTest.completeTest();
+             return;
+        }
+        resultStyles.matchedCSSRules = matchedCSSRules;
+        step2();
+    }
+
+    function step1(node)
+    {
+        CSSAgent.getInlineStylesForNode(node.id, inlineCallback);
+        CSSAgent.getMatchedStylesForNode(node.id, matchedCallback);
+    }
+
+    function step2()
+    {
+        var matchedCSSRules = resultStyles.matchedCSSRules;
+        for (var i = 0; i &lt; matchedCSSRules.length; ++i)
+            dumpStyleData(matchedCSSRules[i].rule);
+        dumpStyleData(resultStyles.inlineStyle);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+
+&lt;style&gt;
+
+body.mainpage {
+    text-decoration: none; /* at least one valid property is necessary for WebCore to match a rule */
+    badproperty: 1badvalue1;
+}
+
+&lt;/style&gt;
+&lt;/head&gt;
+
+&lt;body id=&quot;mainBody&quot; class=&quot;main1 main2 mainpage&quot; onload=&quot;runTest()&quot; style=&quot;font-weight: normal; width: 80%&quot;&gt;
+&lt;p&gt;
+Tests that proper data and start/end offset positions are reported for CSS style declarations and properties.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundoaddnewruleexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesundoaddnewruleexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-add-new-rule-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/undo-add-new-rule-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-add-new-rule-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-add-new-rule-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+Tests that adding a new rule can be undone.
+
+Text
+After adding new rule:
+[expanded] 
+element.style  { ()
+font-size: 12px;
+
+======== Matched CSS Rules ========
+[expanded] 
+div.foo  { (inspector-stylesheet:1)
+
+[expanded] 
+div.foo  { (inspector-stylesheet:1)
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+===== Style sheet text: =====
+div.foo {}
+div.foo {}
+=============================
+After undo:
+[expanded] 
+element.style  { ()
+color: red;
+
+======== Matched CSS Rules ========
+[expanded] 
+div.foo  { (inspector-stylesheet:1)
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+===== Style sheet text: =====
+div.foo {}
+
+=============================
+After redo:
+[expanded] 
+element.style  { ()
+font-size: 12px;
+
+======== Matched CSS Rules ========
+[expanded] 
+div.foo  { (inspector-stylesheet:1)
+
+[expanded] 
+div.foo  { (inspector-stylesheet:1)
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+===== Style sheet text: =====
+div.foo {}
+
+div.foo {}
+=============================
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundoaddnewrulehtmlfromrev164517trunkLayoutTestsinspectorstylesundoaddnewrulehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-add-new-rule.html (from rev 164517, trunk/LayoutTests/inspector/styles/undo-add-new-rule.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-add-new-rule.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-add-new-rule.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,99 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
+
+    var treeElement;
+
+    function step1()
+    {
+        addNewRuleAndSelectNode(&quot;other&quot;, step2);
+    }
+
+    function step2()
+    {
+        addNewRuleAndSelectNode(&quot;inspected&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;After adding new rule:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        printStyleSheetAndCall(step4);
+    }
+
+    function step4()
+    {
+        WebInspector.domAgent.undo();
+        InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step5);
+    }
+
+    function step5()
+    {
+        InspectorTest.addResult(&quot;After undo:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        printStyleSheetAndCall(step6);
+    }
+
+    function step6()
+    {
+        WebInspector.domAgent.redo();
+        InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step7);
+    }
+
+    function step7()
+    {
+        InspectorTest.addResult(&quot;After redo:&quot;);
+        InspectorTest.dumpSelectedElementStyles(true, false, true);
+        printStyleSheetAndCall(step8);
+    }
+
+    function step8()
+    {
+        InspectorTest.completeTest();
+    }
+
+    function addNewRuleAndSelectNode(nodeId, next)
+    {
+        // Click &quot;Add new rule&quot;.
+        document.getElementById(&quot;add-style-button-test-id&quot;).click();
+        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+        section._selectorElement.textContent = &quot;div.foo&quot;;
+        section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        InspectorTest.selectNodeAndWaitForStyles(nodeId, next);
+    }
+
+    function printStyleSheetAndCall(next)
+    {
+        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+        var id = section.styleRule.style.id.styleSheetId;
+        CSSAgent.getStyleSheetText(id, callback);
+        function callback(result, styleSheetText)
+        {
+            InspectorTest.addResult(&quot;===== Style sheet text: =====&quot;);
+            InspectorTest.addResult(styleSheetText);
+            InspectorTest.addResult(&quot;=============================&quot;);
+            next();
+        }
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that adding a new rule can be undone.
+&lt;/p&gt;
+
+&lt;div class=&quot;foo&quot; id=&quot;inspected&quot; style=&quot;font-size: 12px&quot;&gt;Text&lt;/div&gt;
+&lt;div class=&quot;foo&quot; id=&quot;other&quot; style=&quot;color:red&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundoaddpropertyexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesundoaddpropertyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-add-property-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/undo-add-property-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-add-property-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-add-property-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,192 @@
</span><ins>+Tests that adding a property is undone properly.
+
+=== Last property ===
+(Initial value)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+font-weight: bold;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After adding property)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After undo)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+font-weight: bold;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After redo)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+=== First property ===
+(Initial value)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After adding property)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+margin-top: 0px;
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After undo)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After redo)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+margin-top: 0px;
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+=== Middle property ===
+(Initial value)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+margin-top: 0px;
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After adding property)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+margin-top: 0px;
+margin-right: 1px;
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After undo)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+margin-top: 0px;
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+(After redo)
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-add-property.html:7)
+margin-top: 0px;
+margin-right: 1px;
+font-weight: bold;
+margin-left: 2px;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundoaddpropertyhtmlfromrev164517trunkLayoutTestsinspectorstylesundoaddpropertyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-add-property.html (from rev 164517, trunk/LayoutTests/inspector/styles/undo-add-property.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-add-property.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-add-property.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,85 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;style&gt;
+.container {
+  font-weight: bold
+}
+&lt;/style&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, testAppendProperty.bind(null, testInsertBegin));
+
+    function testAppendProperty()
+    {
+        InspectorTest.addResult(&quot;=== Last property ===&quot;);
+        testAddProperty(&quot;margin-left: 2px&quot;, undefined, testInsertBegin);
+    }
+
+    function testInsertBegin()
+    {
+        InspectorTest.addResult(&quot;=== First property ===&quot;);
+        testAddProperty(&quot;margin-top: 0px&quot;, 0, testInsertMiddle);
+    }
+
+    function testInsertMiddle()
+    {
+        InspectorTest.addResult(&quot;=== Middle property ===&quot;);
+        testAddProperty(&quot;margin-right: 1px&quot;, 1, InspectorTest.completeTest.bind(InspectorTest));
+    }
+
+    function testAddProperty(propertyText, index, callback)
+    {
+
+        InspectorTest.addResult(&quot;(Initial value)&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(&quot;font-weight&quot;);
+        var treeElement = treeItem.section().addNewBlankProperty(index);
+        treeElement.applyStyleText(propertyText, true, true);
+        InspectorTest.waitForStyles(&quot;container&quot;, step1);
+
+        function step1()
+        {
+            InspectorTest.addResult(&quot;(After adding property)&quot;);
+            InspectorTest.dumpSelectedElementStyles(true);
+
+            WebInspector.domAgent.undo();
+            InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step2);
+        }
+
+        function step2()
+        {
+            InspectorTest.addResult(&quot;(After undo)&quot;);
+            InspectorTest.dumpSelectedElementStyles(true);
+
+            WebInspector.domAgent.redo();
+            InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step3);
+        }
+
+        function step3()
+        {
+            InspectorTest.addResult(&quot;(After redo)&quot;);
+            InspectorTest.dumpSelectedElementStyles(true);
+            callback();
+        }
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that adding a property is undone properly.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; class=&quot;container&quot;&gt;&lt;/div&gt;
+&lt;div id=&quot;other&quot; class=&quot;container&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundoaddrulecrashexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesundoaddrulecrashexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-add-rule-crash-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/undo-add-rule-crash-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-add-rule-crash-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-add-rule-crash-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests that the inspected page does not crash after undoing a new rule addition. Bug 104806
+The test has passed (no crash).
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundoaddrulecrashhtmlfromrev164517trunkLayoutTestsinspectorstylesundoaddrulecrashhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-add-rule-crash.html (from rev 164517, trunk/LayoutTests/inspector/styles/undo-add-rule-crash.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-add-rule-crash.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-add-rule-crash.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,47 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=../../http/tests/inspector/inspector-test.js&gt;&lt;/script&gt;
+&lt;script src=../../http/tests/inspector/elements-test.js&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
+
+    function step1()
+    {
+        addNewRuleAndSelectNode(&quot;other&quot;, step2);
+    }
+
+    function step2()
+    {
+        WebInspector.domAgent.undo();
+        InspectorTest.waitForStyles(&quot;other&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.completeTest();
+    }
+
+    function addNewRuleAndSelectNode(nodeId, next)
+    {
+        document.getElementById(&quot;add-style-button-test-id&quot;).click();
+        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+        InspectorTest.selectNodeAndWaitForStyles(nodeId, next);
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+Tests that the inspected page does not crash after undoing a new rule addition. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=104806&quot;&gt;Bug 104806&lt;/a&gt;
+
+&lt;p&gt;The test has passed (no crash).&lt;/p&gt;
+&lt;div id=&quot;inspected&quot;&gt;&lt;div id=&quot;other&quot; /&gt;&lt;/div&gt;
+&lt;style&gt;
+@-webkit-keyframes cfpulse1 { 0% { opacity: 0.1;  } }
+.c1 { -webkit-animation-name: cfpulse1;  }
+&lt;/style&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundochangepropertyexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesundochangepropertyexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-change-property-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/undo-change-property-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-change-property-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-change-property-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+Tests that changing a property is undone properly.
+
+Initial value
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-change-property.html:7)
+font-weight: bold;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After changing property
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-change-property.html:7)
+font-weight: normal;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After undo
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-change-property.html:7)
+font-weight: bold;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+After redo
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+.container  { (undo-change-property.html:7)
+font-weight: normal;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundochangepropertyhtmlfromrev164517trunkLayoutTestsinspectorstylesundochangepropertyhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-change-property.html (from rev 164517, trunk/LayoutTests/inspector/styles/undo-change-property.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-change-property.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-change-property.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;style&gt;
+.container {
+  font-weight: bold
+}
+&lt;/style&gt;
+
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;Initial value&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        var treeItem = InspectorTest.getMatchedStylePropertyTreeItem(&quot;font-weight&quot;);
+        treeItem.applyStyleText(&quot;font-weight: normal&quot;, true, false);
+        InspectorTest.waitForStyles(&quot;container&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;After changing property&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        WebInspector.domAgent.undo();
+        InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;After undo&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        WebInspector.domAgent.redo();
+        InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.addResult(&quot;After redo&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that changing a property is undone properly.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; class=&quot;container&quot;&gt;&lt;/div&gt;
+&lt;div id=&quot;other&quot; class=&quot;container&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundopropertytoggleexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesundopropertytoggleexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-property-toggle-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/undo-property-toggle-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-property-toggle-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-property-toggle-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,11 @@
</span><ins>+Tests that disabling style is undone properly.
+
+Before disable
+font-weight: bold;
+After disable
+/-- overloaded --/ /-- disabled --/ font-weight: bold;
+After undo
+font-weight: bold;
+After redo
+/-- overloaded --/ /-- disabled --/ font-weight: bold;
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundopropertytogglehtmlfromrev164517trunkLayoutTestsinspectorstylesundopropertytogglehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-property-toggle.html (from rev 164517, trunk/LayoutTests/inspector/styles/undo-property-toggle.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-property-toggle.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-property-toggle.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,61 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.selectNodeAndWaitForStyles(&quot;container&quot;, step1);
+
+    function step1(node)
+    {
+        InspectorTest.addResult(&quot;Before disable&quot;);
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
+
+        InspectorTest.toggleStyleProperty(&quot;font-weight&quot;, false);
+        InspectorTest.waitForStyles(&quot;container&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;After disable&quot;);
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
+
+        WebInspector.domAgent.undo();
+        InspectorTest.waitForStyles(&quot;container&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;After undo&quot;);
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
+
+        WebInspector.domAgent.redo();
+        InspectorTest.waitForStyles(&quot;container&quot;, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.addResult(&quot;After redo&quot;);
+        var treeItem = InspectorTest.getElementStylePropertyTreeItem(&quot;font-weight&quot;);
+        InspectorTest.dumpStyleTreeItem(treeItem, &quot;&quot;);
+        InspectorTest.completeTest();
+    }
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that disabling style is undone properly.
+&lt;/p&gt;
+
+&lt;div id=&quot;container&quot; style=&quot;font-weight:bold&quot;&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundosetselectortextexpectedtxtfromrev164517trunkLayoutTestsinspectorstylesundosetselectortextexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-set-selector-text-expected.txt (from rev 164517, trunk/LayoutTests/inspector/styles/undo-set-selector-text-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-set-selector-text-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-set-selector-text-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,59 @@
</span><ins>+Tests that setting selector text can be undone.
+
+=== Before selector modification ===
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+#inspected  { (undo-set-selector-text.html:4)
+color: green;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+=== After selector modification ===
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+#inspected, #other  { (undo-set-selector-text.html:4)
+color: green;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+=== After undo ===
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+#inspected  { (undo-set-selector-text.html:4)
+color: green;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+=== After redo ===
+[expanded] 
+element.style  { ()
+
+======== Matched CSS Rules ========
+[expanded] 
+#inspected, #other  { (undo-set-selector-text.html:4)
+color: green;
+
+[expanded] 
+div  { (user agent stylesheet)
+display: block;
+
+
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletestylesundosetselectortexthtmlfromrev164517trunkLayoutTestsinspectorstylesundosetselectortexthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/styles/undo-set-selector-text.html (from rev 164517, trunk/LayoutTests/inspector/styles/undo-set-selector-text.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/styles/undo-set-selector-text.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/styles/undo-set-selector-text.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;style&gt;
+#inspected {
+  color: green;
+}
+&lt;/style&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/elements-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;elements&quot;);
+    InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step1);
+
+    function step1()
+    {
+        InspectorTest.addResult(&quot;=== Before selector modification ===&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        var section = WebInspector.panels.elements.sidebarPanes.styles.sections[0][2];
+        section.startEditingSelector();
+        section._selectorElement.textContent = &quot;#inspected, #other&quot;;
+        section._selectorElement.dispatchEvent(InspectorTest.createKeyEvent(&quot;Enter&quot;));
+        InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.addResult(&quot;=== After selector modification ===&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        WebInspector.domAgent.undo();
+        InspectorTest.selectNodeAndWaitForStyles(&quot;inspected&quot;, step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.addResult(&quot;=== After undo ===&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+
+        WebInspector.domAgent.redo();
+        InspectorTest.selectNodeAndWaitForStyles(&quot;other&quot;, step4);
+    }
+
+    function step4()
+    {
+        InspectorTest.addResult(&quot;=== After redo ===&quot;);
+        InspectorTest.dumpSelectedElementStyles(true);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that setting selector text can be undone.
+&lt;/p&gt;
+
+&lt;div id=&quot;inspected&quot;&gt;&lt;/div&gt;
+&lt;div id=&quot;other&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcesanImagepngfromrev164517trunkLayoutTestsinspectortimelineresourcesanImagepng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/anImage.png (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/anImage.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcesanImagepng"></a>
<div class="propset"><h4>Property changes: trunk/LayoutTests/inspector-obsolete/timeline/resources/anImage.png</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcesanotherImagepngfromrev164517trunkLayoutTestsinspectortimelineresourcesanotherImagepng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/anotherImage.png (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/anotherImage.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcesanotherImagepng"></a>
<div class="propset"><h4>Property changes: trunk/LayoutTests/inspector-obsolete/timeline/resources/anotherImage.png</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcesbigpngfromrev164517trunkLayoutTestsinspectortimelineresourcesbigpng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/big.png (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/big.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcesbigpng"></a>
<div class="propset"><h4>Property changes: trunk/LayoutTests/inspector-obsolete/timeline/resources/big.png</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestestbmpfromrev164517trunkLayoutTestsinspectortimelineresourcestestbmp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/test.bmp (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/test.bmp) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/resources/test.bmp                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/resources/test.bmp        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+BM&quot;6(\xEC\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestestgiffromrev164517trunkLayoutTestsinspectortimelineresourcestestgif"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/test.gif (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/test.gif) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/resources/test.gif                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/resources/test.gif        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+GIF89a
+
+\xC4\xFF\xFF\xFF\x94\x94\x94\xD6\xD6֜\x9C\x9C\xAD\xAD\xAD\xEF\xEF\xEFcccJJJZZZ\xDE\xDE\xDE\xE7\xE7焄\x84\x8C\x8C\x8C\xB5\xB5\xB5\xBD\xBD\xBDkkksss\xC6\xC6\xC6\xCE\xCE\xCE!\xF9,
+
+@=\xE04ER)E\xE2$=r\xBC\x8C
+̀\xE0 BҀ +$\x87\x90\x80sATZ\x81$\xE3\xD9 IB\x91\x904p]`\x85^Q\x82@@“;
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestesticofromrev164517trunkLayoutTestsinspectortimelineresourcestestico"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/test.ico (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/test.ico) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/resources/test.ico                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/resources/test.ico        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+ \xB8(* \xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestestjpgfromrev164517trunkLayoutTestsinspectortimelineresourcestestjpg"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/test.jpg (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/test.jpg) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/resources/test.jpg                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/resources/test.jpg        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+\xFF\xD8\xFF\xE0JFIF\xFF\xDBC\xFF\xDBC\xFF\xC0&quot;\xFF\xC4        
+ \xFF\xC4\xB5}!1AQa&quot;q2\x81\x91\xA1#B\xB1\xC1R\xD1\xF0$3br\x82        
+%&amp;'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x83\x84\x85\x86\x87\x88\x89\x8A\x92\x93\x94\x95\x96\x97\x98\x99\x9A\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFF\xC4        
+ \xFF\xC4\xB5w!1AQaq&quot;2\x81B\x91\xA1\xB1\xC1        #3R\xF0br\xD1
+$4\xE1%\xF1&amp;'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x92\x93\x94\x95\x96\x97\x98\x99\x9A\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFF\xDA ?\xFE\xFE(\xA2\x8A(\xA2\x8A(\xA2\x8A(\xA2\x8A\xFF\xD9
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestestpngfromrev164517trunkLayoutTestsinspectortimelineresourcestestpng"></a>
<div class="binary"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/test.png (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/test.png)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestestpng"></a>
<div class="propset"><h4>Property changes: trunk/LayoutTests/inspector-obsolete/timeline/resources/test.png</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnexecutable"></a>
<div class="addfile"><h4>Added: svn:executable</h4></div>
<a id="svnmimetype"></a>
<div class="addfile"><h4>Added: svn:mime-type</h4></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestestwebpfromrev164517trunkLayoutTestsinspectortimelineresourcestestwebp"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/test.webp (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/test.webp) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/resources/test.webp                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/resources/test.webp        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+RIFF6WEBPVP8 *\x9D*&gt;}2\x92G\xA2\xFD\x88\xF1- Tx'2\x95\xF27\xFE\xFFv!\xE8
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestimelineiframedatahtmlfromrev164517trunkLayoutTestsinspectortimelineresourcestimelineiframedatahtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/timeline-iframe-data.html (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-data.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/resources/timeline-iframe-data.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/resources/timeline-iframe-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script&gt;
+console.timeStamp(&quot;SCRIPT TAG&quot;);
+
+function iframeOnload()
+{
+    console.log(&quot;iframe loaded&quot;);
+}
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;iframeOnload()&quot;&gt;
+    &lt;div&gt;Foo&lt;/div&gt;
+&lt;/body&gt;
+
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelineresourcestimelineiframepainthtmlfromrev164517trunkLayoutTestsinspectortimelineresourcestimelineiframepainthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/resources/timeline-iframe-paint.html (from rev 164517, trunk/LayoutTests/inspector/timeline/resources/timeline-iframe-paint.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/resources/timeline-iframe-paint.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/resources/timeline-iframe-paint.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;body style=&quot;margin: 0&quot;&gt;
+    &lt;div style=&quot;display: block; position: absolute; left: 15px; top: 15px; width: 20px; height: 20px; background-color: blue&quot;&gt;&lt;/div&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineanimationframeexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelineanimationframeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-animation-frame-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-animation-frame-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-animation-frame-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-animation-frame-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,40 @@
</span><ins>+Tests the Timeline events for Animation Frame feature
+
+RequestAnimationFrame Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        id : &lt;number&gt;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;RequestAnimationFrame&quot;
+    usedHeapSize : &lt;number&gt;
+}
+FireAnimationFrame Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        id : &lt;number&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;FireAnimationFrame&quot;
+    usedHeapSize : &lt;number&gt;
+}
+CancelAnimationFrame Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        id : &lt;number&gt;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;CancelAnimationFrame&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineanimationframehtmlfromrev164517trunkLayoutTestsinspectortimelinetimelineanimationframehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-animation-frame.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-animation-frame.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-animation-frame.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-animation-frame.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,52 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    var element = document.getElementById(&quot;animation&quot;);
+    var requestId = window.requestAnimationFrame(animationFrameCallback, element);
+    function animationFrameCallback()
+    {
+        window.cancelAnimationFrame(requestId);
+    }
+
+    if (window.testRunner)
+        testRunner.display();
+}
+
+function test()
+{
+    InspectorTest.startTimeline(function() {
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+    });
+
+    InspectorTest.waitForRecordType(&quot;CancelAnimationFrame&quot;, finish);
+
+    function finish()
+    {
+        InspectorTest.printTimelineRecords(&quot;RequestAnimationFrame&quot;);
+        InspectorTest.printTimelineRecords(&quot;FireAnimationFrame&quot;);
+        InspectorTest.printTimelineRecords(&quot;CancelAnimationFrame&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+if (!window.testRunner)
+    setTimeout(performActions, 2000);
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline events for Animation Frame feature
+&lt;/p&gt;
+&lt;div id=&quot;animation&quot;&gt;
+
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinedecoderesizeexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinedecoderesizeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-decode-resize-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-decode-resize-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-decode-resize-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-decode-resize-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,186 @@
</span><ins>+Tests the Timeline API instrumentation of a DecodeImage and ResizeImage events
+
+
+DecodeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        imageType : &quot;BMP&quot;
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;DecodeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ResizeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        cached : true
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResizeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+DecodeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        imageType : &quot;GIF&quot;
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;DecodeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ResizeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        cached : true
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResizeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+DecodeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        imageType : &quot;ICO&quot;
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;DecodeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ResizeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        cached : true
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResizeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+DecodeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        imageType : &quot;JPEG&quot;
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;DecodeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ResizeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        cached : true
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResizeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+DecodeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        imageType : &quot;PNG&quot;
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;DecodeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ResizeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        cached : true
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResizeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+DecodeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        imageType : &quot;WEBP&quot;
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;DecodeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ResizeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        cached : true
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResizeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+DecodeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        imageType : &quot;PNG&quot;
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;DecodeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ResizeImage Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        cached : false
+    }
+    endTime : &lt;number&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResizeImage&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinedecoderesizehtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinedecoderesizehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-decode-resize.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-decode-resize.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-decode-resize.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-decode-resize.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,68 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function addImage(src, width, height, callback)
+{
+    var img = document.createElement(&quot;img&quot;);
+    img.width = width;
+    img.height = height;
+    img.onload = callback;
+    img.src = src;
+    document.body.appendChild(img);
+}
+
+function addImage1() { addImage(&quot;resources/test.bmp&quot;, &quot;25&quot;, &quot;25&quot;, addImage2); }
+function addImage2() { addImage(&quot;resources/test.gif&quot;, &quot;25&quot;, &quot;25&quot;, addImage3); }
+function addImage3() { addImage(&quot;resources/test.ico&quot;, &quot;25&quot;, &quot;25&quot;, addImage4); }
+function addImage4() { addImage(&quot;resources/test.jpg&quot;, &quot;25&quot;, &quot;25&quot;, addImage5); }
+function addImage5() { addImage(&quot;resources/test.png&quot;, &quot;25&quot;, &quot;25&quot;, addImage6); }
+function addImage6() { addImage(&quot;resources/test.webp&quot;, &quot;25&quot;, &quot;25&quot;, addImage7); }
+function addImage7() { addImage(&quot;resources/big.png&quot;, &quot;5000&quot;, &quot;5000&quot;, displayPage); }
+
+function displayPage()
+{
+    if (window.testRunner) {
+        testRunner.display();
+        testRunner.waitUntilDone();
+    }
+    testRunner.evaluateInWebInspector(0, &quot;window.step2()&quot;);
+}
+
+function test()
+{
+    InspectorTest.startTimeline(step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInPage(&quot;addImage1()&quot;);
+    }
+
+    window.step2 = function()
+    {
+        InspectorTest.stopTimeline(step3);
+    }
+
+    function step3(records)
+    {
+        for (var i = 0; i &lt; records.length; ++i) {
+            var record = records[i];
+            if (record.type === WebInspector.TimelineModel.RecordType.DecodeImage || record.type === WebInspector.TimelineModel.RecordType.ResizeImage)
+                InspectorTest.printTimelineRecordProperties(record);
+        }
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a DecodeImage and ResizeImage events
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinedomcontentloadedeventexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinedomcontentloadedeventexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-dom-content-loaded-event-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-dom-content-loaded-event-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-dom-content-loaded-event-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,15 @@
</span><ins>+Tests the DOM content loaded event.
+
+Page reloaded.
+MarkDOMContent Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        isMainFrame : true
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;MarkDOMContent&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinedomcontentloadedeventhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinedomcontentloadedeventhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-dom-content-loaded-event.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-dom-content-loaded-event.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-dom-content-loaded-event.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-dom-content-loaded-event.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,38 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;timeline&quot;);
+    finishCalled = 0;
+
+    InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
+    InspectorTest.waitForRecordType(&quot;MarkDOMContent&quot;, contentEvent);
+
+    function contentEvent()
+    {
+        InspectorTest.stopTimeline(finish);
+    }
+
+    function finish()
+    {
+        if (++finishCalled &lt; 2)
+            return;
+        InspectorTest.printTimelineRecords(&quot;MarkDOMContent&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the DOM content loaded event.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineeventdispatchexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelineeventdispatchexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-event-dispatch-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-event-dispatch-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-event-dispatch-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-event-dispatch-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+Tests the Timeline API instrumentation of a DOM Dispatch (mousedown)
+
+Test Mouse Target
+EventDispatch Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        type : &quot;mousedown&quot;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;EventDispatch&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineeventdispatchhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelineeventdispatchhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-event-dispatch.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-event-dispatch.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-event-dispatch.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-event-dispatch.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,43 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function handleMouseDown(event) 
+{
+    console.timeStamp(&quot;Handling mousedown&quot;);
+}
+
+function performActions()
+{
+    var target = document.getElementById(&quot;testTarget&quot;);
+    target.addEventListener(&quot;mousedown&quot;, handleMouseDown, true);
+    var rect = target.getBoundingClientRect();
+
+    // Simulate the mouse down over the target to trigger an EventDispatch
+    if (window.eventSender) {
+        window.eventSender.mouseMoveTo(rect.left + rect.width / 2, rect.top + rect.height / 2);
+        window.eventSender.mouseDown();
+    }
+}
+
+function test() 
+{
+    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;EventDispatch&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a DOM Dispatch (mousedown)
+&lt;/p&gt;
+
+&lt;div id=&quot;testTarget&quot; style=&quot;width:400px; height:400px;&quot;&gt;
+Test Mouse Target
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineframesexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelineframesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-frames-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-frames-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-frames-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-frames-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+Tests reporting and canceling of didBeginFrame events in Timeline
+
+BeginFrame
+TimeStamp : FRAME 1
+BeginFrame
+TimeStamp : FRAME 2
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineframeshtmlfromrev164517trunkLayoutTestsinspectortimelinetimelineframeshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-frames.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-frames.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-frames.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-frames.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,55 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    window.internals.emitInspectorDidBeginFrame();
+    console.timeStamp(&quot;FRAME 1&quot;);
+
+    window.internals.emitInspectorDidBeginFrame();
+    window.internals.emitInspectorDidCancelFrame();
+
+    window.internals.emitInspectorDidBeginFrame();
+    console.timeStamp(&quot;FRAME 2&quot;);
+    window.internals.emitInspectorDidCancelFrame();
+}
+
+function test()
+{
+    function formatRecord(record)
+    {
+        if (record.type === WebInspector.TimelineModel.RecordType.TimeStamp ||
+            record.type === WebInspector.TimelineModel.RecordType.BeginFrame) {
+            InspectorTest.dumpTimelineRecord(record);
+        }
+    }
+
+    InspectorTest.startTimeline(function() {
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;, step2);
+    });
+
+    function step2()
+    {
+        InspectorTest.stopTimeline(finish);
+    }
+
+    function finish()
+    {
+        InspectorTest.printTimelineRecords(null, formatRecord);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests reporting and canceling of didBeginFrame events in Timeline
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineinjectedscriptevalexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelineinjectedscriptevalexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-injected-script-eval-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-injected-script-eval-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-injected-script-eval-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,31 @@
</span><ins>+Tests the Timeline API function call record for InjectedScript.eval call feature.
+
+FunctionCall Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        scriptLine : &lt;number&gt;
+        scriptName : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;FunctionCall&quot;
+    usedHeapSize : &lt;number&gt;
+}
+FunctionCall Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        scriptLine : &lt;number&gt;
+        scriptName : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;FunctionCall&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineinjectedscriptevalhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelineinjectedscriptevalhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-injected-script-eval.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-injected-script-eval.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-injected-script-eval.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-injected-script-eval.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,25 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+}
+
+function test()
+{
+    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;FunctionCall&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API function call record for InjectedScript.eval call feature.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinelayoutexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinelayoutexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-layout-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,42 @@
</span><ins>+Tests the Timeline API instrumentation of a Layout event
+
+text
+text
+text
+text
+text
+Layout Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        dirtyObjects : 3
+        partialLayout : true
+        root : &lt;object&gt;
+        totalObjects : 8
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;Layout&quot;
+    usedHeapSize : &lt;number&gt;
+}
+Layout Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        dirtyObjects : 2
+        partialLayout : true
+        root : &lt;object&gt;
+        totalObjects : 11
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;Layout&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinelayoutreasonexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinelayoutreasonexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-reason-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-layout-reason-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-reason-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-reason-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests that Layout record has correct locations of layout being invalidated and forced.
+
+layout invalidated: invalidateStyle
+layout forced: forceLayout
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinelayoutreasonhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinelayoutreasonhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-reason.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-layout-reason.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-reason.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout-reason.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+&lt;html&gt;
+&lt;style&gt;
+.test { height: 20px; }
+&lt;/style&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function invalidateStyle()
+{
+    var element = document.getElementById(&quot;test&quot;);
+    element.className = &quot;test&quot;;
+}
+
+function forceLayout()
+{
+    var element = document.getElementById(&quot;test&quot;);
+    var unused = element.offsetHeight;
+}
+
+function performActions()
+{
+    invalidateStyle();
+    forceLayout();
+}
+
+function test()
+{
+    InspectorTest.evaluateWithTimeline(&quot;performActions()&quot;, onTimelineRecorded);
+    function onTimelineRecorded()
+    {
+        var layoutRecord = InspectorTest.findPresentationRecord(&quot;Layout&quot;);
+        InspectorTest.addResult(&quot;layout invalidated: &quot; + layoutRecord.callSiteStackTrace[0].functionName);
+        InspectorTest.addResult(&quot;layout forced: &quot; + layoutRecord.stackTrace[0].functionName);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests that Layout record has correct locations of layout being invalidated and forced.
+&lt;/p&gt;
+&lt;div id=&quot;test&quot;&gt;&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinelayouthtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinelayouthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-layout.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-layout.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,57 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;style&gt;
+.relayout-boundary {
+    overflow: hidden;
+    width: 100px;
+    height: 100px;
+}
+&lt;/style&gt;
+&lt;script&gt;
+
+function invalidateAndForceLayout(element)
+{
+    element.style.marginTop = &quot;10px&quot;;
+    var unused = element.offsetHeight;
+}
+
+function performActions()
+{
+    invalidateAndForceLayout(document.getElementById(&quot;invalidate1&quot;));
+    invalidateAndForceLayout(document.getElementById(&quot;invalidate2&quot;));
+}
+
+function test()
+{
+    InspectorTest.evaluateInPage(&quot;testRunner.display()&quot;, function() {
+        InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;Layout&quot;);
+    });
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a Layout event
+&lt;/p&gt;
+&lt;div class=&quot;relayout-boundary&quot;&gt;
+    &lt;div&gt;text&lt;/div&gt;
+    &lt;div&gt;&lt;/div&gt;
+    &lt;div&gt;
+        &lt;div id=&quot;invalidate1&quot;&gt;&lt;div&gt;text&lt;/div&gt;&lt;/div&gt;
+    &lt;/div&gt;
+&lt;/div&gt;
+&lt;div class=&quot;relayout-boundary&quot;&gt;
+    &lt;div&gt;&lt;/div&gt;
+    &lt;div&gt;text&lt;/div&gt;
+    &lt;div id=&quot;invalidate2&quot;&gt;&lt;div&gt;text&lt;/div&gt;&lt;/div&gt;
+    &lt;div&gt;&lt;/div&gt;
+    &lt;div&gt;&lt;/div&gt;
+    &lt;div&gt;text&lt;/div&gt;
+&lt;/div&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineloadeventexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelineloadeventexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-event-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-load-event-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-event-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-event-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,50 @@
</span><ins>+Tests the load event.
+
+Page reloaded.
+Model records:
+MarkDOMContent Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        isMainFrame : true
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;MarkDOMContent&quot;
+    usedHeapSize : &lt;number&gt;
+}
+MarkLoad Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        isMainFrame : true
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;MarkLoad&quot;
+    usedHeapSize : &lt;number&gt;
+}
+Timestamp records:
+MarkDOMContent Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        isMainFrame : true
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;MarkDOMContent&quot;
+    usedHeapSize : &lt;number&gt;
+}
+MarkLoad Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        isMainFrame : true
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;MarkLoad&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineloadeventhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelineloadeventhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-event.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-load-event.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-event.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-event.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;timeline&quot;);
+    finishCalled = 0;
+
+    InspectorTest.startTimeline(function() { InspectorTest.reloadPage(finish); });
+    InspectorTest.waitForRecordType(&quot;MarkLoad&quot;, contentEvent);
+
+    function contentEvent()
+    {
+        InspectorTest.stopTimeline(finish);
+    }
+
+    function finish()
+    {
+        if (++finishCalled !== 2)
+            return;
+
+        InspectorTest.addResult(&quot;Model records:&quot;);
+        InspectorTest.printTimelineRecords(&quot;MarkDOMContent&quot;);
+        InspectorTest.printTimelineRecords(&quot;MarkLoad&quot;);
+        InspectorTest.addResult(&quot;Timestamp records:&quot;);
+        InspectorTest.printTimestampRecords(&quot;MarkDOMContent&quot;);
+        InspectorTest.printTimestampRecords(&quot;MarkLoad&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the load event.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineloadexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelineloadexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-load-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-load-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,14 @@
</span><ins>+Tests the Timeline save/load functionality.
+
+Also tests save/load of unknown (incompatible) record types. (Bug 91714)
+
+
+Running: testNormal
+passed
+
+Running: testIncompatible
+passed
+
+Running: testMalformed
+passed
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineloadhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelineloadhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-load.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-load.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-load.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-load.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,96 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    function runTestWithDataAndCheck(input, expectedOutput)
+    {
+        WebInspector.showPanel(&quot;timeline&quot;);
+        var model = new WebInspector.TimelineModel();
+
+        function createFileReader(file, delegate)
+        {
+            return new InspectorTest.FakeFileReader(input, delegate, model.saveToFile.bind(model));
+        }
+
+        function createFileWriter(fileName, callback)
+        {
+            callback(new InspectorTest.StringOutputStream(checkSaveData));
+        }
+
+        function checkSaveData(output)
+        {
+            var saveData = JSON.parse(output);
+            saveData.shift(); // strip version info
+            expectedOutput.shift();
+            InspectorTest.assertEquals(JSON.stringify(expectedOutput), JSON.stringify(saveData), &quot;saved data is not equal to restored&quot;);
+            InspectorTest.addResult(&quot;passed&quot;);
+        }
+
+        InspectorTest.override(model, &quot;_createFileReader&quot;, createFileReader);
+        InspectorTest.override(model, &quot;_createFileWriter&quot;, createFileWriter);
+
+        model.loadFromFile({}, new WebInspector.Progress());
+    }
+
+    InspectorTest.runTestSuite([
+        function testNormal(next)
+        {
+            var data = [&quot;Version&quot;,
+                {&quot;startTime&quot;:1310749854316.8408,&quot;data&quot;:{&quot;requestId&quot;:43,&quot;url&quot;:&quot;http://www.webkit.org/&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:1819936,&quot;totalHeapSize&quot;:7629120},
+                {&quot;startTime&quot;:1310749855118.9329,&quot;data&quot;:{&quot;requestId&quot;:43,&quot;statusCode&quot;:200,&quot;mimeType&quot;:&quot;text/html&quot;},&quot;children&quot;:[],&quot;endTime&quot;:1310749855118.968,&quot;type&quot;:&quot;ResourceReceiveResponse&quot;,&quot;usedHeapSize&quot;:1819936,&quot;totalHeapSize&quot;:7629120},
+                {&quot;startTime&quot;:1310749855136.245,&quot;data&quot;:{&quot;requestId&quot;:44,&quot;url&quot;:&quot;http://www.webkit.org/css/main.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
+                {&quot;startTime&quot;:1310749855136.655,&quot;data&quot;:{&quot;requestId&quot;:45,&quot;url&quot;:&quot;http://www.webkit.org/css/green.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
+                {&quot;startTime&quot;:1310749855137.023,&quot;data&quot;:{&quot;requestId&quot;:46,&quot;url&quot;:&quot;http://www.webkit.org/css/blue.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
+                {&quot;startTime&quot;:1310749855137.342,&quot;data&quot;:{&quot;requestId&quot;:47,&quot;url&quot;:&quot;http://www.webkit.org/css/yellow.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
+                {&quot;startTime&quot;:1310749855137.656,&quot;data&quot;:{&quot;requestId&quot;:48,&quot;url&quot;:&quot;http://www.webkit.org/css/pink.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
+                {&quot;startTime&quot;:1310749855137.989,&quot;data&quot;:{&quot;requestId&quot;:49,&quot;url&quot;:&quot;http://www.webkit.org/css/purple.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120},
+                {&quot;startTime&quot;:1310749855138.308,&quot;data&quot;:{&quot;requestId&quot;:50,&quot;url&quot;:&quot;http://www.webkit.org/css/gray.css&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;ResourceSendRequest&quot;,&quot;usedHeapSize&quot;:2367192,&quot;totalHeapSize&quot;:7629120}
+            ];
+            var input = JSON.stringify(data);
+            runTestWithDataAndCheck(input, data);
+            next();
+        },
+
+        function testIncompatible(next)
+        {
+            var data = [&quot;Version&quot;,
+                {&quot;startTime&quot;:1310749854316.8408,&quot;data&quot;:{&quot;requestId&quot;:43,&quot;url&quot;:&quot;http://www.webkit.org/&quot;,&quot;requestMethod&quot;:&quot;GET&quot;},&quot;type&quot;:&quot;UnknownRecordType&quot;,&quot;u\&quot;s}e}dHeapSize\\&quot;:1819936,&quot;totalHeapSize&quot;:7629120}
+            ];
+            var input = JSON.stringify(data);
+            runTestWithDataAndCheck(input, data);
+            next();
+        },
+
+        function testMalformed(next)
+        {
+            var data = [&quot;Version&quot;];
+            // At least 1 record is parsed in first chunk.
+            var input = '[&quot;Version&quot;,'
+                +'{&quot;startTime&quot;:1310749854316.8408,&quot;data&quot;:{&quot;requestId&quot;:43},&quot;type&quot;:&quot;UnknownRecordType&quot;},'
+                +'{&quot;startTime&quot;:1310749854316.8508,&quot;data&quot;:{&quot;requestId&quot;:43},&quot;type&quot;:&quot;UnknownRecordType&quot;},'
+                +'{&quot;startTime&quot;:1310749854316.8608,&quot;data&quot;:{&quot;requestId&quot;:43},&quot;type&quot;:&quot;UnknownRecordType&quot;},'
+                +'{&quot;startTime&quot;:1310749854316.8708,&quot;data&quot;:{&quot;requestId&quot;:43_MALFORMED_JSON_},&quot;type&quot;:&quot;UnknownRecordType&quot;}]';
+            runTestWithDataAndCheck(input, data);
+            next();
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline save/load functionality.
+&lt;/p&gt;
+
+&lt;p&gt;
+Also tests save/load of unknown (incompatible) record types. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=91714&quot;&gt;(Bug 91714)&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkreceiveddataexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinenetworkreceiveddataexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-received-data-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-network-received-data-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-received-data-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-received-data-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+CONSOLE MESSAGE: line 7: Script evaluated
+Tests the Timeline API instrumentation of a network resource received data
+
+Script resource loaded
+Resource received data has length, test passed.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkreceiveddatahtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinenetworkreceiveddatahtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-received-data.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-network-received-data.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-received-data.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-received-data.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,57 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var scriptUrl = &quot;timeline-network-resource.js&quot;;
+
+function performActions() 
+{
+    var image = new Image();
+    image.src = &quot;resources/anImage.png&quot;;
+    var script = document.createElement(&quot;script&quot;);
+    script.src = scriptUrl;
+    document.body.appendChild(script);
+}
+
+function test()
+{
+    var scriptUrl = &quot;timeline-network-resource.js&quot;;
+
+    var calledOnce;
+
+    InspectorTest.startTimeline(function() {
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+    });
+
+    InspectorTest.waitForRecordType(&quot;ResourceReceivedData&quot;, finish);
+
+    function finish(object)
+    {
+        for (var prop in object) {
+            if (!InspectorTest.timelinePropertyFormatters[prop]) {
+                for (var property in object[prop]) {
+                    if (property === &quot;encodedDataLength&quot;) {
+                        if (!calledOnce) {
+                            calledOnce = true;
+                            InspectorTest.addResult(&quot;Resource received data has length, test passed.&quot;);
+                            InspectorTest.completeTest();
+                        }
+                        return;
+                    }
+                }
+            }
+        }
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a network resource received data
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkresourceexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinenetworkresourceexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-network-resource-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,49 @@
</span><ins>+CONSOLE MESSAGE: line 7: Script evaluated
+Tests the Timeline API instrumentation of a network resource load
+
+Script resource loaded
+
+ResourceSendRequest Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        requestId : &lt;string&gt;
+        requestMethod : &quot;GET&quot;
+        url : &lt;string&gt;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResourceSendRequest&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
+ResourceReceiveResponse Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        mimeType : &lt;string&gt;
+        requestId : &lt;string&gt;
+        statusCode : 0
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResourceReceiveResponse&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
+ResourceFinish Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        didFail : false
+        requestId : &lt;string&gt;
+    }
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ResourceFinish&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkresourcehtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinenetworkresourcehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-network-resource.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,104 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+var scriptUrl = &quot;timeline-network-resource.js&quot;;
+
+function performActions() 
+{
+    var script = document.createElement(&quot;script&quot;);
+    script.src = scriptUrl;
+    document.body.appendChild(script);
+}
+
+function test()
+{
+    var requestId;
+    var scriptUrl = &quot;timeline-network-resource.js&quot;;
+
+    WebInspector.showPanel(&quot;timeline&quot;);
+    var model = WebInspector.panels.timeline._model;
+    var presentationModel = WebInspector.panels.timeline._presentationModel;
+    presentationModel.setGlueRecords(true);
+
+    InspectorTest.startTimeline(step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+        InspectorTest.addConsoleSniffer(step2);
+    }
+
+    function step2()
+    {
+        InspectorTest.stopTimeline(step3);
+    }
+
+    function step3()
+    {
+        var lastRecordStartTime;
+        function format(record)
+        {
+            if (record.type === WebInspector.TimelineModel.RecordType.ResourceSendRequest)
+                printSend(record._record);
+            else if (record.type === WebInspector.TimelineModel.RecordType.ResourceReceiveResponse)
+                printReceive(record._record);
+            else if (record.type === WebInspector.TimelineModel.RecordType.ResourceFinish)
+                printFinish(record._record);
+
+            if (record.parent &amp;&amp; record.parent.type === WebInspector.TimelineModel.RecordType.Root) {
+                if (lastRecordStartTime)
+                    InspectorTest.assertGreaterOrEqual(record.startTime, lastRecordStartTime, &quot;Top level records order violation&quot;);
+                lastRecordStartTime = record.startTime;
+            }
+        }
+        WebInspector.TimelinePresentationModel.forAllRecords([presentationModel.rootRecord()], format);
+        InspectorTest.completeTest();
+    }
+
+    function printRecord(record)
+    {
+        InspectorTest.addResult(&quot;&quot;);
+        InspectorTest.printTimelineRecordProperties(record);
+    }
+
+    function printSend(record)
+    {
+        printRecord(record);
+        requestId = record.data.requestId;
+        if (record.data.url === undefined) 
+            InspectorTest.addResult(&quot;* No 'url' property in record&quot;);
+        else if (record.data.url.indexOf(scriptUrl) === -1)
+            InspectorTest.addResult(&quot;* Didn't find URL: &quot; + scriptUrl);
+    }
+
+    function printReceive(record)
+    {
+        printRecord(record);
+        if (requestId !== record.data.requestId)
+            InspectorTest.addResult(&quot;Didn't find matching requestId: &quot; + requestId);
+        if (record.data.statusCode !== 0)
+            InspectorTest.addResult(&quot;Response received status: &quot; + record.data.statusCode);
+    }
+
+    function printFinish(record)
+    {
+        printRecord(record);
+        if (requestId !== record.data.requestId)
+            InspectorTest.addResult(&quot;Didn't find matching requestId: &quot; + requestId);
+        if (record.data.didFail)
+            InspectorTest.addResult(&quot;Request failed.&quot;);
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a network resource load
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinenetworkresourcejsfromrev164517trunkLayoutTestsinspectortimelinetimelinenetworkresourcejs"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource.js (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-network-resource.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-network-resource.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+// Sample script resource to find in timeline data
+
+var element = document.createElement(&quot;div&quot;);
+element.innerHTML = &quot;Script resource loaded&quot;;
+document.body.appendChild(element);
+
+console.log(&quot;Script evaluated&quot;);
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinepaintexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinepaintexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-paint-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-paint-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-paint-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-paint-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+Tests the Timeline API instrumentation of a paint event
+
+
+Paint Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        clip : &lt;object&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;Paint&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinepainthtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinepainthtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-paint.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-paint.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-paint.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-paint.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,79 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function display()
+{
+    if (window.testRunner)
+        testRunner.display();
+}
+
+function updateSubframeAndDisplay()
+{
+    frames[0].document.body.children[0].style.backgroundColor = &quot;green&quot;;
+    if (window.testRunner)
+        testRunner.displayInvalidatedRegion();
+}
+
+function test()
+{
+    step1();
+
+    function step1()
+    {
+        InspectorTest.evaluateWithTimeline(&quot;display()&quot;, step2);
+    }
+
+    function step2(records)
+    {
+        for (var i = 0; i &lt; records.length; ++i) {
+            var record = records[i];
+            if (record.type === WebInspector.TimelineModel.RecordType.Paint) {
+                InspectorTest.printTimelineRecordProperties(record);
+                break;
+            }
+        }
+        InspectorTest.evaluateWithTimeline(&quot;updateSubframeAndDisplay()&quot;, step3);
+    }
+
+    function step3(records)
+    {
+        var paintRecord;
+        for (var i = 0; i &lt; records.length; ++i) {
+            var record = records[i];
+            if (record.type === WebInspector.TimelineModel.RecordType.Paint &amp;&amp; record.children &amp;&amp; record.children.length) {
+                paintRecord = record;
+                break;
+            }
+        }
+        InspectorTest.assertTrue(paintRecord, &quot;Paint record with subframe paint not found&quot;);
+        var topQuad = paintRecord.data.clip;
+        var subframePaint = paintRecord.children[0];
+        var subframeQuad = subframePaint.data.clip;
+        InspectorTest.assertEquals(8, topQuad.length);
+        InspectorTest.assertEquals(8, subframeQuad.length);
+        InspectorTest.assertGreaterOrEqual(subframeQuad[0], topQuad[0]);
+        InspectorTest.assertGreaterOrEqual(subframeQuad[1], topQuad[1]);
+        InspectorTest.assertGreaterOrEqual(topQuad[2], subframeQuad[2]);
+        InspectorTest.assertGreaterOrEqual(subframeQuad[3], topQuad[3]);
+        InspectorTest.assertGreaterOrEqual(topQuad[4], subframeQuad[4]);
+        InspectorTest.assertGreaterOrEqual(topQuad[5], subframeQuad[5]);
+        InspectorTest.assertGreaterOrEqual(subframeQuad[6], topQuad[6]);
+        InspectorTest.assertGreaterOrEqual(topQuad[7], subframeQuad[7]);
+
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a paint event
+&lt;/p&gt;
+&lt;iframe src=&quot;resources/timeline-iframe-paint.html&quot; style=&quot;position: absolute; left: 40px; top: 40px; width: 100px; height: 100px; border: none&quot;&gt;&lt;/iframe&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineparsehtmlexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelineparsehtmlexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-parse-html-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-parse-html-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-parse-html-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-parse-html-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,34 @@
</span><ins>+Tests the Timeline API instrumentation of ParseHTML
+
+Test data
+ParseHTML Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        endLine : 0
+        startLine : 0
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ParseHTML&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ParseHTML Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        endLine : 0
+        startLine : 0
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;ParseHTML&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelineparsehtmlhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelineparsehtmlhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-parse-html.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-parse-html.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-parse-html.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-parse-html.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    var element = document.createElement(&quot;div&quot;);
+    element.innerHTML = &quot;Test data&quot;;
+    document.body.appendChild(element);
+}
+
+function test()
+{
+    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;ParseHTML&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of ParseHTML 
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinerecalculatestylesexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinerecalculatestylesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-recalculate-styles-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-recalculate-styles-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-recalculate-styles-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,16 @@
</span><ins>+Tests the Timeline API instrumentation of a style recalculation event
+
+Test data
+RecalculateStyles Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;RecalculateStyles&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinerecalculatestyleshtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinerecalculatestyleshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-recalculate-styles.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-recalculate-styles.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-recalculate-styles.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-recalculate-styles.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,36 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+
+&lt;style&gt;
+.test-style {
+    color: red;
+}
+&lt;/style&gt;
+
+&lt;script&gt;
+
+function performActions()
+{
+    var element = document.createElement(&quot;div&quot;);
+    element.className = &quot;test-style&quot;;
+    element.innerHTML = &quot;Test data&quot;;
+    document.body.appendChild(element);
+}
+
+function test()
+{
+    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;RecalculateStyles&quot;);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a style recalculation event
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinereceiveresponseeventexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinereceiveresponseeventexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-receive-response-event-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-receive-response-event-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-receive-response-event-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-receive-response-event-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,17 @@
</span><ins>+Tests the Timeline API instrumentation of a SendRequest, ReceiveResponse etc.
+
+FunctionCall
+FunctionCall
+ResourceSendRequest
+    ResourceReceiveResponse
+    ResourceReceivedData
+    ResourceFinish
+EventDispatch
+    FunctionCall
+ResourceSendRequest
+    ResourceReceiveResponse
+    ResourceReceivedData
+    ResourceFinish
+EventDispatch
+    FunctionCall
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinereceiveresponseeventhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinereceiveresponseeventhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-receive-response-event.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-receive-response-event.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-receive-response-event.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-receive-response-event.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,77 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    var image = new Image();
+    image.onload = bar;
+    image.src = &quot;resources/anImage.png&quot;;
+
+    function bar() {
+        var image = new Image();
+        image.onload = function() { testRunner.evaluateInWebInspector(0, &quot;window.step2()&quot;); }
+        image.src = &quot;resources/anotherImage.png&quot;;
+    }
+}
+
+function test()
+{
+    WebInspector.showPanel(&quot;timeline&quot;);
+    WebInspector.panels.timeline._model._collectionEnabled = true;
+    WebInspector.panels.timeline._presentationModel.setGlueRecords(true);
+    WebInspector.panels.timeline._model._collectionEnabled = true;
+
+    TimelineAgent.start(step1);
+
+    function step1()
+    {
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+    }
+
+    window.step2 = function()
+    {
+        TimelineAgent.stop(step3);
+    }
+
+    function step3()
+    {
+        function dumpFormattedRecord(record, prefix)
+        {
+             prefix = prefix || &quot;&quot;;
+             // Here and below: pretend coalesced record are just not there, as coalescation is time dependent and, hence, not stable.
+             if (!record.coalesced &amp;&amp; record.type !== &quot;GCEvent&quot;)
+                 InspectorTest.addResult(prefix + record.type);
+             // Ignore stray paint &amp; rendering events for better stability.
+             if (record.category.name !== &quot;loading&quot; &amp;&amp; record.category.name !== &quot;scripting&quot;)
+                 return;
+             if (record._children) {
+                 var childPrefix = prefix + (record.coalesced ? &quot;&quot; : &quot;    &quot;);
+                 for (var i = 0; i &lt; record._children.length; ++i)
+                     dumpFormattedRecord(record._children[i], childPrefix);
+             }
+        }
+        WebInspector.panels.timeline._model._collectionEnabled = false;
+
+        var records = WebInspector.panels.timeline._rootRecord().children;
+        for (var i = 0; i &lt; records.length; ++i)
+            dumpFormattedRecord(records[i]);
+        InspectorTest.completeTest();
+    }
+}
+
+if (!window.testRunner)
+    setTimeout(performActions, 3000);
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a SendRequest, ReceiveResponse etc.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag1expectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinescripttag1expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-1-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-script-tag-1-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-1-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-1-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,24 @@
</span><ins>+CONSOLE MESSAGE: line 8: iframe loaded
+Tests the Timeline API instrumentation of an HTML script tag.
+
+
+ParseHTML
+ParseHTML
+----&gt; EvaluateScript
+--------&gt; TimeStamp : SCRIPT TAG
+EvaluateScript Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        lineNumber : &lt;number&gt;
+        url : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;EvaluateScript&quot;
+    usedHeapSize : &lt;number&gt;
+}
+ParseHTML
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag1htmlfromrev164517trunkLayoutTestsinspectortimelinetimelinescripttag1html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-1.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-script-tag-1.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-1.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-1.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,58 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    var iframe = document.createElement(&quot;iframe&quot;);
+    iframe.src = &quot;resources/timeline-iframe-data.html&quot;;
+    document.body.appendChild(iframe);
+}
+
+function test() 
+{
+    InspectorTest.startTimeline(step1);
+    function step1()
+    {
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+    }
+
+    function step2()
+    {
+        InspectorTest.stopTimeline(step3);
+    }
+
+    function step3()
+    {
+        function format(record)
+        {
+            if (record.type === WebInspector.TimelineModel.RecordType.EvaluateScript)
+                InspectorTest.printTimelineRecordProperties(record);
+            else if (record.type === WebInspector.TimelineModel.RecordType.ParseHTML) {
+                var children = [];
+                for (var i = 0; i &lt; record.children.length; ++i) {
+                    if (record.children[i].type !== WebInspector.TimelineModel.RecordType.RecalculateStyles)
+                        children.push(record.children[i]);
+                }
+                record.children = children;
+                InspectorTest.dumpTimelineRecord(record);
+            }
+        }
+        InspectorTest.printTimelineRecords(null, format);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of an HTML script tag.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag2expectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinescripttag2expectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-script-tag-2-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+CONSOLE MESSAGE: line 1: SCRIPT TAG
+Tests the Timeline API instrumentation of a script tag with an external script.
+
+EvaluateScript Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        lineNumber : &lt;number&gt;
+        url : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;EvaluateScript&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag2htmlfromrev164517trunkLayoutTestsinspectortimelinetimelinescripttag2html"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,44 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    var script = document.createElement(&quot;script&quot;);
+    script.src = &quot;timeline-script-tag-2.js&quot;;
+    document.body.appendChild(script);
+}
+
+function test() 
+{
+    InspectorTest.startTimeline(step1);
+    function step1()
+    {
+        InspectorTest.addConsoleSniffer(step2);
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+    }
+
+    function step2()
+    {
+        InspectorTest.stopTimeline(step3);
+    }
+
+    function step3()
+    {
+        InspectorTest.printTimelineRecords(&quot;EvaluateScript&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a script tag with an external script.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinescripttag2jsfromrev164517trunkLayoutTestsinspectortimelinetimelinescripttag2js"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2.js (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-script-tag-2.js) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2.js                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-script-tag-2.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+console.log(&quot;SCRIPT TAG&quot;);
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinestarttimeexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinestarttimeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-start-time-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-start-time-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-start-time-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-start-time-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Tests sanity of timeline timestamps.
+
+done
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinestarttimehtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinestarttimehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-start-time.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-start-time.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-start-time.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-start-time.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,39 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    console.timeStamp(&quot;time is an illusion&quot;);
+}
+
+function test()
+{
+    var beforeStart = Date.now();
+    InspectorTest.startTimeline();
+    InspectorTest.waitForRecordType(&quot;TimeStamp&quot;, onTimeStamp);
+    InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+
+    function onTimeStamp(record)
+    {
+        var now = Date.now();
+        var eventTime = record.startTime;
+        InspectorTest.assertGreaterOrEqual(eventTime, beforeStart, &quot;event time should be after timeline start time&quot;);
+        InspectorTest.assertGreaterOrEqual(now, Math.floor(eventTime), &quot;event time should be before now&quot;);
+        InspectorTest.addResult(&quot;done&quot;);
+        InspectorTest.stopTimeline(InspectorTest.completeTest.bind(InspectorTest));
+    }
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests sanity of timeline timestamps.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetimeexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinetimeexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-time-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+Test time/timeEnd nesting (Bug 100936)
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetimestampexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinetimestampexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-stamp-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-time-stamp-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-stamp-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-stamp-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,28 @@
</span><ins>+Tests the Timeline API timeStamp feature
+
+TimeStamp Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        message : &quot;TIME STAMP&quot;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;TimeStamp&quot;
+    usedHeapSize : &lt;number&gt;
+}
+Timestamp records: 
+TimeStamp Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        message : &quot;TIME STAMP&quot;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;TimeStamp&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetimestamphtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinetimestamphtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-stamp.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-time-stamp.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-stamp.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-time-stamp.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,26 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    console.timeStamp(&quot;TIME STAMP&quot;);
+}
+
+function test()
+{
+    InspectorTest.performActionsAndPrint(&quot;performActions()&quot;, &quot;TimeStamp&quot;, true);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API timeStamp feature
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetimehtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinetimehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-time.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-time.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-time.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-time.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,85 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    WebInspector.showPanel(&quot;timeline&quot;);
+
+    var data = [&quot;Version&quot;,
+        {&quot;startTime&quot;:13,&quot;data&quot;:{},&quot;endTime&quot;:19,&quot;type&quot;:&quot;Program&quot;,&quot;children&quot;:[
+            {&quot;startTime&quot;:14,&quot;data&quot;:{&quot;type&quot;:&quot;click&quot;},&quot;endTime&quot;:18,&quot;type&quot;:&quot;EventDispatch&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
+                {&quot;startTime&quot;:15,&quot;data&quot;:{&quot;scriptName&quot;:&quot;foo.html&quot;,&quot;scriptLine&quot;:7},&quot;endTime&quot;:17,&quot;type&quot;:&quot;FunctionCall&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
+                    {&quot;startTime&quot;:16,&quot;data&quot;:{&quot;message&quot;:&quot;hello&quot;},&quot;type&quot;:&quot;Time&quot;,&quot;frameId&quot;:&quot;2&quot;}
+                ]}
+            ]}
+        ]},
+        {&quot;startTime&quot;:25,&quot;data&quot;:{},&quot;endTime&quot;:35,&quot;type&quot;:&quot;Program&quot;,&quot;children&quot;:[
+            {&quot;startTime&quot;:26,&quot;data&quot;:{&quot;type&quot;:&quot;click&quot;},&quot;endTime&quot;:34,&quot;type&quot;:&quot;EventDispatch&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
+                {&quot;startTime&quot;:27,&quot;data&quot;:{&quot;scriptName&quot;:&quot;foo.html&quot;,&quot;scriptLine&quot;:15},&quot;endTime&quot;:33,&quot;type&quot;:&quot;FunctionCall&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
+                    {&quot;startTime&quot;:28,&quot;data&quot;:{&quot;message&quot;:&quot;boom&quot;},&quot;type&quot;:&quot;Time&quot;,&quot;frameId&quot;:&quot;2&quot;},
+                    {&quot;startTime&quot;:29,&quot;data&quot;:{},&quot;type&quot;:&quot;ScheduleStyleRecalculation&quot;,&quot;frameId&quot;:&quot;2&quot;},
+                    {&quot;startTime&quot;:30,&quot;data&quot;:{},&quot;children&quot;:[],&quot;endTime&quot;:31,&quot;type&quot;:&quot;RecalculateStyles&quot;,&quot;frameId&quot;:&quot;2&quot;},
+                    {&quot;startTime&quot;:32,&quot;data&quot;:{&quot;message&quot;:&quot;boom&quot;},&quot;type&quot;:&quot;TimeEnd&quot;,&quot;frameId&quot;:&quot;2&quot;}
+                ]}
+            ]}
+        ]},
+        {&quot;startTime&quot;:41,&quot;data&quot;:{},&quot;endTime&quot;:47,&quot;type&quot;:&quot;Program&quot;,&quot;children&quot;:[
+            {&quot;startTime&quot;:42,&quot;data&quot;:{&quot;type&quot;:&quot;click&quot;},&quot;endTime&quot;:46,&quot;type&quot;:&quot;EventDispatch&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
+                {&quot;startTime&quot;:43,&quot;data&quot;:{&quot;scriptName&quot;:&quot;foo.html&quot;,&quot;scriptLine&quot;:11},&quot;endTime&quot;:45,&quot;type&quot;:&quot;FunctionCall&quot;,&quot;frameId&quot;:&quot;2&quot;,&quot;children&quot;:[
+                    {&quot;startTime&quot;:44,&quot;data&quot;:{&quot;message&quot;:&quot;hello&quot;},&quot;type&quot;:&quot;TimeEnd&quot;,&quot;frameId&quot;:&quot;2&quot;}
+                ]}
+            ]}
+        ]}
+    ];
+
+    var input = JSON.stringify(data);
+    var model = WebInspector.panels.timeline._model;
+    var presentationModel = WebInspector.panels.timeline._presentationModel;
+    presentationModel.setGlueRecords(true);
+
+    function createFileReader(file, delegate)
+    {
+        return new InspectorTest.FakeFileReader(input, delegate, onDataLoaded);
+    }
+
+    function onDataLoaded()
+    {
+        var root = presentationModel.rootRecord();
+        InspectorTest.assertEquals(4, root.children.length);
+
+        var time1 = root.children[1];
+        InspectorTest.assertEquals(&quot;Time&quot;, time1.type);
+        InspectorTest.assertEquals(2, time1.children.length);
+        var timeEnd1 = time1.children[1];
+        InspectorTest.assertEquals(&quot;TimeEnd&quot;, timeEnd1.type);
+        InspectorTest.assertEquals(time1, timeEnd1.timeRecord);
+        InspectorTest.assertEquals(timeEnd1, time1.timeEndRecord);
+
+        var time2 = time1.children[0];
+        InspectorTest.assertEquals(&quot;Time&quot;, time2.type);
+        InspectorTest.assertEquals(1, time2.children.length);
+        var timeEnd2 = time2.children[0];
+        InspectorTest.assertEquals(&quot;TimeEnd&quot;, timeEnd2.type);
+        InspectorTest.assertEquals(time2, timeEnd2.timeRecord);
+        InspectorTest.assertEquals(timeEnd2, time2.timeEndRecord);
+
+        InspectorTest.completeTest();
+    }
+
+    InspectorTest.override(model, &quot;_createFileReader&quot;, createFileReader);
+    model.loadFromFile({}, new WebInspector.Progress());
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Test time/timeEnd nesting &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=100936&quot;&gt;(Bug 100936)&lt;/a&gt;
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetimerexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinetimerexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-timer-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,152 @@
</span><ins>+Tests the Timeline events for Timers
+
+TimerInstall Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        singleShot : true
+        timeout : 10
+        timerId : &lt;number&gt;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;TimerInstall&quot;
+    usedHeapSize : &lt;number&gt;
+}
+TimerInstall Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        singleShot : false
+        timeout : 20
+        timerId : &lt;number&gt;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;TimerInstall&quot;
+    usedHeapSize : &lt;number&gt;
+}
+TimerFire Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        timerId : &lt;number&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;TimerFire&quot;
+    usedHeapSize : &lt;number&gt;
+}
+TimerFire Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        timerId : &lt;number&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;TimerFire&quot;
+    usedHeapSize : &lt;number&gt;
+}
+TimerFire Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        timerId : &lt;number&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;TimerFire&quot;
+    usedHeapSize : &lt;number&gt;
+}
+TimerRemove Properties:
+{
+    counters : &lt;object&gt;
+    data : {
+        timerId : &lt;number&gt;
+    }
+    frameId : &lt;string&gt;
+    stackTrace : &lt;object&gt;
+    startTime : &lt;number&gt;
+    type : &quot;TimerRemove&quot;
+    usedHeapSize : &lt;number&gt;
+}
+FunctionCall Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        scriptLine : &lt;number&gt;
+        scriptName : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;FunctionCall&quot;
+    usedHeapSize : &lt;number&gt;
+}
+FunctionCall Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        scriptLine : &lt;number&gt;
+        scriptName : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;FunctionCall&quot;
+    usedHeapSize : &lt;number&gt;
+}
+FunctionCall Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        scriptLine : &lt;number&gt;
+        scriptName : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;FunctionCall&quot;
+    usedHeapSize : &lt;number&gt;
+}
+FunctionCall Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        scriptLine : &lt;number&gt;
+        scriptName : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;FunctionCall&quot;
+    usedHeapSize : &lt;number&gt;
+}
+EvaluateScript Properties:
+{
+    children : &lt;object&gt;
+    counters : &lt;object&gt;
+    data : {
+        lineNumber : &lt;number&gt;
+        url : &lt;string&gt;
+    }
+    endTime : &lt;number&gt;
+    frameId : &lt;string&gt;
+    startTime : &lt;number&gt;
+    type : &quot;EvaluateScript&quot;
+    usedHeapSize : &lt;number&gt;
+}
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetimerfiredfromevalcallsiteexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinetimerfiredfromevalcallsiteexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-fired-from-eval-call-site-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-fired-from-eval-call-site-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-fired-from-eval-call-site-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,5 @@
</span><ins>+Tests the Timeline API instrumentation of a TimerFired events inside evaluated scripts.
+
+TimerFire :2
+TimerFire :1
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetimerfiredfromevalcallsitehtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinetimerfiredfromevalcallsitehtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-fired-from-eval-call-site.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-timer-fired-from-eval-call-site.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-fired-from-eval-call-site.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer-fired-from-eval-call-site.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,57 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    var content = &quot;&quot; + 
+        &quot;var fn2 = function() {console.timeStamp(\&quot;Script evaluated\&quot;);};\\n&quot; +
+        &quot;var fn1 = function() {window.setTimeout(fn2, 1);};\\n&quot; +
+        &quot;window.setTimeout(fn1, 1);\\n&quot;
+    content = &quot;eval('&quot; + content + &quot;//@ sourceURL=fromEval.js&quot; + &quot;');&quot;;
+    var scriptElement = document.createElement('script');
+    var contentNode = document.createTextNode(content);
+    scriptElement.appendChild(contentNode);
+    document.body.appendChild(scriptElement);
+    document.body.removeChild(scriptElement);
+}
+
+function test()
+{
+    InspectorTest.startTimeline(start);
+    InspectorTest.waitForRecordType(&quot;TimeStamp&quot;, finish);
+
+    function start()
+    {
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+    }
+
+    function finish()
+    {
+        function formatter(record)
+        {
+            if (record.type === &quot;TimerFire&quot;) {
+                var fnCallSite = record.children[0].data;
+                InspectorTest.addResult(record.type + &quot; &quot; + fnCallSite.scriptName + &quot;:&quot; + fnCallSite.scriptLine);
+            }
+        }
+        InspectorTest.printTimelineRecords(null, formatter);
+        InspectorTest.completeTest();
+    }
+}
+
+if (!window.testRunner)
+    setTimeout(performActions, 3000);
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline API instrumentation of a TimerFired events inside evaluated scripts.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetimerhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinetimerhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-timer.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-timer.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,51 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function performActions()
+{
+    var timerOne = setTimeout(&quot;1 + 1&quot;, 10);
+    var timerTwo = setInterval(intervalTimerWork, 20);
+    var iteration = 0;
+
+    function intervalTimerWork()
+    {
+        if (++iteration &lt; 2)
+            return;
+        clearInterval(timerTwo);
+    }
+}
+
+function test()
+{
+    InspectorTest.startTimeline(function() {
+        InspectorTest.evaluateInPage(&quot;performActions()&quot;);
+    });
+
+    InspectorTest.waitForRecordType(&quot;TimerRemove&quot;, finish);
+
+    function finish()
+    {
+        InspectorTest.printTimelineRecords(&quot;TimerInstall&quot;);
+        InspectorTest.printTimelineRecords(&quot;TimerFire&quot;);
+        InspectorTest.printTimelineRecords(&quot;TimerRemove&quot;);
+        InspectorTest.printTimelineRecords(&quot;FunctionCall&quot;);
+        InspectorTest.printTimelineRecords(&quot;EvaluateScript&quot;);
+        InspectorTest.completeTest();
+    }
+}
+
+if (!window.testRunner)
+    setTimeout(performActions, 2000);
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+Tests the Timeline events for Timers
+&lt;/p&gt;
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetrivialexpectedtxtfromrev164517trunkLayoutTestsinspectortimelinetimelinetrivialexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-trivial-expected.txt (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-trivial-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-trivial-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-trivial-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,4 @@
</span><ins>+Trivial use of inspector frontend tests
+
+Timeline started
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoletetimelinetimelinetrivialhtmlfromrev164517trunkLayoutTestsinspectortimelinetimelinetrivialhtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/timeline/timeline-trivial.html (from rev 164517, trunk/LayoutTests/inspector/timeline/timeline-trivial.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/timeline/timeline-trivial.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/timeline/timeline-trivial.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,27 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script src=&quot;../../http/tests/inspector/timeline-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test() {
+    /* This test seems silly, but originally it tickled bug 31080 */
+    function callback()
+    {
+        InspectorTest.addResult(&quot;Timeline started&quot;);
+        InspectorTest.completeTest();
+    }
+    InspectorTest.startTimeline(callback);
+}
+
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt; 
+Trivial use of inspector frontend tests
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteutilitiesexpectedtxtfromrev164517trunkLayoutTestsinspectorutilitiesexpectedtxt"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/utilities-expected.txt (from rev 164517, trunk/LayoutTests/inspector/utilities-expected.txt) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/utilities-expected.txt                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/utilities-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,32 @@
</span><ins>+This test checks Web Inspector utilities.
+
+
+Running: binaryIndexOfTest
+
+Running: lowerBoundTest
+
+Running: upperBoundTest
+
+
+Running: qselectTest
+Array: []
+Reference: {}
+Actual:    {}
+Array: [0]
+Reference: {&quot;min&quot;:0,&quot;median&quot;:0,&quot;max&quot;:0}
+Actual:    {&quot;min&quot;:0,&quot;median&quot;:0,&quot;max&quot;:0}
+Array: [0,0,0,0,0,0,0,0]
+Reference: {&quot;min&quot;:0,&quot;median&quot;:0,&quot;max&quot;:0}
+Actual:    {&quot;min&quot;:0,&quot;median&quot;:0,&quot;max&quot;:0}
+Array: [4,3,2,1]
+Reference: {&quot;min&quot;:1,&quot;median&quot;:3,&quot;max&quot;:4}
+Actual:    {&quot;min&quot;:1,&quot;median&quot;:3,&quot;max&quot;:4}
+Array: [1,2,3,4,5]
+Reference: {&quot;min&quot;:1,&quot;median&quot;:3,&quot;max&quot;:5}
+Actual:    {&quot;min&quot;:1,&quot;median&quot;:3,&quot;max&quot;:5}
+Array: [-1,3,2,7,7,7,10,12,3,4,-1,2]
+Reference: {&quot;min&quot;:-1,&quot;median&quot;:4,&quot;max&quot;:12}
+Actual:    {&quot;min&quot;:-1,&quot;median&quot;:4,&quot;max&quot;:12}
+
+Running: sortRangeTest
+
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorobsoleteutilitieshtmlfromrev164517trunkLayoutTestsinspectorutilitieshtml"></a>
<div class="copfile"><h4>Copied: trunk/LayoutTests/inspector-obsolete/utilities.html (from rev 164517, trunk/LayoutTests/inspector/utilities.html) (0 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-obsolete/utilities.html                                (rev 0)
+++ trunk/LayoutTests/inspector-obsolete/utilities.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -0,0 +1,196 @@
</span><ins>+&lt;html&gt;
+&lt;head&gt;
+&lt;script src=&quot;../http/tests/inspector/inspector-test.js&quot;&gt;&lt;/script&gt;
+&lt;script&gt;
+
+function test()
+{
+    InspectorTest.runTestSuite([
+        function binaryIndexOfTest(next)
+        {
+            var testArrays = [
+                [],
+                [1],
+                [1, 10],
+                [1, 10, 11, 12, 13, 14, 100],
+                [-100, -50, 0, 50, 100],
+                [-100, -14, -13, -12, -11, -10, -1]
+            ];
+     
+            function testArray(array)
+            {
+                function comparator(a, b)
+                {
+                    return a &lt; b ? -1 : (a &gt; b ? 1 : 0);
+                }
+     
+                for (var i = -100; i &lt;= 100; ++i) {
+                    var reference = array.indexOf(i);
+                    var actual = array.binaryIndexOf(i, comparator);
+                    InspectorTest.assertEquals(reference, actual, &quot;binaryIndexOf&quot;);
+                }
+                return true;
+            }
+     
+            for (var i = 0, l = testArrays.length; i &lt; l; ++i)
+                testArray(testArrays[i]);
+            next();
+        },
+        
+        function lowerBoundTest(next)
+        {
+            var testArrays = [
+                [],
+                [1],
+                [-1, -1, 0, 0, 0, 0, 2, 3, 4, 4, 4, 7, 9, 9, 9]
+            ];
+        
+            function testArray(array, useComparator)
+            {
+                function comparator(a, b)
+                {
+                    return a &lt; b ? -1 : (a &gt; b ? 1 : 0);
+                }
+        
+                for (var value = -2; value &lt;= 12; ++value) {
+                    var index = useComparator ? array.lowerBound(value, comparator) : array.lowerBound(value);
+                    InspectorTest.assertTrue(0 &lt;= index &amp;&amp; index &lt;= array.length, &quot;index is within bounds&quot;);
+                    InspectorTest.assertTrue(index === 0 || array[index - 1] &lt; value, &quot;array[index - 1] &lt; value&quot;);
+                    InspectorTest.assertTrue(index === array.length || array[index] &gt;= value, &quot;array[index] &gt;= value&quot;);
+                    
+                }
+            }
+        
+            for (var i = 0, l = testArrays.length; i &lt; l; ++i) {
+                testArray(testArrays[i], false);
+                testArray(testArrays[i], true);
+            }
+            next();
+        },
+        
+        function upperBoundTest(next)
+        {
+            var testArrays = [
+                [],
+                [1],
+                [-1, -1, 0, 0, 0, 0, 2, 3, 4, 4, 4, 7, 9, 9, 9]
+            ];
+        
+            function testArray(array, useComparator)
+            {
+                function comparator(a, b)
+                {
+                    return a &lt; b ? -1 : (a &gt; b ? 1 : 0);
+                }
+        
+                for (var value = -2; value &lt;= 12; ++value) {
+                    var index = useComparator ? array.upperBound(value, comparator) : array.upperBound(value);
+                    InspectorTest.assertTrue(0 &lt;= index &amp;&amp; index &lt;= array.length, &quot;index is within bounds&quot;);
+                    InspectorTest.assertTrue(index === 0 || array[index - 1] &lt;= value, &quot;array[index - 1] &lt;= value&quot;);
+                    InspectorTest.assertTrue(index === array.length || array[index] &gt; value, &quot;array[index] &gt; value&quot;);
+                }
+            }
+        
+            for (var i = 0, l = testArrays.length; i &lt; l; ++i) {
+                testArray(testArrays[i], false);
+                testArray(testArrays[i], true);
+            }
+            next();
+        },
+        
+
+        function qselectTest(next)
+        {
+            var testArrays = [
+                [],
+                [0],
+                [0, 0, 0, 0, 0, 0, 0, 0],
+                [4, 3, 2, 1],
+                [1, 2, 3, 4, 5],
+                [-1, 3, 2, 7, 7, 7, 10, 12, 3, 4, -1, 2]
+            ];
+
+            function testArray(array)
+            {
+                function compare(a, b)
+                {
+                    return a - b;
+                }
+                var sorted = array.slice(0).sort(compare);
+
+                var reference = {
+                    min: sorted[0],
+                    median: sorted[Math.floor(sorted.length / 2)],
+                    max: sorted[sorted.length - 1]
+                };
+
+                var actual = {
+                    min: array.slice(0).qselect(0),
+                    median: array.slice(0).qselect(Math.floor(array.length / 2)),
+                    max: array.slice(0).qselect(array.length - 1)
+                };
+                InspectorTest.addResult(&quot;Array: &quot; + JSON.stringify(array));
+                InspectorTest.addResult(&quot;Reference: &quot; + JSON.stringify(reference));
+                InspectorTest.addResult(&quot;Actual:    &quot; + JSON.stringify(actual));
+            }
+            for (var i = 0, l = testArrays.length; i &lt; l; ++i)
+                testArray(testArrays[i]);
+            next();
+        },
+
+        function sortRangeTest(next)
+        {
+            var testArrays = [
+                [],
+                [1],
+                [2, 1],
+                [6, 4, 2, 7, 10, 15, 1],
+                [10, 44, 3, 6, 56, 66, 10, 55, 32, 56, 2, 5]
+            ];
+
+            function testArray(array)
+            {
+                function comparator(a, b)
+                {
+                    return a &lt; b ? -1 : (a &gt; b ? 1 : 0);
+                }
+
+                function compareArrays(a, b, message)
+                {
+                    InspectorTest.assertEquals(JSON.stringify(a), JSON.stringify(b), message);
+                }
+
+                for (var left = 0, l = array.length - 1; left &lt; l; ++left) {
+                     for (var right = left + 1, r = array.length; right &lt; r; ++right)
+                          for (var count = 1, k = right - left + 1; count &lt;= k; ++count) {
+                              var actual = array.slice(0);
+                              actual.sortRange(comparator, left, right, count);
+                              compareArrays(array.slice(0, left), actual.slice(0, left), &quot;left &quot; + left + &quot; &quot; + right + &quot; &quot; + count);
+                              compareArrays(array.slice(right + 1), actual.slice(right + 1), &quot;right &quot; + left + &quot; &quot; + right + &quot; &quot; + count);
+                              var middle = array.slice(left, right + 1);
+                              middle.sort(comparator);
+                              compareArrays(middle.slice(0, count), actual.slice(left, left + count), &quot;sorted &quot; + left + &quot; &quot; + right + &quot; &quot; + count);
+                              actualRest = actual.slice(left + count, right + 1);
+                              actualRest.sort(comparator);
+                              compareArrays(middle.slice(count), actualRest, &quot;unsorted &quot; + left + &quot; &quot; + right + &quot; &quot; + count);
+                          }
+                }
+            }
+
+            for (var i = 0, len = testArrays.length; i &lt; len; ++i)
+                testArray(testArrays[i]);
+            next();
+        }
+    ]);
+}
+
+&lt;/script&gt;
+&lt;/head&gt;
+
+&lt;body onload=&quot;runTest()&quot;&gt;
+&lt;p&gt;
+This test checks Web Inspector utilities.
+&lt;/p&gt;
+
+&lt;/body&gt;
+&lt;/html&gt;
</ins></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolheapprofilerheapsnapshotwithdetacheddomtreeexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-Test that all nodes from the detached DOM tree will get into one group in the heap snapshot. Bug 107819.
-
- SUCCESS: found (Detached DOM trees)
-SUCCESS: found Detached DOM tree / 4 entries
-SUCCESS: found 3 DIVs in Detached DOM tree / 4 entries
-SUCCESS: didGetHeapSnapshot
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolheapprofilerheapsnapshotwithdetacheddomtreehtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,78 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script type=&quot;text/javascript&quot; src=&quot;../../http/tests/inspector-protocol/resources/protocol-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function createDetachedDomTreeAndRunTest()
-{
-    window.retaining_wrapper = document.createElement(&quot;div&quot;);
-    var t = document.createElement(&quot;div&quot;);
-    retaining_wrapper.appendChild(t);
-    t.appendChild(document.createElement(&quot;div&quot;));
-
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.importScript(&quot;../../../../inspector-protocol/heap-profiler/resources/heap-snapshot-common.js&quot;);
-
-    function checkHeapSnapshot(snapshot) {
-        var node;
-        for (var it = snapshot._allNodes(); it.hasNext(); it.next()) {
-            if (it.node.name() === &quot;(Detached DOM trees)&quot;) {
-                node = it.node;
-                break;
-            }
-        }
-        if (node)
-            InspectorTest.log(&quot;SUCCESS: found &quot; + node.name());
-        else
-            return fail(&quot;cannot find detached DOM trees root&quot;);
-
-        var detachedDOMTreeRE = /^Detached DOM tree/;
-        var detachedDomTreeFound = false;
-        for (var iter = node.edges(); iter.hasNext(); iter.next()) {
-            var node = iter.edge.node();
-            if (detachedDOMTreeRE.test(node.className())) {
-                if (&quot;Detached DOM tree / 4 entries&quot; === node.name()) {
-                    if (detachedDomTreeFound)
-                        return fail(&quot;second &quot; + node.name());
-                    detachedDomTreeFound = true;
-                    InspectorTest.log(&quot;SUCCESS: found &quot; + node.name());
-                    checkDetachedDOMTreeNodes(node);
-                } else
-                    return fail(&quot;unexpected detached DOM tree: &quot; + node.name());
-            }
-        }
-    }
-
-    function checkDetachedDOMTreeNodes(treeNode)
-    {
-        var divCount = 0;
-        for (var iter = treeNode.edges(); iter.hasNext(); iter.next()) {
-            var node = iter.edge.node();
-            if (node.name() === &quot;HTMLDivElement&quot;)
-                ++divCount;
-            else
-                return fail(&quot;unexpected DOM wrapper: &quot; + node.name());
-        }
-        if (divCount === 3)
-            InspectorTest.log(&quot;SUCCESS: found &quot; + divCount + &quot; DIVs in &quot; + treeNode.name());
-        else
-            return fail(&quot;unexpected DIV count: &quot; + divCount);
-
-    }
-
-    function fail(message) {
-        InspectorTest.log(&quot;FAIL: &quot; + message);
-        InspectorTest.completeTest();
-    }
-
-    InspectorTest.takeHeapSnapshot(checkHeapSnapshot);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;createDetachedDomTreeAndRunTest()&quot;&gt;
-&lt;p&gt;Test that all nodes from the detached DOM tree will get into one group in the heap snapshot. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=107819&quot;&gt;Bug 107819.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolheapprofilerheapsnapshotwitheventlistenerexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,6 +0,0 @@
</span><del>-Test that all nodes from the detached DOM tree will get into one group in the heap snapshot. Bug 107819.
-
- SUCCESS: found myEventListener
-SUCCESS: found link from HTMLBodyElement to HTMLBodyElement
-SUCCESS: didGetHeapSnapshot
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolheapprofilerheapsnapshotwitheventlistenerhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,65 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script type=&quot;text/javascript&quot; src=&quot;../../http/tests/inspector-protocol/resources/protocol-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-function addEventListenerAndRunTest()
-{
-    function myEventListener(e) {
-        console.log(&quot;myEventListener&quot;);
-    }
-    document.body.addEventListener(&quot;click&quot;, myEventListener, true);
-
-    runTest();
-}
-
-function test()
-{
-    InspectorTest.importScript(&quot;../../../../inspector-protocol/heap-profiler/resources/heap-snapshot-common.js&quot;);
-
-    function checkHeapSnapshot(snapshot)
-    {
-        var node;
-        for (var it = snapshot._allNodes(); it.hasNext(); it.next()) {
-            if (it.node.type() === &quot;closure&quot; &amp;&amp; it.node.name() === &quot;myEventListener&quot;) {
-                node = it.node;
-                break;
-            }
-        }
-        if (node)
-            InspectorTest.log(&quot;SUCCESS: found &quot; + node.name());
-        else
-            return fail(&quot;cannot find detached DOM trees root&quot;);
-
-        var nativeRetainers = 0;
-        for (var iter = node.retainers(); iter.hasNext(); iter.next()) {
-            var node = iter.retainer.node();
-            var retainingEdge = iter.retainer;
-            if (retainingEdge.isInternal() &amp;&amp; retainingEdge.name() === &quot;native&quot;) {
-                if (++nativeRetainers === 1) {
-                    var retainerName = retainingEdge.node().name();
-                    if (retainerName === &quot;HTMLBodyElement&quot;)
-                        InspectorTest.log(&quot;SUCCESS: found link from HTMLBodyElement to &quot; + node.name());
-                    else
-                        return fail(&quot;unexpected retainer of &quot; + node.name() + &quot;: &quot; + retainerName);
-                } else
-                    return fail(&quot;too many retainers of &quot; + node.name());
-            } else if (!retainingEdge.isWeak())
-                return fail(&quot;unexpected retaining edge of &quot; + node.name() + &quot; type: &quot; + retainingEdge.type() + &quot;, name: &quot; + retainingEdge.name());
-        }
-        if (!nativeRetainers)
-            return fail(&quot;cannot find HTMLBodyElement among retainers of &quot; + node.name());
-    }
-
-    function fail(message) {
-        InspectorTest.log(&quot;FAIL: &quot; + message);
-        InspectorTest.completeTest();
-    }
-
-    InspectorTest.takeHeapSnapshot(checkHeapSnapshot);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body onload=&quot;addEventListenerAndRunTest()&quot;&gt;
-&lt;p&gt;Test that all nodes from the detached DOM tree will get into one group in the heap snapshot. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=107819&quot;&gt;Bug 107819.&lt;/p&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolheapprofilerresourcesheapsnapshotcommonjs"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/resources/heap-snapshot-common.js        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,39 +0,0 @@
</span><del>-// This script is supposed to be evaluated in dummy inspector front-end which is loaded from
-// ../../../http/tests/inspector-protocol/resources/protocol-test.html and the relative paths
-// below are relative to that location.
-
-if (!window.WebInspector)
-    window.WebInspector = {};
-InspectorTest.importScript(&quot;../../../../../Source/WebCore/inspector/front-end/HeapSnapshot.js&quot;);
-InspectorTest.importScript(&quot;../../../../../Source/WebCore/inspector/front-end/JSHeapSnapshot.js&quot;);
-
-InspectorTest.takeHeapSnapshot = function(callback)
-{
-    InspectorTest.eventHandler[&quot;HeapProfiler.addProfileHeader&quot;] = function(messageObject)
-    {
-        var profileId = messageObject[&quot;params&quot;][&quot;header&quot;][&quot;uid&quot;];
-        InspectorTest.sendCommand(&quot;HeapProfiler.getHeapSnapshot&quot;, { &quot;uid&quot;: profileId }, didGetHeapSnapshot);
-
-        function didGetHeapSnapshot(messageObject)
-        {
-            InspectorTest.log(&quot;SUCCESS: didGetHeapSnapshot&quot;);
-            InspectorTest.completeTest();
-        }
-    }
-
-    var chunks = [];
-    InspectorTest.eventHandler[&quot;HeapProfiler.addHeapSnapshotChunk&quot;] = function(messageObject)
-    {
-        chunks.push(messageObject[&quot;params&quot;][&quot;chunk&quot;]);
-    }
-
-    InspectorTest.eventHandler[&quot;HeapProfiler.finishHeapSnapshot&quot;] = function(messageObject)
-    {
-        var serializedSnapshot = chunks.join(&quot;&quot;);
-        var parsed = JSON.parse(serializedSnapshot);
-        var snapshot = new WebInspector.JSHeapSnapshot(parsed);
-        callback(snapshot);
-    }
-
-    InspectorTest.sendCommand(&quot;HeapProfiler.takeHeapSnapshot&quot;, {});
-}
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolheapprofilerresourcespagewithfunctionhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector-protocol/heap-profiler/resources/page-with-function.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/heap-profiler/resources/page-with-function.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/resources/page-with-function.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-&lt;script&gt;
-function foo()
-{
-    alert(document.URL);
-}
-&lt;/script&gt;
-&lt;div&gt;resource.html&lt;/div&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolheapprofilertakeheapsnapshotexpectedtxt"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot-expected.txt        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,5 +0,0 @@
</span><del>-Test that heap profiler doesn't crash while taking snapshot on a page where iframe was navigated to a new location after storing a hold of a function from the previous page. Bug 103076.
-

-SUCCESS: didTakeHeapSnapshot
-
</del></span></pre></div>
<a id="trunkLayoutTestsinspectorprotocolheapprofilertakeheapsnapshothtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/inspector-protocol/heap-profiler/take-heap-snapshot.html        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1,35 +0,0 @@
</span><del>-&lt;html&gt;
-&lt;head&gt;
-&lt;script type=&quot;text/javascript&quot; src=&quot;../../http/tests/inspector-protocol/resources/protocol-test.js&quot;&gt;&lt;/script&gt;
-&lt;script&gt;
-var fooRef;
-function storeFunctionRefAndNavigateIFrame()
-{
-    var frame = document.getElementById(&quot;myframe&quot;);
-    fooRef = frame.contentWindow.foo;
-    frame.src = &quot;about:blank&quot;;
-    frame.onload = didNavigate;
-}
-
-function didNavigate()
-{
-    runTest();
-}
-function test()
-{
-    function didTakeHeapSnapshot(messageObject)
-    {
-        InspectorTest.log(&quot;SUCCESS: didTakeHeapSnapshot&quot;);
-        InspectorTest.completeTest();
-    }
-
-    InspectorTest.sendCommand(&quot;Profiler.takeHeapSnapshot&quot;, { &quot;reportProgress&quot;: false }, didTakeHeapSnapshot);
-}
-&lt;/script&gt;
-&lt;/head&gt;
-&lt;body&gt;
-&lt;p&gt;Test that heap profiler doesn't crash while taking snapshot on a page where iframe was navigated to a new location after
-storing a hold of a function from the previous page. &lt;a href=&quot;https://bugs.webkit.org/show_bug.cgi?id=103076&quot;&gt;Bug 103076.&lt;/p&gt;
-&lt;iframe id=&quot;myframe&quot; src=&quot;resources/page-with-function.html&quot; onload=&quot;storeFunctionRefAndNavigateIFrame()&quot;&gt;&lt;/iframe&gt;
-&lt;/body&gt;
-&lt;/html&gt;
</del></span></pre></div>
<a id="trunkLayoutTestsplatformeflTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/efl/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/efl/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/platform/efl/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -239,11 +239,6 @@
</span><span class="cx"> http/tests/xmlhttprequest/logout.html
</span><span class="cx"> http/tests/xmlhttprequest/redirect-cross-origin-tripmine.html
</span><span class="cx"> 
</span><del>-# Skipping the tests for the old inspector UI
-webkit.org/b/121096 inspector [ Skip ]
-http/tests/inspector [ Skip ]
-http/tests/inspector-enabled [ Skip ]
-
</del><span class="cx"> # There are no expected result set yet.
</span><span class="cx"> fast/dom/rtl-scroll-to-leftmost-and-resize.html
</span><span class="cx"> 
</span><span class="lines">@@ -265,7 +260,6 @@
</span><span class="cx"> 
</span><span class="cx"> # IndexedDB is on refactoring/refreshing, so the tests are quite unstable at this point.
</span><span class="cx"> webkit.org/b/87661 storage/indexeddb [ Skip ]
</span><del>-webkit.org/b/87661 http/tests/inspector/indexeddb [ Skip ]
</del><span class="cx"> webkit.org/b/87661 http/tests/security/cross-origin-indexeddb-allowed.html [ Skip ]
</span><span class="cx"> webkit.org/b/87661 http/tests/security/cross-origin-indexeddb.html [ Skip ]
</span><span class="cx"> webkit.org/b/87661 http/tests/security/cross-origin-worker-indexeddb-allowed.html [ Skip ]
</span><span class="lines">@@ -1247,9 +1241,6 @@
</span><span class="cx"> webkit.org/b/61799 canvas/philip/tests/2d.text.draw.space.collapse.start.html [ Failure ]
</span><span class="cx"> webkit.org/b/61799 canvas/philip/tests/2d.text.measure.width.space.html [ Failure ]
</span><span class="cx"> 
</span><del>-# JSC doesn't support heap profiling
-webkit.org/b/50485 inspector-protocol/heap-profiler [ Skip ]
-
</del><span class="cx"> webkit.org/b/93976 fast/css-generated-content/quotes-lang.html [ ImageOnlyFailure ]
</span><span class="cx"> 
</span><span class="cx"> # This has always failed on Gtk/Efl - exposed by bug 89826
</span></span></pre></div>
<a id="trunkLayoutTestsplatformgtkTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/gtk/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/gtk/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/platform/gtk/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -1050,12 +1050,6 @@
</span><span class="cx"> # Need to add functionality to DumpRenderTree to handle scrollbar policy changes
</span><span class="cx"> Bug(GTK) fast/overflow/scrollbar-restored-and-then-locked.html [ Failure ]
</span><span class="cx"> 
</span><del>-# Skipping the tests for the old inspector UI
-webkit.org/b/83174 inspector [ Skip ]
-webkit.org/b/83174 inspector-protocol/heap-profiler [ Skip ]
-webkit.org/b/83174 http/tests/inspector [ Skip ]
-webkit.org/b/83174 http/tests/inspector-enabled [ Skip ]
-
</del><span class="cx"> webkit.org/b/37613 webkit.org/b/20011 printing [ Skip ]
</span><span class="cx"> webkit.org/b/37613 editing/execCommand/print.html [ Skip ]
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/platform/mac/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -219,15 +219,6 @@
</span><span class="cx"> webkit.org/b/113598 animations/animation-delay-changed.html [ Pass Failure ]
</span><span class="cx"> webkit.org/b/113599 svg/animations/reinserting-svg-into-document.html [ Pass Failure ]
</span><span class="cx"> 
</span><del>-# Skipping the tests for the old inspector UI
-inspector [ Skip ]
-http/tests/inspector [ Skip ]
-http/tests/inspector-enabled [ Skip ]
-
-# JSC doesn't support heap profiling
-# https://bugs.webkit.org/show_bug.cgi?id=50485
-webkit.org/b/50485 inspector-protocol/heap-profiler [ Skip ]
-
</del><span class="cx"> # Flakey notification test.
</span><span class="cx"> webkit.org/b/112499 http/tests/notifications/window-show-on-click.html [ Pass Failure ]
</span><span class="cx"> webkit.org/b/112499 http/tests/notifications/legacy/window-show-on-click.html [ Pass Failure ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/platform/mac-wk2/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -186,11 +186,6 @@
</span><span class="cx"> # https://bugs.webkit.org/show_bug.cgi?id=82061 rdar://problem/11108649
</span><span class="cx"> http/tests/appcache
</span><span class="cx"> 
</span><del>-# Skipping the tests for the old inspector UI
-inspector [ Skip ]
-http/tests/inspector [ Skip ]
-http/tests/inspector-enabled [ Skip ]
-
</del><span class="cx"> # flaky storage tests
</span><span class="cx"> # https://bugs.webkit.org/show_bug.cgi?id=82679
</span><span class="cx"> storage/websql/statement-success-callback-isolated-world.html
</span><span class="lines">@@ -637,7 +632,6 @@
</span><span class="cx"> [ Mavericks ] http/tests/security/cross-origin-plugin-private-browsing-toggled.html [ Skip ]
</span><span class="cx"> [ Mavericks ] http/tests/security/storage-blocking-loosened-private-browsing-plugin.html [ Skip ]
</span><span class="cx"> [ Mavericks ] http/tests/security/storage-blocking-strengthened-private-browsing-plugin.html [ Skip ]
</span><del>-[ Mavericks ] inspector/console/clients-ignored-in-privatebrowsing.html [ Skip ]
</del><span class="cx"> [ Mavericks ] plugins/private-browsing-mode-2.html [ Skip ]
</span><span class="cx"> [ Mavericks ] plugins/private-browsing-mode.html [ Skip ]
</span><span class="cx"> [ Mavericks ] storage/domstorage/localstorage/private-browsing-affects-storage.html [ Skip ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwinTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/win/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/platform/win/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -80,11 +80,6 @@
</span><span class="cx"> http/tests/security/cross-frame-access-protocol-explicit-domain.html
</span><span class="cx"> http/tests/security/cross-frame-access-protocol.html
</span><span class="cx"> 
</span><del>-# Skipping the tests for the old inspector UI
-inspector [ Skip ]
-http/tests/inspector [ Skip ]
-http/tests/inspector-enabled [ Skip ]
-
</del><span class="cx"> # The following needs a rebaseline
</span><span class="cx"> webkit.org/b/125754 js/dom/global-constructors-attributes.html [ Failure ]
</span><span class="cx"> 
</span><span class="lines">@@ -1903,9 +1898,6 @@
</span><span class="cx"> webkit.org/b/128979 inspector-protocol/debugger/setBreakpoint-dfg-and-modify-local.html [ Failure ]
</span><span class="cx"> webkit.org/b/128979 inspector-protocol/debugger/setBreakpoint-dfg.html [ Failure ]
</span><span class="cx"> webkit.org/b/100846 inspector-protocol/debugger/terminate-dedicated-worker-while-paused.html [ Failure ]
</span><del>-webkit.org/b/128979 inspector-protocol/heap-profiler/heap-snapshot-with-detached-dom-tree.html [ Failure ]
-webkit.org/b/128979 inspector-protocol/heap-profiler/heap-snapshot-with-event-listener.html [ Failure ]
-webkit.org/b/128979 inspector-protocol/heap-profiler/take-heap-snapshot.html [ Failure ]
</del><span class="cx"> webkit.org/b/128979 inspector-protocol/model/content-node-region-info.html [ Pass Failure ]
</span><span class="cx"> webkit.org/b/128979 [ Debug ] inspector-protocol/dom/getAccessibilityPropertiesForNode.html [ Crash ]
</span><span class="cx"> webkit.org/b/128979 [ Release ] inspector-protocol/dom/getAccessibilityPropertiesForNode.html [ Pass Failure ]
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwinxpTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/win-xp/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/win-xp/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/platform/win-xp/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -36,8 +36,3 @@
</span><span class="cx"> # Fail until SUBPIXEL_LAYOUT is enabled
</span><span class="cx"> # https://bugs.webkit.org/show_bug.cgi?id=85532
</span><span class="cx"> fast/sub-pixel
</span><del>-
-# Skipping the tests for the old inspector UI
-inspector [ Skip ]
-http/tests/inspector [ Skip ]
-http/tests/inspector-enabled [ Skip ]
</del></span></pre></div>
<a id="trunkLayoutTestsplatformwincairoTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/wincairo/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/wincairo/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/platform/wincairo/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -432,11 +432,6 @@
</span><span class="cx"> fonts/sans-serif.html 
</span><span class="cx"> fonts/serif.html 
</span><span class="cx"> 
</span><del>-# Skipping the tests for the old inspector UI
-inspector [ Skip ]
-http/tests/inspector [ Skip ]
-http/tests/inspector-enabled [ Skip ]
-
</del><span class="cx"> loader/go-back-to-different-window-size.html 
</span><span class="cx"> loader/load-defer-resume-crash.html
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsplatformwk2TestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/wk2/TestExpectations (164517 => 164518)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/wk2/TestExpectations        2014-02-22 01:03:51 UTC (rev 164517)
+++ trunk/LayoutTests/platform/wk2/TestExpectations        2014-02-22 01:58:54 UTC (rev 164518)
</span><span class="lines">@@ -60,11 +60,6 @@
</span><span class="cx"> compositing/iframes/iframe-size-from-zero.html
</span><span class="cx"> compositing/iframes/iframe-src-change.html
</span><span class="cx"> 
</span><del>-# Skipping the tests for the old inspector UI
-inspector [ Skip ]
-http/tests/inspector [ Skip ]
-http/tests/inspector-enabled [ Skip ]
-
</del><span class="cx"> # Flakey on Snow Leopard Intel WebKit2 Release Tests
</span><span class="cx"> # https://bugs.webkit.org/show_bug.cgi?id=58183
</span><span class="cx"> editing/execCommand/convert-style-elements-to-spans.html
</span></span></pre>
</div>
</div>

</body>
</html>