Bug 1564094 Comment 0 Edit History

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

STR:
View a message and press Ctrl+U to see the message source.
On the view menu, select Text Encoding and select any other text encoding.

Result: Doesn't work, and I see this is in the error console:
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
    reloadWithFlags chrome://global/content/elements/browser-custom-element.js:953
    onSetCharacterSet chrome://messenger/content/viewSource.js:440
    oncommand chrome://messenger/content/viewSource.xul:1

Also not working in TB 68 beta, but the line numbers are a bit different there:
Security Error: Content at view-source:imap://info%40hostalpancheta%2Ees@mail.hostalpancheta.es:993/fetch%3EUID%3E.INBOX.Bel%26AOk-n%3E13 may not load or link to imap://info%40hostalpancheta%2Ees@mail.hostalpancheta.es:993/fetch%3EUID%3E.INBOX.Bel%26AOk-n%3E13.
NS_ERROR_DOM_BAD_URI: Component returned failure code: 0x805303f4 [nsIWebNavigation.reload] browser-custom-element.js:816
    reloadWithFlags chrome://global/content/elements/browser-custom-element.js:816
    onSetCharacterSet chrome://messenger/content/viewSource.js:440
    oncommand chrome://messenger/content/viewSource.xul:1

The code that fails is:
this.browser.reloadWithFlags(Ci.nsIWebNavigation.LOAD_FLAGS_CHARSET_CHANGE);

Alice, can you please find the regression for us.
STR:
View a message and press Ctrl+U to see the message source.
On the view menu, select Text Encoding and select any other text encoding.

Result: Doesn't work, and I see this is in the error console:
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
    reloadWithFlags chrome://global/content/elements/browser-custom-element.js:953
    onSetCharacterSet chrome://messenger/content/viewSource.js:440
    oncommand chrome://messenger/content/viewSource.xul:1

Also not working in TB 68 beta, but the line numbers are a bit different there:
Security Error: Content at view-source:imap://info%40hostalpancheta%2Ees@mail.hostalpancheta.es:993/fetch%3EUID%3E.INBOX.Bel%26AOk-n%3E13 may not load or link to imap://info%40hostalpancheta%2Ees@mail.hostalpancheta.es:993/fetch%3EUID%3E.INBOX.Bel%26AOk-n%3E13.
NS_ERROR_DOM_BAD_URI: Component returned failure code: 0x805303f4 [nsIWebNavigation.reload] browser-custom-element.js:816
    reloadWithFlags chrome://global/content/elements/browser-custom-element.js:816
    onSetCharacterSet chrome://messenger/content/viewSource.js:440
    oncommand chrome://messenger/content/viewSource.xul:1

The code that fails is:
this.browser.reloadWithFlags(Ci.nsIWebNavigation.LOAD_FLAGS_CHARSET_CHANGE);

Alice, can you please find the regression for us.

And please don't forget to use an IMAP folder.

Back to Bug 1564094 Comment 0