- * @return {boolean}
- */
- isInlineScript: function()
- {
- var startsAtZero = !this.lineOffset && !this.columnOffset;
- return !!this.sourceURL && !startsAtZero;
- },
-
- /**
- * @return {boolean}
- */
- isAnonymousScript: function()
- {
- return !this.sourceURL;
- },
-
- /**
- * @return {boolean}
- */
- isSnippet: function()
- {
- return !!this.sourceURL && this.sourceURL.startsWith(WebInspector.Script.snippetSourceURLPrefix);
- },
-
- /**
- * @return {boolean}
- */
- isFramework: function()
- {
- if (!WebInspector.experimentsSettings.frameworksDebuggingSupport.isEnabled())
- return false;
- if (!WebInspector.settings.skipStackFramesSwitch.get())
- return false;
- var regex = WebInspector.settings.skipStackFramesPattern.asRegExp();
- return regex ? regex.test(this.sourceURL) : false;
- },
-
- /**