Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Make noreferrer imply noopener
Browse files Browse the repository at this point in the history
RELNOTES[INC]: Setting noreferrer when opening a popup now implies noopener

PiperOrigin-RevId: 461890269
Change-Id: I8a97ebfc2ab0945da8b14acaa01909c8f1618a6c
  • Loading branch information
Closure Team authored and copybara-github committed Jul 19, 2022
1 parent 165fc32 commit 99a2e56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion closure/goog/window/window.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ goog.window.createFakeWindow_ = function() {
* we aim to make this true by default.
*/
goog.window.NOREFERRER_IMPLIES_NOOPENER =
goog.define('goog.window.NOREFERRER_IMPLIES_NOOPENER', goog.DEBUG);
goog.define('goog.window.NOREFERRER_IMPLIES_NOOPENER', true);

/**
* @const forTesting contains a map used for overriding goog.defines for
Expand Down

0 comments on commit 99a2e56

Please # to comment.