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

62607 Коммитов

Автор SHA1 Сообщение Дата
Iris Hsiao c206e9ec3c Backed out changeset 34f24ca08fac (bug 1345990) for mochitest bc testing uncaught exception at BrowserTestUtils.jsm
CLOSED TREE
2017-05-05 10:20:29 +08:00
Blake Kaplan 7829881e9e Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W

--HG--
extra : rebase_source : 1ea86df2e2443be38cfae4e5f8c1336bf742157c
2017-04-26 17:52:20 -07:00
Sebastian Hengst 498b61d523 Backed out changeset a39a98ffb29b (bug 1359058) for failing mochitest dom/canvas/test/webgl-conf/generated/test_conformance__textures__misc__texture-npot-video.html on Windows. r=backout 2017-05-05 00:34:05 +02:00
Sebastian Hengst 64ea535650 Backed out changeset fe9ac1176159 (bug 1359058) 2017-05-05 00:32:36 +02:00
Wes Kocher 3ce2f90b36 Bug 1362201 - Fix moz.build bug components for Toolkit :: Notifications and Alerts rs=me r=KWierso
MozReview-Commit-ID: E7uXW4FBxJY

--HG--
extra : rebase_source : 34c93a8eb505167a6bd51bb6bad8c920a36c25b2
2017-05-04 14:44:58 -07:00
Jean-Yves Avenard d9c615a36e Bug 1359058: P2. Rely on container flags when seeking in plain MP4. r=gerald
This reverts part of bug 1300296. In the worse case we'll get a decoding error. But we're only trading a bad behaviour for another.

MozReview-Commit-ID: H0gF3FqZsU6

--HG--
extra : rebase_source : 3886b757f3476060067811dcb385967769a67023
2017-04-26 16:43:54 +02:00
JW Wang 31366d9151 Bug 1359058: P1. handle EOS during seeking. r=jya
MozReview-Commit-ID: DPT3t1pi6o1

--HG--
extra : rebase_source : e961bc069095c83db4afab4037a88ca89e1bc7ac
2017-04-26 11:32:50 +08:00
Ralph Giles d785a282a3 Bug 1362107 - Add missing includes to WebMDemuxer. r=jya
This was working because of our unified build, but having
the correct definitions for all types used by the header
helps editor navigation tools.

MozReview-Commit-ID: LuWEeTIikla

--HG--
extra : rebase_source : 0046ec17ac45270adc771bd0cf77c8381f99737b
2017-05-04 09:53:34 -07:00
Andreas Pehrson e2702a6458 Bug 1093835 - Turn unnecessary array.map to array.forEach in pc.js. r=jib
MozReview-Commit-ID: 1oqXtncwUQ1

--HG--
extra : rebase_source : 2aad2e3c19c664ba61a26beb43ef75ee5f05bd03
2017-04-28 11:22:18 +02:00
Andreas Pehrson 845373e84c Bug 1093835 - Check video flow in test_pc_videoRenegotiationInactiveAnswer.html. r=jib
MozReview-Commit-ID: G9JIcAXuiWX

--HG--
extra : rebase_source : e36ca4f5045db7669ce119233150b331c25dad32
2017-04-28 11:15:11 +02:00
Andreas Pehrson 8ef263241b Bug 1093835 - Check video flow in test_pc_replaceVideoThenRenegotiate.html. r=jib
MozReview-Commit-ID: 5zUioH6Q4jw

--HG--
extra : rebase_source : 188cde695bc534c5608057728373553691dbda94
2017-04-28 14:55:26 +02:00
Andreas Pehrson b10edab2e1 Bug 1093835 - Check video flow in test_pc_removeThenAddVideoTrackNoBundle.html. r=jib
MozReview-Commit-ID: IKO31455iCU

--HG--
extra : rebase_source : fcc58d46e29724576e2274fa1fb69e12ded7ad6e
2017-04-28 14:55:15 +02:00
Andreas Pehrson de02fa8eea Bug 1093835 - Check video flow in test_pc_removeThenAddVideoTrack.html r=jib
MozReview-Commit-ID: 1zbTbzMwJH3

--HG--
extra : rebase_source : 2777e0f4e0349ccb0e2435e9fd2a54d606e21a46
2017-04-28 14:55:03 +02:00
Andreas Pehrson 920a2ccbe7 Bug 1093835 - Check video flow in test_pc_addSecondVideoStreamNoBundle.html. r=jib
MozReview-Commit-ID: KnhRdWNZvhs

--HG--
extra : rebase_source : 5ae8e91645b746f20d5db02cb4fe1d5e33323289
2017-05-04 13:25:01 +02:00
Andreas Pehrson e851a86b89 Bug 1093835 - Check video flow in test_pc_addSecondVideoStream.html. r=jib
MozReview-Commit-ID: Aqd4VYhlbBb

--HG--
extra : rebase_source : ec3433b97e99ddc761bf0a8b149b1160acc1504e
2017-05-02 12:01:04 +02:00
Andreas Pehrson c41610f6b8 Bug 1093835 - Commoditize checkVideoPlaying/checkVideoPaused. r=jib
This moves those two functions from a single test to a VideoStreamHelper in a
common file, so they can be used when checking video flow in multiple tests.

It also implements a VideoFrameEmitter that provides tests with an easy to
access video source where VideoStreamHelper can verify flow on the sink.

MozReview-Commit-ID: Fin9eiVmBe

--HG--
extra : rebase_source : 8b62124b0182d7e7bd78788e031b2d2259db9e57
2017-05-04 15:23:36 +02:00
Andreas Pehrson 0fb77b5e31 Bug 1093835 - Check video flow stopping after removing video track and renegotiating. r=jib
MozReview-Commit-ID: Hp3YOki9O5E

--HG--
extra : rebase_source : c7b17cae6cff4dbcfc97f1f24f2e742423284cb1
extra : source : a374c207b11cfdc711da13c71c93c38570d6eb2a
2017-05-04 12:46:20 +02:00
Andreas Pehrson 5a779840a7 Bug 1093835 - Check audio flow in test_pc_removeThenAddAudioTrackNoBundle.html. r=jib
MozReview-Commit-ID: ABkqFUfsoyu

--HG--
extra : rebase_source : 5c33263065d6ab189d578c2bf4330841f64bb86e
2017-05-04 12:44:04 +02:00
Andreas Pehrson 5515940e8a Bug 1093835 - Check audio flow in test_pc_removeThenAddAudioTrack.html. r=jib
MozReview-Commit-ID: 59JXOnjNGyd

--HG--
extra : rebase_source : ef0fb293d5d538b1131b0c2826377abea8bcfbe3
2017-05-04 12:43:53 +02:00
Andreas Pehrson 463b638edc Bug 1093835 - Check audio flow in test_pc_addSecondAudioStreamNoBundle.html. r=jib
MozReview-Commit-ID: I7ZpshtPgAA

--HG--
extra : rebase_source : f0b089653e6e0dc31aaedca6db4def1f637af1c8
2017-05-04 11:38:19 +02:00
Andreas Pehrson ddd79a635f Bug 1093835 - Check audio flow in test_pc_addSecondAudioStream.html. r=jib
MozReview-Commit-ID: AzCeaL5wKLV

--HG--
extra : rebase_source : e48f155330e22a26cf261741b932e91b56449d5c
2017-05-04 11:38:06 +02:00
Andreas Pehrson 2827d03e31 Bug 1093835 - Check audio flow stopping after removing audio track and renegotiating. r=jib
MozReview-Commit-ID: 2lx6jUON3jU

--HG--
extra : rebase_source : 4caee72edbc678ba9bb5d7a35c04a4eadfe6005d
extra : source : bb77023e0e7f4399e57dd2be2f331ee19c1a874a
2017-05-04 11:37:02 +02:00
Paul Adenot 16a32f974b Bug 1361475 - Remove proprietary constructor on AudioContext. r=baku
This was used only for B2G, was proprietary, and is causing issues, because
`AudioContext` can now have a parameter that is a property bag, per spec
(although we haven't implemented it at the moment).

MozReview-Commit-ID: 6LOlNp0cbfV

--HG--
extra : rebase_source : 48aa342213dba201c1062a08c7453acd16b8baea
2017-05-04 13:43:14 +02:00
Carsten "Tomcat" Book 1c4ab134e5 Merge mozilla-central to autoland 2017-05-04 11:24:40 +02:00
Boris Zbarsky f11ddd537b Bug 1361274. There's no need to update link :visited state when doing querySelectorAll, since querySelectorAll ignores that state anyway. r=smaug
In our current setup, in which links with an href attribute always match either
:link or :visited, no matter whether that attribute's value is a valid URI,
changes to the attribute always put the element into either the "match nothing"
state or the "match :link" state, via calls to Link::ResetLinkState.

The only thing FlushPendingLinkUpdates is needed for is (lazily, in case it
turns out to not be needed because the element got removed from the DOM anyway)
registering a history observer to switch the link state to :visited as needed.

This means that selector matching consumers that would never expose :visited
state to start with don't need to worry about calling FlushPendingLinkUpdates.
2017-05-03 16:54:25 -04:00
Iris Hsiao 553dbd294c Merge mozilla-central to mozilla-inbound 2017-05-04 11:29:49 +08:00
Iris Hsiao e71485e5b0 merge mozilla-inbound to mozilla-central a=merge 2017-05-04 11:18:36 +08:00
Hiroyuki Ikezoe 43a902cb19 Bug 1361632 - Adjust reftest expectation for -moz-appearance. r=bholley. a=merge
MozReview-Commit-ID: 6sqyA5TCHjk

--HG--
extra : rebase_source : 4957d93a55717850594dabc2650cecf060022f75
extra : amend_source : 6ee8241b984e300386da617fa9304b288989fdb7
2017-05-04 06:39:30 +09:00
Wes Kocher 21203b47b5 Merge inbound to m-c a=merge
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
JW Wang 316a8afe47 Bug 1361942 - Store ActualArgTypes instead of ArgTypes for we are sending data of ActualArgTypes types to another thread. r=gerald
This allows more use of the implicit version of InvokeAsync() without specifying the storage types explicitly.

MozReview-Commit-ID: 40WisaVX8Jy

--HG--
extra : rebase_source : ba34515788f0bc8264fac9a6897e234966d8b762
extra : source : b651963fe562755c0b2998ae6a95ffad400060ad
2017-05-03 12:34:50 +08:00
Nathan Froyd 81c338e5a7 Bug 1361512 - convert InputStreamParent to use NS_DECL_OWNINGTHREAD; r=baku
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Nathan Froyd 5f0417d309 Bug 1361511 - change ownership assertion mechanism for various DOM classes; r=baku
The declarations of their refcounting methods already includes an owning
thread, so let's just piggyback on top of that to assert their owning
thread, rather than having separate fields and tests.
2017-05-03 11:48:54 -04:00
Nathan Froyd 695eedecbc Bug 1361445 - convert MediaEngineSource to use NS_DECL_OWNINGTHREAD; r=jesup
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Masayuki Nakano d04632f559 Bug 1342552 - IMEStateManager should cache nsIWidget for sPresContext and use it. r=smaug
IMEStateManager should cache nsIWidget for sPresContext at caching sPresContext.  Then, even if sPresContext has gone, IMEStateManager can clean up with the nsIWidget cache.

Unfortunately, editor has some bugs about calling IMEStateManager::UpdateIMEState().  That is, calling it *before* IMEStateManager::OnFocusChange().  In such case, this patch makes UpdateIMEState() ignore the call.

MozReview-Commit-ID: 1cydI03WyB8
2017-04-20 13:43:50 +09:00
Ralph Giles 1e2cce29f2 Bug 1358662 - Call VPXDecoder libvpx wrappers for WebM. r=jya
Use the new helper functions instead of calling libvpx directly.
This simplifies adding other codecs in the future.

MozReview-Commit-ID: 8VX0d5S50EE

--HG--
extra : rebase_source : 34be2118bc5d1bfcb6237d7fbe67d8fbc5ef1508
2017-04-24 15:08:50 -07:00
Ralph Giles dcb3a85e19 Bug 1358662 - Implement keyframe and framesize VPXDecoder helpers. r=jya
Encapsulate code from WebMDemuxer to query keyframe and frame
resolution inside VPXDecoder, so we have a clean wrapper for
all the libvpx functions we use.

MozReview-Commit-ID: ASRRhNl0A41

--HG--
extra : rebase_source : e0a27e946a60e0c33ecf4908f1e09436f836e123
2017-04-24 15:05:01 -07:00
Ralph Giles e7a03fe937 Bug 1358662 - Add Span support to MediaRawData. r=jya
MozReview-Commit-ID: A3bHPlk0MQi

--HG--
extra : rebase_source : 4d6bafa6e744d1dce2884a6fa25dd907739e66db
2017-04-21 16:12:55 -07:00
Ralph Giles 318e6f6af0 Bug 1358662 - Store VPXDecoder codec as an enum. r=jya
Use the enum we already have here instead of converting
to an int when we pass it around, giving us better
type checking.

MozReview-Commit-ID: Gj4xmtQnzw2

--HG--
extra : rebase_source : fc7769c9650c59f52bfd8611e6cabb8e5b6d7068
2017-04-24 15:02:54 -07:00
Ralph Giles 9032567bba Bug 1358662 - Store LastSeenFrame dimensions as an nsIntSize. r=jya
This simplifies the comparison and update logic.

MozReview-Commit-ID: A6YII8tlEUn

--HG--
extra : rebase_source : e225b34f91e12591d5872121e024ef29c63a11e0
2017-04-21 18:05:46 -07:00
Andrew Swan 79a787c063 Bug 1352204 Fix test issues with non-MPC extensions r=kmag
Continue to allow non-multiprocessCompatible extensions in automation.
There are a ton of places that would need to be changed, many of which
will be changing soon anyway with the non-webextensions change in 57
so this is mostly the expedient route to keeping the tree green.

MozReview-Commit-ID: EZZoDVdhLfy

--HG--
extra : rebase_source : f83472bc1c88dd0deadbe485d9002499027ff07f
2017-05-03 08:02:51 -07:00
Kris Maglione cfa6b13d1d Bug 1353060: Disable remote frameloaders in small popup widgets. r=kats
Since we now want to support APZ for remote frameloaders in popups, but do not
want to needlessly enable it in simple popup widgets which should never host
remote content, we need to prevent remote content from being loaded into those
popups.

MozReview-Commit-ID: WfjMC2p2eK

--HG--
extra : rebase_source : 51704fa761053e947a2c56706627c8ae903790ee
extra : histedit_source : 463b2c88c28476a824bc2951e0731453016aaa2b
2017-04-17 13:45:08 -07:00
Kris Maglione e77423bec5 Bug 1353060: Use the correct layer manager for frameloaders in <popup>s. r=kats,mattwoodrow
Currently, we only correctly support remote layer trees for frameloaders that
use the same layer manager as their document. Since we need to be able to host
remote <browser> content in popup widgets for remote WebExtensions, we need to
tie the frameloaders to the layer manager of their host element, rather than
the root layer manager for the document.

MozReview-Commit-ID: 4RCsamFBiQw

--HG--
extra : rebase_source : 86bca4ae1c012ff1bb84a9ad796be311cfe580f6
extra : histedit_source : 19577d69430adc8cb38c195f13db2c6de6605c4c
2017-04-17 21:41:18 -07:00
Sebastian Hengst 82e2afb73a Backed out changeset b17aaf7a8689 (bug 1320994) 2017-05-03 13:14:18 +02:00
Sebastian Hengst 7211725673 Backed out changeset c60c97633ac8 (bug 1320994) 2017-05-03 13:14:09 +02:00
Sebastian Hengst 23ee24c08b Backed out changeset cf74f8bacbc1 (bug 1320994) 2017-05-03 13:14:05 +02:00
Gerald Squelart b7520a7dec Bug 1349595 - Check GMP i420 frame size computations. r=cpearce
MozReview-Commit-ID: 9HdCbOKah28
2017-03-31 12:21:22 +11:00
Mats Palmgren 0bf577cd74 Bug 1352093 - Use an integer type for sNumLivingContexts that won't overflow when counting objects. r=mstange
MozReview-Commit-ID: 2w9y0flEdrX

--HG--
extra : rebase_source : 199beffa993b756ef208f6070a9f5c3de0d2fea0
2017-05-03 10:40:51 -04:00
Ben Kelly 6564cff0b5 Bug 1361166 Update mParentStatus synchronously when closing worker thread. r=baku 2017-05-03 07:42:43 -07:00
Gerald Squelart 848c8517bc Bug 1349604 - Check CDM black-frame size computations. r=cpearce
MozReview-Commit-ID: BnnQn5PZPaB
2017-03-31 10:20:32 +11:00
Chris Pearce 12f8d2203e Bug 1352556 - Validate output of MFGetAttributeSize. r=gerald
MozReview-Commit-ID: J1NirhKfTK6
2017-05-01 16:12:27 +12:00