RESOLVED FIXED 179325
Uncaught Exception: TypeError: null is not an object (evaluating 'mimeType.endsWith')
https://bugs.webkit.org/show_bug.cgi?id=179325
Summary Uncaught Exception: TypeError: null is not an object (evaluating 'mimeType.en...
Blaze Burg
Reported 2017-11-06 10:06:03 PST
------- Inspected URL: Apple Internal :( Loading completed: true Frontend User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.13+ (KHTML, like Gecko) Uncaught Exceptions: - TypeError: null is not an object (evaluating 'mimeType.endsWith') (at MIMETypeUtilities.js:127:17) fileExtensionForMIMEType @ MIMETypeUtilities.js:127:17 _customContentViewConstructorForResource @ ResourceClusterContentView.js:338:56 _tryEnableCustomResponseContentView @ ResourceClusterContentView.js:322:99 ResourceClusterContentView @ ResourceClusterContentView.js:64:49 createFromRepresentedObject @ ContentView.js:52:53 contentViewForRepresentedObject @ ContentView.js:199:72 showContentViewForRepresentedObject @ ContentBrowser.js:149:63 showRepresentedObject @ ContentBrowserTabContentView.js:197:64 showRepresentedObject @ Main.js:1135:41 _treeSelectionDidChange @ ResourceSidebarPanel.js:464:37 dispatch @ Object.js:170:30 dispatchEventToListeners @ Object.js:177:17 select @ TreeElement.js:536:49 selectOnMouseDown @ TreeElement.js:493:20 treeElementMouseDown @ TreeElement.js:287:46 ------- * STEPS TO REPRODUCE 1. Load the page (pasted in radar), switch to Network Tab, click on the socket.io resource => Uncaught Exception
Attachments
[PATCH] Proposed Fix (4.97 KB, patch)
2017-11-06 11:34 PST, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2017-11-06 10:06:26 PST
Joseph Pecoraro
Comment 2 2017-11-06 10:29:58 PST
I think I had fixed this on my CacheStorage branch, but its easy to add a check now.
Joseph Pecoraro
Comment 3 2017-11-06 11:34:03 PST
Created attachment 326139 [details] [PATCH] Proposed Fix
Blaze Burg
Comment 4 2017-11-06 11:36:38 PST
Comment on attachment 326139 [details] [PATCH] Proposed Fix r=me
WebKit Commit Bot
Comment 5 2017-11-06 12:32:09 PST
Comment on attachment 326139 [details] [PATCH] Proposed Fix Clearing flags on attachment: 326139 Committed r224507: <https://trac.webkit.org/changeset/224507>
WebKit Commit Bot
Comment 6 2017-11-06 12:32:11 PST
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.