Closed
Bug 1057555
Opened 10 years ago
Closed 9 years ago
(shumway) Implement loadMovieNum() AVM1 API
Categories
(Firefox Graveyard :: Shumway, defect, P3)
Firefox Graveyard
Shumway
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mwobensmith, Assigned: yury)
References
Details
Attachments
(1 file)
14.18 KB,
application/zip
|
Details |
The following APIs will be needed, most likely, to allow SWFs to load other SWFs:
AVM1:
loadMovie (instance)
loadMovie (_root)
loadMovieNum (0)
loadMovieNum (int)
loadMovieNum (window)
AVM2:
Loader.load (URLRequest)
Loader.loadBytes (byteArray)
Other APIs/mechanisms exist but may or may not be needed to achieve our M3 goal:
loadMovie/loadMovieNum with optional 3rd parameter for data
Runtime shared library (RSL)
HTML-formatted text field
External JS API methods LoadMovie/LoadMovieNum
Comment 1•10 years ago
|
||
Yes, we need these for M3.
Reporter | ||
Comment 2•10 years ago
|
||
Media for above basic APIs.
Comment 3•10 years ago
|
||
AVM2's Loader.load now seems to fully work. I fixed an issue with the order of events in pull request #1618[1] and added a reftest so it (hopefully) doesn't regress again.
Loader.loadBytes is blocked on [Embed] not working for bytearrays, meaning I cannot write a good test. I'll dig into that next.
[1]: https://github.com/mozilla/shumway/pull/1618
Comment 4•10 years ago
|
||
As of PR #1646[1], Loader.loadBytes is also fully implemented. On to AVM1 APIs!
[1]: https://github.com/mozilla/shumway/pull/1646
Updated•10 years ago
|
Assignee: nobody → till
Status: NEW → ASSIGNED
Updated•10 years ago
|
Priority: -- → P1
Updated•10 years ago
|
Priority: P1 → P3
Comment 5•10 years ago
|
||
Yury, do we have the AVM1 APIs fully implemented now? If so, please close. Otherwise, we should implement them for m4.
Flags: needinfo?(ydelendik)
Assignee | ||
Comment 6•9 years ago
|
||
Not all functions are implemented properly -- we don't support or fully implement level loading functions (loadMovieNum).
Flags: needinfo?(ydelendik)
Updated•9 years ago
|
Summary: (shumway) Enable SWF loading APIs to make ads work → (shumway) Implement loadMovieNum() AVM1 API
Assignee | ||
Comment 7•9 years ago
|
||
loadMovieNum is implemented in https://github.com/mozilla/shumway/pull/2356. For now, closing this bug since it's too broad to catch nuances in the functions/APIs above implementations -- we need to file new bugs with specific examples/test cases.
Assignee: till → ydelendik
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•