Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 5678590574198784: Prevent Safari from freezing when loading large data: URLs (Closed)

Created:
March 10, 2014, 6:18 p.m. by Sebastian Noack
Modified:
March 31, 2014, 10:16 a.m.
Visibility:
Public.

Description

When passing large data (like a photo encoded as data: URL) to the background page, Safari freezes. However since we don't block non-HTTP requests anyway, we can just bail out in the "beforeload" listener, before messaging the background page.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M safari/ext/content.js View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Sebastian Noack
March 10, 2014, 6:21 p.m. (2014-03-10 18:21:34 UTC) #1
Wladimir Palant
March 21, 2014, 2:05 p.m. (2014-03-21 14:05:21 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld