Commit 6c263de
authored
fix(firebase_messaging): fix incorrect HTML example for service worker registration (#17839)
Separated inline JavaScript from script tag with src attribute. Browsers ignore inline JavaScript when a script tag has a src attribute, which was preventing the service worker registration from running.
Fixes #178371 parent 2f619a3 commit 6c263de
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
0 commit comments