зеркало из https://github.com/mozilla/gecko-dev.git
Bug 387163 - "Build ID screwed up in trunk" [p=reed r=bsmedberg]
This commit is contained in:
Родитель
099a6eeef5
Коммит
4d1b0b31d3
|
@ -87,10 +87,7 @@
|
|||
var list = document.getElementById("aboutPageList");
|
||||
var listItem = list.appendChild(document.createElement("li"));
|
||||
listItem.appendChild(document.createTextNode("&about.buildIdentifier;"));
|
||||
// replace the shortened 8-digit build id in the UA with the full 10-digit
|
||||
// build id from navigator.buildID
|
||||
var newUA = ua.replace(/\/\d{8}/, "/" + navigator.buildID);
|
||||
listItem.appendChild(document.createTextNode(newUA));
|
||||
listItem.appendChild(document.createTextNode(ua));
|
||||
}
|
||||
</script>
|
||||
</ul>
|
||||
|
|
Загрузка…
Ссылка в новой задаче