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
Wes Kocher
3e3d368d3b
Backed out changeset 4ea36a9c2dfd (bug 1339394) for browser_selectpopup.js failures a=backout
...
MozReview-Commit-ID: JEy6J1AFgpj
2017-02-15 18:59:15 -08:00
Wes Kocher
3797956aa6
Merge m-c to inbound a=merge
...
MozReview-Commit-ID: BemR756HJnR
2017-02-15 16:33:03 -08:00
Xidorn Quan
27c6b9b2bf
Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam
...
MozReview-Commit-ID: 59cmaCoFJMR
--HG--
extra : source : 134b15d99876fbd9b9f7022de20e3d215dc2c753
extra : amend_source : 94ba498834fae87577905fa473479a3d155e607d
2017-02-16 10:27:19 +11:00
Carsten "Tomcat" Book
4bb208b812
Backed out changeset 4a964c3f1759 (bug 1339394) for suspicion of causing failures on OS X browser_selectpopup.js tests
2017-02-15 14:43:57 +01:00
Xidorn Quan
8a139d9ab8
Bug 1339394 - Don't serialize transparent color to transparent keyword when not necessary. r=heycam
...
MozReview-Commit-ID: 59cmaCoFJMR
--HG--
extra : source : 6c2a110bb5f4c7d4b1efd81a5cf03878291f7591
extra : amend_source : e2cdd8e042f99c53dceb69e02b422d62cdc01e1f
2017-02-15 20:47:26 +11:00
Aaron Klotz
16028b27ba
Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal
...
MozReview-Commit-ID: 7FW8wi23xYd
--HG--
extra : rebase_source : 5e4ce36ea703904d918e58570f18e8ead9581d00
2017-02-14 16:32:18 -07:00
Aaron Klotz
8af3455468
Bug 1335527: Backed out changeset 6306054ca94a for bustage; r=bustage
2017-02-14 16:24:55 -07:00
Aaron Klotz
8a75961a58
Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal
...
MozReview-Commit-ID: 7FW8wi23xYd
--HG--
extra : rebase_source : 8480e687a8284f12917303ad24ce18d6ed4aad47
2017-02-14 15:04:33 -07:00
Trevor Saunders
1f0c97f262
bug 1339472 - refer to child DocAccessibleParents by id r=yzen
2017-02-14 18:10:04 -05:00
Trevor Saunders
66243ccb3f
bug 1339472 - make DocAccessibleParents refer to there parent document by id r=yzen
...
This saves a little space on x86_64 builds.
2017-02-14 18:10:03 -05:00
Trevor Saunders
9f62f9a5c1
bug 1339472 - keep a map from DocAccessibleParents to the actors themselves r=yzen
2017-02-14 18:10:03 -05:00
Aaron Klotz
01e0b50a3d
Bug 1335527: Backed out changeset 45651363c8d6 due to bustage; r=bustage
2017-02-14 15:38:49 -07:00
Aaron Klotz
c1b69987d2
Bug 1335527: Fix missing entries for .tlb files generated by midl in a11y code; r=mshal
...
MozReview-Commit-ID: EjvzTvADV1a
--HG--
extra : rebase_source : 67202eeaa13847291d191c4c37c13f50fbb0088a
2017-02-14 15:04:33 -07:00
Trevor Saunders
2f8dccb36c
bug 1339156 - add an assert to RemoveChildDoc() r=yzen
2017-02-14 11:10:47 -05:00
Sylvestre Ledru
345833852a
Bug 1338086 - Remove useless else blocks in order to reduce complexity accessible/atk r=davidb
...
MozReview-Commit-ID: 7ZVqMkXZ5vj
--HG--
extra : rebase_source : 03e1dc9285ce9096a2d84a6e64d22d71a5363dbb
2017-02-14 15:01:23 +01:00
Colomban Wendling
d8bb7d0fa3
Bug 1308908 - Compare the whole accessible name when checking equality. r=tbsaunde
...
Use strcmp() instead of strncmp() when comparing the AtkObject name
before changing it. 9133117f410c06ad7fa25323a168bc97200043b9 changed
from Equals() to strncmp() to prevent issues related to embedded NUL
bytes, but the change lead to only checking if the AtkObject name has
the new value as prefix. Instead, use strcmp() to check the whole
C strings, but still stopping at the first NUL byte in the new name.
strcmp() has to be safe here, as NS_ConvertUTF16toUTF8::get() has to
return a NUL-terminated string or the code would crash a few lines
below when calling strdup() on it.
2017-01-27 09:36:00 -05:00
Trevor Saunders
570037515c
bug 1339128 - reference parent proxy by id r=eeejay
2017-02-13 14:52:07 -05:00
Phil Ringnalda
04b7add1ce
Bug 1338034 - disable browser_caching_name.js on Windows debug for leaks
2017-02-11 20:08:23 -08:00