Closed
Bug 610305
Opened 14 years ago
Closed 14 years ago
decom nsEventStateManager
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla6
People
(Reporter: dzbarsky, Assigned: dzbarsky)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 4 obsolete files)
119.18 KB,
patch
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•14 years ago
|
OS: Windows XP → All
Hardware: x86 → All
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #488805 -
Attachment is obsolete: true
Attachment #489080 -
Flags: review?(roc)
Assignee | ||
Updated•14 years ago
|
Attachment #489080 -
Flags: review?(roc)
Assignee | ||
Updated•14 years ago
|
Attachment #489080 -
Flags: review?(jst)
Comment 2•14 years ago
|
||
Comment on attachment 489080 [details] [diff] [review] patch That's one large patch :). smaug should review this one, as this is primarily his code.
Attachment #489080 -
Flags: review?(jst) → review?(Olli.Pettay)
Comment 3•14 years ago
|
||
ESM is not primary my code. It is mainly way older than my contribution to Mozilla ;) But I'll review.
Updated•14 years ago
|
Depends on: require-libxul
Assignee | ||
Comment 5•14 years ago
|
||
This can be done now that we require libxul
Attachment #489080 -
Attachment is obsolete: true
Attachment #521931 -
Flags: review?(Olli.Pettay)
Attachment #489080 -
Flags: review?(Olli.Pettay)
Comment 6•14 years ago
|
||
Comment on attachment 521931 [details] [diff] [review] Refreshed patch >+ /** >+ * Notify that the given NS_EVENT_STATE_* bit has changed for this content. >+ * @param aContent Content which has changed states >+ * @param aState Corresponding state flags such as NS_EVENT_STATE_FOCUS >+ * @return Whether the content was able to change all states. Returns PR_FALSE >+ * if a resulting DOM event causes the content node passed in >+ * to not change states. Note, the frame for the content may >+ * change as a result of the content state change, because of >+ * frame reconstructions that may occur, but this does not >+ * affect the return value. >+ */ >+ PRBool SetContentState(nsIContent *aContent, nsEventStates aState); >+ void ContentRemoved(nsIDocument* aDocument, nsIContent* aContent); >+ PRBool EventStatusOK(nsGUIEvent* aEvent); > >- NS_IMETHOD SetCursor(PRInt32 aCursor, imgIContainer* aContainer, >- PRBool aHaveHotspot, float aHotspotX, float aHotspotY, >- nsIWidget* aWidget, PRBool aLockCursor); >+ /** >+ * Register accesskey on the given element. When accesskey is activated then >+ * the element will be notified via nsIContent::PerformAccesskey() method. >+ * >+ * @param aContent the given element >+ * @param aKey accesskey >+ */ >+ void RegisterAccessKey(nsIContent* aContent, PRUint32 aKey); >+ >+ /** >+ * Unregister accesskey for the given element. >+ * >+ * @param aContent the given element >+ * @param aKey accesskey >+ */ >+ void UnregisterAccessKey(nsIContent* aContent, PRUint32 aKey); >+ >+ /** >+ * Get accesskey registered on the given element or 0 if there is none. >+ * >+ * @param aContent the given element >+ * @param aKey registered accesskey >+ * @return NS_OK >+ */ >+ virtual PRUint32 GetRegisteredAccessKey(nsIContent* aContent); Why is this virtual? So that external libraries can access it? (Which library does that?) @return is wrong, so is the latter @param. I believe this patch is such that it should be taken to Fx6. So it could land to trunk in a month or so. r+ if the comments are fixed and the virtual is either removed or explained.
Attachment #521931 -
Flags: review?(Olli.Pettay) → review+
Assignee | ||
Comment 7•14 years ago
|
||
Removed the virtual and fixed comments.
Attachment #521931 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Comment 8•14 years ago
|
||
Fixed in cedar. Should be synced with mozilla-central in the next 24 hours.
Comment 9•14 years ago
|
||
I had to backout from cedar. David, to you have an access to the try server?
Whiteboard: [fixed in cedar]
Comment 10•14 years ago
|
||
Here is a log: http://tinderbox.mozilla.org/showlog.cgi?log=Cedar/1303328920.1303330557.13094.gz
Assignee | ||
Comment 11•14 years ago
|
||
Hopefully this lands before it rots again
Attachment #527251 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Keywords: checkin-needed
Updated•14 years ago
|
Keywords: checkin-needed
Whiteboard: [fixed in cedar]
Comment 12•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/aaa99fe3ee29
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Whiteboard: [fixed in cedar]
Updated•14 years ago
|
Target Milestone: --- → mozilla6
This may have caused a minor Dromaeo regression.
Comment 14•14 years ago
|
||
(In reply to comment #13) > This may have caused a minor Dromaeo regression. Should it be backed out then?
I don't know. Smaug? Dzbarsky? Is anyone looking at the regression?
Assignee | ||
Comment 16•14 years ago
|
||
If it caused a regression we should probably back it out. I don't know how to pinpoint the exact cause.
Comment 17•14 years ago
|
||
Yeah, it is quite strange if a patch which make us execute less code, and that less should be even better in the caches, causes regression.
No, we're not sure. But this was the only one in the range that looked likely. http://groups.google.com/group/mozilla.dev.tree-management/browse_thread/thread/e8cacce1606670f2#
Comment 21•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/6cc6b44735a7 looks more likely to me
Comment 22•14 years ago
|
||
Dromaeo (jslib) seems to correspond to these pages http://mxr.mozilla.org/mozilla/source/testing/performance/talos/page_load_test/dromaeo/jslib.manifest I had a quick look and there is only one application of border-radius, to b elements, and it does not seem to have overflow different from visible. If that is the case then http://hg.mozilla.org/mozilla-central/rev/6cc6b44735a7 should have no effect. It can still be backed out if people want.
You need to log in
before you can comment on or make changes to this bug.
Description
•