Closed
Bug 1494529
Opened 3 years ago
Closed 3 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•3 years ago
|
||
note, the patch is based on patch from bug 1494230
| Assignee | ||
Comment 2•3 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•3 years ago
|
Priority: -- → P3
Comment 3•3 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•3 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•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/181d337b15bd
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Updated•2 years ago
|
Type: defect → task
You need to log in
before you can comment on or make changes to this bug.
Description
•