Lines Matching refs:pathOrURL
791 static bool shouldLogFrameLoadDelegates(const char* pathOrURL)
793 return strstr(pathOrURL, "/loading/") || strstr(pathOrURL, "\\loading\\");
796 static bool shouldLogHistoryDelegates(const char* pathOrURL)
798 return strstr(pathOrURL, "/globalhistory/") || strstr(pathOrURL, "\\globalhistory\\");
801 static bool shouldOpenWebInspector(const char* pathOrURL)
803 return strstr(pathOrURL, "/inspector/") || strstr(pathOrURL, "\\inspector\\");
806 static bool shouldDumpAsText(const char* pathOrURL)
808 return strstr(pathOrURL, "/dumpAsText/") || strstr(pathOrURL, "\\dumpAsText\\");
811 static bool shouldEnableDeveloperExtras(const char* pathOrURL)
950 string pathOrURL(testPathOrURL);
953 size_t separatorPos = pathOrURL.find("'");
955 pathOrURL = string(testPathOrURL, 0, separatorPos);
961 CFStringRef str = CFStringCreateWithCString(0, pathOrURL.c_str(), kCFStringEncodingWindowsLatin1);
980 ::gLayoutTestController = LayoutTestController::create(pathOrURL, expectedPixelHash);
986 if (shouldLogFrameLoadDelegates(pathOrURL.c_str()))
993 if (shouldLogHistoryDelegates(pathOrURL.c_str())) {
1006 if (shouldEnableDeveloperExtras(pathOrURL.c_str())) {
1008 if (shouldOpenWebInspector(pathOrURL.c_str()))
1011 if (shouldDumpAsText(pathOrURL.c_str())) {
1050 if (shouldEnableDeveloperExtras(pathOrURL.c_str())) {