Page MenuHomePhabricator

using document.write() within a CentralNotice banner can cause a blank page
Closed, DeclinedPublic

Description

Since the deploy of the new banner loading code, using document.write() within a CentralNotice banner can occasionally cause the page to be replaced with the contents of the document.write() function. This only happens every once in a while and thus is likely to be the result of some race condition in Javascript loading. Requires more investigation.


Version: unspecified
Severity: minor

Details

Reference
bz25356

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 11:20 PM
bzimport set Reference to bz25356.

Since there is no safe way to include document.write() elements we've communicated to our banner authors that they should not be used.