Jonathan Kew
6f42f167fb
Bug 1490402 - Use UTF-8 strings (in place of UTF-16) for font family/face names in the system font list, to reduce memory footprint. r=lsalzman
2018-09-12 20:34:57 +01:00
Cosmin Sabou
6294a344fe
Merge mozilla-central to mozilla-inbound. a=merge
2018-09-11 13:17:29 +03:00
Cosmin Sabou
c56ce0a961
Bug 1445513 - Disable accessible/tests/browser/tree/browser_aria_owns.js on all platforms for frequent failures. r=jmaher
...
--HG--
extra : rebase_source : 91f1ecfdbeae97fe8846052e0418758b9aa200d0
2018-09-11 12:29:26 +03:00
Marco Zehe
812e2003df
Bug 1489934 - accessible/tests/browser/events/browser_test_docload.js calls waitForEvents incorrectly, r=Jamie
...
Differential Revision: https://phabricator.services.mozilla.com/D5400
--HG--
extra : moz-landing-system : lando
2018-09-10 22:50:31 +00:00
Sylvestre Ledru
aa37bde79b
Bug 1489454 - Remove all trailing whitespaces (again) r=Ehsan
...
This also includes moving some files to the regular format.
Differential Revision: https://phabricator.services.mozilla.com/D5249
--HG--
extra : moz-landing-system : lando
2018-09-07 14:47:51 +00:00
Tiberius Oros
b830a9d3a5
Merge inbound to mozilla-central. a=merge
2018-09-06 01:25:01 +03:00
Brian Grinstead
40796f9ec0
Bug 1488755 - Replace childNodes with children in test_tabbrowser.xul;r=yzen
...
For browser.xhtml childNodes includes whitespace nodes, while browser.xul
doesn't. This was done with other mochitests that load the browser window
in Bug 1482667.
Differential Revision: https://phabricator.services.mozilla.com/D5032
--HG--
extra : moz-landing-system : lando
2018-09-05 13:53:21 +00:00
Margareta Eliza Balazs
0a38d82d7b
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-09-05 15:43:59 +03:00
Eliza Balazs
500ab718cc
Bug 1421307 - Disable browser_shutdown_acc_reference.js on linux64 debug for frequent failures. r=jmaher
2018-09-05 05:28:00 +03:00
James Teh
5fad83caf4
Bug 1488109: If the focused element has aria-activedescendant and the target id is moved to another node, move accessible focus to the new target. r=surkov
...
Differential Revision: https://phabricator.services.mozilla.com/D4832
--HG--
extra : moz-landing-system : lando
2018-09-05 04:43:18 +00:00
Masayuki Nakano
56966c4975
Bug 1347040 - Prevent -Woverloaded-virtual of AccessibleWrap.h when __clang__ defined r=Jamie
...
Some classes of a11y are defined from both IUnknown and nsISupports. Both of
them have QueryInterface(). So, one of them is overridden by a sub class
hides the other and this is warned by clang. However, AccessibleWrap.h
prevents this warning since it's by design when the compiler is GCC.
So, it should do same thing when the compiler is clang.
Differential Revision: https://phabricator.services.mozilla.com/D4310
--HG--
extra : moz-landing-system : lando
2018-09-05 04:13:30 +00:00
Mark Banner
c6885f5391
Bug 1488445 - Remove and replace obsolete ESLint rules. r=mossop
...
This removes a number of references to rules that are now deprecated or removed from ESLint.
- no-native-reassign is replaced with no-global-assign
- no-spaced-func is replaced with func-call-spacing (where enabled)
Depends on D4944
Differential Revision: https://phabricator.services.mozilla.com/D4946
--HG--
extra : moz-landing-system : lando
2018-09-04 18:08:43 +00:00
Zibi Braniecki
096a9c36b0
Bug 1488286 - Use a dummy data: URI as a default URL for accessibility tests. r=mconley
...
--HG--
extra : rebase_source : e4f39a4c2db74b54ca3c378b87e9b366d555807a
2018-09-03 21:59:56 +01:00
Gijs Kruitbosch
ef7146a4be
Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D4466
--HG--
extra : rebase_source : e51b66bb18d0e600814b48d5cd3ec9d5dea3028a
extra : source : 96b5a88ac0041a1bd382a731749e1fca9aa911ed
2018-09-03 14:43:38 +01:00
James Teh
fca9213cd0
Bug 1322621: If aria-activedescendant is removed or changed to an invalid id while an element is focused, move accessible focus to the element itself. r=surkov
...
Differential Revision: https://phabricator.services.mozilla.com/D4732
--HG--
extra : moz-landing-system : lando
2018-08-31 07:00:59 +00:00
Eitan Isaacson
f8996dd01f
Bug 1486887 - Use binding parent for input[type] retrieval. r=surkov
2018-08-31 15:11:00 +03:00
Dave Townsend
e63bb1c465
Bug 1487246: Enable the eslint no-sequences rule. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D4681
--HG--
extra : rebase_source : ae253571d7d47c4a113a98a8b7c29bf712a0d764
2018-08-29 16:15:33 -07:00
Dave Townsend
e1f6637191
Bug 1487246: Remove uses of comma sequences in linted code. r=Standard8
...
Two cases were hiding permanently failing tests. I've commented those out and
filed bug 1487431.
Differential Revision: https://phabricator.services.mozilla.com/D4680
--HG--
extra : rebase_source : 232fa6173de8844a9c47d59926ec8e39d0640ecd
2018-08-29 16:12:55 -07:00
Margareta Eliza Balazs
edc8edfcd7
Merge inbound to mozilla-central. a=merge
2018-08-31 12:23:17 +03:00
Margareta Eliza Balazs
5ddcd7b745
Backed out changeset 96b5a88ac004 (bug 1486824) for causing frequent failures e.g: browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about.js a=backout
2018-08-31 12:17:27 +03:00
Gurzau Raul
6b4d87cf7c
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-08-31 07:08:44 +03:00
Alexander Surkov
ef0cc6d04c
Bug 1487313 - stop using nsIDOMXULLabelElement and nsIDOMXULDescriptionElement in a11y, r=jamie
2018-08-31 09:17:38 +08:00
Gijs Kruitbosch
9d70cb3843
Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D4466
--HG--
extra : moz-landing-system : lando
2018-08-30 15:07:36 +00:00
Narcis Beleuzu
1bb581bc8f
Merge mozilla-central to inbound.
...
--HG--
extra : rebase_source : 063f3df7ad6d834fa3e72cd6825c31792716586b
2018-08-30 16:09:37 +03:00
Narcis Beleuzu
a4ec006bb0
Backed out changeset 4e195f7b2d6b (bug 1486824) for clipboard failures on OSX browser_editcontrols_update. a=backout
2018-08-30 15:59:59 +03:00
Gijs Kruitbosch
a8e2b8e702
Bug 1486824 - change BrowserTestUtils to just call OpenBrowserWindow so it does the same thing as opening a window normally, r=mconley,nhnt11
...
Differential Revision: https://phabricator.services.mozilla.com/D4466
--HG--
extra : moz-landing-system : lando
2018-08-29 17:58:25 +00:00
Paolo Amadini
5aaf848c8b
Bug 1457218 - Part 3 - Remove the "menu-button" binding. r=surkov,bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4531
--HG--
extra : rebase_source : 502aa0ff24d0e3d46ef60c7a14498e25c66d1c81
2018-08-29 14:04:25 +01:00
Alexander Surkov
e36505da67
Bug 1486671 - stop using nsIDOMXULCheckboxElement, r=jamie
2018-08-29 15:42:31 +08:00
Paolo Amadini
bfef02108d
Bug 1457216 - Remove support for editable menulists. r=surkov,bgrins
...
Differential Revision: https://phabricator.services.mozilla.com/D4306
--HG--
extra : rebase_source : e8b4946c8f657e2283bc96cb08de802493e3a826
2018-08-24 15:44:38 +01:00
Xidorn Quan
47b25bfcca
Bug 1486329 - Fix some clang-cl warnings in accessible. r=eeejay
...
Specifically this fixes pessimizing-move warnings and some others.
Differential Revision: https://phabricator.services.mozilla.com/D4302
--HG--
extra : moz-landing-system : lando
2018-08-27 15:49:01 +00:00
Eitan Isaacson
dd36aade7d
Bug 1485862 - Set correct text-input-type for input[type=number]. r=surkov
2018-08-24 13:34:00 +03:00
Tiberius Oros
2ee9341d01
Merge inbound to mozilla-central. a=merge
2018-08-24 12:43:45 +03:00
James Teh
2a8cad4bfc
Bug 1479678: Fix incorrect start offset when retrieving accessible text attributes if the last spelling error is not within this accessible. r=surkov
...
When dealing with an editor which contains multiple accessibles, the previous spelling error range might be in a previous accessible, not the accessible currently being queried.
In this case, DOMPointToOffset will return the length of this accessible.
Previously, we weren't checking for this and were overriding the start offset of the returned range regardless, resulting in broken offsets.
Now, we leave the start offset alone in this case.
Differential Revision: https://phabricator.services.mozilla.com/D3960
--HG--
extra : moz-landing-system : lando
2018-08-24 03:08:28 +00:00
Kris Maglione
3a5c05e76f
Bug 1484496: Part 5e - Convert remaining nsISimpleEnumerator users to use JS iteration. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D3733
--HG--
extra : rebase_source : c0fac176d7b3d840c4dbb14f8d95ccfc7f83a5a8
extra : histedit_source : a92c40117d0808a3ad68c972f622a7a42c9ae8ba
2018-08-18 18:13:14 -07:00
Eitan Isaacson
4cba5259d5
Bug 1484778 - Null-check scroll frame in DispatchScrollingEvent. r=surkov
2018-08-21 10:24:00 -04:00
Eitan Isaacson
57a25953a0
Bug 1483911 - Defer scrolling events until after ipc doc construction. r=Jamie
2018-08-20 15:51:00 +03:00
Joanmarie Diggs
7471d4968b
Bug 1484248 - Accessible name calculation from label content should include cells. r=surkov
...
Change the name calculation rule of HTML 'table' element from eNoNameRule
to eNameFromSubtreeIfReqRule. That way the table won't get an accessible
name, but will be descended when building a name from a parent element's
contents.
--HG--
extra : rebase_source : 218aec9f90b0c420a5f6785e929e5512b6704567
2018-08-17 08:14:00 +03:00
Yura Zenevich
ff402b25e1
Bug 1481924 - use WINDOW_CONTENT_CHANGED instead of WINDOW_STATE_CHANGED when viewport changes to ensure accessible bounds are re-drawn correctly. r=eeejay, jchen
...
MozReview-Commit-ID: 92bKGZMwJkP
2018-08-17 09:46:55 -04:00
Eitan Isaacson
8d5dad89ed
Bug 1479591 - Introduced accessibility scrolling event and interface. r=surkov
2018-08-15 13:07:00 -04:00
Cosmin Sabou
c2b1fcd31c
Backed out changeset dad95d849302 (bug 1479591) for causing linux debug leaks and security issues.
2018-08-15 04:39:43 +03:00
Eitan Isaacson
0f281891a2
Bug 1479591 - Introduced accessibility scrolling event and interface. r=surkov
2018-08-14 11:46:00 +03:00
Daniel Varga
9355025fd5
Merge mozilla-central to mozilla-inbound
2018-08-14 01:09:48 +03:00
Ting-Yu Lin
48d02834a5
Bug 1482665 Part 2 - Remove nsPresContext::AppUnitsPerCSSPixel() and replace it with mozilla::AppUnitsPerCSSPixel(). r=dholbert
...
Differential Revision: https://phabricator.services.mozilla.com/D3155
2018-08-13 14:29:28 -07:00
Adrian Wielgosik
be0c1a4f55
Bug 1481645 - Remove some redundant uses of do_QueryInterface. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D2893
--HG--
extra : moz-landing-system : lando
2018-08-13 09:05:19 +00:00
James Teh
0912c08892
Bug 1480060: Support aria-multiselectable on role tablist. r=MarcoZ
...
Differential Revision: https://phabricator.services.mozilla.com/D3076
--HG--
extra : moz-landing-system : lando
2018-08-13 06:28:35 +00:00
Masayuki Nakano
c0e869978e
Bug 1482012 - part 2: Create TextEditor::PasteAsAction() as non-virtual method for outer C++ code r=m_kato
...
User may paste a lot with pressing Accel+V for a while (i.e., with auto repeat).
So, calling nsIEditor::Paste() may be in a hot path and we can now make
non-virtual public method with AsHTMLEditor().
Differential Revision: https://phabricator.services.mozilla.com/D2993
--HG--
extra : moz-landing-system : lando
2018-08-13 04:37:56 +00:00
Kris Maglione
637cac1ea7
Bug 1481024: Stop relying on lexical variables being available across frame scripts. r=yzen
...
The accessibility tests currently rely, in many places, on lexical variables
defined in global frame scripts being available to other non-global frame
scripts. While that is currently the case, it will stop being so soon.
And, while the simplest solution would be to define them as properties on the
frame message manager by using `var` rather than `let`, storing references to
the current content window in a frame script scope is unsafe at best, and
should be avoided at all costs.
MozReview-Commit-ID: 4FCGtLgcFzl
--HG--
extra : rebase_source : d21206c9f119ca0ce61f9956f84a2e2d11484bca
2018-08-02 20:19:50 -07:00
Yura Zenevich
e0c82272d3
Bug 1481924 - added GevkoView accessibility tests for scrolling. r=eeejay, jchen
...
MozReview-Commit-ID: ATGNFruDGAI
2018-08-10 13:13:35 -04:00
Yura Zenevich
2b1f8c8ae8
Bug 1481922 - add support for select action and view selected event. r=eeejay, jchen
...
MozReview-Commit-ID: FaLz7majPhz
2018-08-10 13:13:27 -04:00
Eitan Isaacson
704a28b360
Bug 1478727 - Move IDSet out of windows to base for Android use. r=jteh
...
--HG--
rename : accessible/windows/msaa/IDSet.h => accessible/base/IDSet.h
2018-08-09 14:56:00 +03:00