PASS element.url.indexOf('url-test1.html') != -1 is true -PASS element.url.indexOf('url-test2.html') != -1 is true +FAIL element.url.indexOf('url-test2.html') != -1 should be true. Was false. PASS element.url.indexOf('url-test3.png') != -1 is true PASS successfullyParsed is true url-test2.html is actually the fragment id, and we are getting just the path when removing the base path.
Created attachment 449746 [details] Patch
Comment on attachment 449746 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=449746&action=review > Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityUIElementAtspi.cpp:1387 > + auto index = stringURL.find("LayoutTests"); Not great that we have to hardcode the directory name here. I don’t think we do that other places in the test runners.
Committed r288444 (246333@trunk): <https://commits.webkit.org/246333@trunk>