summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test
Commit message (Collapse)AuthorAgeFilesLines
* Change the expectations of the BeginningTransaction unit test to expect the ↵ananta@chromium.org2010-07-201-12/+12
| | | | | | | | | | | | headers to be terminated by a single \r\n combination as wininet adds the terminating \r\n at the end while sending the headers out. TBR=stoyan Review URL: http://codereview.chromium.org/2888019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53101 0039d316-1c4b-4281-b951-d872f2087c98
* Simple initial test for AppendCFUserAgentString.stoyan@chromium.org2010-07-191-0/+31
| | | | | | Review URL: http://codereview.chromium.org/2825053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52907 0039d316-1c4b-4281-b951-d872f2087c98
* Add a command line flag to change the default number of parallel DNS ↵eroman@chromium.org2010-07-171-1/+2
| | | | | | | | | | | | | requests issued by chrome. --host-resolver-parallelism=XXX This is a useful debugging tool, since for some users too many parallel DNS requests results in spurious DNS failures from their resolver. BUG=44489 Review URL: http://codereview.chromium.org/3019007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52802 0039d316-1c4b-4281-b951-d872f2087c98
* Not firing DocumentComplete in the presence of buggy BHOs.tommi@chromium.org2010-07-161-0/+10
| | | | | | | | | TEST=should be no functional change except if there are buggy BHOs that we know of loaded in IE. BUG=44463 Review URL: http://codereview.chromium.org/2906011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52668 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame tabs would hang at times while closing. This would randomly ↵ananta@chromium.org2010-07-153-2/+28
| | | | | | | | | | | | | | | | | | | | | | | | occur if the page had an unload handler. We execute unload handlers in the WM_DESTROY message in the external tab and spin a nested loop waiting for the unload handlers to finish. This causes a deadlock at times if a windows message is dispatched to IE which is blocked in DestroyWindow. The fix is to remove the nested loop mess from the external tab and instead send over a special automation message to Chrome in which context we execute the unload handlers. The message contains the notification window and the actual window message to be posted back when the unload handlers finish executing. The active document/activex spin a GetMessage loop waiting for this message to arrive. To ensure that we don't wait indefinitely we have a 1 second timer and exit the loop if this timer is received. Fixes bug http://code.google.com/p/chromium/issues/detail?id=49132 Bug=49132 Test=Covered by existing unload event test. Review URL: http://codereview.chromium.org/3014001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52523 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt 2 at fixing the chrome frame net tests hang on the builders. This ↵ananta@chromium.org2010-07-141-1/+6
| | | | | | | | | | | | | | | | hang occurs because of a race condition in registering the http/https protocol factories. The net tests registers a protocol factory and the Chrome AutomationResourceMessageFilter also registers factories. If the net tests ends up being first in the chain then the requests are incorrectly dropped. Fix is to register the net tests protocol factory before instantiating the AutomationResourceMessageFilter. TBR=stoyan Review URL: http://codereview.chromium.org/2959013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52366 0039d316-1c4b-4281-b951-d872f2087c98
* Sample of running integration test as a simple performance test.stoyan@chromium.org2010-07-141-0/+227
| | | | | | Review URL: http://codereview.chromium.org/2934005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52338 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix the chrome frame net tests failures on the builders. There ↵ananta@chromium.org2010-07-141-2/+2
| | | | | | | | | | | | | | | | | seems to be a race condition causing the tests to hang on startup on the builder. It appears that on chrome frame net tests startup we process an initial HTTP head request in the test automation provider factory and end up sending this as the response to IE instead of the expected dummy chrome frame page. This causes the tests to hang. Fix is to also check for a valid tab handle in the test automation provider factory instead of just asserting for the same. TBR=amit Review URL: http://codereview.chromium.org/2951015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52280 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame back forward navigations at times would mess up the navigation ↵ananta@chromium.org2010-07-133-1/+89
| | | | | | | | | | | | | | | | | | history if the back and the current page both were rendered in ChromeFrame. This was because the back operation would incorrectly navigate twice. Once via IE history navigation and the other navigation would originate within the renderer and would execute as a new navigation in IE. Fix is to not report backforward navigations as top level navigations to the external host. Fixes bug http://code.google.com/p/chromium/issues/detail?id=44403 Bug=44403 Test=Covered by ChromeFrame test Review URL: http://codereview.chromium.org/2982003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52235 0039d316-1c4b-4281-b951-d872f2087c98
* [chrome_frame] Refactor/merge IE no interference tests with other mock event ↵kkania@chromium.org2010-07-1226-2131/+2868
| | | | | | | | | | sink tests. Have the test mock contain, not inherit the IE event sink. Use the new test server to verify the right requests are being sent. BUG=none TEST=none Review URL: http://codereview.chromium.org/2822016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52137 0039d316-1c4b-4281-b951-d872f2087c98
* Add an ExtensionPrefStore, layered between the user prefs and the managed ↵pam@chromium.org2010-07-121-6/+2
| | | | | | | | | | | | | | prefs, to manage preferences set by extensions. Update various callers of the PrefValueStore constructor accordingly. The initial user will be the proxy extension API. BUG=266 TEST=covered by unit tests Review URL: http://codereview.chromium.org/2823037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52088 0039d316-1c4b-4281-b951-d872f2087c98
* Reenabling the ChromeFrame JavascriptWindowOpen test. ananta@chromium.org2010-07-081-3/+1
| | | | | | | | | TBR=stoyan Bug=48175 Review URL: http://codereview.chromium.org/2886019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51810 0039d316-1c4b-4281-b951-d872f2087c98
* Brushed up listen socket:pfeldman@chromium.org2010-07-052-7/+12
| | | | | | | | | | | - Upstreamed support for partial results from devtools' version - Made DidRead receive data and length (in order to support websockets data) - Fixed all the clients. Added net/server with http socket implementation that supports websockets. Will remove net/tools fetch client and server later. Review URL: http://codereview.chromium.org/2868036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51635 0039d316-1c4b-4281-b951-d872f2087c98
* Changing the pre-reading of chrome.dll to read it as an image section ↵ananta@chromium.org2010-07-031-7/+45
| | | | | | | | | | | | | | | | | | | instead. XP ignores pages read as data while mapping image sections. This shows a reasonable improvement in cold startup performance on XP. This change only comes into effect for headless mode which enables us to try out the effect on the perf bots and for chrome frame processes. Code mostly written by Amit. Added a chrome frame perf tests which measures LoadLibrary in cold mode with pre-reading. Bug=45510 Review URL: http://codereview.chromium.org/2805064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51594 0039d316-1c4b-4281-b951-d872f2087c98
* Store blocked and accessed cookies in the tab contents.jochen@chromium.org2010-07-021-2/+2
| | | | | | | | | | | This will enable chrome to display all cookies used/blocked on the current site to the user instead of just the information that something was blocked. The cookies are collected in data structures suitable for displaying them using the cookies tree model. BUG=45230 TEST=none Review URL: http://codereview.chromium.org/2370001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51545 0039d316-1c4b-4281-b951-d872f2087c98
* Disable a crashing test: NoInterferenceTest.JavascriptWindowOpensatish@chromium.org2010-07-021-2/+4
| | | | | | | | | | TBR=ananta BUG=48175 Review URL: http://codereview.chromium.org/2810045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51530 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the ChromeFrame NavigationToRestrictedSite test as it causes IE8 ↵ananta@chromium.org2010-07-011-1/+3
| | | | | | | | | | | | | to not terminate at times leading to extract build failures. TBR=amit Bug=47596 Review URL: http://codereview.chromium.org/2838036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51333 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix the ChromeFrame tests which rely on sending input to the IE ↵ananta@chromium.org2010-06-301-1/+1
| | | | | | | | | | | | | | address bar to initiate navigation. These tests fail at times on the builders because of an incorrect URL actually being sent in to Chrome. Fix is to increase the delay between selecting the address bar via Alt+D and sending the url. TBR=amit Review URL: http://codereview.chromium.org/2827036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51211 0039d316-1c4b-4281-b951-d872f2087c98
* Set ChromeFrame unpinned mode for the duration of the perf tests to ensure ↵ananta@chromium.org2010-06-292-4/+4
| | | | | | | | | | that the dll unloads correctly after every test. Review URL: http://codereview.chromium.org/2813039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51147 0039d316-1c4b-4281-b951-d872f2087c98
* Change chrome from statically enabling high resolution timers on windowsmbelshe@chromium.org2010-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | to enabling them dynamically - only when the application really needs them. I am working on some test cases for this, and will add them. But wanted to send out the concept for review. In this implementation, I modify the message loop to detect when the application has requested high resolution timers. Note that there are multiple MessageLoops active in a single process. After a period of time, we simply shut it off again. We could have set a timer or kept a count of active timers, or any number of more complex algorithms. But I think this algorithm is very simple and good enough. If an application continues needing high resolution timers for more than 1s, we'll turn the high-resolution timers back on again. One last change - since we've implemented the clamp at 4ms, there isn't a lot of point to our use of 1ms for timeBeginPeriod. I've modified that to 2 (which is half of 4ms, our target minimal interval). BUG=46531 TEST=MessageLoop.HighResolutionTimers Review URL: http://codereview.chromium.org/2822035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51102 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the ChromeFrame reference build perf memory test as it causes a ↵ananta@chromium.org2010-06-291-1/+6
| | | | | | | | | | | crash for subsequent test runs. Bug=47812 TBR=amit Review URL: http://codereview.chromium.org/2845030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51101 0039d316-1c4b-4281-b951-d872f2087c98
* Attempt to fix ChromeFrame perf test failures on the experimental builder. ↵ananta@chromium.org2010-06-291-0/+1
| | | | | | | | | | | | | | | | | The test fails because of a crash while running one of the chrome frame creation tests. This test causes a crash on the builder and it appears to occur because of multiple chrome frame dlls being loaded in the process. One from the regular release\servers folder and the other one from the reference build. Attempted fix is to add a sleep after the call to CoFreeUnusedLibraries to allow the currently loaded chrome frame binary to unload. TBR=amit Review URL: http://codereview.chromium.org/2840024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51095 0039d316-1c4b-4281-b951-d872f2087c98
* Fix ChromeFrame reference perf tests failures. CoFreeUnusedLibraries at ↵ananta@chromium.org2010-06-291-1/+0
| | | | | | | | | | | | times does not unload the chrome frame dll. Removing the corresponding expectation that validates whether the dll has been unloaded. TBR=amit Review URL: http://codereview.chromium.org/2847033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51084 0039d316-1c4b-4281-b951-d872f2087c98
* Massively simplify the NetworkChangeNotifier infrastructure:pkasting@chromium.org2010-06-251-10/+5
| | | | | | | | | | | | | | * Use a process-wide object (singleton pattern) * Create/destroy this object on the main thread, make it outlive all consumers * Make observer-related functions threadsafe As a result, the notifier can now be used by any thread (eliminating things like NetworkChangeObserverProxy and NetworkChangeNotifierProxy, and expanding its usefulness); its creation and inner workings are much simplified (eliminating implementation-specific classes); and it is simpler to access (eliminating things like NetworkChangeNotifierThread and a LOT of passing pointers around). BUG=none TEST=Unittests; network changes still trigger notifications Review URL: http://codereview.chromium.org/2802015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50895 0039d316-1c4b-4281-b951-d872f2087c98
* Ensure that the ChromeFrame reliability and perf tests startup in headless ↵ananta@chromium.org2010-06-235-29/+56
| | | | | | | | | | | | mode and also start crash_service.exe, which would serve as the crash handler for the duration of the test runs. This ensures that the tests don't hang for 60 seconds while unloading the chrome frame dll which waits for the exception handler code to uninitialize which blocks on machines which don't have the official crash server running. Review URL: http://codereview.chromium.org/2810024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50594 0039d316-1c4b-4281-b951-d872f2087c98
* Hopefully the last of the ChromeFrame window open test failures. The ↵ananta@chromium.org2010-06-231-27/+13
| | | | | | | | | | | | DocumentComplete event at times is fired twice by all IE versions for new windows. Updated the expectations to account for this. TBR=stoyan Review URL: http://codereview.chromium.org/2802017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50593 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the randomly failing ChromeFrame window open tests to account for the ↵ananta@chromium.org2010-06-231-17/+8
| | | | | | | | | | | | additional DocumentComplete event fired on IE8 as well on the same lines as IE7. This event fires twice randomly. Modified the expectations to handle this. TBR=stoyan Review URL: http://codereview.chromium.org/2799026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50576 0039d316-1c4b-4281-b951-d872f2087c98
* Some more ChromeFrame test fixes to get the failing IE7 new window tests to ↵ananta@chromium.org2010-06-233-14/+66
| | | | | | | | | | | | pass. On IE7 the DocumentComplete event is fired twice at times for popup windows. We need to add expectations for those. TBR=stoyan Review URL: http://codereview.chromium.org/2809031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50567 0039d316-1c4b-4281-b951-d872f2087c98
* Fix files with svn:executable permissions.thestig@chromium.org2010-06-231-0/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50566 0039d316-1c4b-4281-b951-d872f2087c98
* The ChromeFrame JavascriptWindowOpen test tries to open a popup in the ↵ananta@chromium.org2010-06-224-8/+14
| | | | | | | | | | | | | onload notification, which is blocked on IE7/8 by the popup blocker thus causing this test to consistently fail. Fix is to open the popup in the ondblclick notification and to fire dummy mouse down events to the IE window to trigger this event. TBR=amit Review URL: http://codereview.chromium.org/2866013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50458 0039d316-1c4b-4281-b951-d872f2087c98
* In pages rendered in ChromeFrame window open requests or link clicks with ↵ananta@chromium.org2010-06-222-1/+106
| | | | | | | | | | | | | | | | | | | | | target blank which target a different origin should initiate the navigation in the host browser. We achieve this by performing an origin check on the opener frame and the URL being opened. If the origins don't match we allow the host browser to handle this navigation. There is still one issue here as a popup window creation request is still initiated and sent out to the host browser which initiates a dummy attach external tab navigation. Subsequently while applying policy the OpenURL IPC is sent out to the host browser which initiates the navigation to the expected URL. This causes a dummy attach external tab entry to be created in the host browser's history which would have to be deleted. Fixes bug http://code.google.com/p/chromium/issues/detail?id=46667 Bug=46667 Test=Covered by new chrome frame unit test. Review URL: http://codereview.chromium.org/2855017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50416 0039d316-1c4b-4281-b951-d872f2087c98
* Fix an issue with the ChromeFrame protocol patch which shows up in the ↵ananta@chromium.org2010-06-181-1/+2
| | | | | | | | | | | | NavigationToRestrictedSite test. It appears that on IE7 we don't receive the NavigateComplete notification. The protocol patch is now active on the IE7 builder TBR=stoyan Review URL: http://codereview.chromium.org/2835010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50207 0039d316-1c4b-4281-b951-d872f2087c98
* Pref service strings should be std::string.estade@chromium.org2010-06-181-1/+1
| | | | | | | | | | | Part 1: Convert RegisterStringPref. BUG=none TEST=compile Review URL: http://codereview.chromium.org/2809022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50202 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the NavigationToRestrictedSite ChromeFrame test to work with the new ↵ananta@chromium.org2010-06-171-1/+11
| | | | | | | | | | ChromeFrame internet protocol patch. Basically the change is to add an additional BeforeNavigate2 expectation for the error page. Review URL: http://codereview.chromium.org/2842012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50168 0039d316-1c4b-4281-b951-d872f2087c98
* window.open calls issued by pages within ChromeFrame would not honor the ↵ananta@chromium.org2010-06-174-2/+47
| | | | | | | | | | | | | | | | | | | | | | | suggested dimensions and would end up opening a default top level browser window in IE. ChromeFrame does receive the dimensions from the external tab container when it is notified about a popup being opened. Fix is to honor these dimensions by passing them off in the specially crafted url containing other arguments. Fixes bug http://code.google.com/p/chromium/issues/detail?id=42250 This fix is currently implemented for IE full tab mode only. Bug=42250 Test=Covered by augmenting the existing window open test to also validate the window size. Added a new unit test to test the ParseAttachExternalTabUrl helper function. Review URL: http://codereview.chromium.org/2867007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50064 0039d316-1c4b-4281-b951-d872f2087c98
* Add DISABLE_RUNNABLE_METHOD_REFCOUNT to make disabling refcounts in ↵ajwong@chromium.org2010-06-162-18/+4
| | | | | | | | | | | RunnableMethods easier. BUG=none TEST=none Review URL: http://codereview.chromium.org/2830006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49887 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame should allow conditional HTTP headers like if_match, ↵ananta@chromium.org2010-06-164-2/+93
| | | | | | | | | | | | | | | if_modified_since, etc to pass through the host network stack. Filtering out these issues causes POST requests issued by buzz to fail. Fixes bug http://b/issue?id=2321282 Bug=2321282 Test=Covered by ChromeFrame unit test. Review URL: http://codereview.chromium.org/2846005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49880 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the FullTabModeIE_ContextMenuBackForward ChromeFrame test as it ↵ananta@chromium.org2010-06-161-3/+4
| | | | | | | | | | | | | needs some plumbing in the external tab container to populate the navigation history for the tab contents when it is created. Bug=46615 TBR=amit Review URL: http://codereview.chromium.org/2813009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49879 0039d316-1c4b-4281-b951-d872f2087c98
* Add a net::HttpNetworkDelegate and a ChromeNetworkDelegate.willchan@chromium.org2010-06-151-0/+1
| | | | | | | | | net::HttpNetworkDelegate is an interface for providing hooks into http network activity. ChromeNetworkDelgate implements this interface in chrome/ code. In the future, it might also implement other interfaces. My only current intended consumer for this would be extensions. There's no actual behavior change, this is all just plumbing for now. BUG=29314 Review URL: http://codereview.chromium.org/2749015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49804 0039d316-1c4b-4281-b951-d872f2087c98
* Yet another test web server. Supports speed throttle and dump of the traffic.stoyan@chromium.org2010-06-093-0/+245
| | | | | | | | | | Allows binding on 0.0.0.0 to allow connections from a VM (for example). Simple GMock class and Actions. Review URL: http://codereview.chromium.org/2620006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49266 0039d316-1c4b-4281-b951-d872f2087c98
* A new way of hooking internet protocols.stoyan@chromium.org2010-06-092-12/+12
| | | | | | | | TEST=chrome frame tests Review URL: http://codereview.chromium.org/2620001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49265 0039d316-1c4b-4281-b951-d872f2087c98
* chrome_frame: Get rid of all occurrences of the deprecated ToWStringHack ↵tfarina@chromium.org2010-06-084-10/+9
| | | | | | | | | | | function. BUG=24874 TEST=trybots Review URL: http://codereview.chromium.org/2632006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49133 0039d316-1c4b-4281-b951-d872f2087c98
* Add Support for window.close in ChromeFrame. Currently the CloseContents ↵ananta@chromium.org2010-06-072-5/+63
| | | | | | | | | | | | | | | | | | notification on the TabContentsDelegate which the ExternalTabContainer implements is ignored if the window close is not initiated from the host. Fix is to send over an automation message AutomationMsg_CloseExternalTab to the external host where we close the window. Currently this functionality is only provided by the active document. Fixes bug http://code.google.com/p/chromium/issues/detail?id=45930 Bug=45930 Test=Covered by chrome frame unit test FullTabModeIE_WindowCloseInChrome Review URL: http://codereview.chromium.org/2691004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49093 0039d316-1c4b-4281-b951-d872f2087c98
* Support multiple PrefStoresmnissler@chromium.org2010-06-071-4/+7
| | | | | | | | | | | | Add interface for multi_pref_store_manager. BUG=40259 TEST=Unittests in pref_service_unittest.cc, pref_value_store_unittest.cc Review URL: http://codereview.chromium.org/1957005 Patch from Markus Heintz <markusheintz@google.com>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49048 0039d316-1c4b-4281-b951-d872f2087c98
* chrome_frame: Get rid of all occurrences of file_util::AppendToPath.tfarina@chromium.org2010-06-044-22/+21
| | | | | | | | | BUG=24874 TEST=trybots Review URL: http://codereview.chromium.org/2637001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48976 0039d316-1c4b-4281-b951-d872f2087c98
* Ensures that cold startup perf tests clear more DLLs. Helps bring results ↵slightlyoff@chromium.org2010-06-031-2/+14
| | | | | | | | | | | into line with worst-case expectations on Vista. BUG=None TeST=run GCF perftests Review URL: http://codereview.chromium.org/2544003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48799 0039d316-1c4b-4281-b951-d872f2087c98
* Rework the logging for sockets/connectjobs.eroman@chromium.org2010-06-031-1/+2
| | | | | | | | | | | | | | | | | | In particular, make it work better when using backup jobs / late binding (the display was very confused before because of how these asynchronous events would nest). Also changed the paradigm for how PassiveLogCollector preserves these async associations -- this fixes how it replays the events to net-internals. (Before we would collapse the event streams into the SOURCE_URL_REQUEST which lost some hiearchy.. now I keep the separate streams). Some of the particular changes to the event streams: * ConnectJobs now create their own source stream internally. * Sockets are now bounded by +SOCKET_ALIVE / -SOCKET_ALIVE events (removed the one-off SOCKET_DONE event). * The socket log streams contains +SOCKET_IN_USE / -SOCKET_IN_USE event blocks to show which URLRequest was controlling it at various points in time (this makes it much easier to understand which read/writes belonged to a particular network transaction when a socket gets re-used). * ConnectJobs are bounded by +SOCKET_POOL_CONNECT_JOB / - SOCKET_POOL_CONNECT_JOB events. * ConnectJobs log the net error they failed with. * Removed the SOCKET_BACKUP_TIMER_EXTENDED event. Review URL: http://codereview.chromium.org/2363003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48797 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome_frame_tests to check that some navigation cases are not broken in IE.kkania@chromium.org2010-06-029-55/+228
| | | | | | | | | BUG=none TEST=none Original review URL: http://codereview.chromium.org/2173002 Review URL: http://codereview.chromium.org/2375003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48763 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 48527 - Add chrome frame tests for common navigation cases to ensure ↵kkania@chromium.org2010-05-289-231/+55
| | | | | | | | | | | | | IE still works. BUG=none TEST=none Review url: http://codereview.chromium.org/2173002 Review URL: http://codereview.chromium.org/2374002 TBR=kkania@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48529 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome frame tests for common navigation cases to ensure IE still works.kkania@chromium.org2010-05-289-55/+231
| | | | | | | | | BUG=none TEST=none Review url: http://codereview.chromium.org/2173002 Review URL: http://codereview.chromium.org/2374002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48527 0039d316-1c4b-4281-b951-d872f2087c98