Closed Bug 43082 Opened 25 years ago Closed 17 years ago

datasource rdf:bookmarks should not be require to startup

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
Windows NT
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dougt, Assigned: dougt)

Details

(Keywords: memory-footprint, Whiteboard: [nsbeta3-])

Attachments

(2 files)

if the nsHTMLDocument can not file someone that implements the datasource rdf:bookmarks, we can not start up. See: http://lxr.mozilla.org/seamonkey/source/layout/html/document/src/nsHTMLDocument. cpp#735 I suggest not setting |rv| if you can not find this datasource.
Chris, want this? I agree that if a datasource fails to load, startup should still continue. Of course, I also think that we need some way (via JS? A new (set of) events?] to indicate both success as well as failure.
Assignee: rjc → waterson
Oops, sorry... this layout code is jbetak's, so I'm going to bump this bug over to him.
Assignee: waterson → jbetak
Status: NEW → ASSIGNED
This should be fixed for embedding reasons as soon as possible.
Severity: normal → critical
Priority: P3 → P1
Target Milestone: --- → M17
Whiteboard: ETA 06/26
Whiteboard: ETA 06/26
reassign jbetak bug to ftang since jbetak is leaving.
Assignee: jbetak → ftang
Status: ASSIGNED → NEW
nom for beta2!
Keywords: nsbeta2
nsbeta2+ to fix enough to make embedding clients work
Keywords: regression
Whiteboard: [nsbeta2+]
jbetak- please fix the error handling part. Thanks.
Assignee: ftang → jbetak
Attached patch proposed patchSplinter Review
Keywords: embed
dougt- jbetak already review yoru code and give an OK. Please check it in. If you prefer us to own this bug, then reassign to me and I will check this in tomorrow for him. (sorry, I won't be here the rest of today.). jbetak is leaving so I don't want him to check in code from now.
Assignee: jbetak → dougt
fix is in. thanks.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
code-level fix, marking verified.
Status: RESOLVED → VERIFIED
work around checked in. We should really figure out why we have to have layout know about bookmarks. This dependancy seams really wrong. removing nsbeta2
Status: VERIFIED → REOPENED
Keywords: nsbeta2, regression
Resolution: FIXED → ---
Whiteboard: [nsbeta2+]
Adding myself to the cc list.
frank, this is yours. Currently there is a workaround in place. We need to have a better place for this hook.
Assignee: dougt → ftang
Status: REOPENED → NEW
Keywords: embednsbeta3
Status: NEW → ASSIGNED
dougt- could you please be more specific of your requirement ? How can I measure we have a good enough fix for this bug ?
Frank: right now, this change has made a dependency where layout uses bookmarks in order to load an html document. This is a really evil dependency. It looks like it's being used to get the charset from the last url added to bookmarks. Layout should not be using bookmarks. I think Doug's request is that we need a different way to expose the information you need in nsHTMLDocument::StartDocumentLoad so it isn't trying to create/instantiate bookmarks. See comments in Bug #44397 for more details. Hope that helps.
+
Keywords: footprint
Whiteboard: nsbeta3+
Why we need this for nsbeta3 ? What will happen if we don't fix this ? What will happen if we do fix it ? What is the impact to end user? What is the impact to the embedding project ?
if we don't fix this embeddors have to drag bookmarks into memory even though they don't need them. This adds to bloat. Who's the right owner for this. We need to resolve this ASAP.
Keywords: embed
Can we resolve this by #ifndef EMBEDDING_OR_SOMETAG that part of the code? Will that resolve your problem. Please let me understand your MINIMUM requirement and we can try to meet it quickly.
We are doing a CI in layout to do some i18n thing to get the bookmarked charset. Before my workaround, if CI failed, we could not load any pages. I hacked it so that it would silently fail. For better or worse, this broke the evil dependacy which jbetak? created. What I need you to do is tell my why we need to bookmarks to do this charset stuff.
minusing this and removing "embed" keyword. the checked in workaround will get us by for embedding. the dependency is horrible and should still be removed however.
Whiteboard: nsbeta3+ → nsbeta3-
Keywords: embed
Putting brackets in - from nsbeta3- to [nsbeta3-]
Whiteboard: nsbeta3- → [nsbeta3-]
Brian, please investigate this.
Assignee: ftang → bstell
Status: ASSIGNED → NEW
we are just now looking at the embedding APIs
Status: NEW → ASSIGNED
Target Milestone: M17 → Future
--> ftang
Assignee: bstell → ftang
Status: ASSIGNED → NEW
bulk move NEW FUTURE bug to ASSIGN
Status: NEW → ASSIGNED
load from chrome url
Product: Browser → Seamonkey
what a hack. I have not touch mozilla code for 2 years. I didn't read these bugs for 2 years. And they are still there. Just close them as won't fix to clean up.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago20 years ago
Resolution: --- → WONTFIX
Mass Reassign Please excuse the spam
Assignee: ftang → nobody
Mass Re-opening Bugs Frank Tang Closed on Wensday March 02 for no reason, all the spam is his fault feel free to tar and feather him
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Reassigning Franks old bugs to Jungshik Shin for triage - Sorry for spam
Assignee: nobody → jshin1987
Status: REOPENED → NEW
Assignee: jshin1987 → nobody
Priority: P1 → --
QA Contact: claudius → bookmarks
Target Milestone: Future → ---
This seems to have been fixed by bug 101995. Boris, is that correct?
You mean comment 12, not this bug as originally filed? Yes, indeed.
Right, it was reopened at the same time as comment 12, after having been marked fixed when attachment 10655 [details] [diff] [review] was checked in.
Status: NEW → RESOLVED
Closed: 20 years ago17 years ago
Resolution: --- → FIXED
Assignee: nobody → doug.turner
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: