Here's a perhaps-more-scientificially-reliable way to trigger this: (1) set about:config pref `browser.startup.homepage` to the string `view-source:https://www.yahoo.com|view-source:https://google.com` (2) Open a new window (Ctrl+N) (3) Close and then restore the first tab (Yahoo) (Ctrl+W, Ctrl+Shift+T) (4) Switch to the second tab (Google) and close and restore that one (Ctrl+W, Ctrl+Shift+T) ACTUAL RESULTS: Yahoo's source restores successfully (presumably because our view-source URL included the www up-front and didn't require a redirect) Google's source does not restore successfully; it loads the actual live website. You can flip the results (e.g. make Yahoo fail and Google succeed) if you adjust the initial URLs (the about:config pref in step 1) to switch which one has `www` and hence which one needs vs. doesn't-need a redirect.
Bug 1757458 Comment 4 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Here's a perhaps-more-scientifically-reliable way to trigger this: (1) set about:config pref `browser.startup.homepage` to the string `view-source:https://www.yahoo.com|view-source:https://google.com` (2) Open a new window (Ctrl+N) (3) Close and then restore the first tab (Yahoo) (Ctrl+W, Ctrl+Shift+T) (4) Switch to the second tab (Google) and close and restore that one (Ctrl+W, Ctrl+Shift+T) ACTUAL RESULTS: Yahoo's source restores successfully (presumably because our view-source URL included the www up-front and didn't require a redirect) Google's source does not restore successfully; it loads the actual live website. You can flip the results (e.g. make Yahoo fail and Google succeed) if you adjust the initial URLs (the about:config pref in step 1) to switch which one has `www` and hence which one needs vs. doesn't-need a redirect.
Here's a perhaps-more-scientifically-reliable way to trigger this (less manual typing / room for user-error): (1) set about:config pref `browser.startup.homepage` to the string `view-source:https://www.yahoo.com|view-source:https://google.com` (2) Open a new window (Ctrl+N) (3) Close and then restore the first tab (Yahoo) (Ctrl+W, Ctrl+Shift+T) (4) Switch to the second tab (Google) and close and restore that one (Ctrl+W, Ctrl+Shift+T) ACTUAL RESULTS: Yahoo's source restores successfully (presumably because our view-source URL included the www up-front and didn't require a redirect) Google's source does not restore successfully; it loads the actual live website. You can flip the results (e.g. make Yahoo fail and Google succeed) if you adjust the initial URLs (the about:config pref in step 1) to switch which one has `www` and hence which one needs vs. doesn't-need a redirect.
Here's a perhaps-more-scientifically-reliable way to trigger this (less manual typing / room for user-error). STR: (1) set about:config pref `browser.startup.homepage` to the string `view-source:https://www.yahoo.com|view-source:https://google.com` (2) Open a new window (Ctrl+N) (3) Close and then restore the first tab (Yahoo) (Ctrl+W, Ctrl+Shift+T) (4) Switch to the second tab (Google) and close and restore that one (Ctrl+W, Ctrl+Shift+T) ACTUAL RESULTS: Yahoo's source restores successfully (presumably because our view-source URL included the www up-front and didn't require a redirect) Google's source does not restore successfully; it loads the actual live website. You can flip the results (e.g. make Yahoo fail and Google succeed) if you adjust the initial URLs (the about:config pref in step 1) to switch which one has `www` and hence which one needs vs. doesn't-need a redirect.
Here's a perhaps-more-scientifically-reliable way to trigger this (less manual typing / room for user-error). STR: (1) set about:config pref `browser.startup.homepage` to the string `view-source:https://www.yahoo.com|view-source:https://google.com` (2) Open a new window (Ctrl+N) (3) Close and then restore the first tab (Yahoo) , by doing Ctrl+W and then Ctrl+Shift+T (4) Switch to the second tab (Google) and close and restore that one by again doing Ctrl+W, Ctrl+Shift+T ACTUAL RESULTS: Yahoo's source restores successfully (presumably because our view-source URL included the www up-front and didn't require a redirect) Google's source does not restore successfully; it loads the actual live website. You can flip the results (e.g. make Yahoo fail and Google succeed) if you adjust the initial URLs (the about:config pref in step 1) to switch which one has `www` and hence which one needs vs. doesn't-need a redirect.
Here's a perhaps-more-scientifically-reliable way to trigger this (less manual typing / room for user-error). STR: (1) set about:config pref `browser.startup.homepage` to this string: ``` view-source:https://www.yahoo.com|view-source:https://google.com ``` (2) Open a new window (Ctrl+N) (3) Close and then restore the first tab (Yahoo) , by doing Ctrl+W and then Ctrl+Shift+T (4) Switch to the second tab (Google) and close and restore that one by again doing Ctrl+W, Ctrl+Shift+T ACTUAL RESULTS: Yahoo's source restores successfully (presumably because our view-source URL included the www up-front and didn't require a redirect) Google's source does not restore successfully; it loads the actual live website. You can flip the results (e.g. make Yahoo fail and Google succeed) if you adjust the initial URLs (the about:config pref in step 1) to switch which one has `www` and hence which one needs vs. doesn't-need a redirect.
Here's a perhaps-more-scientifically-reliable way to trigger this (less manual typing / room for user-error). STR: (1) set about:config pref `browser.startup.homepage` to this string: ``` view-source:https://www.yahoo.com|view-source:https://google.com ``` (2) Open a new window (Ctrl+N) (3) In the new window: close and then restore the first tab (Yahoo) , by doing Ctrl+W and then Ctrl+Shift+T (4) Switch to the second tab (Google) and close and restore that one by again doing Ctrl+W, Ctrl+Shift+T (Note: step 3 is optional, and is just there for comparison) ACTUAL RESULTS: Yahoo's source restores successfully (presumably because our view-source URL included the www up-front and didn't require a redirect) Google's source does not restore successfully; it loads the actual live website. You can flip the results (e.g. make Yahoo fail and Google succeed) if you adjust the initial URLs (the about:config pref in step 1) to switch which one has `www` and hence which one needs vs. doesn't-need a redirect.