Граф коммитов

6999 Коммитов

Автор SHA1 Сообщение Дата
Tokio Kajitsuka 71145a2b80 Bug 1438193 - turn IsLink() into a const function, r=surkov 2018-05-04 21:48:34 +09:00
Adrian Wielgosik 8c66c095f4 Bug 1418078 - Convert JS users of nsIDOMHTMLInputElement. r=bz
MozReview-Commit-ID: 55aIiNHS0xs

--HG--
extra : rebase_source : cacb9fc29daa5d620d4a0cd6ab3f09cde765036f
2018-04-18 22:29:50 +02:00
James Teh a6bdc218ba Bug 1424505: Don't try to retrieve the accessible focus from remote documents on Windows 7. r=eeejay
Bug 1421144 fixed IAccessible::accFocus to work when focus is within a remote document.
Unfortunately, this causes mysterious intermittent crashes when called from a UIA client in Windows 7.
Ideally, we'd deal with the actual cause of the crashes, but they seem to be deep in Windows RPC code and all attempts at tracking this down have failed.
Clients don't seem to need this too often anyway (and it's a minor annoyance if it doesn't work when they do).

MozReview-Commit-ID: IxvbBGJ2wxA

--HG--
extra : rebase_source : 504909703718b75fffcabf1fbe56c0bbff089b58
2018-05-01 15:48:43 +10:00
Andreea Pavel 7955752872 Merge mozilla-inbound to mozilla-central. a=merge 2018-05-01 13:13:09 +03:00
James Teh e8f0bb8cd9 Bug 1455745: Remove more accessibility related diagnostic crashes on Nightly. r=aklotz
This condition is rare and does indicate a problem which breaks accessibility.
However, we aren't getting any closer to diagnosing this as a result of this crash, so it causes user pain without any gain to us.

MozReview-Commit-ID: GacAQDbhB0h

--HG--
extra : rebase_source : 478ec67da378ff763c0e0d8a998de1956b51b85b
2018-04-23 12:27:17 +10:00
Yura Zenevich ca5c7ae6a2 Bug 1457148 - ensure bounds does not crash for application accessible. r=surkov
MozReview-Commit-ID: DqGzNlCdFMy
2018-04-30 20:26:20 -04:00
Andreea Pavel 443c91d4b4 Merge inbound to mozilla-central. a=merge 2018-04-28 20:30:18 +03:00
Kris Maglione a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Cosmin Sabou 68fdb6cf4f Merge inbound to mozilla-central. a=merge 2018-04-27 13:04:36 +03:00
Boris Zbarsky 21f3e98292 Bug 1455674 part 15. Remove use of nsIDOMElement in accessible. r=qdot 2018-04-26 23:37:33 -04:00
Boris Zbarsky ba064862db Bug 1455674 part 12. Remove nsIDOMElement use from xpidl in layout. r=mossop 2018-04-26 23:36:30 -04:00
Boris Zbarsky dd4506eee2 Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8 2018-04-26 15:28:31 -04:00
Yura Zenevich 0deebcebc6 Bug 1457148 - fix crash in Accessible::Bounds. r=surkov
MozReview-Commit-ID: 9gIzmygUcoF
2018-04-26 19:18:26 -04:00
shindli af700315a1 Backed out 2 changesets (bug 1457155, bug 1457156) for B failures in builds/worker/workspace/build/src/dom/html/HTMLObjectElement.cpp on a CLOSED TREE
Backed out changeset 8b2a6b54336c (bug 1457155)
Backed out changeset 4e267d999797 (bug 1457156)
2018-04-27 01:34:37 +03:00
Boris Zbarsky 25cec96459 Bug 1457155. Rename various focus manager variables to make it clearer that they're Elements. r=mccr8 2018-04-26 15:28:31 -04:00
Emilio Cobos Álvarez a1b2e5070a Bug 1455885: Inline and make document casts fatally assert. r=bz
For consistency with AsElement / AsContent / AsDocumentFragment, etc.

