Remove DOMWrapperWorld::current() from V8ErrorHandler
Remove DOMWrapperWorld::current() from V8ErrorHandler

- The DOMWrapperWorld::current().isWorkerWorld() check in V8ErrorHandler::callListenerFunction() should be world.isWorkerWorld().

- However, a better way to check it is to use context->isWorkerGlobalScope().

This CL can potentially change existing behavior in a case where errorEvent->world() is equal to world() but the world() is not equal to DOMWrapperWorld::current(), but I'm not sure when it happens.

BUG=357144

Review URL: https://codereview.chromium.org/295963006

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@174576 bbb929c8-8fbe-4397-9dbb-9b2b20218538

modulexcite/blink,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,jtg-gg/blink,Pluto-tv/blink-crosswalk,jtg-gg/blink,smishenk/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,modulexcite/blink,ondra-novak/blink,nwjs/blink,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,jtg-gg/blink,XiaosongWei/blink-crosswalk,nwjs/blink,crosswalk-project/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,XiaosongWei/blink-crosswalk,ondra-novak/blink,Pluto-tv/blink-crosswalk,jtg-gg/blink,nwjs/blink,crosswalk-project/blink-crosswalk-efl,kurli/blink-crosswalk,PeterWangIntel/blink-crosswalk,modulexcite/blink,XiaosongWei/blink-crosswalk,Pluto-tv/blink-crosswalk,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,modulexcite/blink,Bysmyyr/blink-crosswalk,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,smishenk/blink-crosswalk,modulexcite/blink,XiaosongWei/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,Pluto-tv/blink-crosswalk,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,jtg-gg/blink,nwjs/blink,smishenk/blink-crosswalk,ondra-novak/blink,PeterWangIntel/blink-crosswalk,nwjs/blink,XiaosongWei/blink-crosswalk,Bysmyyr/blink-crosswalk,Pluto-tv/blink-crosswalk,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,Pluto-tv/blink-crosswalk,ondra-novak/blink,nwjs/blink,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,ondra-novak/blink,kurli/blink-crosswalk,kurli/blink-crosswalk,XiaosongWei/blink-crosswalk,nwjs/blink,kurli/blink-crosswalk,nwjs/blink,Bysmyyr/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,crosswalk-project/blink-crosswalk-efl,ondra-novak/blink,PeterWangIntel/blink-crosswalk,kurli/blink-crosswalk,modulexcite/blink,modulexcite/blink,jtg-gg/blink,hgl888/blink-crosswalk-efl,XiaosongWei/blink-crosswalk,nwjs/blink,jtg-gg/blink,hgl888/blink-crosswalk-efl,crosswalk-project/blink-crosswalk-efl,Bysmyyr/blink-crosswalk,kurli/blink-crosswalk,Bysmyyr/blink-crosswalk,PeterWangIntel/blink-crosswalk,smishenk/blink-crosswalk,XiaosongWei/blink-crosswalk,jtg-gg/blink,XiaosongWei/blink-crosswalk,kurli/blink-crosswalk,smishenk/blink-crosswalk,modulexcite/blink,Bysmyyr/blink-crosswalk,jtg-gg/blink,ondra-novak/blink,PeterWangIntel/blink-crosswalk,Bysmyyr/blink-crosswalk,smishenk/blink-crosswalk,ondra-novak/blink,nwjs/blink,smishenk/blink-crosswalk,kurli/blink-crosswalk,hgl888/blink-crosswalk-efl,hgl888/blink-crosswalk-efl,smishenk/blink-crosswalk,PeterWangIntel/blink-crosswalk,modulexcite/blink,modulexcite/blink,crosswalk-project/blink-crosswalk-efl,PeterWangIntel/blink-crosswalk,ondra-novak/blink,jtg-gg/blink