Lines Matching refs:pathOrURL
1012 static bool shouldLogFrameLoadDelegates(const char* pathOrURL)
1014 return strstr(pathOrURL, "loading/");
1017 static bool shouldLogHistoryDelegates(const char* pathOrURL)
1019 return strstr(pathOrURL, "globalhistory/");
1022 static bool shouldOpenWebInspector(const char* pathOrURL)
1024 return strstr(pathOrURL, "inspector/");
1027 static bool shouldDumpAsText(const char* pathOrURL)
1029 return strstr(pathOrURL, "dumpAsText/");
1032 static bool shouldEnableDeveloperExtras(const char* pathOrURL)
1078 string pathOrURL(testPathOrURL);
1081 size_t separatorPos = pathOrURL.find("'");
1083 pathOrURL = string(testPathOrURL, 0, separatorPos);
1087 NSString *pathOrURLString = [NSString stringWithUTF8String:pathOrURL.c_str()];
1089 fprintf(stderr, "Failed to parse \"%s\" as UTF-8\n", pathOrURL.c_str());
1099 fprintf(stderr, "Failed to parse \"%s\" as a URL\n", pathOrURL.c_str());
1117 if (shouldLogFrameLoadDelegates(pathOrURL.c_str()))
1120 if (shouldLogHistoryDelegates(pathOrURL.c_str()))
1125 if (shouldEnableDeveloperExtras(pathOrURL.c_str())) {
1127 if (shouldOpenWebInspector(pathOrURL.c_str()))
1129 if (shouldDumpAsText(pathOrURL.c_str())) {
1185 if (shouldEnableDeveloperExtras(pathOrURL.c_str())) {