New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 618745 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

[Custom Formatters] 'bindRemoteObject' still missing in same edge cases

Reported by antonin....@gmail.com, Jun 9 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.79 Safari/537.36

Steps to reproduce the problem:
Related to:
https://bugs.chromium.org/p/chromium/issues/detail?id=599884

I'm getting bug reports from some users having this issue in more recent Chrome versions under some circumstances. It looks to me that there are still some code paths which end up with "bindRemoteObject is not defined".

https://github.com/binaryage/cljs-devtools/issues/14

What is the expected behavior?

What went wrong?
Javascript console errors with "... Custom Formatter Failed: ReferenceError: bindRemoteObject is not defined"

Did this work before? N/A 

Chrome version: 51.0.2704.79  Channel: canary
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 21.0 r0
 
Here is a link to another incarnation of the same thing:
https://github.com/binaryage/dirac/issues/20

Comment 2 by l...@chromium.org, Jun 9 2016

Cc: l...@chromium.org
Owner: kozyatinskiy@chromium.org
Status: Assigned (was: Unconfirmed)
Just another observation: In my custom fork of DevTools while chasing some other issue I wasn't able to replace implementation of WebInspector.CustomPreviewSection.prototype._loadBody (in CustomPreviewSection.js).

It looks like normal DevTools code, but in fact the code seems to be baked inside Chrome and cannot be replaced. Stack traces hint that the code gets injected into target page somehow.

I believe the problem could be related to this mechanism and the way where is this code sourced from and how it gets injected.
Status: Fixed (was: Assigned)
Is it still an issue? Did you get new reports? In codebase currently bindRemoteObject is used in one place [1] and it defines in outer function as argument so it should work correctly.
Please reopen this issue if it's reproducible in last versions of Chrome.

[1] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/devtools/front_end/components/CustomPreviewSection.js?rcl=0&l=164
It seems to be fixed now. Thank you.

Sign in to add a comment