Bug #2414

duktape floods log with errors if you quickly backspace from the item which is still loading and reenter it

Added by Leonid Protasov over 8 years ago. Updated over 8 years ago.

Status:FixedStart date:12/20/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

100%

Category:API
Target version:4.10
Found in version:4.7.533 Platform:Linux

Description

To reproduce, just run Twitch TV plugin, open any item, quickly press back and open it again. Repeat the propcess and the log is flooded with:

navigator       [INFO ]: Opening twitchtv:start
navigator       [INFO ]: Opening twitchtv:channel:kdl_en:KDL_EN
navigator       [INFO ]: Opening twitchtv:channel:kdl_en:KDL_EN
twitchtv        [ERROR]: TypeError (unexpected type) at (null):0
twitchtv        [ERROR]: STACK DUMP: TypeError: unexpected type
                             duk_api_stack.c:1266
                             Proxy  native strict construct preventsyield
                             makeProp showtime/prop:68
                             anon showtime/prop:28 preventsyield
                             anon showtime/page:162
                             loader file:///root/showtime-plugins/twitchtv/twitchtv.js:350
                             anon file:///root/showtime-plugins/twitchtv/twitchtv.js:371 preventsyield
                             apply  native strict preventsyield
                             anon showtime/page:258 preventsyield
twitchtv        [ERROR]: TypeError (unexpected type) at (null):0
twitchtv        [ERROR]: STACK DUMP: TypeError: unexpected type
                             duk_api_stack.c:1266
                             Proxy  native strict construct preventsyield
                             makeProp showtime/prop:68
                             anon showtime/prop:28 preventsyield
                             anon showtime/page:144 preventsyield
navigator       [INFO ]: Opening twitchtv:channel:kdl_en:KDL_EN


Related issues

Related to Bug #2362: ST can't pass searcher stress test when all plugins run v... Fixed 11/13/2014

Associated revisions

Revision 0bcad49c
Added by Andreas Smas over 8 years ago

ecmascript: Better handling of when pages are closed during script execution

This gets rid of lots of ugly tracebacks when pages are closed

Fixes #2414

History

#1 Updated by Andreas Smas over 8 years ago

  • Related to Bug #2362: ST can't pass searcher stress test when all plugins run via duktape added

#2 Updated by Andreas Smas over 8 years ago

  • Target version deleted (4.8)

Happens when datamodel is destroyed

#3 Updated by Leonid Protasov over 8 years ago

  • Target version set to 4.10

#4 Updated by Andreas Smas over 8 years ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Also available in: Atom PDF