diff options
author | Siddhant N Trivedi <sidntrivedi012@gmail.com> | 2025-04-19 07:04:13 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-19 01:34:13 +0000 |
commit | 7ee9d07a9a7cfc631e2202f3a3727d897a48b3bb (patch) | |
tree | fbcaafa73aa3777e56c868b7f37d82749308d162 /components/script/dom/gpucanvascontext.rs | |
parent | c787688afc873e78d9526809cf7d2cde689c0ae4 (diff) | |
download | servo-7ee9d07a9a7cfc631e2202f3a3727d897a48b3bb.tar.gz servo-7ee9d07a9a7cfc631e2202f3a3727d897a48b3bb.zip |
content/dom: set navigator.onLine attribute to `true` (#36560)
Sets the navigator.onLine attribute to true.
Testing:
Ran `./mach run https://pinterest.com
--enable-experimental-web-platform-features`. This doesn't show the
"Hmm..you're not connected to the internet" text anymore.
<img width="1027" alt="Screenshot 2025-04-16 at 11 31 02 AM"
src="https://github.com/user-attachments/assets/3745077b-dc51-42ce-88a0-38d5f157fc0c"
/>
part of: #36554
---------
Signed-off-by: Siddhant N. Trivedi <sidntrivedi012@gmail.com>
Signed-off-by: Siddhant N Trivedi <sidntrivedi012@gmail.com>
Co-authored-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'components/script/dom/gpucanvascontext.rs')
0 files changed, 0 insertions, 0 deletions