Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandMemoryForciblyPurgeJavaScriptMemory + const CommandMemoryGetAllTimeSamplingProfile + const CommandMemoryGetBrowserSamplingProfile + const CommandMemoryGetDOMCounters + const CommandMemoryGetSamplingProfile + const CommandMemoryPrepareForLeakDetection + const CommandMemorySetPressureNotificationsSuppressed + const CommandMemorySimulatePressureNotification + const CommandMemoryStartSampling + const CommandMemoryStopSampling + type ForciblyPurgeJavaScriptMemoryArgs struct + func (a *ForciblyPurgeJavaScriptMemoryArgs) MarshalJSON() ([]byte, error) + func (a *ForciblyPurgeJavaScriptMemoryArgs) UnmarshalJSON(b []byte) error + type ForciblyPurgeJavaScriptMemoryReply struct + func (a *ForciblyPurgeJavaScriptMemoryReply) GetFrameID() string + func (a *ForciblyPurgeJavaScriptMemoryReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ForciblyPurgeJavaScriptMemoryReply) UnmarshalJSON(b []byte) error + type GetAllTimeSamplingProfileArgs struct + func (a *GetAllTimeSamplingProfileArgs) MarshalJSON() ([]byte, error) + func (a *GetAllTimeSamplingProfileArgs) UnmarshalJSON(b []byte) error + type GetAllTimeSamplingProfileReply struct + Profile SamplingProfile + func (a *GetAllTimeSamplingProfileReply) GetFrameID() string + func (a *GetAllTimeSamplingProfileReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetAllTimeSamplingProfileReply) UnmarshalJSON(b []byte) error + type GetBrowserSamplingProfileArgs struct + func (a *GetBrowserSamplingProfileArgs) MarshalJSON() ([]byte, error) + func (a *GetBrowserSamplingProfileArgs) UnmarshalJSON(b []byte) error + type GetBrowserSamplingProfileReply struct + Profile SamplingProfile + func (a *GetBrowserSamplingProfileReply) GetFrameID() string + func (a *GetBrowserSamplingProfileReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetBrowserSamplingProfileReply) UnmarshalJSON(b []byte) error + type GetDOMCountersArgs struct + func (a *GetDOMCountersArgs) MarshalJSON() ([]byte, error) + func (a *GetDOMCountersArgs) UnmarshalJSON(b []byte) error + type GetDOMCountersReply struct + Documents int + JsEventListeners int + Nodes int + func (a *GetDOMCountersReply) GetFrameID() string + func (a *GetDOMCountersReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetDOMCountersReply) UnmarshalJSON(b []byte) error + type GetSamplingProfileArgs struct + func (a *GetSamplingProfileArgs) MarshalJSON() ([]byte, error) + func (a *GetSamplingProfileArgs) UnmarshalJSON(b []byte) error + type GetSamplingProfileReply struct + Profile SamplingProfile + func (a *GetSamplingProfileReply) GetFrameID() string + func (a *GetSamplingProfileReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetSamplingProfileReply) UnmarshalJSON(b []byte) error + type Module struct + BaseAddress string + Name string + Size float64 + UUID string + type PrepareForLeakDetectionArgs struct + func (a *PrepareForLeakDetectionArgs) MarshalJSON() ([]byte, error) + func (a *PrepareForLeakDetectionArgs) UnmarshalJSON(b []byte) error + type PrepareForLeakDetectionReply struct + func (a *PrepareForLeakDetectionReply) GetFrameID() string + func (a *PrepareForLeakDetectionReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *PrepareForLeakDetectionReply) UnmarshalJSON(b []byte) error + type PressureLevel string + const PressureLevelCritical + const PressureLevelModerate + const PressureLevelNotSet + func (e PressureLevel) String() string + func (e PressureLevel) Valid() bool + type SamplingProfile struct + Modules []Module + Samples []SamplingProfileNode + type SamplingProfileNode struct + Size float64 + Stack []string + Total float64 + type SetPressureNotificationsSuppressedArgs struct + Suppressed bool + func (a *SetPressureNotificationsSuppressedArgs) MarshalJSON() ([]byte, error) + func (a *SetPressureNotificationsSuppressedArgs) UnmarshalJSON(b []byte) error + type SetPressureNotificationsSuppressedReply struct + func (a *SetPressureNotificationsSuppressedReply) GetFrameID() string + func (a *SetPressureNotificationsSuppressedReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SetPressureNotificationsSuppressedReply) UnmarshalJSON(b []byte) error + type SimulatePressureNotificationArgs struct + Level PressureLevel + func (a *SimulatePressureNotificationArgs) MarshalJSON() ([]byte, error) + func (a *SimulatePressureNotificationArgs) UnmarshalJSON(b []byte) error + type SimulatePressureNotificationReply struct + func (a *SimulatePressureNotificationReply) GetFrameID() string + func (a *SimulatePressureNotificationReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *SimulatePressureNotificationReply) UnmarshalJSON(b []byte) error + type StartSamplingArgs struct + SamplingInterval int + SuppressRandomness bool + func (a *StartSamplingArgs) MarshalJSON() ([]byte, error) + func (a *StartSamplingArgs) UnmarshalJSON(b []byte) error + type StartSamplingReply struct + func (a *StartSamplingReply) GetFrameID() string + func (a *StartSamplingReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StartSamplingReply) UnmarshalJSON(b []byte) error + type StopSamplingArgs struct + func (a *StopSamplingArgs) MarshalJSON() ([]byte, error) + func (a *StopSamplingArgs) UnmarshalJSON(b []byte) error + type StopSamplingReply struct + func (a *StopSamplingReply) GetFrameID() string + func (a *StopSamplingReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *StopSamplingReply) UnmarshalJSON(b []byte) error