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

11729 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly 5466fd2706 Bug 1336822 Optimize ResetTimesForTHrottleReduction() for common case. r=ehsan 2017-02-06 12:10:00 -05:00
Andrea Marchesini 869af55a16 Bug 1335678 - Revert patch for bug 1302566, r=ehsan 2017-02-06 16:37:15 +01:00
Tom Tung e185f7bc4c Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly. 2017-02-06 09:19:34 +08:00
Ben Kelly b639eaf199 Bug 1336598 P3 Add preferences to control timeout back pressure algorithm. r=smaug 2017-02-05 21:50:12 -05:00
Ben Kelly cc8571902b Bug 1336598 P2 Avoid underflow in timeout CancelOrUpdateBackpressure(). r=smaug 2017-02-05 21:50:09 -05:00
Ben Kelly 10744cc4bb Bug 1336598 P1 Tune setTimeout anti-flood constants to minimize jank. r=smaug 2017-02-05 21:50:07 -05:00
Andreas Farre a9d97e3d92 Bug 1336229 - Don't dispatch canceled IdleRequestExecutors. r=bkelly
IdleRequestExecutor::MaybeDispatch needs to handle the case when
mWindow is null, due to IdleRequestExecutor::Cancel setting mWindow to
nullptr.

MozReview-Commit-ID: F2Up5mItkqN
2017-02-05 13:40:38 +01:00
Alastor Wu 1694edb819 Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl

--HG--
extra : rebase_source : b5f8855b17664bb1cc2b485f1d85120c0939931f
2017-02-03 14:47:08 +08:00
Wes Kocher b488ae9021 Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GhBqmLvUpgQ
2017-02-03 17:04:18 -08:00
Ehsan Akhgari e194de018f Bug 1334281 - Fix the docgroup key computation to account for things such as null principals, URLs with IP address hostnames, etc.; r=billm 2017-02-03 13:26:03 -05:00
Ehsan Akhgari 012ba2217d Bug 1336213 - Part 2: Remove DOMParser::mOriginalPrincipal; r=bzbarsky 2017-02-03 10:46:45 -05:00
Ehsan Akhgari d250dc8172 Bug 1336213 - Part 1: Set the right principal on the documents created by DOMParser from the beginning; r=bzbarsky 2017-02-03 10:46:40 -05:00
Tim Huang a7c11235fd Bug 1312954 - Part 6: Update all callers of network predictor, and the docshell will update the first party domain if it is a typeContent mozbrowser. r=smaug 2017-02-02 22:16:00 -05:00
Jessica Jong ed17f6c827 Bug 1316330 - Cancel delayed keypress events if last keydown was canceled. r=smaug
--HG--
extra : histedit_source : 7d2215d9c049b01b883e194e0efd0e61845223a3%2C135d6e6cef429efc19bba2c03a0f73fc6441d3a1
2017-02-03 05:16:00 -05:00
Carsten "Tomcat" Book 3860f49d11 Merge mozilla-central to mozilla-inbound 2017-02-03 13:32:38 +01:00
Carsten "Tomcat" Book e95ecef88f merge mozilla-inbound to mozilla-central a=merge 2017-02-03 13:25:24 +01:00
Phil Ringnalda 6bfdccc26e Merge m-c to m-i 2017-02-02 22:11:09 -08:00
Phil Ringnalda b1aadb3572 Backed out 5 changesets (bug 1285898) for causing the crashes of bug 1336242
Backed out changeset 15b3b9feb54f (bug 1285898)
Backed out changeset 1d0bfb02d6c0 (bug 1285898)
Backed out changeset bc99844772ee (bug 1285898)
Backed out changeset 8bbe285cf5c0 (bug 1285898)
Backed out changeset e56108122b90 (bug 1285898)
2017-02-02 22:02:24 -08:00
Phil Ringnalda abe2443efb Merge m-c to m-i 2017-02-02 21:26:26 -08:00
Phil Ringnalda d685853b46 Merge autoland to m-c, a=merge 2017-02-02 20:52:46 -08:00
Wes Kocher 2dcccc4332 Merge inbound to central, a=merge
MozReview-Commit-ID: 9bhCPrArK3P
2017-02-02 16:39:24 -08:00
Bobby Holley c35f772b59 Bug 1335863 - Inline common case parent access. r=emilio 2017-02-02 11:24:43 -08:00
Boris Zbarsky 08d76ec702 Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
Sebastian Hengst 4c5957bbd3 Backed out changeset c724fbd9c326 (bug 1332812) for build bustage. r=backout on a CLOSED TREE 2017-02-02 16:58:52 +01:00
Sebastian Hengst cf329a5f4a Backed out changeset 95fe30082f2c (bug 1334564) 2017-02-02 16:51:18 +01:00
Boris Zbarsky b249de7c3a Bug 1332812. Remove some more unused or nearly-unused nsIDOMElement bits. r=froydnj 2017-02-02 10:32:58 -05:00
Boris Zbarsky ac6be6fde3 Bug 835981 part 6. Change nsIDOMXULElement::GetControllers consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Boris Zbarsky 1a543ff1ad Bug 835981 part 5. Change nsIDOMXULElement::GetBoxObject consumers to nsXULElement. r=peterv 2017-02-02 10:32:58 -05:00
Andrea Marchesini 8f2647aa6b Bug 1334564 - Deprecate URL.createObjectURL(mediastream), r=smaug 2017-02-02 15:25:54 +01:00
Kirk Steuber a2a797193b Bug 1323064 - Remove Flash from navigator.plugins when Flash is blacklisted in the document r=bsmedberg
MozReview-Commit-ID: LKjCORgaecI

