Commit Graph

479799 Commits

Author SHA1 Message Date
Gerald Squelart
2c4f274202 Bug 1271483 - p1. Optionally treat media.wmf.disabled as WMF failure for Decoder Doctor - r=cpearce
This can be used to test Decoder Doctor on Windows, but disabling WMF through
prefs, to trigger an Decoder Doctor infobar.

MozReview-Commit-ID: 1aRk111VFO7
2016-05-24 01:33:37 +10:00
Seth Fowler
3983e48e1d Bug 1280712 - Remove redundant memset() of GIF frame data. r=edwin 2016-06-21 20:19:19 -07:00
Seth Fowler
82666db699 Bug 1249578 (Part 2) - Add a test that decoding ICOs with a size mismatch between the BIH header and the ICO directory entry fails. r=njn 2016-06-21 19:48:33 -07:00
Seth Fowler
1d5c203221 Bug 1249578 (Part 1) - Verify that the size in the BIH header matches the ICO directory entry instead of fixing it. r=njn 2016-06-21 19:48:31 -07:00
Edgar Chen
ab0bf30609 Bug 1275511 - Should not ignore entire <source-size-list> if something is invalid; r=heycam
MozReview-Commit-ID: 3YGpXm7dJMM

--HG--
extra : rebase_source : 7db80adb9ebbdcb156c613855289b37877aad90d
2016-04-12 11:49:50 -04:00
Masayuki Nakano
9b89c75f4d Bug 1280355 part.2 TextInputHandler should use LazyLogModule instead of PR_NewLogModule() r=m_kato
For making TextInputHandler MOZ_LOG* environment variables aware, TextInputHandler should use LazyLogModule.

MozReview-Commit-ID: 9La229BFaJ1

--HG--
extra : rebase_source : f18f689ea6522f3300c5411bcd9e49d4c31143e4
2016-06-16 17:14:34 +09:00
Masayuki Nakano
a39783f70c Bug 1280355 part.1 TISInputSourceWrapper::CurrentInputSource() should create the static instance when it's called r=m_kato
This is preparation. TISInputSourceWrapper is created before starting XPCOM, however, when its first instance is created, TextInputHandler.mm tries to log all keyboard layouts and IMEs which are installed into the system. This would be problem if it uses LazyLogModule because it's initialized at starting XPCOM.

MozReview-Commit-ID: DWz8TylL175

--HG--
extra : rebase_source : f377530f6325d6fcf8f90be5d6856972e9d312e5
2016-06-16 17:00:38 +09:00
Masayuki Nakano
d829b3effe Bug 1275528 part.5 TSFTextStore should use insertion point relative query for getting character rect and caret rect only while there is a composition r=m_kato
TSFTextStore should use insertion point relative query for getting character rect and caret rect while there is a composition because in such case, TSF must want to query a part of or around the composition.  Therefore, it makes sense to use insertion point relative query since it adjusts the offset with the latest content information.

MozReview-Commit-ID: IVjZ4zqFUkr

--HG--
extra : rebase_source : e535ffa2c7649f16ffe7f761a9ed01b061848aa7
2016-06-15 17:10:38 +09:00
Masayuki Nakano
b04303d171 Bug 1275528 part.4 IMMHandler should use insertion point relative query for getting character rect and caret rect r=m_kato
IMM always queries character rect or caret rect relative to insertion point.  Therefore, it makes sense to use the new feature, insertion point relative query content events for them.  Then, IMMHandler doesn't need to care mismatch between its cache and actual content information.

MozReview-Commit-ID: LCCrJkR77I8

--HG--
extra : rebase_source : c75f1b29e34e13df397de351909f07e2a95b6c5f
2016-06-15 13:52:03 +09:00
Masayuki Nakano
02e3dc2d1b Bug 1275528 part.3 Support selection relative WidgetQueryContentEvent in e10s mode r=m_kato
In e10s mode and during focus is in a remote process, ContentCache handles WidgetQueryContentEvent instead of ContentEventHandler.  Therefore, for supporting selection relative WidgetQueryContentEvent in e10s mode, we need to support it in ContentCache too.

MozReview-Commit-ID: L5d5ilmpetG

