Bug 125707 - Web Inspector: Move Inspector and Debugger protocol domains into JavaScriptCore
Summary: Web Inspector: Move Inspector and Debugger protocol domains into JavaScriptCore
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 13:15 PST by Joseph Pecoraro
Modified: 2013-12-13 22:47 PST (History)
10 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (44.50 KB, patch)
2013-12-13 13:22 PST, Joseph Pecoraro
timothy: review+
buildbot: commit-queue-
Details | Formatted Diff | Diff
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 (563.63 KB, application/zip)
2013-12-13 15:24 PST, Build Bot
no flags Details
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion (524.23 KB, application/zip)
2013-12-13 15:42 PST, Build Bot
no flags Details
[DIFF] Extra Changes (6.42 KB, patch)
2013-12-13 16:11 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff
[PATCH] Improved Fix (52.24 KB, patch)
2013-12-13 17:22 PST, Joseph Pecoraro
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2013-12-13 13:15:07 PST
Move a few other domains into JavaScriptCore that we will eventually need in JavaScriptCore.

In doing this, there was a dependency in the Debugger protocol on Page.SearchMatch type. So to fix this, I create a new domain "GenericTypes" that only contains types that can be shared by everyone. I put this domain in JavaScriptCore and avoid generating frontend/backend/backendcommands for this class, only typebuilders.
Comment 1 Joseph Pecoraro 2013-12-13 13:22:25 PST
Created attachment 219191 [details]
[PATCH] Proposed Fix
Comment 2 Build Bot 2013-12-13 15:24:30 PST
Comment on attachment 219191 [details]
[PATCH] Proposed Fix

Attachment 219191 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/48638260

New failing tests:
inspector-protocol/debugger/setBreakpoint-options-exception.html
inspector-protocol/debugger/breakpoint-inside-conditons-and-actions.html
inspector-protocol/debugger/breakpoint-action-detach.html
inspector-protocol/debugger/breakpoint-action-with-exception.html
inspector-protocol/debugger/setBreakpoint-actions.html
Comment 3 Build Bot 2013-12-13 15:24:32 PST
Created attachment 219205 [details]
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-14  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 4 Joseph Pecoraro 2013-12-13 15:34:05 PST
That sounds like a red flag! I'll investigate.
Comment 5 Build Bot 2013-12-13 15:42:00 PST
Comment on attachment 219191 [details]
[PATCH] Proposed Fix

Attachment 219191 [details] did not pass mac-ews (mac):
Output: http://webkit-queues.appspot.com/results/48628268

New failing tests:
inspector-protocol/debugger/setBreakpoint-options-exception.html
inspector-protocol/debugger/breakpoint-inside-conditons-and-actions.html
inspector-protocol/debugger/breakpoint-action-detach.html
inspector-protocol/debugger/breakpoint-action-with-exception.html
inspector-protocol/debugger/setBreakpoint-actions.html
Comment 6 Build Bot 2013-12-13 15:42:03 PST
Created attachment 219206 [details]
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion

The attached test failures were seen while running run-webkit-tests on the mac-ews.
Bot: webkit-ews-07  Port: mac-mountainlion  Platform: Mac OS X 10.8.5
Comment 7 Joseph Pecoraro 2013-12-13 16:11:26 PST
Created attachment 219208 [details]
[DIFF] Extra Changes

These are the changes I have to make to fix the issue seen in inspector-protocol/debugger tests.

I have no idea how the compiler was compiling this without warnings. This had crossed my mind before, and these test failures just made it very obvious.

There were two Inspector::TypeBuilder::getEnumConstantValue functions, now there will be one for each TypeBuilder output file. So:

    Inspector::TypeBuilder::getJSEnumConstantValue(...)
    Inspector::TypeBuilder::getWebEnumConstantValue(...)
Comment 8 Joseph Pecoraro 2013-12-13 17:22:19 PST
Created attachment 219211 [details]
[PATCH] Improved Fix
Comment 9 Joseph Pecoraro 2013-12-13 22:47:45 PST
Landed r160588: <http://trac.webkit.org/changeset/160588>