Closed Bug 966715 Opened 10 years ago Closed 10 years ago

Forecastfox addon triggers ASSERTION: Load failed!!!: 'NS_SUCCEEDED(rv)', file dom/xbl/nsXBLResourceLoader.cpp, line 140

Categories

(Firefox :: Extension Compatibility, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox28 --- unaffected
firefox29 --- affected

People

(Reporter: cpeterson, Unassigned)

References

()

Details

(Keywords: regression)

STR:
1. Install Forecastfox addon: https://addons.mozilla.org/en-US/firefox/addon/forecastfox-weather/
2. Restart Firefox from the terminal so you can watch stderr for assertion failures.

RESULT:

Couldn't convert chrome URL: chrome://forecastfox/locale/forecastfox.dtd
###!!! ASSERTION: Load failed!!!: 'NS_SUCCEEDED(rv)', file dom/xbl/nsXBLResourceLoader.cpp, line 140

I suspect this is a Forecastfox incompatibility with Australis because Forecastfox adds icons to the Add-on Bar and this regression began in Firefox 29.
Here's what we're trying to load at the assert:

(gdb) p url.mRawPtr->mSpec
$5 = {
  <nsACString_internal> = {
    mData = 0x116ae4788 "chrome://forecastfox/skin/bindings.css", 
    mLength = 38, 
    mFlags = 5
  }, <No data fields>}

And right before this in the console:

[13558] WARNING: Failed to open external DTD: publicId "" systemId "chrome://forecastfox/locale/forecastfox.dtd" base "jar:file:///tmp/e/extensions/%7B0538E3E3-7E9B-4d49-8831-A227C80A7AD3%7D/chrome/forecastfox.jar!/content/bindings.xml" URL "chrome://forecastfox/locale/forecastfox.dtd": file /Users/dolske/build/mozilla-central/parser/htmlparser/src/nsExpatDriver.cpp, line 696
[13558] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80520012: file /Users/dolske/build/mozilla-central/layout/style/Loader.cpp, line 2246

I can't find any bindings.css is the addon's code.

The only reference is from within the addon's bindings.xml:

  <binding id="ff-base">
    <resources>
      <stylesheet src="chrome://forecastfox/skin/bindings.css"/>
    </resources>
  </binding>

I think this is just a harmless reference to missing/obsolete file, but the author should probably clean it up anyway.
Status: NEW → RESOLVED
Closed: 10 years ago
Component: XBL → Extension Compatibility
Product: Core → Firefox
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.