Chromium Code Reviews
Description[ios] Protect JS messaging system from overriding window.webkit object.
Any webpage can override window.webkit object (intentionally or by
accident). Since window.webkit is used for JS->Native messaging it should
be protected from overriding.
Before sending a message, delete |window.webkit| to restore the original
implementation.
BUG=611023
Review-Url: https://codereview.chromium.org/1973683002
Cr-Commit-Position: refs/heads/master@{#393351}
(cherry picked from commit 3eccc98ae84d9f47151d329b13fe2527f3f649ae)
NOTRY=true
NOPRESUBMIT=true
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|
|||||||||||||||||||