Closed Bug 739388 Opened 12 years ago Closed 12 years ago

SDK based add-ons which add a widget in the add-on bar now add a window to the top left of the browser in latest nightly

Categories

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

x86
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: ehsan.akhgari, Assigned: irakli)

Details

(Keywords: regression)

Attachments

(1 file)

Attached image Screenshot
Please see the screenshot attached.  I reproduced this with either the Gecko Profiler or the Collusion add-ons installed and enabled.  The two things they have in common is that they're both using the add-on SDK, and they put a widget in the add-on bar.
Keywords: regression
Priority: -- → P1
I'm just guessing as I'm not able to reproduce this issue on Windows, nor Linuw ...
It looks like an iframe in the hidden window is appearing!!
But it wouldn't explain why it fails on Collusion addon, as it shouldn't involved anything in the hidden window.
Could you produce a screenshot of this issue for collusion?
Assignee: nobody → rFobic
For Collusion the window is just blank (white).  And this happens on Mac.
(In reply to Ehsan Akhgari [:ehsan] from comment #0)
> Created attachment 609470 [details]
> Screenshot
> 
> Please see the screenshot attached.  I reproduced this with either the Gecko
> Profiler or the Collusion add-ons installed and enabled.  The two things
> they have in common is that they're both using the add-on SDK, and they put
> a widget in the add-on bar.

I just tried creating a widget with add-on sdk on nightly and I don't see any top window being added. Also I run on nightly and have collision add-on installed and I don't see anything similar either.

Ehsan could you by a chance reduce a test case further so we could reproduce it ?
(In reply to Ehsan Akhgari [:ehsan] from comment #2)
> For Collusion the window is just blank (white).  And this happens on Mac.

Just to be sure.
Could you run the following script, without any addon installed, in scratchpad, in "chrome" mode ?
---
var appShellService = Components.classes["@mozilla.org/appshell/appShellService;1"]
                      .getService(Components.interfaces.nsIAppShellService);

var win = appShellService.hiddenDOMWindow;
var doc = win.document;

var iframe = doc.createElement("iframe");
iframe.src="data:text/html,HiddenDocument";
doc.documentElement.appendChild(iframe);
---

If you see a window appearing, it would be a platform issue.
(In reply to Irakli Gozilalishvili [:irakli] [:gozala] from comment #3)
> (In reply to Ehsan Akhgari [:ehsan] from comment #0)
> > Created attachment 609470 [details]
> > Screenshot
> > 
> > Please see the screenshot attached.  I reproduced this with either the Gecko
> > Profiler or the Collusion add-ons installed and enabled.  The two things
> > they have in common is that they're both using the add-on SDK, and they put
> > a widget in the add-on bar.
> 
> I just tried creating a widget with add-on sdk on nightly and I don't see
> any top window being added. Also I run on nightly and have collision add-on
> installed and I don't see anything similar either.
> 
> Ehsan could you by a chance reduce a test case further so we could reproduce
> it ?

I don't know how to do that.  I was not developing any add-ons, I just restarted my browser and saw this, and the window did not go away until I disabled both those add-ons and restarted.
(In reply to Alexandre Poirot (:ochameau) from comment #4)
> (In reply to Ehsan Akhgari [:ehsan] from comment #2)
> > For Collusion the window is just blank (white).  And this happens on Mac.
> 
> Just to be sure.
> Could you run the following script, without any addon installed, in
> scratchpad, in "chrome" mode ?
> ---
> var appShellService =
> Components.classes["@mozilla.org/appshell/appShellService;1"]
>                       .getService(Components.interfaces.nsIAppShellService);
> 
> var win = appShellService.hiddenDOMWindow;
> var doc = win.document;
> 
> var iframe = doc.createElement("iframe");
> iframe.src="data:text/html,HiddenDocument";
> doc.documentElement.appendChild(iframe);
> ---
> 
> If you see a window appearing, it would be a platform issue.

I opened about:config, opened the web console, and pasted this in.  No extra windows appeared.
I'll try to provide you another test tomorrow, using type="content" iframes.
I highly suspect the hidden window, but I may be wrong ...

In the meantime, could you give us some more info on your environnement?
Like MacOS version, graphic card, any special preference?
I'm on 10.6.8, using the latest Nightly.  Here's my about:support contents:



  Application Basics

        Name
        Firefox

        Version
        14.0a1

        User Agent
        Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:14.0) Gecko/20120326 Firefox/14.0a1

        Profile Folder

          Show in Finder

        Enabled Plugins

          about:plugins

        Build Configuration

          about:buildconfig

        Crash Reports

          about:crashes

        Memory Use

          about:memory

  Extensions

        Name

        Version

        Enabled

        ID

        about:jank
        0.5
        true
        about.blank@mozilla.com

        about:telemetry
        0.12.1
        true
        ping.telemetry@mozilla.com

        Adblock Plus
        2.0.3
        true
        {d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

        Add-on Compatibility Reporter
        1.1
        true
        compatibility@addons.mozilla.org

        Always Ask
        2.0pre
        true
        alwaysask@zpao.com

        Browse By Name
        1.1
        true
        jid0-BJHK9jcBnvyTwamzSSjJvyQXmOE@jetpack

        Bugzilla Tweaks
        1.11.3
        true
        jid0-qBnIpLfDFa4LpdrjhAC6vBqN20Q@jetpack

        Copy Link Text
        1.5.0
        true
        copylinktext@brett.zamir

        Cycle Collector Analyzer, about:ccdump
        0.4.2
        true
        ccdump@getfirebug.com

        Find In Numbers
        1.8
        true
        findinnumbers@mozilla.org

        Force RTL
        2.1
        true
        {5fa014b6-c474-4c5d-8b0e-c1e73cbefbc4}

        JIT Inspector
        0.1.0.0
        true
        bhackett@mozilla.com

        Mass Password Reset
        1.05
        true
        masspasswordreset@johnathan.nightingale

        PDF Viewer
        0.2.414
        true
        uriloader@pdf.js

        Remote XUL Manager
        1.1.1
        true
        remotexulmanager@xulforge.com

        Test Pilot
        1.2.1
        true
        testpilot@labs.mozilla.com

        About startup
        0.1.9
        false
        aboutstartup@glandium.org

        about:me
        0.5
        false
        aboutme@test.mozilla.com

        Add-on Builder Helper
        1.4
        false
        jid0-t3eeRQgGANLCH9c50lPqcTDuNng@jetpack

        Always Right
        1.2
        false
        jid0-SzimoL45Ib8OddgoUBG0buQmjec@jetpack

        BarTab
        2.0
        false
        bartap@philikon.de

        Bookmark Toolbar Icons
        0.1.3
        false
        bookmarktoolbaricons@myk.melez

        bugzilla-image-preview
        initial rev. 1
        false
        jid0-Us8o2i0BbvQLAgb8AcZ5fYBOiGo@jetpack

        bugzilla-triage-scripts
        0.90
        false
        jid0-uXmbeWgOltUUuqrHKhrR7hW3IQY@jetpack

        Collusion
        0.16.2
        false
        jid1-F9UJ2thwoAm5gQ@jetpack

        Copy ShortURL
        1.4.3
        false
        jid0-ODIKJS9b4IT3H1NYlPKr0NDtLuE@jetpack

        Developer Assistant
        0.3.0.20110927
        false
        {75739dec-72db-4020-aa9a-6afa6744759b}

        DivX Plus Web Player HTML5 <video>
        2.1.2.145
        false
        {23fcfd51-4958-4f00-80a3-ae97e717ed8b}

        DOM Inspector
        2.0.11
        false
        inspector@mozilla.org

        Element Properties
        6
        false
        properties@darktrojan.net

        F1 by Mozilla Labs
        0.8.3
        false
        ffshare@mozilla.org

        Firebug
        1.9.1
        false
        firebug@software.joehewitt.com

        Force-TLS
        3.0.0
        false
        forcetls@sid.stamm

        Fox To Phone
        1.2.2
        false
        sendtophone@martinezdelizarrondo.com

        Gecko Profiler
        1.2.1
        false
        jid0-edalmuivkozlouyij0lpdx548bc@jetpack

        Greasemonkey
        0.9.18
        false
        {e4a8a97b-f2ed-450b-b12d-ee082ba24781}

        InvisibleHand
        3.6.8
        false
        canitbecheaper@trafficbroker.co.uk

        Mozilla Labs: Contacts
        0.4.2
        false
        contacts@labs.mozilla

        Mozilla Labs: Lab Kit
        3
        false
        sigma@labs.mozilla

        Mozilla Labs: Prospector - Find Suggest
        5
        false
        find.suggest@prospector.labs.mozilla

        Mozilla Labs: Prospector - Home Dash
        11
        false
        home.dash@prospector.labs.mozilla

        Mozilla Labs: Prospector - Instant Preview
        5
        false
        instant.preview@prospector.labs.mozilla

        Mozilla Labs: Prospector - Query Stats
        3
        false
        query.stats@prospector.labs.mozilla

        Mozilla Labs: Prospector - Speak Words
        9
        false
        speak.words@prospector.labs.mozilla

        OAuthorizer
        0.1.2
        false
        oauthorizer@mozillamessaging.com

        Review Tool
        0.1
        false
        review-tool@forerunnerdesigns.com

        Style Editor
        0.3.0.0
        false
        devtools-StyleEditor@mozilla.com

        Swipe Top
        1
        false
        swipe.top@agadak.net

        Tahoe Data Manager
        1.4
        false
        dataman@kairo.at

        TBPL Commit Message Copier
        1.0
        false
        jid0-A90Ryi8kwIVaaVmVARaBFgeZ2KA@jetpack

        TinEye Reverse Image Search
        1.1
        false
        tineye@ideeinc.com

        Twitter Address Bar Search
        1
        false
        twitter.address.bar.search@firefox.twitter

  Important Modified Preferences

      Name

      Value

        accessibility.mouse_focuses_formcontrol
        true

        accessibility.typeaheadfind.enablesound
        false

        accessibility.typeaheadfind.flashBar
        0

        accessibility.warn_on_browsewithcaret
        false

        browser.cache.disk.capacity
        1048576

        browser.cache.disk.smart_size.first_run
        false

        browser.cache.disk.smart_size_cached_value
        481280

        browser.history_expire_days.mirror
        180

        browser.places.importBookmarksHTML
        false

        browser.places.smartBookmarksVersion
        3

        browser.startup.homepage_override.buildID
        20120326040251

        browser.startup.homepage_override.mstone
        14.0a1

        dom.allow_XUL_XBL_for_file
        true

        dom.max_chrome_script_run_time
        0

        extensions.checkCompatibility.3.6.previous
        false

        extensions.checkCompatibility.3.6b.previous
        false

        extensions.checkCompatibility.3.6p.previous
        false

        extensions.checkCompatibility.3.6pre.previous
        false

        extensions.checkCompatibility.3.7a.previous
        false

        extensions.checkCompatibility.4.0.previous
        false

        extensions.checkCompatibility.4.0b.previous
        false

        extensions.checkCompatibility.4.0p.previous
        false

        extensions.checkCompatibility.4.0pre.previous
        false

        extensions.checkCompatibility.4.2.previous
        false

        extensions.checkCompatibility.4.2a.previous
        false

        extensions.checkCompatibility.4.2b.previous
        false

        extensions.checkCompatibility.4.2p.previous
        false

        extensions.checkCompatibility.4.2pre.previous
        false

        extensions.checkCompatibility.5.0.previous
        false

        extensions.checkCompatibility.5.0a.previous
        false

        extensions.checkCompatibility.5.0b.previous
        false

        extensions.checkCompatibility.5.0p.previous
        false

        extensions.checkCompatibility.5.0pre.previous
        false

        extensions.checkCompatibility.6.0.previous
        false

        extensions.checkCompatibility.6.0a.previous
        false

        extensions.checkCompatibility.7.0.previous
        false

        extensions.checkCompatibility.7.0a.previous
        false

        extensions.checkCompatibility.8.0.previous
        false

        extensions.checkCompatibility.8.0a.previous
        false

        extensions.checkCompatibility.nightly.previous
        false

        extensions.checkCompatibility.previous
        false

        extensions.lastAppVersion
        14.0a1

        font.language.group
        ar

        gfx.force_atsui_text
        true

        javascript.options.mem.log
        true

        keyword.URL
        http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=

        network.cookie.prefsMigrated
        true

        places.database.lastMaintenance
        1332797701

        places.history.expiration.transient_current_max_pages
        71821

        places.history.expiration.transient_optimal_database_size
        167772160

        places.last_vacuum
        1267211575

        print.macosx.pagesetup-2
        PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPCFET0NUWVBFIHBsaXN0IFBVQkxJQyAiLS8vQXBwbGUvL0RURCBQTElTVCAxLjAvL0VO…

        print.print_bgcolor
        false

        print.print_bgimages
        false

        print.print_command

        print.print_downloadfonts
        false

        print.print_evenpages
        true

        print.print_in_color
        true

        print.print_margin_bottom
        0.5

        print.print_margin_left
        0.5

        print.print_margin_right
        0.5

        print.print_margin_top
        0.5

        print.print_oddpages
        true

        print.print_orientation
        0

        print.print_page_delay
        50

        print.print_pagedelay
        500

        print.print_paper_data
        0

        print.print_paper_height
        11.00

        print.print_paper_size_type
        1

        print.print_paper_size_unit
        0

        print.print_paper_width
        8.50

        print.print_printer

        print.print_reversed
        false

        print.print_scaling
        1.00

        print.print_shrink_to_fit
        true

        print.print_to_file
        false

        print.print_unwriteable_margin_bottom
        56

        print.print_unwriteable_margin_left
        25

        print.print_unwriteable_margin_right
        25

        print.print_unwriteable_margin_top
        25

        privacy.cpd.sessions
        false

        privacy.donottrackheader.enabled
        true

        privacy.sanitize.migrateFx3Prefs
        true

        security.OCSP.disable_button.managecrl
        false

        security.disable_button.openCertManager
        false

        security.disable_button.openDeviceManager
        false

        security.enable_java
        false

        security.warn_viewing_mixed
        false

        webgl.verbose
        true

  Graphics

        Vendor ID
        0x1002

        Device ID
        0x6741

        WebGL Renderer
        ATI Technologies Inc. -- ATI Radeon HD 6750M OpenGL Engine -- 2.1 ATI-1.6.42

        GPU Accelerated Windows
        3/3 OpenGL

        AzureBackend
        quartz

  JavaScript

        Incremental GC
        1

  Library Versions

        Expected minimum version

        Version in use

        NSPR
        4.9
        4.9

        NSS
        3.13.3.0 Basic ECC
        3.13.3.0 Basic ECC

        NSS Util
        3.13.3.0
        3.13.3.0

        NSS SSL
        3.13.3.0 Basic ECC
        3.13.3.0 Basic ECC

        NSS S/MIME
        3.13.3.0 Basic ECC
        3.13.3.0 Basic ECC
No.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: