CEF keeps several stable branches going in parallel. In a CEF version number like 3.1547.1459
, 1547
is the branch number and 1459
is the SVN revision number (which increments when any branch is updated). These numbers are not connected to the Chromium version number.
Look in brackets-shell/Gruntfile.js and find the "cef": { "version" : "...." }
declaration (near bottom).
navigator.userAgent
in Brackets dev tools. The section like Chrome/39.0.2171.36
is the Chromium version.When issues appear with a new version of CEF, it can be hard to tell is the issue is due to CEF, Chromium, or some other factor. One way to find out is to run the same code in different environments:
Loading other webpages in brackets-shellThis lets you compare simple testcases (such as a JSFiddle, or a CodeMirror demo page) in Chrome vs. brackets-shell.
window.location="..."
This lets you compare most of Brackets core in Chrome vs. brackets-shell.
pflynn/in-browser-file-system
branchsrc
folder.window.location="localhost:8080/index.html"
in dev tools to load this in brackets-shelllocalhost:8080/src/index.html
in Chrome also"cefclient" is a bare-bones reference app that uses CEF. This lets you see if a bug is due to brackets-shell customizations vs. core CEF.
Note: your version of cefclient will rarely be an exact match for the current stable version of Chrome, so this isn't a perfect test (there are two variables that differ: CEF vs. Chrome, and Chromium version slightly differs).
Testing in-browser with special flagsBrackets-shell doesn't configure CEF/Chromium engine exactly the same as a normal browser does. For example, GPU acceleration is disabled and on some OSes process security sandboxing is also disabled.
For testing, you can launch Chrome with flags to make it behave more like brackets-shell:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir=<<absolute path to empty folder>> <<add extra flags here>>
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir=<<absolute path to empty folder>> <<add extra flags here>>
Some useful options:
--disable-gpu
--no-sandbox
Full list of options: http://peter.sh/experiments/chromium-command-line-switches/ (updated in sync with Chromium source)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4