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

65153 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 7f215371c0 Backed out changeset cb1548354e0c (bug 1352559, part 3) for causing *many* crashes in Nightly. r=backout 2017-07-17 09:41:29 +10:00
Emilio Cobos Álvarez bac7c683b4 No bug: Fix some typos. r=comment-only
DONTBUILD

MozReview-Commit-ID: hy22pz4YCt
2017-07-16 17:35:54 +02:00
Kris Maglione 2cdd464241 Bug 1379508: Part 2 - Ignore transforms when calculating child process offsets. r=kats
The current code is wrong in several ways when transforms are applied, but
even if it were correct, it would give the wrong behavior. See comment in
patch for more details.

MozReview-Commit-ID: 3RaPuvENnWa

--HG--
extra : rebase_source : 25aab67e56f157bdfa500aa7cf029c6ebe90e12a
extra : absorb_source : 4da2fd9f11e008b7b70b86b184ade673a68e6978
2017-07-13 15:33:25 -07:00
Kris Maglione a2e2fa50da Bug 1379508: Part 1 - Apply the correct client offsets to remote frameloaders in popup widgets. r=kats
On-screen coordinates for points in remote frameloads are calculated relative
to the screen origin of the top-level window, while event coordinates are
calculated relative to the nearest widget. Since popups have their own widgets
separate from the top-level window, their native client offsets have no
particular relation to the origin of the top-level window, and we need to
manually calculate them relative to the origin of the top-level widget
instead.

MozReview-Commit-ID: EDyEyu37XuY

--HG--
extra : rebase_source : 5d3f7a3fb9518d7a0cf149b8c2f579805d75eb3b
extra : absorb_source : f48ee4b131ff67ae686d12f81ed2ad19b934e81e
2017-07-13 15:31:55 -07:00
JW Wang b9b872859b Bug 1380574 - remove the call to MediaDecoderOwner::DecodeWarning() from MediaFormatReader. r=gerald
Note we will move OnDecodeWarning() from MDR to MFR when removing MDR.

MozReview-Commit-ID: 92jpwy6ghH2

--HG--
extra : rebase_source : 72e84f364cdab589efe60e70a071816cb4404955
extra : intermediate-source : fc7ff704e2096935b949ed8b9f6e73945db56a79
extra : source : 6e65a382de5de478948d434fc238a6afe231d2ac
2017-07-13 15:02:06 +08:00
JW Wang cf0ba2ea01 Bug 1380569. P3 - remove AbstractMediaDecoder::NotifyWaitingForKey() and its callers. r=gerald
MozReview-Commit-ID: 3fHDr0xw92P

--HG--
extra : rebase_source : 07ca1ae4e8d65e66beca2d1eb0de232ec6e291fb
extra : intermediate-source : d367e33cc9c132abb9e66aae652f4bbbf4f58be1
extra : source : 029ccea837ef1948bd33ce1d786626f362c41bdf
2017-07-13 14:52:05 +08:00
JW Wang dfccb2f79b Bug 1380569. P2 - plumb the 'waitingForKey' event into the media element. r=gerald
Note we put OnWaitingForKey() in MediaDecoderReader for MediaDecoder references
MDR instead of MFR. The function will be moved into MFR when we remove MDR and
have MediaDecoder reference MFR instead.

MozReview-Commit-ID: LBGfGmc6yFm

--HG--
extra : rebase_source : 473c95cf6eb5e7e4065f9c1251af7dacb78538a5
extra : intermediate-source : 85981e2bafa1047f8321c02de6f0726c32506811
extra : source : 5203bf6895273701ef36a81d2e827e7a7c219fdb
2017-07-13 14:49:23 +08:00
JW Wang 5cf374a225 Bug 1380569. P1 - rename CannotDecryptWaitingForKey() to NotifyWaitingForKey() and add the function to MediaDecoderOwner. r=gerald
We will use MediaEventSource to plumb the event from MFR to the media element.

MozReview-Commit-ID: 4gaEx7vYybE

--HG--
extra : rebase_source : fd595399e2db4e76ad117636768e160c2f054775
extra : intermediate-source : 1fc86c40dc83e79306c721b1acb0f31803181509
extra : source : d24b62a6041966b2639e5543c9ecccc4f7656a0d
2017-07-13 14:41:09 +08:00
bechen f039a8f5a1 Bug 1378285 - Modify the generateREF.html to resolve the output limit of console. r=alwu
MozReview-Commit-ID: Aneusk1hYK8

