Bug 123341

Summary: Improve JSC Parser error messages
Product: WebKit Reporter: Oliver Hunt <oliver>
Component: New BugsAssignee: Oliver Hunt <oliver>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, eflews.bot, gyuyoung.kim, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2
none
Patch
none
Patch
none
Appease efl build kling: review+

Oliver Hunt
Reported 2013-10-25 07:54:33 PDT
Improve JSC Parser error messages
Attachments
Patch (606.23 KB, patch)
2013-10-25 08:01 PDT, Oliver Hunt
no flags
Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 (517.12 KB, application/zip)
2013-10-25 08:51 PDT, Build Bot
no flags
Patch (606.29 KB, patch)
2013-10-25 08:52 PDT, Oliver Hunt
no flags
Patch (609.79 KB, patch)
2013-10-25 09:23 PDT, Oliver Hunt
no flags
Appease efl build (609.84 KB, patch)
2013-10-25 09:37 PDT, Oliver Hunt
kling: review+
Oliver Hunt
Comment 1 2013-10-25 08:01:08 PDT
EFL EWS Bot
Comment 2 2013-10-25 08:06:02 PDT
EFL EWS Bot
Comment 3 2013-10-25 08:06:38 PDT
Build Bot
Comment 4 2013-10-25 08:41:11 PDT
Build Bot
Comment 5 2013-10-25 08:51:35 PDT
Comment on attachment 215175 [details] Patch Attachment 215175 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/12438006 New failing tests: http/tests/workers/worker-importScripts.html http/tests/workers/shared-worker-importScripts.html fast/regex/dom/non-pattern-characters.html
Build Bot
Comment 6 2013-10-25 08:51:37 PDT
Created attachment 215179 [details] Archive of layout-test-results from webkit-ews-12 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-12 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Oliver Hunt
Comment 7 2013-10-25 08:52:33 PDT
EFL EWS Bot
Comment 8 2013-10-25 08:55:39 PDT
EFL EWS Bot
Comment 9 2013-10-25 09:05:03 PDT
Oliver Hunt
Comment 10 2013-10-25 09:23:56 PDT
EFL EWS Bot
Comment 11 2013-10-25 09:29:03 PDT
EFL EWS Bot
Comment 12 2013-10-25 09:29:44 PDT
Andreas Kling
Comment 13 2013-10-25 09:32:56 PDT
Comment on attachment 215182 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=215182&action=review > LayoutTests/fast/regex/dom/non-pattern-characters-expected.txt:36 > +PASS /\/ threw exception SyntaxError: Unexpected token '/'. Invalid regular expression.. "Invalid regular expression" seems to have two periods (..) at the end, unlike other errors.
Oliver Hunt
Comment 14 2013-10-25 09:37:36 PDT
Created attachment 215184 [details] Appease efl build
Andreas Kling
Comment 15 2013-10-25 09:45:52 PDT
Comment on attachment 215184 [details] Appease efl build View in context: https://bugs.webkit.org/attachment.cgi?id=215184&action=review r=me, assuming ews digs it. > Source/JavaScriptCore/parser/Parser.cpp:107 > + , m_lastFunctionName(0) nullptr > Source/JavaScriptCore/parser/Parser.cpp:1045 > + return 0; nullptr > Source/JavaScriptCore/parser/Parser.cpp:1055 > + m_lastFunctionName = 0; nullptr > Source/JavaScriptCore/parser/Parser.cpp:2014 > + ASSERT_NOT_REACHED(); > + return "error"; Why not just RELEASE_ASSERT_NOT_REACHED here?
Oliver Hunt
Comment 16 2013-10-25 10:11:46 PDT
Note You need to log in before you can comment on or make changes to this bug.