Commit Graph

500580 Commits

Author SHA1 Message Date
Kestrel
36dbde7294 Bug 1235822 - Focus window for beforeunload dialog so it is seen when shutting down. r=dao 2016-11-17 10:52:50 +01:00
Dão Gottwald
22af8a41ec Bug 1318104 - History panel should expose keyboard shortcuts for restoring the last closed tab / window. r=jaws 2016-11-17 10:40:49 +01:00
Jan de Mooij
0fb423f312 Bug 1289610 - Don't discard Baseline code in ~AutoClearTypeInferenceStateOnOOM. r=bhackett 2016-11-17 10:30:49 +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
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
Mark Hammond
9c1b1b298b Bug 1317587 - don't start scheduled sync after shutdown. r=rnewman
MozReview-Commit-ID: GSyWAUa1qyr

--HG--
extra : rebase_source : 45d0dfd5c686803f017230ab6152d0204a3d4c8e
2016-11-15 15:28:52 +11:00
Phil Ringnalda
8304bb1bd5 Backed out changeset 21b69215ab80 (bug 1316870) for forthcoming merge conflicts 2016-11-15 19:53:23 -08:00
Andrzej Hunt
c8796d19d6 Bug 1317631 - Post: add more cursor position sanity checks r=sebastian
MozReview-Commit-ID: 7CBnLZDkExI

--HG--
extra : rebase_source : e53b55da4dec0490cd64078fb196ed457f86da66
2016-11-15 17:03:03 +08:00
Andrzej Hunt
adc6f3ec51 Bug 1317631 - Only handle clicks for highlights r=sebastian
This avoids us trying to obtain an invalid cursor position, since
the cursor only maps to highlights items (and not the headers).

MozReview-Commit-ID: 1NtJuvDRa5r

--HG--
extra : rebase_source : e1034428d6f11221b3a58700b6250a215f64565e
2016-11-15 17:01:46 +08:00
Kris Maglione
f1968ada59 Bug 1317101 - Part 8a: Read defaults from ancestor manifests when processing test metadata. r=chmanchester
MozReview-Commit-ID: 90ldX6DuKBy

--HG--
extra : rebase_source : 52827e9088422bc267441d6c1b9b4f78879f5c59
extra : histedit_source : 327525467a30a9670b29686e8f66dbeb449f2081
2016-11-12 18:30:47 -08:00
Kris Maglione
40ad9554e3 Bug 1317101 - Part 7e: Load extension options pages in a remote browser. r=aswan
MozReview-Commit-ID: 963sD0DcwhT

--HG--
extra : rebase_source : 02e92834f04cf69d1e3020c56912960d4f7b89dc
extra : histedit_source : cb40a1e2565ae8054f1d8d52bd07e145720f7a89
2016-11-16 13:24:08 -08:00
Kris Maglione
36a4cb32d5 Bug 1317101 - Part 7d: Load moz-extension: URLs remotely based on a pref. r=billm
MozReview-Commit-ID: Kxt9mDMdPQk

--HG--
extra : rebase_source : fb49e513b1707dbf4b0ddf74e4e63f454b5510f6
extra : histedit_source : ad28b91fc7004ba193de19656e92a55303378d4f
2016-11-12 15:36:03 -08:00
Kris Maglione
c8e74990ec Bug 1317101 - Part 7c: Run extension popups in a remote browser. r=aswan
MozReview-Commit-ID: CATeESBwj1J

--HG--
extra : rebase_source : 646aa463a4f20a0b22c3b293c940904d761c6d1c
extra : histedit_source : 1825cc22cbf0d095e4eb5058d736bb7e0afcceb3%2C3826dd6bb5abbc55f9a461e7014390aaf933ad7f
2016-11-16 13:39:45 -08:00
Kris Maglione
29dc4b6832 Bug 1317101 - Part 7b: Run remote extension background pages in a visible window for testing. r=billm
MozReview-Commit-ID: DsgpoYAFKmC

--HG--
extra : rebase_source : cd7a75188b2776436ae11fa4b9c922d0d5fbb759
2016-11-12 17:09:39 -08:00
Kris Maglione
051a889e4a Bug 1317101 - Part 7a: Add a remote flag to run an extension out-of-process based on a preference. r=billm
MozReview-Commit-ID: ChinmbLjnQA