--HG--
extra : rebase_source : 30f47a11f2838eeaa9260695ae02b68c171902c5
2017-07-17 11:35:51 +08:00
bechen 994ca796b2 Bug 1378285 - Last frame reftest for bipbop.mp4 . r=alwu
MozReview-Commit-ID: 2mvJgIIyWIU

--HG--
extra : rebase_source : c6bf738f1c8e0d1718e85656a770f17a05e720df
2017-07-14 18:37:05 +08:00
Kaku Kuo 5547aba3cd Bug 1378691 P4 - skip to next key frame if the playback position is very close to it; r=jwwang
MozReview-Commit-ID: Gm0iZAHVLpS

--HG--
extra : rebase_source : e1bc9da5b809cba474983b804085dca21473b3ac
2017-07-12 17:03:45 +08:00
Kaku Kuo 4175fed6b6 Bug 1378691 P3 - return next key frame time back to MDSM; r=jwwang
MozReview-Commit-ID: LVhJ0DpM24c

--HG--
extra : rebase_source : 4aefd89a2cc2243538c248977bfff79731fc2946
2017-07-11 10:15:33 +08:00
Kaku Kuo 04ba592fac Bug 1378691 P2 - trigger skip-to-next-key-frame if the video decoding is too slow; r=jwwang
MozReview-Commit-ID: B0stJG3eOKU

--HG--
extra : rebase_source : 16cecd28bd6a5422135aa7700f3664bb9b5fd1c6
2017-07-11 09:59:13 +08:00
Kaku Kuo a1b039d4a5 Bug 1378691 P1 - drop video until catch up playbak position for video-only seek; r=jwwang
MozReview-Commit-ID: 86BhQDbM7xV

--HG--
extra : rebase_source : 105ad54c3ab5c659ebcbda539beb480a93a66aa5
2017-07-11 09:56:09 +08:00
Wes Kocher ee45f814bb Merge m-c to autoland, a=merge
MozReview-Commit-ID: GOb2bgdUd36
2017-07-14 17:27:36 -07:00
Wes Kocher e9fa5c772a Merge inbound to central, a=merge
MozReview-Commit-ID: 8nlqm5dHCUQ
2017-07-14 17:14:43 -07:00
Haik Aftandilian 88b1e4c7ca Bug 1380132 - Part 3 - Use env variable MOZ_DEVELOPER_OBJ_DIR to whitelist object dir in content sandbox. r=Alex_Gaynor
On developer builds, use $MOZ_DEVELOPER_OBJ_DIR to whitelist the object dir in the content sandbox so that symlinks to the object dir from .app/ files can be loaded.

MozReview-Commit-ID: J4YdpxgbD8i

--HG--
extra : rebase_source : 19e369fe9ae29418d9d79e1fb83246474d858f34
2017-07-14 16:32:53 -07:00
Tim Taubert 4d50b6bd73 Bug 1380954 - Forward WebAuthnTransactionInfo::TimeoutMS() to U2F*TokenManagers r=jcj
The U2FSoftTokenManager is a synchronous implementation and thus didn't need a
timeout so far. We need it for the U2FHIDTokenManager though to let user
interaction timeout properly.

Thus, add a timeout argument to the methods required by the U2FTokenTransport
interface and forward that to the token manager implementations.
2017-07-14 19:27:53 +02:00
Haik Aftandilian 396e7d4ffc Bug 1380132 - Part 1 - Normalize() .app paths used in sandbox profiles. r=Alex_Gaynor
MozReview-Commit-ID: GjQk5ahpzrj

--HG--
extra : rebase_source : 5995030b43f49f9dca6911adb93b887fc7661b0e
2017-07-11 17:03:23 -07:00
Andrew McCreight 67b9f69717 Bug 1379786, part 5 - Call GetIsSystemPrincipal() rather than keeping alive some refs to the sec man in XUL template code. r=mrbkap
MozReview-Commit-ID: C2sPzrhdsrT

--HG--
extra : rebase_source : 19ba90c1850717d24530e91f291300f3c01eb9bf
2017-07-10 15:12:51 -07:00
Andrew McCreight bf7fff95f0 Bug 1379786, part 4 - Use GetIsSystemPrincipal() method instead of going through secman in CHECK_PRINCIPAL_AND_DATA. r=mrbkap
MozReview-Commit-ID: INBsjjxbXZz

--HG--
extra : rebase_source : fd6d491d01acc70be1bf51e25ec31bbcde81344a
2017-07-10 15:00:03 -07:00
Andrew McCreight 7d840ff35e Bug 1379786, part 3 - Remove sSecurityManager from nsJSEnvironment.cpp. r=mrbkap
MozReview-Commit-ID: G04P7k1Dxki

--HG--
extra : rebase_source : c8f0617ca4d89c8300ed12d89e7f02dd55a26e24
2017-07-10 14:17:24 -07:00
Andrew McCreight cf00cf911b Bug 1379786, part 2 - Use nsContentUtils::GetSystemPrincipal in various places. r=mrbkap
MozReview-Commit-ID: KPXAqKeX4gI

--HG--
extra : rebase_source : 44fd734e7c5bbaba48bb25b882acc74cf0b81fb5
2017-07-10 14:24:54 -07:00
Andrew McCreight 5de8ffcbf5 Bug 1379786, part 1 - Remove dead code related to the security manager. r=mrbkap
Also, one unused include of nsIProgrammingLanguage, which is unrelated.

MozReview-Commit-ID: LJf2NSwmaYG

--HG--
extra : rebase_source : 63dfca9185535dbfa695cf2f383d81a14ce423c0
2017-07-07 15:59:29 -07:00
J.C. Jones de0d023921 Bug 1380421 - Update test to handle origin RP IDs, too (2/2) r=keeler
This adjusts tests to also check origin-based RP IDs, for interop
purposes. When we officially move up to WD-06, we'll want to remove these.


MozReview-Commit-ID: FJRg7vxZIcN

--HG--
extra : rebase_source : 6b89ef1ec5f8f6312bc00740b171540dd2a111cf
2017-07-14 13:49:45 -07:00
J.C. Jones b7eeb68241 Bug 1380421 - Handle URIs for RP IDs (1/2) r=keeler
A recent fixup commit [1] changed "RP ID" fields in WebAuthn to be domain
strings rather than origins, which matches the current editor's draft of
Web Authentication. Unfortunately, this is contrary to the interop WD-05,
which requires they be origins.

We should be tolerant of origins for now, and in the follow-on Bug 1381126
we'll remove this tolerance once we get past initial WD-05 interop.

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

MozReview-Commit-ID: Cz2KaHvOIHz

--HG--
extra : rebase_source : eafac0cbab324c566a7ae64004f85258ca3ba805
2017-07-14 13:44:00 -07:00
bechen 893ccc3da4 Bug 1372854 - Enable test_seek_nosrc.html on Android. r=alwu
MozReview-Commit-ID: 7YmInfSB6K2

--HG--
extra : rebase_source : d2ee043e9109d6ff3985ec8dbf49ca07d38249c9
2017-07-12 15:44:56 +08:00
Mike Conley 284395ae25 Bug 1363361 - Add ability to dirty root frame from nsIDOMWindowUtils. r=dholbert
MozReview-Commit-ID: Jy6PICTkq4l

--HG--
extra : rebase_source : 00029dc3a85c23f2801ce9af3b43105c60b318aa
2017-06-28 21:38:53 -07:00
Andrew McCreight 3740548c88 Bug 1381606, part 2 - Remove unused fields from nsIDOMHTMLOListElement. r=bz
MozReview-Commit-ID: LWlyIeuwgUr

--HG--
extra : rebase_source : 8a9fbe61cfe7838ac228b66ecba3681398c89d7d
2017-07-17 12:53:52 -07:00
Andrew McCreight 5ed5fb8c5d Bug 1381606, part 1 - Remove unused fields of nsIDOMHTMLUListElement. r=bz
MozReview-Commit-ID: FozLLSU1rCe

--HG--
extra : rebase_source : 66feacf0ba7d0a1f91c4a3af48bd9733e79e5fe2
2017-07-17 12:43:55 -07:00
Andrew McCreight e3b4a0a748 Bug 1381584 - Remove unused cite field from nsIDOMHTMLQuoteElement. r=bz
MozReview-Commit-ID: 2sKSRcl6B1W

--HG--
extra : rebase_source : daefc472e1b7e3a1c8be007319af629a2512a384
2017-07-17 12:36:41 -07:00
Paul Adenot 67c95cdcdf Bug 1312623 - Don't attempt to shutdown a thread in the dtor of a GraphDriver, since it might be called during stable state. r=smaug
MozReview-Commit-ID: HA67HQQrfow

--HG--
extra : rebase_source : d9301c6f5687eb1e1c3a7c4049e48ceaf74fa529
2017-07-04 09:21:23 +02:00
JW Wang 51b253855d Bug 1376004. P1 - include http response code in the error.message field so the UI has more details to display a proper error message. r=cpearce
MozReview-Commit-ID: CHBXZZxfPc0

--HG--
extra : rebase_source : 004f5bb3552b8d2b8b3b911887037c78e7cb9e79
2017-07-14 15:17:32 +08:00
Bas Schouten be92d4e45b Bug 1375461: Ensure mSyncObject isn't null before attempting to sync with it. r=mattwoodrow
MozReview-Commit-ID: HuflJDLhlRl

--HG--
extra : rebase_source : 8da9af58bcda88f63162b094cc1d789038848f1a
2017-07-10 07:49:34 +00:00
James Cheng 950fc2b63c Bug 1379866 - Implement MediaResource Suspend and Resume in HLSResource. r=jolin
1. Pause the Exoplayer when navigating to another page and resume playback when navigating back.

2. Fix the OOM issue.

MozReview-Commit-ID: 5UGmBzpObsb

--HG--
extra : rebase_source : f8f268612687669e1b31881465600b02b3531c55
2017-07-14 01:29:00 +08:00
Ryan VanderMeulen 112cadfae3 Merge m-c to autoland. a=merge 2017-07-14 09:52:56 -04:00
Ryan VanderMeulen 019bd042fc Merge autoland to m-c. a=merge 2017-07-14 09:16:03 -04:00
Ryan VanderMeulen 992097f66b Bug 1373007 - More manifest fixups. a=me 2017-07-14 08:43:19 -04:00
Sebastian Hengst 22d024f800 Backed out changeset 020581c23b7d (bug 1367613) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE 2017-07-14 10:11:54 +02:00
Sebastian Hengst 4a3997ebd2 Backed out changeset 49ef9e17682e (bug 1377974) for gl error during test_conformance__extensions__webgl-debug-shaders.html. r=backout on a CLOSED TREE 2017-07-14 10:11:11 +02:00
Andrea Marchesini 50f9ea47a3 Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
Boris Zbarsky aad387a7cd Bug 1378147. Hold strong refs to elements when calling various functions that can run script. r=mystor 2017-07-13 23:46:59 -04:00
Boris Zbarsky d821ab4d73 Bug 1380415 part 2. Remove XPCOM constraint validation APIs. r=mccr8 2017-07-13 23:46:28 -04:00
Boris Zbarsky 80f71b7baf Bug 1380415 part 1. Remove unused bits of nsIDOMHTMLInputElement. r=mccr8 2017-07-13 23:46:13 -04:00
Boris Zbarsky 38dc3c65cd Bug 1380413 part 2. Remove nsIDOMHTMLImageElement.width/height. r=mccr8 2017-07-13 23:46:12 -04:00
Boris Zbarsky 4da062bf6f Bug 1380413 part 1. Remove unused nsIDOMHTMLImageElement bits. r=mccr8 2017-07-13 23:45:56 -04:00
Boris Zbarsky 31878bd57a Bug 1380393 part 5. Remove nsIDOMHTMLElement.offsetTop/Left. r=mccr8 2017-07-13 23:45:50 -04:00
Boris Zbarsky 7de968711a Bug 1380393 part 4. Remove nsIDOMHTMLElement.accessKey. r=mccr8 2017-07-13 23:45:50 -04:00
Boris Zbarsky d667268a92 Bug 1380393 part 3. Remove nsIDOMHTMLElement.focus. r=mccr8 2017-07-13 23:45:50 -04:00
Boris Zbarsky 4817516f62 Bug 1380393 part 2. Remove nsIDOMHTMLElement.tabIndex. r=mccr8 2017-07-13 23:45:49 -04:00
Boris Zbarsky 05bf7c12c0 Bug 1380393 part 1. Remove some unused nsIDOMHTMLElement bits. r=mccr8 2017-07-13 23:45:49 -04:00
Xidorn Quan 0fdde10882 Bug 1379585 part 2 - Disable interrupt callback when doing pattern matching. r=baku
MozReview-Commit-ID: 86VY6ZCtpew

--HG--
extra : rebase_source : c3ee4e05030061283f9b6fede6d2b121d23d635e
2017-07-14 10:03:43 +10:00
Xidorn Quan 2fa56dab45 Bug 1379585 part 1 - Add an RAII class for auto disable interrupt callback. r=baku
MozReview-Commit-ID: IInIukI0yI7

--HG--
extra : rebase_source : 857e438902cb06a5514b5b0a1c4abf09edafcda1
2017-07-14 10:02:59 +10:00
JW Wang 9b07417b6b Bug 1380545 - remove DispatchKeyNeededEvent from MediaFormatReader.cpp. r=gerald
We will use MediaEventSource to dispatch the 'encrypted' events.

MozReview-Commit-ID: KY3nS9OrysI

--HG--
extra : rebase_source : 4e1fa125b099567426f5a6ea2c825b77d407b2c4
extra : source : 8413b0625159d85a5814cb3bd748121653735e96
2017-07-13 11:18:07 +08:00
JW Wang ebbb3689a4 Bug 1380532. P2 - remove AbstractMediaDecoder::GetCrashHelper(). r=gerald
MozReview-Commit-ID: IDPifgdxwTd

--HG--
extra : rebase_source : 3ec3c6f7a9ab5144fbf060b40393b306dc9eef0c
extra : source : 1de26c9ff96d7fb9710a8a16d9e7ec8abd8113cb
2017-07-13 10:21:34 +08:00
JW Wang 789cd1ebe8 Bug 1380532. P1 - pass GMPCrashHelper through MediaDecoderReaderInit to MFR. r=gerald
So we can reduce dependency on AbstractMediaDecoder.
See bug 1378295 comment 1 for the detail.

Note it is not ideal to repeat |init.mCrashHelper = ...| several times in
this patch. We will re-visit it to reduce code duplication after bug 1378295
is done.

MozReview-Commit-ID: AEC56ukqtYr

--HG--
extra : rebase_source : 07554566af74b65f391811e55847e58365ac81fe
extra : source : 7f613117f815369f65256408b221131683c0dd82
2017-07-13 10:19:36 +08:00
Xidorn Quan 61344f3471 Bug 1355715 - Use empty atom rather than 'empty' atom for none namespace. r=bholley
MozReview-Commit-ID: Kqqs198wLUw

--HG--
extra : rebase_source : da6ba0587de2dc6b12769a2d80080e9b60526ebd
2017-07-14 15:31:15 +10:00
Alex Chronopoulos 48c9b10048 Bug 1380233 - New signature for cubeb_get_min_latency. r=kinetik
MozReview-Commit-ID: 4vh6atnnRpS

--HG--
extra : rebase_source : bee0a7d0a10b0eaf9cedb6286a1b1aa492457a94
2017-07-13 13:06:02 +03:00
bechen d972107cee Bug 1374189 - Call NotifyPresentedFrame when resolve the mEndPromiseHolder promise. r=jwwang
MozReview-Commit-ID: Le4VER7kK2Y

--HG--
extra : rebase_source : 3b46eb752a59e4eaa2dc99b09287938c008668c8
2017-07-14 10:04:22 +08:00
bechen c2d16d5cab Bug 1374189 - new testcase to count the total frame when "skip-to-next-key-frame.enabled" is false. r=jwwang,kaku
MozReview-Commit-ID: 4zjOoSAYild

--HG--
extra : rebase_source : c283f7e8430dc5d41b2f43635b592c01fbb096f8
2017-07-13 18:18:04 +08:00
Tim Huang 1ec953e612 Bug 1372069 - Part 1: Disable Geolocation when 'privacy.resistFingerprinting' is true. r=arthuredelstein,smaug
This patch disables Geolocation API when fingerprinting resistance is enabled.
The way we disable it is the same as how we disable this API for non-secure
origins that we will reject the request from this API and still keep this API
around.

MozReview-Commit-ID: 5D7Bf6Rplm8

--HG--
extra : rebase_source : b28f33f70a59dc670089dcbbb82f2720a059c341
2017-07-13 14:11:08 +08:00
JW Wang ac2b0f2173 Bug 1380234. P3 - remove AbstractMediaDecoder::CompositorUpdatedEvent() and its users. r=jya
MozReview-Commit-ID: JioS7MC5qFh

--HG--
extra : rebase_source : 9df457507bfcbcd1baa2e66af61781cc2a2ec06f
extra : source : af4993bcca5097628b12b4861074d8eed9163d9b
2017-07-12 16:49:59 +08:00
JW Wang 803c5fa941 Bug 1380234. P2 - send compositor updates to the reader directly without using MediaEventSource. r=jya
MozReview-Commit-ID: EJO2PK525gS

--HG--
extra : rebase_source : 11a033d2e6a94b307ca8095b2ffd7348edb2b6d4
extra : source : 44c52998638933e8b709fa5196ef442314145d2f
2017-07-12 16:28:19 +08:00
JW Wang 4ca981216d Bug 1380234. P1 - pass KnowsCompositor to MFR through MediaDecoderReaderInit. r=jya
MozReview-Commit-ID: 3krK3meG5jV

--HG--
extra : rebase_source : f0a628ab28a527fa7f79ec61672e988cf1def8e7
extra : source : c8c2a6f2506338a8208f3bcf56160c47e6a29000
2017-07-12 15:37:02 +08:00
Kartikaya Gupta 95fe01d527 Bug 1380680 - Fix test_bug1013412 so it passes with webrender enabled. r=dvander
MozReview-Commit-ID: BaHWdf9qJt1

--HG--
extra : rebase_source : 0a04c61681eee3061de0ddbffae29bd4cf380508
2017-07-13 11:15:59 -04:00
Henri Sivonen 217ac88f04 Bug 1266495 - Remove <isindex>. r=wchen
MozReview-Commit-ID: KM0sTMM1GaD

--HG--
extra : rebase_source : 013069be4191e2ad50b5af879b690a6760e8429a
2017-07-05 11:42:04 +03:00
Wes Kocher 4c5920f4e7 Merge autoland to central, a=merge CLOSED TREE
MozReview-Commit-ID: 4B0VujwK8WG
2017-07-13 15:51:26 -07:00
Dão Gottwald 8f5c440b72 Backed out changeset 5a5d8de65b70 (bug 1379938) on CLOSED TREE 2017-07-13 23:16:12 +02:00
Wes Kocher bf2ed516f9 Backed out 5 changesets (bug 1363361) for failures in browser_windowopen_reflows.js a=backout CLOSED TREE
Backed out changeset 81208848b53e (bug 1363361)
Backed out changeset d441805ccbbd (bug 1363361)
Backed out changeset cd87e778037e (bug 1363361)
Backed out changeset aea6941d1f7b (bug 1363361)
Backed out changeset da4b7c8c4ce5 (bug 1363361)

MozReview-Commit-ID: 9mbu9RaRBIp

--HG--
extra : amend_source : 3d3fa223341c4d4ed5cdaa92293d0d3d62300875
2017-07-13 11:10:46 -07:00
Carsten "Tomcat" Book e3195ceb5a Merge mozilla-central to inbound 2017-07-13 16:38:32 +02:00
Carsten "Tomcat" Book 260b5f956f merge mozilla-inbound to mozilla-central a=merge 2017-07-13 16:35:22 +02:00
Honza Bambas 3e3a7ddb9b Bug 1367814 - Let nsContentSecurityManager check if a redirect may load against the target channel's final URI, r=bz
This allows protocol handlers that load data from a privileged URI (chrome/file/jar) to make the channel's principal
as well as the redirect to look like (to) an unprivileged URI or a URI allowed to load to function correctly.
2017-07-13 05:51:00 +02:00
Carsten "Tomcat" Book 6ea5505659 Backed out changeset 13a9e2bbb96a (bug 1256122) for landing with wrong bug number in commit message 2017-07-13 15:41:53 +02:00
Junior Hsu ab6f1793a2 Bug 1373198 - Part 8: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=smaug 2017-07-11 20:11:00 +02:00
Honza Bambas 1fead4cd75 Bug 1256122 - Let nsContentSecurityManager check if a redirect may load against the target channel's final URI, r=bz
This allows protocol handlers that load data from a privileged URI (chrome/file/jar) to make the channel's principal
as well as the redirect to look like (to) an unprivileged URI or a URI allowed to load to function correctly.
2017-07-13 05:51:00 +02:00
Catalin Badea a330125123 Bug 1375050 - Fix crash in nsLabelsNodeList::MaybeResetRoot r=jdai 2017-07-13 13:58:04 +01:00
Catalin Badea e3a0a40a0f Bug 1380604 - Use Killing when dispatching the sync runnable in FetchBodyConsumer::ShutDownMainThreadConsuming. r=baku 2017-07-13 12:17:21 +01:00
Catalin Badea bd7f60e72e Bug 1344751 - Make nsStandardURL and nsIDNService available on worker threads. r=valentin 2017-07-13 12:17:19 +01:00
Catalin Badea a16ada137d Bug 1344751 - use nsStandardURL for http and https in workers. r=baku 2017-07-13 12:10:02 +01:00
Dão Gottwald 0f2337c0c7 Bug 1379938 - Rename the -moz-windows-accent-color-applies media query and make -moz-win-accentcolor available without it. r=jimm
MozReview-Commit-ID: BkDrm6KtiP3

