DescriptionFix for crash when attaching a frame in WebUI renderer.
It crashes when trying to install property on "chrome" object in Javascript.
Before the patch, the code assumes the "chrome" either does not exist
or is an object. Apparently, it holds "undefined" value in WebUI pages.
BUG=
Committed: https://crrev.com/e1b79c756bf3ee66a4211f06d59af0c95a17d49e
Cr-Commit-Position: refs/heads/master@{#297621}
Patch Set 1 #
Total comments: 1
Patch Set 2 : As suggested, factored out the solution and used in other extensions. #
Messages
Total messages: 10 (3 generated)
|