cannot use call on native webglrenderingcontext object

RESOLVED INACTIVE
(NeedInfo from)

Status

()

RESOLVED INACTIVE
2 years ago
4 months ago

People

(Reporter: paul, Unassigned, NeedInfo)

Tracking

51 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce:

- store a method of webglrenderingcontext in a var 'cache'
- call the method using cache.call(gl, ...)

( repro on that url http://osgjs.org/examples/lights/ untill that PR is merged and pushed on the osgjs website https://github.com/cedricpinson/osgjs/pull/733 )


Actual results:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Property_access_denied


Expected results:

the method should have been called
(Reporter)

Comment 1

2 years ago
Adding a note, it's on samsung s6
Created attachment 8842259 [details]
Samsug Galaxy s6 screenshot

Looks the same to me on a Nexus 5x, Samsung Galaxy S6 and Firefox on Windows. All tested with the current nightly v54.0a1. 

Would you try the build from https://nightly.mozilla.org or https://play.google.com/store/apps/details?id=org.mozilla.fennec_aurora and let us know if those work.
Flags: needinfo?(paul)
(Reporter)

Comment 3

2 years ago
ok, seems I don't get the error anymore.

Tought it was that error causing the blackness on 
https://sketchfab.com/models/8d06874aac5246c59edb4adbe3606e0e/embed?autostart=1&graph_optimizer=0&merge_materials=0

on firefox android 
(firefox desktop or any other browser is fine)

( posted that osgjs light as simpler repro case, but seems it wasn't a good one)
Closing per https://bugzilla.mozilla.org/show_bug.cgi?id=1473195

Contact :susheel if you think this bug should be re-opened
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 months ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.