Home | History | Annotate | Download | only in WebKitTestRunner

Lines Matching refs:pathOrURL

52 static WKURLRef createWKURL(const char* pathOrURL)
54 if (strstr(pathOrURL, "http://") || strstr(pathOrURL, "https://") || strstr(pathOrURL, "file://"))
55 return WKURLCreateWithUTF8CString(pathOrURL);
58 size_t length = strlen(pathOrURL);
67 bool isAbsolutePath = length >= 3 && pathOrURL[1] == ':' && pathOrURL[2] == separator;
70 bool isAbsolutePath = pathOrURL[0] == separator;
77 strcpy(buffer.get() + prefixLength, pathOrURL);
85 strcpy(buffer.get() + numCharacters + 1, pathOrURL);
91 TestInvocation::TestInvocation(const std::string& pathOrURL)
92 : m_url(AdoptWK, createWKURL(pathOrURL.c_str()))
93 , m_pathOrURL(pathOrURL)
117 static void sizeWebViewForCurrentTest(const char* pathOrURL)
119 bool isSVGW3CTest = strstr(pathOrURL, "svg/W3C-SVG-1.1") || strstr(pathOrURL, "svg\\W3C-SVG-1.1");
127 static bool shouldOpenWebInspector(const char* pathOrURL)
129 return strstr(pathOrURL, "inspector/") || strstr(pathOrURL, "inspector\\");