--HG--
extra : rebase_source : 3fcd57f825d1165fe44b628eb06486daf7eaddd3
2016-11-15 18:17:19 -08:00
Kris Maglione
4e9a6a48b4 Bug 1317101 - Part 6: Remove or refactor code that prevents extensions from running in the child process. r=aswan
MozReview-Commit-ID: 7v5eIBOKA2v

--HG--
extra : rebase_source : d1cb5b0e6a5efa5e0b86b6f855702b23e1fe5706
2016-11-12 17:09:19 -08:00
Kris Maglione
3cb07fc3a1 Bug 1317101 - Part 5: Simply remote view initialization code, and fix some inconsistent handling. r=billm
MozReview-Commit-ID: 65BE0oF3rpI

--HG--
extra : rebase_source : 0c320b6c6c94576a0fc20d1117bf9d76c716c0f2
2016-11-12 16:13:21 -08:00
Kris Maglione
191000683d Bug 1317101 - Part 4: Deduplicate the handling of context tab and window IDs, and handle <browser> nesting in tabs. r=aswan
This could still use a fair amount of additional cleanup.

MozReview-Commit-ID: BteBFMlZCsy

--HG--
extra : rebase_source : 8b37748c25cc5c871ebac3eaab34ae6780175f37
2016-11-15 15:13:50 -08:00
Kris Maglione
2fff8d9e6c Bug 1317101 - Part 3: Apply remote-browser binding to all remote="true" <browser>s. r=billm
MozReview-Commit-ID: 83sNFdLM4W7

--HG--
extra : rebase_source : 5ec958a9b762ea85b0e77fc5c42beeb74cad260c
2016-11-15 15:11:27 -08:00
Kris Maglione
be68c7eac9 Bug 1317101 - Part 2: Listen for tab messages only on tabbrowser browsers. r=billm
MozReview-Commit-ID: HW0zH8kJWGe

--HG--
extra : rebase_source : 3a76b51dfacf39f8624e7e97df343059be6d73bd
2016-11-15 15:04:05 -08:00
Kris Maglione
f1e36223fc Bug 1317101 - Part 1: Allow about:addons to load remote <browser>s into its content docshell. r=billm
MozReview-Commit-ID: Kv0LDFR2SEq

--HG--
extra : rebase_source : 6e62a85db0289396b5b4e14fdc9d75d86947d216
2016-11-15 15:01:50 -08:00
J. Ryan Stinnett
b2575a1b27 Bug 1315391 - Clean up actor destruction after changing to destroy. r=ochameau
The `destroy` method in some actors would throw errors or was incomplete,
leading to various issues closing the toolbox after the previous patch.

This cleans up all such cases noticed through manual testing of the toolbox.

MozReview-Commit-ID: 6EZYFwjSri

--HG--
extra : rebase_source : b9db68be857285de4269f7354f6ecbf703c82e29
2016-11-11 18:24:41 -06:00
J. Ryan Stinnett
a8aec05d11 Bug 1315391 - Rename all disconnect methods to destroy in actors. r=ochameau
Ever since protocol.js was added as a way to create DevTools actors, we've had
lots of confusion about the correct way to implement actor destruction.  If your
actor's _parent_ was the legacy kind, you had to use `disconnect`.  If it was
protocol.js, you had to use `destroy`.

There is no reason for this madness, which makes reasoning about destruction
quite hard.  Here we rename `disconnect` to `destroy` so there is only one name
for every destruction path.

MozReview-Commit-ID: C1Yw9NfUUR2

--HG--
extra : rebase_source : 4d018622b7547d404510e0b563c6324c0127aafc
2016-11-11 18:24:58 -06:00
Jared Wein
c08df9c1a6 Bug 1316870 - Enable no-shadow eslint rule for browser/. r=mossop
MozReview-Commit-ID: 17vLN6W4BVj

