Closed
Bug 111614
Opened 23 years ago
Closed 22 years ago
parseFromString makes modal windows non-modal.
Categories
(Core :: XML, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.3beta
People
(Reporter: gsmedley, Assigned: hjtoi-bugzilla)
Details
(Whiteboard: [fixinhand])
Attachments
(1 file)
8.92 KB,
patch
|
sicking
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
Calling DOMParser parseFromString from a modal window's onload function makes
the window non-modal.
Assignee | ||
Comment 1•23 years ago
|
||
Ugh! One more problem because we cheat: we use the modal window event loop to
make things synchronous. This will fix itself when bug 65985 is fixed.
Assignee | ||
Updated•23 years ago
|
Target Milestone: --- → Future
Updated•22 years ago
|
QA Contact: petersen → rakeshmishra
Assignee | ||
Comment 2•22 years ago
|
||
Actually I now know how to do this, I already have a patch for XMLHttpRequest
syncload for 1.3beta. I should have time for this in 1.4alpha.
Target Milestone: Future → mozilla1.4alpha
Assignee | ||
Comment 3•22 years ago
|
||
Well, I lied, I made the patch already... attaching.
It would be nice to get a testcase for this, though. Garth?
Status: NEW → ASSIGNED
No longer depends on: 65985
Target Milestone: mozilla1.4alpha → mozilla1.3alpha
Assignee | ||
Comment 4•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Whiteboard: [fixinhand]
Assignee | ||
Comment 5•22 years ago
|
||
Comment on attachment 111745 [details] [diff] [review]
Proposed fix
Here is basically the same thing as XMLHttpRequest sync load, now for DOMParser
(which I had forgotten).
Attachment #111745 -
Flags: superreview?(darin)
Attachment #111745 -
Flags: review?(bugmail)
Comment 6•22 years ago
|
||
Comment on attachment 111745 [details] [diff] [review]
Proposed fix
sr=darin
Attachment #111745 -
Flags: superreview?(darin) → superreview+
Assignee | ||
Updated•22 years ago
|
Target Milestone: mozilla1.3alpha → mozilla1.3beta
Comment 7•22 years ago
|
||
Heikki: Garth won't be able to produce a testcase since he isn't working with
us any longer. If it is necessary, I can probably put something together within
a week (after I get through my current development crunch) - but let me know.
Thanks muchly for addressing this.
Comment on attachment 111745 [details] [diff] [review]
Proposed fix
r=me. Bit it'd be really nice if we could find a simpler solution to this whole
blocking thing. Spinning a new eventqueue seems exsessive for parsing a string.
Attachment #111745 -
Flags: review?(bugmail) → review+
Assignee | ||
Comment 9•22 years ago
|
||
Fixed.
Jesse, I was unable to reproduce the bug even with your instructions, so please
verify this fix as soon as you can. This fix should fix your problem, as well as
another problem: in embedding parseFromString returns too early if the string to
parse makes the parser block (there was an xml-stylesheet PI for example). Thanks.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•