#include "third_party/blink/renderer/platform/wtf/text/string_view.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
+#if BUILDFLAG(IS_TIZEN)
+#include "base/command_line.h"
+#include "base/base_switches.h"
+#endif
+
namespace blink {
// Though absl::ascii_isspace() considers \t and \v to be whitespace, Win IE
} else if (key_string == "popup") {
// The 'popup' property explicitly triggers a popup.
popup_state = value ? PopupState::kPopup : PopupState::kWindow;
+#if BUILDFLAG(IS_TIZEN)
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableChrome)) {
+ LOG(INFO) << "Blocking Popup Window";
+ popup_state = PopupState::kWindow;
+ }
+#endif
} else if (key_string == "height" || key_string == "innerheight") {
window_features.height_set = true;
window_features.height = value;