WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
160187
Regression(
r203535
): Uncaught Exception: TypeError: Not enough arguments at LayerTreeDataGridNode.js:47
https://bugs.webkit.org/show_bug.cgi?id=160187
Summary
Regression(r203535): Uncaught Exception: TypeError: Not enough arguments at L...
Benjamin Poulain
Reported
2016-07-25 23:20:50 PDT
------- Inspected URL:
http://cookingaddict.net/
Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/603.1.1+ (KHTML, like Gecko) Uncaught Exceptions: - TypeError: Not enough arguments (at LayerTreeDataGridNode.js:47:131) createTextNode @ [native code] createCellContent @ LayerTreeDataGridNode.js:47:131 createCell @ DataGridNode.js:361:45 createCells @ DataGridNode.js:111:54 createCells @ LayerTreeDataGridNode.js:40:26 element @ DataGridNode.js:104:25 _updateVisibleRows @ DataGrid.js:1070:47 layout @ DataGrid.js:852:32 _layoutSubtree @ View.js:250:20 updateLayout @ View.js:147:28 updateLayoutIfNeeded @ View.js:155:26 _sortNodesCallback @ DataGrid.js:1344:38 _sortNodesCallback @ [native code] ------- * STEPS TO REPRODUCE 1. What were you doing? Include setup or other preparations to reproduce the exception. 2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps. * NOTES Document any additional information that might be useful in resolving the problem, such as screen shots or other included attachments.
Attachments
Proposed Fix
(1.94 KB, patch)
2016-07-26 12:41 PDT
,
Blaze Burg
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-07-25 23:21:19 PDT
<
rdar://problem/27540435
>
Benjamin Poulain
Comment 2
2016-07-25 23:23:19 PDT
To reproduce: -Open
http://cookingaddict.net
-Right click on the slider->Inspect -Click on the div with id="defilhor"
Chris Dumez
Comment 3
2016-07-26 09:31:51 PDT
var cell = columnIdentifier === "name" ? this._makeNameCell() : this._makeOutlet(columnIdentifier, document.createTextNode()); Parameter to createTextNode() is mandatory after:
http://trac.webkit.org/changeset/203535
document.createTextNode() was identical to calling document.createTextNode("undefined") :/
Blaze Burg
Comment 4
2016-07-26 09:54:18 PDT
(In reply to
comment #3
)
> var cell = columnIdentifier === "name" ? this._makeNameCell() : > this._makeOutlet(columnIdentifier, document.createTextNode()); > > Parameter to createTextNode() is mandatory after: >
http://trac.webkit.org/changeset/203535
> > document.createTextNode() was identical to calling > document.createTextNode("undefined") :/
Oops! This is in view code so we didn't have any coverage for that change.
Blaze Burg
Comment 5
2016-07-26 12:41:39 PDT
Created
attachment 284619
[details]
Proposed Fix
Nikita Vasilyev
Comment 6
2016-07-26 13:09:34 PDT
Comment on
attachment 284619
[details]
Proposed Fix View in context:
https://bugs.webkit.org/attachment.cgi?id=284619&action=review
Looks good, but I'm not a reviewer to r+ it.
> Source/WebInspectorUI/UserInterface/Views/LayerTreeDataGridNode.js:47 > + cell = columnIdentifier === "name" ? this._makeNameCell() : this._makeOutlet(columnIdentifier, document.createTextNode("â"));
â is an em dash. Our bugzilla doesn't handle unicode that well, apparently.
Nikita Vasilyev
Comment 7
2016-07-27 08:33:17 PDT
***
Bug 160250
has been marked as a duplicate of this bug. ***
WebKit Commit Bot
Comment 8
2016-07-27 09:15:36 PDT
Comment on
attachment 284619
[details]
Proposed Fix Clearing flags on attachment: 284619 Committed
r203778
: <
http://trac.webkit.org/changeset/203778
>
WebKit Commit Bot
Comment 9
2016-07-27 09:15:41 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