1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/styleeditor/test/resources_inpage.jsi Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 + 1.5 +// This script is used from within browser_styleeditor_cmd_edit.html 1.6 + 1.7 +window.addEventListener('load', function() { 1.8 + var pid = document.getElementById('pid'); 1.9 + var h3 = document.createElement('h3'); 1.10 + h3.id = 'h3id'; 1.11 + h3.classList.add('h3class'); 1.12 + h3.appendChild(document.createTextNode('h3')); 1.13 + h3.setAttribute('data-a1', 'h3'); 1.14 + pid.parentNode.appendChild(h3); 1.15 +});