summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools
Commit message (Collapse)AuthorAgeFilesLines
* DevTools: Add exception handling support into the window context evaluation.pfeldman@chromium.org2009-06-154-4/+30
| | | | | | Review URL: http://codereview.chromium.org/126122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18382 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Provisional commit for ↵pfeldman@chromium.org2009-06-153-38/+59
| | | | | | | | https://bugs.webkit.org/attachment.cgi?id=31255 landing. Review URL: http://codereview.chromium.org/125119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18377 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: extension content script names are shown with a background color ↵yurys@google.com2009-06-154-5/+50
| | | | | | | | | different from other scripts. BUG=13677 Review URL: http://codereview.chromium.org/125116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18374 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools:yurys@google.com2009-06-118-44/+44
| | | | | | | | * set svn:eol-style to LF * remove some trailing whitespaces Review URL: http://codereview.chromium.org/123023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18165 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: when injected script context is created its context data is set to ↵yurys@google.com2009-06-112-17/+20
| | | | | | | | | the value derived from the context data of the page it's injected in. It allows to match injected scripts with the inspected page. BUG=13676 Review URL: http://codereview.chromium.org/122036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18164 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Render 'Array' type name for scope variables.pfeldman@chromium.org2009-06-111-0/+13
| | | | | | | | BUG=13253 Review URL: http://codereview.chromium.org/123019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18163 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: do not skip first array element.pfeldman@chromium.org2009-06-111-1/+1
| | | | | | Review URL: http://codereview.chromium.org/122037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18161 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: pass proper platform names on non-windows.pfeldman@chromium.org2009-06-111-0/+8
| | | | | | Review URL: http://codereview.chromium.org/122031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18155 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: fix Profiles Panes 'show' interception.mnaganov@chromium.org2009-06-111-0/+3
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/122029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18152 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: always send reponse to resource content request, otherwise client ↵yurys@google.com2009-06-101-0/+1
| | | | | | | | | may break issuing request for same resource several times(e.g. when resource tracking is getting turned on). ToolsAgentNativeDelegateImpl is recreated to clear request cache each time front-end is reset. Review URL: http://codereview.chromium.org/118495 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18060 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add test for resource panel enabling.pfeldman@chromium.org2009-06-103-12/+139
| | | | | | Review URL: http://codereview.chromium.org/118502 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18059 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: migrate sanity tests to javascript.pfeldman@chromium.org2009-06-103-0/+132
| | | | | | Review URL: http://codereview.chromium.org/119368 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18047 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: now that WebKit implementation of WebInspector.SourceView expects ↵yurys@google.com2009-06-094-38/+20
| | | | | | | | InspectorController.addResourceSourceToFrame to asynchronous we can get rid of our implementation of SourceView.setupSourceFrameIfNeeded. Review URL: http://codereview.chromium.org/118428 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17952 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on DevTools Profiler.mnaganov@chromium.org2009-06-081-2/+2
| | | | | | | | | | | Works on Windows and Linux. On Mac V8's sampling doesn't work with Chromium due to an unknown reason. BUG=none TEST=none Review URL: http://codereview.chromium.org/118384 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17866 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: better handling of DevTools' reset and initial load.mnaganov@chromium.org2009-06-058-69/+111
| | | | | | | | | | | Rationale: as V8 can't be reset for the process, it means that profiling logs are permanent from the viewpoint of a DevTools instance. Thus, we don't need to reset Profiles panel UI as opposed to WebKit. BUG=none TEST=none Review URL: http://codereview.chromium.org/119175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17723 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix expression evaluation while on a breakpoint.pfeldman@chromium.org2009-06-041-1/+1
| | | | | | | | BUG=13251 Review URL: http://codereview.chromium.org/118236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17637 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: do not lose console message type on marshalling.pfeldman@chromium.org2009-06-041-1/+2
| | | | | | Review URL: http://codereview.chromium.org/119167 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17627 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: reuse more code from WebKit Inspector.mnaganov@chromium.org2009-06-044-111/+118
| | | | | | | | | | | | | | | | This enables: - links to source code from call graph tree; - focusing and exlusion of functions; - search (but it seems not fully-functional in WebKit Inspector for now). Also moved to profiler_processor WebKit-specific code from V8/tools/profile_view. BUG=none TEST=none Review URL: http://codereview.chromium.org/118230 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17626 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Catch up with InspectorController changes.pfeldman@chromium.org2009-06-035-2/+102
| | | | | | Review URL: http://codereview.chromium.org/119077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17474 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: use sampling rate reported by V8 profiler.mnaganov@chromium.org2009-06-022-9/+30
| | | | | | | | | | | Also fix a small problem with displaying "Processing..." icon: handle the case when log processing finishes prior to 'didIsProfilingStarted_' arrived. BUG=none TEST=none Review URL: http://codereview.chromium.org/119039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17400 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler UI changes.mnaganov@chromium.org2009-06-023-13/+76
| | | | | | | | | | | | | - filter our V8 natives; - display a notification that profile is being processed to avoid confusion; - do not display ".000" part when displaying time. BUG=none TEST=none Review URL: http://codereview.chromium.org/118112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17399 0039d316-1c4b-4281-b951-d872f2087c98
* Header cleanup in webkit/gluephajdan.jr@chromium.org2009-06-011-0/+1
| | | | | | | | | - reduce header dependencies - remove redundant forward declarations Review URL: http://codereview.chromium.org/115871 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17313 0039d316-1c4b-4281-b951-d872f2087c98
* BUG=12192rafaelw@chromium.org2009-05-302-329/+0
| | | | | | | | R=aa Review URL: http://codereview.chromium.org/115681 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17269 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: decouple class and method names from RPC message arguments. That ↵yurys@google.com2009-05-295-58/+103
| | | | | | | | would allow to select dispatcher wothout parsing the message argument. Review URL: http://codereview.chromium.org/115862 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17176 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix standalone mode for Inspector frontend.pfeldman@chromium.org2009-05-281-2/+2
| | | | | | Review URL: http://codereview.chromium.org/115864 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17075 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Add support for non-trivial console messages.pfeldman@chromium.org2009-05-281-2/+15
| | | | | | Review URL: http://codereview.chromium.org/113953 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17074 0039d316-1c4b-4281-b951-d872f2087c98
* Separate results of profiling sessions.mnaganov@chromium.org2009-05-283-33/+75
| | | | | | | | | | Now data for each profiling session is collected separately (previously they were accumulated in a single profile). BUG=none TEST=none Review URL: http://codereview.chromium.org/113950 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17072 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Migrate to InspectorController for network and console events.pfeldman@chromium.org2009-05-2712-681/+196
| | | | | | | | | | | | | | - introduced bound object on the agent side; - established remote dispatch of WebInspector calls - using fake InspectorFrontend for serializing events and sending them over the ipc - removed net agents from both sides - moved GetResource stuff to tools agent Assumes following is landed: https://bugs.webkit.org/show_bug.cgi?id=26010 Review URL: http://codereview.chromium.org/113836 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16980 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: use event context to decide which agent should be used for ↵yurys@google.com2009-05-262-80/+49
| | | | | | | | | handling the event. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16586 Review URL: http://codereview.chromium.org/113629 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16871 0039d316-1c4b-4281-b951-d872f2087c98
* Sync with the profiler changes in V8.mnaganov@chromium.org2009-05-265-61/+92
| | | | | | | | | - Use context prior to calling 'ResumeProfiler'. - Check the status of the profiler using 'IsProfilerPaused'. Review URL: http://codereview.chromium.org/115767 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16868 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: disable console autocompletion until we come up with some good ↵yurys@google.com2009-05-251-0/+11
| | | | | | | | | solution for asynchronouse completion. BUG=12435 Review URL: http://codereview.chromium.org/115753 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16853 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Messages converted to wide strings don't work on Mac and Linux. ↵yurys@google.com2009-05-212-4/+4
| | | | | | | | Use Utf8ToUtf16 conversion instead. Review URL: http://codereview.chromium.org/113706 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16607 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Temporarily use JSON with escaping to handle non-latin data.pfeldman@chromium.org2009-05-211-1/+3
| | | | | | Review URL: http://codereview.chromium.org/115632 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16595 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Reverting 16586. Necessary v8 changes are not rolled yet.yurys@google.com2009-05-212-49/+80
| | | | | | Review URL: http://codereview.chromium.org/115630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16593 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Use message format in WebInspector.UIString override.pfeldman@chromium.org2009-05-211-1/+1
| | | | | | Review URL: http://codereview.chromium.org/113700 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16591 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Display main resource url as devtools window title.pfeldman@chromium.org2009-05-213-7/+15
| | | | | | Review URL: http://codereview.chromium.org/113693 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16590 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: only supported event types are forwarded to the client. ↵yurys@google.com2009-05-211-0/+7
| | | | | | | | Unsupported events may cause additional troubles. E.g. ScriptCollected event handling crashes on call to GetEventContext(this should be fixed on v8 side). Review URL: http://codereview.chromium.org/113695 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16589 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: use event context to decide which agent should be used for ↵yurys@google.com2009-05-212-80/+49
| | | | | | | | handling the event. Review URL: http://codereview.chromium.org/113629 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16586 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: if the number of actual parameters is greater than number of the ↵yurys@google.com2009-05-201-13/+25
| | | | | | | | formal ones they will be available in the arguments array as elements without names. We shouldn't show such properties in the scope variables panel. Review URL: http://codereview.chromium.org/113630 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16473 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: do work with new InspectorController.pfeldman@chromium.org2009-05-193-27/+13
| | | | | | Review URL: http://codereview.chromium.org/115518 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16399 0039d316-1c4b-4281-b951-d872f2087c98
* Fix build breakage (add file missing in 115508).pfeldman@chromium.org2009-05-191-0/+2
| | | | | | Review URL: http://codereview.chromium.org/113580 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16366 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: do not cache xmlhttp when client is not attached; reduce agent ↵pfeldman@chromium.org2009-05-191-10/+17
| | | | | | | | cache size. Review URL: http://codereview.chromium.org/115508 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16364 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: utility scripts and all other scripts not having context data are ↵yurys@google.com2009-05-181-0/+36
| | | | | | | | filtered out on the agent side. Review URL: http://codereview.chromium.org/115466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16288 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: to speed up devtools start up time script sources are omitted from ↵yurys@google.com2009-05-182-1/+84
| | | | | | | | the 'scripts' response. They are requested on demand when user selects corresponding file in the Scripts panel. Review URL: http://codereview.chromium.org/113521 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16272 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: changed debugger response handling so to the short format. Now ↵yurys@google.com2009-05-182-177/+66
| | | | | | | | object references in the protocol contain some display data that is enough for displaying the referenced object while it's collapsed. Child properties are requested lazily. Review URL: http://codereview.chromium.org/113460 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16271 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Introduce lightweight version of JSON serialization.pfeldman@chromium.org2009-05-151-1/+1
| | | | | | Review URL: http://codereview.chromium.org/115397 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16153 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: simplify client dispatch via moving it into javascript.pfeldman@chromium.org2009-05-152-97/+25
| | | | | | Review URL: http://codereview.chromium.org/113450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16150 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: save time on line lookup in l10n error report.pfeldman@chromium.org2009-05-147-416/+426
| | | | | | Review URL: http://codereview.chromium.org/113401 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16057 0039d316-1c4b-4281-b951-d872f2087c98
* Add initial version of DevTools Profiler.mnaganov@chromium.org2009-05-149-2/+478
| | | | | | | | | To activate it, run Chromium with the following additional js-flags: "--prof --noprof_auto --logfile=*" Review URL: http://codereview.chromium.org/115299 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16052 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: fix memory leak.pfeldman@chromium.org2009-05-131-0/+1
| | | | | | | | TBR=yurys Review URL: http://codereview.chromium.org/115308 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15963 0039d316-1c4b-4281-b951-d872f2087c98