Lines Matching refs:mainResource
1194 if (!WebInspector.mainResource)
1197 var lastPathComponent = WebInspector.mainResource.lastPathComponent;
1198 var index = WebInspector.mainResource.url.indexOf(lastPathComponent);
1199 if (index !== -1 && index + lastPathComponent.length === WebInspector.mainResource.url.length) {
1200 var baseURL = WebInspector.mainResource.url.substring(0, index);
1205 return url.trimURL(WebInspector.mainResource.domain);