| Index: LayoutTests/inspector/profiler/selector-profiler-url.html
|
| diff --git a/LayoutTests/inspector/profiler/selector-profiler-url.html b/LayoutTests/inspector/profiler/selector-profiler-url.html
|
| deleted file mode 100644
|
| index 517fc697ab6018af68731189fe710033337afef0..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/profiler/selector-profiler-url.html
|
| +++ /dev/null
|
| @@ -1,63 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<style>
|
| -#input:focus {
|
| - color: green;
|
| -}
|
| -</style>
|
| -<script src="../../http/tests/inspector/inspector-test.js"></script>
|
| -<script>
|
| -
|
| -function focus()
|
| -{
|
| - document.getElementById("input").focus();
|
| - document.width;
|
| -}
|
| -
|
| -function test()
|
| -{
|
| - CSSAgent.startSelectorProfiler();
|
| - InspectorTest.evaluateInPage("focus()", step1);
|
| -
|
| - function step1()
|
| - {
|
| - CSSAgent.stopSelectorProfiler(step2);
|
| - }
|
| -
|
| - function step2(error, profile)
|
| - {
|
| - if (error) {
|
| - InspectorTest.addResult(error);
|
| - InspectorTest.completeTest();
|
| - return;
|
| - }
|
| -
|
| - const selector = "#input:focus";
|
| - for (var i = 0; i < profile.data.length; ++i) {
|
| - var entry = profile.data[i];
|
| - if (entry.selector === selector) {
|
| - var segments = entry.url.split("/");
|
| - var url = "<empty>";
|
| - if (segments.length > 3) {
|
| - segments.splice(0, segments.length - 3);
|
| - url = segments.join("/");
|
| - }
|
| - InspectorTest.addResult(selector + " stylesheet URL: " + url);
|
| - break;
|
| - }
|
| - }
|
| - InspectorTest.completeTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests that CSS selector profile entries contain valid stylesheet URLs. <a href="https://bugs.webkit.org/show_bug.cgi?id=104225">Bug 104225</a>.
|
| -</p>
|
| -
|
| -<input type="text" id="input">Value</input>
|
| -</body>
|
| -</html>
|
|
|