Skip to content

Commit 56495f3

Browse files
committed
תוספים: רישום "WebView never created" אחרי 60 שניות במקום 20
ה-WebView הראשון מפעיל את תהליך הדפדפן של WebView2. ב-CI זה לקח כ-25 שניות, והשומר כתב ל-errors.txt רשומה שה-WebView לא נוצר, אף שהוא נוצר. כך נכשלה בדיקת installed plugin ב-Windows (#5216). WebView שלא נוצר כלל עדיין נרשם.
1 parent 32a7640 commit 56495f3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎lib/plugins/view/plugin_tab_page.dart‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -743,10 +743,11 @@ class _PluginTabPageState extends State<PluginTabPage> with PluginWebViewHost {
743743
identical(_crashGuardOwner, crashGuardOwner);
744744

745745
if (_creationWatchdog == null && webViewController == null) {
746-
_creationWatchdog = Timer(const Duration(seconds: 20), () {
746+
// ה-WebView הראשון מפעיל את תהליך הדפדפן; במכונה איטית זה לבד יכול לקחת עשרות שניות.
747+
_creationWatchdog = Timer(const Duration(seconds: 60), () {
747748
logPluginWebViewFailure(
748749
'Plugin WebView never created (silent blank)',
749-
'onWebViewCreated did not fire within 20s',
750+
'onWebViewCreated did not fire within 60s',
750751
details: {'Plugin': widget.plugin.pluginId},
751752
);
752753
});

0 commit comments

Comments
 (0)