786eb9c467bc80a9c7ae254142da8bc5a3927a8d: Merge mozilla-central to autoland
Carsten "Tomcat" Book <cbook@mozilla.com> - Mon, 11 Jul 2016 11:51:22 +0200 - rev 344460
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Merge mozilla-central to autoland
29a5d693613d2caa9d0b1e80a79b78e4772ada4c: Bug 1283718. Part 6 - always check NeedMoreVideo() before requesting new video. r=kaku
JW Wang <jwwang@mozilla.com> - Thu, 07 Jul 2016 12:03:48 +0800 - rev 344459
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1283718. Part 6 - always check NeedMoreVideo() before requesting new video. r=kaku We still have a chance to finish seeking even when video promises are rejected provided we already have video samples in the queue. MozReview-Commit-ID: 5cIbryiLMYt
44614f65b3a1c4bd1bd24a5f245d8dcba19526c9: Bug 1283718. Part 5 - move the call to EnsureVideoDecodeTaskQueued() out of MaybeFinishSeek() so we only request video in video callbacks. r=kaku
JW Wang <jwwang@mozilla.com> - Thu, 07 Jul 2016 11:45:57 +0800 - rev 344458
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1283718. Part 5 - move the call to EnsureVideoDecodeTaskQueued() out of MaybeFinishSeek() so we only request video in video callbacks. r=kaku MozReview-Commit-ID: 3Hdwx26I9Mi
10d751f3f2e91aeaf574eeac080244245ef3196d: Bug 1283718. Part 4 - rename some function. r=kaku
JW Wang <jwwang@mozilla.com> - Thu, 07 Jul 2016 11:39:56 +0800 - rev 344457
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1283718. Part 4 - rename some function. r=kaku MozReview-Commit-ID: CGOiy8SBjMR
4b0c00af923de15b22745513957bde000ba58ab0: Bug 1283718. Part 3 - replace some code with new helpers. r=kaku
JW Wang <jwwang@mozilla.com> - Thu, 07 Jul 2016 11:32:27 +0800 - rev 344456
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1283718. Part 3 - replace some code with new helpers. r=kaku MozReview-Commit-ID: 3fHSEoxdh9u
b2d6082f93a43279f1fafb5551534c9390888032: Bug 1283718. Part 2 - fix the logic of IsVideoSeekComplete(). r=kaku
JW Wang <jwwang@mozilla.com> - Thu, 07 Jul 2016 11:23:11 +0800 - rev 344455
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1283718. Part 2 - fix the logic of IsVideoSeekComplete(). r=kaku MozReview-Commit-ID: L1u5P5hWMAA
3262d04cc706748032e91f4736c0f15076a1edc2: Bug 1283718. Part 1 - fix comments and constify IsAudioSeekComplete(). r=kaku
JW Wang <jwwang@mozilla.com> - Fri, 01 Jul 2016 11:43:06 +0800 - rev 344454
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1283718. Part 1 - fix comments and constify IsAudioSeekComplete(). r=kaku MozReview-Commit-ID: 8NCyAURQ1RQ
cd0d40f881450817297012dcd7b529cc5af50ef4: Bug 1285407 - Part 4: Drop EffectCompositor::MaybeUpdateCascadeResults(Element*, CSSPseudoElementType) because it's essentially the same as another one. r=birtles
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Mon, 11 Jul 2016 17:28:19 +0900 - rev 344453
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1285407 - Part 4: Drop EffectCompositor::MaybeUpdateCascadeResults(Element*, CSSPseudoElementType) because it's essentially the same as another one. r=birtles MozReview-Commit-ID: 2Locox5zmP4
d4964fe5465ecff62e0376fd6e9be269b118f4e4: Bug 1285407 - Part 3: Remove UpdateCascadeResults call because it's called against the same nsStyleContext from MaybeUpdateAnimationRule. r=birtles
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Mon, 11 Jul 2016 17:28:17 +0900 - rev 344452
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1285407 - Part 3: Remove UpdateCascadeResults call because it's called against the same nsStyleContext from MaybeUpdateAnimationRule. r=birtles MozReview-Commit-ID: FrrFLq9S2f4
538877b1d33ac36eb9a3eab887d03d8b4844ee23: Bug 1285407 - Part 2: We need to call MarkCascadeNeedsUpdate() when the style context is changed. r=birtles
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Mon, 11 Jul 2016 17:28:15 +0900 - rev 344451
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1285407 - Part 2: We need to call MarkCascadeNeedsUpdate() when the style context is changed. r=birtles MozReview-Commit-ID: 2z2HgSDzhLd
4a3508cf3c410a46edee152763d57a0e91e204a3: Bug 1285407 - Part 1: Pass a newly created nsStyleContext to GetAnimationRule and MaybeUpdateAnimationRule. r=birtles
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Mon, 11 Jul 2016 17:28:14 +0900 - rev 344450
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1285407 - Part 1: Pass a newly created nsStyleContext to GetAnimationRule and MaybeUpdateAnimationRule. r=birtles While resolving style context, the primary frame of the target element has previous style context so if we don't pass the newly created nsStyleContext, UpdateCascadeResults uses the previous style to get overridden properties, it will result unexpected cascading results. MozReview-Commit-ID: osqXQlP43X
bd87e21dde8266d8bcb160e27cde4dfeaf4b7e67: Bug 1280644 - part2 : modify naming and add scope indentifier. r=rillian
Alastor Wu <alwu@mozilla.com> - Mon, 11 Jul 2016 10:51:13 +0800 - rev 344449
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1280644 - part2 : modify naming and add scope indentifier. r=rillian MozReview-Commit-ID: 9ysNb5SiQOP
ea7956bcdfeb2cdd1126361b071e4e9cba709003: Bug 1280644 - part1 : add Telemetry for webvtt. r=bsmedberg,rillian
Alastor Wu <alwu@mozilla.com> - Mon, 11 Jul 2016 10:51:08 +0800 - rev 344448
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1280644 - part1 : add Telemetry for webvtt. r=bsmedberg,rillian MozReview-Commit-ID: 4a6JmfolqkW
fe5ff9a263141d32a634a279837705ae6abf12ab: Bug 1279403 - Part 2: Set NS_FRAME_MAY_BE_TRANSFORMED bit if the target nsIFrame has transform when setting target or keyframes. r=birtles
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Mon, 11 Jul 2016 08:29:14 +0900 - rev 344447
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1279403 - Part 2: Set NS_FRAME_MAY_BE_TRANSFORMED bit if the target nsIFrame has transform when setting target or keyframes. r=birtles MozReview-Commit-ID: InQyXpENsSY
ba6a3c404ebb471f23ffe234fa5a510674edffab: Bug 1279403 - Part 1: Force to apply corresponding change hint if there is no corresponding layer to generate display item even if animation's segment is transform:none or 100% opacity. r=birtles
Hiroyuki Ikezoe <hiikezoe@mozilla-japan.org> - Mon, 11 Jul 2016 08:27:02 +0900 - rev 344446
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1279403 - Part 1: Force to apply corresponding change hint if there is no corresponding layer to generate display item even if animation's segment is transform:none or 100% opacity. r=birtles To create a stacking context for animations on transform:none segment, we need to set NS_FRAME_MAY_BE_TRANSFORMED. The fix is comming in part 2. Note that in case of animations which has properties preventing running on the compositor, e.g., width or height, corresponding layer is not created at all, but even in such cases, we normally set valid change hint for such animations in each tick, i.e. restyles in each tick. For example: div.animate([{ opacity: 1, width: '100px' }, { opacity: 0, width: '200px' }], 1000); This animation causes restyles in every ticks without this patch, this patch does not affect such animations at all. The only animations which will be affected by this patch are animations which has opacity/transform but did not have those properies. e.g, setting transform by setKeyframes or changing target element from other target which prevents running on the compositor, etc. MozReview-Commit-ID: 78fYqyX8uDX
ec17a17df4b7119d983dc03b1d32603fbdabd492: Bug 1285640: Move mozHunspell::CollectReports definition from .h file to .cpp file, to avoid clang 3.9 warning about static variable declared in header. r=njn
Daniel Holbert <dholbert@cs.stanford.edu> - Fri, 08 Jul 2016 13:17:27 -0700 - rev 344445
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1285640: Move mozHunspell::CollectReports definition from .h file to .cpp file, to avoid clang 3.9 warning about static variable declared in header. r=njn MozReview-Commit-ID: 8mUP6zYPhIO
1bee8d2da23ec894980fb14f516210fd83e5b9f9: merge mozilla-inbound to mozilla-central a=merge
Carsten "Tomcat" Book <cbook@mozilla.com> - Mon, 11 Jul 2016 11:47:38 +0200 - rev 344444
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
merge mozilla-inbound to mozilla-central a=merge
f3a1648af4e852c60f879ca8c7f83e8342e214ab: Bug 1167553 - Timeout-related Service Worker shutdowns should be reported. r=bkelly
Andrew Sutherland <asutherland@asutherland.org> - Wed, 06 Jul 2016 16:34:19 -0400 - rev 344443
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1167553 - Timeout-related Service Worker shutdowns should be reported. r=bkelly Log a message when shutting down a service worker with pending promises. Looks like: Terminating ServiceWorker for scope ‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/’ with pending waitUntil/respondWith promises because of grace timeout.
b8ca65757e7c645d759afe80d0fb8fd3f15d80d6: Bug 1233798 - report to console when service worker register fails due to mime-type issues. r=bkelly
Andrew Sutherland <asutherland@asutherland.org> - Tue, 05 Jul 2016 22:24:23 -0400 - rev 344442
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1233798 - report to console when service worker register fails due to mime-type issues. r=bkelly Log a message to the console when there is no Content-Type received for a service worker or it's not a JS type. With test. Looks like: Failed to register/update a ServiceWorker: Non-JS Content-Type of ‘text/plain’ received for script ‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/sw_bad_mime_type.js’.
ad2cbcabbc571104bb0656668bdef187d0a1b122: Bug 1267473 - Report to console if service worker script 404s. r=bkelly
Andrew Sutherland <asutherland@asutherland.org> - Tue, 05 Jul 2016 16:47:10 -0400 - rev 344441
Push 6389 by raliiev@mozilla.com at Mon, 19 Sep 2016 13:38:22 +0000
Bug 1267473 - Report to console if service worker script 404s. r=bkelly Add an error message of the following form for when a register/update job fails for network reasons: Failed to register/update a ServiceWorker for scope ‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/network_error/’: Load failed with status 404 for script ‘http://mochi.test:8888/tests/dom/workers/test/serviceworkers/404.js’. A mochitest is added that verifies this. To simplify the process of logging error messages, ServiceWorkerManager gains a new LocalizeAndReportToAllClients method that always provides the SW scope as the first argument to the localized string since all good error messages should include it. Its argument list takes an nsTArray<nsString> in order to reduce the potential for use-after-free scenarios from the char16_t** signature that unfortunately has rippled outwards from the nsIStringBundle interface. This potentially results in more memory allocation and byte shuffling than is strictly necessary, but we're also talking about rare error logging where it's better to optimize for easily adding the messages without needing to get hung up on the life-cycle of temporaries. nsTArray gained a std::initializer_list in bug 1228641. It is explicit, so inline argument usages may take a form along the lines of: `nsTArray<nsString> { string1, string2, ... }` This change did necessitate a change to nsContentUtils to add an nsTArray variant of FormatLocalizedString since the existing public function was slightly too clever. It used a template function to statically acquire the number of arguments at compile time, which is not compatible with the dynamic nsTArray usage. Since nsTArray may be useful to other consumers as well, I placed the conversion logic in nsContentUtils.
(0) -300000 -100000 -30000 -10000 -3000 -1000 -300 -100 -50 -20 +20 +50 +100 +300 +1000 +3000 +10000 +30000 +100000 tip