allowsBeforeUnloadListeners 1537 Source/core/frame/DOMWindow.cpp if (allowsBeforeUnloadListeners(this)) { allowsBeforeUnloadListeners 1565 Source/core/frame/DOMWindow.cpp } else if (eventType == EventTypeNames::beforeunload && allowsBeforeUnloadListeners(this)) {