1 diff --git a/third_party/d3/src/d3.js b/third_party/d3/src/d3.js 2 index a3e4b95..8a98c4d 100644 3 --- a/third_party/d3/src/d3.js 4 +++ b/third_party/d3/src/d3.js 5 @@ -713,6 +713,7 @@ 6 }) : this.node().textContent; 7 }; 8 d3_selectionPrototype.html = function(value) { 9 + throw "disallowed by chromium security"; 10 return arguments.length ? this.each(typeof value === "function" ? function() { 11 var v = value.apply(this, arguments); 12 this.innerHTML = v == null ? "" : v; 13 @@ -9274,9 +9275,11 @@ 14 return JSON.parse(request.responseText); 15 } 16 d3.html = function(url, callback) { 17 + throw "disallowed by chromium security"; 18 return d3_xhr(url, "text/html", d3_html, callback); 19 }; 20 function d3_html(request) { 21 + throw "disallowed by chromium security"; 22 var range = d3_document.createRange(); 23 range.selectNode(d3_document.body); 24 return range.createContextualFragment(request.responseText); 25