--HG--
extra : rebase_source : bf07e9da8e0bb1a899c6e81aa66149794aadf8d7
2017-02-02 10:03:51 -08:00
Andrea Marchesini 1fd70e0029 Bug 1336020 - transferables should be arrays of objects, r=smaug 2017-02-03 11:00:38 +01:00
Andrea Marchesini 270f257d6b Bug 1336020 - postMessages should have transferable as [] by default, r=smaug 2017-02-03 11:00:37 +01:00
Carsten "Tomcat" Book 1ce6a28f32 Merge mozilla-central to autoland 2017-02-03 13:33:41 +01:00
Phil Ringnalda f4d138720a Merge m-c to autoland 2017-02-02 22:11:54 -08:00
Phil Ringnalda 3281b2aab2 Backed out 5 changesets (bug 1328058) for timing out in browser_block_silentAudioTrack_media.js
CLOSED TREE

Backed out changeset 0c48cff3db5d (bug 1328058)
Backed out changeset 37d35ca95b1f (bug 1328058)
Backed out changeset 0c177bdf5ec3 (bug 1328058)
Backed out changeset b369d9999b8a (bug 1328058)
Backed out changeset 61dbcbe35565 (bug 1328058)
2017-02-02 20:59:34 -08:00
Alastor Wu e684e589c7 Bug 1328058 - part1 : notify block-stop event when the tab was resumed. r=baku
In present design, the tab would hide the unblocking icon when receives
the audio-playback event, but it means we can't hide the icon if the media isn't
audible.

For example, we won't show the unblocking icon for audio with audio track, but
we show the icon for audio with silent audio track which can only be detected
after starting decoding.

In this case, we can't receive the audio-playback after resuming that media.
Therefore, we should dispatch the different event to notify tab UI that the
tab has already been resumed.

MozReview-Commit-ID: 3xCWQU7nVCl

--HG--
extra : rebase_source : 7b4214f1f552ba75da94e4bb1795178983af20f7
2017-02-03 11:25:04 +08:00
Alastor Wu b55cdff3c1 Bug 1319771 - part2 : resume foreground window if it was still be blocked. r=baku
In previous patch, we modify the behavior of nsDocument, now it would only resume
window when document has active media components.

However, it causes another issue. If the tab really goes to foreground, but
there is no active media component, the tab would still be blocked and it won't
be resumed anymore.

Therefore, we need to resume it by ourself if the tab is on the foreground but
doesn't be resumed yet.

MozReview-Commit-ID: EdnQ7sRkSJK

--HG--
extra : rebase_source : c2ab932cc3134531e5c49581c5e63b4aabef6ca4
2017-02-03 10:50:07 +08:00
Alastor Wu 9e4d1c7549 Bug 1319771 - part1 : only resume the window when there has active media components. r=baku
For the first pinned tab, it would be set to visible first and then set to
invisible if there exists other tabs after restarting the whole browser.

If the tab is set to visible, we would activate the media component (set the
|mMediaSuspended| in outer window to none-suspend). In this case, the first
pinned tab would be set to visible briefly, but it doesn't mean the tab is in
the foreground, it's just how DOM manage the tab's visibility.

In that moment, none of the media component has been created yet. Therefore, we
would only activate the media component after the audio channel service exists.

MozReview-Commit-ID: 1FgdMq84yWX

--HG--
extra : rebase_source : d5d7568b9f4bfddf2abd0b2c2a4e9391a856882b
2017-02-03 10:48:38 +08:00
Wes Kocher 5157f17709 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LWHPArc07kI
2017-02-02 16:45:08 -08:00
Olli Pettay 4999914c19 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE 2017-02-03 00:11:00 +02:00
Olli Pettay 01dc764f79 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=bustage, CLOSED TREE 2017-02-03 00:07:07 +02:00
Olli Pettay 9cd6e244e9 Bug 1334432 - Improve GC/CC logging in multi-e10s, r=mccr8
--HG--
extra : rebase_source : ed3294efccdcd35f7da5f1b4c59a7d8a30fc491f
2017-02-02 23:32:17 +02:00
Tim Huang 3e5d172c95 Bug 1319773 - Part 1: Add a SubsumesConsideringDomainIgnoringFPD in BasePrincipal. r=baku
--HG--
extra : rebase_source : db853a600e666cd11a140153536427c1f4e5882c
2017-01-18 20:17:19 +08:00
Wes Kocher ad037c851d Merge m-c to autoland, a=merge
MozReview-Commit-ID: 8vGne2PAweU
2017-02-02 16:45:43 -08:00
Carsten "Tomcat" Book 5131dfea4e Merge mozilla-central to mozilla-inbound 2017-02-02 14:28:07 +01:00
Carsten "Tomcat" Book 72823b1e95 merge mozilla-inbound to mozilla-central a=merge 2017-02-02 14:25:20 +01:00
Olli Pettay b003a7de36 Bug 1110928, first request GC should be a full GC, r=jonco
--HG--
extra : rebase_source : 6949e66d52d5ab4f75bf2a1875e50c49465f5818
2017-02-01 23:55:38 +02:00
Olli Pettay ba57b14f47 Bug 1110928 trigger full GC only when closing top level outer window , r=mccr8
--HG--
extra : rebase_source : 5fd026939961004be1456624625f5d2ed1768da0
2017-01-23 19:23:57 +02:00
continuation@gmail.com 3c54dab20c Bug 1110928, part 4 - Try to pass a relevant zone to PokeGC. r=smaug
--HG--
extra : rebase_source : 839ac8ef6e0de1a69240f2986c07e1793e750b21
2017-01-23 19:22:26 +02:00
Andrew McCreight c77b68df2f Bug 1110928, part 1 - Hoist the LOAD_END PokeGC out of nsJSContext::LoadEnd. r=smaug
nsDocumentViewer knows which document is involved which will help us later.

Also, fix a typo in the comment.

--HG--
extra : rebase_source : 2d78ae196882d056bdf03e014ff928d7769ba81a
2017-01-23 19:20:54 +02:00