Changeset 66663 in webkit
- Timestamp:
- Sep 2, 2010 5:09:07 AM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r66662 r66663 1 2010-09-01 Ilya Tikhonovsky <loislo@chromium.org> 2 3 Reviewed by Yury Semikhatsky. 4 5 WebInspector: protocol related Inspector's tests are failing in Chromium. 6 7 The expectation is different because Chromium tests use test_shell. 8 1) a lot of console messages automaticaly published by test_shell; 9 2) debugger was enabled by default; 10 3) for (i in an_array) produces some garbage. 11 12 The solution: 13 1) override reportProtocolError and console.error functions; 14 2) debugger was explicitly disabled; 15 3) just fixed. 16 17 https://bugs.webkit.org/show_bug.cgi?id=44996 18 19 * inspector/report-API-errors.html: 20 * inspector/report-protocol-errors.html: 21 * LayoutTests/platform/chromium/test_expectations.txt 22 1 23 2010-09-02 Sheriff Bot <webkit.review.bot@gmail.com> 2 24 -
trunk/LayoutTests/inspector/report-API-errors.html
r66516 r66663 6 6 function test() 7 7 { 8 function callback() 8 9 console.error = function() 9 10 { 10 11 InspectorTest.addResult(String.sprintf.apply(this, arguments)); 11 12 } 12 13 13 InspectorTest._addSniffer(console, "error", callback, true); 14 15 InspectorBackend.enableResourceTracking(1, callback); 14 InspectorBackend.enableResourceTracking(1); 16 15 InspectorBackend.enableResourceTracking(); 17 16 InspectorBackend.enableResourceTracking(true, "not a function"); -
trunk/LayoutTests/inspector/report-protocol-errors.html
r66596 r66663 23 23 var numberOfReports = 0; 24 24 25 function callback(message)25 WebInspector.reportProtocolError = function(message) 26 26 { 27 27 if (numberOfReports < messages.length) … … 32 32 } 33 33 34 InspectorTest._addSniffer(WebInspector, "reportProtocolError", callback, true); 35 for (var message in messages) 36 InspectorFrontendHost.sendMessageToBackend(messages[message]); 34 function fire() { 35 for (var i = 0; i < messages.length; ++i) 36 InspectorFrontendHost.sendMessageToBackend(messages[i]); 37 } 38 39 InspectorBackend.disableDebugger(true, fire); 37 40 } 38 41 -
trunk/LayoutTests/platform/chromium/test_expectations.txt
r66641 r66663 2384 2384 // Flaky tests found during the roll. 2385 2385 BUG32679 LINUX DEBUG : http/tests/navigation/lockedhistory-iframe.html = TEXT PASS 2386 BUG32684 WIN : inspector/timeline-layout.html = TEXT PASS2387 2386 BUG32688 MAC DEBUG : fast/lists/inlineBoxWrapperNullCheck.html = TEXT PASS 2388 2387 BUG32689 MAC LINUX DEBUG : http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html = TEXT PASS
Note: See TracChangeset
for help on using the changeset viewer.