Every line of 'document.createevent' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
24 function hasDocument( 25 event: BufferedDocumentEvent 26 ): event is SnapshotEvent | DocumentRebaseEvent | DocumentMutationEvent { 27 return event.type === 'snapshot' || event.type === 'rebase' || event.type === 'mutation' 28 }
Secure your code as it's written. Use Snyk Code to scan source code in minutes – no build needed – and fix issues immediately. Enable Snyk Code
239 dispatchEvent(evt) { 240 this.documentElement.dispatchEvent(evt) 241 }
1012 _documentUpdated(event) { 1013 var domModel = /** @type {!SDK.DOMModel} */ (event.data); 1014 this._reset(); 1015 if (domModel.existingDocument()) 1016 this.rootDOMNode = domModel.existingDocument(); 1017 }