--- id: "4b446346-fc6a-4e08-9c99-39b6d5318c48" name: "Top-level iframe scan" micro_summary: "Discarded: top-level iframe scan returned 0 because the iframe lives inside `force-aloha-page.shadowRoot`." status: "discarded" see_also: [] scope: "Attempted to find the Salesforce Setup iframe with top-level document.querySelectorAll('iframe')." discard_reason: "Top-level `document.querySelectorAll(\"iframe\")` missed the iframe because Salesforce placed it inside `force-aloha-page.shadowRoot`." --- Attempted `document.querySelectorAll("iframe")` on the top-level Lightning Setup document. It returned 0, which was misleading because the iframe lived inside the `force-aloha-page` shadowRoot.