Implementation:SeleniumHQ Selenium Closure Window
Appearance
| Knowledge Sources | |
|---|---|
| Domains | JavaScript_Atoms, Vendored_Library |
| Last Updated | 2026-02-12 00:00 GMT |
Overview
Vendored Google Closure Library module providing utilities for window manipulation.
Description
Window manipulation utilities including opening new windows and popups with configurable options (dimensions, toolbar, scrollbars, location bar, referrer control, etc.). Provides safe URL handling via goog.html.SafeUrl integration and supports noreferrer/noopener patterns for security. Defines default popup dimensions (500x690) and target names.
Usage
Consumed internally by Selenium's JavaScript atoms build system.
Code Reference
Source Location
- Repository: SeleniumHQ_Selenium
- File: third_party/closure/goog/window/window.js
Key Exports
goog.provide('goog.window');
// Constants
goog.window.DEFAULT_POPUP_HEIGHT = 500;
goog.window.DEFAULT_POPUP_WIDTH = 690;
goog.window.DEFAULT_POPUP_TARGET = 'google_popup';
// Functions
goog.window.open = function(linkRef, opt_options, opt_parentWin) { ... };
goog.window.openBlank = function(opt_message, opt_options, opt_parentWin) { ... };
goog.window.popup = function(linkRef, opt_options) { ... };
Related Pages
Page Connections
Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment