mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1137593 - Switch ChromeNotification from bidi to dir for RTL. r=gerard-majax
This commit is contained in:
parent
542f928b0d
commit
596236f008
@ -232,7 +232,7 @@ let AlertsHelper = {
|
||||
},
|
||||
|
||||
showNotification: function(imageURL, title, text, textClickable, cookie,
|
||||
uid, bidi, lang, dataObj, manifestURL, timestamp,
|
||||
uid, dir, lang, dataObj, manifestURL, timestamp,
|
||||
behavior) {
|
||||
function send(appName, appIcon) {
|
||||
SystemAppProxy._sendCustomEvent(kMozChromeNotificationEvent, {
|
||||
@ -241,7 +241,7 @@ let AlertsHelper = {
|
||||
icon: imageURL,
|
||||
title: title,
|
||||
text: text,
|
||||
bidi: bidi,
|
||||
dir: dir,
|
||||
lang: lang,
|
||||
appName: appName,
|
||||
appIcon: appIcon,
|
||||
@ -276,7 +276,7 @@ let AlertsHelper = {
|
||||
let dataObj = this.deserializeStructuredClone(data.dataStr);
|
||||
this.registerListener(data.name, data.cookie, data.alertListener);
|
||||
this.showNotification(data.imageURL, data.title, data.text,
|
||||
data.textClickable, data.cookie, data.name, data.bidi,
|
||||
data.textClickable, data.cookie, data.name, data.dir,
|
||||
data.lang, dataObj, null, data.inPrivateBrowsing);
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user