| Index: third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js b/third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js
|
| index 0f5b84c80d43b9799d95da8eb8fbb7612591f7fd..f33e26cae76d2b8876f1e678aa4f65db3d0637c5 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/snippets/ScriptSnippetModel.js
|
| @@ -199,6 +199,7 @@ Snippets.ScriptSnippetModel = class extends Common.Object {
|
| * @param {!Workspace.UISourceCode} uiSourceCode
|
| */
|
| evaluateScriptSnippet(executionContext, uiSourceCode) {
|
| + console.assert(uiSourceCode.project().type() === Workspace.projectTypes.Snippets);
|
| var breakpointLocations = this._removeBreakpoints(uiSourceCode);
|
| this._releaseSnippetScript(uiSourceCode);
|
| this._restoreBreakpoints(uiSourceCode, breakpointLocations);
|
|
|