RESOLVED FIXED 156543
REGRESSION: Web Inspector: Remote inspector doesn't work
https://bugs.webkit.org/show_bug.cgi?id=156543
Summary REGRESSION: Web Inspector: Remote inspector doesn't work
Carlos Garcia Campos
Reported 2016-04-13 09:31:16 PDT
It shows a nice error page saying there was an error: SecurityError:​ DOM Exception 18:​ An attempt was made to break through the security policy of the user agent. (at InspectorFrontendHostStub.js:​50:​39)​ It seems WebSockets are blocked.
Attachments
Patch (2.64 KB, patch)
2016-04-14 01:37 PDT, Carlos Garcia Campos
no flags
Patch (2.65 KB, patch)
2016-04-14 01:40 PDT, Carlos Garcia Campos
no flags
Carlos Garcia Campos
Comment 1 2016-04-14 01:33:31 PDT
Adding ws to connect-src fixes this, but then it complains that InspectorFrontendHost.zoomFactor is undefined (this is probably due to r199396)
Carlos Garcia Campos
Comment 2 2016-04-14 01:37:55 PDT
Carlos Garcia Campos
Comment 3 2016-04-14 01:38:57 PDT
I don't think this is specific to GTK at all.
Carlos Garcia Campos
Comment 4 2016-04-14 01:40:30 PDT
Timothy Hatcher
Comment 5 2016-04-14 09:56:00 PDT
(In reply to comment #3) > I don't think this is specific to GTK at all. It affects anyone using InspectorFrontendHostStub, which we don't use on the Apple ports. This does open web sockets for us, even though the Inspector does not need them on our ports. That is probably fine.
WebKit Commit Bot
Comment 6 2016-04-14 10:44:12 PDT
Comment on attachment 276380 [details] Patch Clearing flags on attachment: 276380 Committed r199541: <http://trac.webkit.org/changeset/199541>
WebKit Commit Bot
Comment 7 2016-04-14 10:44:16 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.