mirror of
https://github.com/Microsoft/vscode
synced 2024-10-06 03:17:00 +00:00
TrustedTypes - use clearNode instead of innerHTML
This commit is contained in:
parent
a002404b2e
commit
0d6a1f8e1c
12
.vscode/searches/TrustedTypes.code-search
vendored
12
.vscode/searches/TrustedTypes.code-search
vendored
|
@ -4,7 +4,7 @@
|
|||
# Excluding: *.test.ts
|
||||
# ContextLines: 3
|
||||
|
||||
59 results - 40 files
|
||||
57 results - 39 files
|
||||
|
||||
src/vs/base/browser/markdownRenderer.ts:
|
||||
156 const strValue = values[0];
|
||||
|
@ -382,16 +382,6 @@ src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.ts:
|
|||
604 return dragImageContainer;
|
||||
605 }
|
||||
|
||||
src/vs/workbench/contrib/notebook/browser/view/renderers/cellWidgets.ts:
|
||||
77 return;
|
||||
78 }
|
||||
79
|
||||
80: this.leftContributedItemsContainer.innerHTML = '';
|
||||
81: this.rightContributedItemsContainer.innerHTML = '';
|
||||
82 this.itemsDisposable.clear();
|
||||
83
|
||||
84 const items = this.notebookCellStatusBarService.getEntries(this.currentContext.cell.uri);
|
||||
|
||||
src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts:
|
||||
375 addMouseoverListeners(outputNode, outputId);
|
||||
376 const content = data.content;
|
||||
|
|
|
@ -77,8 +77,8 @@ export class CellEditorStatusBar extends Disposable {
|
|||
return;
|
||||
}
|
||||
|
||||
this.leftContributedItemsContainer.innerHTML = '';
|
||||
this.rightContributedItemsContainer.innerHTML = '';
|
||||
DOM.clearNode(this.leftContributedItemsContainer);
|
||||
DOM.clearNode(this.rightContributedItemsContainer);
|
||||
this.itemsDisposable.clear();
|
||||
|
||||
const items = this.notebookCellStatusBarService.getEntries(this.currentContext.cell.uri);
|
||||
|
|
Loading…
Reference in a new issue