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

57186 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst fdfd8b91d1 Backed out changeset 2560659cda95 (bug 1318273) 2016-11-17 20:57:59 +01:00
Boris Zbarsky c892e11e49 Bug 1318117. Stop using IsCallerChrome in pointerlock API, fullscreen API, and documentURI getter. r=ehsan 2016-11-17 13:49:27 -05:00
Boris Zbarsky 061d3629f1 Bug 1318096 part 9. Remove XPCOM parentnode/childnode APIs. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky e13d617b08 Bug 1318096 part 8. Remove XPCOM element client* APIs. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky 9f04732f13 Bug 1318096 part 7. Remove XPCOM element scroll* APIs. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky 391d35268f Bug 1318096 part 6. Remove XPCOM document.compatMode. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky 31c5bbddb2 Bug 1318096 part 5. Remove XPCOM mozMatchesSelector. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky e6adc66146 Bug 1318096 part 4. Remove the unused XPCOM setCapture/removeCapture. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky c8ec840cee Bug 1318096 part 3. Remove the unused XPCOM fullscreen API. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky dfab9956ca Bug 1318096 part 2. Remove the unused XPCOM pointerlock API. r=froydnj 2016-11-17 13:49:27 -05:00
Boris Zbarsky 0187a18084 Bug 1318096 part 1. Remove unused XPCOM querySelector(All) bits. r=froydnj 2016-11-17 13:49:26 -05:00
Boris Zbarsky 40c3163488 Bug 1317813. Remove the remaining security checks in windowutils, since untrusted script should never have its hands on this object. r=ehsan 2016-11-17 13:49:26 -05:00
Olli Pettay 0afb59fbfd Bug 1317409, handle failing node adoption properly, r=peterv
--HG--
extra : rebase_source : 3ce4ba7c0406d6f96edd7e4da8687fcc55295980
2016-11-17 15:54:12 +02:00
Andrea Marchesini a895bd31ae Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 2, r=qdot 2016-11-17 19:36:21 +01:00
Andrea Marchesini cf2ad8072f Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot 2016-11-17 19:36:01 +01:00
Daosheng Mu 1350fb4f8f Bug 1317706 - Remove Pose WebIDL for sharing the implementation to Pose class. r=bz
MozReview-Commit-ID: Lvu0AOBi5Ti

--HG--
extra : rebase_source : f8458e7eb5d4d356642918c83de5d08f7d76039e
2016-11-17 07:11:00 -05:00
Ehsan Akhgari fa484fb4be Bug 1318356 - Remove the special casing for apps locking screen orientation; r=baku 2016-11-17 12:35:54 -05:00
Ehsan Akhgari 7ca863c4ee Bug 1318344 - Remove the special casing for apps not lying about battery status; r=baku 2016-11-17 12:35:51 -05:00
Ehsan Akhgari 39f3445718 Bug 1318343 - Remove the special casing for apps opening popups; r=baku 2016-11-17 12:35:48 -05:00
Ehsan Akhgari 38a0d7e870 Bug 1318342 - Remove the special casing for apps going fullscreen; r=baku 2016-11-17 12:35:44 -05:00
Ehsan Akhgari d93248e07e Bug 1318217 - Remove AppsUtils; r=baku 2016-11-17 12:08:13 -05:00
Sotaro Ikeda 514c309d12 Bug 1312988 - Separate the recycling allocators for gpu and cpu textures. r=nical 2016-11-14 10:09:39 +01:00
Valentin Gosu 51cb7b5e93 Bug 1317511 - Share captive portal state with the content process r=bagder
MozReview-Commit-ID: 5FnM9DNDWwL
2016-11-17 17:35:24 +01:00
Bob Owen 87b58c6a19 Bug 1147911 Part 9: Ensure file read permissions for file content process on Windows. r=jimm, r=jld 2016-11-17 15:48:53 +00:00
Bob Owen 52529cb9a9 Bug 1147911 Part 8: Create separate content process for file:// URIs. r=gabor, r=gijs, r=smaug 2016-11-17 15:48:53 +00:00
Bob Owen ce1bc7d820 Bug 1147911 Part 7: Create browsing context with no opener if URI needs different process. r=smaug
This also means window.open returns null in the same circumstance.
2016-11-17 15:48:53 +00:00
Bob Owen fb53b5987c Bug 1147911 Part 6: Send remote type down to child. r=gijs, r=smaug 2016-11-17 15:48:52 +00:00
Stone Shih 16335c6088 Bug 1305458 Part13: Refine event target chain creation. r=smaug
MozReview-Commit-ID: 6DEJDoAzjiu

--HG--
extra : rebase_source : 1f7cea9867c99c1f69cfcee27cf3a8119f9c5a25
2016-11-03 11:01:06 +08:00
Stone Shih e5ea1805f2 Bug 1305458 Part12: Refine EventTargetChain flags to reduce overheads. r=smaug
MozReview-Commit-ID: CxiMsVw3ydz

--HG--
extra : rebase_source : b5d2d8acb3d93e69aab6b8551b9e5ab225949f12
2016-11-02 11:39:32 +08:00
Stone Shih ca4ffa27c2 Bug 1305458 Part11: Let HTMLInputElement delegate event handling to it's parent class. r=smaug
MozReview-Commit-ID: 3Ms8Rt7Fqny

--HG--
extra : rebase_source : 8a91423451edb3b840b4e4f1906ff702257a896f
2016-11-01 15:36:04 +08:00
Stone Shih d4a632d2e2 Bug 1305458 Part10: Add test case. r=smaug
MozReview-Commit-ID: 77r8TkLqiil

--HG--
extra : rebase_source : 99011c1e379980cff81f9cd74c4c0b767be58274
2016-10-26 13:07:18 +08:00
Stone Shih 0d63e2a966 Bug 1305458 Part9: Move fire events and set value from HTMLInputElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: AbbIMmmwZMZ

--HG--
extra : rebase_source : fe88fbdd905ef5f2761aaad43085a0deba588367
2016-10-21 19:04:29 +08:00
Stone Shih 5d53222adf Bug 1305458 Part8: Move dispatch XUL command from nsXULElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: QuJSgaaAH9

--HG--
extra : rebase_source : f1175017951e4d815fa8ade342991a33d2d285d5
2016-10-21 17:58:34 +08:00
Stone Shih 0d5527c8ef Bug 1305458 Part7: Refine nsXULElement::GetEventTargetParent. r=smaug
MozReview-Commit-ID: 7ubVChOb04x

--HG--
extra : rebase_source : badbfb7238dcd08870065a4650e50e2c486fefab
2016-10-18 16:55:26 +08:00
Stone Shih 8400e13089 Bug 1305458 Part6: Move fire change event from HTMLTextAreaElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: K0tuWlUOLw7

--HG--
extra : rebase_source : ade1219fe5e90b8c08a596b919a118a0508d23d0
2016-10-21 17:33:41 +08:00
Stone Shih 56a3971717 Bug 1305458 Part5: Move form control frame focus/blur from nsGenericHTMLFormElement::GetEventTargetParent to PreHandleEvent. r=smaug
MozReview-Commit-ID: H8Zn5OdZpyt

--HG--
extra : rebase_source : f4f3c5d46d935f68bd0d765e10e3bbd2a25c1f7f
2016-10-21 16:56:58 +08:00
Stone Shih 07066e00ca Bug 1305458 Part4: Call EventTargetChainItem::PreHandleEvent even it sets mCanHandle=false. r=smaug
MozReview-Commit-ID: H9UAHNJGiOD

--HG--
extra : rebase_source : 4d2a3d8944ed1019ac8e87739eb65441b976dd01
2016-10-22 08:47:30 +08:00
Stone Shih 8f2ec136e1 Bug 1305458 Part3: Add EventTargetChainItem::GetFirstEventTarget. r=smaug
MozReview-Commit-ID: 7EuGKsG9maX

--HG--
extra : rebase_source : 3eb173356333458c0a7b2a53b3868c6412071e10
2016-10-22 09:21:40 +08:00
Stone Shih 6df624de3f Bug 1305458 Part2: Add nsIDOMEventTarget::PreHandleEvent. r=smaug
MozReview-Commit-ID: HiCDTXgNr0l

--HG--
extra : rebase_source : ce3318fac96a1baf86059274230b1e6cae750347
2016-10-21 11:29:34 +08:00
Stone Shih 1ed10ff082 Bug 1305458 Part1: Rename nsIDOMEventTarget::PreHandleEvent to nsIDOMEventTarget::GetEventTargetParent. r=smaug
MozReview-Commit-ID: FM3vDUyLOCb

--HG--
extra : rebase_source : 5a513af84718a6d591f77437a0704984c8fc2b67
2016-10-21 10:11:07 +08:00
Ehsan Akhgari 354db69f04 Bug 1318207 - Remove Navigator.mozPermissionSettings; r=baku 2016-11-17 09:19:13 -05:00
Tobias Schneider bff9de0c6e Bug 1315837 - Crash in mozilla::dom::Element::UpdateIntersectionObservation. r=mrbkap 2016-11-15 15:49:00 +01:00
Andrea Marchesini 3120de1ea7 Bug 1315905 - Cleanup Necko http security check - part 2 - tests, r=valentin 2016-11-17 14:53:30 +01:00
Andrea Marchesini d5b0cbe35a Bug 1315905 - Cleanup Necko http security check - part 1, r=valentin 2016-11-17 14:52:16 +01:00
Carsten "Tomcat" Book 2c792af8f0 Merge mozilla-central to mozilla-inbound 2016-11-17 14:39:33 +01:00
Carsten "Tomcat" Book e0ff800a74 merge mozilla-inbound to mozilla-central a=merge 2016-11-17 14:34:44 +01:00
Alastor Wu 1c128b5ce5 Bug 1317167 - only need to do the untrust JS checking in play(). r=jwwang
The first checking condition in the IsAllowedPlay() is used to prevent the play() operation
is called by untrusted JS when media.autoplay.enabled=false. Therefore, we don't need to check
that in CanActivateAutoplay().

MozReview-Commit-ID: 6yqoG8ISyra

--HG--
extra : rebase_source : a3e52a1a5591691f503d7d4ca78dda63c05aef27
2016-11-17 15:09:59 +08:00
Chris Peterson 26308b5b88 Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats 2016-11-16 13:44:24 -08:00
Jeff Gilbert (:jgilbert) 34864e743e Bug 1290831 - Clarify TexUnpackBlob::TexOrSubImage's fallibility and update callers. - r=cleu
MozReview-Commit-ID: EmkzXwek8JW
2016-11-16 20:44:30 -08:00
Jeff Gilbert (:jgilbert) bc823bdc70 Bug 1316530 - Normalized int/uint count as fixed, and should be treated like floats in BlitFramebuffer. - r=ethlin
MozReview-Commit-ID: FBV0qTDk4pS
2016-11-16 20:44:28 -08:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Aryeh Gregor 0e4353d48a Bug 1002256 - Support CompositionEvent constructor; r=bkelly
All other browsers support a constructor here.  Per current spec, the
constructor does not support .locale, although initCompositionEvent
does.  If we ever decide to standardize .locale, the constructor can be
updated at that point.  (Edge also supports .locale in
initCompositionEvent but not the constructor.  Chrome doesn't support
.locale at all.)
2016-11-16 22:16:22 +02:00
Ehsan Akhgari 04dd7af5b6 Bug 1312101 follow-up: Remove EnsureRequiredPermissions() as well 2016-11-16 15:03:58 -05:00
Ehsan Akhgari dc33b55d94 Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku 2016-11-16 14:51:08 -05:00
Ehsan Akhgari 130dc996d0 Bug 1312101 - Part 1: Remove permission assertions through the message manager; r=baku
Since AddProcessChecker is going away, there's no point in these
permission checks any more.
2016-11-16 14:51:04 -05:00
Boris Zbarsky 04caf50b43 Bug 1317759. Remove LegacyIsCallerChromeOrNativeCode use in Event::GetScreenCoords in favor or caller type checks at the entrypoints where we really care about pretending that our screen is client-area sized. r=smaug 2016-11-16 14:10:22 -05:00
Boris Zbarsky 3815c83ef1 Bug 1317625. Stop using xpc::AccessCheck in WebGL code. r=jgilbert 2016-11-16 14:10:22 -05:00
Boris Zbarsky be79f7def4 Bug 1317990. Remove Event::IsChrome in favor of passing CallerType arguments. r=smaug,bkelly 2016-11-16 14:10:22 -05:00
Ehsan Akhgari 1488007b30 Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus 2016-11-17 08:30:21 -05:00
Ehsan Akhgari 9f297a22d4 Bug 1315146 - Avoid using the Web-facing Range methods in nsTextControlFrame::SetSelectionInternal(); r=baku
The Web-facing methods perform access checks which blow up when the
stars are aligned such that we run this code under a subject principal
that doesn't have access to the anchor node of the selection.
2016-11-17 08:24:09 -05:00
Hiroyuki Ikezoe ae9b44e039 Bug 1304886 - Part 1: Make StyleAnimationValue::Accumulate() infallible. r=birtles
MozReview-Commit-ID: 9ve3k6a3eAg

--HG--
extra : rebase_source : af536ae0bf9dc7ad26003422d971c3cbdb30e390
2016-11-16 20:32:26 +09:00
Ting-Yu Lin 55e3c801ba Bug 1271549 - Remove details and summary preference. r=bz
Bug 1259889 Part 2 [1] cannot be reverted cleanly, so I manually undo those
changes in this patch. That is, remove the ability for html.css to
invalidate dynamically since it was added specifically for details element.

Although reftest-stylo.list explicit mentions "DO NOT EDIT!", but I still
remove details pref from the file, since it doesn't harm to edit it anyway.

[1] https://hg.mozilla.org/mozilla-central/rev/30aaf3805b56

MozReview-Commit-ID: FsyTGQTxujh

--HG--
extra : rebase_source : 25e5a05a8a5a47642772da69f427631fa07e232d
2016-11-16 14:02:58 +08:00
Wes Kocher 609b9922f7 Merge m-c to autoland, a=merge 2016-11-16 17:29:05 -08:00
Andrea Marchesini a7ee323115 Bug 1313420 - Implement Performance.timeOrigin - part 4 - tests, r=me 2016-11-17 12:50:10 +01:00
Andrea Marchesini 3f3797799a Bug 1313420 - Implement Performance.timeOrigin - part 3 - tests, r=me 2016-11-17 11:06:28 +01:00
Andrea Marchesini ad23bdeed0 Bug 1313420 - Implement Performance.timeOrigin - part 2 - tests, r=bz 2016-11-17 10:00:26 +01:00
Andrea Marchesini b0435b9411 Bug 1313420 - Implement Performance.timeOrigin - part 1, r=bz 2016-11-17 10:00:05 +01:00
Michelangelo De Simone 4b90783184 Bug 1317853 - Remove DOM/speakermanager and related code. r=jst
MozReview-Commit-ID: AHkMHalG99K

--HG--
extra : rebase_source : 7f0f47374d1208de97fad90ac9f3098dd5b2b330
2016-11-16 13:14:36 -08:00
Jan-Ivar Bruaroey 42cfd0d3ab Bug 1313966 - Add deprecation warnings to writable RTCSessionDescription. r=drno,smaug
MozReview-Commit-ID: AZAjbgJHTAc

--HG--
extra : rebase_source : 23e368ed80414fb3a9b546b2842d5141dbcb4c0a
2016-11-08 17:50:24 -05:00
Ehsan Akhgari 5690b5e079 Bug 1317983 - Remove navigator.mozBrowserElementProxy; r=baku
This was implemented in bug 1196654 for the b2g system app, and is no longer
being used.
2016-11-16 12:22:14 -05:00
Jonathan Kew eb88ca57ad Bug 1314932 - Reduce content-process startup time on MacOSX by passing the system font list from chrome to content process via the GetXPCOMProcessAttributes message. r=mstange 2016-11-15 13:58:29 +00:00
Joel Maher 15b1c3dd86 Bug 1316629 - migrate dom/html/test/test_img_complete.html to web-platform-test. r=jgraham
MozReview-Commit-ID: 7tyxMzVQ1g2

--HG--
rename : dom/html/test/image.png => testing/web-platform/tests/html/semantics/embedded-content/the-img-element/image.png
2016-11-16 09:43:53 -05:00
Ehsan Akhgari 569f181508 Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Andrea Marchesini 24085dac28 Bug 1317725 -Correct creation of Sliced Remote Blob actorss when used in FormData in workers, r=smaug
--HG--
rename : dom/workers/test/script_bug1301094.js => dom/workers/test/script_createFile.js
2016-11-16 15:04:23 +01:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book fd0ff57dbb Backed out changeset bc0e63d09f83 (bug 1314932) for causing merge conflicts with mozilla-central/autoland and so blocking m-i to m-c merge 2016-11-16 14:51:16 +01:00
Carsten "Tomcat" Book 3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Carsten "Tomcat" Book a669e9f9f5 Backed out changeset af3eb6a8e0ae (bug 1317111) 2016-11-16 14:50:42 +01:00
Carsten "Tomcat" Book cfcaf71156 Backed out changeset f1ff6d4dca5f (bug 1311149) 2016-11-16 14:50:40 +01:00
JW Wang 3f28193e81 Bug 1317570 - Add a mochitest to test 'ended' fires only once when seeking to the end. r=cpearce
MozReview-Commit-ID: KRm1shND6lL

--HG--
rename : dom/media/test/test_seek-13.html => dom/media/test/test_seek-14.html
extra : rebase_source : cba1fa17bf5e422e2b3b7466776c3af4bea66fbb
extra : intermediate-source : a210bbe13f32486bef8074f18f3a736156eb07b0
extra : source : 35579f0aaa8cab2f86bdb13ca1c5166afa577317
2016-11-15 10:41:42 +08:00
JW Wang 91c8b5507f Bug 1317576. Part 7 - remove the assertion that doesn't make sense anymore. r=cpearce
It is possible to call AudioEndTime() in CompletedState::Step() with MedisSink
not started at all. This happens when seeking to the end on a video only file.

MozReview-Commit-ID: 78P72DAPpWI

--HG--
extra : rebase_source : bc3b46ed526ce532f9bd1e23a86961c7a8513ead
2016-11-15 15:13:21 +08:00
JW Wang 23c537597f Bug 1317576. Part 6 - ensure 'playbackEnded' is notified when seeking to the end on a paused media element. r=cpearce
MozReview-Commit-ID: 4fzru2oHaPV

--HG--
extra : rebase_source : 0c2c3e639ec360fe5826cd5bbcd2f0879fa3f158
2016-11-15 12:06:17 +08:00
JW Wang 1927c644dc Bug 1317576. Part 5 - run Step() in CompletedState::Enter() without scheduling an additional cycle. r=cpearce
MDSM might have reached the end of playback. We want to notify 'playbackEnded' ASAP.

MozReview-Commit-ID: FYI6xTWuNSD

--HG--
extra : rebase_source : 293af7b1a550f36895e7c52f67372647027f9143
2016-11-15 11:54:52 +08:00
JW Wang acf75cb684 Bug 1317576. Part 4 - remove unused MediaDecoder::SeekResolveValue. r=cpearce
MozReview-Commit-ID: 9H6e0gFvWeT

--HG--
extra : rebase_source : 268efe92dda716f73a83493a4b3deaa599118fd6
extra : source : 972ed89cd3fb09004424d42c08c806a789c67361
2016-11-14 17:00:53 +08:00
JW Wang c1b6a6bf65 Bug 1317576. Part 3 - remove unused parameter/member. r=cpearce
MozReview-Commit-ID: Ff6a8MKVY8q

--HG--
extra : rebase_source : f89010012e2c5b728109282f640398cde196ab03
extra : source : 66baa9041276b503101651c118f4c6fe0c769db1
2016-11-14 16:47:07 +08:00
JW Wang cb3fa81b1a Bug 1317576. Part 2 - always transition to DECODING when seek is done. r=cpearce
DecodingState::Enter() will check whether decoding is completed and transition to COMPLETED.

MozReview-Commit-ID: 5abPWWulGWo

--HG--
extra : rebase_source : 75e70116c09819d6319c8d51c5685df2b46fea95
2016-11-15 14:53:50 +08:00
JW Wang e130632c8a Bug 1317576. Part 1 - add some helper functions. r=cpearce
MozReview-Commit-ID: FNWmQohsDRq

--HG--
extra : rebase_source : a6678e3a49d914c2dd41cbfb1578fb1ff1303f26
extra : source : cb88a84b569073406516c6e7f588362c68c29f99
2016-11-14 16:31:48 +08:00
Michelangelo De Simone 1c12c5271d Bug 1313788 - Remove DOM/wifi and related code. r=jst
MozReview-Commit-ID: BRT6bSvPpT

--HG--
extra : rebase_source : c5ae9e88e80ae1a9c46bf80439388bd9ef2ba4df
2016-11-08 15:02:45 -08:00
Chris Pearce 0a0e9d8f06 Bug 1317822 - Move GMPCrashHelper into its own file. r=gerald
MozReview-Commit-ID: 7CinZ2Y2Fmz

--HG--
extra : rebase_source : 3b176cbfadebf6463384105c261ff208bc58b1c2
2016-11-16 11:35:36 +13:00
J. Ryan Stinnett 30f5c7c935 Bug 1316718 - Remove ExtensionContent from mozbrowser startup. r=fabrice
MozReview-Commit-ID: 4I5Ox1cQdIg

--HG--
extra : rebase_source : ca8dc8328fe268d91e7e98b1130c16527684a427
2016-11-10 15:38:26 -06:00
Wes Kocher c2c5f83043 Backed out 3 changesets (bug 1271765) for win8 mochitest(5) failures a=backout
Backed out changeset 022a4a018996 (bug 1271765)
Backed out changeset 1d96f03289f8 (bug 1271765)
Backed out changeset 57317a080c99 (bug 1271765)
2016-11-15 10:50:59 -08:00
Chris Pearce eac0e11773 Bug 1317473 - Make GMPService accept paths with mixed dir separators. r=jesup
The mochitest harness on Windows sets MOZ_GMP_PATH to paths with a mixture of
Windows and UNIX dir separators, and the NS_NewLocalFile() call in
GMPServiceParent::AddOnGMPThread() fails on this input.

We've had this problem before, and if we fixed the test harness to give us
input with platform specific line endings somebody would likely just break this
again someday and have this issue again, so just make the GMP service normalize
the paths it's given to have consistent dir separators.

This makes test_peerConnection_basicH264Video.html pass when run
locally on my Windows machine.


MozReview-Commit-ID: 88hSvTdZuWg

--HG--
extra : rebase_source : 2cf63ccd1155e59f9745163cf4a28d3bdb7012ba
2016-11-15 10:56:43 +13:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Andi-Bogdan Postelnicu 65ae72060c Bug 1317241 - Use C++11's override and remove virtual where applicable in dom/ r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 13375a14447ce344214fa30babf540de0a394c6a
2016-11-15 13:09:07 +02:00
Andi-Bogdan Postelnicu 41956514cf Bug 1317241 - Replace integer literals which are cast to bool in dom/. r=baku
MozReview-Commit-ID: 8jUAehd1odv

--HG--
extra : rebase_source : 9ba96ebb87590b97dcda03ac4e6777b6b98a12d1
2016-11-14 11:50:54 +02:00
Andi-Bogdan Postelnicu ae0295a290 Bug 1317241 - Replace string literals containing escaped characters with raw string literals in dom/. r=baku
MozReview-Commit-ID: FGjPRf0g3Yt

--HG--
extra : rebase_source : efe73faf1a5d3f26efea56e985bdbb586a6d1da8
2016-11-14 11:45:55 +02:00
Andi-Bogdan Postelnicu aaf2063029 Bug 1317241 - Replace default bodies of special member functions with = default in dom/. r=baku
MozReview-Commit-ID: 12AHOhrpaNO

--HG--
extra : rebase_source : 7881277a13fe7389b95635ee9b94f1686f56d142
2016-11-14 11:40:37 +02:00
Andi-Bogdan Postelnicu 4df235170d Bug 1317241 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in dom/. r=baku
MozReview-Commit-ID: CST7fV4h20h

--HG--
extra : rebase_source : 663d24e9c15d7b42023f1557b75fb8dabfc9b6a9
2016-11-14 11:35:58 +02:00
Andi-Bogdan Postelnicu b43be84495 Bug 1317241 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in dom/. r=baku
MozReview-Commit-ID: ysMKgcL3YQ

--HG--
extra : rebase_source : 37ac432e1bca84a6ab34ab2b84577b6702ba6413
2016-11-14 11:31:11 +02:00
Carsten "Tomcat" Book f28942ae47 Merge mozilla-central to autoland 2016-11-15 12:34:47 +01:00
Carsten "Tomcat" Book 8cfa5253e8 merge mozilla-inbound to mozilla-central a=merge 2016-11-15 12:26:41 +01:00
Phil Ringnalda aee7b7f39e Merge m-c to autoland 2016-11-14 20:08:18 -08:00
Phil Ringnalda 8562d3859b Backed out changeset a8be4ebc85cf (bug 1313595) for permaorange unexpected assertion in test_referrerdirective.html, a=backout
MozReview-Commit-ID: GxBqDrHHg7z
2016-11-14 18:30:58 -08:00
Carsten "Tomcat" Book c7a033c3e2 merge mozilla-inbound to mozilla-central a=merge 2016-11-14 10:22:06 +01:00
KuoE0 8f59dc3a46 Bug 1316538 - [Presentation WebAPI] Test case for AndroidCastDeviceProvider, r=snorp
MozReview-Commit-ID: 3RU4toTdu36

--HG--
extra : rebase_source : 9eccb34cdd6b6de3cdac062435c4a96ab3a2968d
2016-11-03 18:06:48 +08:00
Iris Hsiao d9a1a0a083 Backed out changeset 9e9727bdc484 (bug 1306314) 2016-11-14 11:07:39 +08:00
Iris Hsiao 891306a89a Backed out changeset 9343cb73c218 (bug 1306314) 2016-11-14 11:07:28 +08:00
Iris Hsiao 8be72fb1e5 Backed out changeset e2a5702d96b0 (bug 1306314) 2016-11-14 11:07:23 +08:00
Iris Hsiao 85b8be1656 Backed out changeset d37e28309560 (bug 1306314) 2016-11-14 11:07:19 +08:00
Iris Hsiao cd600c5ab4 Backed out changeset 5c5600e1f30f (bug 1306314) for bustage 2016-11-14 11:07:13 +08:00
Chris Pearce 21137c728b Bug 1306314 - Allow Widevine CDM process to contain multiple CDM instances and to have persistent storage. r=gerald
This change ensures that we don't create a new random node Id for every
MediaKeys object using Widevine - which has the effect of ensuring
Widevine CDMs that are same origin get created in the same process, and
that persistent storage can be used and retrieved.

MozReview-Commit-ID: K55rkcu9jWo

--HG--
extra : rebase_source : 9bd789d05d1f5ed0a00eeb9870668e6335e899e6
2016-11-14 11:43:45 +13:00
Chris Pearce 14a0cc34ed Bug 1306314 - Use decryptor ID in WidevineAdapter to link decryptors with decoders. r=gerald
Store a mapping of decryptor ID to the CDM instance that the corresponding
WidevineDecryptor is using. This allows us to link GMPDecryptor instances
with the corresponding GMPVideoDecoder.

The CDM is stored inside the CDMWrapper, so that we destroy the CDM instance
when the last reference to the CDM is dropped.

MozReview-Commit-ID: FQYzh77yjoC

--HG--
extra : rebase_source : 7e8c264200e904a4f5a1311f11cd317d98df9791
2016-11-11 15:39:10 +13:00
Chris Pearce 7af167a212 Bug 1306314 - Pipe decryptor ID through to WidevineAdapter. r=gerald
MozReview-Commit-ID: HqRoImDhuFl

--HG--
extra : rebase_source : 7c8459af145e948a15eade34a842df92184353d4
2016-11-11 14:55:56 +13:00
Chris Pearce 5926bef365 Bug 1306314 - Pass decryptor ID to GMPVideoDecoder constructor. r=gerald
Retrieve the ID of the GMPDecryptor from the GMPCDMProxy, and pass that
through to the GMPVideoDecoder's constructor.

MozReview-Commit-ID: IuNsSroZ9Zu

--HG--
extra : rebase_source : 6f1db4a019deaedac07fa15c1958270268dcb941
2016-11-14 11:07:02 +13:00
Chris Pearce ec543ad267 Bug 1306314 - Add an ID to GMPDecryptor instances, reflect that on CDMProxy. r=gerald
This enables us to identify GMPDecryptor instances in the child process, so that
in a later patch when we create a GMPVideoDecoder instance, we can associate it
with a GMPDecryptor. Then the cdm::ContentDecryptionModule8 instance that these
two actors are adapted to can know whom it's supposed to respond to.

We use the IPDL PGMPDecryptorChild actor ID as the GMPDecryptor's ID. This is unique
per GMP process, which is sufficient.

MozReview-Commit-ID: 7NKND9VjPUW

--HG--
extra : rebase_source : 6ea7dfa358f8d13f7d36db5a581fc075268038b7
2016-11-11 12:10:43 +13:00
Jan-Ivar Bruaroey be144a7726 Bug 1318132 - Fix CamerasChild helper to return by value instead of out-of-scope reference (Coverity) r=jesup
MozReview-Commit-ID: 5RQodJ18MbA

--HG--
extra : rebase_source : 16af8788674198ab74cf44c7dc7cd87d1850aff9
2016-11-16 17:09:14 -05:00
Luca Greco ce8c6bf791 Bug 1318006 - Clone originAttributes on cached console message events. r=baku
MozReview-Commit-ID: tnWCa5CsuE

--HG--
extra : rebase_source : ef536e135cd415a9f1f476e30e5636f466a43d31
2016-11-16 18:03:08 +01:00
James Cheng 01e09b0a7f Bug 1317660 - Fix CID 1394336: Resource leaks in TestAudioPacketizer.cpp r=padenot
MozReview-Commit-ID: GAKgI6JVm52

--HG--
extra : rebase_source : d682b06c1d07bb089b73ff4d1473ff6b58b223d0
2016-11-15 18:20:32 +08:00
Stone Shih 86e2bca74e Bug 1315862 Part2: Add a test case to ensure pointer events aren't dispatched in the system group. r=masayuki
MozReview-Commit-ID: 4FR62yYlxAY

--HG--
extra : rebase_source : 634cef3c217ab427d12e8f961c59ed3a1248b267
2016-11-15 10:34:13 +08:00
Stone Shih 5d6aec8c60 Bug 1315862 Part1: Stop dispatching pointer events in the system group. r=masayuki,smaug
MozReview-Commit-ID: 8Xqp3bxlRFt

--HG--
extra : rebase_source : 25afbefb19e5ae613e9e493ea2f275a36004d523
2016-11-11 18:02:37 +08:00
Kilik Kuo f041399009 Bug 1307818-[P2] Setup MediaCrypto for both in-process and out-of-process decode. r=cpearce,jchen
MozReview-Commit-ID: Ehbm2u8LeLg

--HG--
extra : rebase_source : 63ddb16545e254b468e9f72f8c4ad7c957f8b29b
2016-11-16 22:10:01 +08:00
Kilik Kuo 5d9f1e5975 Bug 1307818-[P1] Provide drmStubId for CDMProxy and instantiate {Local,Remote}MediaDrmBridge. r=cpearce,jchen
MozReview-Commit-ID: EFPn4DOZq4D

--HG--
extra : rebase_source : 7f494fe6f6c6db897b50b159fcd001f3181f15cd
2016-11-16 22:09:34 +08:00
Stone Shih 386540035e Bug 1303704 Part3: [Pointer Event] Add test case to ensure preventDefault on pointerdown doesn't impact firing click event. r=masayuki
MozReview-Commit-ID: LiDffeN7hk6

--HG--
extra : rebase_source : e6d14606d07ebe9a17a39b48e13c8c21d11c99d3
2016-11-10 10:11:16 +08:00
Stone Shih 3a1d8c22f0 Bug 1303704 Part2: [Pointer Event] Enable prevent default on pointerdown related test cases. r=masayuki
MozReview-Commit-ID: CqwCm3uAYMW

--HG--
extra : rebase_source : effc632654b0215c5ef87358516d668c0562e1ee
2016-10-14 10:31:28 +08:00
Ray Lin 8c3d97d3bc Bug 1271765 - Part 2: Desktop media control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : e3b49788ddac0537281c8e2fb33c66b31e631db3
2016-10-12 13:31:32 +08:00
Ray Lin 55062c0a73 Bug 1271765 - Part 2: Desktop video control visual refresh. r=jaws
MozReview-Commit-ID: 1GfyGmrhgCs

--HG--
extra : rebase_source : 8d4fc403c481fcdedf3976cdd97cc56ccc8344f9
2016-10-12 13:31:32 +08:00
Bryce Van Dyk 51b7a05529 Bug 1298027 - Shut down CDMs when a containing document becomes inactive. r=cpearce
The previous changeset against this bug relaxed the conditions under which the
CDM and associated objects were shut down. This was to address moving a tab to a
new window breaking EME videos. However, this had the unwanted side effect of
not shutting down those objects early enough when pages are closed.

This changeset introduces a new check to see if the containing document is
currently active, if not we shutdown the CDM. This means CDMs are shutdown on
time, while retaining the desired behaviour that CDMs should not be shut down on
moving tabs to new windows. Shutdowns previously happened because we shut down
if a page hide happened, which took place during a reparent.

MozReview-Commit-ID: K5CD3ej43Y0

--HG--
extra : rebase_source : 28fdc277a89c371ad204d5e545779a5950063494
2016-11-14 15:02:48 +13:00
Bryce Van Dyk 5dbd650b59 Bug 1298027 - Relax decoder shutdown and mediakey removal on MediaElement suspension. r=cpearce
This changeset relaxes the shutting down of decoders and removal of mediakeys
when suspending HTMLMediaElements. This should now only happen for adobe
primetime. This alleviates, for non-primetime CDMs, the issue of videos
breaking when moving an EME protected video from a tab to a new window.

These conditions can be relaxed as neither clearkey or widevine support
secure stop. This means we don't need to shutdown their decoders and keys to
signal a stoppage, as at this stage, doing so doesn't give us secure stop and
instead means that playback is busted when we try to resume.

MozReview-Commit-ID: 3MGNXGGDVLS

--HG--
extra : rebase_source : cbf46b3da089f79d9b6729a02997d1a0a12b68a7
2016-10-31 10:55:19 +13:00
Thomas Nguyen b169621e2e Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
MozReview-Commit-ID: 3V6W0fuRomZ

--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Chris Pearce 6f8b365df3 Bug 1306314 - Allow Widevine CDM process to contain multiple CDM instances and to have persistent storage. r=gerald
This change ensures that we don't create a new random node Id for every
MediaKeys object using Widevine - which has the effect of ensuring
Widevine CDMs that are same origin get created in the same process, and
that persistent storage can be used and retrieved.

MozReview-Commit-ID: K55rkcu9jWo

--HG--
extra : rebase_source : ebca24d2eeb4acd5fb14e0063cf2065c419853b1
2016-11-14 11:43:45 +13:00
Chris Pearce d60faf6fad Bug 1306314 - Use decryptor ID in WidevineAdapter to link decryptors with decoders. r=gerald
Store a mapping of decryptor ID to the CDM instance that the corresponding
WidevineDecryptor is using. This allows us to link GMPDecryptor instances
with the corresponding GMPVideoDecoder.

The CDM is stored inside the CDMWrapper, so that we destroy the CDM instance
when the last reference to the CDM is dropped.

MozReview-Commit-ID: FQYzh77yjoC

--HG--
extra : rebase_source : 772d4bead18a9b88e7f9ee30b0f169a192322e24
2016-11-11 15:39:10 +13:00
Chris Pearce 451c0b5421 Bug 1306314 - Pipe decryptor ID through to WidevineAdapter. r=gerald
MozReview-Commit-ID: HqRoImDhuFl

--HG--
extra : rebase_source : b153d8f7557c0bbf78ed04c01dd11b2400c324a7
2016-11-11 14:55:56 +13:00
Chris Pearce 1b21fde486 Bug 1306314 - Pass decryptor ID to GMPVideoDecoder constructor. r=gerald
Retrieve the ID of the GMPDecryptor from the GMPCDMProxy, and pass that
through to the GMPVideoDecoder's constructor.

MozReview-Commit-ID: IuNsSroZ9Zu

--HG--
extra : rebase_source : d678628dec67a059aec06918f07ea93ecc54a5f9
2016-11-14 11:07:02 +13:00
Chris Pearce b430a8a481 Bug 1306314 - Add an ID to GMPDecryptor instances, reflect that on CDMProxy. r=gerald
This enables us to identify GMPDecryptor instances in the child process, so that
in a later patch when we create a GMPVideoDecoder instance, we can associate it
with a GMPDecryptor. Then the cdm::ContentDecryptionModule8 instance that these
two actors are adapted to can know whom it's supposed to respond to.

We use the IPDL PGMPDecryptorChild actor ID as the GMPDecryptor's ID. This is unique
per GMP process, which is sufficient.

MozReview-Commit-ID: 7NKND9VjPUW

--HG--
extra : rebase_source : da14d9a8a7313a609e30649af1a23e79b3e401fe
2016-11-11 12:10:43 +13:00
Carsten "Tomcat" Book 17a7875e17 Merge mozilla-central to autoland 2016-11-17 14:46:26 +01:00
Jan-Ivar Bruaroey ddcb755bd0 Bug 1318163 - Remove unimplemented and non-spec getStreamById from RTCPeerConnection. r=smaug
MozReview-Commit-ID: CvuxuLEhAz1

--HG--
extra : rebase_source : b1a77420f070d8ff9f1eebb3adfaf6cee1e0fb7a
2016-11-16 18:50:49 -05:00
Dan Minor df1e61fa98 Bug 1308433 - In automation methods, when startTime is < AudioContext.currentTime, clamp to AudioContext.currentTime; r=padenot
MozReview-Commit-ID: ImnxgOiIdnG

--HG--
extra : rebase_source : 57f874281bf9cbb97b6f52bbb3f138b5c35edcc7
2016-11-08 09:29:35 -05:00
Sotaro Ikeda 92926a0f41 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Ehsan Akhgari 0e176830ff Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-15 23:21:28 -05:00
Chris Peterson ad2208605f Bug 1317108 - Stop scanning for the Windows Media Player plugin. r=jimm 2016-11-14 22:20:44 -08:00
Chris Peterson 14e98a8362 Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats
Delayed stop was only used for RealPlayer and forced reentry was only used by delayed stop (nsStopPluginRunnable).
2016-11-14 22:06:53 -08:00
Chris Peterson cd071486d0 Bug 1317110 - Remove QuickTime plugin quirks handling. r=jimm 2016-11-14 22:08:43 -08:00
Chris Peterson c331fa9ecb Bug 1317109 - Remove Acrobat plugin quirk handling. r=jimm 2016-11-14 23:37:44 -08:00
Ehsan Akhgari cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Boris Zbarsky 9fa05c9f15 Bug 1317591. Get rid of IsCallerChrome usage in Navigator. r=bkelly
This restores the throwing behavior for .userAgent/appVersion/platform that was
incorrectly removed in bug 925847.
2016-11-15 17:44:43 -05:00
Joel Maher 2ef6db7b07 Bug 1316606 - fix test_save_restore_radio_groups.html to be run multiple times in the same browser. r=mounir
MozReview-Commit-ID: b1v8Of0BRJ
2016-11-15 13:26:34 -05:00
Milan Sreckovic 7bf73e0916 Bug 1313884: Part 2. Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280 2016-11-15 12:56:16 -05:00
Boris Zbarsky 192d20fb6e Bug 1317606. Get rid of LegacyIsCallerChromeOrNativeCode in barprop code. r=bkelly 2016-11-15 12:46:32 -05:00
Boris Zbarsky 784a52fd02 Bug 1317720. Use NeedsCallerType instead of NeedsSubjectPrincipal for DataTransfer.types. r=mystor 2016-11-15 12:46:32 -05:00
Boris Zbarsky dda84c3ef8 Bug 1317599. Get rid of LegacyIsCallerChromeOrNativeCode use in datatransfer code. r=mystor 2016-11-15 12:46:32 -05:00
Boris Zbarsky e04996b20a Bug 1317597. Stop using LegacyIsCallerChromeOrNativeCode use in nsObjectLoadingContent. r=qdot
These checks date back to when we didn't have webidl bindings and could end up
exposing random XPCOM methods to the web.  That doesn't happen anymore.
2016-11-15 12:46:32 -05:00
Boris Zbarsky f4760a6a1b Bug 1317596. Stop using LegacyIsCallerChromeOrNativeCode in geolocation code. r=jdm 2016-11-15 12:46:32 -05:00
Boris Zbarsky 62e08b6904 Bug 1317367 part 4. Pass an explicit CallerType to HTMLInputElement::GetValueInternal. r=smaug
I'm not 100% sure that I'm being very consistent in my handling of
mFocusedValue, but since that's not used for file inputs, I don't think it
matters much...

A bigger problem is if people start using this caller type for things other than
file inputs.
2016-11-15 12:46:32 -05:00
Boris Zbarsky a59a621bb6 Bug 1317367 part 3. Pass an explicit CallerType to HTMLInputElement::SetValue at all callsites. r=smaug 2016-11-15 12:46:31 -05:00
Boris Zbarsky def4685edd Bug 1317367 part 2. Make HTMLInputElement::GetValue infallible again; just return empty string on OOM. To a first approximation no one checks the return value anyway. r=smaug 2016-11-15 12:46:31 -05:00
Boris Zbarsky 452b292356 Bug 1317367 part 1. Get rid of the XPCOM MozGet/SetFileNameArray methods on HTMLInputElement. r=smaug 2016-11-15 12:46:31 -05:00
Boris Zbarsky bc74bb03f3 Bug 1316661 part 6. Get rid of nsIObjectLoadingContent.hasRunningPlugin, since it's unused. r=smaug 2016-11-15 12:46:31 -05:00
Ms2ger 562f01a27a Bug 1316636 - Remove Web Storage tests from imptests; r=jgraham
These should not be platform-specific, and already run in web-platform-tests.
2016-11-15 18:40:59 +01:00
Andrea Marchesini 824b91b129 Bug 1317688 - Get rid of old code in IPC Blob, r=qdot 2016-11-15 18:15:57 +01:00
Andrew McCreight 12eaf5ca37 Backed out changeset 63cafb0c2f0f (bug 1315837) for causing bug 1317415. 2016-11-15 07:59:24 -08:00
Jonathan Kew 48a1d6a49a Bug 1314932 - Reduce content-process startup time on MacOSX by passing the system font list from chrome to content process via the GetXPCOMProcessAttributes message. r=mstange 2016-11-15 13:58:29 +00:00
Carsten "Tomcat" Book 106d39cf20 Merge mozilla-central to mozilla-inbound 2016-11-15 12:33:34 +01:00
Ori Avtalion 47bbf163ee Bug 424390 - Implement MouseEvent.x / MouseEvent.y (for CSSOM View). r=smaug 2016-11-02 21:49:18 +02:00
Boris Zbarsky 1214667549 Bug 1270366. PluginArray and Plugin should have unenumerable named properties. r=bkelly 2016-08-31 10:57:40 -04:00
Boris Zbarsky 170792feb9 Bug 1270364. MimeTypeArray should have unenumerable named properties per spec. r=bkelly 2016-08-31 10:57:40 -04:00
Boris Zbarsky e46938f336 Bug 1316661 part 5. Eliminate IsCallerChrome caller in HTMLTextareaElement. r=smaug
The WebIDL caller of SetUserInput is [ChromeOnly] and the other callers are all C++ code that should be able to set the value.
2016-11-15 00:18:33 -05:00
Boris Zbarsky b80b8248f9 Bug 1316661 part 4. Eliminate IsCallerChrome callers in HTMLMenuElement. r=smaug 2016-11-15 00:18:33 -05:00
Boris Zbarsky dd2655ba39 Bug 1316661 part 3. Eliminate IsCallerChrome callers in nsGenericHTMLElement. r=smaug
The only nsGenericHTMLElement::GetEditor callers are
HTMLInputElement::GetEditor/HTMLTextareaElement::GetEditor (the XPCOM-y
versions), which are only called from C++ and only from two places: a11y code,
which forces itself to look like system, and typeaheadfind, which would break
badly if it could not get an editor.  So that security check simply shouldn't
exist.

The script API doesn't call down into here _and_ is [ChromeOnly] in the webidl
already.
2016-11-15 00:18:33 -05:00
Boris Zbarsky f8f080a512 Bug 1316661 part 2. Eliminate IsCallerChrome callers in HTMLDocument. r=smaug 2016-11-15 00:18:33 -05:00
Boris Zbarsky 4f1a0ffdd3 Bug 1316661 part 1. Eliminate IsCallerChrome callers in HTMLCanvasElement code. r=smaug 2016-11-15 00:18:32 -05:00
Boris Zbarsky 6f654ebcfb Bug 1316951. The "select" events fired by HTMLInputElement code should always be trusted, since they always correspond to an actual attempt by the browser to select the text in the control. r=smaug 2016-11-15 00:18:32 -05:00
Kate McKinley dcbe139332 Bug 1317115 turn off HSTS priming to suppress perma-orange a=test-only
MozReview-Commit-ID: I1bNquP4yT7
2016-11-15 10:52:45 +09:00
Kate McKinley 5565f4d518 Bug 1313595 Reduce timeout for HSTS priming channels r=mayhemer
Default is 3 seconds

MozReview-Commit-ID: 47hoaTEL9hV
2016-11-08 17:49:39 +09:00
Phil Ringnalda e6d762ce0a Merge m-c to m-i
MozReview-Commit-ID: 8EtDxYJKROa
2016-11-14 20:09:21 -08:00
Nicholas Nethercote 7f263d232a Bug 1317221 - Used vector delete where required in TestAudioSegment.cpp. r=padenot. 2016-11-14 17:20:05 +11:00
Jeff Gilbert (:jgilbert) fe681ec2cb Bug 1308057 - Add to interface list. - r=qdot
MozReview-Commit-ID: Rk7c100tgE
2016-11-14 15:32:06 -08:00
David Anderson 4664a9b713 Finish initializing TabChild rendering state even if compositing IPC is lost. (bug 1314520 part 2, r=billm) 2016-11-14 14:58:22 -08:00
David Anderson 35a5efddda Don't trigger a ProcessingError when we fail to send a PAPZConstructor. (bug 1314520 part 1, r=rhunt) 2016-11-14 14:58:18 -08:00
Jeff Gilbert (:jgilbert) 7fa6343d06 Bug 1308057 - GPU_DISJOINT is false unless we have the ext. - r=ethlin
MozReview-Commit-ID: vvBJZV4DcW
2016-11-14 14:05:25 -08:00
Jeff Gilbert (:jgilbert) 42a8668d88 Bug 1308057 - Use pointer-to-query-slot for is-active status. DeleteQuery should clear its slot if it has one. - r=ethlin
MozReview-Commit-ID: 9xY6NzwKOz3
2016-11-14 14:05:19 -08:00
Jeff Gilbert (:jgilbert) ae22cd7d19 Bug 1308057 - GetQuery(CURRENT_QUERY) should return null for target mismatch, for targets that share the same slot. - r=ethlin
MozReview-Commit-ID: 27HPXBjBQ6k
2016-11-14 14:05:14 -08:00
Jeff Gilbert (:jgilbert) 175d62e1af Bug 1308057 - Fix errors. - r=ethlin
MozReview-Commit-ID: I7bd7xOa2YR
2016-11-14 14:05:08 -08:00
Jeff Gilbert (:jgilbert) 08d994ea5d Bug 1308057 - WebGL objects should not be no-interface. - r=qdot
MozReview-Commit-ID: E4ez6Km9fQl
2016-11-14 14:05:03 -08:00
Jeff Gilbert (:jgilbert) da9ef5ebbd Bug 1308057 - Update tests. - r=ethlin
MozReview-Commit-ID: Fl3ofikbPdP
2016-11-14 14:04:57 -08:00
Jeff Gilbert (:jgilbert) ce6d0809a4 Bug 1308057 - EXT_disjoint_timer_query is no longer Draft. - r=ethlin
MozReview-Commit-ID: ETtrxQcwPgg
2016-11-14 14:04:52 -08:00
Jeff Gilbert (:jgilbert) 79d1dbc149 Bug 1308057 - Update bindings. - r=qdot
MozReview-Commit-ID: AA79s0qaRzT
2016-11-14 14:04:47 -08:00
Jeff Gilbert (:jgilbert) b054199751 Bug 1308057 - Merge WebGLTimerQuery into WebGLQuery. - r=ethlin
MozReview-Commit-ID: 88b8DLd2uJ6
2016-11-14 14:04:41 -08:00
Jeff Gilbert (:jgilbert) bd6c33a960 Bug 1308057 - retvals should start null, and missing return. - r=ethlin
MozReview-Commit-ID: FEOoKQBy7Hk
2016-11-14 14:04:35 -08:00
Jeff Gilbert (:jgilbert) 339b4f9e3a Bug 1308057 - Convert WebGLExtensionDisjointTimerQuery.cpp to 4-space.
MozReview-Commit-ID: A9llSqU5ghR
2016-11-14 14:04:30 -08:00
Jeff Gilbert (:jgilbert) d945e6a8f8 Bug 1316778 - Update IDL and bindings. - r=qdot
MozReview-Commit-ID: COMYaZMv5GI
2016-11-14 14:00:17 -08:00
Jeff Gilbert (:jgilbert) f753eb7394 Bug 1316778 - Update ES3 compressed format ext name to _etc. - r=ethlin
MozReview-Commit-ID: CEBhyYXkLKa
2016-11-14 14:00:12 -08:00
Jeff Gilbert (:jgilbert) d4f208dbfa Bug 1316829 - DataViews are part of ArrayBufferView. - r=waldo
MozReview-Commit-ID: L0Xauoo2nJh
2016-11-14 13:02:48 -08:00
Ben Kelly a0edcc6fcb Bug 1316837 P2 Verify that navigating to a window with an iframe right after sync xhr does not trigger assertions. r=smaug 2016-11-14 12:51:44 -08:00
Ben Kelly 4332e670f2 Bug 1316837 P1 Only allow suspend/resume/freeze/thaw on current inner windows. r=smaug 2016-11-14 12:51:43 -08:00
David Anderson 2c5e03e62e Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt) 2016-11-14 11:47:01 -08:00
Olli Pettay 40390feb7f Bug 1317030 - Removing/reattaching an element from the DOM triggers spurious mouseenter events, r=masayuki
--HG--
extra : rebase_source : 16852ef14f57b5133484db9a03bad5c4be78740b
2016-11-14 13:19:11 +02:00
Andrea Marchesini 9f4ca5a041 Bug 1310483 - Implement nsIURIWithQuery for having query part in simple URI, r=valentin 2016-11-14 13:04:33 +01:00
Sylvestre Ledru caf1487b6c Bug 1317430 - Avoid a unnecessary copy by passing a const & in dom/media/ r=jya,pehrsons
MozReview-Commit-ID: 9MDVY9mgui0

--HG--
extra : rebase_source : d077c3f4d39e9914c591a0ef671a7db99679c608
2016-11-14 23:15:53 +01:00
Sylvestre Ledru 30ee480275 Bug 1317430 - Avoid a unnecessary copy by passing a const & in dom/base/ r=smaug
MozReview-Commit-ID: A70LY4ekX8E

--HG--
extra : rebase_source : e370a9637d5c57507feb2dee164145a5992b5645
2016-11-14 23:15:46 +01:00
JW Wang b7474df3ed Bug 1316543 - Fix the calculation of VideoSink::mVideoFrameEndTime. r=cpearce
MozReview-Commit-ID: 4p34iXLtQz5

--HG--
extra : rebase_source : e084436cd88e7bea9000422a7e57d8f343c26f41
2016-11-10 17:12:01 +08:00
JW Wang b92123ae34 Bug 1314554 - Don't enter dormant when the media is not seekable. r=jya
This change deals with chained ogg files. A decoding error is encountered
even without seeking when exiting dormant. For now, we disable dormant
for there files that are not seekable to avoid playback looks broken
(due to decode error when exiting dormant) on Firefox.

MozReview-Commit-ID: 72axKPHwoIi

--HG--
extra : rebase_source : f6b27da3d7c0428401d4c0a72f716be5739c5055
extra : source : ea0b9c2dd90206ed4fa41f4eb7446dd9b740e899
2016-11-09 14:21:16 +08:00
James Cheng abcc5095b5 Bug 1314863 - Correct data sample being fed twice to the decoder r=jya
MozReview-Commit-ID: 2TmHiLju0C4

--HG--
extra : rebase_source : 1dc08471d0cd2df393fecaa53b8bd6cc9b457f58
2016-11-10 17:52:39 +08:00
Kate McKinley b8eeda422c Bug 1313595 Reduce timeout for HSTS priming channels r=mayhemer
Default is 3 seconds

MozReview-Commit-ID: 47hoaTEL9hV

--HG--
extra : rebase_source : 6954dc92966122b15c60f19f5e91086fcd859728
2016-11-08 17:49:39 +09:00
Michelangelo De Simone 84c6b489b3 Bug 1312800 - Remove dom/inputport. r=jst
MozReview-Commit-ID: BhvPV6lIWd3

--HG--
extra : rebase_source : 647c6531521c7317144c7bc436753be8c57f1327
2016-11-10 15:39:45 -08:00
Gerald Squelart adda9b7a03 Bug 1316524 - Use 'media.wmf.skip-blacklist' to set some gfxVars - r=mattwoodrow
Reversing bug 1313343, as MediaPrefs are not available from the UI process.
Instead media.wmf.skip-blacklist is used when setting D3D-blacklisting gfxVars,
leaving them empty if we want to skip these blacklists.

MozReview-Commit-ID: JYED4ovC0jq

--HG--
extra : rebase_source : 087230ba95927ced52d7af502b96a988b4077c31
2016-11-11 11:25:52 +11:00
Wes Kocher cee41d5b80 Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
Carsten "Tomcat" Book cc5d30c616 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 658b3ffdfa71afff2d44129f50e50e2fbecbd06e
2016-11-11 16:43:07 +01:00
Alastor Wu b2b31d2a59 Bug 1308153 - part1 : notify tabbrowser when the tab was blocked. r=baku,jaws
We need to notify tabbrowser about media-blocking so that we can show the unblocking tab icon.
See bug1308399 for more UX details.

MozReview-Commit-ID: E25lEhZLCZk

--HG--
extra : rebase_source : dcb6cb520bb0983010dfcc728f7251994a886612
2016-11-11 10:42:35 +08:00
Liang-Heng Chen ca7dc68893 Bug 1313641 - Initialize nsProtocolProxyService earlier. r=bsmedberg
MozReview-Commit-ID: BzKW9hwVTSu

--HG--
extra : rebase_source : 5e79dfc43e3f2b8a3ebe38e417419b1ae44b4415
2016-11-08 19:56:00 -05:00
Neil Deakin 3e2bb046b6 Bug 1310403, Remove special mouse handling for buttons which fixes extra focus events, r=smaug 2016-11-11 10:30:36 -05:00
Andrea Marchesini 957bc33d4a Bug 1313762 - SharedWorker::PreHandleEvent must be able to deal with widget events, r=smaug 2016-11-11 16:23:32 +01:00
Carsten "Tomcat" Book dc9b560f7d Backed out changeset f03cd54afbc1 (bug 1263304) for causing frequent timeouts in test_has_permissions.html 2016-11-11 10:48:20 +01:00
Carsten "Tomcat" Book e84cb96866 Backed out changeset b2d3c6629a37 (bug 1263304) 2016-11-11 10:47:43 +01:00
Carsten "Tomcat" Book 933a225285 Backed out changeset 2c423ac723b6 (bug 1263304) 2016-11-11 10:47:42 +01:00
Carsten "Tomcat" Book c2fda627e6 Backed out changeset 829e818cd4c3 (bug 1263304) 2016-11-11 10:47:37 +01:00
Phil Ringnalda be66b650bb Backed out changeset bb4879b87c17 (bug 1313884) because bad things happen @mozilla::dom::CanvasRenderingContext2D::DrawImage all the time
CLOSED TREE
2016-11-10 23:28:02 -08:00
Alastor Wu db0967a435 Bug 1300016 - only suspend web-speech when mUtterance exists. r=eeejay
MozReview-Commit-ID: E29qJ1sgZ5c

