bugLinterna Mágica - Bugs: bug #33120, Web buttons are not responding...

 
 

bug #33120: Web buttons are not responding with GNU IceCat 4

Submitted by:  Ivaylo Valkov <valkov>
Submitted on:  Tue Apr 19 09:09:25 2011  
 
Category: Interface bugSeverity: 5 - Blocker
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Ivaylo Valkov <valkov>
Open/Closed: ClosedRelease: 0.0.9-3

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue Apr 26 10:27:53 2011, comment #3:

Fixed in trunk and backported to branch 0.0.9. Available in 0.0.9-4.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Mon Apr 25 13:17:45 2011, comment #2:

The best way to fix this is to inject the script in the page when it runs within Greasemonkey. It is executed this way by Epiphany and Midori anyway.

There is an open Greasemonkey issue about Firefox 4 and unsafeWindow, where it is also suggested to inject the script in the page and to not use unsafeWindow.

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Tue Apr 19 11:18:14 2011, comment #1:

Same behaviour with VLC. The JavaScript API the plugins export are accessible in the browser outside the Greasemonkey sandbox.

All these return undefined with Totem within Greasemonkey:

While outside Greasemonkey this:

returns:

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.
Tue Apr 19 09:09:25 2011, original submission:

The web buttons for controlling the video are not working with GNU IceCat 4 and Totem. The duration of the clip is not showed. Probably could be reproduced with other plugins. The JavaScript API the plugin exports is not accessible. It might be bug in the NPAPI for plugins in IceCat/Firefox 4.

FireBug output for most buttons:

video_object.playlist is undefined
(3591 out of range 509)
greasemonkey.js (line 3591)
video_object.playlist is undefined
(3570 out of range 509)
greasemonkey.js (line 3570)
video_object.playlist is undefined
(3591 out of range 509)
greasemonkey.js (line 3591)
video_object.playlist is undefined
(3570 out of range 509)
greasemonkey.js (line 3570)
video_object.input is undefined
(3640 out of range 509)
greasemonkey.js (line 3640)
video_object.audio is undefined
(3745 out of range 509)
video_object.playlist is undefined

Ivaylo Valkov <valkov>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by valkov (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Apr 26 10:27:53 2011valkovStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Mon Apr 25 13:17:45 2011valkovStatusNeed Info=>In Progress

    Back to the top


    Powered by Savane 3.1-cleanup1