<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/mozilla.dev.platform</id>
  <title type="text">mozilla.dev.platform Google Group</title>
  <subtitle type="text">
  </subtitle>
  <link href="/group/mozilla.dev.platform/feed/atom_v1_0_msgs.xml" rel="self" title="mozilla.dev.platform feed"/>
  <updated>2010-01-04T05:28:29Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Boris Zbarsky</name>
  <email>bzbar...@mit.edu</email>
  </author>
  <updated>2010-01-04T05:27:49Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/3452311008186655?show_docid=3452311008186655</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/3452311008186655?show_docid=3452311008186655"/>
  <title type="text">Re: DOMContentLoaded</title>
  <summary type="html" xml:space="preserve">
  No, that wouldn&#39;t work. These would: &lt;br&gt; &amp;lt;script src=&amp;quot;some-cgi-script-that-slee ps-for-more-than-400ms&amp;quot;&amp;gt; &lt;br&gt; (or equivalent with httpd.js). &lt;br&gt; &amp;lt;script&amp;gt; &lt;br&gt; var start = new Date; &lt;br&gt; var end = new Date; &lt;br&gt; while (end - start &amp;lt; 400) { &lt;br&gt; end = new Date; &lt;br&gt; } &lt;br&gt; &amp;lt;/script&amp;gt; &lt;br&gt; (Of course with the latter there&#39;s no guarantee that you&#39;ll get back to
  </summary>
  </entry>
  <entry>
  <author>
  <name>John J. Barton</name>
  <email>johnjbar...@johnjbarton.com</email>
  </author>
  <updated>2010-01-04T05:28:29Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/3051983a5cc8373a?show_docid=3051983a5cc8373a</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/3051983a5cc8373a?show_docid=3051983a5cc8373a"/>
  <title type="text">Re: DOMContentLoaded</title>
  <summary type="html" xml:space="preserve">
  Ok good, I think we have sorted this out in Firebug, but we need a test &lt;br&gt; case we can rely on. How can we ensure that DOMContentLoaded is fired no &lt;br&gt; sooner than 400ms in a simple page? Load a script from an non-existent &lt;br&gt; server? &lt;br&gt; jjb
  </summary>
  </entry>
  <entry>
  <author>
  <name>Boris Zbarsky</name>
  <email>bzbar...@mit.edu</email>
  </author>
  <updated>2010-01-03T21:09:54Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/b562b552429cf89e/43593a384793c243?show_docid=43593a384793c243</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/b562b552429cf89e/43593a384793c243?show_docid=43593a384793c243"/>
  <title type="text">Re: nsIWebBrowserFind.findNext fails because there is no primary shell for the document</title>
  <summary type="html" xml:space="preserve">
  OK. That&#39;s not an unexpected state of being for a document which is not &lt;br&gt; being shown (for example, which is loaded in a display:none iframe or &lt;br&gt; the like). &lt;br&gt; Do you have reason to believe there should in fact be a presshell here? &lt;br&gt; -Boris
  </summary>
  </entry>
  <entry>
  <author>
  <name>Boris Zbarsky</name>
  <email>bzbar...@mit.edu</email>
  </author>
  <updated>2010-01-03T21:08:40Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/ab351c9e99698064/f0aee47eca5aa2f1?show_docid=f0aee47eca5aa2f1</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/ab351c9e99698064/f0aee47eca5aa2f1?show_docid=f0aee47eca5aa2f1"/>
  <title type="text">Re: onLocationChange to wyciwyg</title>
  <summary type="html" xml:space="preserve">
  OK.... &lt;br&gt; Fails what where with what JS error? &lt;br&gt; Just like it was before the reload, right? &lt;br&gt; That&#39;s correct. &lt;br&gt; No. wyciwyg is an internal URI scheme used to represent document.write &lt;br&gt; result pages; the location bar shows the thing after the slash which &lt;br&gt; comes after the number which comes after wyciwig://. &lt;br&gt; See also nsIURIFixup.createExposableURI .
  </summary>
  </entry>
  <entry>
  <author>
  <name>brahmana</name>
  <email>om.brahm...@gmail.com</email>
  </author>
  <updated>2010-01-03T19:50:01Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/b562b552429cf89e/b6abbc13162afdad?show_docid=b6abbc13162afdad</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/b562b552429cf89e/b6abbc13162afdad?show_docid=b6abbc13162afdad"/>
  <title type="text">nsIWebBrowserFind.findNext fails because there is no primary shell for the document</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; I am using nsIWebBrowserFind.findNext (from JS) and it always fails &lt;br&gt; with NS_ERROR_INVALID_POINTER. Here is the code snippet that I am &lt;br&gt; working with: &lt;br&gt; // this.browser is the &amp;lt;browser&amp;gt; associated with a tab, got by &lt;br&gt; gBrowser.getBrowserAtIndex(i) &lt;br&gt; var browserFind = this.browser.docShell.getInter face &lt;br&gt; (Ci.nsIWebBrowserFind);
  </summary>
  </entry>
  <entry>
  <author>
  <name>John J. Barton</name>
  <email>johnjbar...@johnjbarton.com</email>
  </author>
  <updated>2010-01-03T18:07:51Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/ab351c9e99698064/e84a20bfee48145a?show_docid=e84a20bfee48145a</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/ab351c9e99698064/e84a20bfee48145a?show_docid=e84a20bfee48145a"/>
  <title type="text">onLocationChange to wyciwyg</title>
  <summary type="html" xml:space="preserve">
  While investigating Firebug issue 2649, &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://code.google.com/p/fbug/issues/detail?id=2649&quot;&gt;[link]&lt;/a&gt;, &lt;br&gt; I came up with a weird effect. After I completed the user&#39;s test &lt;br&gt; procedure, I tried to reload the page to start over, but I could not &lt;br&gt; succeed. The reload request causes an onLocationChange to a url, &lt;br&gt; wyciwyg://1/&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.simpsoncrazy.com/pictures&quot;&gt;[link]&lt;/a&gt;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Boris Zbarsky</name>
  <email>bzbar...@mit.edu</email>
  </author>
  <updated>2009-12-30T18:29:47Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/8973bf73e81a816d?show_docid=8973bf73e81a816d</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/8973bf73e81a816d?show_docid=8973bf73e81a816d"/>
  <title type="text">Re: DOMContentLoaded</title>
  <summary type="html" xml:space="preserve">
  What other ways? innerHTML parses into a new document (or more &lt;br&gt; precisely document fragment), then inserts the nodes into your original &lt;br&gt; document via a DOM insertNode call. That call triggers mutation events &lt;br&gt; as needed. The HTML5 spec makes this pretty explicit. &lt;br&gt; -Boris
  </summary>
  </entry>
  <entry>
  <author>
  <name>John J. Barton</name>
  <email>johnjbar...@johnjbarton.com</email>
  </author>
  <updated>2009-12-30T18:30:49Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/09320e9e0a6e6436?show_docid=09320e9e0a6e6436</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/09320e9e0a6e6436?show_docid=09320e9e0a6e6436"/>
  <title type="text">Re: DOMContentLoaded</title>
  <summary type="html" xml:space="preserve">
  So what about setting element.innerHTML and all other ways that look &lt;br&gt; like parsing is going on? &lt;br&gt; jjb
  </summary>
  </entry>
  <entry>
  <author>
  <name>Boris Zbarsky</name>
  <email>bzbar...@mit.edu</email>
  </author>
  <updated>2009-12-30T18:07:50Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/a17a82b0a2d2fa4f?show_docid=a17a82b0a2d2fa4f</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/a17a82b0a2d2fa4f?show_docid=a17a82b0a2d2fa4f"/>
  <title type="text">Re: DOMContentLoaded</title>
  <summary type="html" xml:space="preserve">
  Yes. &lt;br&gt; &amp;quot;Do not&amp;quot;, rather than &amp;quot;may not&amp;quot;. They never trigger mutation events. &lt;br&gt; DOMContentLoaded just tells you that there will be no more parser &lt;br&gt; mutations for that document after that point (modulo document.open, of &lt;br&gt; course). &lt;br&gt; -Boris
  </summary>
  </entry>
  <entry>
  <author>
  <name>John J. Barton</name>
  <email>johnjbar...@johnjbarton.com</email>
  </author>
  <updated>2009-12-30T17:56:43Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/a3518b1c4671f7da?show_docid=a3518b1c4671f7da</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/a3518b1c4671f7da?show_docid=a3518b1c4671f7da"/>
  <title type="text">Re: DOMContentLoaded</title>
  <summary type="html" xml:space="preserve">
  I was confused by the &amp;quot;can&#39;t have such an expectation&amp;quot; followed by &amp;quot;of &lt;br&gt; course&amp;quot;. I guess you mean: &lt;br&gt; Scripted mutations to the document trigger mutation events at all times. &lt;br&gt; Parser mutations may not trigger mutations events before DOMContentLoaded. &lt;br&gt; jjb
  </summary>
  </entry>
  <entry>
  <author>
  <name>Boris Zbarsky</name>
  <email>bzbar...@mit.edu</email>
  </author>
  <updated>2009-12-30T17:06:02Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/88525c5f060344b4?show_docid=88525c5f060344b4</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/88525c5f060344b4?show_docid=88525c5f060344b4"/>
  <title type="text">Re: DOMContentLoaded</title>
  <summary type="html" xml:space="preserve">
  That&#39;s not quite right. DOMNodeInserted is not fired for nodes inserted &lt;br&gt; by the parser. DOMContentLoaded fires at the point when the parser is &lt;br&gt; done with the document. So after DOMContentLoaded, you can expect to &lt;br&gt; see mutation events for all mutations to the document; before that you &lt;br&gt; can&#39;t have such an expectation.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Kaiser</name>
  <email>ka...@kairo.at</email>
  </author>
  <updated>2009-12-30T15:12:00Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/dcebbd02007420a6/bf4d55ada5d0ad2b?show_docid=bf4d55ada5d0ad2b</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/dcebbd02007420a6/bf4d55ada5d0ad2b?show_docid=bf4d55ada5d0ad2b"/>
  <title type="text">Re: Conversion to external linkage</title>
  <summary type="html" xml:space="preserve">
  Neil wrote: &lt;br&gt; Hmm, I&#39;m not too good at the details of those linkage things when it &lt;br&gt; comes down to how code is written. &lt;br&gt; From a build perspective, I&#39;d favor going to libxul or even XULRunner &lt;br&gt; in the long term, matching what Firefox does as much as possible. I &lt;br&gt; guess mail would need to be built in the same way as Firefox does with
  </summary>
  </entry>
  <entry>
  <author>
  <name>Chris Lord</name>
  <email>ch...@linux.intel.com</email>
  </author>
  <updated>2009-12-30T14:20:49Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/0d0343ac1fec5903/04467528c2d3c6e5?show_docid=04467528c2d3c6e5</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/0d0343ac1fec5903/04467528c2d3c6e5?show_docid=04467528c2d3c6e5"/>
  <title type="text">Re: Page-load performance problem in Gtk (and headless) backend</title>
  <summary type="html" xml:space="preserve">
  Sorry for delay on reply, am on holiday - the bug/patch have indeed been &lt;br&gt; filed: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://bugzilla.mozilla.org/show_bug.cgi?id=534827&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; --Chris
  </summary>
  </entry>
  <entry>
  <author>
  <name>John J. Barton</name>
  <email>johnjbar...@johnjbarton.com</email>
  </author>
  <updated>2009-12-30T05:38:23Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/1695dc9e9db7da02?show_docid=1695dc9e9db7da02</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/4aa2611e751c4bdb/1695dc9e9db7da02?show_docid=1695dc9e9db7da02"/>
  <title type="text">DOMContentLoaded</title>
  <summary type="html" xml:space="preserve">
  The documention for DOMContentLoaded makes it sound quite insignificant: &lt;br&gt; --- &lt;br&gt; Fired on a Window object when a document&#39;s DOM content is finished &lt;br&gt; loading, but unlike &amp;quot;load&amp;quot;, does not wait until all images are loaded. &lt;br&gt; --- &lt;br&gt; Generally Firebug tries to get in to the page as early as possible. &lt;br&gt; Based on the above, DOMContentLoaded does trigger some Firebug actions,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Benjamin Smedberg</name>
  <email>benja...@smedbergs.us</email>
  </author>
  <updated>2009-12-29T22:14:37Z</updated>
  <id>http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/dcebbd02007420a6/36eb4542013cdf83?show_docid=36eb4542013cdf83</id>
  <link href="http://groups.google.com/group/mozilla.dev.platform/browse_frm/thread/dcebbd02007420a6/36eb4542013cdf83?show_docid=36eb4542013cdf83"/>
  <title type="text">Re: Conversion to external linkage</title>
  <summary type="html" xml:space="preserve">
  It is currently true that you should not mix the internal and external &lt;br&gt; string APIs, because there are symbols shared between them such as &lt;br&gt; nsString::nsString. That could be fixed by using namespaces, e.g. &lt;br&gt; mozilla::internal::nsAString / mozilla::glue::nsAString, and the headers &lt;br&gt; would choose which version to use with `using` declarations and typedefs.
  </summary>
  </entry>
</feed>
