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

65898 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari 99253c02a4 Bug 1386471 - Don't remove all ranges before calling SetText(); r=masayuki 2017-08-02 19:58:06 -04:00
Junior Hsu f5763f3363 Bug 1384506 - Disable rcwn in test_urgent_start.html. r=tt 2017-08-01 19:55:00 -04:00
Honza Bambas ad5889f413 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
--HG--
extra : source : 548ed79f2337ba14e61519958f145e2f22078276
extra : amend_source : ed7dcf32e55ad3feb93b57590583d2c3d0781fdd
2017-08-01 21:21:09 +02:00
Tim Taubert 26a7909744 Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-08-02 19:08:04 +02:00
Jim Mathies 37050ac3cc Bug 1360666 - Update IME state when nsObjectLoadingContent content changes type from 'loading' to a valid content type. r=masayuki
MozReview-Commit-ID: 2cjJ5SvJsTa
2017-08-02 15:31:55 -05:00
Daniel Holbert 1607723a71 Bug 1384561: Null-check pointer before deleting it (rather than after), in SVG ClearPreserveAspectRatioProperty() function. r=jwatt
In practice, this shouldn't make a difference -- but C++ allows compilers to
make pointer-usage-after-delete trigger a runtime fault.

MozReview-Commit-ID: J1tZ3TxXR80

--HG--
extra : rebase_source : 046407c3c034b85a5b5d41e4c1a87e4a79c6833e
2017-07-26 18:03:43 -07:00
Masatoshi Kimura f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Paul Adenot 757aef5fa0 Bug 1385305 - Change `CanBeCaptured` and friends so that they use explicit and self-explaining constants. r=jya
MozReview-Commit-ID: Hpuxlc8Ib5j

--HG--
extra : rebase_source : 3a15d350b8d296f3d6c3fb3419938cdcc01526c2
2017-07-28 17:53:12 +02:00
Phil Ringnalda 91ca7a8cc8 Backed out changeset 548ed79f2337 (bug 1053321) for strange and terribly-reported failures in Android opt mochitest-15 and debug mochitest-36
CLOSED TREE

MozReview-Commit-ID: IigWQ1wnxhZ
2017-08-01 23:13:42 -07:00
Nicholas Nethercote a6f655a6c9 Bug 1382955 (part 2) - Remove nsIPowerManagerService::{powerOff,reboot,restart} and related things. r=gsvelto. 2017-08-02 10:09:26 +10:00
Nicholas Nethercote f5c5231809 Bug 1382955 (part 1) - Remove MozPowerManager and related things. r=bz,gsvelto.
This includes the FactoryReset stuff.
2017-08-02 10:04:36 +10:00
Kris Maglione 3a6f096a97 Bug 1380294: Anchor non-tab tooltips to the correct remote browser. r=aswan
MozReview-Commit-ID: EsJEseyfGYi

--HG--
extra : rebase_source : 3b1adbb8d977fd4dfd18c90b335010d4acb80a76
2017-08-01 15:01:06 -07:00
Wes Kocher 5f641b641b Backed out changeset 385dd315c9ca (bug 1385818) for failures in test_popup_blocker_chrome.xul a=backout
MozReview-Commit-ID: 8voTYwwVoIm
2017-08-01 16:39:59 -07:00
Ting-Yu Lin 03f7131602 Bug 1381851 - Update comments for nsXBLPrototypeResources::ComputeServoStyleSet(). r=heycam
MozReview-Commit-ID: E1Ols3kfEKU

--HG--
extra : rebase_source : f656741996d01121a47e46683b64812d43196f77
2017-07-28 16:33:22 +08:00
Ryan VanderMeulen a71faeb0c0 Merge m-c to inbound. a=merge 2017-08-04 15:34:28 -04:00
Sebastian Hengst d9f6b67320 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-04 19:32:45 +02:00
Ryan Hunt ccfa40939c Bug 1385071 - Don't do the default action for key inputs that are handled by APZ. r=masayuki
Before if a key input was handled with APZ we wouldn't dispatch it to content,
because it was guaranteed there wouldn't be any key listeners. Now we are
allowing passive key listeners behind a pref, and so we will sometimes handle
a key input in APZ and dispatch it to content. When this happens, XBL shouldn't
do the default action, otherwise we would double scroll.

MozReview-Commit-ID: 2zfszQ3itkp

--HG--
extra : rebase_source : 724b110fd55c5935df589f1cbcc0b3380028a1ed
2017-07-30 13:08:17 -04:00
Ryan Hunt c38e071dbe Bug 1385071 - Add another method to EventTarget for detecting only non-passive key listeners. r=smaug
This is for adding a pref that will allow web content to have key listeners
and use keyboard APZ, if they are marked passive. This commit also reworks
the function names and comments to make them more accurate.

MozReview-Commit-ID: LGDaVQOK1CS

--HG--
extra : rebase_source : a6bb4b7fff3488dea62b9114aa164814c74561a4
2017-07-27 19:46:44 -04:00
Paolo Amadini a0fc00495b Bug 1381411 - Implement the DownloadHistoryList object. r=mak
This also changes the Library window to use the newly added back-end object. The only user-visible change should be how the selection behaves when retrying downloads.

MozReview-Commit-ID: 7CQr1m21rcB

--HG--
extra : rebase_source : e36faf63dadeba0c897b769cb7e14a2d01d0f628
extra : amend_source : 2c7a88b6e3d6de50b37c34a5579b3ab6fb0c10dd
2017-08-04 14:48:53 +01:00
Botond Ballo 61926bc8e4 Bug 1386777 - Interpret autoscroll anchor coordinates correctly when there is a device scale. r=kats
MozReview-Commit-ID: 6caXxWjuqxm

--HG--
extra : rebase_source : 4052dd05a4c05cc8fc4effe0f7911179aa8005d0
2017-08-02 20:11:07 -04:00
Thomas Wisniewski e530ba4d43 Bug 1355576 - Add ability to clear all localStorage with the browsingData API; r=bsilverberg,janv
MozReview-Commit-ID: 4UUqg62yIo9

--HG--
extra : rebase_source : 9c6154bbe878fc3921d22027fdc90dbdaed05be9
2017-07-04 20:59:26 -04:00
Chun-Min Chang 080eae8651 Bug 1387058 - part2: Early return in AudioNotificationReceiver::NotifyDefaultDeviceChanged if there is no AudioStream; r=jwwang
MozReview-Commit-ID: HLByqFWqCdn

--HG--
extra : rebase_source : 47d5c95dd9ce8fb801ed935919fff50e47967c5d
2017-08-04 15:01:39 +08:00
Chun-Min Chang bb2563e5f9 Bug 1387058 - part1: Clear the static pointer when no more AudioStreams; r=jwwang
--HG--
extra : rebase_source : 24afc6aa73cdba9340d9678ea45a9aa9265daa75
2017-08-04 14:20:48 +08:00
Masatoshi Kimura 90da924fda Bug 1375123 - Remove nsIDOMWindowInternal. r=Ehsan
MozReview-Commit-ID: 2jjGFsxsLTz

--HG--
extra : rebase_source : 5cb538ff53369cb724b0d336de1e74dd8a7d35c1
2017-08-03 20:33:51 +09:00
Masatoshi Kimura 866d87ee67 Bug 1361579 - Remove nsISimpleContentPolicy. r=Ehsan
MozReview-Commit-ID: BsjkGpTpe8I

--HG--
extra : rebase_source : 640807623fc70797932a0ee592b887d5c134b5f9
2017-08-03 17:50:00 +09:00
Masatoshi Kimura 49662ba6d1 Bug 1202362 - Remove nsISaveAsCharset & nsSaveAsCharset. r=hsivonen
MozReview-Commit-ID: KbepWLdKQ5E

--HG--
extra : rebase_source : 56d97edbaf933dc981c21ca09a49661fa3a347ef
2017-08-03 16:16:32 +09:00
Sebastian Hengst 5e6e6641de Backed out changeset 5dd6f04aea59 (bug 1383780) for failing crashtests on stylo. r=backout on a CLOSED TREE 2017-08-02 13:27:08 +02:00
Phil Ringnalda 03b095bc52 Merge m-c to autoland
MozReview-Commit-ID: 6E2BzzGcEDx
2017-08-01 23:19:54 -07:00
Phil Ringnalda c5ab89e934 Backed out changeset 548ed79f2337 (bug 1053321) for strange and terribly-reported failures in Android opt mochitest-15 and debug mochitest-36
CLOSED TREE

MozReview-Commit-ID: IigWQ1wnxhZ

--HG--
extra : source : 70bd3854b6d034b67419ba11044b6cbe82b713bc
2017-08-01 23:13:42 -07:00
Xidorn Quan 61c08a894b Bug 1383780 - Null-check return value of SVGUseElement::GetContentURLData before returning. r=bz
MozReview-Commit-ID: 19X22AVQ4Gg

--HG--
extra : rebase_source : 35ed42fc87eea22fa62f90e997ea90ad41e7f9ea
2017-08-02 12:07:58 +10:00
Wes Kocher 8df4a18d1a Backed out changeset 385dd315c9ca (bug 1385818) for failures in test_popup_blocker_chrome.xul a=backout
MozReview-Commit-ID: 8voTYwwVoIm

--HG--
extra : source : 40a251b511b32f5938a42f92caf4947494025b7b
2017-08-01 16:39:59 -07:00
Wes Kocher 5c9399ceab Merge m-c to inbound, a=merge
MozReview-Commit-ID: 2tRGdPKIBj4
2017-08-01 13:17:43 -07:00
Wes Kocher 0688b1b95d Merge inbound to central, a=merge
MozReview-Commit-ID: 6SriUFkS6u7
2017-08-01 13:17:21 -07:00
Honza Bambas f33b5cb515 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly
--HG--
extra : histedit_source : 1743f499ca20d75df7e957fab1c942c4f4e22df8
2017-08-01 21:21:09 +02:00
Ryan VanderMeulen 1b497ab253 Backed out changeset 20344f0dbff9 (bug 1053321) for ESLint failures. 2017-08-01 16:14:01 -04:00
Christoph Kerschbaumer 7cc8a29254 Bug 1385818 - Convert dom/tests/mochitest/chrome/test_popup_blocker_chrome.xul to comply with new data: URI inheritance model. r=smaug 2017-08-01 15:57:47 +02:00
Honza Bambas d8659dd692 Bug 1053321 - Correctly pass info about 'defer' and 'async' attributes to HTML5 parser invoked script preload. r=bkelly 2017-08-01 12:43:00 -04:00
Dragana Damjanovic 12f55eee14 Bug 1379631 - Turn off OMT delivery for FetchDriver until bug 1380255 lands. The fix for this bug makes some test fail because of FetchDriver. r=mayhemer
--HG--
extra : rebase_source : f8e24ea564d5783d0ab44832423aac61bbe39354
2017-08-01 15:05:51 -04:00
Ehsan Akhgari 22aa56b6cd Bug 1386222 - Ensure that we always respect the undo/redo transaction history when modifying the <xul:textbox>.value dynamically through script; r=bzbarsky 2017-08-01 13:59:45 -04:00
Sebastian Hengst c3bdf442b0 Backed out changeset e62c93a8c93b (bug 1373672) for bustage at nsSessionStoreUtils.cpp:21: bad implicit conversion constructor for 'DynamicFrameEventFilter, and e.g. eslint failures. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 7ae39f6dca050173fd0c1103d309b7a9a175a377
2017-08-01 12:39:21 +02:00
Tim Taubert 36e075eddf Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-07-21 14:57:30 +02:00
Sebastian Hengst 9975089d4d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-01 11:26:31 +02:00
Sebastian Hengst ddd4030358 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IrMqWiJhwan
2017-08-01 11:23:57 +02:00
Jan de Mooij bbe72b0768 Backed out changeset 78859e22ce17 (bug 1384513) for perf regressions.
--HG--
extra : rebase_source : fd6063fc8c2f0b9677e5dee4fbbe1c85c210dd7c
2017-08-01 10:41:43 +02:00
Christoph Kerschbaumer 653d6f7ced Bug 1385273 - Convert tests within dom/tests/mochitest/chrome to comply with new data: URI inheritance model. r=smaug 2017-08-01 10:59:57 +02:00
Ehsan Akhgari 35184e2a47 Bug 1384658 - Correctly account for openers that are the same as the parent window; r=qdot 2017-08-01 00:42:51 -04:00
Nicholas Nethercote 73558eac3d Bug 1384834 (part 2) - Remove remaining uses of nsAdoptingCString. r=erahm.
--HG--
extra : rebase_source : 70a385a0a06bc88e728d51459e7460a68f15f7fb
2017-07-28 11:21:47 +10:00
Nicholas Nethercote d18fdecf67 Bug 1384834 (part 1) - Remove remaining uses of nsAdoptingString. r=erahm.
--HG--
extra : rebase_source : c81ee11b9d08198a000979760a8e29a01e9498d0
2017-07-28 11:21:45 +10:00
Wes Kocher 3c2dc39278 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BgPWEtPV0sy
2017-07-31 17:49:47 -07:00
Wes Kocher 179a07b6ba Merge inbound to central, a=merge
MozReview-Commit-ID: Dg4fbH8wbXt
2017-07-31 17:43:38 -07:00
Wes Kocher 5a5dbb3b02 Backed out changeset d0c8e848fdd2 (bug 1374183) for frequent reftest failures in street.mp4.seek.html a=backout
MozReview-Commit-ID: 9UqeDP2Eomv

--HG--
extra : rebase_source : 038adc909cf1492b3880e7b206ec8f3eed59c35b
2017-07-31 14:41:49 -07:00
Ehsan Akhgari 1052f3e0f4 Bug 1385521 - Inline the check for common argument in the callers of GetCommonAncestorInternal(); r=baku 2017-07-31 11:29:08 -04:00
Wes Kocher b11975d1ad Merge m-c to autoland, a=merge
MozReview-Commit-ID: L5cEw8jWPNI
2017-07-31 17:53:14 -07:00
Wes Kocher 6996218c86 Merge m-c to autoland, a=merge
MozReview-Commit-ID: LFuPHJf6OyA
2017-08-01 18:09:08 -07:00
Gerald Squelart 63070aab2f Bug 1384243 - Sanitize offset inputs in MediaResourceIndex - r=cpearce
Also check that the offset doesn't overflow during reads.

MozReview-Commit-ID: DT5neeZuMZu

--HG--
extra : rebase_source : 1f0de82916ebf770a0ea2570161d607216232dfa
2017-08-01 14:07:55 +12:00
Botond Ballo e54b8b4984 Bug 1105109 - Have the parent process notify APZ of the start and stop of autoscrolling. r=kats
The messages are routed through nsITabParent, nsIWidget, and IAPZCTreeManager
(the latter possibly remoted via PAPZCTreeManager if out-of-process compositing
is used).

MozReview-Commit-ID: 1zXzLa1fqpG

--HG--
extra : rebase_source : c482816ecbaec0a889d817851ee15be186b2a49c
2017-07-26 19:33:02 -04:00
Paul Adenot de32f92b5b Bug 1384835 - Fix the build for a single remaining callsite that was landed on autoland. irc-r=marco
MozReview-Commit-ID: EbEsahXIwY3

--HG--
extra : rebase_source : 2f0504211ccd2d16f8b44cd769be3857a77ee682
2017-07-31 12:13:28 +02:00
Sebastian Hengst 915c63c332 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-31 11:28:37 +02:00
Nicholas Nethercote 72c884bf74 Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
--HG--
extra : rebase_source : d317b25be2ec21d1a60d25da3689e46cdce0b649
2017-07-31 14:28:48 +10:00
Nicholas Nethercote d4f9aa5530 Bug 1384835 (part 2, attempt 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
--HG--
extra : rebase_source : 6c24fbacb03d4adebe5f22b5e7fc60b069913f20
2017-07-31 14:23:50 +10:00
James Cheng 7236b09a4d Bug 1384578 - Adjust the calling sequence to avoid app crash by race condition. r=jolin
MozReview-Commit-ID: JKtfNYTTCjp

--HG--
extra : rebase_source : 526f6dd42de7170fd7baf49817e6c721245314fb
2017-07-31 11:23:29 +08:00
Nicholas Nethercote 581214bd8b Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
--HG--
extra : rebase_source : fe566945a55c281d8290634a5b55bed19415c839
2017-07-31 10:52:51 +10:00
Sebastian Hengst 9901cfb056 Backed out changeset 46d1fa12a082 (bug 1383367) for failing browser_windowopen_reflows.js after merge, especially on OS X. r=backout a=backout
MozReview-Commit-ID: B4wxvVgTP1Q
2017-07-30 14:08:38 +02:00
Sebastian Hengst bbe32b6bed merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Jessica Jong 231ed0b800 Bug 1376695 - Check HasName() before CanHaveName(). r=ehsan
We should check HasName() first because HasName() should be cheaper and would
typically be false.

MozReview-Commit-ID: 8l7WQR7Lcxj

--HG--
extra : amend_source : 2ea6f2bb230367c5f4d5ec0b02a2436372c937c2
2017-07-29 11:56:53 -04:00
Till Schneidereit 847290985c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-29 16:47:26 +02:00
Till Schneidereit ab76cf2fd7 Bug 1272697 - Part 2: Add runtime pref to enable streams. r=jonco,baku
MozReview-Commit-ID: FJMAxbtD3Uy
2017-07-29 16:47:12 +02:00
JW Wang 3c5c5d8ae0 Bug 1385751 - suppress the annoying warnings of flaky timeouts in media tests. r=gerald
MozReview-Commit-ID: dVGqVaITma

--HG--
extra : rebase_source : 4c388a7e1f75fca9c1a35a00d376bf0473a33cbc
2017-07-31 10:35:47 +08:00
JW Wang ca1f6bc7b4 Bug 1385748. P3 - MediaDecoder::mNextState doesn't need to be a canonical for it has no mirrors. r=kaku
MozReview-Commit-ID: HiiPcKK08az

--HG--
extra : rebase_source : 12db8d11fda2c07401d5ba4b7d4f6f946cc9fb5b
2017-07-31 10:21:43 +08:00
JW Wang 2bd8e28bd6 Bug 1385748. P2 - remove MDSM::mNextPlayState. r=kaku
Following P1, mNextPlayState is no longer used.

MozReview-Commit-ID: 5ABEYMQ5G9l

--HG--
extra : rebase_source : f4cfb050ae19625bc8f6e54f33bb4f0f4e53d059
2017-07-31 10:17:36 +08:00
JW Wang 3bb4ecdddc Bug 1385748. P1 - remove MDSM::IsLogicallyPlaying() which has no callers at all. r=kaku
MozReview-Commit-ID: IfpzTMVtgf6

--HG--
extra : rebase_source : 3a70298f2175cba32dbc47ce4c7d087bff944d44
2017-07-31 10:15:47 +08:00
Kyle Machulis 2533883d04 Bug 1279218 - Rename HTMLSharedObjectElement to HTMLEmbedElement; r=bz
MozReview-Commit-ID: KkvRkFXAX30

--HG--
rename : dom/html/HTMLSharedObjectElement.cpp => dom/html/HTMLEmbedElement.cpp
rename : dom/html/HTMLSharedObjectElement.h => dom/html/HTMLEmbedElement.h
extra : rebase_source : 460c2a018e2a737b6397e8306127d73bc017d8da
2017-07-28 21:35:43 -07:00
Kyle Machulis d812ac4e87 Bug 1279218 - Additional applet tag logic removal; r=bz
I've been having problems with interdiffs on mozreview lately, so for
ease of review, this patch is being submitted as a seperate patch for
review. Once it is r+'d, it will be folded into the first patch in
this set before landing.

MozReview-Commit-ID: CS9MngaXlBd

--HG--
extra : rebase_source : 6a86fd4f7a66e73497a756976a2562d183002a2a
2017-07-28 16:44:39 -07:00
Kyle Machulis d33a528823 Bug 1279218 - Remove Java Test Plugin and rest of Java references; r=bsmedberg
MozReview-Commit-ID: IzqYDED7Tui

--HG--
extra : rebase_source : 3cae79b61f5d30ae8ea99b96844248f9b4eefac4
2017-07-17 16:45:48 -07:00
Kyle Machulis ef8d138ba7 Bug 1279218 - Remove tests related to the applet tag; r=bz
MozReview-Commit-ID: FzzA5Qic4Uq

--HG--
extra : rebase_source : 64206ee3e5073bafd822b23040fe6e24dda3463f
2017-07-10 16:15:16 -07:00
Kyle Machulis 272a68d725 Bug 1279218 - Remove Applet element support from WebBrowserPersist; r=jld
MozReview-Commit-ID: AH9GueLpxyN

--HG--
extra : rebase_source : 4523a43e76646490d34eabac589dd33ef0397da0
2017-07-10 16:07:20 -07:00
Kyle Machulis 7eb9927ed4 Bug 1279218 - Remove Applet/Java support from nsObjectLoadingContent; r=bsmedberg,bz
MozReview-Commit-ID: AY6lYwS6NEU

--HG--
extra : rebase_source : deb4a6861a5d5e72e0ab18c64e5e1125d4bc4f05
2017-07-27 19:21:18 -07:00
Kyle Machulis ffa9be1bed Bug 1279218 - Remove Applet tag; r=bz
Removes applet tag interfaces, and changes HTML5 parser to output
HTMLUnknownElement when tag is found. Removes tag process from various
places in the browser.

MozReview-Commit-ID: 2zHhK2U2esX

--HG--
extra : rebase_source : d06ecaffd1cb656301e29b900bafde4c68a4606e
2017-07-10 16:00:30 -07:00
Munro Mengjue Chiang d92f208dba Bug 1364038 - Call SourceListener::StopTrack when the coresponding external device is disconnected. r=jib
MozReview-Commit-ID: EfpmXBJf7PP

--HG--
extra : rebase_source : b79b7969c6693ba980c5135784ddb1753e711ec4
2017-07-27 16:51:24 +08:00
Sylvestre Ledru edbf1ad0a8 Bug 1385701 - Add a missing comma in validBoxes r=jya
MozReview-Commit-ID: 47dldBVVvBo

--HG--
extra : rebase_source : d8785799ebc42b077b709803d8e4037562d791b5
2017-07-30 15:06:05 +02:00
Xidorn Quan 5e0dccf638 Bug 1382568 followup - Fix build bustage.
MozReview-Commit-ID: 4GLzEe9wWqz
2017-07-30 15:11:53 +10:00
Emilio Cobos Álvarez 7a703d0964 Bug 1382568: Use the flattened tree instead of the DOM tree in IsOrHasAncestorWithDisplayNone. r=heycam
MozReview-Commit-ID: 334fnSSHN7Z

--HG--
extra : rebase_source : a85166c270b8444866c2fd83a136512f53e6d9dc
2017-07-30 04:14:32 +02:00
Emilio Cobos Álvarez b928426a05 Bug 1382568: Use range-based for loop instead of array indexing in IsOrHasAncestorWithDisplayNone. r=heycam
MozReview-Commit-ID: H8Gbh523eoO

--HG--
extra : rebase_source : 554a01af9b44086456c55f5d37ef2662ac11c497
2017-07-30 04:13:48 +02:00
Emilio Cobos Álvarez cd2bc8f94c Bug 1382568: Use AutoTArray in IsOrHasAncestorWithDisplayNone. r=heycam
MozReview-Commit-ID: EiRJOPFWEiN

--HG--
extra : rebase_source : a3860c16b89ef67bf8e1b34d979ba97740c4ab01
2017-07-30 04:12:34 +02:00
Kaku Kuo 2c2253d77b Bug 1383653 P1 - add debug messages for understanding the status of suspending video decoder; r=jwwang
MozReview-Commit-ID: 2pI6XRQQgbG

--HG--
extra : rebase_source : 68a11362750227812602c07dbcfb7685eb7eb438
2017-07-24 13:21:35 +08:00
Daosheng Mu 96e02d5de5 Bug 1306156 - Add telemetry for watching MAU and time spent of WebVR users; r=kip
MozReview-Commit-ID: 6v3F6aGdNK7

--HG--
extra : rebase_source : 6fc6a8accb1cc48968f3e1a09dc76de4b508afc7
2017-07-28 18:42:11 +08:00
Wes Kocher 40c3480d89 Merge inbound to central, a=merge
MozReview-Commit-ID: JNxfwQh0cac

--HG--
rename : gfx/layers/wr/WebRenderCompositableHolder.h => gfx/layers/wr/AsyncImagePipelineManager.h
2017-07-28 17:40:43 -07:00
Sebastian Hengst 6389867b7c Backed out changeset 1d87b1dc4ce2 (bug 1272697) for failing mochitest test_interfaces.html for 'ByteLengthQueuingStrategy' and wpts, e.g. general.dedicatedworker.html. r=backout on a CLOSED TREE 2017-07-28 20:20:50 +02:00
Sebastian Hengst 2a076b4002 Backed out changeset 862ba8683d19 (bug 1272697) 2017-07-28 20:18:28 +02:00
Christoph Kerschbaumer d7cb1595c0 Bug 1385223 - Convert tests within dom/plugins/test/mochitest/ to comply with new data: URI inheritance model. r=bsmedberg 2017-07-28 11:35:46 +02:00
Andreas Farre 8378e81e6d Bug 1385238 - Reset execution budget when background state changes. r=bkelly 2017-07-28 09:31:00 -04:00
Till Schneidereit 8b46f09d1c Bug 1272697 - Part 3: Implement ReadableStream and associated classes in the JS engine. r=shu
MozReview-Commit-ID: E4uux96ed2m
2017-07-28 17:48:14 +02:00
Till Schneidereit dec687b07c Bug 1272697 - Part 2: Add runtime pref to enable streams. r=baku,jonco
MozReview-Commit-ID: 5OSxbcd3jQB
2017-07-28 17:48:12 +02:00
Tim Taubert 9dfa878543 Bug 1385313 - Use MozPromiseRequestHolders in U2FTokenManager r=jcj 2017-07-28 17:11:03 +02:00
Tim Taubert 0aee684c17 Bug 1385274 - Don't try to resolve WebAuthnManager::mPBackgroundCreationPromise twice r=jcj 2017-07-28 15:53:42 +02:00
Paul Adenot 7f1c17c634 Bug 1384247 - Check if an HTMLMediaElement can be capture before doing it. r=dminor
MozReview-Commit-ID: EWpf2qA2Yce

--HG--
extra : rebase_source : fd990877481c6f3977e2dc0ec615c0282d30123d
2017-07-27 16:02:28 +02:00
Carsten "Tomcat" Book 139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Carsten "Tomcat" Book 892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Nicolas B. Pierron 7a08464871 Bug 900784 - Tune the bytecode cache heuristic based on telemetry results. r=mrbkap 2017-07-28 13:06:48 +00:00
Sebastian Hengst d7527a414d Backed out changeset 07b534f44740 (bug 1384835) for failing xpcshell's security/manager/ssl/tests/unit/test_cert_sha1.js checkCertErrorGenericAtTime on Linux x64 debug. r=backout 2017-07-28 10:30:29 +02:00
Sebastian Hengst 1d708511f0 Backed out changeset 5df4d8778602 (bug 1384835) 2017-07-28 10:29:29 +02:00
Sebastian Hengst 744a0a216b Backed out changeset ef5feef07bed (bug 1384835) 2017-07-28 10:29:24 +02:00
Sebastian Hengst 9077ac8886 Backed out changeset a57d8f30d1bf (bug 1383982) for build bustage at nsGlobalWindow.cpp:13826: 'class nsWindowSizes' has no member named 'mMallocSizeOf'. r=backout 2017-07-28 09:50:48 +02:00
Carsten "Tomcat" Book 28bdd40776 Merge mozilla-central to mozilla-inbound 2017-07-28 09:48:24 +02:00
Carsten "Tomcat" Book dc05a1ce7b Backed out changeset 6679237a4672 (bug 1383367) for conflicting with m-c to m-i merge 2017-07-28 09:45:42 +02:00
Carsten "Tomcat" Book de369deb98 Backed out changeset 284af26c1b53 (bug 1351148) 2017-07-28 09:20:27 +02:00
Carsten "Tomcat" Book 6ddad46b40 Backed out changeset 1662b38e3107 (bug 1351148) 2017-07-28 09:20:23 +02:00
Carsten "Tomcat" Book 2ff6df9177 Backed out changeset 5198322f7a62 (bug 1351148) 2017-07-28 09:20:20 +02:00
Carsten "Tomcat" Book a2613ce071 Backed out changeset 4e29b5422902 (bug 1351148) 2017-07-28 09:20:17 +02:00
Carsten "Tomcat" Book ce5804abb0 Backed out changeset fcdaffc1de9f (bug 1351148) 2017-07-28 09:20:11 +02:00
Carsten "Tomcat" Book bd7b184c91 Backed out changeset e3e924da5d5f (bug 1383328) 2017-07-28 09:20:05 +02:00
Carsten "Tomcat" Book e267d334d9 Backed out changeset 15b71aceffb4 (bug 1383485) 2017-07-28 09:20:02 +02:00
Nicholas Nethercote 5c3abe8aab Bug 1383982 - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm.
All the SizeOf{In,Ex}cludingThis() functions take a MallocSizeOf function
which measures memory blocks. This patch introduces a new type, SizeOfState,
which includes a MallocSizeOf function *and* a table of already-measured
pointers, called SeenPtrs. This gives us a general mechanism to measure
graph-like data structures, by recording which nodes have already been
measured. (This approach is used in a number of existing reporters, but not in
a uniform fashion.)

The patch also converts the window memory reporting to use SizeOfState in a lot
of places, all the way through to the measurement of Elements. This is a
precursor for bug 1383977 which will measure Stylo elements, which involve
Arcs.

The patch also converts the existing mAlreadyMeasuredOrphanTrees table in the
OrphanReporter to use the new mechanism.

--HG--
extra : rebase_source : 2c23285f8b6c3b667560a9d14014efc4633aed51
2017-07-28 15:03:44 +10:00
Andrea Marchesini 305c5b2d7f Bug 1384908 - nsGlobalWindow::ObserveStorageNotification should check if the private browsing state has changed, r=asuth 2017-07-28 08:58:09 +02:00
Wes Kocher 7149e44594 Merge autoland to m-c a=merge
MozReview-Commit-ID: 4MCb0ASsMxe
2017-07-27 16:09:49 -07:00
Sebastian Hengst 5a483737cd Backed out changeset 0cce9f382987 (bug 1364038) for failing mda's dom/media/tests/mochitest/test_peerConnection_addSecondVideoStream.html. r=backout on a CLOSED TREE 2017-07-27 18:32:58 +02:00
Carsten "Tomcat" Book 6aa98d7df0 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Nicholas Nethercote 200d8ec18b Bug 1384835 (part 3) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
This is similar like the previous patch, but for the 8-bit string variants.
Also, it changes assignment to Adopt() in GetCString() and GetDefaultCString()
to avoid an extra copy.

--HG--
extra : rebase_source : eba805c3a7b809d5ccd6e853b1c9010db9477667
2017-07-27 16:45:10 +10:00
JW Wang 675a12c855 Bug 1385155. P3 - let MP4Stream use SourceBufferResource instead of MediaResourceIndex. r=gerald
MozReview-Commit-ID: Gf6FEQAOLRk

--HG--
extra : rebase_source : a7172409051d4078107d35d29927d9af6f5f56a6
2017-07-27 17:58:45 +08:00
JW Wang aa4fe7edda Bug 1385155. P2 - move MP4Stream into ContainerParser.cpp which is the only user. r=gerald
MozReview-Commit-ID: 4IguqbJn1xd

--HG--
extra : rebase_source : 881a27a24b11e05033e4ae9c9dbfe93f6ec34141
2017-07-27 17:43:09 +08:00
JW Wang 80b7228709 Bug 1385155. P1 - remove dead code. r=gerald
We are able to remove some dead code for BlockingReadIntoCache,
LastReadFailed, ClearFailedRead, Pin and Unpin have no callers at all.

MozReview-Commit-ID: KkywoKznejB

--HG--
extra : rebase_source : c6124bce6eca0b974767073fe1daf51aa50635f2
2017-07-27 17:36:18 +08:00
JW Wang b9cda6f285 Bug 1384836 - rename MediaDecoderReaderWrapper to ReaderProxy. r=kaku
MozReview-Commit-ID: 7WeNblTnTCG

--HG--
rename : dom/media/MediaDecoderReaderWrapper.cpp => dom/media/ReaderProxy.cpp
rename : dom/media/MediaDecoderReaderWrapper.h => dom/media/ReaderProxy.h
extra : rebase_source : a03573610a8d375fa30b89d90cdf4dc9a4ea3441
2017-07-27 14:49:57 +08:00
Daosheng Mu 9297f5b2a3 Bug 1382438 - Part 2: Replace vr controller displayId test with gamepadbuttondown event; r=kip
MozReview-Commit-ID: DSTg2IS407e

--HG--
extra : rebase_source : dba54bda77ff75f1d9e929ae7339b36d38e4e001
2017-07-27 11:25:45 +08:00
Daosheng Mu e709ee722a Bug 1382438 - Part 1: Get gamepads from globalWindow correctly for button and axis events; r=Lenzak
MozReview-Commit-ID: rB9ahFuozO

--HG--
extra : rebase_source : 98a2aee5ff90f5209bfaf1ee0ee42004b691af71
2017-07-27 11:22:29 +08:00
Bobby Holley c7e4963340 Bug 1384769 - Skip two smil tests due to crashes until bug 1385089 is sorted out. r=me
MozReview-Commit-ID: 4Bkav7OzvtU
2017-07-27 17:49:46 -07:00
Bobby Holley f3de753524 Bug 1384769 - Get rid of the ForNewlyBoundElement mode. r=emilio
MozReview-Commit-ID: 1IRn2iaPnVc
2017-07-27 17:49:42 -07:00
Wes Kocher 7a65251f71 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KvG6hKUwF8c
2017-07-27 16:33:25 -07:00
Nicholas Nethercote 0574a6b496 Bug 1384835 (part 2) - Remove the Preferences::Get*String() variants that return nsAdoptingString. r=froydnj.
Because we want to remove nsAdoptingString. We have other variants that don't
use nsAdoptingString, which can be used instead. There are three basic
patterns.

1. The easiest case is when we don't check for success.

> nsAdoptingString s = Preferences::GetString("foo");
> foo(s);

becomes:

> nsAutoString s;
> Preferences::GetString("foo", s);
> foo(s);

2. The next case is when we check if the result is empty.

> nsAdoptingString s = Preferences::GetString("foo");
> if (s.IsEmpty()) { ... }

becomes:

> nsAutoString s;
> Preferences::GetString("foo", s);
> if (s.IsEmpty()) { ... }

3. The final case is when we null check the result.

> nsAdoptingString s = Preferences::GetString("foo");
> if (s) { ... }

becomes:

> nsAutoString s;
> nsresult rv = Preferences::GetString("foo", s);
> if (NS_SUCCEEDED(rv)) { ... }

The patch also avoids some UTF8/UTF16 conversions in a few places.

--HG--
extra : rebase_source : f339b1a3dda4dc93979d38c30c001fbe77485b55
2017-07-25 20:36:14 +10:00
Nicholas Nethercote f314cbcbe5 Bug 1384835 (part 1) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
This is basically a cosmetic change; references are the normal way to do string
outparams.

--HG--
extra : rebase_source : ffc5945f269bdcd3d4116755b56713e87a44b6cd
2017-07-25 19:12:56 +10:00
Wes Kocher 7dc0b363c1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1JlPbFMKbJZ
2017-07-27 16:17:40 -07:00
Eric Rahm 54d72f81ac Bug 1384337 - Always update cached ghost window count. r=mccr8
Currently the cached count is only updated if a table was passed in to keep
track of the window IDs. This changes the behavior to always update the count
regardless of whether a table is passed in.

MozReview-Commit-ID: EkfzLemVJyV
2017-07-27 15:58:08 -07:00
Ho-Pang Hsu 95d40e38f2 Bug 1356014 - Wait for appearance of the desired channel to do the related checks. r=bkelly 2017-07-28 15:06:34 +08:00
Kershaw Chang 9d5a13ae0f Bug 1366822 - Part2: Revert changes of NotifyCurrentTopLevelContentWindowChange, r=mayhemer 2017-07-27 23:42:00 +02:00
Nicholas Nethercote 49eb219ff5 Bug 1383982 (attempt 2) - Introduce a general mechanism for measuring memory usage of graph-like structures. r=erahm.
--HG--
extra : rebase_source : 7075f9570a4262158351ce9ac3ca8360ea4d5394
2017-07-28 20:10:04 +10:00
Cervantes Yu c6934bc588 Bug 1383025 - Don't report hang for a process that has already shut down. r=billm
MozReview-Commit-ID: 5H1CYYJIiM6
2017-07-28 16:55:16 +08:00
Nazım Can Altınova 0598921a5f Bug 1365900 - Extract CSSFontFeatureValuesRule base class r=xidorn
Extract CSSFontFeatureValuesRule from nsCSSFontFeatureValuesRule
class. This is necessary because we will create a FontFeatureValues
rule for Servo side.

MozReview-Commit-ID: GKy5wa6JLv9

--HG--
extra : rebase_source : 015f13da9a776c4ece8aa13655395afbb347b870
2017-07-24 16:12:57 -07:00
Kris Maglione 2fa79c4f93 Bug 1383367: Part 1 - Add JS helper to determine if a layout flush is required. r=mconley
This lets us decide whether to defer operations if they might trigger a
reflow.

MozReview-Commit-ID: 4M13HKAuZ7M

--HG--
extra : rebase_source : d30a423b2fb9eb7a189b84d8aebb7263ab0b3f27
2017-07-24 20:07:39 -07:00
Julian Seward 408d24da56 Bug 1382563 - Remove ns*String::AssignWithConversion. r=erahm.
This patch replaces four functions of the name AssignWithConversion which
are essentially wrappers around CopyASCIItoUTF16 and LossyCopyUTF16toASCII
with direct calls to the latter two functions.  The replaced functions are:

  void nsCString::AssignWithConversion( const nsAString& aData )
  void nsString::AssignWithConversion( const nsACString& aData )

  void nsTString_CharT::AssignWithConversion(
                            const incompatible_char_type* aData,
                            int32_t aLength = -1);

The last of the three exists inside the double-included nsTString* world and
so describes two functions, giving four in total.

This has two advantages:

* it removes code

* at the call points, it makes clear (from the replacement name) which
  conversion is being carried out.  The generic name "AssignWithConversion"
  doesn't make that obvious -- one had to infer it from the types.

The patch also removes two commented out lines from
editor/composer/nsComposerCommands.cpp, that appear to be related.  They are
at top level, where they would never have compiled.  They look like
leftovers from some previous change.

--HG--
extra : rebase_source : fb47bf450771c3c9ee3341dd14520f5da69ec4f5
2017-07-24 19:23:52 +02:00
Nathan Froyd 9022a3b519 Bug 1384687 - label NotifyGCEndRunnable; r=billm
All the other timers and GC-related things in this file run on the
system group, so this one can too.
2017-07-27 13:32:15 -04:00
J. Ryan Stinnett c79cb3fbb1 Bug 1380053 - Stylo reftest annotations for all OSes. r=manishearth
MozReview-Commit-ID: JNsNUOZfd2e

--HG--
extra : rebase_source : 05a71f9a0fe484c93931fb230cf0752a3b1b8b00
2017-07-20 22:02:00 -05:00
Bryce Van Dyk 3ef050dcc4 Bug 1382718 - Update video encoder gtest to use appropriate image objects. r=jesup
The image objects used in the TestVideoTrackEncoder.cpp for NV12 and NV21 were
not suitable for storage of these formats. As such the new format detection
code introduced in previous changesets was not correctly be exercised.

MozReview-Commit-ID: 9Tn7Ub4GfeG

--HG--
extra : rebase_source : c40731e0e98fde4ec55e05c899cebf96751317fa
2017-07-25 10:04:57 +12:00
Bryce Van Dyk 04f712fd75 Bug 1382718 - Update detection of image bitmap format in VP8 Encoder. r=jesup
Utilize ImageUtils to detect the bitmap format of images passed to the VP8
encoder, rather than duplicating this functionality in the encoder. Resolve an
issue with incorrect identification of unevenly sized I420 frames that was
breaking screen capture based MediaRecorder. clang-format code which has been
touched.

MozReview-Commit-ID: 4IfKSYxGuAX

--HG--
extra : rebase_source : 837caee9668b935ff9e627479b6e905208cbe4cf
2017-07-24 09:13:01 +12:00
Bryce Van Dyk 0fc643f349 Bug 1382718 - Expose ImageUtils.h so utils can be used more widely. r=mattwoodrow
MozReview-Commit-ID: D5AyqzCCXaj

--HG--
extra : rebase_source : 2e7b2c339ee6b8242c50816ed248d0b0dbf4b8fb
2017-07-24 08:59:42 +12:00
Wes Kocher 1995b18007 Backed out changeset bda427f9dbeb (bug 1384247) for failures in test_eme_stream_capture_blocked_case2.html a=backout
MozReview-Commit-ID: Mk9UWqVyUK
2017-07-27 12:34:15 -07:00
J.C. Jones b24d631e4c Bug 1385008: WebAuthn CollectedClientData.Origin must be RP ID r=keeler
The WebAuthn WD-05 version of the specification defines the Origin field [1]
of the CollectedClientData as being set to the RP ID [2][3].

Note there is some ambiguity in the specification, as [1] says
CollectedClientData.Origin is the document's origin, while the
algorithms [2] and [3] set it to RP ID.

I'm going to stick with the algorithm's definition for this patch; it's
simple to revert when we move to WD-06 (Bug 1384776).

[1] https://www.w3.org/TR/webauthn/#dom-collectedclientdata-origin
[2] https://www.w3.org/TR/webauthn/#createCredential
[3] https://www.w3.org/TR/webauthn/#getAssertion

MozReview-Commit-ID: LW918sIg5wH

--HG--
extra : rebase_source : 799f5fa8878614c45d0def07d01d6c1c0c6e9824
2017-07-27 10:27:53 -07:00
Luke Chang 491deaf2a1 Bug 1362290 - Support non-experimental autocomplete pref. r=baku
MozReview-Commit-ID: LABuNLbq2Io

--HG--
extra : rebase_source : 3902adee74ef95ff144325d7b77c13192133d3e7
2017-07-27 11:41:15 +08:00
Paul Adenot c08b4966b1 Bug 1384247 - Check if an HTMLMediaElement can be capture before doing it. r=dminor
MozReview-Commit-ID: EWpf2qA2Yce

--HG--
extra : rebase_source : 295f5e27e4fc983cbef1e40d65775abbb99012a6
2017-07-27 16:02:28 +02:00
Munro Mengjue Chiang dc857a8098 Bug 1364038 - Call SourceListener::StopTrack when the coresponding external device is disconnected. r=jib
MozReview-Commit-ID: EfpmXBJf7PP

--HG--
extra : rebase_source : 328b146ba3531f10a36147f820e84f4d8402ff8a
2017-07-27 16:51:24 +08:00
Daosheng Mu 8dcb583554 Bug 1352410 - Add a preference to enable or disable haptic feedback for gamepads; r=Lenzak
MozReview-Commit-ID: 70FFdcd3n5q

--HG--
extra : rebase_source : 42123c0dcb93160d1b0363c616e5bdfac11604a7
2017-07-27 17:55:16 +08:00
Carsten "Tomcat" Book c4e7d0a39e merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f0f666839de9bee40c2d469fd8dd7e63b266f69
2017-07-27 11:38:15 +02:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Masayuki Nakano 4f4a93e19c Bug 1384584 - TextComposition::DispatchCompositionEvent() shouldn't send composition events to focused TabParent after its RequestIMEToCommitComposition() synthesizes eCompositionCommit(AsIs) event synchronously r=m_kato
When TextComposition::RequestIMEToCommitComposition() is called but the request is handled by native IME asynchronously, TextComposition synthesizes eCompositionCommit(AsIs) event to commit composition synchronously. (This behavior helps web apps which tries to commit composition from JS.) Then, TextComposition::DispatchCompositionEvent() should ignore following composition events which are actually sent from native IME.

However, if composition is in a remote process, TextComposition::DispatchCompositionEvent() in the main process doesn't discard the following events coming from native IME.  Therefore, ContentCacheInParent is confused by this unexpected events.  So, TextComposition::DispatchCompositionEvent() shouldn't send the following unnecessary composition events to TabParent.

Note that in remote process, composition is committed synchronously with the hack mentioned above and synthesized eCompositionCommit(AsIs) event of TextComposition::RequestIMEToCommitComposition() in the parent process looks like coming from native IME.  Therefore, following composition events coming from native IME are not necessary for the remote process.

MozReview-Commit-ID: 2uKFxcAq88J

--HG--
extra : rebase_source : f4fc3f19c86b03813479e6751cc19424f361d537
2017-07-26 23:23:38 +09:00
Wes Kocher ad35031103 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LhiAcCiFBus
2017-07-26 18:33:18 -07:00
Tobias Schneider 44b1781d8a Bug 1366371 - Use signed integer for intersection threshold. r=mstange
--HG--
extra : rebase_source : 9ac9144cd74e74b084c284b0e848b3a7dbbe575a
2017-07-26 16:00:58 -07:00
John Lin 3823e46830 Bug 1384495 - p2: resolve drain promise with empty decoded data only when draining complete. r=jya
MozReview-Commit-ID: 7livLq1K6Ro

--HG--
extra : rebase_source : 574b47a4b2cfb6eec38daaf63e9f6f79313cd305
2017-07-26 15:25:28 +08:00
Carsten "Tomcat" Book 8a74dfa905 Merge mozilla-central to autoland 2017-07-26 11:18:21 +02:00
Carsten "Tomcat" Book 198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Carsten "Tomcat" Book cad2e55095 Backed out changeset 674770e65a4f (bug 1265472) for memory leaks in browser_webauthn_telemetry.js 2017-07-26 07:56:38 +02:00
Makoto Kato 27cd039649 Bug 1383641 - GetFlatTextLengthInRange shouldn't use nsIDOMNode version of nsRange::SetStart. r=masayuki
nsGenericDOMDataNode::SetData uses GetFlatTextLengthInRange.  But GetFlatTextLengthInRange still use nsIDOMNode.  It means that we need additional QI twice.  So we should use nsINode version directly instead.

MozReview-Commit-ID: 3FX0uPGh53O

--HG--
extra : rebase_source : 1a4689ae8744062af8cc1f112b89075ddf3e1271
2017-07-24 18:29:19 +09:00
Masayuki Nakano 9d0610a118 Bug 1381732 - IMEStateManager::OnChangeFocusInternal() shouldn't set IME state when focus is not being changed, input context of the widget was already set by a remote process and our process is being activated r=m_kato
This patch fixes a simple mistake which was written when we support IME in e10s mode.

IMEStateManager::OnChangeFocusInternal() already has code which makes the method doesn't set IME state again when focus is not being changed, input context of the widget was already set by a remote process and our process is being activated.  However, the condition of checking if input context of the widget was set by which process is reversed.

MozReview-Commit-ID: 61ZH0VnKqPq

--HG--
extra : rebase_source : 14eb8e276e6307ed30d018d4385c454f80c1e831
2017-07-25 16:34:07 +09:00
Wes Kocher f19f28adfd Merge m-c to autoland, a=merge
MozReview-Commit-ID: F1X8wKqbkg
2017-07-25 19:16:09 -07:00
Wes Kocher 65bbd0525a Merge inbound to central, a=merge
MozReview-Commit-ID: E4oXfAM1mtd
2017-07-25 19:04:37 -07:00
Sebastian Hengst eb54eed098 Backed out changeset c49b7e6e9811 (bug 1383905) for timing out in xpcshell's dom/push/test/xpcshell/test_observer_remoting.js, at least on OS X. r=backout 2017-07-25 17:51:31 +02:00
Michael Layzell 6968a2e955 Bug 1382093 - Null check docShell in InternalSetDocShellIsActive, r=smaug
MozReview-Commit-ID: JHtmTSomFlb
2017-07-25 11:35:55 -04:00
Ben Kelly 7a24a5eff4 Bug 1378586 P6 Add a mochitest that verifies timeout clamping behavior. r=farre 2017-07-25 08:35:13 -07:00
Ben Kelly 08d429854a Bug 1378586 P5 Don't force setInterval() to a min 1ms delay. r=farre 2017-07-25 08:35:12 -07:00
Ben Kelly 90ef714043 Bug 1378586 P4 Clamp setInterval() based on nesting value instead of always. r=farre 2017-07-25 08:35:12 -07:00
Ben Kelly 8547461342 Bug 1378586 P3 Reorder Timeout members to improve binary packing. No functional change. r=farre 2017-07-25 08:35:12 -07:00
Ben Kelly 50ec1a5f3e Bug 1378586 P2 Avoid Timeout mNestingLevel rollover by just limiting the value to the values we care about. r=farre 2017-07-25 08:35:12 -07:00
Ben Kelly 910b4f672b Bug 1378586 P1 Track the nesting level on interval Timeout objects. r=farre 2017-07-25 08:35:12 -07:00
J.C. Jones 1b29ab6da2 Bug 1265472 - Add Telemetry to Web Authentication r=francois,keeler datareview=francois
This patch intends to obtain a 1) rough sense of the percentage of telemetry
population using Web Authentication over time, and 2) whether or not the
Authentication request was successful or errored out as a scalar. It also tracks
3) how long it takes for requests to complete as a histogram.

It counts Register (enrollment) and Sign (login) separately as we would
anticipate there being far, far more Sign uses than Register.

MozReview-Commit-ID: 8DFyKAG8XJw

--HG--
extra : rebase_source : c93eeac7a978a1d1c4b08ff1e18e2548b1045ced
2017-07-21 15:23:09 -07:00
J.C. Jones 860e263cc7 Bug 1384307 - Set WebAuthn PublicKeyCredential's "id" and "type" fields r=keeler
The Web Authentication PublicKeyCredential object has two fields currently
unpopulated which, to be spec-compliant, must be set. These fields duplicate
available data.

  [PublicKeyCredential.id] must be set to the base64url encoding with omitted
  padding of whatever data is in "rawId".

  [PublicKeyCredential.type] must be the literal "public-key".

MozReview-Commit-ID: L6wPYpZdD8A

--HG--
extra : rebase_source : 3ca83598b70f99f4d60f303d113e875046268669
2017-07-25 15:03:59 -07:00
Nathan Froyd a5c3b22cad Bug 1378965 - silently include codegen.pp for DOM bindings; r=chmanchester
codegen.pp isn't available immediately (there's a rule to generate it),
and so make warns when it's initially not found.  But since this is a
depends file, like other dependency files generated by the build
process, we should silently include it so make doesn't even warn about
it.
2017-07-25 11:17:32 -04:00
Andrew Sutherland ffd48bb231 Bug 1383905 - Push notifications should only use "web" content processes. r=bkelly
This introduces filtering to avoid attempting to dispatch notifications
to WebExtensions processes and other types of content processes.

--HG--
extra : source : ebca24a97c779b0b66fa2261e8a771e7220e3cac
2017-07-24 23:28:41 -04:00
Carsten "Tomcat" Book bdf7db3d13 Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : d74c74a654cd977d35e35de2768ada4ebe659ae4
2017-07-25 14:38:43 +02:00
Carsten "Tomcat" Book 679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Carsten "Tomcat" Book 38dac4a83e merge autoland to mozilla-central a=merge
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : d3b22773aa7d48ac6cc60d0afd41e5d74e1ac697
2017-07-25 14:18:40 +02:00
Christoph Kerschbaumer e4b4af3900 Bug 1331351: Disable mochitest on android. r=me 2017-07-25 13:33:50 +02:00
Jan de Mooij 7e5724db61 Bug 1383775 - Clean up function toString/toSource code, remove remnants of source decompiler. r=anba 2017-07-25 13:22:11 +02:00
Carsten "Tomcat" Book aed9eeee06 Backed out changeset 42667c5ba946 (bug 1367983) for causing bug 1383673 2017-07-25 10:33:44 +02:00
Wes Kocher 2673406be5 Merge inbound to central, a=merge
MozReview-Commit-ID: 1oTeP8uycV2
2017-07-24 18:06:39 -07:00
Wes Kocher 252080fa1f Merge autoland to central, a=merge
MozReview-Commit-ID: AWf410QGui6
2017-07-24 17:57:54 -07:00
Wes Kocher fcc677950d Backed out 2 changesets (bug 1371166) for Windows 8 permafails in test_mediarecorder_principals.html a=backout
Backed out changeset 955998eefbe8 (bug 1371166)
Backed out changeset 736042ec645d (bug 1371166)

MozReview-Commit-ID: 11duLALJ9PW
2017-07-24 14:50:47 -07:00
Carsten "Tomcat" Book 0c215343b0 merge mozilla-inbound to mozilla-central a=merge 2017-07-24 13:01:44 +02:00
Carsten "Tomcat" Book 732f652f89 Backed out changeset 29131feeed60 (bug 1380065) for windows 7 perma failure in test_bug884693.xul | Got expected message count - got 1, expected +0 2017-07-25 10:52:58 +02:00
Carsten "Tomcat" Book b3e81e29a0 Merge mozilla-central to autoland 2017-07-24 15:00:31 +02:00
Sebastian Hengst 9fc62e5079 Backed out changeset a4ea1d5fcb4e (bug 1197045) for eslint failure at Troubleshoot.jsm:401: 'winUtils' is assigned a value but never used. r=backout 2017-07-24 13:24:28 +02:00
Sebastian Hengst 0a44c0dc0a Backed out changeset cf756c62b0a6 (bug 1197045) 2017-07-24 13:23:48 +02:00
Chris H-C a21051c236 bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.

MozReview-Commit-ID: 2iBL00HVGyg
2017-07-24 09:52:26 -04:00
Jean-Yves Avenard bb0627f06b Bug 1383122 - P4. Don't set src attribute to empty string. r=jwwang
MozReview-Commit-ID: EzQCVIIjOIe

--HG--
extra : rebase_source : af21c6749f22ae98cf3d81577eb0476dcca99035
2017-07-24 10:58:03 +02:00
Jean-Yves Avenard 64c70317ce Bug 1383122 - P3. Don't set src attribute to null. r=jwwang
Setting the src attribute to null was incorrect, per spec https://www.w3.org/TR/WebIDL-1/#es-DOMString, if null is passed, this is to be treated as ToString(null), which is "null" (https://tc39.github.io/ecma262/#sec-tostring).
Hence setting src to null will cause a 404 error as it attempts to load "null".

To unload the element, recommended practice is:
Per spec:
https://html.spec.whatwg.org/multipage/media.html#best-practices-for-authors-using-media-elements
"by removing the element's src attribute and any source element descendants, and invoking the element's load() method."

MozReview-Commit-ID: 5Lq13CeDCSZ

--HG--
extra : rebase_source : 806bccb32fa0542ea3be3025a31da97bb331b29c
2017-07-21 19:05:54 +02:00
Jean-Yves Avenard 9b0e4b6c44 Bug 1383122 - P2. Amend mochitest to ensure null is properly converted to "null" string. r=jwwang
MozReview-Commit-ID: 13eeL3siXpy

--HG--
extra : rebase_source : 1cfa108414695ffc69c47d5fa9d494ee94c7b15a
2017-07-21 19:23:05 +02:00
Jean-Yves Avenard eb9666fa81 Bug 1383122 - P1. Amend Mochitest to ensure error doesn't occur. r=jwwang
MozReview-Commit-ID: 4xHD8KjY0XT

--HG--
extra : rebase_source : e6a8c22ee37537bcd6cdb98487796854ad116227
2017-07-21 18:44:11 +02:00
Tim Huang df4c4baa41 Bug 1333641 - Part 1: Making the speechSynthesis API unfingerprintable when 'privacy.resistFingerprinting' is true. r=arthuredelstein,smaug
The patch will change the behavior of speechSynthesis API when fingerprinting
resistance is enabled. First, the speechSynthesis.getVoices() will always report
an empty list and the speechSynthesis.onvoiceschanged event will be blocked.
And it will immediately fail when using the speechSynthesis.speak() to speak an
utterance. By doing so, websites can no longer fingerprint users through this
speechSynthesis API.

In addition, this only affect contents, so the chrome can still use this API even
the fingerprinting resistance is enabled.

MozReview-Commit-ID: KxJX8fo30WS

--HG--
extra : rebase_source : 12c14f3ae2d23dacb07796156b4f0fd233bff0f9
2017-07-20 16:07:32 +08:00
Kilik Kuo b09363765d Bug 1372465 - Make sure GeckoHlsPlayer is used by correct media components. r=jwwang
We use an increasing player Id as the token between MediaReousrce and MediaDemuxer to
identify which GeckoHlsPlayer should be used.
In this case, playback of 2 HLS content at the same page to make sure the underlying components won't be selected mistakenly

MozReview-Commit-ID: HzrczjsYEoz

--HG--
extra : rebase_source : e749788cb6aabd2bdc1ab005829d9377e9acc653
2017-07-25 16:40:37 +08:00
Carsten "Tomcat" Book 0ff1ec388b Merge mozilla-central to autoland 2017-07-25 14:35:23 +02:00
Carsten "Tomcat" Book 1c55d9468a Backed out changeset 7c3ddf34fc42 (bug 1377158) for stylo failures 2017-07-25 14:34:14 +02:00
James Cheng 4843d195fb Bug 1382151 - Pause Exoplayer when mediaelement is paused. r=kikuo
MozReview-Commit-ID: 5MDBBP5vfpa

--HG--
extra : rebase_source : 9981585791cd359296ac7fef0fe0d7e900af6c61
2017-07-20 17:47:54 +08:00
Xidorn Quan c4c6fbf75a Bug 1383980 - Enable animation mochitests in mochitest-style task. r=birtles
MozReview-Commit-ID: 38Ir2MG7IMO

--HG--
extra : rebase_source : 0997b7026a24cc271ad977db5ce233c393554dfa
2017-07-25 14:17:04 +10:00
Cameron McCormack f6934ef88b Bug 1376248 - Part 2: Allow tree_ordering sub-test to generate records in any order when simultaneously starting animations. r=birtles
MozReview-Commit-ID: AHkOA7DrXji

--HG--
extra : rebase_source : da38bba8839fe2743bfca3f96d1604dd0fb9b929
2017-07-24 16:03:42 +08:00
Bobby Holley d1534d15b4 Bug 1341102 - Re-enable some crashtests. r=me
MozReview-Commit-ID: 65QY7FfZQcL
2017-07-24 18:35:19 -07:00
Nicholas Nethercote 2a1feb9d19 Bug 1352573 (part 1) - Convert FlashThrottleAsyncMsg from a ChildAsyncCall to a CancelableRunnable. r=bsmedberg.
This requires adding mPendingFlashThrottleMsgs to PluginInstanceChild. It also
requires adding FlashThrottleMsg::mInstance, and a FlashThrottleMsg::Cancel()
function that nulls mInstance.

--HG--
extra : rebase_source : 87e5732ddf2ad57d4f3ff078ab66143797eac49f
2017-07-19 17:22:05 +10:00
Paul Bone 70b304d94b Bug 1380768 (part 2) - Add a pref for nursery size, r=sfink. 2017-07-21 14:34:46 +10:00
Kershaw Chang 55bb698ac1 Bug 1377544 - Labeling in ExtensionProtocolHandler, r=mayhemer
1. Get rid off AbstractThread
2. Use nsContentUtils::GetEventTargetByLoadInfo to get an event target for dispatching
2017-07-24 23:50:00 +02:00
Chun-Min Chang 70ec0769ce Bug 1197045 - part2: Expose audio channels, layout, sample-rate, and native device information via DOMWindowUtils; r=padenot
MozReview-Commit-ID: 9Kh2w0MioUQ

--HG--
extra : rebase_source : cf0012bf9892dedb71933a48f595f97a8f648511
2017-07-18 16:09:10 +08:00
Bevis Tseng 9a24157728 Bug 1379414 - Fix ReadCompressedIndexDataValuesFromBlob(). r=asuth 2017-07-20 17:15:42 +08:00
Yoshi Huang 7036b3761f Bug 1382531 - Part 1: rewrite crashtest for data: URI is unique opaque origin. r=smaug 2017-07-25 09:56:02 +08:00
Wes Kocher fd09155f06 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 418vKEKrk3n
2017-07-24 18:10:56 -07:00
Boris Zbarsky a54996bf34 Add tests for bug 1383478 2017-07-24 18:01:21 -04:00
Boris Zbarsky 7b09abd603 Bug 1383478. Make sure <object>/<embed> fallback doesn't try to trigger loads on <object>/<embed> descendants that aren't directly affected by whether we loaded. r=qdot 2017-07-24 17:58:34 -04:00
Bevis Tseng 0f4742a9bb Bug 1384037 - Label ThrottleTimeoutsCallback. r=billm
--HG--
extra : rebase_source : b6b5f38b4842b88f6c8d14fe99d762c3483306a0
2017-07-25 18:04:58 +08:00
Bill McCloskey fff3f0890c Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug)
MozReview-Commit-ID: HOSmqr5Vpwh
2017-07-25 19:52:36 -07:00
Wes Kocher 1c6b33b69a Merge m-c to inbound, a=merge
MozReview-Commit-ID: AwACQvl2e5g

--HG--
extra : rebase_source : e70812f9a96acf1d0747cb7ea57afa1e2152283b
2017-07-25 19:09:39 -07:00
Eden Chuang 3aa4930b7a Bug 1379892 - Reject PaymentRequest.show() with AbortError DOMException if a request is showing. r=baku 2017-07-25 15:39:39 +08:00
Sam Foster fba4d7c501 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : effd7fab536294de967661be4dcaaadc5b869db7
2017-07-13 14:30:38 -04:00
Wes Kocher a1eadef812 Merge m-c to autoland, a=merge
MozReview-Commit-ID: B7oWq7qfpJ0
2017-07-24 18:13:05 -07:00
Wes Kocher 4d4051d2e2 Backed out changeset 2e0c2b3bc28b (bug 1380065) for eslint failures in browser_ext_popup_select.js a=backout
MozReview-Commit-ID: HZqI6A06YiO
2017-07-24 17:25:37 -07:00
Sam Foster fef0cddea2 Bug 1380065 - Disable arrow-panel animations if the cosmeticAnimations pref is set to false. r=jaws
* Toggle animate=false attribute on arrow panels when toolkit.cosmeticAnimations.enabled is false
* Use preferences-service component to lookup the pref in the arrowpanel binding
* Disable this pref during tests to remove a source of instability and timing-based test failures in chrome/UI tests.
* Enable cosmeticAnimations for tests which depend on existing behavior
* Re-enable cosmeticAnimations pref for browser_ext_popup_select.js which is known to be more reliable with animations

MozReview-Commit-ID: IvA2ySPPmeJ

--HG--
extra : rebase_source : 577f534d2409da76eecd6c36dfa3db50eca50f40
2017-07-13 14:30:38 -04:00
Alphan Chen 6409132d7d Bug 1382120 - Add 'allowPaymentRequest' into HTMLIFrameElement interface. r=baku
--HG--
extra : rebase_source : 1941d150dcfe7970292831d136194d4b1147a13d
2017-07-21 10:27:42 +08:00
Carsten "Tomcat" Book 2023b2d8e5 Merge mozilla-central to inbound 2017-07-24 14:59:06 +02:00
Shawn Huang 2a00310982 Bug 1346767 - Part 1: Check mFlagHadUploadListenersOnSend before sending progress event, r=baku
Based on XHR spec 6.1, if one or more event listeners are registered on the
associated XMLHttpRequestUpload object, then set upload listener flag.
Therefore, if any event listeners are added after send(), ignore them.
2017-07-24 19:52:16 +08:00
Junior Hsu a487a2fdb0 Bug 1379899 - disable rcwn to make cache behavior deterministic in test, r=kanru
--HG--
extra : rebase_source : 454ac4e667f42da9d90dc474a1bccf31b64ad628
2017-07-19 04:24:00 +02:00
Nicolas Silva 4c59337e27 Bug 1382185 - Check the status of GLContext::MakeCurrent in TexUnpackBlob.cpp. r=jgilber 2017-07-24 12:24:25 +02:00
Nicolas Silva 13f0f93675 Bug 13821850 - Check the status of GLContext::MakeCurrent in CanvasRenderingContext2D. r=Bas 2017-07-24 12:24:21 +02:00
Chun-Min Chang 13ab7bac64 Bug 1197045 - part1: Create an AudioDeviceInfo to expose the native device information; r=kinetik
MozReview-Commit-ID: 2N2BkZUVOca

--HG--
extra : rebase_source : 499d069251f3231a2fd5ddbd55aaa5b5f4124723
2017-07-13 14:01:36 +08:00
Perry Jiang afb3b422d6 Bug 1377251 - Follow-up: replace timeToNonBlankPaint's duration with timestamp. r=qDot
MozReview-Commit-ID: 6IOHKPeV81r
2017-07-12 10:18:14 -07:00
Christoph Kerschbaumer 3e70ba6667 Bug 1381755: Test that data: URIs can't activate plugins. r=bsmedberg 2017-07-24 20:34:44 +02:00
Ryan VanderMeulen 3e946fc60d Backed out changesets f4378a5e6c7f and b7d81fea0b33 (bug 1159003) for causing bug 1383553. 2017-07-25 21:50:06 -04:00
Christoph Kerschbaumer 8c36096164 Bug 1384151 - Convert selectAtPoint-innerframe.html to comply with new data: URI inheritance model. r=smaug 2017-07-25 17:11:09 +02:00
Wes Kocher 2a9a3ff1dd Backed out changeset 810a05989801 (bug 1371484) for build failures in Key.cpp a=backout
MozReview-Commit-ID: 4Jwrp5PK6MA
2017-07-25 18:34:40 -07:00
Gian-Carlo Pascutto 8bc55108f2 Bug 1308400 - Support file process, whitelist path prefs. r=jld
MozReview-Commit-ID: 3eX06AioPZL

--HG--
extra : rebase_source : 56bcfaad3360fe92ce605a0413bb3a9cacb4446d
2017-07-24 16:32:22 +02:00
Bob Owen 459f9f007d Bug 1383611: Pre-load psapi.dll for widevine CDM as it needs it for GetMappedFileNameW. r=cpearce 2017-07-24 20:01:06 +01:00
Andrea Marchesini 43f7abdf4a Bug 1338339 - dom/xhr/tests/browser_blobFromFile.js must use a separate file for testing instead of prefs.js, r=smaug 2017-07-24 19:58:32 +02:00
Christoph Kerschbaumer 2d37dad0be Bug 1331351: Test allow toplevel window data: URI navigations from system. r=smaug 2017-07-24 18:51:39 +02:00
Christoph Kerschbaumer e116c4627b Bug 1331351: Test block toplevel window data: URI navigations. r=smaug 2017-07-24 18:52:01 +02:00
Christoph Kerschbaumer 9c97294062 Bug 1331351: Block toplevel window data: URI navigations. r=smaug,francois 2017-07-24 18:51:21 +02:00
Paul Adenot b9e645073e Bug 1375119 - Consider a page active if it has running AudioContexts. r=ehsan
MozReview-Commit-ID: IOQ2DY9LoTw

--HG--
extra : rebase_source : f47568d3db129ff8d9a484d5b5554f1154d53133
2017-07-24 11:17:14 +02:00
Chun-Min Chang 20ba5e9be3 Bug 1197045 - part2: Expose audio channels, layout, sample-rate, and native device information via DOMWindowUtils; r=padenot
MozReview-Commit-ID: 9Kh2w0MioUQ

--HG--
extra : rebase_source : cf0012bf9892dedb71933a48f595f97a8f648511
2017-07-18 16:09:10 +08:00
Chun-Min Chang f4b2f0809e Bug 1197045 - part1: Create an AudioDeviceInfo to expose the native device information; r=kinetik
MozReview-Commit-ID: 2N2BkZUVOca

--HG--
extra : rebase_source : 499d069251f3231a2fd5ddbd55aaa5b5f4124723
2017-07-13 14:01:36 +08:00
JW Wang f507668c63 Bug 1382557 - the duration should be finite when we can get one from the metadata. r=cpearce
This fixes the case where ChannelMediaResource::OnStartRequest() calls
mCallback->SetInfinite(true) to report an infinite duration, yet later
we get another duratoin from the metadata.

http://searchfox.org/mozilla-central/rev/8a61c71153a79cda2e1ae7d477564347c607cc5f/dom/media/MediaDecoder.cpp#1179-1185
Note IsInfinite() is checked before other duration sources. We need to call
SetInfinite(false) on the MediaDecoder so we can get the correct duration.

MozReview-Commit-ID: 3BlFNJzlgXo

--HG--
extra : rebase_source : 073b65cbc21f280638054b80f0cc9913a9128a18
2017-07-25 14:34:59 +08:00
KuoE0 8caf7792c4 Bug 1377158 - (Part 1) Make nsIDocumentLoaderFactory::createInstance() accept style backend type. r=heycam
MozReview-Commit-ID: L4kixMsCd8S

--HG--
extra : rebase_source : 09befb7bf27c146bc0df2b6be75439f5e51cfb99
2017-07-12 16:30:32 +08:00
Gerald Squelart bc05f23ecc Bug 1383984 - Enable debugging HTMLMediaElement APIs with 'tabs' permission - r=jya,smaug
While "debugger" is not available yet, we can enable these debugging APIs for
extensions that have the "tabs" privilege, which includes the Media Panel
Devtools extension, so we/webdev will get better media-playback information.

MozReview-Commit-ID: I0MAZH9g0HU

--HG--
extra : rebase_source : 98c21147cb2da4f5f3f1c4dea9d3180b774f8c1a
2017-07-25 15:53:01 +12:00
Carsten "Tomcat" Book 740c6ff791 Merge mozilla-central to autoland 2017-07-28 15:27:47 +02:00
Masayuki Nakano 0fa4a64aa3 Bug 1384027 - part3: Don't send blur notification to IME from IMEStateManager::OnChangeFocusInternal() if no window becomes active and IME wants to keep composition during deactive r=m_kato
Currently, IMEStateManager::OnChangeFocusInternal() sends blur notification to IME when a remote process has IME focus and focus is moving from the process.  However, if IME wants to keep composition even during deactive and nobody will gets focus (i.e., all windows becomes deactive), IMEStateManager shouldn't send the blur notification because it causes committing composition.

Therefore, it should send blur notification only when focus is moving to a PresContext (that means that not all windows becomes deactive) or IME doesn't want to keep composition during deactive.

Then, even if another window becomes active next time, IMEStateManager can send "stop IME state management" message to the composing remote process and the remote process can commit composition normally.

Additionally, this patch ensures to send blur notification when IME focused TabParent or widget is being destroyed.  This fixes new memory leak bug of this patch (sFocusedIMETabParent keeps grabbing the instance until shutting down in some mochitests).

MozReview-Commit-ID: KYiFGo970a8

--HG--
extra : rebase_source : c3de0df442420979414b47d8d20c7988c49b205b
2017-07-26 00:57:29 +09:00
Jan Beich 5c4a94b509 Bug 1385115 - Unbreak build on Tier3 after bug 1382883. r=cpearce
MozReview-Commit-ID: ISTOw1qfxiy

--HG--
extra : rebase_source : 4444849c190f7128d67c53483866ac59c73b2eb9
2017-07-28 11:48:56 +00:00
Wes Kocher 316fd8283a Merge m-c to inbound, a=merge
MozReview-Commit-ID: KcxntLtRalL

--HG--
rename : taskcluster/actions/__init__.py => taskcluster/taskgraph/actions/__init__.py
rename : taskcluster/actions/add-new-jobs.py => taskcluster/taskgraph/actions/add-new-jobs.py
rename : taskcluster/actions/registry.py => taskcluster/taskgraph/actions/registry.py
rename : taskcluster/actions/retrigger.py => taskcluster/taskgraph/actions/retrigger.py
rename : taskcluster/actions/run_missing_tests.py => taskcluster/taskgraph/actions/run_missing_tests.py
rename : taskcluster/actions/test-retrigger-action.py => taskcluster/taskgraph/actions/test-retrigger-action.py
rename : taskcluster/actions/util.py => taskcluster/taskgraph/actions/util.py
2017-07-28 17:54:59 -07:00
Marco Castelluccio 51d8b32912 Bug 1357517 - Remove Preferences.jsm usage from some dom/push/* files. r=kitcambridge
--HG--
extra : rebase_source : 77dce879e3ceb5352ea7a65673dffd53c9b9276f
2017-07-28 23:13:57 +02:00
Marco Castelluccio 7944b79d44 Bug 1357517 - Remove Preferences.jsm usage from workers test. r=bz
--HG--
extra : rebase_source : def289709e87e2afb4ab587985777a2bfbabfef1
2017-07-28 21:20:53 +02:00
Bill McCloskey fad7d3b87b Bug 1378374 - Remove unnecessary delete calls (r=dvander)
MozReview-Commit-ID: DGik7IPklWO
2017-07-28 13:52:04 -07:00
Bill McCloskey 55f153be76 Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug)
MozReview-Commit-ID: HOSmqr5Vpwh
2017-07-28 13:11:59 -07:00