Closed Bug 869074 Opened 13 years ago Closed 13 years ago

Panel does not display / displays blank on Mac OS X (Nightly)

Categories

(Add-on SDK Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mgoodwin, Unassigned)

Details

Attachments

(1 file)

Issue: Panel displays fine in Firefox, Beta, Aurora on OSX and Firefox and Nightly (not tested Beta and Aurora) on Linux but will either not display / display blank in Nightly on OS X. STR: 1) Create a panel like this: https://github.com/mozmark/Mitm-Tool/blob/master/lib/config.js#L171 2) Observe the panel is empty.
Using Firefox Nightly (23.0a1 (2013-05-06)) on OS X (10.7.5), I can't reproduce the issue. This code works fine on my machine: const { data } = require("sdk/self"); const { Panel } = require("sdk/panel"); Panel({ contentURL: data.url("panel.html"), contentScriptFile: data.url("panel.js") }).show(); Where "panel.html" is: <!doctype html> <html> <head> <meta charset="utf-8" /> <title>It's my panel</title> </head> <body> <h2>Panel</h2> <p> Look ma'! I'm a Panel! </p> </body> </html> And "panel.js" is: console.log("script attached"); I got both the HTML content and the log from the script. Can you test if this code works for you, and in case can you provide the versions OS X and Nightly? I tested both with the panel module from Add-on SDK master and the one bundled in Nightly.
Flags: needinfo?(mgoodwin)
Ah... this was an addon-sdk-1.13.2 issue. Seems to be working in 1.14 Thanks
Status: NEW → RESOLVED
Closed: 13 years ago
Flags: needinfo?(mgoodwin)
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: