Show
Ignore:
Timestamp:
07/30/08 15:12:45 (5 months ago)
Author:
odole
Message:

merge with webkit revision 35445

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/WebCore/ChangeLog

    r419 r424  
     12008-07-30  Kevin Calhoun  <kcalhoun@apple.com> 
     2 
     3        Reviewed by Adele. 
     4 
     5        Fix for <rdar://problem/6060647> Adopt QTMovieOpenForPlaybackAttribute flag 
     6 
     7        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::createQTMovie): 
     8 
     92008-07-29  Kevin Calhoun  <kcalhoun@apple.com> 
     10 
     11        Reviewed by Adele. 
     12 
     13        Fix for <rdar://problem/6031021> Make standalone video render more like the quicktime plugin to improve performance 
     14 
     15        For standalone video, use QTMovieView to draw. 
     16 
     17        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: 
     18        (WebCore::MediaPlayerPrivate::createQTMovieView): Moved nil checks to setUpVideoRendering. 
     19         Associate the QTMovieView with the WebCoreMovieObserver. 
     20         If we're in a media document, allow QTMovieView to render in its default mode; otherwise tell it to draw synchronously.  
     21        (WebCore::MediaPlayerPrivate::detachQTMovieView): Set the WebCoreMovieObserver's view to nil. 
     22        (WebCore::MediaPlayerPrivate::createQTVideoRenderer): Nil check is now in setUpVideoRendering, which is the only caller of this. 
     23        (WebCore::MediaPlayerPrivate::setUpVideoRendering): Added nil checks.  Call createQTMovieView for media documents. 
     24        (WebCore::MediaPlayerPrivate::tearDownVideoRendering): Call detachQTMovieView if a QTMovieView exists. 
     25        (WebCore::MediaPlayerPrivate::setRect): Call setFrame on the QTMovieView if necessary. 
     26        (-[WebCoreMovieObserver menuForEventDelegate:]): Added. Returns the frame view's menu. 
     27        (-[WebCoreMovieObserver setView:]): Added. 
     28 
     292008-07-29  Adele Peterson  <adele@apple.com> 
     30 
     31        Reviewed by Dan Bernstein. 
     32 
     33        Fix for <rdar://problem/6073372> Move built-in controls below <video> element for standalone media documents 
     34 
     35        * css/CSSSelector.cpp: (WebCore::CSSSelector::extractPseudoType): Added -webkit-full-page-media pseudo class. 
     36        * css/CSSSelector.h: (WebCore::CSSSelector::): Added PseudoFullPageMedia. 
     37        * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Added case to 
     38        apply PseudoFullPageMedia for elements in a full page media document. 
     39 
     40        * css/html4.css: Added rule to shift control panel down for video in standalone media documents. 
     41 
     42        * rendering/RenderMedia.cpp: 
     43        (WebCore::RenderMedia::lowestPosition): Added implementation that takes the controls into account. 
     44        This makes sure that scrollbars on the page will account for controls not directly contained in the RenderMedia. 
     45        (WebCore::RenderMedia::rightmostPosition): ditto. 
     46        (WebCore::RenderMedia::leftmostPosition): ditto. 
     47        * rendering/RenderMedia.h: 
     48 
     492008-07-29  Sam Weinig  <sam@webkit.org> 
     50 
     51        Reviewed by Anders Carlsson. 
     52 
     53        <rdar://problem/6084585> Investigate upload progress events. 
     54 
     55        - Add progress notifications for data being sent via a ResourceHandle. 
     56        - Add XMLHttpRequestUpload support. 
     57 
     58        Upload notifications only work on the Mac right now as the CFNetwork API 
     59        on windows does not expose enough information. 
     60 
     61        Tests: http/tests/xmlhttprequest/upload-onload-event.html 
     62               http/tests/xmlhttprequest/upload-onloadstart-event.html 
     63               http/tests/xmlhttprequest/upload-onprogress-event.html 
     64               http/tests/xmlhttprequest/upload-progress-events.html 
     65 
     66        * DerivedSources.make: 
     67        * GNUmakefile.am: 
     68        * WebCore.pro: 
     69        * WebCore.vcproj/WebCore.vcproj: 
     70        * WebCore.xcodeproj/project.pbxproj: 
     71        * WebCoreSources.bkl: 
     72        * bindings/js/JSEventTargetBase.cpp: 
     73        (WebCore::toJS): 
     74        * bindings/js/JSXMLHttpRequestCustom.cpp: 
     75        (WebCore::JSXMLHttpRequest::mark): 
     76        * bindings/js/JSXMLHttpRequestUploadCustom.cpp: Added. 
     77        (WebCore::JSXMLHttpRequestUpload::mark): 
     78        (WebCore::JSXMLHttpRequestUpload::onabort): 
     79        (WebCore::JSXMLHttpRequestUpload::setOnabort): 
     80        (WebCore::JSXMLHttpRequestUpload::onerror): 
     81        (WebCore::JSXMLHttpRequestUpload::setOnerror): 
     82        (WebCore::JSXMLHttpRequestUpload::onload): 
     83        (WebCore::JSXMLHttpRequestUpload::setOnload): 
     84        (WebCore::JSXMLHttpRequestUpload::onloadstart): 
     85        (WebCore::JSXMLHttpRequestUpload::setOnloadstart): 
     86        (WebCore::JSXMLHttpRequestUpload::onprogress): 
     87        (WebCore::JSXMLHttpRequestUpload::setOnprogress): 
     88        (WebCore::JSXMLHttpRequestUpload::addEventListener): 
     89        (WebCore::JSXMLHttpRequestUpload::removeEventListener): 
     90        (WebCore::JSXMLHttpRequestUpload::dispatchEvent): 
     91        * dom/EventTarget.cpp: 
     92        (WebCore::EventTarget::toXMLHttpRequestUpload): 
     93        * dom/EventTarget.h: 
     94        * loader/ResourceLoader.cpp: 
     95        (WebCore::ResourceLoader::didSendData): 
     96        * loader/ResourceLoader.h: 
     97        * loader/SubresourceLoader.cpp: 
     98        (WebCore::SubresourceLoader::didSendData): 
     99        * loader/SubresourceLoader.h: 
     100        * loader/SubresourceLoaderClient.h: 
     101        (WebCore::SubresourceLoaderClient::didSendData): 
     102        * page/DOMWindow.idl: 
     103        * platform/network/FormData.cpp: 
     104        (WebCore::FormData::FormData): 
     105        * platform/network/FormData.h: 
     106        (WebCore::FormData::alwaysStream): 
     107        (WebCore::FormData::setAlwaysStream): 
     108        * platform/network/ResourceHandleClient.h: 
     109        (WebCore::ResourceHandleClient::didSendData): 
     110        * platform/network/mac/FormDataStreamMac.h: 
     111        * platform/network/mac/FormDataStreamMac.mm: 
     112        (WebCore::getStreamFormDataMap): 
     113        (WebCore::getStreamResourceHandleMap): 
     114        (WebCore::associateStreamWithResourceHandle): 
     115        (WebCore::disassociateStreamWithResourceHandle): 
     116        (WebCore::DidSendDataCallbackData::DidSendDataCallbackData): 
     117        (WebCore::performDidSendDataCallback): 
     118        (WebCore::formCreate): 
     119        (WebCore::formFinalize): 
     120        (WebCore::formRead): 
     121        (WebCore::setHTTPBody): 
     122        (WebCore::httpBodyFromStream): 
     123        * platform/network/mac/ResourceHandleMac.mm: 
     124        (WebCore::ResourceHandle::start): 
     125        (WebCore::ResourceHandle::cancel): 
     126        (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]): 
     127        (-[WebCoreResourceHandleAsDelegate connectionDidFinishLoading:]): 
     128        (-[WebCoreResourceHandleAsDelegate connection:didFailWithError:]): 
     129        * xml/XMLHttpRequest.cpp: 
     130        (WebCore::XMLHttpRequest::XMLHttpRequest): 
     131        (WebCore::XMLHttpRequest::~XMLHttpRequest): 
     132        (WebCore::XMLHttpRequest::upload): 
     133        (WebCore::XMLHttpRequest::open): 
     134        (WebCore::XMLHttpRequest::send): 
     135        (WebCore::XMLHttpRequest::createRequest): 
     136        (WebCore::XMLHttpRequest::abort): 
     137        (WebCore::XMLHttpRequest::networkError): 
     138        (WebCore::XMLHttpRequest::abortError): 
     139        (WebCore::XMLHttpRequest::didSendData): 
     140        * xml/XMLHttpRequest.h: 
     141        (WebCore::XMLHttpRequest::optionalUpload): 
     142        * xml/XMLHttpRequest.idl: 
     143        * xml/XMLHttpRequestUpload.cpp: Added. 
     144        (WebCore::XMLHttpRequestUpload::XMLHttpRequestUpload): 
     145        (WebCore::XMLHttpRequestUpload::addEventListener): 
     146        (WebCore::XMLHttpRequestUpload::removeEventListener): 
     147        (WebCore::XMLHttpRequestUpload::dispatchEvent): 
     148        (WebCore::XMLHttpRequestUpload::dispatchXMLHttpRequestProgressEvent): 
     149        (WebCore::XMLHttpRequestUpload::dispatchAbortEvent): 
     150        (WebCore::XMLHttpRequestUpload::dispatchErrorEvent): 
     151        (WebCore::XMLHttpRequestUpload::dispatchLoadEvent): 
     152        (WebCore::XMLHttpRequestUpload::dispatchLoadStartEvent): 
     153        (WebCore::XMLHttpRequestUpload::dispatchProgressEvent): 
     154        * xml/XMLHttpRequestUpload.h: Added. 
     155        (WebCore::XMLHttpRequestUpload::create): 
     156        (WebCore::XMLHttpRequestUpload::toXMLHttpRequestUpload): 
     157        (WebCore::XMLHttpRequestUpload::associatedXMLHttpRequest): 
     158        (WebCore::XMLHttpRequestUpload::disconnectXMLHttpRequest): 
     159        (WebCore::XMLHttpRequestUpload::setOnAbortListener): 
     160        (WebCore::XMLHttpRequestUpload::onAbortListener): 
     161        (WebCore::XMLHttpRequestUpload::setOnErrorListener): 
     162        (WebCore::XMLHttpRequestUpload::onErrorListener): 
     163        (WebCore::XMLHttpRequestUpload::setOnLoadListener): 
     164        (WebCore::XMLHttpRequestUpload::onLoadListener): 
     165        (WebCore::XMLHttpRequestUpload::setOnLoadStartListener): 
     166        (WebCore::XMLHttpRequestUpload::onLoadStartListener): 
     167        (WebCore::XMLHttpRequestUpload::setOnProgressListener): 
     168        (WebCore::XMLHttpRequestUpload::onProgressListener): 
     169        (WebCore::XMLHttpRequestUpload::eventListeners): 
     170        (WebCore::XMLHttpRequestUpload::refEventTarget): 
     171        (WebCore::XMLHttpRequestUpload::derefEventTarget): 
     172        * xml/XMLHttpRequestUpload.idl: Added. 
     173 
     1742008-07-29  Maxime Britto  <britto@apple.com> 
     175 
     176        Reviewed by Darin. 
     177 
     178        <rdar://problem/6095023> "When pan-scrolling, mouse click on hyperlink stop the pan-Scroll but follow the link after that." 
     179        With this patch we now stop the pan scroll and swallow the event to prevent any following action. 
     180 
     181        * page/EventHandler.cpp: 
     182        (WebCore::EventHandler::handleMousePressEvent): If we were in pan scrolling mode we no longer just stop the pan scroll and continue with the function, we now stop and return true to attest that we swallowed the event. 
     183 
     1842008-07-29  Maxime Britto  <britto@apple.com> 
     185 
     186        Reviewed by adele. 
     187 
     188        Test: fast/events/autoscroll-in-textfield.html 
     189 
     190        * rendering/RenderObject.cpp: 
     191        (WebCore::RenderObject::canBeProgramaticallyScrolled): reverted a bad change introduced in r35244 
     192        nb:the test case introduced in r35244 is still working. 
     193 
     1942008-07-29  Maxime Britto  <britto@apple.com> 
     195 
     196        Reviewed by adele. 
     197        This test verifies that the autoscroll works within textfields. 
     198 
     199        * fast/events/autoscroll-in-textfield-expected.txt: Added. 
     200        * fast/events/autoscroll-in-textfield.html: Added. 
     201 
     2022008-07-29  Adele Peterson  <adele@apple.com> 
     203 
     204        Reviewed by Sammy Weinig. 
     205 
     206        Fix for <rdar://problem/6103024> 
     207        When a QT movie is loaded directly in the browser, I can't pause it by single-clicking on the video 
     208 
     209        Test: media/video-click-dlbclick-standalone.html 
     210 
     211        * loader/MediaDocument.cpp: (WebCore::MediaDocument::defaultEventHandler): For standalone media documents, 
     212        match the default Quicktime plugin behavior to allow clicking and double-clicking to pause and play the media. 
     213        * loader/MediaDocument.h: Added defaultEventHandler. 
     214 
     215        * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::defaultEventHandler): Return early if the event has been handled. 
     216        * rendering/MediaControlElements.cpp: 
     217        (WebCore::MediaControlMuteButtonElement::defaultEventHandler): Correct what was probably a typo.  Instead of "event->defaultHandled()", 
     218         it is supposed to be "event->setDefaultHandled()". 
     219        (WebCore::MediaControlPlayButtonElement::defaultEventHandler): ditto. 
     220        (WebCore::MediaControlSeekButtonElement::defaultEventHandler): ditto. 
     221        (WebCore::MediaControlFullscreenButtonElement::defaultEventHandler): ditto. 
     222 
     2232008-07-29  Dan Bernstein  <mitz@apple.com> 
     224 
     225        Reviewed by Dave Hyatt. 
     226 
     227        - fix <rdar://problem/6059648> Some content not visible when the window is short at courtneyalbright.com 
     228 
     229        Test: fast/overflow/float-in-relpositioned.html 
     230 
     231        * rendering/RenderBlock.cpp: 
     232        (WebCore::RenderBlock::lowestPosition): Add this block's relative offset 
     233        to floats' and positioned objects' lowest position. 
     234        (WebCore::RenderBlock::rightmostPosition): Ditto. 
     235        (WebCore::RenderBlock::leftmostPosition): Ditto. 
     236        * rendering/RenderBox.cpp: 
     237        (WebCore::RenderBox::lowestPosition): Removed redundant test. 
     238        (WebCore::RenderBox::rightmostPosition): Ditto. 
     239        (WebCore::RenderBox::leftmostPosition): Ditto. 
     240 
     2412008-07-29  Dan Bernstein  <mitz@apple.com> 
     242 
     243        Reviewed by Dave Hyatt. 
     244 
     245        - fix <rdar://problem/6048566> Repaint original element's position, not its offset position 
     246 
     247        Test: fast/repaint/layout-state-relative.html 
     248 
     249        * rendering/RenderBox.cpp: 
     250        (WebCore::RenderBox::absolutePosition): Changed the LayoutState-enabled 
     251        code path to account for the object's relative offset. 
     252        (WebCore::RenderBox::computeAbsoluteRepaintRect): Ditto. 
     253 
     2542008-07-29  Keishi Hattori  <casey.hattori@gmail.com> 
     255 
     256        Fixed Bug 19158: Inspector should support console.group/console.groupEnd 
     257 
     258        <https://bugs.webkit.org/show_bug.cgi?id=19158> 
     259 
     260        Reviewed by Tim Hatcher and Adam Roben. 
     261 
     262        * bindings/js/JSConsoleCustom.cpp: 
     263        (WebCore::JSConsole::group): Added. 
     264        * page/Console.cpp: 
     265        (WebCore::Console::group): Added. 
     266        (WebCore::Console::groupEnd): Added. 
     267        * page/Console.h: 
     268        (WebCore::): 
     269        * page/Console.idl: Added group/groupEnd. 
     270        * page/InspectorController.cpp: 
     271        (WebCore::ConsoleMessage::ConsoleMessage): 
     272        (WebCore::InspectorController::InspectorController): Added m_groupLevel. 
     273        (WebCore::InspectorController::addMessageToConsole): Added groupLevel argument. 
     274        (WebCore::InspectorController::startGroup): Increments m_groupLevel by one and calls js function if needed. 
     275        (WebCore::InspectorController::endGroup): Decrements m_groupLevel by one and calls js function if needed. 
     276        (WebCore::InspectorController::addScriptConsoleMessage): Added groupLevel argument. 
     277        (WebCore::InspectorController::didCommitLoad): Resets m_groupLevel. 
     278        * page/InspectorController.h: 
     279        * page/inspector/Console.js: 
     280        (WebInspector.Console): Added groupLevel and currentGroup topGroup. 
     281        (WebInspector.Console.addMessage): Calls addMessage method in the currentGroup. 
     282        (WebInspector.Console.startGroup): Added. 
     283        (WebInspector.Console.endGroup): Added. 
     284        (WebInspector.Console.clearMessages): Resets groupLevel and currentGroup. 
     285        (WebInspector.ConsoleMessage): Added groupLevel property. 
     286        (WebInspector.ConsoleMessage.MessageLevel.GroupTitle): Added. 
     287        (WebInspector.ConsoleGroup): Added. 
     288        (WebInspector.ConsoleGroup.addMessage): Adds console message to group. 
     289        (WebInspector.ConsoleGroup._titleClicked): Adds "collapsed" style class. 
     290        * page/inspector/inspector.css: 
     291        * page/inspector/inspector.js: 
     292        (WebInspector.startGroupInConsole): Calls console.startGroup 
     293        (WebInspector.endGroupInConsole): Calls console.endGroup 
     294 
     2952008-07-29  Adam Roben  <aroben@apple.com> 
     296 
     297        Add names for WebCore's threads 
     298 
     299        Reviewed by Anders Carlsson. 
     300 
     301        * loader/icon/IconDatabase.cpp: 
     302        (WebCore::IconDatabase::open): 
     303        * storage/DatabaseThread.cpp: 
     304        (WebCore::DatabaseThread::start): 
     305        * storage/LocalStorageThread.cpp: 
     306        (WebCore::LocalStorageThread::start): 
     307        Pass in names to createThread. 
     308 
     309        * platform/network/cf/ResourceHandleCFNet.cpp: 
     310        (WebCore::runLoaderThread): 
     311        (WebCore::ResourceHandle::loaderRunLoop): 
     312        Changed to use WTF::createThread. 
     313 
     3142008-07-28  Anders Carlsson  <andersca@apple.com> 
     315 
     316        Reviewed by Kevin Decker. 
     317 
     318        Based on a patch from Dimcho Balev. 
     319         
     320        Windows part of  
     321     
     322        https://bugs.webkit.org/show_bug.cgi?id=18676 
     323        <rdar://problem/6106578> 
     324        Plug-In API Proposal: Enable plugins to receive response body when an HTTP error occurs 
     325 
     326        * plugins/PluginStream.cpp: 
     327        (WebCore::PluginStream::wantsAllStreams): 
     328        * plugins/PluginStream.h: 
     329 
     3302008-07-28  Brady Eidson  <beidson@apple.com> 
     331 
     332        Reviewed by Sam Weinig 
     333 
     334        Test: security/autocomplete-cleared-on-back.html 
     335 
     336        <rdar://problem/6093281> - autocomplete="off" should work when going back 
     337 
     338        Taken care of in two ways: 
     339        1 - Listening for the page cache notification to clear the form, in cases where the page 
     340            is being restored from the page cache 
     341        2 - Not saving such form elements when doing the normal "save state" to a history item, 
     342            for cases with no page cache 
     343 
     344        * html/HTMLFormElement.cpp: 
     345        (WebCore::HTMLFormElement::~HTMLFormElement): 
     346        (WebCore::HTMLFormElement::parseMappedAttribute): 
     347        (WebCore::HTMLFormElement::didRestoreFromCache): 
     348        (WebCore::HTMLFormElement::willMoveToNewOwnerDocument): 
     349        (WebCore::HTMLFormElement::didMoveToNewOwnerDocument): 
     350        * html/HTMLFormElement.h: 
     351 
     352        * html/HTMLInputElement.cpp: 
     353        (WebCore::HTMLInputElement::~HTMLInputElement): 
     354        (WebCore::HTMLInputElement::setInputType): 
     355        (WebCore::HTMLInputElement::saveState): 
     356        (WebCore::HTMLInputElement::parseMappedAttribute): 
     357        (WebCore::HTMLInputElement::needsCacheCallback): 
     358        (WebCore::HTMLInputElement::registerForCacheCallbackIfNeeded): Only register if the type or attribute 
     359          indicate we should. 
     360        (WebCore::HTMLInputElement::unregisterForCacheCallbackIfNeeded): Only unregister if both the type 
     361          and attribute are clear of needing registration. 
     362        (WebCore::HTMLInputElement::didRestoreFromCache): 
     363        (WebCore::HTMLInputElement::willMoveToNewOwnerDocument): 
     364        (WebCore::HTMLInputElement::didMoveToNewOwnerDocument): 
     365        * html/HTMLInputElement.h: 
     366 
     3672008-07-28  David Hyatt  <hyatt@apple.com> 
     368 
     369        Add support for CSS variable declaration blocks. 
     370 
     371        Reviewed by Sam 
     372 
     373        Added tests in fast/css/variables. 
     374 
     375        * css/CSSGrammar.y: 
     376        * css/CSSMutableStyleDeclaration.h: 
     377        (WebCore::CSSMutableStyleDeclaration::isMutableStyleDeclaration): 
     378        * css/CSSParser.cpp: 
     379        (WebCore::CSSParser::addVariableDeclarationBlock): 
     380        * css/CSSParser.h: 
     381        * css/CSSProperty.cpp: 
     382        (WebCore::CSSProperty::cssText): 
     383        * css/CSSPropertyNames.in: 
     384        * css/CSSStyleSelector.cpp: 
     385        (WebCore::CSSStyleSelector::addMatchedDeclaration): 
     386        (WebCore::CSSStyleSelector::resolveVariablesForDeclaration): 
     387        * css/CSSStyleSelector.h: 
     388        * css/CSSValueList.h: 
     389        (WebCore::CSSValueList::isValueList): 
     390        * css/CSSVariablesDeclaration.cpp: 
     391        (WebCore::CSSVariablesDeclaration::CSSVariablesDeclaration): 
     392        (WebCore::CSSVariablesDeclaration::getVariableValue): 
     393        (WebCore::CSSVariablesDeclaration::removeVariable): 
     394        (WebCore::CSSVariablesDeclaration::addParsedVariable): 
     395        (WebCore::CSSVariablesDeclaration::getParsedSimpleVariable): 
     396        (WebCore::CSSVariablesDeclaration::getParsedComplexVariable): 
     397        * css/CSSVariablesDeclaration.h: 
     398        (WebCore::CSSVariablesDeclaration::create): 
     399        * css/StyleBase.cpp: 
     400        (WebCore::StyleBase::cssText): 
     401        * css/StyleBase.h: 
     402        (WebCore::StyleBase::isValueList): 
     403        (WebCore::StyleBase::isMutableStyleDeclaration): 
     404 
     4052008-07-28  Anders Carlsson  <andersca@apple.com> 
     406 
     407        Reviewed by Sam. 
     408 
     409        <rdar://problem/6098335> 
     410        https://bugs.webkit.org/show_bug.cgi?id=20150 
     411         
     412        Handle willSendRequest correctly. 
     413 
     414        * loader/SubresourceLoader.cpp: 
     415        (WebCore::SubresourceLoader::willSendRequest): 
     416        Make sure to keep the previous URL around so we know when to call willSendRequest. 
     417         
     418        * xml/XMLHttpRequest.cpp: 
     419        (WebCore::XMLHttpRequest::processSyncLoadResults): 
     420        Abort if we don't have access to the response URL. 
     421         
     422        (WebCore::XMLHttpRequest::willSendRequest): 
     423        Dispatch a network error if we can't access the new URL. 
     424 
     4252008-07-28  Geoffrey Garen  <ggaren@apple.com> 
     426 
     427        Reviewed by Sam Weinig. 
     428 
     429        Renamed "ConstructTypeNative" => "ConstructTypeHost". 
     430         
     4312008-07-28  Anders Carlsson  <andersca@apple.com> 
     432 
     433        Reviewed by Kevin Decker. 
     434 
     435        Based on a patch by Dimcho Balev. 
     436 
     437        https://bugs.webkit.org/show_bug.cgi?id=18676 
     438        <rdar://problem/6106578> 
     439        Plug-In API Proposal: Enable plugins to receive response body when an HTTP error occurs 
     440         
     441        * bridge/npapi.h: 
     442        Add new enum values. 
     443         
     444        * loader/NetscapePlugInStreamLoader.cpp: 
     445        (WebCore::NetscapePlugInStreamLoader::didReceiveResponse): 
     446        When the plug-in indicates that it wants all streams to be delivered, don't cancel the stream 
     447        if an error occurs. 
     448         
     449        * loader/NetscapePlugInStreamLoader.h: 
     450        (WebCore::NetscapePlugInStreamLoaderClient::wantsAllStreams): 
     451        Add new client method. 
     452 
    14532008-07-28  Sam Weinig  <sam@webkit.org> 
    2454