Closed
Bug 1494529
Opened 6 years ago
Closed 6 years ago
kill #text-label binding
Categories
(Core :: XUL, task, P3)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: surkov, Assigned: surkov)
References
Details
Attachments
(1 file)
4.22 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
follow up bug 1448213 comment #32
Attachment #9012459 -
Flags: review?(bugs)
Assignee | ||
Comment 1•6 years ago
|
||
note, the patch is based on patch from bug 1494230
Assignee | ||
Comment 2•6 years ago
|
||
2nd note, accessKey used to return a first character of @accessKey attribute, now it returns a whole string similar to what HTMLElement does. It seems to be a safe change, since appears the code doesn't have dependencies on it.
Updated•6 years ago
|
Priority: -- → P3
Comment 3•6 years ago
|
||
Comment on attachment 9012459 [details] [diff] [review]
patch
>diff --git a/dom/xul/XULTextElement.h b/dom/xul/XULTextElement.h
>--- a/dom/xul/XULTextElement.h
>+++ b/dom/xul/XULTextElement.h
>@@ -33,16 +33,24 @@ public:
> MOZ_CAN_RUN_SCRIPT void GetValue(DOMString& aValue) const
> {
> GetXULAttr(nsGkAtoms::value, aValue);
> }
> MOZ_CAN_RUN_SCRIPT void SetValue(const nsAString& aValue)
> {
> SetAttr(kNameSpaceID_None, nsGkAtoms::value, aValue, true);
> }
>+ MOZ_CAN_RUN_SCRIPT void GetAccessKey(DOMString& aValue) const
>+ {
How can this run a script
Drop the annotation or exlain
Attachment #9012459 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Olli Pettay [:smaug] (r- if the bug doesn't explain what the change(s) are about.) from comment #3)
> > MOZ_CAN_RUN_SCRIPT void GetValue(DOMString& aValue) const
> > {
> > GetXULAttr(nsGkAtoms::value, aValue);
> > }
> > MOZ_CAN_RUN_SCRIPT void SetValue(const nsAString& aValue)
> > {
> > SetAttr(kNameSpaceID_None, nsGkAtoms::value, aValue, true);
> > }
> >+ MOZ_CAN_RUN_SCRIPT void GetAccessKey(DOMString& aValue) const
> >+ {
> How can this run a script
> Drop the annotation or exlain
dropped
Pushed by surkov.alexander@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/181d337b15bd
kill #text-label binding, r=smaug
Comment 6•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•5 years ago
|
Type: defect → task
You need to log in
before you can comment on or make changes to this bug.
Description
•