mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +00:00
LibWeb: Implement navigator.deviceMemory
Fixes at least 2 subtests in wpt/device-memory.
This commit is contained in:
parent
6189d1ac9d
commit
69f11fc1c6
Notes:
github-actions[bot]
2024-10-08 17:03:21 +00:00
Author: https://github.com/gmta
Commit: 69f11fc1c6
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1681
6 changed files with 55 additions and 2 deletions
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include <LibWeb/Bindings/PlatformObject.h>
|
||||
#include <LibWeb/HTML/NavigatorConcurrentHardware.h>
|
||||
#include <LibWeb/HTML/NavigatorDeviceMemory.h>
|
||||
#include <LibWeb/HTML/NavigatorID.h>
|
||||
#include <LibWeb/HTML/NavigatorLanguage.h>
|
||||
#include <LibWeb/HTML/NavigatorOnLine.h>
|
||||
|
@ -20,6 +21,7 @@ namespace Web::HTML {
|
|||
|
||||
class WorkerNavigator : public Bindings::PlatformObject
|
||||
, public NavigatorConcurrentHardwareMixin
|
||||
, public NavigatorDeviceMemoryMixin
|
||||
, public NavigatorIDMixin
|
||||
, public NavigatorLanguageMixin
|
||||
, public NavigatorOnLineMixin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue