Lines Matching defs:script
797 // 5. Let script be ? GetOption(options, "script", "string", undefined, undefined).
798 tagElements.script =
803 // 6. If script is not undefined, then
804 // a. If script does not match the unicode_script_subtag production, throw a RangeError exception.
805 if (!tagElements.script->IsUndefined()) {
807 intl::LocaleHelper::ConvertToStdString((JSHandle<EcmaString>::Cast(tagElements.script)));
831 JSHandle<JSTaggedValue> script, JSHandle<JSTaggedValue> region)
854 if (!script->IsUndefined()) {
855 std::string scriptStr = intl::LocaleHelper::ConvertToStdString((JSHandle<EcmaString>::Cast(script)));
959 bool res = BuildOptionsTags(localeString, &builder, tagElements.language, tagElements.script, tagElements.region);