Commit Graph

481631 Commits

Author SHA1 Message Date
Julian Descottes
3aa417586a Bug 1267403 - HTMLTooltip: add useXulWrapper option when displayed in a XUL document;r=ochameau
The HTMLTooltip supports an additional configuration parameter "useXulWrapper".
When set to true, if the tooltip is displayed in a XUL document, a XUL panel
will be used as an additional container for the tooltip.

This allows the tooltip to be displayed anywhere on the screen and can be
useful when displayed in small toolboxes.

MozReview-Commit-ID: 63kv4vAeW5R

--HG--
extra : source : fc4d902ff01ee92a5b6742d44286e5feaaba1500
extra : intermediate-source : 126f43ff3be5505920946a77ad82401c6bbaebef
extra : histedit_source : 863888c014723f7e95742079395497ba1a30aa36%2C13ba9aaf80acb96c587739c767c20a8f0f6a9a5a
2016-07-06 14:50:44 +02:00
Dão Gottwald
a8cae36571 Bug 1249818 - Remove clip-path from background tabs. r=gijs 2016-07-06 12:24:04 +02:00
Jan Beich
06c382c7df Bug 1284167 - /proc is unreliable on non-Linux. r=milan
MozReview-Commit-ID: 1B9bxjuRj6k

--HG--
extra : transplant_source : %DF%D8J%3A%1DY%23%FDW%A9%FB%2A%7C%92%29%FC%3F%84-%03
2016-07-04 00:30:22 +00:00
Luke Chang
b5cb21ec6c Bug 1263104 - Ctrl+F in Storage Inspector should open search. r=mratcliffe 2016-07-05 20:21:00 +02:00
Sebastin Santy
a7c7bee82f Bug 1235062 - Set some highlighter CSS properties to initial values to avoid content CSS leaking; r=pbro 2016-07-05 02:16:00 +02:00
Marco Bonardo
949197fdb7 Bug 1283083 - Cloning a connection should re-attach databases to the clone. r=asuth
MozReview-Commit-ID: CSZqvJNWthB

--HG--
extra : rebase_source : 9213a9e73052e7d87cf12c64af2ad1a15496ace1
2016-06-29 17:33:15 +02:00
Marco Bonardo
3837320431 Bug 889561 - Reduce the size of places.sqlite by removing the url unique index from moz_places. r=adw
MozReview-Commit-ID: 2kxaXnUYIwT

--HG--
extra : rebase_source : bbcaf85a0346b5347fc94053b4f193e4b89f2995
2016-06-29 14:47:36 +02:00
James Long
2331b4c16c Bug 1273730 - remove pretty-print button if debugging workers because it doesn't work r=ejpbruel 2016-07-01 17:40:27 -04:00
Andi-Bogdan Postelnicu
f03cd9f1d5 Bug 1283060 - prevent null pointer dereference in logging::TreeInfo. r=surkov.alexander
MozReview-Commit-ID: KhNGsH8MRVz

--HG--
extra : rebase_source : 25dd42331cdff7c3fca75286350a87f0e536b43e
2016-06-29 14:06:31 +03:00
JW Wang
638885d3b8 Bug 1282658. Part 16 - remove checks for |mReader->IsWaiting{Audio,Video}Data()|. r=kaku
EnsureAudioDecodeTaskQueued() is called from several places where
mReader->IsWaitingAudioData() can be proven to be false:
1. OnAudioDecoded() - definitely false.
2. OnNotDecoded() - false because aReason is MediaDecoderReader::CANCELED.
3. OnSeekResolved() - false becuase we haven't requested any samples.
4. SetCallbacks() - false because AudioWaitCallback is resolved.

MozReview-Commit-ID: 8ppYIQQw0uK

--HG--
extra : rebase_source : 721ab44f6c23b87edfbe6d132fca9d85ca468368
2016-06-29 17:26:13 +08:00
Masayuki Nakano
0ce8b30a41 Bug 1224994 part.6 Don't clear TSFTextStore::mContentForTSF until active composition is committed r=m_kato
This patch stop clearing mContentForTSF at unlocking the document because we should keep it until active composition is committed.  If so, TSF/TIP won't be confused by content changes by JS.  So, this is important for a11y of TIP users in some complicated websites like GoogleDocs, Facebook, etc.

Note that this patch doesn't work well without following patches.  We need to stop notifying TSF of selection changes and text changed while mContentForTSF is valid.

MozReview-Commit-ID: 9QOGZxdYU3I

--HG--
extra : rebase_source : 19a6eeb2357825643497caf5a5298c55f08a0670
2016-06-29 18:24:10 +09:00
JW Wang
7cf8943c64 Bug 1282658. Part 15 - optimize checking of seek complete. r=kaku
We need to request another audio sample in OnAudioDecoded() only when
mDoneAudioSeeking is false which also applies OnVideoDecodd().
Therefore we remove calls to Ensure{Audio,Video}DecodeTaskQueued()
from CheckIfSeekComplete() to prevent requesting video samples inside
OnAudioDecoded() for they will be handled by OnVideoDecodd().

This also allows us to remove checking of mReader->IsRequesting{Audio,Video}Data()
from Ensure{Audio,Video}DecodeTaskQueued().

MozReview-Commit-ID: LpXjiacp0D9

--HG--
extra : rebase_source : 14d2b2de81ec386a50e26fd75ac2b1087d2950b5
2016-06-29 17:06:00 +08:00
JW Wang
721bcec40d Bug 1282658. Part 14 - remove mDrop{Audio,Video}UntilNextDiscontinuity for MediaData::mDiscontinuity is guaranteed to be true for the 1st sample after seeking. r=kaku
MozReview-Commit-ID: CttpYi6CV32

--HG--
extra : rebase_source : 2d64db28387026c832f14b405eeb06ee275f765c
2016-06-29 16:52:09 +08:00
Masayuki Nakano
c7b1162cd6 Bug 1224994 part.5 Implement TSFTextStore::IsComposingInContent() to check if the focused editor has composition r=m_kato
MozReview-Commit-ID: 2bmGeaxUpUU

--HG--
extra : rebase_source : 950febee0572bb8ff47b6640980a9e9a45211214
2016-06-29 17:39:59 +09:00
Masayuki Nakano
c67a1779d1 Bug 1224994 part.4 Rename the variable name which is for storing the result of TSFTextStore::ContentForTSFRef() to contentForTSF r=m_kato
MozReview-Commit-ID: 3wWMrpSWW6b

--HG--
extra : rebase_source : c359e70a3869a151fe4e1596677e8174222c1d88
2016-06-29 17:26:35 +09:00
Paul Adenot
f754b752be Bug 1273009 - Prune AudioParam events in the main thread when inserting new events. r=karlt
Running the test-case in the bug, and profiling under OSX using Instruments'
time profiler, the time spent in `AudioEventTimeline::ValidateEvent` was the
highest Web Audio API-related function. This patch makes it disappear from the
profile. We already use the same technique on the MSG thread to keep the number
of events low.

MozReview-Commit-ID: GJLPRWBh7nQ
2016-06-29 10:25:58 +02:00
Sebastian Hengst
a3da7f8985 Backed out changeset 37f1b9d6f522 (bug 1271650) for leaking debugger tests. r=backout 2016-07-05 17:13:58 +02:00
Sebastian Hengst
c3cbe74792 Backed out changeset 14212ea063c6 (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst
8228c7d140 Backed out changeset b93deff3205a (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst
bdd16e22ae Backed out changeset 8698c60d265d (bug 1271650) 2016-07-05 17:13:57 +02:00
Sebastian Hengst
29afa379ce Backed out changeset 359a15f3afea (bug 1271650) 2016-07-05 17:13:56 +02:00
Jan de Mooij
95d24f32ab Bug 1283855 part 22 - Make GetErrorTypeName take JSContext instead of JSRuntime. r=arai
--HG--
extra : rebase_source : b8fee2c303140257fdae29ea709a94a99fc6739d
2016-07-05 16:49:48 +02:00
Jan de Mooij
e4ae5f26da Bug 1283855 part 20 - Make more principals code take JSContext instead of JSRuntime. r=luke
--HG--
extra : rebase_source : ad5f2f5b5bef9d20e4e248898a3c754adb306683
2016-07-05 16:49:46 +02:00
Jan de Mooij
078a91ca56 Bug 1283855 part 19 - Make security callbacks take JSContext instead of JSRuntime. r=jorendorff
--HG--
extra : rebase_source : c106826540912b00550b2d6162dcae6e1fb616d4
2016-07-05 16:49:44 +02:00
Jan de Mooij
6c5b8f4c2e Bug 1283855 part 18 - Make JS_DropPrincipals take JSContext instead of JSRuntime. r=luke
--HG--
extra : rebase_source : 6f86a455c5ae2e0b306916a7121708a537a6105b
2016-07-05 16:49:41 +02:00
Jan de Mooij
ebc4aaed13 Bug 1283855 part 16 - Make source hook functions take JSContext instead of JSRuntime. r=mrrrgn
--HG--
extra : rebase_source : 8311b02e6facb3d3b08ead519c06dd8d3319ad0f
2016-07-05 16:49:39 +02:00
Nathan Froyd
2c2b9296bc Bug 1283616 - part 2 - micro-optimize inserting microtask runnables into the queue; r=khuey
We can save an AddRef/Release pair by passing in the reference to the queue.
2016-07-05 18:49:06 -04:00
Nathan Froyd
985851ccca Bug 1283616 - part 1 - micro-optimize removing microtask runnables from the queue; r=khuey
We can just extract the reference we want from the queue since we're
about to remove it; no sense in performing extra refcounting if we don't
need to.
2016-07-05 18:49:06 -04:00
Nathan Froyd
68e49f6d48 Bug 1283617 - remove QI call when constructing AsyncEventDispatchers from WidgetEvents; r=baku
The compiler can just as easily do this cast for us; we don't have to
rely on QI, and doing the conversion this way even saves an
AddRef/Release pair.
2016-07-05 18:49:06 -04:00
Michael Layzell
197e47c6a7 Bug 1279771 - Treat change events triggered by changing <select> element selections as user-initiated in e10s, r=enndeakin 2016-07-05 10:40:44 -04:00
Kartikaya Gupta
8296f93061 Bug 1283582 - Stop displaying the context menu in Fennec if web content did a preventDefault on the event. r=margaret
MozReview-Commit-ID: 4JQwXNfJxip
2016-07-05 10:09:38 -04:00
Carsten "Tomcat" Book
b8fa6c4b53 Merge mozilla-central to mozilla-inbound 2016-07-05 16:07:19 +02:00
Julian Hector
3ab8691db7 Bug 1284452 - Add sys_getrandom to seccomp whitelist. r=gcp
MozReview-Commit-ID: 8CW916cJsUZ
2016-07-05 13:51:57 +02:00
JerryShih
5135b01ace Bug 1276062 - obtain the group creation result from PushGroupForLayer(). r=bas 2016-07-04 20:14:00 +02:00
JerryShih
5f9e6f5771 Bug 1276062 - show a log if there is no device for DrawTargetD2D1::Init(). r=bas 2016-07-01 02:25:00 +02:00
Samael Wang
d38fc6b22a Bug 1282713 - Merge local/remote test cases of bug 1069772 and bug 1271240. r=smaug
--HG--
rename : dom/xul/test/file_bug1069772_local.xul => dom/xul/test/file_bug1069772.xul
rename : dom/xul/test/file_bug1271240_local.xul => dom/xul/test/file_bug1271240.xul
rename : dom/xul/test/test_bug1069772_local.xul => dom/xul/test/test_bug1069772.xul
rename : dom/xul/test/test_bug1271240_local.xul => dom/xul/test/test_bug1271240.xul
2016-07-05 14:39:16 +08:00
bechen
427f588be2 Bug 1280373 - Fix the label and language attribute in TextTrack object. r=rillian
MozReview-Commit-ID: 2NFJ5fCCkDy

--HG--
extra : transplant_source : s%94%C1%CB%B3%AF%1E%95%FEV%2C%CE%B9N%92xPv%FA%1D
2016-06-30 13:36:31 +08:00
Nicolas B. Pierron
5c9800f1b8 Bug 1264948 part 2 - Assert when we allocate new chunks using an infallible allocator. r=jonco,h4writer 2016-07-05 13:38:18 +00:00
Eddy Bruel
3de3fdc276 Bug 1271650 - Implement a C++ interface for DebuggerFrame.isGenerator;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel
435abc579f Bug 1271650 - Implement a C++ interface for DebuggerFrame.getEnvironment;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel
35c890aacd Bug 1271650 - Implement a C++ interface for DebuggerFrame.getIsConstructing;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel
b7c448001c Bug 1271650 - Implement a C++ interface for DebuggerFrame.getCallee;r=fitzgen 2016-07-05 15:06:10 +02:00
Eddy Bruel
4f99b0d819 Bug 1271650 - Implement a DebuggerFrame class;r=fitzgen 2016-07-05 15:06:10 +02:00
Jan de Mooij
4ca08a4466 Bug 1283855 part 15 - Make {Get,Set}DOMCallbacks, SetWindowProxyClass take JSContext instead of JSRuntime. r=h4writer 2016-07-05 14:35:28 +02:00
Jan de Mooij
fb15cb143c Bug 1283855 part 14 - Make more callback setters take JSContext instead of JSRuntime. r=shu 2016-07-05 14:35:26 +02:00
Jan de Mooij
3e6263744c Bug 1283855 part 13 - Make JS_SetNativeStackQuota take JSContext instead of JSRuntime. r=fitzgen 2016-07-05 14:35:23 +02:00
Jan de Mooij
c8334f438a Bug 1283855 part 12 - Make some GC APIs take JSContext instead of JSRuntime. r=sfink 2016-07-05 14:35:21 +02:00
Jan de Mooij
4ba1239131 Bug 1283855 part 11 - Make some GC callback APIs take JSContext instead of JSRuntime. r=terrence,mccr8 2016-07-05 14:35:19 +02:00
Jan de Mooij
185fef3784 Bug 1283855 part 10 - Make some GC callback APIs take JSContext instead of JSRuntime. r=jonco 2016-07-05 14:35:16 +02:00
Jon Coppeard
82ee97156b Bug 1283448 - Freeze module objects before they are passed back to the caller r=shu 2016-07-05 11:31:28 +01:00