--HG--
extra : rebase_source : 1c0deb5b77e1ce83a8f157c100606c563d61577c
2017-07-13 11:08:27 +02:00
Kaku Kuo 1226fb4d2c Bug 1380244 - trigger skip-to-next-key-frame quicker; r=jya
This patch is going to loose the criteria of skip-to-next-key-frame.

The original rules are here:
http://searchfox.org/mozilla-central/rev/31311070d9860b24fe4a7a36976c14b328c16208/dom/media/MediaFormatReader.cpp#1559

Skip-to-next-key-frame is triggered if the playback position is LARGER than the next key frame time.
But, from the video-track point of view, when the skip-to-next-key-frame is triggered, it skips to the next-next key frame.

Here is an example, say, we are playing a media file with its playback position at time _a_,
and its video decoding is falling behind at time _v_.
The next key frame is at time _k1_ and next-next key frame is at time _k2_.

              a
----|---------|---------|-------------|----------------> time
    v                   k1            k2

When the playback position _a_ passes _k1_ (_a_ > _k1_), the skip-to-next-key-frame is triggered,
and the demuxer jumps to _k2_ directly.



The idea here is to give a chance when (_a_ == _k1_), let demuxer jump to _k1_ and see if the video decoding could catch up.

MozReview-Commit-ID: 6aRSYDOI1ds

--HG--
extra : rebase_source : c448df7af9f83b9127bad9bae28f353b40669b7f
2017-07-12 16:16:49 +08:00
Nils Ohlmeier [:drno] 0130c59aaf Bug 1264479: added implementation for [current|pending][Local|Remote]Description. r=bwc
MozReview-Commit-ID: AAnuN3YRhFH

--HG--
extra : rebase_source : 8b68125b5073783720fd5007973e4fad638698a9
2017-06-30 01:19:19 -07:00
Nils Ohlmeier [:drno] d14f89ffa2 Bug 1264479: added [current|pending][Local|Remote]Description to WebIDL. r=smaug
MozReview-Commit-ID: JwRyKtZMKzl

--HG--
extra : rebase_source : cc10f4efea212126f1ab56cf2fd3553f51c555c4
2017-06-30 01:18:46 -07:00
Mike Conley d7b08806e3 Bug 1363361 - Add ability to dirty root frame from nsIDOMWindowUtils. r=dholbert
MozReview-Commit-ID: Jy6PICTkq4l

--HG--
extra : rebase_source : c228775f776f83c2ef4aea217a4476b66265234e
2017-06-28 21:38:53 -07:00
Carsten "Tomcat" Book 23670f34ad Merge mozilla-central to autoland 2017-07-13 16:39:36 +02:00
James Cheng 2bbf8b0437 Bug 1380237 - Tweak HLSDemuxer to handle audio format change. r=jya
1. Moving UpdateA/VInfo to HLSTrackDemuxer and related changes.
2. Handle audio format change by changing the stream id.
MozReview-Commit-ID: IJmSvygZLVf

