Samuel Thibault
6f09cb80ba
Bug 1445968 Accessible: factorize and optimize testing for password role r=surkov
...
--HG--
extra : rebase_source : 5f945bab6c2c86d059893082f9f04d6ac4492f73
2018-03-16 13:02:00 +02:00
Boris Zbarsky
2f66e620e3
Bug 1446533
part 12. Remove nsIDOMCharacterData. r=mystor
...
MozReview-Commit-ID: KXex3Rjcire
2018-03-19 15:47:42 -04:00
Alexander Surkov
6f3a0a3837
Bug 1257669 - crashes calling nsIPresShell::AddRefreshObserverInternal on a null pres shell, r=eeejay
2018-03-12 16:03:19 -04:00
Yura Zenevich
7f105867c2
Bug 1443150 - unset doc accessible's document node at the very end of its shutdown. r=surkov
...
MozReview-Commit-ID: FoSaZ7lkk6G
2018-03-09 00:47:08 -05:00
Eitan Isaacson
108ac5905a
Bug 1402999 - Don't process DOM event on dead document. r=surkov
...
--HG--
extra : rebase_source : 6cf1790f4e62f17c2f712806ce2c59b71af71741
2018-03-06 10:05:00 +02:00
Marco Zehe
b5cd972f23
Bug 1442196 - Expose an XML role of 'form' on a form element if it has an accessible name, r=surkov
...
MozReview-Commit-ID: 8vhHcWyg2
--HG--
extra : rebase_source : 38a3a73848c2c19f8cddee9c52af95274f894a27
2018-03-05 12:37:35 +01:00
Emilio Cobos Álvarez
2988d4e66d
Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug
...
aDocument is always content->OwnerDoc().
aContainer is always content->GetParent().
Differential Revision: https://phabricator.services.mozilla.com/D664
MozReview-Commit-ID: 4xwPCOnhyIL
2018-03-01 22:45:17 +01:00
Alexander Surkov
ea486874e9
Bug 857348 - assert if defunct state is out of sync with content ref, rs=jamie
2018-02-27 16:34:12 -05:00
Emilio Cobos Álvarez
9f26540cc4
Bug 1441547: Make character data change notifications use a const reference for the info parameter. r=smaug
...
It's not intended to be mutated.
MozReview-Commit-ID: 5nkD1YkidlV
--HG--
extra : rebase_source : 810d429208fa3eaf30e220e77a7d27107cb77346
2018-02-27 15:30:27 +01:00
Emilio Cobos Álvarez
7dffe29d8f
Bug 1432490: Make nsComputedDOMStyle::GetStyleContext / GetStyleContextNoFlush not take a presShell. r=bz
...
Everyone calls them with the shell of the current composed document, and this
allows the multi-presShell stuff to just be in UpdateCurrentStyleSources /
DoGetStyleContextNoFlush.
The only reason we need to use OwnerDoc()->GetShell() instead of the composed
doc in GetStyleContext / GetStyleContextNoFlush is Element::GetBindingURL, which
does expect to get the binding URL for stuff outside of the composed doc (and
changing that gave me a useless browser).
That's technically a behavior change on the cases that used to pass nullptr, but
I think all callers are fine with that. I could also just add a special function
for that particular case, it may be worth it.
MozReview-Commit-ID: 2XlnkgdgDCK
2018-02-25 02:23:59 +01:00
Adrian Wielgosik
35f8ed790f
Bug 1440741 - Remove all members from nsIDOMHTMLFormElement. r=qdot
...
MozReview-Commit-ID: 2UcUy4MkVsM
--HG--
extra : rebase_source : ddc6c18c5015ebc5569defa09b32c40e83939886
2018-02-23 19:28:08 +01:00
Chris Peterson
fe5cd3d5d9
Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj
...
MozReview-Commit-ID: 8pjYjEvQF42
--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Chris Peterson
0129d900f3
Bug 1436263 - Part 2: Replace `override final` virtual function specifiers with just `final`. r=froydnj
...
MozReview-Commit-ID: 70gt5SUu4Dv
--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Boris Zbarsky
9bdcffc985
Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
...
The change to RootAccessible.cpp fixes an obvious bug introduced in bug 741707.
The visibility changes in gfx/thebes are because NS_DECL_ISUPPORTS has a
trailing "public:" that those classes were relying on to have public
constructors.
MozReview-Commit-ID: IeB8KIJCGhU
2018-02-12 15:44:40 -05:00
Boris Zbarsky
3660ff5632
Bug 1436508 part 13. Remove nsIDOMMutationEvent constants. r=masayuki
...
MozReview-Commit-ID: Anl5QJZknJL
2018-02-09 11:17:10 -05:00
Boris Zbarsky
92bbd744e1
Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki
...
MozReview-Commit-ID: Honw0NrVMuV
2018-02-09 11:17:09 -05:00
Joanmarie Diggs
b33dfc1490
Bug 1433891 - ARIA documents should be easily distinguishable from native ones r=marcoz
...
Gecko has two document roles: roles::DOCUMENT_FRAME and roles::DOCUMENT.
However, the former was not being used at all; the latter was being used
for both ARIA documents and for the native document container. We can
therefore fix this issue by repurposing the unused internal role:
* Rename the role from roles::DOCUMENT_FRAME to roles::NON_NATIVE_DOCUMENT,
and add clarification to the doc strings in Role.h
* Ensure load events are still emitted for ARIA documents (bug 759833)
* Update the ARIA-document mochitests to reflect the above changes
* Change the ATK role mapping for roles::DOCUMENT (the native container)
from ATK_ROLE_DOCUMENT_FRAME TO ATK_ROLE_DOCUMENT_WEB.
* On IAccessible2, map roles::NON_NATIVE_DOCUMENT to ROLE_SYSTEM_DOCUMENT.
This should cause there to be no change in behavior for that platform.
* On macOS map roles::NON_NATIVE_DOCUMENT to NSAccessibilityGroupRole
with a subrole of AXDocument.
--HG--
extra : rebase_source : bb6bacfa08c0d22e4e52a25d309d15b2a913320d
2018-02-06 12:13:00 +02:00
Boris Zbarsky
0e718778d9
Bug 1434819 part 9. Remove nsIDOMNodeFilter. r=qdot
...
MozReview-Commit-ID: JsxGp9HQ2ak
2018-02-01 14:26:13 -05:00
Boris Zbarsky
ea872de15a
Bug 1434819 part 5. Remove nsIDOMTreeWalker. r=qdot
...
MozReview-Commit-ID: QmxoxVhppG
2018-02-01 14:26:12 -05:00
Boris Zbarsky
65bf16222e
Bug 1434399 part 19. Remove nsIXULDocument. r=mystor
...
MozReview-Commit-ID: 9jQu4sjOhb2
2018-01-31 14:49:29 -05:00
Boris Zbarsky
8d91b52952
Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
...
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00
Boris Zbarsky
f35c2bc77d
Bug 1434399 part 7. Remove nsIDOMXULDocument's getElementsByAttribute(NS) methods. r=mystor
...
MozReview-Commit-ID: HN1le8EkeGr
2018-01-31 14:49:27 -05:00
Cosmin Sabou
94617f91cf
Backed out 19 changesets (bug 1434399) for build bustages on nsXULPopupManager.cpp on a CLOSED TREE
...
Backed out changeset 499f6dffd9cb (bug 1434399)
Backed out changeset 018290612415 (bug 1434399)
Backed out changeset f4c3179f8e59 (bug 1434399)
Backed out changeset f3ce2826b857 (bug 1434399)
Backed out changeset 6d2391af01dd (bug 1434399)
Backed out changeset dc98ed8c609a (bug 1434399)
Backed out changeset 8eaa395d6200 (bug 1434399)
Backed out changeset 19b18f4a53be (bug 1434399)
Backed out changeset 8ff378a6e96a (bug 1434399)
Backed out changeset 60fe73be1a26 (bug 1434399)
Backed out changeset faefb2751fdc (bug 1434399)
Backed out changeset 55cdf8b3a959 (bug 1434399)
Backed out changeset b578cc8efb92 (bug 1434399)
Backed out changeset 54cc4cb2fca1 (bug 1434399)
Backed out changeset f5343ef34d6c (bug 1434399)
Backed out changeset 8fb30e066cbd (bug 1434399)
Backed out changeset 21341b656b0f (bug 1434399)
Backed out changeset fab1f8b087a2 (bug 1434399)
Backed out changeset 55250a54852a (bug 1434399)
2018-01-31 22:45:26 +02:00
Boris Zbarsky
95e268e32f
Bug 1434399 part 19. Remove nsIXULDocument. r=mystor
...
MozReview-Commit-ID: 9jQu4sjOhb2
2018-01-31 14:49:29 -05:00
Boris Zbarsky
467ed0721d
Bug 1434399 part 13. Remove C++ uses of nsIDOMXULDocument. r=mystor
...
MozReview-Commit-ID: KSsXLra5DQk
2018-01-31 14:49:28 -05:00
Boris Zbarsky
3dcb19ca5e
Bug 1434399 part 7. Remove nsIDOMXULDocument's getElementsByAttribute(NS) methods. r=mystor
...
MozReview-Commit-ID: HN1le8EkeGr
2018-01-31 14:49:27 -05:00
Boris Zbarsky
53e8cfdcf5
Bug 1418085 part 2. Stop using nsIDOMHTMLElement in accessibility code. r=surkov
...
MozReview-Commit-ID: 6YddkxqB5Bv
2018-01-30 00:25:36 -05:00
Boris Zbarsky
f26bfa5954
Bug 1432977 part 1. Remove nsIDOMHTMLElement's draggable attribute. r=mccr8
...
MozReview-Commit-ID: Gj8thsaNGCF
2018-01-29 23:37:54 -05:00
Boris Zbarsky
e565b1fe1b
Bug 1432944 part 11. Remove nsIDOMElement::GetAttribute. r=mccr8
...
MozReview-Commit-ID: 2f1vFvRdCPG
2018-01-29 23:28:00 -05:00
Andrea Marchesini
b8bb98af8c
Bug 1430997 - Rename nsINode::IndexOf to nsINode::ComputeIndexOf, r=catalinb
2018-01-23 14:30:18 +01:00
Boris Zbarsky
f1d64479e7
Bug 1431964 part 10. Remove nsIDOMAttr. r=mccr8
...
MozReview-Commit-ID: xj4QeXBF9V
2018-01-21 12:07:31 -05:00
Milan Sreckovic
6cf51345e7
Bug 1423541: Use BaseRect access methods instead of member variables in accessible/ r=surkov
...
MozReview-Commit-ID: KRfgYEW7aWY
--HG--
extra : rebase_source : b88fcdb3095ac9bfa82ae6a596070d80c1c482fd
2018-01-12 12:07:29 -05:00
Emilio Cobos Álvarez
47cf299a8b
Bug 1427825: Make accessibility use the flattened tree more consistently. r=surkov
...
MozReview-Commit-ID: 4mFkvqheZOK
--HG--
extra : rebase_source : 34eb8dd0b20295e4f92e3bd2ec827a401b0d3f61
2018-01-03 19:59:16 +01:00
Andrea Marchesini
00e79ef07b
Bug 1425321 - Renaming nsINode::GetChildAt to GetChildAt_Deprecated, r=catalinb
...
We want to deprecate nsINode::GetChildAt as the first step of removing DOM node
child array storage. See bug 651120.
2018-01-03 13:59:54 +01:00
Emilio Cobos Álvarez
c8eb630ebe
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ffdf5d2cb5
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Eitan Isaacson
33a8bfe01f
Bug 1405796 - Don't traverse into relocated children in scoped TreeWalker. r=surkov
2017-12-22 11:25:00 -05:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Brian Grinstead
9c9c6b777b
Bug 1422465 - Remove the nsIDOMXULPopupElement interface and [implements] attribute on the "popup-base" and "panel" bindings;r=bz,surkov
...
MozReview-Commit-ID: EvzuohEgFSh
--HG--
extra : rebase_source : 838cd68dda56778e6815c7c75a6ca158902c8f29
2017-12-07 13:37:06 -08:00
Emilio Cobos Álvarez
74b31155f7
Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz
...
MozReview-Commit-ID: 6WXqNiODttD
2017-12-06 16:05:59 +01:00
Nika Layzell
2cb3ebf10d
Bug 1414974 - Part 4: Split WindowByIdTable into two separate tables for inner and outer windows, r=bz
...
MozReview-Commit-ID: LH3lKkFqTgG
2017-11-09 10:44:48 -05:00
Nika Layzell
3409141758
Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
...
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.
MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Tristan Bourvon
9423edf3f6
Bug 1412641 - Initialize some uninitialized fields in accessibility. r=surkov
2017-10-31 12:09:01 +01:00
Yura Zenevich
14ddb727b9
Bug 1329977 - creating doc accessibles for existing content documents. r=surkov
...
MozReview-Commit-ID: 2X6DdBX2ieO
2017-10-31 09:48:07 -04:00
Sebastian Hengst
2473d77eee
Backed out changeset e60fdd649522 (bug 1412641) for build bustage at accessible/base/TextAttrs.h. r=backout on a CLOSED TREE
2017-10-31 12:43:49 +01:00
Tristan Bourvon
c7f4d8ad1c
Bug 1412641 - Initialize some uninitialized fields in accessibility/. r=surkov
2017-10-31 11:20:23 +01:00
Nicholas Nethercote
8ad99dd7fa
Bug 1411893 - Introduce nsStaticAtom. r=emilio,froydnj.
...
It's a sub-class of nsAtom, useful for cases where you know you are dealing
exclusively with static atoms. The nice thing about it is that you can use
raw nsStaticAtom pointers instead of RefPtr<>. (In fact, the AddRef/Release
implementations ensure that we'll crash if we use RefPtr<nsStaticAtom>.)
MozReview-Commit-ID: 4Q6QHX5h44V
--HG--
extra : rebase_source : e4237f85b4821b684db0ef84d1f9c5e17cdee428
2017-10-27 10:31:13 +11:00
Emilio Cobos Álvarez
dd634e3981
Bug 1411612: Kill nsINode::eCONTENT. r=bz
...
MozReview-Commit-ID: ESlOqlwhcHI
--HG--
extra : rebase_source : fe6a02469dca1e50c24ba166e15e39160ab4551b
2017-10-25 17:19:11 +02:00
Kris Maglione
4a767c7e6e
Bug 1404198: Part 2j - Switch to NS_NewTimer* everywhere else. r=njn
...
MozReview-Commit-ID: LmGIgfmNSmk
--HG--
extra : rebase_source : bf34e852beb0c8f6eafd09184c2e0cda95f95f83
2017-09-24 19:57:48 -07:00