| Index: LayoutTests/inspector/elements/elements-panel-search.html
|
| diff --git a/LayoutTests/inspector/elements/elements-panel-search.html b/LayoutTests/inspector/elements/elements-panel-search.html
|
| index 58f8e5622fe292341f596d2e07a6265d2ca121b0..1f4175a0be347e7b01c28b4b31d128cb1a13d705 100644
|
| --- a/LayoutTests/inspector/elements/elements-panel-search.html
|
| +++ b/LayoutTests/inspector/elements/elements-panel-search.html
|
| @@ -1,5 +1,5 @@
|
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
| -<html>
|
| +<html id="documentElement">
|
| <head>
|
| <script src="../../http/tests/inspector/inspector-test.js"></script>
|
| <script>
|
| @@ -14,6 +14,7 @@ function initializeShadowDOM()
|
|
|
| function test()
|
| {
|
| + var omitInnerHTML;
|
|
|
| function searchCallback(next, resultCount)
|
| {
|
| @@ -33,6 +34,8 @@ function test()
|
|
|
| function addSearchResult(isLastItem, error, markupVa_lue)
|
| {
|
| + if (omitInnerHTML)
|
| + markupVa_lue = markupVa_lue.substr(0, markupVa_lue.indexOf(">") + 1);
|
| InspectorTest.addResult(markupVa_lue.split("").join(" "));
|
| if (isLastItem) {
|
| WebInspector.domModel.cancelSearch();
|
| @@ -107,8 +110,15 @@ function test()
|
| WebInspector.domModel.performSearch("In" + "putVa" + "l", false, searchCallback.bind(this, next));
|
| },
|
|
|
| + function testExactAttributeVal_ueOnRoot(next)
|
| + {
|
| + omitInnerHTML = true;
|
| + WebInspector.domModel.performSearch("documen" + "tElement", false, searchCallback.bind(this, next));
|
| + },
|
| +
|
| function testExactAttributeVal_ueWithQuotes(next)
|
| {
|
| + omitInnerHTML = false;
|
| WebInspector.domModel.performSearch("\"fo" + "o\"", false, searchCallback.bind(this, next));
|
| },
|
|
|
|
|