mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 04:02:28 +03:00
LibWeb: Use long long
where it was replaced with long
This commit is contained in:
parent
3413eb1416
commit
94bb5a779b
Notes:
sideshowbarker
2024-07-17 10:25:12 +09:00
Author: https://github.com/stelar7 Commit: https://github.com/SerenityOS/serenity/commit/94bb5a779b Pull-request: https://github.com/SerenityOS/serenity/pull/13995 Reviewed-by: https://github.com/Lubrsi Reviewed-by: https://github.com/linusg
@ -23,27 +23,27 @@ public:
|
||||
explicit PerformanceTiming(HTML::Window&);
|
||||
~PerformanceTiming();
|
||||
|
||||
u32 navigation_start() { return 0; }
|
||||
u32 unload_event_start() { return 0; }
|
||||
u32 unload_event_end() { return 0; }
|
||||
u32 redirect_start() { return 0; }
|
||||
u32 redirect_end() { return 0; }
|
||||
u32 fetch_start() { return 0; }
|
||||
u32 domain_lookup_start() { return 0; }
|
||||
u32 domain_lookup_end() { return 0; }
|
||||
u32 connect_start() { return 0; }
|
||||
u32 connect_end() { return 0; }
|
||||
u32 secure_connection_start() { return 0; }
|
||||
u32 request_start() { return 0; }
|
||||
u32 response_start() { return 0; }
|
||||
u32 response_end() { return 0; }
|
||||
u32 dom_loading() { return 0; }
|
||||
u32 dom_interactive() { return 0; }
|
||||
u32 dom_content_loaded_event_start() { return 0; }
|
||||
u32 dom_content_loaded_event_end() { return 0; }
|
||||
u32 dom_complete() { return 0; }
|
||||
u32 load_event_start() { return 0; }
|
||||
u32 load_event_end() { return 0; }
|
||||
u64 navigation_start() { return 0; }
|
||||
u64 unload_event_start() { return 0; }
|
||||
u64 unload_event_end() { return 0; }
|
||||
u64 redirect_start() { return 0; }
|
||||
u64 redirect_end() { return 0; }
|
||||
u64 fetch_start() { return 0; }
|
||||
u64 domain_lookup_start() { return 0; }
|
||||
u64 domain_lookup_end() { return 0; }
|
||||
u64 connect_start() { return 0; }
|
||||
u64 connect_end() { return 0; }
|
||||
u64 secure_connection_start() { return 0; }
|
||||
u64 request_start() { return 0; }
|
||||
u64 response_start() { return 0; }
|
||||
u64 response_end() { return 0; }
|
||||
u64 dom_loading() { return 0; }
|
||||
u64 dom_interactive() { return 0; }
|
||||
u64 dom_content_loaded_event_start() { return 0; }
|
||||
u64 dom_content_loaded_event_end() { return 0; }
|
||||
u64 dom_complete() { return 0; }
|
||||
u64 load_event_start() { return 0; }
|
||||
u64 load_event_end() { return 0; }
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -1,25 +1,25 @@
|
||||
interface PerformanceTiming {
|
||||
|
||||
readonly attribute unsigned long navigationStart;
|
||||
readonly attribute unsigned long unloadEventStart;
|
||||
readonly attribute unsigned long unloadEventEnd;
|
||||
readonly attribute unsigned long redirectStart;
|
||||
readonly attribute unsigned long redirectEnd;
|
||||
readonly attribute unsigned long fetchStart;
|
||||
readonly attribute unsigned long domainLookupStart;
|
||||
readonly attribute unsigned long domainLookupEnd;
|
||||
readonly attribute unsigned long connectStart;
|
||||
readonly attribute unsigned long connectEnd;
|
||||
readonly attribute unsigned long secureConnectionStart;
|
||||
readonly attribute unsigned long requestStart;
|
||||
readonly attribute unsigned long responseStart;
|
||||
readonly attribute unsigned long responseEnd;
|
||||
readonly attribute unsigned long domLoading;
|
||||
readonly attribute unsigned long domInteractive;
|
||||
readonly attribute unsigned long domContentLoadedEventStart;
|
||||
readonly attribute unsigned long domContentLoadedEventEnd;
|
||||
readonly attribute unsigned long domComplete;
|
||||
readonly attribute unsigned long loadEventStart;
|
||||
readonly attribute unsigned long loadEventEnd;
|
||||
readonly attribute unsigned long long navigationStart;
|
||||
readonly attribute unsigned long long unloadEventStart;
|
||||
readonly attribute unsigned long long unloadEventEnd;
|
||||
readonly attribute unsigned long long redirectStart;
|
||||
readonly attribute unsigned long long redirectEnd;
|
||||
readonly attribute unsigned long long fetchStart;
|
||||
readonly attribute unsigned long long domainLookupStart;
|
||||
readonly attribute unsigned long long domainLookupEnd;
|
||||
readonly attribute unsigned long long connectStart;
|
||||
readonly attribute unsigned long long connectEnd;
|
||||
readonly attribute unsigned long long secureConnectionStart;
|
||||
readonly attribute unsigned long long requestStart;
|
||||
readonly attribute unsigned long long responseStart;
|
||||
readonly attribute unsigned long long responseEnd;
|
||||
readonly attribute unsigned long long domLoading;
|
||||
readonly attribute unsigned long long domInteractive;
|
||||
readonly attribute unsigned long long domContentLoadedEventStart;
|
||||
readonly attribute unsigned long long domContentLoadedEventEnd;
|
||||
readonly attribute unsigned long long domComplete;
|
||||
readonly attribute unsigned long long loadEventStart;
|
||||
readonly attribute unsigned long long loadEventEnd;
|
||||
|
||||
};
|
||||
|
@ -35,8 +35,8 @@ public:
|
||||
virtual ~ProgressEvent() override = default;
|
||||
|
||||
bool length_computable() const { return m_length_computable; }
|
||||
u32 loaded() const { return m_loaded; }
|
||||
u32 total() const { return m_total; }
|
||||
u64 loaded() const { return m_loaded; }
|
||||
u64 total() const { return m_total; }
|
||||
|
||||
protected:
|
||||
ProgressEvent(FlyString const& event_name, ProgressEventInit const& event_init)
|
||||
@ -48,8 +48,8 @@ protected:
|
||||
}
|
||||
|
||||
bool m_length_computable { false };
|
||||
u32 m_loaded { 0 };
|
||||
u32 m_total { 0 };
|
||||
u64 m_loaded { 0 };
|
||||
u64 m_total { 0 };
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -4,8 +4,8 @@ interface ProgressEvent : Event {
|
||||
constructor(DOMString type, optional ProgressEventInit eventInitDict = {});
|
||||
|
||||
readonly attribute boolean lengthComputable;
|
||||
readonly attribute unsigned long loaded;
|
||||
readonly attribute unsigned long total;
|
||||
readonly attribute unsigned long long loaded;
|
||||
readonly attribute unsigned long long total;
|
||||
};
|
||||
|
||||
dictionary ProgressEventInit : EventInit {
|
||||
|
Loading…
Reference in New Issue
Block a user