- Nov 17, 2010
-
-
levin@chromium.org authored
BUG=none TEST=none TBR=antonm@chromium.org Review URL: http://codereview.chromium.org/5031003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66381 0039d316-1c4b-4281-b951-d872f2087c98
-
dmaclach@chromium.org authored
Should fix build. BUG=none TEST=build Review URL: http://codereview.chromium.org/5142001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66374 0039d316-1c4b-4281-b951-d872f2087c98
-
nirnimesh@chromium.org authored
Revert 66350 - Add named testing interface. This allows you to connect to a pre-existing Chrome process and run tests on it. This is an addition to the low level interface underlying testing frameworks like PyAuto and WebDriver. Normally, test frameworks communicate with Chrome over an unnamed socket pair on POSIX. The test creates the socket pair and then launches the browser as a child process, passing an open file descriptor for one end of the socket to the browser. This change adds a command line switch that, when passed to the browser, causes it to listen on a named socket instead, eliminating this parent/child process requirement. Therefore, you can potentially connect any number of tests to a preexisting browser process. For ChromeOS, this allows you to run tests on the instance of Chrome that is launched on startup, which controls things like the login and lock screens, the battery meter, the wireless UI, etc. Currently there is no way to run tests on a pre-existing Chrome instance. Eventually this will also allow you to connect both PyAuto and WebDriver to the same Chrome instance and run both in the same test. If you pass the browser the following command line switch: ./chrome --testing-channel=NamedTestingInterface:/path/to/file This causes the browser to listen for incoming connections. An AutomationProxy can connect to the browser by connecting a Unix domain socket to the specified path and control the browser over the socket. This is currently only for POSIX. Windows support will come in a future change. Also, this initial change only allows one connection; multiple connection support will come in a future change. BUG=chromium-os:8512 TEST=Run Chrome with --testing-interface=/var/tmp/NamedTestingInterface, then run NamedInterfaceTest.BasicNamedInterface under ui_tests. Review URL: http://codereview.chromium.org/4202004 TBR=nirnimesh@chromium.org Review URL: http://codereview.chromium.org/5139001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66368 0039d316-1c4b-4281-b951-d872f2087c98
-
chrome-release@google.com authored
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66366 0039d316-1c4b-4281-b951-d872f2087c98
-
dmaclach@chromium.org authored
Also fixes typo in comment. BUG=none TEST=build Review URL: http://codereview.chromium.org/5100001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66364 0039d316-1c4b-4281-b951-d872f2087c98
-
cbentzel@chromium.org authored
BUG=63386 TEST=None TBR=kmadhusu@chromium.org Review URL: http://codereview.chromium.org/5132001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66363 0039d316-1c4b-4281-b951-d872f2087c98
-
laforge@chromium.org authored
Review URL: http://codereview.chromium.org/5102002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66362 0039d316-1c4b-4281-b951-d872f2087c98
-
jcivelli@chromium.org authored
BUG=NONE TEST=None Review URL: http://codereview.chromium.org/5045005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66360 0039d316-1c4b-4281-b951-d872f2087c98
-
sky@chromium.org authored
enter before the dim finished. BUG=63424 TEST=see bug TBR=jcivelli@chromium.org Review URL: http://codereview.chromium.org/5111002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66359 0039d316-1c4b-4281-b951-d872f2087c98
-
cbentzel@chromium.org authored
BUG=63428 TEST=None TBR=alekseys@chromium.org Review URL: http://codereview.chromium.org/5128001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66358 0039d316-1c4b-4281-b951-d872f2087c98
-
chocobo@chromium.org authored
For example, if Google-A is not configure, it will be disabled in the network menu and not selectable in the options pages. And from oobe/login, Google-A will always be disabled b/c the certificates will not be there until the user logs in. BUG=chromium-os:8293 TEST=Manual. From oobe, make sure google-a is disabled. Before setting up google-a, make sure google-a is disabled in network menu and options pages. Then set up google-a and see that it's now enabled in both network menu and options page. Log out and check that google-a is disabled. Review URL: http://codereview.chromium.org/4976007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66356 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/5066002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66355 0039d316-1c4b-4281-b951-d872f2087c98
-
nirnimesh@chromium.org authored
BUG= TEST= Review URL: http://codereview.chromium.org/5105001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66354 0039d316-1c4b-4281-b951-d872f2087c98
-
mpcomplete@chromium.org authored
BUG=49114 TEST=no Review URL: http://codereview.chromium.org/5098001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66353 0039d316-1c4b-4281-b951-d872f2087c98
-
cbentzel@chromium.org authored
BUG=66386 TEST=None Review URL: http://codereview.chromium.org/5117001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66352 0039d316-1c4b-4281-b951-d872f2087c98
-
apatrick@chromium.org authored
TEST=try BUG=none Review URL: http://codereview.chromium.org/4949005 The issue was a builder failed: http://build.chromium.org/p/chromium.memory/builders/Webkit%20Mac%20(valgrind)/builds/1052 Error was: CompileC ../../../xcodebuild/build_angle.build/Release/translator_common.build/Objects-normal/i386/glslang_lex.o /b/build/slave/webkit-rel-mac-valgrind/build/src/third_party/angle/src/compiler/glslang_lex.cpp normal i386 c++ com.apple.compilers.gcc.4_2 cd /b/build/slave/webkit-rel-mac-valgrind/build/src/third_party/angle/src /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O1 -Wnewline-eof -DTRACE_OUTPUT_FILE="angle-debug.txt" -DCHROMIUM_BUILD -DENABLE_REMOTING=1 -DENABLE_GPU=1 -DNDEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -mmacosx-version-min=10.5 -gdwarf-2 -Wendif-labels -Wno-unused-parameter -Wno-missing-field-initializers -F/b/build/slave/webkit-rel-mac-valgrind/build/src/third_party/angle/src/../../../xcodebuild/Release -I/b/build/slave/webkit-rel-mac-valgrind/build/src/third_party/angle/src/../../../xcodebuild/Release/include -I. -I../include -I/b/build/slave/webkit-rel-mac-valgrind/build/src/third_party/angle/src/../../../xcodebuild/build_angle.build/Release/translator_common.build/DerivedSources -g -fno-inline -fno-omit-frame-pointer -fno-builtin -c /b/build/slave/webkit-rel-mac-valgrind/build/src/third_party/angle/src/compiler/glslang_lex.cpp -o /b/build/slave/webkit-rel-mac-valgrind/build/src/third_party/angle/src/../../../xcodebuild/build_angle.build/Release/translator_common.build/Objects-normal/i386/glslang_lex.o i686-apple-darwin9-gcc-4.2.1: /b/build/slave/webkit-rel-mac-valgrind/build/src/third_party/angle/src/compiler/glslang_lex.cpp: No such file or directory i686-apple-darwin9-gcc-4.2.1: warning: '-x c++' after last input file has no effect i686-apple-darwin9-gcc-4.2.1: no input files TBR=alokp@chromium.org Review URL: http://codereview.chromium.org/5116001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66351 0039d316-1c4b-4281-b951-d872f2087c98
-
nirnimesh@chromium.org authored
Add named testing interface. This allows you to connect to a pre-existing Chrome process and run tests on it. This is an addition to the low level interface underlying testing frameworks like PyAuto and WebDriver. Normally, test frameworks communicate with Chrome over an unnamed socket pair on POSIX. The test creates the socket pair and then launches the browser as a child process, passing an open file descriptor for one end of the socket to the browser. This change adds a command line switch that, when passed to the browser, causes it to listen on a named socket instead, eliminating this parent/child process requirement. Therefore, you can potentially connect any number of tests to a preexisting browser process. For ChromeOS, this allows you to run tests on the instance of Chrome that is launched on startup, which controls things like the login and lock screens, the battery meter, the wireless UI, etc. Currently there is no way to run tests on a pre-existing Chrome instance. Eventually this will also allow you to connect both PyAuto and WebDriver to the same Chrome instance and run both in the same test. If you pass the browser the following command line switch: ./chrome --testing-channel=NamedTestingInterface:/path/to/file This causes the browser to listen for incoming connections. An AutomationProxy can connect to the browser by connecting a Unix domain socket to the specified path and control the browser over the socket. This is currently only for POSIX. Windows support will come in a future change. Also, this initial change only allows one connection; multiple connection support will come in a future change. BUG=chromium-os:8512 TEST=Run Chrome with --testing-interface=/var/tmp/NamedTestingInterface, then run NamedInterfaceTest.BasicNamedInterface under ui_tests. Review URL: http://codereview.chromium.org/4202004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66350 0039d316-1c4b-4281-b951-d872f2087c98
-
cbentzel@chromium.org authored
BUG=66386 TEST=None TBR=kmadhusu Review URL: http://codereview.chromium.org/5115001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66349 0039d316-1c4b-4281-b951-d872f2087c98
-
csilv@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/5024004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66348 0039d316-1c4b-4281-b951-d872f2087c98
-
akalin@chromium.org authored
Moved it to GarbageCollectExtensions(). This avoids some problems with shutdown ordering causing crashes. Re-enable themes sync integration tests on OS X (which were crashing). BUG=63285,62869 TEST=themes sync integration tests Review URL: http://codereview.chromium.org/4957005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66347 0039d316-1c4b-4281-b951-d872f2087c98
-
zelidrag@chromium.org authored
- removed button that was used to fake payment process. - fixed race condition on connect/disconnect. - added UMA histograms to trace results of activation process. BUG=chromium-os:9202, chromium-os:9220, chromium-os:9169 TEST=none Review URL: http://codereview.chromium.org/5072001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66346 0039d316-1c4b-4281-b951-d872f2087c98
-
oshima@chromium.org authored
TBR=derat@chromium.org BUG=none TEST=chromium os build should cycle green git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66345 0039d316-1c4b-4281-b951-d872f2087c98
-
tschmelcher@chromium.org authored
- Check for a NULL PluginObject at all NPAPI entry points. This fixes a crash in Chrome where the browser foolishly calls NPP_SetWindow with instance->pdata == NULL. - Factor out obscene amounts of redundancy from main_<platform>.(cc|mm) into main.cc. This makes no change to the functionality, except that NP_Initialize on Linux now has HANDLE_CRASHES whereas before it did not. TEST=built on Linux, Mac, and Windows; installed and loaded O3D on each platform and made sure it worked; repeatedly loaded on Mac & Win in Chrome 8.0.552.200 and verified no crashes; inspected "svn diff" output manually and verified that the code and order of execution of that code is unchanded for each platform BUG=none Review URL: http://codereview.chromium.org/4957002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66344 0039d316-1c4b-4281-b951-d872f2087c98
-
oshima@chromium.org authored
Change the font size to medium. BUG=chromium-os:9194 TEST=login and lock the screen using short power keypress. Confirm the uesrname has the same font/color as in login screen. Review URL: http://codereview.chromium.org/5074001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66343 0039d316-1c4b-4281-b951-d872f2087c98
-
mpcomplete@chromium.org authored
BUG=63038 TEST=Install an extension with a bg page and a popup. Right-click the browser action and inspect the popup. In the task manager, kill the extension process. The browser should not crash. Review URL: http://codereview.chromium.org/5038004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66342 0039d316-1c4b-4281-b951-d872f2087c98
-
- Nov 16, 2010
-
-
derat@chromium.org authored
These appear to have been following the pattern of: ScreenLocker::Show(); ... ui_test_utils::WaitForNotification( NotificationType::SCREEN_LOCK_STATE_CHANGED); I believe that this hangs until the test times out if the notification is sent before we return from Show() (since we won't yet be listening for the notification at the time). I'm changing them to: ScreenLocker::Show(); ... if (!chromeos::ScreenLocker::GetTester()->IsLocked()) ui_test_utils::WaitForNotification( NotificationType::SCREEN_LOCK_STATE_CHANGED); The old version looks like it started failing with my r66287, which I don't understand -- I thought that we were already generating the notification immediately as of r66131, which fixed a bug where the initial attempt to grab the pointer and keyboard always failed (thus ensuring that the notifications wouldn't be sent until the next time that the event loop was run). BUG=none TEST=all screen locker tests passed on my local machine Review URL: http://codereview.chromium.org/5054004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66340 0039d316-1c4b-4281-b951-d872f2087c98
-
apatrick@chromium.org authored
TEST=try BUG=none Review URL: http://codereview.chromium.org/4949005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66339 0039d316-1c4b-4281-b951-d872f2087c98
-
jhawkins@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/5089001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66338 0039d316-1c4b-4281-b951-d872f2087c98
-
rickcam@chromium.org authored
BUG=63026 TEST=none Review URL: http://codereview.chromium.org/4850001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66337 0039d316-1c4b-4281-b951-d872f2087c98
-
amit@chromium.org authored
When chrome.exe is launched with --chrome-frame switch, we need to gather any crashes in this mode under 'ChromeFrame' product id under go/crash. Since ChromeFrame exists only on windows, this change is limited to breakpad_win.cc for now. BUG=none TEST=none Review URL: http://codereview.chromium.org/4847001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66336 0039d316-1c4b-4281-b951-d872f2087c98
-
apatrick@chromium.org authored
The GPU watchdog thread that seemed to cause this error is now disabled when running with valgrind. Leaks are expected when the watchdog aborts the GPU process. TEST=mac_valgrind BUG=58245 Review URL: http://codereview.chromium.org/5027003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66335 0039d316-1c4b-4281-b951-d872f2087c98
-
apatrick@chromium.org authored
Collecting GPU info was taking enough time to make the GPU watchdog abort the GPU process. Moved GTK initialization into GpuProcess (but still before gfx::GLContext::InitializeOneOff). TEST=try BUG=none Review URL: http://codereview.chromium.org/5017004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66333 0039d316-1c4b-4281-b951-d872f2087c98
-
alekseys@chromium.org authored
and extend RenderViewHost with a concept of reserved contents rect, a place to show extra stuff, such as Sidebar's mini tab UI. sidebar UI implementation warranted this change (mini tabs UI and resize corner area for sidebar contents). TabContentsDelegate::GetRootWindowResizerRect() is no more, reserved contents area is now cached in RenderWidgetHostView and updated upon view resize. Views: BrowserView is responsible for the actual layout and reserved contents area update. Mac: TabContentsController now manages all TabContents views in the main browser window to solve two problems, first to prevent contents flickering during tab change not only for the page, but for the sidebar and devtools contents too and, second, to monitor contents view frame changes and update reserved contents area accordingly. BUG=51084 TEST=All tests should pass, this is a refactoring CL. Review URL: http://codereview.chromium.org/3547008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66332 0039d316-1c4b-4281-b951-d872f2087c98
-
thomasvl@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/5095001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66331 0039d316-1c4b-4281-b951-d872f2087c98
-
cbentzel@chromium.org authored
This is pretty broad, since there are leaks in the test body itself, as well as in calls made by the test body. BUG=63386 TEST=None TBR=kmadhusu Review URL: http://codereview.chromium.org/4985007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66330 0039d316-1c4b-4281-b951-d872f2087c98
-
mpcomplete@chromium.org authored
TBR=asargent BUG=63078 TEST=no Review URL: http://codereview.chromium.org/5020002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66329 0039d316-1c4b-4281-b951-d872f2087c98
-
thestig@chromium.org authored
BUG=none TEST=better error messages. Review URL: http://codereview.chromium.org/4999003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66328 0039d316-1c4b-4281-b951-d872f2087c98
-
mpcomplete@chromium.org authored
- Overlapping styles are now bitwise-ORed together (instead of replacing previous ones). - The "length" parameter for style ranges is optional and can be 0. BUG=63077,63078 TEST=covered by tests Review URL: http://codereview.chromium.org/5064001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66327 0039d316-1c4b-4281-b951-d872f2087c98
-
pkasting@chromium.org authored
BUG=none TEST=none Review URL: http://codereview.chromium.org/5034004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66326 0039d316-1c4b-4281-b951-d872f2087c98
-
rsimha@chromium.org authored
It looks like all the Passwords integration tests are failing on the mac builder. Marking them as FAILS until the associated bug is fixed. For logs, see http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Mac%20Sync/builds/1238 TBR=akalin@chromium.org BUG=59867 TEST=sync_integration_tests on mac builder Review URL: http://codereview.chromium.org/4985005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66325 0039d316-1c4b-4281-b951-d872f2087c98
-