Bug ID 619486: Scripts on rewritten pages could fail with JavaScript exception if application code modifies window.self

Last Modified: Apr 28, 2025

Affected Product(s):
BIG-IP APM(all modules)

Known Affected Versions:
11.6.1, 11.6.1 HF1, 11.6.1 HF2, 12.0.0, 12.0.0 HF1, 12.0.0 HF2, 12.0.0 HF3, 12.0.0 HF4, 12.1.0, 12.1.0 HF1, 12.1.0 HF2, 12.1.1, 12.1.1 HF1, 12.1.1 HF2, 12.1.2

Fixed In:
13.0.0, 12.1.2 HF1, 11.6.2

Opened: Sep 29, 2016

Severity: 3-Major

Symptoms

Attempts to call some JavaScript methods (such as XMLHttpRequest.open) on a page accessed through Portal Access could fail if application modifies window.self builtin object. As a result, the application will stop working and optionally log an undefined variable/reference exception into Developer Tools console. To verify that window.self is modified, run 'window.self == window' command in Developer Tools console of the page with error and check if it returns 'false'.

Impact

Affected web-applications will not work when accessed through Portal Access.

Conditions

This can occur if a web application has javascript that modifies the value of window.self.

Workaround

None

Fix Information

Scripts on pages accessed through Portal Access are no longer failing when web application code modifies window.self.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips