| Summary: | Web Inspector: For Remote Inspection link WebProcess's to their parent UIProcess | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, graouts, joepeck, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
|
Description
Joseph Pecoraro
2014-01-14 10:40:05 PST
Created attachment 221183 [details]
[PATCH] Proposed Fix
Comment on attachment 221183 [details] [PATCH] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=221183&action=review > Source/JavaScriptCore/inspector/remote/RemoteInspector.mm:301 > + NSString *parentApplicationIdentifier = [NSString stringWithFormat:@"PID:%lu", (unsigned long)debuggableInfo.parentProcessIdentifier]; Is "PID:" needed? DO you need to strip that out later for the numeric value or do you just compare strings? (In reply to comment #3) > (From update of attachment 221183 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=221183&action=review > > > Source/JavaScriptCore/inspector/remote/RemoteInspector.mm:301 > > + NSString *parentApplicationIdentifier = [NSString stringWithFormat:@"PID:%lu", (unsigned long)debuggableInfo.parentProcessIdentifier]; > > Is "PID:" needed? DO you need to strip that out later for the numeric value or do you just compare strings? Nope, PID is not needed. I just wanted this to be obvious that it was a String, and if we change it to be some other number in the future then we can give another prefix for what exactly that means. E.g. "BundleID:#", "PID:#", "XPC:#", etc. Just trying to be forward thinking. Comment on attachment 221183 [details] [PATCH] Proposed Fix Clearing flags on attachment: 221183 Committed r161994: <http://trac.webkit.org/changeset/161994> All reviewed patches have been landed. Closing bug. |