| Index: chrome/browser/resources/gpu_internals/info_view.js
|
| ===================================================================
|
| --- chrome/browser/resources/gpu_internals/info_view.js (revision 155871)
|
| +++ chrome/browser/resources/gpu_internals/info_view.js (working copy)
|
| @@ -27,8 +27,6 @@
|
| this.refresh.bind(this));
|
| browserBridge.addEventListener('clientInfoChange',
|
| this.refresh.bind(this));
|
| - browserBridge.addEventListener('sandboxInfoChange',
|
| - this.refresh.bind(this));
|
| browserBridge.addEventListener('crashListChange',
|
| this.refresh.bind(this));
|
| this.refresh();
|
| @@ -74,60 +72,6 @@
|
| this.setText_('client-info', '... loading...');
|
| }
|
|
|
| - // Sandbox info
|
| - var sandboxStatusList = this.querySelector('.sandbox-status-list');
|
| - if (browserBridge.sandboxInfo) {
|
| - sandboxStatusList.textContent = '';
|
| - var sandboxInfo = browserBridge.sandboxInfo;
|
| - var statusList = [
|
| - {
|
| - description: 'SUID Sandbox',
|
| - value: sandboxInfo.suid_sanbox
|
| - },
|
| - {
|
| - description: 'PID namespaces',
|
| - value: sandboxInfo.pid_namespaces
|
| - },
|
| - {
|
| - description: 'Network namespaces',
|
| - value: sandboxInfo.net_namespaces
|
| - },
|
| - {
|
| - description: 'Seccomp-legacy sandbox',
|
| - value: sandboxInfo.seccomp_legacy
|
| - },
|
| - {
|
| - description: 'Seccomp-BPF sandbox',
|
| - value: sandboxInfo.seccomp_bpf
|
| - },
|
| - {
|
| - description: 'Adequately sandboxed',
|
| - value: sandboxInfo.sandbox_ok
|
| - }
|
| - ];
|
| - statusList.forEach(function(item) {
|
| - var featureEl = document.createElement('li');
|
| -
|
| - var nameEl = document.createElement('span');
|
| - nameEl.textContent = item.description + ': ';
|
| - featureEl.appendChild(nameEl);
|
| -
|
| - var statusEl = document.createElement('span');
|
| - if (item.value) {
|
| - statusEl.textContent = 'Yes';
|
| - statusEl.className = 'feature-green';
|
| - } else {
|
| - statusEl.textContent = 'No';
|
| - statusEl.className = 'feature-red';
|
| - }
|
| - featureEl.appendChild(statusEl);
|
| -
|
| - sandboxStatusList.appendChild(featureEl);
|
| - });
|
| - } else {
|
| - sandboxStatusList.textContent = '';
|
| - }
|
| -
|
| // Feature map
|
| var featureLabelMap = {
|
| '2d_canvas': 'Canvas',
|
|
|