Bug 156153

Summary: Add SPI to allow install script message handlers in isolated worlds
Product: WebKit Reporter: Sam Weinig <sam>
Component: New BugsAssignee: Sam Weinig <sam>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, cgarcia, clopez, commit-queue, gyuyoung.kim, japhet, jh718.park, ossy
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch andersca: review+

Sam Weinig
Reported 2016-04-03 22:17:04 PDT
Add SPI to allow install script message handlers in isolated worlds
Attachments
Patch (66.35 KB, patch)
2016-04-03 22:37 PDT, Sam Weinig
andersca: review+
Sam Weinig
Comment 1 2016-04-03 22:37:46 PDT
WebKit Commit Bot
Comment 2 2016-04-03 22:39:40 PDT
Attachment 275530 [details] did not pass style-queue: ERROR: Source/WebKit2/UIProcess/UserContent/WebScriptMessageHandler.h:40: Code inside a namespace should not be indented. [whitespace/indent] [4] ERROR: Source/WebKit2/WebProcess/UserContent/WebUserContentController.cpp:310: More than one command on the same line [whitespace/newline] [4] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:131: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:132: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:133: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:134: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:135: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:136: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:137: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Tools/TestWebKitAPI/Tests/WebKit2Cocoa/UserContentController.mm:137: Weird number of spaces at line-start. Are you using a 4-space indent? [whitespace/indent] [3] Total errors found: 10 in 30 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 3 2016-04-04 09:46:11 PDT
Comment on attachment 275530 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=275530&action=review > Source/WebCore/page/UserMessageHandlersNamespace.cpp:53 > + decltype(m_messageHandlers) oldMap = WTFMove(m_messageHandlers); auto oldMap = > Source/WebKit2/UIProcess/UserContent/WebScriptMessageHandler.h:40 > + class UserContentWorld; Don't indent this.
Sam Weinig
Comment 4 2016-04-04 14:03:21 PDT
Note You need to log in before you can comment on or make changes to this bug.