What is keeping jQuery.print from working with Leaflet?
问题 When testing a git repo that makes use of jQuery.print (demo here), I got the following error: [Exception... "The operation is insecure." code: "18" nsresult: "0x80530012 (SecurityError)" location: "<unknown>"] I tested this on a local Leaflet instance with jQuery.print by pasting the following into the console, and was able to replicate it: $.print("map" /*, options*/); [Exception... "The operation is insecure." code: "18" nsresult: "0x80530012 (SecurityError)" location: "<unknown>"] "Failed