MozReview-Commit-ID: 8GSj8R9hLBe
2018-04-26 17:05:12 +02:00
Boris Zbarsky dac6314cb8 Bug 1456588 part 2. Change nsIFocusManager::MoveFocus to take Element. r=enndeakin 2018-04-26 10:37:47 -04:00
Boris Zbarsky 8a0b50bea8 Bug 1456588 part 1. Change nsIFocusManager::SetFocus to take Element. r=enndeakin 2018-04-26 10:37:46 -04:00
Ciure Andrei 4602920dd0 Backed out 4 changesets (bug 1386807) for failing opt-mochitest-chrome-3 M(c3) toolkit/content/tests/chrome/test_maximized_persist.xul CLOSED TREE
Backed out changeset 669b85a6cab8 (bug 1386807)
Backed out changeset 8da96d4d931a (bug 1386807)
Backed out changeset 6cd45f41ee01 (bug 1386807)
Backed out changeset 2b9b6042e586 (bug 1386807)
2018-04-26 12:27:46 +03:00
Cosmin Sabou a9f70f3fe8 Backed out changeset 5e8342edb62d (bug 1454820) mochitest e-10s failures on test_bug386782.html. CLOSED TREE 2018-04-27 19:50:26 +03:00
Jonathan Kingston 75441127ab Bug 1454820 - Add support for system addon signing for web extension bundling. r=johannh,kmag
MozReview-Commit-ID: 3dpQKGHOgLa

--HG--
extra : rebase_source : 887bbeb5429f765eb8222a833ef4783d91fe8ae7
2018-04-18 00:43:39 +01:00
Dennis Schubert 7aaabd7789 Bug 1386807 - Part 4: Add hidden WebExtension window to a11y tests to make them pass r=eeejay
This is actually a workaround for the test not ignoring hidden windows. There is
ongoing work in bug 1440106 that will get rid of this issue altogether, but
for now, we need to add hidden windows ourselves.

MozReview-Commit-ID: 2rQoz4KLHv3

--HG--
extra : rebase_source : 265fcd5755339493f320357553407edc33093376
2018-04-25 16:47:30 +02:00
James Teh fc5fc8afb1 Bug 1455511: Always prune the accessibility tree for sliders. r=surkov
It doesn't make sense for a slider to have descendants and this confuses NVDA.

MozReview-Commit-ID: 2A3gqTSu38g

--HG--
extra : rebase_source : 8776da7b23601eb3f1ec9e9711f9f9cd9eedd849
2018-04-23 17:23:00 +10:00
Brian Grinstead ab2a1a0d82 Bug 1456703 - Remove nsIDOMXULTextBoxElement r=enndeakin+6102
MozReview-Commit-ID: 6ZRzVq1bJjz

--HG--
extra : rebase_source : adb6e5cabbc38ed6774e905328b7f6f6095d01eb
2018-04-26 15:17:00 -07:00
Brian Grinstead 45b575d85f Bug 1456703 - Stop using nsIDOMXULTextBoxElement to detect XUL textboxes r=enndeakin+6102
This is used in JS via instanceof checks, and in C++ only to get the `inputField`
attribute (the actual HTML input or textarea). We can swap out instanceof by checking
the tag name, and we can directly query for the input field from C++.


MozReview-Commit-ID: 7xpHQMYzYhD

--HG--
extra : rebase_source : a5b62928665725133eb52e4df2fb6659a6109ffd
2018-04-26 15:15:10 -07:00
Dennis Schubert 954c9b10cf Bug 1386807 - Part 4: Add hidden WebExtension window to a11y tests to make them pass r=eeejay
This is actually a workaround for the test not ignoring hidden windows. There is
ongoing work in bug 1440106 that will get rid of this issue altogether, but
for now, we need to add hidden windows ourselves.

MozReview-Commit-ID: 2rQoz4KLHv3

