![]() ![]() The Periodic Background Sync page opens.Ĭlick Record ( ). On the left, in the Background Services section, select Periodic Background Sync. To log Periodic Background Sync events for 3 days, even when DevTools isn't open: To learn more about the Periodic Background Sync API, see Use the Periodic Background Sync API to regularly get fresh content. The Periodic Background Sync API enables the service worker of a Progressive Web App to retrieve data from a server, periodically, even when the website isn't opened. After triggering some payment requests, DevTools logs the events to the table. The Payment Handler page opens.Ĭlick Record ( ). On the left, in the Background Services section, select Payment Handler. ![]() To log the payment request and response events for 3 days, even when DevTools isn't open: The Payment Handler API allows web applications to handle payment requests on behalf of users. After triggering some Notifications activity, DevTools logs the events to the table. The Notifications page opens.Ĭlick Record ( ). On the left, in the Background Services section, select Notifications. To log Notifications for 3 days, even when DevTools isn't open: ![]() Select an event to view its details in the space below the table.Īfter a service worker has received a Push Message from a server, the service worker uses the Notifications API to display the data to a user. After triggering some Background Sync activity, DevTools logs the events to the table. The Background Sync page opens.Ĭlick Record ( ). On the left, in the Background Services section, select Background Sync. To log Background Sync events for 3 days, even when DevTools isn't open: The Background Sync API enables the offline service worker of a Progressive Web App to send data to a server once it has re-established a reliable internet connection. The Background Fetch page opens.Īfter triggering some Background Fetch activity, DevTools logs the events to the table.Ĭlick an event to view its details in the space below the table. On the left, in the Background Services section, select Background Fetch. If that tab isn't visible, click the More tabs ( ) button, or else the More Tools ( ) button. In DevTools, on the main toolbar, select the Application tab. Or by pressing Ctrl+Shift+I (Windows, Linux) or Command+Option+I (macOS). Open DevTools by right-clicking the webpage and selecting Inspect. To log Background Fetch events for 3 days, even when DevTools isn't open: The Background Fetch API enables the service worker of a Progressive Web App to reliably download large resources, like movies or podcasts, as a background service. The Background Services section logs API events, even when you're not using DevTools, to help you make sure that events are being sent and received as expected. Microsoft Edge DevTools considers each of the following APIs to be a background service: The Background Services section of Microsoft Edge DevTools is a collection of tools for the Web APIs that enable your website to send and receive data even when a user doesn't use your website, and enable the browser to report production problems to your server. ![]()
0 Comments
Leave a Reply. |