chore: emit the document-start and document-end events in a sandboxed renderer (#20987)
This commit is contained in:
parent
5b7382765c
commit
d91cc257f9
1 changed files with 2 additions and 0 deletions
|
@ -94,6 +94,8 @@ Object.defineProperty(preloadProcess, 'noDeprecation', {
|
|||
|
||||
process.on('loaded', () => preloadProcess.emit('loaded'))
|
||||
process.on('exit', () => preloadProcess.emit('exit'))
|
||||
process.on('document-start', () => preloadProcess.emit('document-start'))
|
||||
process.on('document-end', () => preloadProcess.emit('document-end'))
|
||||
|
||||
// This is the `require` function that will be visible to the preload script
|
||||
function preloadRequire (module) {
|
||||
|
|
Loading…
Reference in a new issue