WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
157802
Web Inspector: inspector tests should redirect and log console.trace() calls in test output
https://bugs.webkit.org/show_bug.cgi?id=157802
Summary
Web Inspector: inspector tests should redirect and log console.trace() calls ...
Blaze Burg
Reported
2016-05-17 11:04:10 PDT
Not sure how to implement
Attachments
Proposed Fix
(4.30 KB, patch)
2016-05-17 12:52 PDT
,
Blaze Burg
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-05-17 11:06:54 PDT
<
rdar://problem/26325671
>
Blaze Burg
Comment 2
2016-05-17 11:41:20 PDT
Output from current patch: -- Running test case: ShortTaskCompletesWithoutYielding LOG: Hit TRACE: #0: _didFinish (TestCombined.js:3619:22) #1: _processPendingItems (TestCombined.js:3607:24) #2: start (TestCombined.js:3571:34) #3: (anonymous) (unknown) #4: initializePromise [native code] #5: Promise [native code] #6: (anonymous) (TestCombined.js:1214:35) #7: promiseReactionJob [native code] Looks pretty good to me!
Blaze Burg
Comment 3
2016-05-17 12:52:40 PDT
Created
attachment 279151
[details]
Proposed Fix
Joseph Pecoraro
Comment 4
2016-05-17 14:59:40 PDT
Comment on
attachment 279151
[details]
Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=279151&action=review
> Source/WebInspectorUI/UserInterface/Test/FrontendTestHarness.js:144 > + throw new Exception();
This seems rather ambiguous. "new Exception" alone is a runtime exception because there is no such thing as "Exception", which makes the `throw` unnecessary. I tend to write something obvious that causes an exception, like: "({}).x.x" or "this.property.does.not.exist"
WebKit Commit Bot
Comment 5
2016-05-17 15:03:50 PDT
Comment on
attachment 279151
[details]
Proposed Fix Clearing flags on attachment: 279151 Committed
r201048
: <
http://trac.webkit.org/changeset/201048
>
WebKit Commit Bot
Comment 6
2016-05-17 15:03:55 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug