In the Chrome extension, I'm trying to get gmail to compose the contents of the body.
The error is sporadic and does not prevent it from working.
This is executed as the contents of the script. I believe that permissions are not a problem here, because when there is no permission, the error is different and the operation is blocked from Chrome, definitely not.
An error appears on this line:
encodeURIComponent($canvas.find('iframe').contents().find('body').text());
Where
var $canvas = $('#canvas_frame').contents();
Any information on this error and possible translation? 
source
share