Commit Graph

3105 Commits

Author SHA1 Message Date
Ryan VanderMeulen
28b6fb8215 Bug 890795 - Actually disable the test where intended. r=logicfail 2013-08-27 14:01:11 -04:00
Ryan VanderMeulen
2371485db7 Bug 890795 and bug 695019 - Disable test_focus_autocomplete.xul on Linux and Windows due to frequent failures. r=tbsaunde 2013-08-27 10:27:27 -04:00
Alexandre BM
4395358bfc Bug 761064 - Remove an unnecessary mTreeView null check. r=surkov 2013-08-26 11:08:51 -04:00
Boris Zbarsky
18e33f4b17 Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Ms2ger
fa65b962f6 Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Yura Zenevich
c4f221c086 Bug 795957 - [PATCH 2/2][AccessFu] Tests for live region support. r=eeejay, marcoz
---
 accessible/tests/mochitest/jsat/Makefile.in        |    1 +
 accessible/tests/mochitest/jsat/jsatcommon.js      |   64 ++++
 accessible/tests/mochitest/jsat/test_alive.html    |   64 ++---
 .../tests/mochitest/jsat/test_live_regions.html    |  342 ++++++++++++++++++++
 4 files changed, 432 insertions(+), 39 deletions(-)
 create mode 100644 accessible/tests/mochitest/jsat/test_live_regions.html
2013-08-21 12:40:18 -04:00
Yura Zenevich
53d2a48acc Bug 795957 - [PATCH 1/2][AccessFu] Adding support for live regions. r=eejay
---
 accessible/src/jsat/AccessFu.jsm                   |    6 +
 accessible/src/jsat/EventManager.jsm               |  192 ++++++++++++++++++--
 accessible/src/jsat/OutputGenerator.jsm            |   10 +-
 accessible/src/jsat/Presentation.jsm               |   47 +++++-
 accessible/src/jsat/Utils.jsm                      |   39 +++--
 .../en-US/chrome/accessibility/AccessFu.properties |    4 +
 6 files changed, 263 insertions(+), 35 deletions(-)
2013-08-21 12:40:06 -04:00
Marco Zehe
46da32f697 Bug 907125 - [AccessFu] Improve the output for ARIA tabs and tab lists, r=yzen 2013-08-21 09:52:46 +02:00
Arnaud Sourioux
b226e33120 Bug 883672 - Inherit XULLinkAccessible from XULLabelAccessible + test. r=surkov 2013-08-20 16:42:26 -04:00
Alexander Surkov
e588494720 Bug 905215 - Add a test sheet for HTML elements, r=davidb 2013-08-19 18:50:14 -04:00
Max Li
99391de613 Bug 900097 - Add tests. r=surkov 2013-08-18 10:21:33 -04:00
Ryan VanderMeulen
8c1d293b1c Merge m-c to inbound. 2013-08-16 21:58:51 -04:00
Doug Turner
7de559f32b Bug 904462 - Clean up warnings and errors when starting B2G on the mac r=fabrice 2013-08-16 11:08:03 -07:00
Max Li
269d9f151d Bug 906050 - Support long clicking from braille. r=eeejay r=kats 2013-08-16 11:17:29 -04:00
Gregory Szorc
23a27eb20e Bug 901007 - Don't generate xpcAccEvents.h twice; r=mshal 2013-08-14 17:43:04 -07:00
Brian O'Keefe
3dadb0e396 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
654b140108 Bug 904178 - Part a: Use nsIDocument in logging::DocLoad; r=surkov 2013-08-14 09:01:27 +02:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
David Zbarsky
9dd8b1ad80 Bug 902732: Merge nsILink and dom::Link r=bz 2013-08-08 01:26:32 -04:00
Alexander Surkov
8bdfa31c00 Bug 900943 - multiline textbox contains bogus <br>, r=tbsaunde
--HG--
rename : accessible/tests/mochitest/text/test_label.xul => accessible/tests/mochitest/text/test_general.xul
2013-08-05 22:09:05 -04:00
Alexander Surkov
4fff80063b Bug 900835 - crash in nsEventStateManager::PreHandleEvent (Accessible::DoCommand, r=smaug, tbsaunde 2013-08-05 00:00:08 -04:00
Alexander Surkov
af63cdc673 Bug 788389 - fire statechange event whenever checked state is changed not depending on focused state, r=tbsaunde 2013-08-02 12:42:36 -04:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
625b832e4f Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ms2ger
fe9c33f5f4 Bug 897921 - Remove some dead assignments in makefiles; r=mshal 2013-08-02 09:03:55 +02:00
Mike Hommey
ca80cd82ad Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Alexander Surkov
a104fd13eb Bug 894573 - ARIA state mapping should treat undefined value same way if value was missed, r=tbsaunde 2013-08-01 11:11:56 -04:00
Alexander Surkov
bda9da37c4 Bug 889512 - no focus event for google's moving textbox, r=tbsaunde 2013-07-31 10:47:39 -04:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Alexander Surkov
ebe305a239 Bug 892091 - ARIA treegrid should be editable by default, r=davidb 2013-07-30 11:43:00 -04:00
Ehsan Akhgari
3717325909 Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted 2013-07-30 10:25:31 -04:00
Alexander Surkov
25db64d524 Bug 810268 - there's no way to know unselected item when selection in single selection was changed, r=tbsaunde 2013-07-28 14:33:57 -04:00
Eitan Isaacson
9f788d6fc9 Bug 898545 - Get rid of simple touch rule, and make the simple rule use bigger targets when possible. r=marcoz 2013-07-26 14:09:17 -07:00
Eitan Isaacson
f3c73fe53b Bug 898008 - Use 'wheel' event for scrolling. r=maxli 2013-07-26 08:18:12 -07:00
Alexander Surkov
54c50b6244 Bug 896326 - Accessibility may return empty lines where there are embedded objects, r=tbsaunde 2013-07-26 10:41:25 -04:00
Max Li
f84147fcfa Bug 690199 - ARIA select widget should expose focusable state regardless the way they manage its children. r=surkov 2013-07-26 06:26:44 -04:00
Max Li
dec1b1843d Bug 886076 - Part 2: Support movement by granularity in AccessFu. r=eeejay 2013-07-24 17:52:57 -04:00
Max Li
42034f7543 Bug 886076 - Part 1: Implement moveNextByText and movePreviousByText in nsAccessiblePivot. r=surkov 2013-07-25 13:56:12 -04:00
Eitan Isaacson
c5f47bc194 Bug 898002 - Ignore synthesized touch events. r=marcoz 2013-07-25 10:09:48 -07:00
Eitan Isaacson
f54e70c839 Bug 894485 - Have touch events precede mouse events to simulate touch devices. r=surkov 2013-07-25 08:59:08 -07:00
Alexander Surkov
63b81597b1 Bug 894547 - move tests abstraction up for at caret offset text testing, r=tbsaunde 2013-07-25 11:15:27 -04:00
Alexander Surkov
f9709b7b26 Bug 893166 - getTextBeforeOffset line end fails on wrapped lines, r=tbsaunde 2013-07-24 14:11:02 -04:00
Alexander Surkov
812f2f3899 Bug 890353 - move get text for line boundary tests into separate file, r=tbsaunde
--HG--
rename : accessible/tests/mochitest/text/test_singleline.html => accessible/tests/mochitest/text/test_lineboundary.html
2013-07-24 10:56:14 -04:00
Marco Zehe
9d34b734eb Bug 896400 - Tablist should no longer be an implicit polite live region, r=surkov 2013-07-24 09:04:49 +02:00
Alexander Surkov
df49bdaa51 Bug 887250 - ARIA textbox role doesn't expose value, r=tbsaunde 2013-07-23 12:06:52 -04:00
Joshua Cranmer
9fe3cbcad0 Bug 884061 - Part 3a: Use NS_DECL_THREADSAFE_ISUPPORTS in accessible/, r=tbsaunde
--HG--
extra : rebase_source : 621f71d9c618e7a7804c48b8bc4c5ab43f96493a
2013-07-14 11:34:46 -05:00
Marco Zehe
d1271cef0b Bug 758675 - Speak accessible description if available, r=eeejay, f=yzen 2013-07-23 10:40:49 +02:00
Alexander Surkov
56737532c1 Bug 891338 - Popup accessibility broken, r=tbsaunde, roc, f=marcoz, jamie 2013-07-22 11:58:19 -04:00
Birunthan Mohanathas
470e4ae660 Bug 784739 - Switch from NULL to nullptr in accessible/; r=ehsan
--HG--
extra : rebase_source : 1b7f27076438d90024bf0ca7f9698a50efce1507
2013-07-20 11:48:54 +03:00
Alexander Surkov
5c25e99c40 Bug 888247 - ARIA columnheader/rowheader shouldn't be selectable by default, r=tbsaunde 2013-07-19 11:20:51 -04:00