browser.dom.window.dump.file

  • Revision slug: Mozilla/Preferences/Preference_reference/browser.dom.window.dump.file
  • Revision title: browser.dom.window.dump.file
  • Revision id: 44789
  • Created:
  • Creator: Archaeopteryx
  • Is current revision? No
  • Comment page created, 131 words added

Revision Content

browser.dom.window.dump.file redirects the ouput of window.dump() calls to a file whose address is specified in this preference if browser.dom.window.dump.enabled is set to true. Changes require an application restart.

  • Type:string
  • Default value:none
  • Exists by default: no
  • Application support: Gecko 1.9.2 {{ geckoRelease("1.9.2") }}
  • Status: Active; last updated 2012-03-18
  • Introduction: Pushed to Nightly on 2009-04-24
  • Bugs: {{ bug("489938") }}

Values

The value holds the file system path for the file in which the content of the window.dump() calls gets written, e.g. C:\dump.txt . It will be created if it doesn't exist yet.

The line breaks have to be in the argument of the dump function, else adjacent dump calls will get logged into the same line.

Revision Source

<p><code>browser.dom.window.dump.file</code> redirects the ouput of <a href="/en/DOM/window.dump" title="window.dump"><code>window.dump()</code></a> calls to a file whose address is specified in this preference if <a href="/en/Mozilla/Preferences/Preference+reference/browser.dom.window.dump.enabled" title="en/Mozilla/Preferences/Preference+reference/browser.dom.window.dump.enabled"><code>browser.dom.window.dump.enabled</code></a> is set to <code>true</code>. Changes require an application restart.</p>
<ul style="display:table;padding: 0;border-left: 2px solid;margin-left:0.5em;"> <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Type:</dfn><code>string</code></li> <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Default value:</dfn>none</li> <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Exists by default:</dfn> no</li> <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Application support:</dfn> Gecko 1.9.2 {{ geckoRelease("1.9.2") }}</li> <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Status:</dfn> Active; last updated 2012-03-18</li> <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Introduction:</dfn> Pushed to Nightly on 2009-04-24</li> <li style="display:table-row;padding: 3px;margin:0;"><dfn style="display:table-cell;padding: 0 5px;border-bottom: none;cursor:inherit;">Bugs:</dfn> {{ bug("489938") }}</li>
</ul>
<h2>Values</h2>
<p>The value holds the file system path for the file in which the content of the <code>window.dump()</code> calls gets written, e.g. <code>C:\dump.txt</code> . It will be created if it doesn't exist yet.</p>
<p>The line breaks have to be in the argument of the dump function, else adjacent dump calls will get logged into the same line.</p>
Revert to this revision