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.
Created attachment 109788 [details] Patch
Created attachment 109818 [details] Patch
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?
Committed r97151: <http://trac.webkit.org/changeset/97151>
This is causing a crash on the Lion Debug bot: http://build.webkit.org/results/Lion%20Intel%20Debug%20(Tests)/r97151%20(929)/http/tests/inspector/compiler-source-mapping-provider-crash-log.txt