--HG--
extra : rebase_source : dd97eefd09f50c630cbea33dd7738e1bb3b462c3
2018-04-25 16:47:30 +02:00
Adrian Wielgosik b3c501adc4 Bug 1447389 - Remove nsIDOMNodeList. r=bz
MozReview-Commit-ID: 11szZP6dS6V

--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Andreea Pavel a21531022b Merge mozilla-inbound to mozilla-central. a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Kris Maglione 9b0a00e563 Bug 1456686: Follow-up: Remove unused import added after rebase. r=bustage CLOSED TREE
MozReview-Commit-ID: 5qDpi0d25Fd

--HG--
extra : amend_source : af34285ff3f8674eaaaf630eaaccd994680db4b1
2018-04-25 12:55:42 -07:00
Kris Maglione a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Yura Zenevich 55fe960cc1 Bug 1450927 - add getBoundsInCSSPixels XPCOM method. r=surkov r=jld
MozReview-Commit-ID: CTANPVQw1sG
2018-04-25 14:51:09 -04:00
Tiberius Oros 2fffa00bb3 Backed out 2 changesets (bug 1450927) for failing on ProxyAccessible.cpp(247) on a CLOSED TREE
Backed out changeset ca285aed3926 (bug 1450927)
Backed out changeset d7dd8b0d2473 (bug 1450927)
2018-04-25 19:31:50 +03:00
Yura Zenevich db18588465 Bug 1450927 - add getBoundsInCSSPixels XPCOM method. r=surkov r=jld
MozReview-Commit-ID: CTANPVQw1sG
2018-04-25 11:45:47 -04:00
Jonathan Kew 9872150acc Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt 2018-04-25 07:18:23 +01:00
Jonathan Kew 7e27ba83c3 Backed out 4 changesets from bug 1454598 (26e036b1c703, bc910e36a7d7, bac001216577, 5af215d265b6) due to macOS 10.12 font issues. 2018-04-25 10:18:07 +01:00
Jonathan Kew 6ca182d055 Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt 2018-04-25 07:18:23 +01:00
Brian Grinstead c79ba311f8 Bug 1456682 - Remove nsIDOMXULTreeElement;r=bz
MozReview-Commit-ID: 2QstcmlXh9S

--HG--
extra : rebase_source : 7f767686c65426a1079c0b10092d32dee91a4e3b
2018-04-25 06:58:56 -07:00
Eitan Isaacson c947f9b6ab Bug 1454783 - Remove non-Android presenters in AccessFu. r=yzen
--HG--
extra : rebase_source : 1ed88a48b387022ec3e48d4dca7574744b09064d
2018-04-24 14:43:00 +03:00
Eitan Isaacson 70e1c57e9b Bug 1454785 - Make TakeFocus user initiated. r=surkov
--HG--
extra : rebase_source : 554b1a7dabcdd3f14e67028ad5effc69dabed4b9
2018-04-23 09:02:00 +03:00
Jonathan Watt 156c4af1ec Bug 1436048: Use user defined types for font-stretch / font-style. r=jfkthame,jwatt
Co-authored-by: Emilio Cobos Álvarez <emilio@crisal.io>

MozReview-Commit-ID: 7ONYtICeAqb
2018-04-23 18:22:05 +02:00
Masayuki Nakano 043e93a8ba Bug 1451672 - part 21: Refine TextEditor::TypedText() r=m_kato
According to existing comments, TextEditor::TypedText() and
HTMLEditor::TypedText() are intentional bottleneck to debug.  However, only
for that purpose, it and its internal methods are made virtual.  This really
doesn't make sense.

So, this patch creates TextEditor::OnInputText() for callers of TypedText()
with non-empty string, TextEditor::OnInputParagraphSeparator() for callers
of TypedText() with eTypeBreak (Enter key or insertParagraphSeparator),
HTMLEditor::OnInputLineBreak() for callers of TypedText() with eTypeBR
(Shift + Enter or insertLineBreak).  Additionally, this creates internal
non-virtual methods for XPCOM methods which are used as internal methods of
TypedText().  One is InsertTextAsAction() for nsIPlatintextEditor.insertText().
the other is InsertParagraphSeparator() for nsIPlaintextEditor.insertLineBreak().

