mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1108382 - Part 7: Do not use non-standard flag argument of String.prototype.replace in dom/mobileconnection/gonk/. r=echen
This commit is contained in:
parent
ea796feb69
commit
c44060fa7c
@ -338,7 +338,7 @@ MobileConnectionProvider.prototype = {
|
||||
|
||||
let networkTypes = RIL.RIL_PREFERRED_NETWORK_TYPE_TO_GECKO[index];
|
||||
supportedNetworkTypes = networkTypes ?
|
||||
networkTypes.replace("-auto", "", "g").split("/") :
|
||||
networkTypes.replace(/-auto/g, "").split("/") :
|
||||
RIL.GECKO_SUPPORTED_NETWORK_TYPES_DEFAULT.split(",");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user