DescriptionUse relative path for scripts loaded in content WebUI's
Specifying relative path works exactly the same as specifying absolute
path, as long as the script is declared using
WebUIDataSource::AddResourcePath (which it is in case of changed
WebUIs). So there is no behavioral change in case of Chromium. The
reason for this change is it makes the live of embedders of content
easier when embedder is loading the WebUI from a scheme that is not
chrome: (it is opera: for us). It allows us to save on on adding
security policy overrides for each content WebUI.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230401
Patch Set 1 #
Messages
Total messages: 11 (0 generated)
|