-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSJ issues #1587
Comments
It turns out all the error messages come from their code, from a component called "tealium universal tag - utag.loader". (See http://tealium.com ) Looks like they are trying to harvest some data from the DOM, and that does not play nicely with that we are doing with the DOM. (This is just a hypothesis, for now.) If this tool is widely used, we might want to look into how to avoid disrupting it. |
I just loaded h on this page, in both FF and Chrome (extension in the latter), and see 38 annotations and everything works fine (I do see the console logs from utag.js). What am I missing? |
The unending cycle of error messages appearing on the console, which We might still have H functionality, but at the cost of CPU resources |
Right, but you wrote:
That doesn't appear to be the case. |
For me, with Chrome, latest extension, the CPU load is so bad that the
|
For me, the sidebar shows up fairly quickly, but the annotations don't appear for about 45s. |
Given the fact that it actually triggers the "page crashed" chrome dialog
|
I have no such problems.
|
2014.10.23. 17:18 ezt írta ("Randall Leeds" [email protected]):
It might depend on CPU muscle. |
I checked again with a local extension, build from latest master. "Blocked a frame with origin "chrome-extension://lcknipjijijafjbionbfpoehnlfdknhh" from accessing a frame with origin "http://online.wsj.com". The frame requesting access has a protocol of "chrome-extension", the frame being accessed has a protocol of "http". Protocols must match." I don't see messages like that on other documents. |
I think that might appear on any page with multiple frames. I see it not infrequently. I could check, but that's my guess without spending time on it now. The reason would be the bridge plugin traversing all frames and sending beacons to potential guests so that they might acknowledge and connect to the sidebar. IIRC that traversal doesn't throw any exceptions or cause the code to halt anywhere but it does have the side effect of spitting out these warnings. I think this may be the line that, harmelessly, causes this: https://github.com/hypothesis/h/blob/master/h/static/scripts/plugin/bridge.coffee#L167 |
Doesn't appear to be valid anymore. Not seeing any strange messages in the console. |
@dwhly ran into this a few days ago.
URL: http://online.wsj.com/articles/climate-science-is-not-settled-1411143565
Chrome. Latest live extension.
Steps to reproduce:
Expected result: it works;
Actual result: it doesn't :)
In fact, deploying H on the page unleashes an unending torrent of error messages on the console, most of which does not even come from our code, but theirs.
I have not yet spent time to understand what the issue is; it might also be a problem with the site's code. (Maybe we can work around it, maybe not.) Or it might be our bug.
The text was updated successfully, but these errors were encountered: