diff --git a/src/js/scriptlets/dom-inspector.js b/src/js/scriptlets/dom-inspector.js index fc8f72e96..e9bfc2de3 100644 --- a/src/js/scriptlets/dom-inspector.js +++ b/src/js/scriptlets/dom-inspector.js @@ -503,6 +503,11 @@ var domLayout = (function() { hostname: window.location.hostname }; + if ( document.readyState !== 'complete' ) { + response.status = 'busy'; + return response; + } + // No mutation observer means we need to send full layout if ( mutationObserver === null ) { mutationObserver = new MutationObserver(onMutationObserved);