RESOLVED FIXED 69423
Web Inspector: implement CompilerSourceMappingProvider.
https://bugs.webkit.org/show_bug.cgi?id=69423
Summary Web Inspector: implement CompilerSourceMappingProvider.
Pavel Podivilov
Reported 2011-10-05 07:29:46 PDT
Web Inspector: implement CompilerSourceMappingProvider. CompilerSourceMappingProvider implements a cross-domain communication channel for loading source mappings and source files. Front-end page can't send XHRs to source mapping server directly due to SOP restrictions. Instead, we inject an invisible iframe that is loaded from source mapping server and use window.postMessage to communicate with it. iframe has a different origin and thus doesn't have access to front-end window.
Attachments
Patch (14.66 KB, patch)
2011-10-05 07:31 PDT, Pavel Podivilov
no flags
Patch (14.63 KB, patch)
2011-10-05 10:24 PDT, Pavel Podivilov
pfeldman: review+
Pavel Podivilov
Comment 1 2011-10-05 07:31:25 PDT
Pavel Podivilov
Comment 2 2011-10-05 10:24:20 PDT
Pavel Feldman
Comment 3 2011-10-11 03:12:28 PDT
Comment on attachment 109818 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=109818&action=review > Source/WebCore/inspector/front-end/CompilerSourceMappingProvider.js:34 > +WebInspector.CompilerSourceMappingProvider = function(sourceMappingURL) Could you please annotate this class?
Pavel Podivilov
Comment 4 2011-10-11 07:04:13 PDT
Note You need to log in before you can comment on or make changes to this bug.