Created attachment 611288 [details] Test case When trying to load a resource with content-type application/json directly in the browser (but not via XHR), Nightly crashes. One such crash is https://crash-stats.mozilla.com/report/index/bp-cc774709-06af-44d5-b653-ddfce2120401 I've attempted to attach a file that will reproduce this to the ticket, but if it doesn't reproduce the issue, I'll post a URL.
That attachment didn't get served as application/json, so try http://www.simonster.com/bug741218.php
Created attachment 611291 [details] [diff] [review] Patch v1
Comment on attachment 611291 [details] [diff] [review] Patch v1 Thanks. (My earlier patch for nsHTMLDocument.cpp was probably in flight while JSON landed in nsContentDLF...)
Is this in the most recently released nightly? I want to check to make sure that this crash https://crash-stats.mozilla.com/report/index/bp-e6673058-4911-45cb-b4ba-1a1172120403 is occurring because I don't yet have the patch, and not because there's a different bug floating around.
(In reply to Brandon Savage [:brandon] from comment #6) > Is this in the most recently released nightly? The fix will be in Nightly from April 4th.