Skip to content

Commit

Permalink
Bug 987871 - Enable flag to fix double event firing on checkbox toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Wei committed Apr 1, 2014
1 parent 5f1c71a commit 12f06d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions accessible/src/generic/Accessible.h
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ class Accessible : public nsIAccessible,
eGroupInfoDirty = 1 << 5, // accessible needs to update group info
eIgnoreDOMUIEvent = 1 << 6, // don't process DOM UI events for a11y events

eLastStateFlag = eGroupInfoDirty
eLastStateFlag = eIgnoreDOMUIEvent
};

/**
Expand Down Expand Up @@ -987,7 +987,7 @@ class Accessible : public nsIAccessible,
int32_t mIndexInParent;

static const uint8_t kChildrenFlagsBits = 2;
static const uint8_t kStateFlagsBits = 6;
static const uint8_t kStateFlagsBits = 7;
static const uint8_t kContextFlagsBits = 1;
static const uint8_t kTypeBits = 6;
static const uint8_t kGenericTypesBits = 12;
Expand Down
8 changes: 0 additions & 8 deletions accessible/tests/mochitest/jsat/test_content_integration.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
[ContentMessages.activateCurrent(), {
speak: 'checked'
}],
[null, {
speak: 'checked',
speak_checkFunc: 'todo_isnot'
}],
[ContentMessages.simpleMoveNext, {
speak: 'much range label'
}],
Expand Down Expand Up @@ -74,10 +70,6 @@
[ContentMessages.activateCurrent(), {
speak: 'unchecked'
}],
[null, {
speak: 'unchecked',
speak_checkFunc: 'todo_isnot'
}],
[ContentMessages.simpleMovePrevious, {
speak: 'wow heading level 1'
}],
Expand Down

0 comments on commit 12f06d4

Please sign in to comment.