Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: chrome/test/data/webui/sandboxstatus_browsertest.js

Issue 1538613002: fix some obsolete code.google.com sandbox links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * TestFixture for SUID Sandbox testing. 6 * TestFixture for SUID Sandbox testing.
7 * @extends {testing.Test} 7 * @extends {testing.Test}
8 * @constructor 8 * @constructor
9 */ 9 */
10 function SandboxStatusUITest() {} 10 function SandboxStatusUITest() {}
11 11
12 SandboxStatusUITest.prototype = { 12 SandboxStatusUITest.prototype = {
13 __proto__: testing.Test.prototype, 13 __proto__: testing.Test.prototype,
14 /** 14 /**
15 * Browse to the options page & call our preLoad(). 15 * Browse to the options page & call our preLoad().
16 */ 16 */
17 browsePreload: 'chrome://sandbox', 17 browsePreload: 'chrome://sandbox',
18 18
19 }; 19 };
20 20
21 // This test is for Linux only. 21 // This test is for Linux only.
22 // PLEASE READ: 22 // PLEASE READ:
23 // - If failures of this test are a problem on a bot under your care, 23 // - If failures of this test are a problem on a bot under your care,
24 // the proper way to address such failures is to install the SUID 24 // the proper way to address such failures is to install the SUID
25 // sandbox. See: 25 // sandbox. See:
26 // http://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment 26 // https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_s andbox_development.md
27 // - PLEASE DO NOT GLOBALLY DISABLE THIS TEST. 27 // - PLEASE DO NOT GLOBALLY DISABLE THIS TEST.
28 // SUID sandbox is currently incompatible with AddressSanitizer, 28 // SUID sandbox is currently incompatible with AddressSanitizer,
29 // see http://crbug.com/137653. 29 // see http://crbug.com/137653.
30 GEN('#if defined(OS_LINUX) && !defined(ADDRESS_SANITIZER)'); 30 GEN('#if defined(OS_LINUX) && !defined(ADDRESS_SANITIZER)');
31 GEN('# define MAYBE_testSUIDorNamespaceSandboxEnabled \\'); 31 GEN('# define MAYBE_testSUIDorNamespaceSandboxEnabled \\');
32 GEN(' testSUIDorNamespaceSandboxEnabled'); 32 GEN(' testSUIDorNamespaceSandboxEnabled');
33 GEN('#else'); 33 GEN('#else');
34 GEN('# define MAYBE_testSUIDorNamespaceSandboxEnabled \\'); 34 GEN('# define MAYBE_testSUIDorNamespaceSandboxEnabled \\');
35 GEN(' DISABLED_testSUIDorNamespaceSandboxEnabled'); 35 GEN(' DISABLED_testSUIDorNamespaceSandboxEnabled');
36 GEN('#endif'); 36 GEN('#endif');
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 if (gpuyes || gpuno) { 130 if (gpuyes || gpuno) {
131 expectEquals(null, gpuno); 131 expectEquals(null, gpuno);
132 expectTrue(gpuyes && (gpuyes[0] == gpuyesstring)); 132 expectTrue(gpuyes && (gpuyes[0] == gpuyesstring));
133 testDone(); 133 testDone();
134 } 134 }
135 } 135 }
136 }) 136 })
137 }); 137 });
138 observer.observe(document.getElementById('basic-info'), {childList: true}); 138 observer.observe(document.getElementById('basic-info'), {childList: true});
139 }); 139 });
OLDNEW
« no previous file with comments | « no previous file | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698