summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger
Commit message (Collapse)AuthorAgeFilesLines
* DevTools: Restore devtools sanity console tests.pfeldman@chromium.org2009-08-211-7/+2
| | | | | | | | BUG=18786 Review URL: http://codereview.chromium.org/174220 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23962 0039d316-1c4b-4281-b951-d872f2087c98
* Disable DevToolsSanityTest.TestShowScriptsTab, which has been flaky for ↵estade@chromium.org2009-08-211-1/+1
| | | | | | | | | | quite a while. TBR=pfeldman Review URL: http://codereview.chromium.org/174203 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23920 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: more interactive tests porting.estade@chromium.org2009-08-201-2/+12
| | | | | | | | | | The most noteworthy change here is the implementation of SendMouseMove() and SendMouseClick() in ui_controls. I've combed the interwebs and I don't think it's possible to figure out the GdkWindow that is showing for a given (x,y) coordinate pair (except perhaps by delving into X), so we have to just send clicks to wherever the pointer lies. This is unfortunate in that it means we have to move the pointer, wait for it to get where it's going, and only then make the click. But on the bright side there's this super helpful function called gdk_display_warp_pointer() which makes moving the mouse a breeze. BUG=19076 Review URL: http://codereview.chromium.org/174113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23880 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Re-enable devtools sanity tests.pfeldman@chromium.org2009-08-191-6/+0
| | | | | | | TBR=mnaganov Review URL: http://codereview.chromium.org/173053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23704 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up lines longer than 80 chars under src/chrome/browser. mark@chromium.org2009-08-171-1/+2
| | | | | | | | | | | | | | | | | | | Command: awk '{if ( length($0) > 80 ) { print FILENAME, FNR, $0 } }' *.cc *.h # recursive find . -type f \( -name '*.cc' -o -name '*.h' \) -exec awk '{if ( length($0) > 80 ) { print FILENAME, FNR, $0 } }' {} \; Patch by Pierre-Antoine LaFayette <pierre.lafayette@gmail.com> BUG=None TEST=None Code review URL: http://codereview.chromium.org/164566 Review URL: http://codereview.chromium.org/171066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23583 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Disable sanity tests while merging the DOMAgent commit upstream. ↵pfeldman@chromium.org2009-08-131-0/+6
| | | | | | | | (Re-apply 23350). Review URL: http://codereview.chromium.org/164514 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23359 0039d316-1c4b-4281-b951-d872f2087c98
* Rollback 23350. Fix build breakage: no object file generated.pfeldman@chromium.org2009-08-131-5/+0
| | | | | | | TBR=mnaganov git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23356 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Disable sanity tests while merging the DOMAgent commit upstream.pfeldman@chromium.org2009-08-131-0/+5
| | | | | | | TBR=mnaganov Review URL: http://codereview.chromium.org/164505 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23350 0039d316-1c4b-4281-b951-d872f2087c98
* Mark a layout tests as crash/pass; disable two crashing UI tests.senorblanco@chromium.org2009-08-071-2/+4
| | | | | | | | | BUG=http://crbug.com/18784,http://crbug.com/18786 TEST=less redness == more goodness TBR=tim git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22768 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix devtools after WebKit @r46732 roll.pfeldman@chromium.org2009-08-041-2/+1
| | | | | | | | BUG=18378 Review URL: http://codereview.chromium.org/159850 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22370 0039d316-1c4b-4281-b951-d872f2087c98
* Disable failing inspector sanity test.aa@chromium.org2009-08-041-1/+2
| | | | | | TBR=pfeldman@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22366 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: split console evaluation into two steps: actual evaluation and resultyurys@google.com2009-07-271-0/+5
| | | | | | | | | | | wrapping. When second step is executed debugger_agent_manager will autocontinue on break. We assume that second step doesn't call user scripts. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21635 Review URL: http://codereview.chromium.org/159395 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21637 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 21635.yurys@google.com2009-07-271-5/+0
| | | | | | Review URL: http://codereview.chromium.org/159399 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21636 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: split console evaluation into two steps: actual evaluation and resultyurys@google.com2009-07-271-0/+5
| | | | | | | | | wrapping. When second step is executed debugger_agent_manager will autocontinue on break. We assume that second step doesn't call user scripts. Review URL: http://codereview.chromium.org/159395 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21635 0039d316-1c4b-4281-b951-d872f2087c98
* Reverting 21525.yurys@google.com2009-07-241-5/+0
| | | | | | Review URL: http://codereview.chromium.org/160100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21529 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: split console evaluation into two steps: actual evaluation and ↵yurys@google.com2009-07-241-0/+5
| | | | | | | | result wrapping. When second step is executed debugger_agent_manager will autocontinue on break. We assume that second step doesn't call user scripts. Review URL: http://codereview.chromium.org/160012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21525 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Disable dock action on Mac OS since it is not yet implemented.pfeldman@chromium.org2009-07-201-0/+5
| | | | | | | | BUG=15936 Review URL: http://codereview.chromium.org/155765 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21071 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Make 'toggle node search' mode work.pfeldman@chromium.org2009-07-162-0/+10
| | | | | | | BUG=16824 Review URL: http://codereview.chromium.org/155639 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20873 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: re-enable interactve sanity tests.pfeldman@chromium.org2009-07-151-6/+6
| | | | | | | BUG=16767 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20750 0039d316-1c4b-4281-b951-d872f2087c98
* Disable tests failing due webkit (Roll WebKit DEPS 45843:45873). Introduced ↵stoyan@chromium.org2009-07-151-5/+10
| | | | | | | | | | in r20680. See http://crbug.com/16767. TBR=dimich Review URL: http://codereview.chromium.org/155545 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20690 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Focus docked DevTools window on breakpoint.pfeldman@chromium.org2009-07-141-2/+6
| | | | | | Review URL: http://codereview.chromium.org/155423 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20614 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the ConsoleLog test and enable it. It was previously disabled because ↵dimich@google.com2009-07-141-1/+1
| | | | | | | | | | | | WebKit change http://trac.webkit.org/changeset/45786 had split the 'type' and 'level' parameters of the ConsoleMessage into 2 separate parameters, which changed the way CSS styles are formatted for messages in Inspector front-end. Updated test expectations. BUG=16684 TEST=the test DevToolsSanityTest.TestConsoleLog is enabled by this CL Review URL: http://codereview.chromium.org/155482 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20609 0039d316-1c4b-4281-b951-d872f2087c98
* Temporarily disable TestConsoleLog in interactive_tests. dimich@google.com2009-07-141-1/+1
| | | | | | | | | BUG=16684 TEST=none TBR=mhm@chromium.org Review URL: http://codereview.chromium.org/155472 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20593 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Toggle docked devtools window on shortcut.pfeldman@chromium.org2009-07-132-23/+51
| | | | | | Review URL: http://codereview.chromium.org/149527 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20479 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove extensions-related workaround from the docked devtools ↵pfeldman@chromium.org2009-07-081-6/+1
| | | | | | | | window destruction. Review URL: http://codereview.chromium.org/155206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20139 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: added test for setting breakpoit.yurys@google.com2009-07-081-0/+5
| | | | | | Review URL: http://codereview.chromium.org/149256 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20135 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add global eval sanity test.pfeldman@chromium.org2009-07-071-1/+1
| | | | | | Review URL: http://codereview.chromium.org/155134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20018 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add more sanity tests.pfeldman@chromium.org2009-07-071-3/+19
| | | | | | Review URL: http://codereview.chromium.org/149246 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20017 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Preserve devtools window contents on dock/undock.pfeldman@chromium.org2009-07-073-209/+179
| | | | | | Review URL: http://codereview.chromium.org/149199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20016 0039d316-1c4b-4281-b951-d872f2087c98
* Do some refactoring of renderer_host.brettw@chromium.org2009-07-061-1/+1
| | | | | | | | | | | | | | | | | | | This removes the last dependency on tab_contents from the renderer_host code and into the RenderViewHostDelegate. Some of the tests depended on tab_contents, so I moved to a new directory with the tab_contents include allowed via DEPS. Now DEPS can enforce that no additional tab_contents includes are added to renderer_host. RenderViewHost delegate is now pure virtual. After spending a while *again* figuring out why my code didn't work, only to find it was because the default implementation of a function was getting called instead of the real one, I decided to make this pure virtual. It is implemented by TabContents, which implements basically everything, and two other places that implement less. Only two lists of duplicate functions seems not too bad, although long-term it would be nice if this delegate was somehow more succinct. Review URL: http://codereview.chromium.org/155071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19982 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: preserve focus on activating dev tools window.pfeldman@chromium.org2009-07-064-0/+20
| | | | | | | | BUG=15912 Review URL: http://codereview.chromium.org/155068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19938 0039d316-1c4b-4281-b951-d872f2087c98
* Add an ExtensionBrowserTest base class that allows in-process browser tests ↵aa@chromium.org2009-07-041-2/+2
| | | | | | | | of extensions using ExtensionsService directly, rather than TestExtensionLoaded. Use it to re-enable some old browser tests that had been disabled. Review URL: http://codereview.chromium.org/150213 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19930 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Console tests.pfeldman@chromium.org2009-07-031-0/+11
| | | | | | Review URL: http://codereview.chromium.org/149178 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19904 0039d316-1c4b-4281-b951-d872f2087c98
* Handle partial sends over the ChromeDevToolsProtocol.apavlov@chromium.org2009-07-031-9/+22
| | | | | | | send() can send parts of the buffer fed in. We should send parts of the buffer until the entire buffer has been transferred. Review URL: http://codereview.chromium.org/150229 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19902 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add docked pane into the browser view.pfeldman@chromium.org2009-07-016-109/+70
| | | | | | Review URL: http://codereview.chromium.org/150160 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19723 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: check that devtools front-end JS files are loaded before running a ↵yurys@google.com2009-07-011-3/+22
| | | | | | | | test, otherwise the test will hang waiting for reponse from the front-end. Review URL: http://codereview.chromium.org/151143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19722 0039d316-1c4b-4281-b951-d872f2087c98
* fix build bustageaa@chromium.org2009-07-011-1/+2
| | | | | | Review URL: http://codereview.chromium.org/150157 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19719 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Introduce docked version of DevTools.pfeldman@chromium.org2009-07-016-65/+352
| | | | | | Review URL: http://codereview.chromium.org/149071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19713 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix debugger test, reenable debugger and resources tests.yurys@google.com2009-07-011-4/+4
| | | | | | | BUG=15677 Review URL: http://codereview.chromium.org/151140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19711 0039d316-1c4b-4281-b951-d872f2087c98
* Disable new test DevToolsSanityTest.TestEnableResourcesTab until Yuri fixes itdkegel@google.com2009-06-301-1/+1
| | | | | | | | | BUG=http://crbug.com/15677 TEST=none Review URL: http://codereview.chromium.org/150115 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19606 0039d316-1c4b-4281-b951-d872f2087c98
* Disable new test DevToolsSanityTest.TestEnableScriptsTab until Yuri fixes itdkegel@google.com2009-06-301-1/+1
| | | | | | | | BUG=http://crbug.com/15677 TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19597 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add tests that opens Scripts panel and checks that it's populated ↵yurys@google.com2009-06-301-0/+6
| | | | | | | | with two inspected scripts. Review URL: http://codereview.chromium.org/151076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19583 0039d316-1c4b-4281-b951-d872f2087c98
* Move render_view_host_manager* and site_instance* from tab_contents to ↵brettw@chromium.org2009-06-291-1/+1
| | | | | | | | renderer_host. Review URL: http://codereview.chromium.org/150011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19481 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: add sanity test.mnaganov@chromium.org2009-06-261-8/+14
| | | | | | | | | | | Add a test that opens a page which executes JS, profiles it, and checks the result displayed. BUG=none TEST=chrome\browser\debugger\devtools_sanity_unittest.cc Review URL: http://codereview.chromium.org/147204 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19360 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remove ShowJavaScriptConsole / InspectElementAt methods from ↵pfeldman@chromium.org2009-06-244-8/+24
| | | | | | | | render_view_host API. Review URL: http://codereview.chromium.org/146080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19112 0039d316-1c4b-4281-b951-d872f2087c98
* Handle EWOULDBLOCK/EAGAIN while sending ChromeDevTools protocol messages so ↵apavlov@chromium.org2009-06-242-0/+19
| | | | | | | | that outbound protocol messages do not get silently dropped. Review URL: http://codereview.chromium.org/147080 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19109 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Nuke legacy debugger.pfeldman@chromium.org2009-06-2424-3922/+8
| | | | | | Review URL: http://codereview.chromium.org/146027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19108 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce header dependencies in browser/phajdan.jr@chromium.org2009-06-1311-11/+9
| | | | | | | | | | | | - remove unneeded header includes - move implementation bits out of headers - more explicit header deps In my scan of headers I got up to (including) dom_ui. Review URL: http://codereview.chromium.org/126071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18353 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Keep Resources panel enabled status upon frame navigate.pfeldman@chromium.org2009-06-111-1/+0
| | | | | | Review URL: http://codereview.chromium.org/118508 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18153 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add test for resource panel enabling.pfeldman@chromium.org2009-06-101-1/+6
| | | | | | Review URL: http://codereview.chromium.org/118502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18059 0039d316-1c4b-4281-b951-d872f2087c98