--HG--
extra : rebase_source : 46d646677ac0a5803398d18efbfd667bc3bf0c17
2016-06-14 20:54:54 +09:00
Masayuki Nakano
0cf2d4de5f Bug 1275528 part.2 IMEContentObserver should use selection cache for computing absolute offset of WidgetQueryContentEvent if it's possible r=smaug
IMEContentObserver may have cache of normal selection.  If it's available, IMEContentObserver should use it for computing absolute offset of WidgetQueryContentEvent whose mInput::mOffset is relative offset to selection.

This patch just improves the performance of such query.

MozReview-Commit-ID: KHLgCc2uQzs

--HG--
extra : rebase_source : 1367aee0aadb88258135690aa5a8591201129c27
2016-06-20 15:57:38 +09:00
Masayuki Nakano
60bb642e47 Bug 1275528 part.1 Support a way to query content relative to insertion point r=smaug
Native IME handler may want to query content relative to start of selection (or composition if there is it). Additionally, in e10s mode, insertion point in actual content may be different from the cache in parent.  Therefore, in some cases, it does make sense to query content with offset relative to start of selection or composition.

This patch implements it simply and only in non-e10s mode.

Additionally, this fixes a bug of nsQueryContentEventResult::GetOffset() which hasn't been accepted its calls even if the event message is valid (eQueryTextContent, eQueryTextRect and eQueryCaretRect).

MozReview-Commit-ID: 34I7vyTUAgO

--HG--
extra : rebase_source : d79ba0dc3e002f7691495ee1ff8bdb3854d8f6fe
2016-06-16 14:10:49 +09:00
Wes Kocher
7e180fa924 Backed out 2 changesets (bug 1249578) for build bustage
Backed out changeset caddb604d934 (bug 1249578)
Backed out changeset a2a645bf7ccf (bug 1249578)
2016-06-21 18:38:46 -07:00
Seth Fowler
20dbc568f3 Bug 1249578 (Part 2) - Add a test that decoding ICOs with a size mismatch between the BIH header and the ICO directory entry fails. r=njn 2016-06-21 18:06:30 -07:00
Seth Fowler
79d8677d76 Bug 1249578 (Part 1) - Verify that the size in the BIH header matches the ICO directory entry instead of fixing it. r=njn 2016-06-21 18:06:28 -07:00
Sotaro Ikeda
3014d6f1db Bug 1281104 - Rename CompositorBridgeParent::GetCompositor() r=nical 2016-06-21 17:58:55 -07:00
Christoph Kerschbaumer
19ac7d31c1 Bug 1274170 - Remove unnecessary includes of nsCorsListenerProxy. r=jkingston
--HG--
extra : rebase_source : 488864e497a7e6c127a98e05efd17d1d0580e000
2016-06-21 12:54:03 +02:00
Ryan VanderMeulen
4ed824d971 Bug 1274741 - Skip the Fetch nestedWorkerTest on Windows for causing frequent WinXP timeouts in other DOM mochitests. r=bkelly
--HG--
extra : rebase_source : a91083d320543e7beb4abaf57559850ed47dad66
2016-06-21 16:07:19 -04:00
Cameron McCormack
a80b00abf4 Bug 1281082 - Move static_assert in NS_DECL_THREADSAFE_FFI_REFCOUNTING to the IMPL. r=bholley 2016-06-22 09:57:43 +10:00
Cameron McCormack
fcd9433659 Bug 1280746 - Remove Gecko_HashAtom in favor of stylo poking at mHash directly. r=dholbert 2016-06-22 09:36:43 +10:00
Nathan Froyd
ddc458bf9e Bug 1281227 - clarify comments in PLDHashTable.cpp; r=njn
Comments for SearchTable and FindFreeEntry refer to parameters that no
longer exist, now that we do things with template arguments.  Let's fix
that.
2016-06-22 02:44:40 -04:00
Geoff Brown
afb761f3ec Bug 1280437 - Run Android 4.3 opt tests in taskcluster (tier 2); r=dustin 2016-06-21 16:42:50 -06:00
Geoff Brown
6c6e32554f Bug 1281187 - Do not use host plugins for Android xpcshell tests; r=kmoir 2016-06-21 16:42:48 -06:00
Blake Kaplan
70d89c7d92 Bug 1259517 - Make dropping images in editors work in e10s. r=baku 2016-06-21 15:17:37 -07:00
Wes Kocher
8e4ef7176d Backed out 8 changesets (bug 1268638) for build bustage CLOSED TREE
Backed out changeset 1a2db6efc575 (bug 1268638)
Backed out changeset ad38e0439b62 (bug 1268638)
Backed out changeset 0078605c6974 (bug 1268638)
Backed out changeset 8ed7ed6c57db (bug 1268638)
Backed out changeset 69116551e4b9 (bug 1268638)
Backed out changeset 002f87a61edf (bug 1268638)
Backed out changeset 8b0db9b0f87c (bug 1268638)
Backed out changeset 5d1285d0c221 (bug 1268638)
2016-06-21 14:53:22 -07:00
Maja Frydrychowicz
bb57c9c62d Bug 1281213 - Fix passing of app_args to gecko instance in Marionette client; r=automatedtester
MozReview-Commit-ID: EuLGjT2Vlfn

