Bug 1494796 - fix blob stylesheet test to not fail retrieving sourcemap; r=nchevobbe

this test was failing because the threadClient was posting messages due to being unable to
find the source map. After investigating, I found that the sourcemap was formatted incorrectly. I do
not know if this was intentional. If it wasn't this fix works. If it was, then we need to find a way
to wait on source map failures, and the test name might need to be updated

Differential Revision: https://phabricator.services.mozilla.com/D32715

--HG--
extra : moz-landing-system : lando
This commit is contained in:
yulia 2019-06-12 23:35:49 +00:00
parent c0aa01fcc2
commit 69155c39cd

View File

@ -19,12 +19,12 @@ body > h1 {
color: white;
}
` +
"/*# sourceMappingURL=data:application/json;base64,ewoidmVyc2lvbiI6IDMsCiJtYX" +
"//# sourceMappingURL=data:application/json;base64,ewoidmVyc2lvbiI6IDMsCiJtYX" +
"BwaW5ncyI6ICJBQUFBLElBQUs7RUFDSCxnQkFBZ0IsRUFBRSxLQUFLOztBQUN2QixTQUFPO0VBQ0" +
"wsS0FBSyxFQUFFLEtBQUsiLAoic291cmNlcyI6IFsidGVzdC5zY3NzIl0sCiJzb3VyY2VzQ29udG" +
"VudCI6IFsiYm9keSB7XG4gIGJhY2tncm91bmQtY29sb3I6IGJsYWNrO1xuICAmID4gaDEge1xuIC" +
"AgIGNvbG9yOiB3aGl0ZTsgIFxuICB9XG59XG4iXSwKIm5hbWVzIjogW10sCiJmaWxlIjogInRlc3" +
"QuY3NzIgp9Cg== */";
"QuY3NzIgp9Cg==";
var cssBlob = new Blob([cssContent], {type: "text/css"});
var url = URL.createObjectURL(cssBlob);