document.body is somtimes undefined when using chrome.declarativeContent.PageStateMatcher
Reported by
me.br...@gmail.com,
Sep 13 2016
|
|
Issue descriptionChrome Version : 55.0.2860.0 (Developer Build) (64-bit) f714d2bd4450811bae2c849b075344eb31814cd6-refs/heads/master@{#418368} URLs (if applicable) : Other browsers tested: NO What steps will reproduce the problem? (1) Install attached extensions (2) Open the extensions options page (3) Click "Request access to all websites" and "Allow" the additional permissions (4) Open DevTools (5) Navigate to https://github.com/ (6) The extension will reload the page as long as `document.body` is defined. The test is failing on the following websites, always: https://www.amazon.com/ http://www.apple.com/ https://www.airbnb.com/ Works sometimes: https://github.com/ Is always working on: https://twitter.com/ https://www.instagram.com/ https://bugs.chromium.org/ What is the expected result? `document.body` should be always defined What happens instead? Randomly `document.body` is not defined. Please provide any additional information below. Attach a screenshot if possible. If the `content_scripts.matches` array in the manifest.json contains `<all_urls>` it will work on every website. Therefore I guess it's somehow related with the optional permission. |
|
►
Sign in to add a comment |
|
Comment 1 by sheriffbot@chromium.org
, Sep 14 2017