Closed
Bug 321107
(ajax-demolisher)
Opened 19 years ago
Closed 7 years ago
Ajax demolisher for crashing Mozilla
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Unassigned)
References
(Blocks 1 open bug, )
Details
(Keywords: meta, sec-other, Whiteboard: [sg:nse] meta)
Attachments
(8 files)
You need to use this tool locally to get it to work.
You need to make a 'mozdata.htm' file in C://
Then execute filewrite.xul
Every 6s or so it refreshes the bottom frame with a new mangled html file.
When Mozilla crashes, you are left with a html file that crashes (well, most of the time).
At the end of that 'mozdata.htm' file, I add this text (sort of), to trigger the crash:
</textarea></iframe></object></script>
<script>
function addstyles(){
var x=document.createElement('style');
x.innerHTML='\
*:first-child::first-line { text-transform: uppercase;
background-color:green; font-size:110%;}\
*:first-child::after { content:"anonymous text";
float:right;border:3px solid black;text-transform: uppercase;}\
*:first-child::before { content:"before text"; float:right;border:3px
solid black;font-size: 10px;}\
';
document.documentElement.appendChild(x);
}
function removestyles(i){
var x=document.getElementsByTagName('*');
if (x[i])
{
x[i].removeAttribute('style');
}
i++;
setTimeout(removestyles,50,i);
}
setTimeout(addstyles,200);
setTimeout(removestyles,500,0);
</script>
I filed it as security-sensitive, if it's not security-sensitive, then please
make the bug public.
Reporter | ||
Comment 1•19 years ago
|
||
Bugs not fixed yet, that were discovered with this tool:
Bug 315850, bug 315918, bug 316026, bug 317179, bug 317275, bug 317302, bug 317724, bug 317854, bug 317876, bug 318592.
Reporter | ||
Updated•19 years ago
|
Updated•19 years ago
|
Whiteboard: [sg:nse] meta
Reporter | ||
Comment 2•19 years ago
|
||
Improvements:
1 single html file, no need to create mozdata.html manually anymore, not dependent on textarea.value anymore.
Reporter | ||
Updated•19 years ago
|
Reporter | ||
Comment 3•19 years ago
|
||
Some more improvements, now you can create html, xul, svg files.
Updated•19 years ago
|
Reporter | ||
Comment 4•19 years ago
|
||
Some more options (midas ability, adding random xbl, with/without extra text, templates).
The code is becoming real messy, now.
I also have an official name for this thing: Ajax crusher (I really wanted to have something with Ajax in it).
Reporter | ||
Comment 5•19 years ago
|
||
Er, I meant: Ajax demolisher!
Turning off/on elements/style rules still needs to happen manually in the crasher.htm file.
Summary: Manglehtml tool for crashing Mozilla → Ajax demolisher for crashing Mozilla
Reporter | ||
Comment 6•18 years ago
|
||
Version 5.
Now also able to change various other styles and some other stuff fixed.
Reporter | ||
Comment 7•18 years ago
|
||
- templates: you can relative easy add custom scripts (in the templates/ directory) which can do any stuff (changing styles, stirdom, etc) on the document
- Added a bunch of other styles
- I removed the size check for xml docs, so look out for that, if you use this.
- Added a test button, to test only
- Added some foreignobject stuff for trunk, to be able to rotate, zoom and so.
Updated•18 years ago
|
Alias: ajax-demolisher
Reporter | ||
Comment 8•18 years ago
|
||
With more templates (including ispiked's print preview one), also with all kinds of (unminimised and minimised) crashers that are now wfm.
To use this, open ajaxdemolisher.htm.
To test the worksformecrashes, just push the 'just test' button.
Reporter | ||
Comment 9•18 years ago
|
||
v7 without the worksorme crashers, but with the crashers that still crash nowadays on trunk.
Reporter | ||
Comment 10•18 years ago
|
||
(In reply to comment #8)
> To test the worksformecrashes, just push the 'just test' button.
Er, I meant the 'wfm_test.htm' button.
Reporter | ||
Comment 11•18 years ago
|
||
version 8, not sure, what changed compared to version 7.
I believe now the ability to add print preview was added.
Reporter | ||
Updated•10 years ago
|
Group: core-security
Reporter | ||
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Updated•8 years ago
|
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Updated•7 years ago
|
Status: REOPENED → RESOLVED
Closed: 8 years ago → 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•