<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: add support for running protocol-test.js tests on Windows"
href="https://bugs.webkit.org/show_bug.cgi?id=148025#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: add support for running protocol-test.js tests on Windows"
href="https://bugs.webkit.org/show_bug.cgi?id=148025">bug 148025</a>
from <span class="vcard"><a class="email" href="mailto:bburg@apple.com" title="Brian Burg <bburg@apple.com>"> <span class="fn">Brian Burg</span></a>
</span></b>
<pre>As a starting point, the existing Windows code specifies the page to load inside WebInspectorClient::openInspectorFrontend:
RetainPtr<CFURLRef> htmlURLRef = adoptCF(CFBundleCopyResourceURL(webKitBundle(), CFSTR("Main"), CFSTR("html"), CFSTR("WebInspectorUI")));
The mac WK1 code does something like this, which could be copied to Windows.
NSString *pagePath = isUnderTest ? [self inspectorTestPagePath] : [self inspectorPagePath];</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>