double invocation of normal inclusion surrogates
Posted: Tue Sep 27, 2011 10:01 am
Fx 7.0, NS 2.1.3, new profile
runs the first time before the @ surrogate:
test page:
surrogates:
console log:
the log seems to be indicating that the first invocation is from chrome
runs the first time before the @ surrogate:
test page:
Code: Select all
<script src="http://domain.invalid/"></script>
Code: Select all
noscript.surrogate.normal.sources=*
noscript.surrogate.normal.replacement=console.log('normal surrogate');
noscript.surrogate.@.sources=@*
noscript.surrogate.@.replacement=console.log('@ surrogate');
Code: Select all
[05:56:03.622] normal surrogate @ chrome://noscript/content/ScriptSurrogate.js:193
[05:56:03.627] @ surrogate @ http://localhost/tests/surrogates/normal-simple.htm:10
[05:56:03.631] normal surrogate @ http://localhost/tests/surrogates/normal-simple.htm