--HG--
extra : rebase_source : cd7807455c2123aa972b34c184a577df84df0f54
2016-11-15 21:09:00 -05:00
Andreas Farre
5ae81e4455 Bug 1313989 - Remove MutexAutoUnlock in nsThread::GetIdleEvent. r=froydnj,mattwoodrow
Rewrite VsyncRefreshDriverTimer::GetTimerRate to always use the cached
value of the vsync rate in VsyncChild to avoid processing events on
the main thread.

Since VsyncChild::GetTimerRate is called in VsyncRefreshDriverTimer's
constructor, that cached value is bound to be set soon. This should
make the period of time we need to guess in
VsyncRefreshDriverTimer::GetTimerRate very short.

MozReview-Commit-ID: 1bnHNXAP8jY

--HG--
extra : rebase_source : 5a731962d417c4b3352970b2adb92b5d31de021c
2016-11-10 10:01:51 +01:00
Botond Ballo
cdbef9ee0c Bug 1316101 - Avoid excessive clamping in StickyScrollContainer::GetScrollRanges(). r=mstange
Excessive clamping can cause incorrect behaviour in the presence of negative
margins.

MozReview-Commit-ID: AkQEqcQpAxx

--HG--
extra : rebase_source : 33cde31c15608792299a1dbef475e0fe0936270d
2016-11-14 19:01:37 -05:00
Drew Willcoxon
ed42034845 Bug 1113747 - New search UI breaks if too many open search providers are offered. r=florian
Based on an earlier patch by Nihanth Subramanya <nhnt11@gmail.com>

MozReview-Commit-ID: 4TZzFgovIJm

--HG--
extra : rebase_source : 0712c2145bf1c9e86b2c8a5eab0c240991b555e2
2016-11-16 10:00:51 -08:00
Mark Hammond
e35c5ab29f Bug 1316500 - remove use of tasks and promise.jsm promises from Sync tests. r=tcsc
MozReview-Commit-ID: 5itPSLBKguc

--HG--
extra : rebase_source : 9c0ee4387d4b3d7df56c1e9ccda0ec39cd5b11e2
2016-11-10 14:34:38 +11: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
Mike Conley
0ae97ece3d Bug 1308677 - If PluginContent hears an appropriate Decoder Doctor notification, have it show the hidden plugin notification bar. r=blassey
PluginContent listens for a particular type of Decoder Doctor notification.
Specifically, it listens for ones of type "cannot-play" for mimetypes that
include "application/x-mpegurl". If PluginContent sees that notification,
and we've already shown the Click-to-Play notification, then what we're
dealing with is web content that is probably using Flash to decode an
HLS feed. Because we don't want to spring up the Click-to-Play
PopupNotification on a Decoder Doctor notification (which might happen
at any time), we show the Hidden Plugin notification bar instead
to alert the user that they might need to enable Flash to view the
HLS feed.

MozReview-Commit-ID: IUFqhbhh0Sc

--HG--
extra : rebase_source : f88a51a6fbe3ffc4ce5ebb19903e9d0e97763976
2016-11-13 17:57:45 -05:00
Andrew Swan
92002248b4 Bug 1317590 AddonManager support for permissions r=rhelmer
MozReview-Commit-ID: 6I6BTb0TJR2

--HG--
extra : rebase_source : 82d7c03327518b827d5988e72b3fac6c6ab77f31
2016-11-16 08:53:56 -08:00
Botond Ballo
1f2c35311b Bug 1315854 - Account for rounding error when checking if certain transforms are the identity in AsyncCompositionManager::AlignFixedAndStickyLayers(). r=mstange
MozReview-Commit-ID: 4xxuqWHedeS

--HG--
extra : rebase_source : ee81a68b7e084896333cb0a9ac97a83e3c0f0388
2016-11-16 15:59:24 -05: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
Mark Hammond
e6302fe87d Bug 1317592 - don't try syncing other engines after one fails with a shutdown error. r=rnewman
MozReview-Commit-ID: LZ72JbOtpm4

--HG--
extra : rebase_source : 00493ea6d24470e5b45a2d42e8b64468427f89d3
2016-11-15 16:15:03 +11:00
Mark Hammond
136eb80ff1 Bug 1303831 - have _buildGUIDMap yield to the event loop and have it abort on shutdown. r=rnewman,tcsc
MozReview-Commit-ID: Ff8mq9eHBsQ

--HG--
extra : rebase_source : ab891da610a03791d6c13ea35fc5cd44d305a175
2016-11-15 17:01:22 +11:00
Ting-Yu Chou
4b4ca8bc3b Bug 1316537 part 3 - Fix tar package path conversion for local build. r=Ehsan
MozReview-Commit-ID: 6btpeTxouB

--HG--
extra : rebase_source : efe870a8e0e3ff261dcb9cffaf66707585fb9465
2016-11-15 12:22:44 +08:00
Ting-Yu Chou
0e9c286577 Bug 1316537 part 2 - Update 64-bit clang build configuration for the changes in bug 1306650. r=Ehsan
MozReview-Commit-ID: 79QRz4FUFRe

--HG--
extra : rebase_source : eeecb26bcae896929ee6af91a6b8bba2f4225944
2016-11-15 09:11:46 +08:00
Ting-Yu Chou
aa40a97c47 Bug 1316537 part 1 - Add 64-bit clang-cl toolchain build. r=dustin
MozReview-Commit-ID: 5EKWZ94TrMD

--HG--
rename : taskcluster/scripts/misc/build-clang-windows.sh => taskcluster/scripts/misc/build-clang32-windows.sh
extra : rebase_source : 369d9da0dd0527833cc900fe56abd27d64953ebf
2016-11-15 09:06:08 +08:00
Shane Caraveo
d981ec07ec Bug 1311576 fix webrequest filter for tabId and windowId, r=kmag
MozReview-Commit-ID: FzW53LXktWz

--HG--
extra : rebase_source : e19987aa7f2bfa711f07abebaf37b75464508177
2016-11-15 16:34:33 -08: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
David Keeler
d4da3e8201 bug 1298883 - make security.enterprise_roots.enabled appear in about:config r=jcj
This pref controls whether or not the platform looks for and trusts enterprise
roots (currently only available on Windows). Adding it to security-prefs.js will
make it appear in about:config, which is a much more straightforward user
experience (previously users would have to add it manually). It is still
disabled by default.

MozReview-Commit-ID: 6pQkh2gTNTF

--HG--
extra : rebase_source : 5479492f3a9f802d1fc02c6d3fdc3d54c81f8fe9
2016-11-15 13:52:26 -08:00
Mike Hommey
9b452a533f Bug 1317359 - Propagate MOZ_ADJUST_SDK_KEY to old-configure. r=chmanchester
--HG--
extra : rebase_source : 207defc410cd9fe01689b136c79e84046b7d3ae9
2016-11-15 07:43:39 +09:00
Mike Hommey
5fd2ce5f30 Bug 1317359 - Move add_old_configure_* functions to util.configure. r=chmanchester
--HG--
extra : rebase_source : 240fd42920ed4a17592c368ab764672cac01ca31
2016-11-15 14:35:22 +09:00
Rail Aliiev
146b6bf411 Bug 1317593 - Fix logic in settings vcs_share_base r=gps
MozReview-Commit-ID: 7GVvOjNESqZ

--HG--
extra : rebase_source : 283654f69f5992f34b5431ed9ad7c25c3724951d
2016-11-15 06:17:51 +01:00
Karl Tomlinson
f1b0f33678 bug 1315668 construct menuitem style contexts from paths r=stransky+263117
instead of using the context belonging to a widget.
Only the style context is cached, instead of the whole widget.

Using the style context from a widget meant that rendering displayed the
initial appearance of animations after state changes, but there was no
invalidation to trigger the final rendering in the animations.

Style contexts constructed from paths do not incorporate animations.
(See gtk_css_path_node_update_style() in GTK.)  Therefore they provide the
appropriate rendering for Gecko's model, which is not expecting animations.

There is no mechanism available to display animations when using style
contexts constructed from paths, but the GtkWidget animation design is also
not suitable for rendering potentially multiple elements each in a different
state of their animation.

This contexts-from-paths approach can be extended also to other widget types,
but this is a smaller change intended for uplift to other branches to address
a regression in menuitem rendering.

MozReview-Commit-ID: EFV7swWQtm4

--HG--
extra : rebase_source : 689f7340007c889ce0eaeb3b4acd228d45ad0d6d
2016-11-15 17:11:14 +13:00