Changeset 90518 in webkit
- Timestamp:
- Jul 6, 2011 5:09:35 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r90516 r90518 1 2011-07-06 Johnny Ding <jnd@chromium.org> 2 3 https://bugs.webkit.org/show_bug.cgi?id=63857 4 Remove some crash expectation after implementing "createPopupMenu" 5 6 Reviewed by Tony Chang. 7 8 * platform/chromium/test_expectations.txt: 9 1 10 2011-07-06 Mihai Parparita <mihaip@chromium.org> 2 11 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r90516 r90518 2565 2565 BUG_DRT MAC : fast/dom/beforeload/script-before-load-dynamic.html = TIMEOUT PASS 2566 2566 BUG_DRT : fast/dynamic/window-resize-scrollbars-test.html = IMAGE+TEXT 2567 BUG_DRT LINUX : fast/events/select-onchange-crash.html = CRASH2568 2567 BUG_DRT DEBUG : fast/frames/calculate-round.html = TIMEOUT PASS 2569 2568 BUG_DRT BUGCR43890 WIN DEBUG SLOW : fast/forms/implicit-submission.html = PASS TEXT 2570 2569 BUG_DRT BUGCR43890 LINUX : fast/forms/implicit-submission.html = CRASH 2571 2570 BUG_DRT BUGCR43890 MAC DEBUG SLOW : fast/forms/implicit-submission.html = PASS TEXT 2572 BUG_DRT BUGCR21141 LINUX : fast/forms/select-double-onchange.html = CRASHFAIL2573 BUG_DRT BUGCR21141 LINUX : fast/forms/select-script-onchange.html = CRASHFAIL2571 BUG_DRT BUGCR21141 LINUX : fast/forms/select-double-onchange.html = FAIL 2572 BUG_DRT BUGCR21141 LINUX : fast/forms/select-script-onchange.html = FAIL 2574 2573 BUG_DRT MAC : fast/images/extra-image-in-image-document.html = TIMEOUT PASS 2575 2574 BUG_DRT MAC : fast/loader/font-face-empty.html = TIMEOUT PASS -
trunk/Source/WebKit/chromium/ChangeLog
r90505 r90518 1 2011-07-06 Johnny Ding <jnd@chromium.org> 2 3 https://bugs.webkit.org/show_bug.cgi?id=63857 4 Check WebWidgetClient before calling it to close widget. 5 6 Reviewed by Tony Chang. 7 8 * src/WebPopupMenuImpl.cpp: 9 (WebKit::WebPopupMenuImpl::popupClosed): 10 1 11 2011-07-06 Adrienne Walker <enne@google.com> 2 12 -
trunk/Source/WebKit/chromium/src/WebPopupMenuImpl.cpp
r89837 r90518 376 376 m_widget = 0; 377 377 } 378 m_client->closeWidgetSoon(); 378 if (m_client) 379 m_client->closeWidgetSoon(); 379 380 } 380 381 -
trunk/Tools/ChangeLog
r90514 r90518 1 2011-07-06 Johnny Ding <jnd@chromium.org> 2 3 https://bugs.webkit.org/show_bug.cgi?id=63857 4 Implement createPopupMenu for Chromium DRT. 5 6 Reviewed by Tony Chang. 7 8 * DumpRenderTree/chromium/WebViewHost.cpp: 9 (WebViewHost::createPopupMenu): 10 (WebViewHost::~WebViewHost): 11 * DumpRenderTree/chromium/WebViewHost.h: 12 1 13 2011-07-06 Mihai Parparita <mihaip@chromium.org> 2 14 -
trunk/Tools/DumpRenderTree/chromium/WebViewHost.cpp
r89837 r90518 47 47 #include "WebHistoryItem.h" 48 48 #include "WebNode.h" 49 #include "WebPopupMenu.h" 50 #include "WebPopupType.h" 49 51 #include "WebRange.h" 50 52 #include "WebRect.h" … … 237 239 } 238 240 239 WebWidget* WebViewHost::createPopupMenu(WebPopupType) 240 { 241 WebWidget* WebViewHost::createPopupMenu(WebPopupType type) 242 { 243 switch (type) { 244 case WebKit::WebPopupTypeNone: 245 break; 246 case WebKit::WebPopupTypeSelect: 247 case WebKit::WebPopupTypeSuggestion: 248 m_popupmenus.append(WebPopupMenu::create(0)); 249 return m_popupmenus.last(); 250 } 241 251 return 0; 242 252 } … … 244 254 WebWidget* WebViewHost::createPopupMenu(const WebPopupMenuInfo&) 245 255 { 256 // Do not use this method. It's been replaced by createExternalPopupMenu. 257 ASSERT_NOT_REACHED(); 246 258 return 0; 247 259 } … … 1155 1167 } 1156 1168 1169 for (Vector<WebKit::WebWidget*>::iterator it = m_popupmenus.begin(); 1170 it < m_popupmenus.end(); ++it) 1171 (*it)->close(); 1172 1157 1173 webWidget()->close(); 1158 1159 1174 if (m_inModalLoop) 1160 1175 webkit_support::QuitMessageLoop(); -
trunk/Tools/DumpRenderTree/chromium/WebViewHost.h
r88246 r90518 351 351 352 352 TaskList m_taskList; 353 Vector<WebKit::WebWidget*> m_popupmenus; 353 354 }; 354 355
Note: See TracChangeset
for help on using the changeset viewer.