mirror of
https://github.com/servo/servo.git
synced 2025-08-18 11:55:39 +01:00
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>
This commit is contained in:
parent
c787688afc
commit
7ee9d07a9a
8 changed files with 18 additions and 24 deletions
|
@ -695,9 +695,6 @@
|
|||
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "imageSmoothingQuality" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Navigator interface: attribute onLine]
|
||||
expected: FAIL
|
||||
|
||||
[OffscreenCanvasRenderingContext2D interface: operation getLineDash()]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5348,9 +5345,6 @@
|
|||
[Navigator interface: attribute oscpu]
|
||||
expected: FAIL
|
||||
|
||||
[Navigator interface: attribute onLine]
|
||||
expected: FAIL
|
||||
|
||||
[Navigator interface: operation registerProtocolHandler(DOMString, USVString)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -5366,9 +5360,6 @@
|
|||
[Navigator interface: window.navigator must inherit property "oscpu" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Navigator interface: window.navigator must inherit property "onLine" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Navigator interface: window.navigator must inherit property "registerProtocolHandler(DOMString, USVString)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue