Chromium Code Reviews
DescriptionImprove error message for failing code insertion on about:-URLs
Currently, extension developers get the following message:
"Cannot access contents of url "about:blank". Extension manifest must
request permission to access this host."
Extensions cannot request permission for about:-URLs, so this message is
useless. The message has been changed to: "Cannot access contents of url
"about:blank". Extension must have permission to access the frame's
origin, and matchAboutBlank must be true."
This message will be used in https://codereview.chromium.org/952473002/
R=kalman@chromium.org
Committed: https://crrev.com/a9e6e642db6fd06df8de455230b1057dc4e756a6
Cr-Commit-Position: refs/heads/master@{#322865}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add origin to error message #
Messages
Total messages: 8 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||