Bug 141746

Summary: REGRESSION(r180235): It broke the !ENABLE(PROMISES) build
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: joepeck, timothy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 141634    

Description Csaba Osztrogonác 2015-02-17 23:56:30 PST
build log:
../../Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp: In member function 'JSC::JSValue Inspector::JSInjectedScriptHost::getInternalProperties(JSC::ExecState*)':
../../Source/JavaScriptCore/inspector/JSInjectedScriptHost.cpp:212:9: error: 'JSPromise' was not declared in this scope

The problem is that JSPromise type is used unconditionally,
but it is defined inside ENABLE(PROMISES) guard.
Comment 1 Joseph Pecoraro 2015-02-18 00:56:04 PST
Oops, somehow I didn't even notice that this was behind an enable flag. I'll fix. Thanks for alerting me.
Comment 2 Joseph Pecoraro 2015-02-18 00:58:07 PST
Should be fixed by:
http://trac.webkit.org/changeset/180259