You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2018/12/20 08:37:14 UTC

[GitHub] imyzf commented on issue #1450: onPageFinish will not trigger on web platform!

imyzf commented on issue #1450: <web> onPageFinish will not trigger on web platform!
URL: https://github.com/apache/incubator-weex/issues/1450#issuecomment-448916798
 
 
   It is because of the browser's same-origin policy.
   1. There is a js error `Uncaught ReferenceError: url is not defined` in your demo, I fixed it and you will see another error from `<web>` component: `Blocked a frame with origin "http://dotwe.org" from accessing a cross-origin frame.` Demo: http://dotwe.org/vue/ad4d6d4a11e407cdcb24167c2b9da828
   2. I changed your url to same origin of dotwe.org, and it works. Demo: http://dotwe.org/vue/7846a576c0150aa52de6ad2caf283c00

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services