diff options
author | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-08 23:30:11 +0000 |
---|---|---|
committer | dmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-08 23:30:11 +0000 |
commit | 7f801d827de060e0bb88e266e6aa889ba3e14289 (patch) | |
tree | ce099bd5fe4f4453264737e75aac0e47507bef1a /ppapi/tests/test_url_util.cc | |
parent | c3cda1877dbcd1b56410bd4f1c2c862bbfc40b9d (diff) | |
download | chromium_src-7f801d827de060e0bb88e266e6aa889ba3e14289.zip chromium_src-7f801d827de060e0bb88e266e6aa889ba3e14289.tar.gz chromium_src-7f801d827de060e0bb88e266e6aa889ba3e14289.tar.bz2 |
Reland http://codereview.chromium.org/7312008/
The only difference is I clear modifiers in Scrollbar test, and leave it enabled.
Unrevert ppapi_tests change:
Porting ppapi_tests framework to postMessage. Some tests still rely on scripting, so we changed to using InstancePrivate (since scripting will disappear from Instance soon). Also use conditional compilation so that if compiled as untrusted with NaCl, the tests use Instance instead of InstancePrivate. This means that tests which rely on scripting aren't runnable in NaCl.
BUG=82606
TEST=these tests.
Review URL: http://codereview.chromium.org/7237056
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91912 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/tests/test_url_util.cc')
-rw-r--r-- | ppapi/tests/test_url_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/tests/test_url_util.cc b/ppapi/tests/test_url_util.cc index 964060d..dc6cb47 100644 --- a/ppapi/tests/test_url_util.cc +++ b/ppapi/tests/test_url_util.cc @@ -121,7 +121,7 @@ std::string TestURLUtil::TestDocumentCanAccessDocument() { std::string TestURLUtil::TestGetDocumentURL() { pp::Var url = util_->GetDocumentURL(*instance_); ASSERT_TRUE(url.is_string()); - pp::Var window = instance_->GetWindowObject(); + pp::VarPrivate window = instance_->GetWindowObject(); pp::Var href = window.GetProperty("location").GetProperty("href"); ASSERT_TRUE(href.is_string()); // In the test framework, they should be the same. |