Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Removed "blank" option (about:blank !== about:newtab) #5335

Merged
merged 1 commit into from
Nov 1, 2016
Merged

Removed "blank" option (about:blank !== about:newtab) #5335

merged 1 commit into from
Nov 1, 2016

Conversation

bsclifton
Copy link
Member

@bsclifton bsclifton commented Nov 1, 2016

Fixes #5334

Definitely my mistake folks- I had forgotten about the URL bar getting focus and didn't consider that the change broke tests also ☹️

This change:

  • finalizes the name of the setting (the previous one had "TEST" in it)
  • defaults unknown URLs to about:newtab (which makes sense, since those have URL bar focus)
  • removes blank as an option (since it was going to be removed when we shipped)

If we need to disable the NEW about:newtab screen for 0.12.8, we can just return an empty div in js/about/newtab.js

Auditors: @diracdeltas, @bbondy

Test Plan:

  1. Launch Brave and open a new tab
  2. New tab should be about:newtab
  3. Preferences > General should no longer show "blank"
  4. Tests should work again

@diracdeltas
Copy link
Member

already created issue at #5334

@bsclifton
Copy link
Member Author

bsclifton commented Nov 1, 2016

updated 😄

Fixes #5334

Definitely my mistake folks- I had forgotten about the URL bar getting focus and didn't consider that the change broke tests also :(

This change:
- finalizes the name of the setting (the previous one had "TEST" in it)
- defaults unknown URLs to about:newtab (which makes sense, since those have URL bar focus)
- removes blank as an option (since it was going to be removed when we shipped)

If we need to disable the NEW about:newtab screen for 0.12.8, we can just return an empty div in `js/about/newtab.js`

Auditors: @diracdeltas, @bbondy

Test Plan:
1. Launch Brave and open a new tab
2. New tab should be about:newtab
3. Preferences > General should no longer show "blank"
4. Tests should work again
@diracdeltas
Copy link
Member

lgtm, thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants