Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Issue #31 - moar advanced workaround

  • Loading branch information...
commit 5e0db21c951c8c83a3c636d6207fc0e4ad289ed5 1 parent 2687864
@xabolcs authored
Showing with 9 additions and 4 deletions.
  1. +9 −4 extension/chrome/content/suite.js
View
13 extension/chrome/content/suite.js
@@ -37,11 +37,12 @@ init: function()
var debugQABundle = document.getElementById("debugQANavigatorBundle");
if (debugQABundle) {
- var titlemodifier = debugQABundle.getFormattedString("titlemodifier",
+ var debugQAModifier = debugQABundle.getFormattedString("titlemodifier",
[nightly.variables.name,
nightly.variables.appbuildid]);
- if (document.documentElement.getAttribute("titlemodifier") === titlemodifier){
+ var docModifier = document.documentElement.getAttribute("titlemodifier");
+ if (docModifier === debugQAModifier) {
nightlyApp.debugQATitleModifierWorkaround = nightly.variables.name;
}
}
@@ -75,8 +76,12 @@ getWindowTitleForNavigator: function (aBrowser) {
var docTitle;
var docElement = document.documentElement;
var sep = docElement.getAttribute("titlemenuseparator");
- var modifier = nightlyApp.debugQATitleModifierWorkaround ||
- docElement.getAttribute("titlemodifier");
+ var modifier = "";
+
+ if (!Application.platformIsMac) {
+ modifier = nightlyApp.debugQATitleModifierWorkaround ||
+ docElement.getAttribute("titlemodifier");
+ }
if (aBrowser.docShell.contentViewer)
docTitle = aBrowser.contentTitle;
Please sign in to comment.
Something went wrong with that request. Please try again.