| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // windows headers | 5 // windows headers |
| 6 #include <windows.h> | 6 #include <windows.h> |
| 7 #include <shellapi.h> | 7 #include <shellapi.h> |
| 8 #include <shlobj.h> | 8 #include <shlobj.h> |
| 9 #include <comutil.h> | 9 #include <comutil.h> |
| 10 | 10 |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 // exception. Should be run for in and out of process plugins, but | 400 // exception. Should be run for in and out of process plugins, but |
| 401 // the more interesting case is out of process, where we must route | 401 // the more interesting case is out of process, where we must route |
| 402 // the exception to the correct renderer. | 402 // the exception to the correct renderer. |
| 403 TEST_F(NPAPITester, NPObjectSetException) { | 403 TEST_F(NPAPITester, NPObjectSetException) { |
| 404 GURL url = GetTestUrl(L"npapi", L"npobject_set_exception.html"); | 404 GURL url = GetTestUrl(L"npapi", L"npobject_set_exception.html"); |
| 405 NavigateToURL(url); | 405 NavigateToURL(url); |
| 406 WaitForFinish("npobject_set_exception", "1", url, | 406 WaitForFinish("npobject_set_exception", "1", url, |
| 407 kTestCompleteCookie, kTestCompleteSuccess, | 407 kTestCompleteCookie, kTestCompleteSuccess, |
| 408 kShortWaitTimeout); | 408 kShortWaitTimeout); |
| 409 } | 409 } |
| 410 |
| 411 TEST_F(NPAPIVisiblePluginTester, PluginReferrerTest) { |
| 412 if (UITest::in_process_renderer()) |
| 413 return; |
| 414 |
| 415 GURL url(URLRequestMockHTTPJob::GetMockUrl( |
| 416 FilePath(FILE_PATH_LITERAL( |
| 417 "npapi/plugin_url_request_referrer_test.html")))); |
| 418 |
| 419 NavigateToURL(url); |
| 420 |
| 421 WaitForFinish("plugin_referrer_test", "1", url, kTestCompleteCookie, |
| 422 kTestCompleteSuccess, kShortWaitTimeout); |
| 423 } |
| 424 |
| OLD | NEW |