Alexander Surkov
1309e3f824
Bug 1330484 - crash in NotificationController::WillRefresh, r=yzen
2017-03-23 13:59:16 -04:00
Alexander Surkov
7d7b3c1dbe
Bug 1346518 - extend Accessible::RemoveChild debugging assertions, part2, r=yzen
2017-03-22 18:31:18 -04:00
Jeff Muizelaar
49eb5ba0b6
Bug 1285533. Remove non-fontconfig platform fontlist codepath. r=lsalzman
...
This has been disabled for two years. It's time for it to die.
2017-03-22 14:58:19 -04:00
Mark Banner
bd625e4e9f
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00
Alexander Surkov
f276097163
Bug 1346518 - extend Accessible::RemoveChild debugging assertions, r=yzen
2017-03-21 10:13:32 -04:00
Alexander Surkov
c9ee99780d
Bug 1347667 - unlink accessible's parent before accessible's shutdown when document shutdowns, r=yzen
2017-03-20 09:42:39 -04:00
Trevor Saunders
f0cd2a2c68
bug 1346439 - fixup linked list manipulation in CoalesceMutationEvents() r=davidb
...
Its possible to coalesce away events such that the first two events in the
queue are reorder events where the second reorder can be coalesced with the
first. In that case there's no point in shuffling the list before removing
the second reorder event.
2017-03-17 14:03:44 -04:00
Alexander Surkov
a7177b01b4
Bug 1342433 - onclick changes shouldn't recreate the tree, r=yzen
2017-03-15 15:19:26 -04:00
Sebastian Hengst
05e20910fa
Backed out changeset 7c05090a2cd0 (bug 1342433) for failing browser_treeupdate_listener.js. r=backout
2017-03-15 19:11:12 +01:00
Alexander Surkov
34a4cbb7ac
Bug 1342433 - don't recreate a tree on onclick changes, r=yzen
2017-03-14 14:29:08 -04:00
Aaron Klotz
0413a301e8
Bug 1346967: Generate metadata for all three ISimpleDOM interfaces via a single combined run of MIDL; r=tbsaunde
...
MozReview-Commit-ID: DGgXSbISujv
--HG--
extra : rebase_source : 32f6a76d3ba24b74d85470ce82c0c2b50ac79b8c
2017-03-13 16:39:28 -06:00
Boris Zbarsky
5ae7da9d14
Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan
...
Really, there are only two cases we need to worry about. Either
IsSelectionCached(), and then our SelectionProperties has the data we want, or
not and then we have a non-null mSelCon which has the data we want.
Since we are now using cached selection state a lot more (instead of
initializing the editor whenever someone asks for selection state), we need to
actually update it more correctly when .value is set.
And since we now update the cached selection state for the case when .value has
been set (to point to the end of the text), we need to change
HTMLInputElement::HasCachedSelection to return false for that case. Otherwise
we will always do eager editor init on value set. We handle that by not doing
eager init if the cached selection is collapsed.
The web platform test changes test the "update on .value set" behavior. They
fail without this patch, pass with it.
MozReview-Commit-ID: DDU8U4MGb23
2017-03-09 14:44:04 -05:00
Wes Kocher
f7f40f39ec
Backed out 19 changesets (bug 1343037) for OSX failures in test_form_autocomplete.html a=backout CLOSED TREE
...
Backed out changeset 45f9d9f47222 (bug 1343037)
Backed out changeset 77c26865ce8e (bug 1343037)
Backed out changeset 4c4ec6e6b168 (bug 1343037)
Backed out changeset 1d0da4f3c82b (bug 1343037)
Backed out changeset 67d29abbbd53 (bug 1343037)
Backed out changeset a6833ad9712f (bug 1343037)
Backed out changeset 202a7b464808 (bug 1343037)
Backed out changeset 271e63cd7bfa (bug 1343037)
Backed out changeset 77c3b36269a4 (bug 1343037)
Backed out changeset 73198c9c3975 (bug 1343037)
Backed out changeset 5fc2e304113b (bug 1343037)
Backed out changeset b7de9c9c1c31 (bug 1343037)
Backed out changeset 08b01e3c03f8 (bug 1343037)
Backed out changeset de068e5a963b (bug 1343037)
Backed out changeset 23164576aaf5 (bug 1343037)
Backed out changeset 1034463cb379 (bug 1343037)
Backed out changeset 7fb2aacfc644 (bug 1343037)
Backed out changeset 6dcb7090fd33 (bug 1343037)
Backed out changeset cad4522cee16 (bug 1343037)
MozReview-Commit-ID: I37k9bJBwsw
2017-03-09 15:29:05 -08:00
Alexander Surkov
bc2c7e65ad
Bug 1321384 - add debuggin assert for Accessible::RemoveChild, r=yzen
2017-03-09 14:55:54 -05:00
Boris Zbarsky
77e7a5575a
Bug 1343037 part 6. Simplify the setup around the editor state's GetSelectionRange function. r=ehsan
...
Really, there are only two cases we need to worry about. Either
IsSelectionCached(), and then our SelectionProperties has the data we want, or
not and then we have a non-null mSelCon which has the data we want.
Since we are now using cached selection state a lot more (instead of
initializing the editor whenever someone asks for selection state), we need to
actually update it more correctly when .value is set.
And since we now update the cached selection state for the case when .value has
been set (to point to the end of the text), we need to change
HTMLInputElement::HasCachedSelection to return false for that case. Otherwise
we will always do eager editor init on value set. We handle that by not doing
eager init if the cached selection is collapsed.
The web platform test changes test the "update on .value set" behavior. They
fail without this patch, pass with it.
MozReview-Commit-ID: DDU8U4MGb23
2017-03-09 14:44:04 -05:00
Andreas Farre
85536fcfc4
Bug 1337392 - Update test cases to match new cursor behavior. r=smaug
...
MozReview-Commit-ID: 4BdZyeqTBAx
2017-03-08 16:41:42 +01:00
Florian Quèze
9d62681259
Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.
2017-03-08 10:17:52 +01:00
Michael Layzell
6cb8b40272
Bug 1331434 - Part 4: Return early after throwing in AccessibleNode::Get, r=surkov
...
MozReview-Commit-ID: GmzIhdwVjPj
2017-03-07 19:06:48 -05:00
Jim Chen
1294cccf48
Bug 1337467 - Convert observers to bundle events; r=rbarker r=sebastian
...
Bug 1337467 - 1. Convert "Window:Resize" observer to event; r=rbarker
Bug 1337467 - 2. Convert "ScrollTo:FocusedInput" observer to event; r=rbarker
Bug 1337467 - 3. Convert "Update:CheckResult" observer to event; r=sebastian
Also remove notifyCheckUpdateResult from GeckoInterface.
Bug 1337467 - 4. Convert "GeckoView:ImportScript" observer to event; r=sebastian
Bug 1337467 - 5. Convert accessibility observers to events; r=sebastian
Bug 1337467 - 6. Convert media/casting observers to events; r=sebastian
Bug 1337467 - 7. Convert "Sanitize:ClearData" observer to event; r=sebastian
Bug 1337467 - 8. Convert "Notification:Event" observer to event; r=sebastian
Bug 1337467 - 9. Convert BrowserApp observers to events; r=sebastian
Bug 1337467 - 10. Convert Tab observers to events; r=sebastian
Bug 1337467 - 11. Convert "Passwords:Init" and "FormHistory:Init" observers to events; r=sebastian
Bug 1337467 - 12. Convert Reader observers to events; r=sebastian
Bug 1337467 - 13. Convert Distribution observers to events; r=sebastian
Bug 1337467 - 14. Convert "Fonts:Reload" observer to event; r=sebastian
Bug 1337467 - 15. Convert RecentTabsAdapter observers to events; r=sebastian
Bug 1337467 - 16. Convert "Session:Prefetch" observer to event; r=sebastian
Bug 1337467 - 17. Convert "Browser:Quit" and "FullScreen:Exit" observers to events; r=sebastian
Bug 1337467 - 18. Convert SessionStore observers to events; r=sebastian
The "Session:NotifyLocationChange" observer is sent by browser.js and
requires passing a browser reference, so it's left as an observer.
Bug 1337467 - 19. Remove unused "Tab:Screenshot:Cancel" notifyObserver call; r=me
Bug 1337467 - 20. Convert "Session:Navigate" observer to event; r=sebastian
Bug 1337467 - 21. Convert "Locale:*" observers to events; r=sebastian
Bug 1337467 - Add log for unhandled events; r=me
Add back the log indicating no listener for an event, which can be
useful when reading logcat. r=me for trivial change.
Bug 1337467 - Don't return error from EventDispatcher when OnEvent fails; r=me
When a listener's OnEvent method returns an error, continue to dispatch
to other listeners and don't return an error from the dispatch function.
This avoids unexpected errors when dispatching events. r=me for trivial
patch.
2017-03-07 12:34:04 -05:00
Florian Quèze
37bbced84d
Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
...
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
David Major
ed0b8f8653
Bug 1344615: Remove nsXPCOMStrings.{h,cpp} r=bsmedberg
...
These are now dead code.
MozReview-Commit-ID: AClU0Qx3kmN
--HG--
extra : rebase_source : df83cf89292da1519bb26027c11e14923d5c54a0
2017-03-06 17:52:54 +13:00
Trevor Saunders
502b0f327c
bug 1332690 - don't try and bind child docs to a shutdown DocAccessibleParent r=yzen
...
a BindChildDoc message can race with the parent process shutting down a tab.
The result of that is that RecvBindChildDoc() can be called on a
DocAccessibleParent that has already been shut down by the destruction of the
owning TabParent.
2017-03-05 23:12:13 -05:00
Trevor Saunders
26401c70e6
bug 1340579 - fixup werror bustage landing on a CLOSED TREE
2017-03-01 17:45:04 -05:00
Trevor Saunders
e8562200c5
bug 1340579 - look up this DocAccessibleParent in live docs instead of using this in DocAccessibleParent::Destroy() r=davidb
2017-03-01 17:23:48 -05:00
Mats Palmgren
6ef6efaea3
Bug 1340771 part 2 - Introduce a WeakFrame class for heap allocated weak frame pointers, stored in a hashtable for fast lookup. r=tn
...
* * *
Bug 1340771 part 3 - Change existing heap allocated AutoWeakFrame instances to use WeakFrame instead. r=tn
MozReview-Commit-ID: GSuUiy98jBa
2017-03-01 18:03:14 +01:00
Mats Palmgren
d13aaf9ce0
Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
...
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Yura Zenevich
bc54871520
Bug 1339779 - bail early if ipcDoc is not yet created. r=tbsaunde
...
MozReview-Commit-ID: 1Wm6n7zba35
2017-02-25 17:18:30 -05:00
Phil Ringnalda
75522649b2
Backed out changeset eb97347c9690 (bug 1340579) for a11y assertion failures and PLDHashTable crashes
...
CLOSED TREE
2017-02-24 20:56:38 -08:00
Trevor Saunders
617ef9aa4c
bug 1340579 - look up this DocAccessibleParent in live docs instead of using this in DocAccessibleParent::Destroy() r=eeejay
2017-02-24 16:55:06 -05:00
Aaron Klotz
9e3522ce1d
Bug 1310166: Register ISimpleDOMNode typelib in content process; r=tbsaunde
...
MozReview-Commit-ID: 2JcIHJbHDgT
2017-02-23 11:32:06 -07:00
Trevor Saunders
b7a422448c
Bug 1341731 - fixup werror bustage. r=bustage-fix on a CLOSED TREE
2017-02-24 17:02:12 +01:00
Trevor Saunders
7e05a50676
bug 1341731 - propagate failures before working around them r=yzen
2017-02-24 10:26:27 -05:00
Alexander Surkov
8e74a46ec6
Bug 1321384 - add diagnostics to Accessible::Move, r=eeejay
2017-02-22 13:45:21 -05:00
Sebastian Hengst
7bb022c060
Backed out changeset c1544abd34c2 (bug 1340903) for frequent failure of docshell/test/unit/test_setUsePrivateBrowsing.js on Linux opt and pgo. r=backout
2017-02-22 09:59:29 +01:00
Trevor Saunders
c886524f63
bug 1340579 - add another diagnostic assert r=davidb
2017-02-21 22:27:49 -05:00
Trevor Saunders
b2600d1cbe
bug 1340903 - work around binding child docs to non outer DocAccessibles r=eeejay
2017-02-21 22:27:49 -05:00
Trevor Saunders
98b6c0804b
bug 1332690 - work around non existant proxies
2017-02-21 11:19:51 -05:00
Phil Ringnalda
7e33a1ba60
Merge m-c to autoland
2017-02-20 20:32:46 -08:00
Eitan Isaacson
7f072468f4
Bug 1340733
- Fix attributes getter in win/ProxyAccessible. r=yzen
...
MozReview-Commit-ID: 7s3UrJlcsEQ
--HG--
extra : rebase_source : 8e9505a5d789088ba121b67be00c7f2b0aa332a8
2017-02-16 15:32:19 -08:00
Xidorn Quan
3e72a08b95
Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam,jaws
...
MozReview-Commit-ID: 59cmaCoFJMR
--HG--
extra : rebase_source : 3b927d3c056b66e98f457de1726cf9d459eb8708
2017-02-16 10:26:13 +11:00
Yura Zenevich
3ab75c053f
Bug 1340284
- remove JAWS condition when retrieving IAccessibleApplication in ServiceProvider. r=tbsaunde
...
MozReview-Commit-ID: DPNyntCPjoZ
2017-02-17 11:12:16 -05:00
Trevor Saunders
dd89edabac
bug 1197184 - downgrade various MOZ_DIAGNOSTIC_ASSERTs
2017-02-17 10:15:26 -05:00
Trevor Saunders
d73d9c56df
bug 1338755 - send a tab's parent proxy when it may have changed r=yzen
2017-02-17 09:06:26 -05:00
Trevor Saunders
d1713296dd
bug 1338755 - make RemoteChildDoc() return a DocAccessibleParent* r=yzen
2017-02-17 09:06:26 -05:00
Trevor Saunders
8db37fbd19
bug 1338755 - split up SetCOMProxy() r=yzen
2017-02-17 09:06:26 -05:00
Trevor Saunders
053f200a0c
bug 1338755 - split parts of SetCOMProxy() out to MaybeInitWindowEmulation() r=yzen
2017-02-17 09:06:26 -05:00
Xidorn Quan
6ce3f471d0
Backed out changeset 107fdc32d411 (bug 1339394) for potential failures on merge
2017-02-17 10:23:26 +11:00
Xidorn Quan
8beb97c7da
Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam,jaws
...
MozReview-Commit-ID: 59cmaCoFJMR
--HG--
extra : source : d4ae926f5c056e734f4ecc035fab25f5ea7b6ac1
2017-02-17 10:12:34 +11:00
Trevor Saunders
43c3840ad1
bug 1197181 - downgrade diagnostic assert in RecvHideEvent()
2017-02-16 16:27:40 -05:00
Trevor Saunders
d758a5e011
bug 1338755 - split ParentCOMProxy message up r=yzen
...
sending the emulated window information is basically unrelated to sending the
parent COM proxy to the child process, and in the future it will be useful to
send these at different times.
2017-02-16 15:17:53 -05:00