| 1 | ##---------------------------------------------------------------------------- | ||||||||||||
| 2 | ## HTML Object - ~/lib/HTML/Object/DOM/Window.pm | ||||||||||||
| 3 | ## Version v0.2.0_1 | ||||||||||||
| 4 | ## Copyright(c) 2022 DEGUEST Pte. Ltd. | ||||||||||||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||||||||||||
| 6 | ## Created 2021/12/31 | ||||||||||||
| 7 | ## Modified 2026/03/29 | ||||||||||||
| 8 | ## All rights reserved. | ||||||||||||
| 9 | ## | ||||||||||||
| 10 | ## | ||||||||||||
| 11 | ## This program is free software; you can redistribute it and/or modify it | ||||||||||||
| 12 | ## under the same terms as Perl itself. | ||||||||||||
| 13 | ##---------------------------------------------------------------------------- | ||||||||||||
| 14 | package HTML::Object::DOM::Window; | ||||||||||||
| 15 | BEGIN | ||||||||||||
| 16 | 35 | ▶ | { | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 17 | 35 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 18 | 35 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 19 | 35 | warnings::register_categories( 'HTML::Object' ); | |||||||||||
| 20 | 35 | ▶ | use parent qw( HTML::Object::EventTarget ); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 21 | 35 | ▶ | use vars qw( @LVALUE_METHODS $VERSION ); | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 22 | # perl -nE 'print if( s,^sub (\w+) : lvalue.*?$,$1, )' ./lib/HTML/Object/DOM/Window.pm | tr "\n" " " | ||||||||||||
| 23 | 35 | our @LVALUE_METHODS = qw( closed document event frames fullScreen innerHeight innerWidth isSecureContext location name onappinstalled onbeforeinstallprompt ondevicemotion ondeviceorientation ondeviceorientationabsolute ondeviceproximity onerror ongamepadconnected ongamepaddisconnected onlanguagechange onorientationchange onrejectionhandled onresize onstorage onuserproximity onvrdisplayactivate onvrdisplayblur onvrdisplayconnect onvrdisplaydeactivate onvrdisplaydisconnect onvrdisplayfocus onvrdisplaypresentchange outerHeight outerWidth parent screen scrollX scrollY self status top visualViewport ); | |||||||||||
| 24 | 35 | our $VERSION = 'v0.2.0_1'; | |||||||||||
| 25 | }; | ||||||||||||
| 26 | |||||||||||||
| 27 | 35 | ▶ | use strict; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 28 | 35 | ▶ | use warnings; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 29 | |||||||||||||
| 30 | sub init | ||||||||||||
| 31 | 92 | ▶ | { | ||||||||||
|
Subroutine
init: called CC=2 SCAR=7.0
Pod
documented
| |||||||||||||
| 32 | 92 | my $self = shift( @_ ); | |||||||||||
| 33 | 92 | $self->{captureEvents} = 0; | |||||||||||
| 34 | 92 | $self->{fullscreen} = 0; | |||||||||||
| 35 | 92 | $self->{issecurecontext} = 1; | |||||||||||
| 36 | 92 | $self->{_init_strict_use_sub} = 1; | |||||||||||
| 37 | 92 | ▶ | $self->SUPER::init( @_ ) || return( $self->pass_error ); | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 38 | 92 | return( $self ); | |||||||||||
| 39 | } | ||||||||||||
| 40 | |||||||||||||
| 41 | 0 | ▶ | sub alert { shift; return( warn( @_ ) ); } | ||||||||||
|
Subroutine
alert: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 42 | |||||||||||||
| 43 | 0 | ▶ | sub blur { return; } | ||||||||||
|
Subroutine
blur: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 44 | |||||||||||||
| 45 | 0 | ▶ | sub cancelAnimationFrame { return; } | ||||||||||
|
Subroutine
cancelAnimationFrame: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 46 | |||||||||||||
| 47 | 0 | ▶ | sub cancelIdleCallback { return; } | ||||||||||
|
Subroutine
cancelIdleCallback: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 48 | |||||||||||||
| 49 | sub captureEvents | ||||||||||||
| 50 | 0 | ▶ | { | ||||||||||
|
Subroutine
captureEvents: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 51 | 0 | my $self = shift( @_ ); | |||||||||||
| 52 | 0 | my $bit = shift( @_ ); | |||||||||||
| 53 | 0 | return( $self->{captured_events} |= $bit ); | |||||||||||
| 54 | } | ||||||||||||
| 55 | |||||||||||||
| 56 | 0 | ▶ | sub clearImmediate { return; } | ||||||||||
|
Subroutine
clearImmediate: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 57 | |||||||||||||
| 58 | # Note: property clientInformation read-only | ||||||||||||
| 59 | 0 | ▶ | sub clientInformation { return; } | ||||||||||
|
Subroutine
clientInformation: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 60 | |||||||||||||
| 61 | 0 | ▶ | sub close { return( shift->closed(1) ); } | ||||||||||
|
Subroutine
close: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 62 | |||||||||||||
| 63 | # Note: property closed read-only | ||||||||||||
| 64 | 0 | ▶ | sub closed : lvalue { return( shift->_set_get_boolean( 'closed', @_ ) ); } | ||||||||||
|
Subroutine
closed: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 65 | |||||||||||||
| 66 | 0 | ▶ | sub confirm { return; } | ||||||||||
|
Subroutine
confirm: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 67 | |||||||||||||
| 68 | # Note: property console read-only | ||||||||||||
| 69 | 0 | ▶ | sub console { return; } | ||||||||||
|
Subroutine
console: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 70 | |||||||||||||
| 71 | # Note: property crypto read-only | ||||||||||||
| 72 | 0 | ▶ | sub crypto { return; } | ||||||||||
|
Subroutine
crypto: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 73 | |||||||||||||
| 74 | # Note: property customElements read-only | ||||||||||||
| 75 | 0 | ▶ | sub customElements { return; } | ||||||||||
|
Subroutine
customElements: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 76 | |||||||||||||
| 77 | # Note: property devicePixelRatio read-only | ||||||||||||
| 78 | 0 | ▶ | sub devicePixelRatio { return; } | ||||||||||
|
Subroutine
devicePixelRatio: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 79 | |||||||||||||
| 80 | # Note: property document read-only | ||||||||||||
| 81 | 0 | ▶ | sub document : lvalue { return( shift->_set_get_object_lvalue( 'document', 'HTML::Object::DOM::Document', @_ ) ); } | ||||||||||
|
Subroutine
document: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 82 | |||||||||||||
| 83 | # Note: property DOMMatrix read-only | ||||||||||||
| 84 | 0 | ▶ | sub DOMMatrix { return; } | ||||||||||
|
Subroutine
DOMMatrix: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 85 | |||||||||||||
| 86 | # Note: property DOMMatrixReadOnly read-only | ||||||||||||
| 87 | 0 | ▶ | sub DOMMatrixReadOnly { return; } | ||||||||||
|
Subroutine
DOMMatrixReadOnly: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 88 | |||||||||||||
| 89 | # Note: property DOMPoint read-only | ||||||||||||
| 90 | 0 | ▶ | sub DOMPoint { return; } | ||||||||||
|
Subroutine
DOMPoint: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 91 | |||||||||||||
| 92 | # Note: property DOMPointReadOnly read-only | ||||||||||||
| 93 | 0 | ▶ | sub DOMPointReadOnly { return; } | ||||||||||
|
Subroutine
DOMPointReadOnly: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 94 | |||||||||||||
| 95 | # Note: property DOMQuad read-only | ||||||||||||
| 96 | 0 | ▶ | sub DOMQuad { return; } | ||||||||||
|
Subroutine
DOMQuad: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 97 | |||||||||||||
| 98 | # Note: property DOMRect read-only | ||||||||||||
| 99 | 0 | ▶ | sub DOMRect { return; } | ||||||||||
|
Subroutine
DOMRect: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 100 | |||||||||||||
| 101 | # Note: property DOMRectReadOnly read-only | ||||||||||||
| 102 | 0 | ▶ | sub DOMRectReadOnly { return; } | ||||||||||
|
Subroutine
DOMRectReadOnly: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 103 | |||||||||||||
| 104 | sub dump | ||||||||||||
| 105 | 0 | ▶ | { | ||||||||||
|
Subroutine
dump: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 106 | 0 | my $self = shift( @_ ); | |||||||||||
| 107 | 0 | ▶ | $self->_load_class( 'Data::Dump' ) || return( $self->pass_error ); | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 108 | 0 | return( print( STDERR Data::Dump::dump( @_ ), "\n" ) ); | |||||||||||
| 109 | } | ||||||||||||
| 110 | |||||||||||||
| 111 | # Note: property event read-only | ||||||||||||
| 112 | 0 | ▶ | sub event : lvalue { return( shift->_set_get_object_lvalue( 'event', 'HTML::Object::Event', @_ ) ); } | ||||||||||
|
Subroutine
event: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 113 | |||||||||||||
| 114 | 0 | ▶ | sub find { return; } | ||||||||||
|
Subroutine
find: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 115 | |||||||||||||
| 116 | 0 | ▶ | sub focus { return; } | ||||||||||
|
Subroutine
focus: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 117 | |||||||||||||
| 118 | # Note: property frameElement read-only | ||||||||||||
| 119 | 0 | ▶ | sub frameElement { return; } | ||||||||||
|
Subroutine
frameElement: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 120 | |||||||||||||
| 121 | # Note: property frames read-only | ||||||||||||
| 122 | 0 | ▶ | sub frames : lvalue | ||||||||||
|
Subroutine
frames: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 123 | { | ||||||||||||
| 124 | 0 | my $self = shift( @_ ); | |||||||||||
| 125 | 0 | my $results = $self->new_array; | |||||||||||
| 126 | 0 | ▶ | my $doc = $self->document || return( $results ); | ||||||||||
|
Condition0%0/2
$self->document || (return $results)
MC/DC0%0/1
$self->document || (return $results)
$self->document
Truth table0%0/2
A
A= $self->document
| |||||||||||||
| 127 | 0 | $results = $doc->look_down( _tag => 'iframes' ); | |||||||||||
| 128 | 0 | return( $results ); | |||||||||||
| 129 | } | ||||||||||||
| 130 | |||||||||||||
| 131 | # Note: property fullScreen | ||||||||||||
| 132 | 0 | ▶ | sub fullScreen : lvalue { return( shift->_set_get_boolean( 'fullscreen', @_ ) ); } | ||||||||||
|
Subroutine
fullScreen: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 133 | |||||||||||||
| 134 | 0 | ▶ | sub getComputedStyle { return; } | ||||||||||
|
Subroutine
getComputedStyle: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 135 | |||||||||||||
| 136 | 0 | ▶ | sub getDefaultComputedStyle { return; } | ||||||||||
|
Subroutine
getDefaultComputedStyle: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 137 | |||||||||||||
| 138 | 0 | ▶ | sub getSelection { return; } | ||||||||||
|
Subroutine
getSelection: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 139 | |||||||||||||
| 140 | # Note: property history read-only | ||||||||||||
| 141 | 0 | ▶ | sub history { return; } | ||||||||||
|
Subroutine
history: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 142 | |||||||||||||
| 143 | # Note: property innerHeight read-only | ||||||||||||
| 144 | 0 | ▶ | sub innerHeight : lvalue { return( shift->_set_get_number( 'innerheight', @_ ) ); } | ||||||||||
|
Subroutine
innerHeight: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 145 | |||||||||||||
| 146 | # Note: property innerWidth read-only | ||||||||||||
| 147 | 0 | ▶ | sub innerWidth : lvalue { return( shift->_set_get_number( 'innerwidth', @_ ) ); } | ||||||||||
|
Subroutine
innerWidth: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 148 | |||||||||||||
| 149 | # Note: property isSecureContext read-only | ||||||||||||
| 150 | 0 | ▶ | sub isSecureContext : lvalue { return( shift->_set_get_boolean( 'issecurecontext', @_ ) ); } | ||||||||||
|
Subroutine
isSecureContext: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 151 | |||||||||||||
| 152 | # Note: property length read-only | ||||||||||||
| 153 | 0 | ▶ | sub length { return( shift->frames->length ); } | ||||||||||
|
Subroutine
length: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 154 | |||||||||||||
| 155 | # Note: property localStorage read-only | ||||||||||||
| 156 | 0 | ▶ | sub localStorage { return; } | ||||||||||
|
Subroutine
localStorage: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 157 | |||||||||||||
| 158 | # Note: property location | ||||||||||||
| 159 | 0 | ▶ | sub location : lvalue { return( shift->_set_get_uri( 'location', @_ ) ); } | ||||||||||
|
Subroutine
location: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 160 | |||||||||||||
| 161 | # Note: property locationbar read-only | ||||||||||||
| 162 | 0 | ▶ | sub locationbar { return; } | ||||||||||
|
Subroutine
locationbar: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 163 | |||||||||||||
| 164 | 0 | ▶ | sub matchMedia { return; } | ||||||||||
|
Subroutine
matchMedia: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 165 | |||||||||||||
| 166 | # Note: property menubar read-only | ||||||||||||
| 167 | 0 | ▶ | sub menubar { return; } | ||||||||||
|
Subroutine
menubar: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 168 | |||||||||||||
| 169 | # Note: property messageManager | ||||||||||||
| 170 | 0 | ▶ | sub messageManager { return; } | ||||||||||
|
Subroutine
messageManager: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 171 | |||||||||||||
| 172 | 0 | ▶ | sub moveBy { return; } | ||||||||||
|
Subroutine
moveBy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 173 | |||||||||||||
| 174 | 0 | ▶ | sub moveTo { return; } | ||||||||||
|
Subroutine
moveTo: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 175 | |||||||||||||
| 176 | # Note: property mozInnerScreenX read-only | ||||||||||||
| 177 | 0 | ▶ | sub mozInnerScreenX { return; } | ||||||||||
|
Subroutine
mozInnerScreenX: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 178 | |||||||||||||
| 179 | # Note: property mozInnerScreenY read-only | ||||||||||||
| 180 | 0 | ▶ | sub mozInnerScreenY { return; } | ||||||||||
|
Subroutine
mozInnerScreenY: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 181 | |||||||||||||
| 182 | # Note: property name | ||||||||||||
| 183 | 0 | ▶ | sub name : lvalue { return( shift->_set_get_scalar_as_object( 'name', @_ ) ); } | ||||||||||
|
Subroutine
name: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 184 | |||||||||||||
| 185 | # Note: property navigator read-only | ||||||||||||
| 186 | 0 | ▶ | sub navigator { return; } | ||||||||||
|
Subroutine
navigator: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 187 | |||||||||||||
| 188 | 0 | ▶ | sub onappinstalled : lvalue { return( shift->on( 'appinstalled', @_ ) ); } | ||||||||||
|
Subroutine
onappinstalled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 189 | |||||||||||||
| 190 | 0 | ▶ | sub onbeforeinstallprompt : lvalue { return( shift->on( 'beforeinstallprompt', @_ ) ); } | ||||||||||
|
Subroutine
onbeforeinstallprompt: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 191 | |||||||||||||
| 192 | 0 | ▶ | sub ondevicemotion : lvalue { return( shift->on( 'devicemotion', @_ ) ); } | ||||||||||
|
Subroutine
ondevicemotion: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 193 | |||||||||||||
| 194 | 0 | ▶ | sub ondeviceorientation : lvalue { return( shift->on( 'deviceorientation', @_ ) ); } | ||||||||||
|
Subroutine
ondeviceorientation: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 195 | |||||||||||||
| 196 | 0 | ▶ | sub ondeviceorientationabsolute : lvalue { return( shift->on( 'deviceorientationabsolute', @_ ) ); } | ||||||||||
|
Subroutine
ondeviceorientationabsolute: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 197 | |||||||||||||
| 198 | 0 | ▶ | sub ondeviceproximity : lvalue { return( shift->on( 'deviceproximity', @_ ) ); } | ||||||||||
|
Subroutine
ondeviceproximity: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 199 | |||||||||||||
| 200 | 0 | ▶ | sub onerror : lvalue { return( shift->on( 'error', @_ ) ); } | ||||||||||
|
Subroutine
onerror: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 201 | |||||||||||||
| 202 | 0 | ▶ | sub ongamepadconnected : lvalue { return( shift->on( 'gamepadconnected', @_ ) ); } | ||||||||||
|
Subroutine
ongamepadconnected: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 203 | |||||||||||||
| 204 | 0 | ▶ | sub ongamepaddisconnected : lvalue { return( shift->on( 'gamepaddisconnected', @_ ) ); } | ||||||||||
|
Subroutine
ongamepaddisconnected: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 205 | |||||||||||||
| 206 | 0 | ▶ | sub onlanguagechange : lvalue { return( shift->on( 'languagechange', @_ ) ); } | ||||||||||
|
Subroutine
onlanguagechange: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 207 | |||||||||||||
| 208 | 0 | ▶ | sub onorientationchange : lvalue { return( shift->on( 'orientationchange', @_ ) ); } | ||||||||||
|
Subroutine
onorientationchange: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 209 | |||||||||||||
| 210 | 0 | ▶ | sub onrejectionhandled : lvalue { return( shift->on( 'rejectionhandled', @_ ) ); } | ||||||||||
|
Subroutine
onrejectionhandled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 211 | |||||||||||||
| 212 | 0 | ▶ | sub onresize : lvalue { return( shift->on( 'resize', @_ ) ); } | ||||||||||
|
Subroutine
onresize: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 213 | |||||||||||||
| 214 | 0 | ▶ | sub onstorage : lvalue { return( shift->on( 'storage', @_ ) ); } | ||||||||||
|
Subroutine
onstorage: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 215 | |||||||||||||
| 216 | 0 | ▶ | sub onuserproximity : lvalue { return( shift->on( 'userproximity', @_ ) ); } | ||||||||||
|
Subroutine
onuserproximity: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 217 | |||||||||||||
| 218 | 0 | ▶ | sub onvrdisplayactivate : lvalue { return( shift->on( 'vrdisplayactivate', @_ ) ); } | ||||||||||
|
Subroutine
onvrdisplayactivate: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 219 | |||||||||||||
| 220 | 0 | ▶ | sub onvrdisplayblur : lvalue { return( shift->on( 'vrdisplayblur', @_ ) ); } | ||||||||||
|
Subroutine
onvrdisplayblur: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 221 | |||||||||||||
| 222 | 0 | ▶ | sub onvrdisplayconnect : lvalue { return( shift->on( 'vrdisplayconnect', @_ ) ); } | ||||||||||
|
Subroutine
onvrdisplayconnect: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 223 | |||||||||||||
| 224 | 0 | ▶ | sub onvrdisplaydeactivate : lvalue { return( shift->on( 'vrdisplaydeactivate', @_ ) ); } | ||||||||||
|
Subroutine
onvrdisplaydeactivate: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 225 | |||||||||||||
| 226 | 0 | ▶ | sub onvrdisplaydisconnect : lvalue { return( shift->on( 'vrdisplaydisconnect', @_ ) ); } | ||||||||||
|
Subroutine
onvrdisplaydisconnect: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 227 | |||||||||||||
| 228 | 0 | ▶ | sub onvrdisplayfocus : lvalue { return( shift->on( 'vrdisplayfocus', @_ ) ); } | ||||||||||
|
Subroutine
onvrdisplayfocus: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 229 | |||||||||||||
| 230 | 0 | ▶ | sub onvrdisplaypresentchange : lvalue { return( shift->on( 'vrdisplaypresentchange', @_ ) ); } | ||||||||||
|
Subroutine
onvrdisplaypresentchange: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 231 | |||||||||||||
| 232 | 0 | ▶ | sub open { return( shift->new( @_ ) ); } | ||||||||||
|
Subroutine
open: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 233 | |||||||||||||
| 234 | # Note: property opener | ||||||||||||
| 235 | 0 | ▶ | sub opener { return; } | ||||||||||
|
Subroutine
opener: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 236 | |||||||||||||
| 237 | # Note: property outerHeight read-only | ||||||||||||
| 238 | 0 | ▶ | sub outerHeight : lvalue { return( shift->_set_get_number( 'outerheight', @_ ) ); } | ||||||||||
|
Subroutine
outerHeight: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 239 | |||||||||||||
| 240 | # Note: property outerWidth read-only | ||||||||||||
| 241 | 0 | ▶ | sub outerWidth : lvalue { return( shift->_set_get_number( 'outerwidth', @_ ) ); } | ||||||||||
|
Subroutine
outerWidth: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 242 | |||||||||||||
| 243 | # Note: property pageXOffset read-only | ||||||||||||
| 244 | 0 | ▶ | sub pageXOffset { return; } | ||||||||||
|
Subroutine
pageXOffset: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 245 | |||||||||||||
| 246 | # Note: property pageYOffset read-only | ||||||||||||
| 247 | 0 | ▶ | sub pageYOffset { return; } | ||||||||||
|
Subroutine
pageYOffset: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 248 | |||||||||||||
| 249 | # Note: property parent read-only | ||||||||||||
| 250 | 184 | ▶ | sub parent : lvalue { return( shift->_set_get_object_lvalue({ | ||||||||||
|
Subroutine
parent: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||
| 251 | 184 | field => 'parent', | |||||||||||
| 252 | weaken => 1, | ||||||||||||
| 253 | }, 'HTML::Object::DOM::Window', @_ ) ); } | ||||||||||||
| 254 | |||||||||||||
| 255 | # Note: property performance read-only | ||||||||||||
| 256 | 0 | ▶ | sub performance { return; } | ||||||||||
|
Subroutine
performance: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 257 | |||||||||||||
| 258 | # Note: property personalbar read-only | ||||||||||||
| 259 | 0 | ▶ | sub personalbar { return; } | ||||||||||
|
Subroutine
personalbar: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 260 | |||||||||||||
| 261 | 0 | ▶ | sub postMessage { return; } | ||||||||||
|
Subroutine
postMessage: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 262 | |||||||||||||
| 263 | 0 | ▶ | sub print { return; } | ||||||||||
|
Subroutine
print: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 264 | |||||||||||||
| 265 | 0 | ▶ | sub prompt { return; } | ||||||||||
|
Subroutine
prompt: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 266 | |||||||||||||
| 267 | sub releaseEvents | ||||||||||||
| 268 | 0 | ▶ | { | ||||||||||
|
Subroutine
releaseEvents: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 269 | 0 | my $self = shift( @_ ); | |||||||||||
| 270 | 0 | my $bit = shift( @_ ); | |||||||||||
| 271 | 0 | $self->{captured_events} = ( $self->{captured_events} ^ $bit ); | |||||||||||
| 272 | 0 | return( $self->{captured_events} ); | |||||||||||
| 273 | } | ||||||||||||
| 274 | |||||||||||||
| 275 | 0 | ▶ | sub requestAnimationFrame { return; } | ||||||||||
|
Subroutine
requestAnimationFrame: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 276 | |||||||||||||
| 277 | 0 | ▶ | sub requestIdleCallback { return; } | ||||||||||
|
Subroutine
requestIdleCallback: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 278 | |||||||||||||
| 279 | 0 | ▶ | sub resizeBy { return; } | ||||||||||
|
Subroutine
resizeBy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 280 | |||||||||||||
| 281 | 0 | ▶ | sub resizeTo { return; } | ||||||||||
|
Subroutine
resizeTo: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 282 | |||||||||||||
| 283 | # Note: property screen read-only | ||||||||||||
| 284 | 91 | ▶ | sub screen : lvalue { return( shift->_set_get_object_lvalue( 'screen', 'HTML::Object::DOM::Screen', @_ ) ); } | ||||||||||
|
Subroutine
screen: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||
| 285 | |||||||||||||
| 286 | # Note: property screenX read-only | ||||||||||||
| 287 | 0 | ▶ | sub screenX { return; } | ||||||||||
|
Subroutine
screenX: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 288 | |||||||||||||
| 289 | # Note: property screenY read-only | ||||||||||||
| 290 | 0 | ▶ | sub screenY { return; } | ||||||||||
|
Subroutine
screenY: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 291 | |||||||||||||
| 292 | 0 | ▶ | sub scroll { return; } | ||||||||||
|
Subroutine
scroll: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 293 | |||||||||||||
| 294 | 0 | ▶ | sub scrollBy { return; } | ||||||||||
|
Subroutine
scrollBy: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 295 | |||||||||||||
| 296 | 0 | ▶ | sub scrollByLines { return; } | ||||||||||
|
Subroutine
scrollByLines: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 297 | |||||||||||||
| 298 | 0 | ▶ | sub scrollByPages { return; } | ||||||||||
|
Subroutine
scrollByPages: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 299 | |||||||||||||
| 300 | # Note: property scrollMaxX read-only | ||||||||||||
| 301 | 0 | ▶ | sub scrollMaxX { return; } | ||||||||||
|
Subroutine
scrollMaxX: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 302 | |||||||||||||
| 303 | # Note: property scrollMaxY read-only | ||||||||||||
| 304 | 0 | ▶ | sub scrollMaxY { return; } | ||||||||||
|
Subroutine
scrollMaxY: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 305 | |||||||||||||
| 306 | 0 | ▶ | sub scrollTo { return; } | ||||||||||
|
Subroutine
scrollTo: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 307 | |||||||||||||
| 308 | # Note: property scrollX read-only | ||||||||||||
| 309 | 0 | ▶ | sub scrollX : lvalue { return( shift->_set_get_number( 'scrollx', @_ ) ); } | ||||||||||
|
Subroutine
scrollX: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 310 | |||||||||||||
| 311 | # Note: property scrollY read-only | ||||||||||||
| 312 | 0 | ▶ | sub scrollY : lvalue { return( shift->_set_get_number( 'scrolly', @_ ) ); } | ||||||||||
|
Subroutine
scrollY: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 313 | |||||||||||||
| 314 | # Note: property scrollbars read-only | ||||||||||||
| 315 | 0 | ▶ | sub scrollbars { return; } | ||||||||||
|
Subroutine
scrollbars: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 316 | |||||||||||||
| 317 | # Note: property self read-only | ||||||||||||
| 318 | 0 | ▶ | sub self : lvalue { return( shift( @_ ) ); } | ||||||||||
|
Subroutine
self: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 319 | |||||||||||||
| 320 | # Note: property sessionStorage | ||||||||||||
| 321 | 0 | ▶ | sub sessionStorage { return; } | ||||||||||
|
Subroutine
sessionStorage: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 322 | |||||||||||||
| 323 | 0 | ▶ | sub setImmediate { return; } | ||||||||||
|
Subroutine
setImmediate: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 324 | |||||||||||||
| 325 | 0 | ▶ | sub setResizable { return; } | ||||||||||
|
Subroutine
setResizable: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 326 | |||||||||||||
| 327 | 0 | ▶ | sub showDirectoryPicker { return; } | ||||||||||
|
Subroutine
showDirectoryPicker: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 328 | |||||||||||||
| 329 | 0 | ▶ | sub showOpenFilePicker { return; } | ||||||||||
|
Subroutine
showOpenFilePicker: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 330 | |||||||||||||
| 331 | 0 | ▶ | sub showSaveFilePicker { return; } | ||||||||||
|
Subroutine
showSaveFilePicker: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 332 | |||||||||||||
| 333 | # Note: property sidebar read-only | ||||||||||||
| 334 | 0 | ▶ | sub sidebar { return; } | ||||||||||
|
Subroutine
sidebar: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 335 | |||||||||||||
| 336 | 0 | ▶ | sub sizeToContent { return; } | ||||||||||
|
Subroutine
sizeToContent: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 337 | |||||||||||||
| 338 | # Note: property speechSynthesis read-only | ||||||||||||
| 339 | 0 | ▶ | sub speechSynthesis { return; } | ||||||||||
|
Subroutine
speechSynthesis: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 340 | |||||||||||||
| 341 | # Note: property status | ||||||||||||
| 342 | 0 | ▶ | sub status : lvalue { return( shift->_set_get_scalar_as_object( 'status', @_ ) ); } | ||||||||||
|
Subroutine
status: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 343 | |||||||||||||
| 344 | # Note: property statusbar read-only | ||||||||||||
| 345 | 0 | ▶ | sub statusbar { return; } | ||||||||||
|
Subroutine
statusbar: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 346 | |||||||||||||
| 347 | 0 | ▶ | sub stop { return; } | ||||||||||
|
Subroutine
stop: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 348 | |||||||||||||
| 349 | # Note: property toolbar read-only | ||||||||||||
| 350 | 0 | ▶ | sub toolbar { return; } | ||||||||||
|
Subroutine
toolbar: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 351 | |||||||||||||
| 352 | # Note: property top read-only | ||||||||||||
| 353 | 0 | ▶ | sub top : lvalue { return( shift->_set_get_object_lvalue( 'top', 'HTML::Object::DOM::Window', @_ ) ); } | ||||||||||
|
Subroutine
top: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 354 | |||||||||||||
| 355 | 0 | ▶ | sub updateCommands { return; } | ||||||||||
|
Subroutine
updateCommands: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 356 | |||||||||||||
| 357 | # Note: property visualViewport read-only | ||||||||||||
| 358 | 0 | ▶ | sub visualViewport : lvalue { return( shift->_set_get_number( 'visualviewport', @_ ) ); } | ||||||||||
|
Subroutine
visualViewport: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 359 | |||||||||||||
| 360 | # Note: property window read-only | ||||||||||||
| 361 | 0 | ▶ | sub window { return( shift( @_ ) ); } | ||||||||||
|
Subroutine
window: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 362 | |||||||||||||
| 363 | 0 | ▶ | sub is_property { return( scalar( grep( /^$_[1]$/i, @LVALUE_METHODS ) ) ); } | ||||||||||
|
Subroutine
is_property: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||
| 364 | |||||||||||||
| 365 | 35 | 1; | |||||||||||
| 366 | # NOTE: POD | ||||||||||||
| 367 | __END__ | ||||||||||||