Created attachment 110868 [details] Include ExceptionCode.h instead In WebCore::WorkerContext::importScript() method, a compile error like 'SYNTAX_ERR is not defined' occurs when compile switches are set to :- - ENABLE_WORKERS=1 - ENABLE_FILE_SYSTEM=0 Include dom/ExceptionCode.h instead, like the attached candidate patch. I don't know about WebKit's commit policy so that I set commit-queue to '?'.
Attachment 110868 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:3: Line contains tab character. [whitespace/tab] [5] Source/WebCore/ChangeLog:4: Line contains tab character. [whitespace/tab] [5] Source/WebCore/ChangeLog:5: Line contains tab character. [whitespace/tab] [5] Source/WebCore/ChangeLog:7: Line contains tab character. [whitespace/tab] [5] Source/WebCore/ChangeLog:9: Line contains tab character. [whitespace/tab] [5] Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 6 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 111019 [details] Patch2 improved according to the found errors by WebKit Review Bot
Comment on attachment 111019 [details] Patch2 Iād rather see an unconditional include of ExceptionCode.h instead of the #else, but this is OK.
Comment on attachment 111019 [details] Patch2 Clearing flags on attachment: 111019 Committed r97482: <http://trac.webkit.org/changeset/97482>
All reviewed patches have been landed. Closing bug.