--HG--
extra : rebase_source : c62783ac2bf0d3d7e357542f40504be212c317d6
2016-11-07 17:49:13 +08:00
Gerald Squelart 0affeb4ab0 Bug 1316432 - Fix nsCOMPtr constructions&assignments from 0 - r=froydnj
Giving '0' (literal zero) to nsCOMPtr is now ambiguous, as both
nsCOMPtr(decltype(nullptr)) and nsCOMPtr(T*) could be used.
In any case, our coding standards mandate the use of 'nullptr' for pointers.
So I'm changing all zeroes into nullptr's where necessary.

MozReview-Commit-ID: LXiZTu87Ck6

--HG--
extra : rebase_source : f9dcc6b06e9ebf9c30a576f9319f76a51b6dc26f
2016-11-10 14:11:27 +11:00
Daosheng Mu b3d0fb146a Bug 1299932 - Part 2: Support gamepadPose in GamepadManager; r=kip,lenzak800
MozReview-Commit-ID: 9wKxQIxaPbI

--HG--
extra : rebase_source : 33775aa408a6688f5d1ec8c277082a6675b0f720
2016-10-24 18:06:52 +08:00
Daosheng Mu 7168326772 Bug 1299932 - Part 1: Implement gamepadPose attribute in Gamepad API; r=kip,qdot
MozReview-Commit-ID: DiJadVc2TyE

--HG--
extra : rebase_source : f4571090518a084b6d4b1e6fccf951510b227fbd
2016-10-24 18:04:41 +08:00
Daisuke Akatsuka b3ef492bb9 Bug 1064937 - Part 2: Add tests. r=birtles
MozReview-Commit-ID: GnFktARb4Z7

--HG--
extra : rebase_source : 17971643d95d299d1eba70c8ada341dccac34457
2016-11-11 16:40:53 +09:00
Daisuke Akatsuka b0388916e5 Bug 1064937 - Part 1: CSS Animations and Transitions should support transitions/animations of non-interpolable properties. r=birtles,pbro
MozReview-Commit-ID: 4kMytRCKK79

--HG--
extra : rebase_source : 864b568a96b399231a1cb75742d8c428f5ee2c5c
2016-11-11 16:40:38 +09:00
Kate McKinley 5ef79ef9a4 Bug 1313596 - Increase HSTS Priming default cache timeout. r=mayhemer
MozReview-Commit-ID: 6sHuB4wIEu4

--HG--
extra : rebase_source : 9672c18384efe24f6cb5e1aa455217e37a97db90
2016-11-10 00:30:00 -05:00
Milan Sreckovic 09875b84c7 Bug 1313884 - Part 2: Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280
--HG--
extra : rebase_source : 14ff98dde9eeccb1bbdeb0ccb9b6dcba75d5ebf2
2016-11-10 10:26:00 -05:00
William Chen c6ad2d8bd7 Bug 1316347 - Only expose the HTMLShadowElement and HTMLContentElement interfaces when web components are enabled. r=smaug 2016-11-09 14:41:25 -08:00
Catalin Badea 514563efd9 Bug 1263304 - Enable debugging statements in test_has_permissions.html r=me a=testonly 2016-11-11 00:07:15 +02:00
Catalin Badea 9abfeeb183 Bug 1263304 - Add a mochitest for asynchronously calling waitUntil(). r=bkelly 2016-11-11 00:07:15 +02:00
Catalin Badea 41a29766a9 Bug 1263304 - Allow waitUntil() to be called asynchronously. r=bkelly
The behaviour is changed in two ways:
1. waitUntil() will now wait for each promise separately, even if one of
   them is rejected.
2. Extensions can be added asynchronously as long there is a pending
   waitUntil promise.
2016-11-11 00:07:15 +02:00
Catalin Badea 18617f0ce0 Bug 1263304 - Move Service Worker MessageEvent dispatching code to ServiceWorkerPrivate. r=bkelly
This refactoring makes it easier to modify the behaviour of lifetime
extensions by having a single call path for all extendable events.
2016-11-11 00:07:15 +02:00
Luke Wagner 84acedae80 Bug 1316447 - Baldr: add WebAssembly.instantiate (r=bbouvier)
MozReview-Commit-ID: K5gVaOzkaCg

--HG--
extra : rebase_source : 3b3331ebd6531042c4069acb4dc4691f8025b90a
2016-11-10 10:19:14 -06:00
Carsten "Tomcat" Book f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Carsten "Tomcat" Book 4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
Carsten "Tomcat" Book 05f854f094 Backed out changeset b04c5c12b200 (bug 1316486) for webgl failures 2016-11-10 12:37:05 +01:00
Carsten "Tomcat" Book d99cbddf48 Backed out changeset d32e0a4ff68c (bug 1314863) on request from jya 2016-11-10 11:02:32 +01:00
Phil Ringnalda fdc221b30f Backed out changeset 43835f5fa2b2 (bug 1314707) for crashes @ mozilla::a11y::ProxyDestroyed
MozReview-Commit-ID: 9jIOao58gMQ
2016-11-09 19:33:25 -08:00
Phil Ringnalda e7fdca7c8d Backed out 6 changesets (bug 1301340, bug 1303113) for landing too close to a merge and causing leaks and test failures
Backed out changeset adfcc194af1c (bug 1303113)
Backed out changeset 085035586d2b (bug 1303113)
Backed out changeset 81f3bb541c86 (bug 1301340)
Backed out changeset 05c42cf92851 (bug 1301340)
Backed out changeset cb45e90f6596 (bug 1301340)
Backed out changeset f54a717c6fc6 (bug 1301340)

MozReview-Commit-ID: BkwhFJNtF7G

--HG--
extra : rebase_source : cc47ef8587f08b12b53406efee1d5b915d3c833a
2016-11-09 19:11:12 -08:00
Petr Sumbera 8d9f7a34d1 Bug 1315686 - Rename DS to avoid macro conflict on Solaris. - r=jgilbert
MozReview-Commit-ID: 7rLiD8Ux9VN
2016-11-09 19:01:47 -08:00
Aaron Klotz 37a3b973b9 Bug 1314707: Replace PDocAccessible::SendCOMProxy with new parameter to PDocAccessibleConstructor and async RecvParentCOMProxy call in child. Sending of a11y events from child to parent is now deferred until DocAccessibleChild::RecvParentCOMProxy is called; r=tbsaunde
--HG--
extra : amend_source : 59d080ee7370d62211d7c9f8ca5ef17870bfe500
2016-11-09 15:24:58 -07:00
Andrea Marchesini 2a67089dc3 Bug 1316264 - Return value of nsIEventTarget::IsOnCurrentThread() must be checked correctly in RemoteBlob, r=bkelly 2016-11-09 18:21:16 +01:00
Carsten "Tomcat" Book 5b3af6e85f Merge mozilla-central to mozilla-inbound 2016-11-09 16:39:18 +01:00
Carsten "Tomcat" Book 846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Sebastian Hengst 115286c614 Backed out changeset 9c1069e2a42e (bug 1236222) for failing xpcshell test test_csp_reports.js. r=backout 2016-11-09 11:31:38 +01:00
Yoshi Huang f69409d97b Bug 1315927 - ignore firstPartyDomain and userContextId in PermissionStatus. r=baku 2016-11-09 18:04:31 +08:00
Tanuja Sawant 134e80abde Bug 1236222 - CSP: Blocked URI should be empty for inline violations. r=ckerschb 2016-11-07 19:22:53 +05:30
Matt Woodrow 815b1ded77 Bug 1315144 - Add new non-fatal media error so that we recreate decoders when the GPU process crashes. r=jya 2016-11-08 15:22:37 +13:00
Matt Woodrow f880884b57 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Gabor Krizsanits b6946deed5 Bug 1301340 - part8: Few more tunr-offs. r=me 2016-11-09 14:44:25 +01:00
Gabor Krizsanits fcb38b7051 Bug 1301340 - part7: Turning off some tests temporarily to enable e10s-multi 2. r=mrbkap 2016-11-09 14:44:21 +01:00
Masatoshi Kimura 293cc1082e Bug 1313280 - Suppress warnings from third-party sources. r=glandium
MozReview-Commit-ID: 4R6mPbWIrAm

MozReview-Commit-ID: D15liHKGXHv

MozReview-Commit-ID: KQj3wDLxRZI

--HG--
extra : rebase_source : 4743f1ed016dd8ce488f3cda1ea97ebba072c266
extra : source : 84f6d4e2d33bdf2d9f88d280894a7a5364cf451d
2016-11-04 22:51:17 +09:00