glennw / servo-shell

Proof of concept HTML/CSS/JS browser UI for Servo
176 stars 16 forks source link

Don't show about:blank in the URL bar #7

Closed mbrubeck closed 9 years ago

liamzdenek commented 9 years ago

Isn't showing about:blank desired behavior? Why would we hide that the page is intentionally empty from the user?

mbrubeck commented 9 years ago

about:blank is shown automatically when a new tab loads. Firefox hides the URL if it is about:blank. (Chrome doesn't, but it does hide chrome://newtab which serves a similar purpose in Chrome.)

mbrubeck commented 9 years ago

To clarify, the goal for this change is to have an empty URL bar when a new tab is created. We could do that by hiding about:blank like in Firefox, or by using some other special URL for new tabs and hiding that, like Chrome.

liamzdenek commented 9 years ago

I understand. :+1: