Commit f94a942
authored
[web] Self-cleaning service worker (flutter#176834)
Introduce a self-cleaning service worker to replace the old one.
Previous attempts (flutter#170918,
flutter#173609) had (accidentally?)
disabled the loading of the service worker in `flutter.js`. This PR
preserves the logic for loading the service worker, and it prints a
deprecation warning.
Towards flutter#156910
Closes flutter#1062251 parent 0c55239 commit f94a942
20 files changed
Lines changed: 205 additions & 1805 deletions
File tree
- dev
- bots
- suite_runners
- integration_tests
- flutter_gallery/web
- web
- lib
- web
- manual_tests/web
- engine/src/flutter/lib/web_ui/flutter_js/src
- packages/flutter_tools
- lib/src
- build_system/targets
- web/file_generators
- js
- test
- general.shard/build_system/targets
- web.shard/test_data
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 200 | + | |
242 | 201 | | |
243 | 202 | | |
244 | 203 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 22 | + | |
89 | 23 | | |
90 | 24 | | |
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 0 additions & 50 deletions
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 0 additions & 51 deletions
This file was deleted.
Lines changed: 0 additions & 48 deletions
This file was deleted.
0 commit comments