HTML::O...owProxy(3)
π HTML::Object::DOM::WindowProxy(3) β the WindowProxy class, bestie edition
okay so you're looking at HTML::Object::DOM::WindowProxy, from the Perl side of the HTML Object DOM universe. Sit down, hydrate, and let's get into it π«Ά
β¨ NAME β¨
HTML::Object::DOM::WindowProxy β the HTML Object DOM WindowProxy Class. that's it, that's the name, she's iconic and she knows it π
β¨ SYNOPSIS β¨
the whole vibe, verbatim:
use HTML::Object::DOM::WindowProxy;
my $proxy = HTML::Object::DOM::WindowProxy->new ||
die( HTML::Object::DOM::WindowProxy->error, "\n" );
literally that's all you need. if new flops, we die with error and a newline. respectful. π
β¨ VERSION β¨
v0.2.0
that's the version, no cap β
β¨ DESCRIPTION β¨
so this interface implements a "WindowProxy". it's a wrapper around HTML::Object::DOM::Window, but β important β it does not inherit from it. bestie is adjacent, not related π
and honestly? it doesn't do anything specific otherwise, other than existing. she's a vibe. she's a wrapper. she's there π
under JavaScript, a "WindowProxy" object is a wrapper for a Window object, periodt. a "WindowProxy" object exists in every browsing context. every single operation you perform on a "WindowProxy" object will also be applied to the underlying Window object it currently wraps. so like, interacting with a WindowProxy object is almost identical to directly interacting with a Window object. same energy, fr fr π
and when a browsing context gets navigated? the Window object that its WindowProxy wraps is changed. she rebrands. she's flexible like that π¦
β¨ INHERITANCE β¨
here's the family tree, exactly as it appears:
+-----------------------+ +---------------------------+ +---------------------------+
| HTML::Object::Element | --> | HTML::Object::EventTarget | --> | HTML::Object::DOM::Window |
+-----------------------+ +---------------------------+ +---------------------------+
look at that lineage. gorgeous. not a single stray +. π
β¨ PROPERTIES β¨
all properties are redirecting to those in HTML::Object::DOM::Window β¨ (yes, all of them β she outsources and we respect the hustle)
β¨ METHODS β¨
same deal: all methods are redirecting to those in HTML::Object::DOM::Window π
β¨ EVENTS & EVENT LISTENERS β¨
you already know: all events and event listeners are redirecting to those in HTML::Object::DOM::Window πΈ
β¨ AUTHOR β¨
Jacques Deguest <jack@deguest.jp> β the main character who wrote this π
β¨ SEE ALSO β¨
- the Mozilla documentation, at
https://developer.mozilla.org/en-US/docs/Glossary/WindowProxyπ¦ - a StackOverlow thread about WindowProxy, at
https://stackoverflow.com/questions/16092835/windowproxy-and-window-objectsβ yes, "StackOverlow", that's how it's spelled in the original and I'm not touching it, iykyk π
β¨ COPYRIGHT & LICENSE β¨
Copyright(c) 2021 DEGUEST Pte. Ltd.
All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π«Ά
okay that's the whole page, you ate that π and just so you know: this was perl v5.42.2, dated 2026-02-15, and you've been reading HTML::O...owProxy(3) the whole time πβ¨π bye bestie!! π
π¦ where this page comes from
- alpine 3.24: perl-html-object-doc 0.6.0-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms