Bug 30697

Summary: V8 bindings do not use feature ENABLE guards
Product: WebKit Reporter: Steve Block <steveblock>
Component: WebCore Misc.Assignee: Ben Murdoch <benm>
Status: RESOLVED FIXED    
Severity: Normal CC: benm, steveblock
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch 1 for Bug 30697 eric: review+, commit-queue: commit-queue-

Description Steve Block 2009-10-22 17:28:54 PDT
The V8 bindings in DerivedSourcesAllInOne.cpp, V8Index.cpp/h and DOMObjectsInclude.h (in WebCore/bindings/v8/) do not make consistent use of feature ENABLE guards. This means that the build errors occur when some features are disabled.

The features in question are as follows.
- DATABASE
- WORKERS
- SHARED_WORKERS
- SVG
- XPATH
- XSLT
- INSPECTOR
Comment 1 Steve Block 2009-10-23 03:05:57 PDT
Created attachment 41722 [details]
Patch 1 for Bug 30697
Comment 2 Eric Seidel (no email) 2009-10-23 11:40:44 PDT
Comment on attachment 41722 [details]
Patch 1 for Bug 30697

LGTM.  Nice cleanup!
Comment 3 Eric Seidel (no email) 2009-10-23 14:03:54 PDT
Comment on attachment 41722 [details]
Patch 1 for Bug 30697

Steve is not a committer to marking this cq+ even though he didn't request auto-commit.
Comment 4 WebKit Commit Bot 2009-10-23 15:33:10 PDT
Comment on attachment 41722 [details]
Patch 1 for Bug 30697

Rejecting patch 41722 from commit-queue.

Failed to run "['git', 'svn', 'dcommit']" exit_code: 1
Last 500 characters of output:
ctsInclude.h
	M	WebCore/bindings/v8/DerivedSourcesAllInOne.cpp
	M	WebCore/bindings/v8/V8Index.cpp
	M	WebCore/bindings/v8/V8Index.h
A repository hook failed: MERGE request failed on '/repository/webkit/trunk': Commit blocked by pre-commit hook (exit code 1) with output:
svnlook: Can't write to stream: Broken pipe

    The following ChangeLog files contain OOPS:

        trunk/WebCore/ChangeLog

    Please don't ever say "OOPS" in a ChangeLog file.
 at /usr/local/libexec/git-core//git-svn line 469
Comment 5 Ben Murdoch 2009-10-26 03:51:43 PDT
Will land manually to fix up the Changelog.
Comment 6 Ben Murdoch 2009-10-26 07:19:04 PDT
Landed as r50057.