projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git]
/
src
/
sandbox
/
win
/
tests
/
validation_tests
/
commands.cc
diff --git
a/src/sandbox/win/tests/validation_tests/commands.cc
b/src/sandbox/win/tests/validation_tests/commands.cc
index
45717b4
..
f64465a
100644
(file)
--- a/
src/sandbox/win/tests/validation_tests/commands.cc
+++ b/
src/sandbox/win/tests/validation_tests/commands.cc
@@
-267,7
+267,7
@@
int TestOpenAlternateDesktop(wchar_t *desktop_name) {
DACL_SECURITY_INFORMATION, NULL, NULL,
NULL, NULL);
::CloseHandle(test_handle);
- if (result
!= ERROR_ACCESS_DENIED
) {
+ if (result
== ERROR_SUCCESS
) {
return SBOX_TEST_SUCCEEDED;
}
} else if (::GetLastError() != ERROR_ACCESS_DENIED) {