--HG--
extra : rebase_source : 133f440cc047afe6e2f09e8f7d6e272be0119990
2016-06-21 12:32:35 -04:00
Jeff Gilbert
fbc4cfa85b Bug 1268638 - Disable native GL for webgl1, but allow in webgl2. - r=jrmuizel
MozReview-Commit-ID: FZJcIGsKb62
2016-06-21 14:10:32 -07:00
Jeff Gilbert
e7a50dd7a3 Bug 1268638 - Use FailureReason struct. - r=jrmuizel
MozReview-Commit-ID: 4jxtXlToNZS
2016-06-21 14:10:32 -07:00
Jeff Gilbert
48fe5de54b Bug 1268638 - WGL without DXGLInterop2 is perf caveat. - r=jrmuizel
MozReview-Commit-ID: 9AkBtzzGj6l
2016-06-21 14:10:32 -07:00
Jeff Gilbert
c9454d8e90 Bug 1268638 - Enable DXGL by default. - r=jrmuizel
This will only run if they receive a WGL context, and we have a blocklist
entry for this. Since there isn't a reason right now to want WGL without
DXGL, we should tie these together.

MozReview-Commit-ID: ymtVT5dJIZ
2016-06-21 14:10:32 -07:00
Jeff Gilbert
c36a2ee161 Bug 1268638 - Add webgl.disable-wgl. - r=jrmuizel
MozReview-Commit-ID: BjtMv8RKKMH
2016-06-21 14:10:32 -07:00
Jeff Gilbert
10c3ea8f5a Bug 1268638 - Avoid using gfxPrefs in a widfely-included header. - r=jrmuizel
MozReview-Commit-ID: KUERI1IC4HK
2016-06-21 14:10:32 -07:00
Jeff Gilbert
9eb346bfe5 Bug 1268638 - Update WebGL creation to allow non-blacklisted native-gl. - r=jrmuizel
Also support accumulating a list of WebGL failure reasons.

MozReview-Commit-ID: I9p0BBrBJ5V
2016-06-21 14:10:32 -07:00
Jeff Gilbert
a5edaa87c8 Bug 1268638 - Add good driver versions to blocklist for webgl+native-gl. - r=jrmuizel
MozReview-Commit-ID: IAalsSiuTiL
2016-06-21 14:10:32 -07:00
Anjana Vakil
fccaf7b043 Bug 1276974 - Add tests for BaseMarionetteTestRunner.add_test; r=maja_zf
Test that paths to test modules, directories, and manifest files are
processed correctly by BaseMarionetteTestRunner.add_test.

Individual test modules should be added
even if they have invalid test names.
If a directory path is provided, all validly-named
test modules discovered by walking the dir should be added.
Manifest files should be parsed and tests added/skipped accordingly.

MozReview-Commit-ID: 2GJFEGGcEW2

