Closed
Bug 169071
Opened 22 years ago
Closed 13 years ago
Plugin child windows need subclassing
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
Future
People
(Reporter: bstell, Unassigned)
References
Details
(Keywords: topembed-, Whiteboard: [PL2:NA])
Attachments
(1 file)
(deleted),
patch
|
peterlubczynski-bugs
:
review-
|
Details | Diff | Splinter Review |
add a windows hook to detect when a plugin subclasses a window so we can add a
try/catch
Taking. Marking dependency on bug 132759 as subclassing will be added there. I
am not sure I fully understand this bug. I am going to add try/catch aroung
plugin winproc call in bug 132759. Do we need anything beyond that?
Status: NEW → ASSIGNED
Depends on: 100%CPU
Comment 2•22 years ago
|
||
the issue was to also catch situations where the plugin creates child windows of
our plugin window...
we need to track the creation of new plugin 'child windows' and subclass them too...
-- rick
Reporter | ||
Comment 3•22 years ago
|
||
Rick: could you give a snippet of what that code would look like (ask the
Linux guy)?
Comment 4•22 years ago
|
||
assigning to AV
Assignee: beppe → av
Status: ASSIGNED → NEW
Priority: -- → P3
Whiteboard: [PL2:NA]
Target Milestone: --- → mozilla1.2beta
Comment 5•22 years ago
|
||
Marking topembed+ as per topembed triage.
Summary: add window hook to detect window subclassing by plugin → Plugin child windows need subclassing
I decided not to keep track of subclassed child windows, this allows to keep
the code really simple.
Attachment #106810 -
Flags: superreview?(rpotts)
Attachment #106810 -
Flags: review?(peterlubczynski)
Comment 7•22 years ago
|
||
should all the calls to SetWindow in nsPluginHostImpl.cpp be wrapped?
Comment 9•22 years ago
|
||
per triage, topembed- and reassign to --->peterl
Attachment #106810 -
Flags: superreview?(rpotts) → superreview?(jst)
Comment 10•22 years ago
|
||
Comment on attachment 106810 [details] [diff] [review]
patch v.1
this patch still needs some work:
(a) There are cases of SetWindow that are missed in nsPluginHostImpl.cpp and
this doesn't catch any windows created after SetWindow is called. (b) I think
we need to subclass when a new window is made when we get the WM_CREATE
message. This will ensure all newly created windows are also protected.
Attachment #106810 -
Flags: review?(peterlubczynski) → review-
Updated•22 years ago
|
Attachment #106810 -
Flags: superreview?(jst)
Updated•16 years ago
|
Assignee: peterl-bugs → nobody
QA Contact: shrir → plugins
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•