Skip to content

Commit a30eced

Browse files
authored
Update tabbed-mode-explainer.md
1 parent 3f2c869 commit a30eced

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tabbed-mode-explainer.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Add a new manifest field `tab_strip` which allows apps to customize the tab stri
2020

2121
```
2222
"tab_strip": {
23-
"home_tab": "absent" | {
23+
"home_tab": {
2424
"scope_patterns": [{"pathname": "..."}]
2525
},
2626
"new_tab_button": {
@@ -29,7 +29,7 @@ Add a new manifest field `tab_strip` which allows apps to customize the tab stri
2929
},
3030
```
3131

32-
The home tab is a pinned tab that, if enabled for an app, should be present in all app windows. Navigations outside of the home tab scope (as specified by `scope_patterns`) should open in a new tab instead of navigating the home tab. If the `home_tab` field is unset, it will default to `absent`.
32+
The home tab is a pinned tab that, if enabled for an app, should be present in all app windows. Navigations outside of the home tab scope (as specified by `scope_patterns`) should open in a new tab instead of navigating the home tab. If the `home_tab` field is unset, then the app will not have a home tab.
3333

3434
The `home_tab.scope_patterns` field allows the app to set a list of [URLPatterns](https://wicg.github.io/urlpattern/#urlpattern) to define the scope of the home tab. Navigation within the home tab going outside of this scope will be opened in a new tab, and navigation to a URL within the home tab scope will happen in the home tab. The [`URLPattern.baseURL`](https://wicg.github.io/urlpattern/#dom-urlpatterninit-baseurl) will be initialized to the parsed app scope, and apps will only be able to specify the pathname component of URLPattern. If the `scope_patterns` field is unset, then the home tab scope will only include the `start_url`.
3535

@@ -38,7 +38,6 @@ The new tab button, should open a new tab at a URL that is within the scope of t
3838
If the `tab_strip` field is unset, it will default to the following object:
3939
```
4040
"tab_strip": {
41-
"home_tab": "absent",
4241
"new_tab_button": {
4342
"url": <start_url>,
4443
},

0 commit comments

Comments
 (0)