Although those new methods are not have "WithTransaction" postfix, they must
be clearer they'll use transactions since user input and actions should be
undo-able.

MozReview-Commit-ID: AmOkMqovIKA

--HG--
extra : rebase_source : 9c0f4b25fa2a36ad2f3394f72eb290824c31d82a
2018-04-16 23:43:36 +09:00
Masayuki Nakano 80c2ea82ed Bug 1451672 - part 9: Create TextEditor::DeleteSelectionAsAction() as implementation of nsIEditor::DeleteSelection() r=m_kato
First, EditorBase::DeleteSelection() is never used since
TextEditor::DeleteSelection() overrides it but does not call it.  So, this patch
makes EditorBase::DeleteSelection() only returns NS_ERROR_NOT_IMPLEMENTED.

Next, EditorBase::DeleteSelectionImpl() actually removes content for
TextEditor::DeleteSelection().  So, it should be named as
DeleteSelectionWithTransaction().  However, it'll be done in the following
patch.  On the other hand, its callers are EditorBase::HandleKeyPressEvent()
and EditorBase::DeleteSelectionAndPrepareToCreateNode().  Fortunately, they
can be moved to TextEditor simply.  Therefore this patch moves the methods
to TextEditor for making related methods in a place.

Then, we can make the implementation of nsIEditor::TextEditor() as a non-virtual
method, TextEditor::DeleteSelectionAsAction().

MozReview-Commit-ID: KXFDhW3G9lA

--HG--
extra : rebase_source : 15986979279b2cae3b61cda1bf6bf3d9e4987f3f
2018-04-11 17:37:49 +09:00
Dorel Luca 65669dae30 Merge mozilla-inbound to mozilla-central. a=merge 2018-04-21 02:00:04 +03:00
Boris Zbarsky 45a3faf8f6 Bug 1455052 part 12. Remove JS uses of nsIDOMEvent. r=masayuki,kmag
MozReview-Commit-ID: 5g0H3rzxTXt
2018-04-20 12:55:31 -04:00
Brian Grinstead 824507efc4 Bug 1455392 - Remove checkState from nsIDOMXULCheckboxElement and nsIDOMXULButtonElement;r=bz,surkov
There aren't any consumers for the third state, so `checked` is enough.

MozReview-Commit-ID: BpcQX2acA6C

--HG--
extra : rebase_source : f43c9fbe8d774208d203e4d819f39d3d99da05ff
2018-04-20 09:37:03 -07:00
Cosmin Sabou dcacfcfc71 Backed out 2 changesets (bug 1454598) as requested by Mossop in developers channel. a=backout
Backed out changeset b673e87d6134 (bug 1454598)
Backed out changeset 072dc1504ce6 (bug 1454598)
2018-04-20 06:45:39 +03:00
Brindusan Cristian b29d60aaaa Backed out changeset 99ec19154f8a (bug 1454081) for browser chrome failures on browser_test_resolution.js. CLOSED TREE 2018-04-19 22:06:08 +03:00
Eitan Isaacson 71f43ca16b Bug 1454081 - Fix accessible coordinates in APZ viewports. r=surkov, r=yzen, r=jchen 2018-04-19 09:19:00 -04:00
Jonathan Kew 6f1e2a29b3 Bug 1454598 - part 2 - Allow variation fonts to record a weight range in gfxFontEntry, and update font-matching to handle ranges. r=jwatt 2018-04-19 13:28:13 +01:00
Nika Layzell be8b24333a Bug 1444991 - Part 1: Read webidl's Bindings.conf, and pass it into xpidl, r=mccr8
This information is read in order to handle correctly selecting the native
type and header files for WebIDL types.
2018-04-17 19:20:58 -04:00