Closed
Bug 406028
Opened 18 years ago
Closed 18 years ago
Call callback immediately when install is blocked
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect)
Core Graveyard
Installer: XPInstall Engine
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9beta3
People
(Reporter: mossop, Assigned: mossop)
References
Details
Attachments
(1 file)
|
2.90 KB,
patch
|
dveditz
:
review+
dveditz
:
superreview+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
When an install is blocked we currently retain the callback in case the user hits the new allow button. This can cause issues including the crash in bug 401624. The plan is to just call the callback and tell it that the install was blocked then drop the callback.
This means that the callback function becomes less useful for web developers.
| Assignee | ||
Updated•18 years ago
|
Assignee: nobody → dtownsend
| Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Updated•18 years ago
|
Status: ASSIGNED → NEW
| Assignee | ||
Updated•18 years ago
|
Target Milestone: --- → mozilla1.9 M11
| Assignee | ||
Comment 1•18 years ago
|
||
This is a fairly simple patch, we just only retain the callback if we are whitelisted and going directly to the install stage. This makes us consistent with the 1.8 branch behaviour ignoring the fact that blocked install attempts can be restarted at a later point without the website knowing.
The field reordering in nsXPIInstallInfo.h just cleans up a compile time warning.
Attachment #292395 -
Flags: superreview?(dveditz)
Attachment #292395 -
Flags: review?(dveditz)
| Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [has patch]
Comment 2•18 years ago
|
||
Comment on attachment 292395 [details] [diff] [review]
patch rev 1
r/sr=dveditz
Attachment #292395 -
Flags: superreview?(dveditz)
Attachment #292395 -
Flags: superreview+
Attachment #292395 -
Flags: review?(dveditz)
Attachment #292395 -
Flags: review+
Attachment #292395 -
Flags: approval1.9?
Updated•18 years ago
|
Attachment #292395 -
Flags: approval1.9? → approval1.9+
| Assignee | ||
Comment 3•18 years ago
|
||
Checking in xpinstall/src/nsJSInstallTriggerGlobal.cpp;
/cvsroot/mozilla/xpinstall/src/nsJSInstallTriggerGlobal.cpp,v <-- nsJSInstallTriggerGlobal.cpp
new revision: 1.61; previous revision: 1.60
done
Checking in xpinstall/src/nsXPIInstallInfo.h;
/cvsroot/mozilla/xpinstall/src/nsXPIInstallInfo.h,v <-- nsXPIInstallInfo.h
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [has patch]
Updated•10 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•