--HG--
extra : rebase_source : fb90c1454f20ff930626b6febf74b7cb0c4d20b9
2017-07-12 15:12:06 +08:00
Junior Hsu daf1b50996 Bug 1373198 - Part 3-1: disable rcwn for dom mochitest tests which require deterministic cache behavior, r=bz 2017-07-11 02:04:00 +02:00
Tom Tung bcad9663ab Bug 1372116 - P2: Init quota for origin directlly when the metadata is just created to save time for traversing directory. r=janv 2017-06-14 15:01:41 +08:00
Tom Tung 03ec1c0d29 Bug 1372116 - P1: Create originInfo after creating metadata if the temporay storage has been initialized for persist(). r=janv 2017-06-27 04:41:38 -07:00
Jessica Jong 3f83199cf9 Bug 1379108 - (followup) Fix localization notes for FormValidationDateTimeRangeOverflow/Underflow strings. comment-only, DONTBUILD 2017-07-13 11:19:40 +08:00
Sebastian Hengst 65c3b9ff62 Backed out changeset b223c191f442 (bug 1355746) for frequently failing mochitests with: /tests/dom/base/test/test_data_uri.html logged result after SimpleTest.finish(): iframe should have NullPrincipal. r=backout 2017-07-12 19:20:11 +02:00
Sebastian Hengst 93749c3cde Backed out changeset e0fd0ae58d0f (bug 1355746) 2017-07-12 19:19:22 +02:00
Sebastian Hengst d4f6c2cc4f Backed out changeset 8a5e11d641cc (bug 1355746) 2017-07-12 19:19:13 +02:00
Mark Banner 35f3666937 Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
MozReview-Commit-ID: EnhSBHMjurr

--HG--
extra : rebase_source : 74ba4c10e369067629af95bf705a9acd0df1089b
2017-07-11 22:49:55 +01:00
Henry Chang 0c2ccd15fe Bug 1355746 - Part 4. Fix intermittent full screen test failures. r=smaug,xidorn
We found that a window will not get focus immediately after exiting full screen
mode on Linux. This seems to be a long-standing issue which surfaces due to the
change of background HTML parsing timing. So, we try to get focus everytime
before requesting full screen mode to ensure the request will not fail because
of the focus issue.

MozReview-Commit-ID: 2pOShFZcq8A

--HG--
extra : rebase_source : a92fad6a5e31e7387824da42ef2655a0f7ba002f
2017-07-12 10:49:11 +08:00
Henry Chang 602eed5546 Bug 1355746 - Part 2. Polish IdleTaskRunner and reuse it for background parsing. r=smaug
This patch is mainly to make IdleTaskRunner reusable by nsHtml5TreeOpExecutor.
The only necessary work to that purpose is to remove the dependency of
sShuttingDown, which was a static variable in nsJSEnvironment.cpp.
The idea is to have a "ShouldCancel" as a callback for the consumer to
return sShuttingDown.

In addition to sShuttingDown, we use std::function<bool()> as the runner
main callback type.

MozReview-Commit-ID: FT2X1unSvPS

--HG--
extra : rebase_source : dc9bcf669a95dda5c40bccde2cbc836099536eb5
2017-07-12 09:23:15 +08:00
Henry Chang f991045c00 Bug 1355746 - Part 1. Rename CollectRunner to IdleTaskRunner and move to xpcom/threads/IdleTaskRunner.h/cpp r=smaug
Nothing is changed in this patch except for renaming and code move around.
The strategy is to have the final file setup in this patch without any
detail change. The actual code change will be in the next patch so that
we can focus on reviewing the diff in the next patch regarding IdleTaskRunner.

MozReview-Commit-ID: 4Bul9mZ7z1n

--HG--
extra : rebase_source : 22aeb5dca58501ec335ef8bc7b0efb6aea565bbf
2017-07-12 09:18:57 +08:00
Carsten "Tomcat" Book bf8ecdbf1a Merge mozilla-central to autoland 2017-07-12 11:18:59 +02:00
Carsten "Tomcat" Book 0edfa97e38 merge mozilla-inbound to mozilla-central a=merge 2017-07-12 11:07:09 +02:00
Makoto Kato 1b41d2ecf8 Bug 943276 - Remove unused nsIPlatfromCharset. r=emk
By bug 1261841, we don't use nsIPlatfromCharset on PluginTags.  So we should remove unused header.

MozReview-Commit-ID: 8Y4YwRzTJuk
2017-07-10 12:37:56 +09:00