question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Unable to reproduce] getComputedStyle().width not string in Embeeded Facebook WebView on Android

See original GitHub issue

I have got a error report from this detector.

Cannot read property 'indexOf' of undefined

Stack Trace

ownerDocument.body || a.ownerDocument.body.contains(a)
}
return !b(a)
}
 
function k(a) {
  var b = o(a).container.childNodes[0];
  return -1 === getComputedStyle(b).width.indexOf("px")
}
 
function l() {
    var a = getComputedStyle(b),
      c = {};
    return c.position = a.position, c.width = b.offsetWidth, c.height = b.offsetHeight, c.top = a.top, c.ri

User Information:

Timestamp
24/03/2017 05:15:26
Time On Page
1.832 seconds
More from this Visitor
Visitor Time
24/03/2017 05:15:35
Browser (Raw)
Facebook 93.0.0
Operating System
Android 5.1
Source IP
111.243.58.165
Viewport
360 x 519

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
wnrcommented, Apr 18, 2017

No problems at all 😃 Great, thanks! This will be released as 1.1.12 soon.

0reactions
wnrcommented, Apr 26, 2017

Fix released in 1.1.12. Thanks for the collaboration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

getComputedStyle width and height not working in chromium ...
I had this javascript function: function onFontLoad(cb,font,size,table,interval) { var div=document.createElement ...
Read more >
Webview is not executing my JavaScript from the web page on ...
I have run simple Android App in Android Studio and it worked there. Reproduction Steps Just create a new app and add this...
Read more >
103 messages from Google Code
Your project notifications generated too many emails to send individually. Here are the subject lines of the emails you would have received:
Read more >
Safari Technology Preview Release Notes - Apple Developer
commitStyles() not changing the style attribute for individual CSS ... Fixed getComputedStyle(img).height to return a string of a rounded int not a float ......
Read more >
Deprecating support for FB Login authentication on Android ...
We have been monitoring an uptick in phishing attempts on Android embedded browsers (also known as webviews), so beginning in August, we will...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found