OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 5784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5795 | 5795 |
5796 TEST_F(WebFrameTest, NodeImageTestFloatLeft) | 5796 TEST_F(WebFrameTest, NodeImageTestFloatLeft) |
5797 { | 5797 { |
5798 FrameTestHelpers::WebViewHelper webViewHelper; | 5798 FrameTestHelpers::WebViewHelper webViewHelper; |
5799 OwnPtr<blink::DragImage> dragImage = nodeImageTestSetup(&webViewHelper, std:
:string("case-float-left-overflow-hidden")); | 5799 OwnPtr<blink::DragImage> dragImage = nodeImageTestSetup(&webViewHelper, std:
:string("case-float-left-overflow-hidden")); |
5800 EXPECT_TRUE(dragImage); | 5800 EXPECT_TRUE(dragImage); |
5801 | 5801 |
5802 nodeImageTestValidation(blink::IntSize(40, 40), dragImage.get()); | 5802 nodeImageTestValidation(blink::IntSize(40, 40), dragImage.get()); |
5803 } | 5803 } |
5804 | 5804 |
| 5805 // Crashes on Android: http://crbug.com/403804 |
| 5806 #if OS(ANDROID) |
| 5807 TEST_F(WebFrameTest, DISABLED_PrintingBasic) |
| 5808 #else |
5805 TEST_F(WebFrameTest, PrintingBasic) | 5809 TEST_F(WebFrameTest, PrintingBasic) |
| 5810 #endif |
5806 { | 5811 { |
5807 FrameTestHelpers::WebViewHelper webViewHelper; | 5812 FrameTestHelpers::WebViewHelper webViewHelper; |
5808 webViewHelper.initializeAndLoad("data:text/html,Hello, world."); | 5813 webViewHelper.initializeAndLoad("data:text/html,Hello, world."); |
5809 | 5814 |
5810 WebFrame* frame = webViewHelper.webView()->mainFrame(); | 5815 WebFrame* frame = webViewHelper.webView()->mainFrame(); |
5811 | 5816 |
5812 WebPrintParams printParams; | 5817 WebPrintParams printParams; |
5813 printParams.printContentArea.width = 500; | 5818 printParams.printContentArea.width = 500; |
5814 printParams.printContentArea.height = 500; | 5819 printParams.printContentArea.height = 500; |
5815 | 5820 |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6040 | 6045 |
6041 client.reset(); | 6046 client.reset(); |
6042 // Try to load the request with cross origin access. Should succeed. | 6047 // Try to load the request with cross origin access. Should succeed. |
6043 options.crossOriginRequestPolicy = blink::AllowCrossOriginRequests; | 6048 options.crossOriginRequestPolicy = blink::AllowCrossOriginRequests; |
6044 blink::DocumentThreadableLoader::loadResourceSynchronously( | 6049 blink::DocumentThreadableLoader::loadResourceSynchronously( |
6045 *frame->document(), blink::ResourceRequest(resourceUrl), client, options
, resourceLoaderOptions); | 6050 *frame->document(), blink::ResourceRequest(resourceUrl), client, options
, resourceLoaderOptions); |
6046 EXPECT_FALSE(client.failed()); | 6051 EXPECT_FALSE(client.failed()); |
6047 } | 6052 } |
6048 | 6053 |
6049 } // namespace | 6054 } // namespace |
OLD | NEW |