Revision 101867 of Chrome Registration

  • Revision slug: Talk:Chrome_Registration
  • Revision title: Chrome Registration
  • Revision id: 101867
  • Created:
  • Creator: Lawrenceward
  • Is current revision? No
  • Comment 158 words added

Revision Content

appversion example

I don't really understand how to use appversion from the text here; certainly an inclusion of an appversion use in the example would help --EyalRozenberg 02:59, 27 December 2007 (PST)

xpcnativewrapper

quoting: "As of the first Firefox 1.5 beta release, this flag will be enabled by default,"

Is this now the case ? If true, I think present tense should be used instead of future for more clartiy. --Ricky 17:16, 31 May 2006 (PDT)

Multiple values for a single flag

Can you set multiple values for a single flag? For example, if a line should apply to two apps, does application={guid1},{guid2} or application={guid1} application={guid2} work?--Np 21:21, 28 September 2006 (PDT)

The flags are ANDed together, so application={id1} application={id2} wouldn't match anything

That's not what you wrote earlier...--Np 21:26, 1 October 2006 (PDT)

Which manifests are read

We need documentation on what locations does Firefox/XULRunner search for chrome manifest files. (The logic in nsChromeRegistry::CheckForNewChrome and nsXREDirProvider::GetFilesInternal in the case of NS_CHROME_MANIFESTS_FILE_LIST) --Nickolay 12:31, 6 November 2006 (PST)

override 'recursiveness'

The note I added isn't all that clear, I suppose. I'm not sure how to word it better, but the idea is that while this rule:

content foo bar/

will also give chrome privileges (and chrome:// url alternatives) for every child file and subfolder of bar/,

override chrome://foo/content/bar/ bar/

will not. GijsKruitbosch 13:36, 20 May 2007 (PDT)

override not working as expected

ive tried overriding some of the browser's chrome in the 2 following ways, neither of which worked:

#Method 1 - chromelist tells me theres some problem with this...
override chrome://global/content/printdialog.xul with chrome://lwrext/content/printdialog.
xul
#Method 2 - nothing complains, opening the overrided url directly does open what i need...
# but clicking on file > print does the old thing
override chrome://global/content/printdialog.
xul with file:content/printdialog.xul

ive tried reloading the chrome, checked that a lot of  about:config settings are set, restarted firfox many times...but to no avail. i dont know where to go with this. mozillazine wont let me post, irc.mozilla.org just never connects.

 

Revision Source

<h2 name="appversion_example">appversion example</h2>
<p>I don't really understand how to use appversion from the text here; certainly an inclusion of an appversion use in the example would help --<a href="/User:EyalRozenberg" title="User:EyalRozenberg">EyalRozenberg</a> 02:59, 27 December 2007 (PST)</p>
<h2 name="xpcnativewrapper">xpcnativewrapper</h2>
<p>quoting: "As of the first Firefox 1.5 beta release, this flag will be enabled by default,"</p>
<p>Is this now the case ? If true, I think present tense should be used instead of future for more clartiy. --<a href="/User:Ricky" title="User:Ricky">Ricky</a> 17:16, 31 May 2006 (PDT)</p>
<h2 name="Multiple_values_for_a_single_flag">Multiple values for a single flag</h2>
<p>Can you set multiple values for a single flag? For example, if a line should apply to two apps, does <code>application={guid1},{guid2}</code> or <code>application={guid1} application={guid2}</code> work?--<a href="/User:Np" title="User:Np">Np</a> 21:21, 28 September 2006 (PDT)</p>
<p>The flags are ANDed together, so application={id1} application={id2} wouldn't match anything</p>
<dl><dd>That's not <a class="external" href="/p?title=Chrome_Registration" title="p?title=Chrome_Registration">what you wrote earlier</a>...--<a href="/User:Np" title="User:Np">Np</a> 21:26, 1 October 2006 (PDT) </dd></dl>
<h3 name="Which_manifests_are_read">Which manifests are read</h3>
<p>We need documentation on what locations does Firefox/XULRunner search for chrome manifest files. (The logic in nsChromeRegistry::CheckForNewChrome and nsXREDirProvider::GetFilesInternal in the case of NS_CHROME_MANIFESTS_FILE_LIST) --<a href="/User:Nickolay" title="User:Nickolay">Nickolay</a> 12:31, 6 November 2006 (PST)</p>
<h3 name="override_.27recursiveness.27">override 'recursiveness'</h3>
<p>The note I added isn't all that clear, I suppose. I'm not sure how to word it better, but the idea is that while this rule:</p>
<pre class="eval">content foo bar/
</pre>
<p>will also give chrome privileges (and <a class=" external" href="chrome://" rel="freelink">chrome://</a> url alternatives) for every child file and subfolder of bar/,</p>
<pre class="eval">override <a class=" external" href="chrome://foo/content/bar/" rel="freelink">chrome://foo/content/bar/</a> bar/
</pre>
<p>will not. <a href="/User:GijsKruitbosch" title="User:GijsKruitbosch">GijsKruitbosch</a> 13:36, 20 May 2007 (PDT)</p>
<h3 name="override_.27recursiveness.27">override not working as expected</h3>
<p>ive tried overriding some of the browser's chrome in the 2 following ways, neither of which worked:</p>
<pre class="eval"><code>#Method 1 - chromelist tells me theres some problem with this...<br>override <a class=" external" href="chrome://global/content/printdialog.xul" rel="freelink">chrome://global/content/printdialog.xul</a> with <a class=" external" href="chrome://lwrext/content/printdialog" rel="freelink">chrome://lwrext/content/printdialog</a>.</code><code>xul </code></pre>
<pre class="eval"><code>#Method 2 - nothing complains, opening the overrided url directly does open what i need...<br>#           but clicking on file &gt; print does the old thing<br>override <a class=" external" href="chrome://global/content/printdialog" rel="freelink">chrome://global/content/printdialog</a>.</code><code>xul </code><code>with file:content/printdialog.</code><code>xul </code></pre>
<p>ive tried reloading the chrome, checked that a lot of  about:config settings are set, restarted firfox many times...but to no avail. i dont know where to go with this. mozillazine wont let me post, irc.mozilla.org just never connects.</p>
<p> </p>
Revert to this revision