2025b60968
These changes bring our copy of devtools_ui.cc in line with https://chromium.googlesource.com/chromium/src.git/+/43.0.2357.92/chrome/browser/ui/webui/devtools_ui.cc Without these changes, opening the devtools prints errors like: [0602/165604:ERROR:CONSOLE(0)] "Refused to display 'chrome-devtools://devtools/inspector.html?can_dock=true&toolbarColor=rgba(223,223,223,1)&textColor=rgba(0,0,0,1)&experiments=true' in a frame because it set 'X-Frame-Options' to 'DENY'.", source: about:blank (0) [0602/165604:ERROR:CONSOLE(1514)] "Uncaught SecurityError: Sandbox access violation: Blocked a frame at "chrome-devtools://devtools" from accessing a frame at "null". The frame being accessed is sandboxed and lacks the "allow-same-origin" flag.", source: chrome-devtools://devtools/devtools.js (1514) |
||
---|---|---|
.. | ||
browser | ||
common | ||
script | ||
tools/mac | ||
vendor | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
brightray.gyp | ||
brightray.gypi | ||
filename_rules.gypi | ||
filenames.gypi | ||
LICENSE | ||
LICENSE-CHROMIUM | ||
README.md |
Brightray
Brightray is a static library that makes libchromiumcontent easier to use in applications.
Using it in your app
See brightray_example for a sample application written using Brightray.
Development
Prerequisites
- Python 2.7
- Linux:
- Clang 3.0
- Mac:
- Xcode
- Windows:
- Visual Studio 2010 SP1
One-time setup
You must previously have built and uploaded libchromiumcontent using its
script/upload
script.
$ script/bootstrap http://base.url.com/used/by/script/upload
Building
$ script/build
Building Brightray on its own isn’t all that interesting, since it’s just a static library. Building it into an application (like brightray_example) is the only way to test it.
License
In general, everything is covered by the LICENSE
file. Some files
specify at the top that they are covered by the
LICENSE-CHROMIUM
file instead.