Bug 1564094 Comment 5 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

OK, let's turn back to current trunk. Maybe Boris can give us a hint here. Why would `this.webNavigation.reload(aFlags);` at
https://searchfox.org/mozilla-central/rev/f711552789d6308796e34170ddaabead044adc1e/toolkit/content/widgets/browser-custom-element.js#953
fail?

We call it form here:
https://searchfox.org/comm-central/rev/30fb8479949b5246fda13398de98216dcb3ad346/common/src/viewSource.js#440

Looks like M-C do it differently these days:
https://searchfox.org/mozilla-central/rev/f711552789d6308796e34170ddaabead044adc1e/browser/base/content/browser.js#7584

The error is:
Security Error: Content at view-source:imap://jorgk%40jorgk%2Ecom@mail.your-server.de:143/fetch%3EUID%3E.INBOX.spambucket%3E14402 may not load or link to imap://jorgk%40jorgk%2Ecom@mail.your-server.de:143/fetch%3EUID%3E.INBOX.spambucket%3E14402.
NS_ERROR_DOM_BAD_URI: Component returned failure code: 0x805303f4 [nsIWebNavigation.reload] browser-custom-element.js:953
OK, let's turn back to current trunk. Maybe Boris can give us a hint here. Why would `this.webNavigation.reload(aFlags);` at
https://searchfox.org/mozilla-central/rev/f711552789d6308796e34170ddaabead044adc1e/toolkit/content/widgets/browser-custom-element.js#953
fail?

We call it form here:
https://searchfox.org/comm-central/rev/30fb8479949b5246fda13398de98216dcb3ad346/common/src/viewSource.js#440

Looks like M-C do it differently these days:
https://searchfox.org/mozilla-central/rev/f711552789d6308796e34170ddaabead044adc1e/browser/base/content/browser.js#7584

The error is:
Security Error: Content at view-source:imap://jorgk%40jorgk%2Ecom@mail.your-server.de:143/fetch%3EUID%3E.INBOX.spambucket%3E14402 may not load or link to imap://jorgk%40jorgk%2Ecom@mail.your-server.de:143/fetch%3EUID%3E.INBOX.spambucket%3E14402.
NS_ERROR_DOM_BAD_URI: Component returned failure code: 0x805303f4 [nsIWebNavigation.reload] browser-custom-element.js:953

EDIT: It's puzzling since it loaded the page in the first place.

Back to Bug 1564094 Comment 5