Bug 787289 - Don't copy useless info from about:support. r=dtownsend

This commit is contained in:
Archaeopteryx 2012-09-29 12:32:56 -04:00
parent ec00d0cbc3
commit ecea0b052d
2 changed files with 7 additions and 4 deletions

View File

@ -323,6 +323,9 @@ function createTextForElement(elem) {
}
function generateTextForElement(elem, indent, textFragmentAccumulator) {
if (elem.classList.contains("no-copy"))
return;
// Add a little extra spacing around most elements.
if (elem.tagName != "td")
textFragmentAccumulator.push("\n");

View File

@ -90,7 +90,7 @@
</td>
</tr>
<tr id="profile-row">
<tr id="profile-row" class="no-copy">
<th class="column">
#ifdef XP_WIN
&aboutSupport.appBasicsProfileDirWinMac;
@ -118,7 +118,7 @@
</td>
</tr>
<tr>
<tr class="no-copy">
<th class="column">
&aboutSupport.appBasicsEnabledPlugins;
</th>
@ -138,7 +138,7 @@
</td>
</tr>
<tr>
<tr class="no-copy">
<th class="column">
&aboutSupport.appBasicsCrashIDs;
</th>
@ -148,7 +148,7 @@
</td>
</tr>
<tr>
<tr class="no-copy">
<th class="column">
&aboutSupport.appBasicsMemoryUse;
</th>