ScriptState* script_state,
mojom::blink::BadgeValuePtr badge_value,
ExceptionState& exception_state) {
+#if BUILDFLAG(IS_TIZEN_TV)
+ return ScriptPromise::CastUndefined(script_state);
+#endif
if (badge_value->is_number() && badge_value->get_number() == 0)
return ClearAppBadgeHelper(script_state, exception_state);
return ScriptPromise();
}
-#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_FUCHSIA)
+#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_FUCHSIA) && !BUILDFLAG(IS_TIZEN_TV)
// TODO(crbug.com/1413916): The service is implemented in Chrome, so it may
// not be provided in other embedders. Ensure that case is handled properly.
From(script_state).badge_service()->ClearBadge();