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
Committed: https://crrev.com/3eccc98ae84d9f47151d329b13fe2527f3f649ae
Cr-Commit-Position: refs/heads/master@{#393351}
Patch Set 1 #Patch Set 2 : Self review #
Total comments: 4
Patch Set 3 : Delete |window.webkit| to restore the original object #Patch Set 4 : Retain and restore the old implementation #
Total comments: 2
Patch Set 5 : Updated comments #Messages
Total messages: 14 (6 generated)
|