User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060801 BonEcho/2.0b1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1b1) Gecko/20060801 BonEcho/2.0b1 When you try to open page that does not exist, browser shows "Problem loading page", if you try to view page source, it opens window with the same error message, but if you select all the "Problem loading page" content by pressing Ctrl+A, and select View Selection Source, you get the source of the "Problem loading page". Reproducible: Always Steps to Reproduce: 1. Go to http://www.non-existent-domain.com 2. On the "Problem loading page" press Ctrl+A 3. Select "View Selection Source" from the context menu Actual Results: Shows source of the "Problem loading page" Expected Results: Show "Problem loading page" as it happens when you select View Page Source
I don't think this is a bug. View selection source is not the same as view page source. What you're seeing at the url is automatically generated from 'nothing'. So view source shows that: nothing. There is nothing at that url. Please read what a url is, and you'll understand why it is logical that if there is nothing at a url, mozilla should display nothing. If you select parts of what's shown on the screen, mozilla will show the source (it calls it "dom source") that forms the stuff you've selected as mozilla displays it. There are many places in mozilla where the view page source doesn't show the code for what's shown on the page: for example, the feed preview page in the future firefox 2, where the feed undergoes processing before appearing on the page. And this is quite correct. Another example would be that a page's source doesn't often include style information, which may then taken from a separate css file: yet style often strongly affects how the information appears.
Well, you are right, but anyway DOM source is not what I expected to see under "View Selection Source". It is more likely that the user assumes to see page selection source, not the DOM source. Maybe it should be stated in the context menu, that you are about to see DOM selection source?
WFM with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a6pre) Gecko/20070618 Minefield/3.0a6pre Mozilla/5.0 (X11; U; Linux i686; en-US; rv:126.96.36.199pre) Gecko/20070618 BonEcho/188.8.131.52pre Mozilla/5.0 (X11; U; Linux i686; en-US; rv:184.108.40.206pre) Gecko/20070618 Firefox/220.127.116.11pre - Server not found message - Ctrl-U - Server not found message - Ctrl-A Ctrl-U - Server not found message Maxim, can you still see the bug with current builds (<http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/>, <http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/>)? If not, please resolve this bug as WORKSFORME. Thanks.
Whiteboard: CLOSEME 2007-07-10
Reporter or anyone else, if you still see this problem with the latest Firefox 2 and/or Firefox 3/Trunk Version please reopen this bug. Closing as WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.