code: function (sURL, bNewWindow) {
  				assert(isValidString(sURL), this + "#redirect: URL must be a string" );
  				this.fireEvent("redirect", sURL);
  				if (!bNewWindow) {
  					window.location.href = sURL;
  				} else {
  					var oWindow = window.open(sURL, "_blank");
  					if (!oWindow) {
  						Log.error(this + "#redirect: Could not open " + sURL);
  						if (Device.os.windows_phone || (Device.browser.edge && Device.browser.mobile)) {
  							Log.warning("URL will be enforced to open in the same window as a fallback from a known Windows Phone system restriction. Check the documentation for more information.");
  							window.location.href = sURL;
  						}
  					}
  				}
  			}
docs: Redirects to the given URL.
  
  This method fires "redirect" event before opening the URL.
  
  @param {string} sURL Uniform resource locator
  @param {boolean} [bNewWindow] Opens URL in a new browser window or tab. Please note that, opening a new window/tab can be ignored by browsers (e.g. on Windows Phone) or by popup blockers.
  NOTE: On Windows Phone the URL will be enforced to open in the same window if opening in a new window/tab fails (because of a known system restriction on cross-window communications). Use sap.m.Link instead (with blank target) if you necessarily need to open URL in a new window.
  
  @public