Skip to content

Commit

Permalink
Backed out changeset 3198f930b755 (bug 1312049) for frequent timeouts…
Browse files Browse the repository at this point in the history
… in M(oth) toolkit/content/tests/chrome/test_tooltip.xul on Windows opt and pgo. r=backout a=backout

MozReview-Commit-ID: 9m1YbuXkj
  • Loading branch information
Archaeopteryx committed Oct 29, 2016
1 parent 3813e34 commit 5242f7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions chrome/nsChromeRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -650,11 +650,6 @@ nsChromeRegistry::MustLoadURLRemotely(nsIURI *aURI, bool *aResult)
bool
nsChromeRegistry::GetDirectionForLocale(const nsACString& aLocale)
{
#ifdef ENABLE_INTL_API
nsAutoCString locale(aLocale);
SanitizeForBCP47(locale);
return uloc_isRightToLeft(locale.get());
#else
// first check the intl.uidirection.<locale> preference, and if that is not
// set, check the same preference but with just the first two characters of
// the locale. If that isn't set, default to left-to-right.
Expand All @@ -675,7 +670,6 @@ nsChromeRegistry::GetDirectionForLocale(const nsACString& aLocale)
}

return dir.EqualsLiteral("rtl");
#endif
}

NS_IMETHODIMP_(bool)
Expand Down
2 changes: 0 additions & 2 deletions modules/libpref/init/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -2045,14 +2045,12 @@ pref("intl.ime.hack.on_ime_unaware_apps.fire_key_events_for_composition", false)
// ideographic space will be ignored (i.e., commits with empty string).
pref("intl.ime.remove_placeholder_character_at_commit", false);

#ifndef ENABLE_INTL_API
// these locales have right-to-left UI
pref("intl.uidirection.ar", "rtl");
pref("intl.uidirection.he", "rtl");
pref("intl.uidirection.fa", "rtl");
pref("intl.uidirection.ug", "rtl");
pref("intl.uidirection.ur", "rtl");
#endif

// use en-US hyphenation by default for content tagged with plain lang="en"
pref("intl.hyphenation-alias.en", "en-us");
Expand Down

0 comments on commit 5242f7c

Please sign in to comment.