--HG--
extra : rebase_source : 44c752f1025be715b44833ced08cc315c5becaa6
2016-06-08 20:11:16 +02:00
Jeff Gilbert
41c6dce417 Bug 1279657 - Fix missed callsites. - r=jrmuizel
MozReview-Commit-ID: 8RY2D5OTnZ5
2016-06-21 14:04:00 -07:00
Jeff Gilbert
fe7590ad04 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-21 14:04:00 -07:00
Jeff Gilbert
f24d3f8f8b Bug 1279657 - Star to left against type. - r=jrmuizel
MozReview-Commit-ID: IAuzZp4qcRX
2016-06-21 14:04:00 -07:00
Jeff Gilbert
acda27dffc Bug 1279657 - Reference declarations should have the & against the type. - r=jrmuizel
MozReview-Commit-ID: 7RAd0TUJHfB
2016-06-21 14:04:00 -07:00
Nathan Froyd
93107fb765 Bug 1281207 - delete unneeded contract and CIDs for nsTraceRefcnt; r=erahm
Nothing references these, so we might as well delete them.
2016-06-22 01:00:03 -04:00
Jeff Gilbert
446b37421d Bug 1280383 - Fix EOL whitespace.
MozReview-Commit-ID: KAkt2BcsSS9
2016-06-21 13:50:19 -07:00
George Wright
4d8fda4c00 Bug 1280383 - Enable separate content processes via envvar, for developer use. - r=ted
MozReview-Commit-ID: DtIXOffbl10
2016-06-21 13:50:19 -07:00
Rob Thijssen
bcf63bc7d0 Bug 1280476 - Split TC legacy test config (docker/windows). r=pmoore
MozReview-Commit-ID: 5MDsyN3BIqw

--HG--
rename : taskcluster/ci/legacy/tasks/tests/fx_desktop_generic.yml => taskcluster/ci/legacy/tasks/tests/fx_docker_desktop_generic.yml
rename : taskcluster/ci/legacy/tasks/tests/fx_test_base.yml => taskcluster/ci/legacy/tasks/tests/fx_docker_test_base.yml
extra : rebase_source : 473061ec13e160740ff723c2eff7e33a5528ac06
2016-06-21 16:13:23 +01:00
Ryan VanderMeulen
8cf838c33b Bug 1268756 - Disable browser_save_link-perwindowpb.js on Windows debug e10s and re-enable all the other tests in browser/base/content/test/general. r=Enn
--HG--
extra : rebase_source : 086a690598cf0a6b69bf4974daaccce331e43946
2016-06-21 12:25:46 -04:00
Jeff Gilbert
6d26b79b7b Bug 1278403 - Clarify crash message in case anyone unfamiliar runs into this. - r=jrmuizel
MozReview-Commit-ID: KfLv9fpZyvE
2016-06-21 13:47:30 -07:00
Jeff Gilbert
a39cd8652e Bug 1278403 - Disable tests on DEBUG with suspected spurious-error-reporting drivers. - r=jrmuizel
MozReview-Commit-ID: IMgEqzPvGTm
2016-06-21 13:47:30 -07:00
Jeff Gilbert
e5e302f155 Bug 1278403 - Mark now-too-slow tests. - r=jrmuizel
MozReview-Commit-ID: JaQMnybfpQ0
2016-06-21 13:47:30 -07:00
Jeff Gilbert
3951dd65d8 Bug 1278403 - WebGL doesn't need validation. - r=jrmuizel
We do all validation in our WebGL layer, we only really generate GL_OOM
from the driver, no other errors.

This is opposed to SkiaGL, which may or may not rely on errors returned
from the driver. This is why I am not just turning on ABORT_ON_ERROR for
all GLContexts.

(Also, later, we should be creating no-error contexts on non-DEBUG builds,
so the driver doesn't replicate our validation. ANGLE already supports
this)

MozReview-Commit-ID: A4RSgzUXfHA
2016-06-21 13:47:30 -07:00
Jeff Gilbert
87e8222d4d Bug 1278403 - Misc code cleanup. - r=jrmuizel
MozReview-Commit-ID: 3ccHiLQM6lm
2016-06-21 13:47:30 -07:00
Jeff Gilbert
6b0581243f Bug 1278403 - Choose GLContext::DebugFlags based on ContextCreateFlags. - r=jrmuizel
MozReview-Commit-ID: KSjIhu8I20C
2016-06-21 13:47:30 -07:00