Commit Graph

562957 Commits

Author SHA1 Message Date
Chris Pearce
5ef6d52547 Bug 1407248 - Include StaticPtr.h in SystemGroup.cpp. r=billm
We were using a StaticRefPtr without it being fully defined for
SystemGroupImpl::sSingleton, resulting in a non-unified build failure.

MozReview-Commit-ID: AgSuVvGTri7

--HG--
extra : rebase_source : 906e30e8c2c21e13a045a941e9d92e1d2d2af079
2017-10-10 16:34:27 +02:00
Evan Tseng
03ab88c492 Bug 1392951 - Implement telemetry probe for home page setup. r=liuche,mconley
- Send a ping when user type in "Home page" box.
  - String is longer than 4 letters and with at least one ".".
  - String is not deleted after 3 seconds.
- Send a ping when "Use Current Page" is clicked.
- Send a ping when "Use Bookmark" is clicked.
- Send the number of "|" is detected in "Home page" box.

MozReview-Commit-ID: 6bYK0eCkYym

--HG--
extra : rebase_source : 8ead54eff6e34fb8cc33d8a0a9d463902ed534e7
2017-10-06 16:13:05 +08:00
Chris Peterson
925214d9af Bug 1406618 - Enable gcc -Wduplicated-cond warnings. r=glandium
Warn about duplicated conditions in if-else-if chains, which are unreachable code and likely copy/paste bugs. The -Wduplicated-cond flag is available in gcc 6 and later.

  int example(int a)
  {
    if (a == 0)
      a = 42;
    else if (a == 0) // -Wduplicated-cond warning!
      a = 43;
    return a;
  }

MozReview-Commit-ID: F9hqxMCct74

--HG--
extra : rebase_source : 71168f79ce8f03f650167cdedbbd2e5802846eab
2017-10-05 23:14:02 -07:00
Ting-Yu Lin
fd26fb0032 Bug 1404854 Part 3 - Fix page cannot be scrolled automatically when dragging caret. r=mtseng
The issue is: when we hit some failure conditions in DragCaretInternal()
such as the frame is not selectable, or no frame is under the point, etc.,
we'll early return so that the auto scroll code is not being executed.

The logic in StartSelectionAutoScrollTimer() is similar to how
nsFrame::HandleDrag() handles the auto scrolling.

MozReview-Commit-ID: FtXZ8BWp3BX

--HG--
extra : rebase_source : 9526c10987286316ac76c536cc9086de65931797
2017-10-06 15:54:23 +08:00
Ting-Yu Lin
6a312878b3 Bug 1404854 Part 2 - Move adding mOffsetYToCaretLogicalPosition into DragCaretInternal(). r=mtseng
MozReview-Commit-ID: 1hKB7V4JSZo

--HG--
extra : rebase_source : 20cbd21ce12f60c47e16d2bbeac47e2038a3a207
2017-10-06 17:39:56 +08:00
Ting-Yu Lin
2c85997e86 Bug 1404854 Part 1 - Move null pointers checking from DragCaretInternal() to DragCaret(). r=mtseng
We don't need to check GetFrameSelection() because valid GetSelection()
implies valid GetFrameSelection().

MozReview-Commit-ID: 9WH7HxN27yF

--HG--
extra : rebase_source : 0d97ae57600b239a4beb48580f74bf20d6137be5
2017-10-06 15:45:32 +08:00
Hiroyuki Ikezoe
2b54925c5c Bug 1407463 - Drop unused pseudo atom argument from GetBaseContextForElement. r=heycam
MozReview-Commit-ID: JJ2Jh1I6y4h

--HG--
extra : rebase_source : 99c458dfffee88103e5f2b01f9ff9ae0256b8c62
2017-10-11 10:00:37 +09:00
Hiroyuki Ikezoe
a5c66d4d97 Bug 1407463 - Drop unused pseudo atom argument from ResolveStyleLazily and ResolveStyleLazilyInternal. r=heycam
MozReview-Commit-ID: Lmjqbr7QsTU

--HG--
extra : rebase_source : dc1587cd9058bf279f21116a843928289b2602f2
2017-10-11 10:00:28 +09:00
Matt Brubeck
7a1ac15e7f Bug 1406749 - Use member variables instead of global variables in ArchiveReader. r=rstrong
MozReview-Commit-ID: 8igmXe2QReO

--HG--
extra : rebase_source : d04a13deae99743bef56585422cc88daa1e21c52
2017-10-08 06:51:02 -07:00
Chris AtLee
69362c1b65 Bug 1356240: Run win7 reftest-gpu jobs on TC r=RyanVM
MozReview-Commit-ID: BlvEr2Ya1Ow

--HG--
extra : rebase_source : 1a9de150594b6d03f51ebee611a35e136376a31e
2017-10-10 13:44:17 -04:00
Pradeep
237c13489c Bug 1404130- Cache L10N values in status bar; r=gasolin
MozReview-Commit-ID: 23sm6hux6mf
***
Bug 1404130- Cache L10N values in status bar; r=gasolin

MozReview-Commit-ID: ECs1Td12ajW

--HG--
extra : rebase_source : 20cf9ef88cad04555b970d5316c3e58d02d6fbbd
2017-10-09 20:21:37 +05:30
Mike Hommey
a055106404 Bug 1407469 - Remove malloc_spin_*. r=njn
The malloc_spin_* functions have ended up being strictly identical to
the malloc_mutex_* functions, so use the latter instead of the former.

--HG--
extra : rebase_source : 746bdf57cb4a33fd65335174a748cb567630e05b
2017-10-06 16:50:17 +09:00
Cameron McCormack
749fd79e7a servo: Merge #18793 - servo_arc: Try pointer equality test first when comparing two Arcs (from heycam:ptr-eq); r=emilio
This doesn't actually help https://bugzilla.mozilla.org/show_bug.cgi?id=1405411 but seems like something we should do.

Source-Repo: https://github.com/servo/servo
Source-Revision: b1c7a2fa6dd94bde092bc4d9baed456e7a8bf45b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : dd7195b7cfaef114f69ace40a53bafeb6c335c05
2017-10-10 20:24:48 -05:00
Ethan Lin
f46800ff7b Bug 1406272 - Enable talos-chrome and talos-g1 for linux64-qr. r=kats
MozReview-Commit-ID: G3Ap1KeyrJT

--HG--
extra : rebase_source : 1bf6525ad568b28cadb44c064a3ca6f0b9fcb02b
2017-10-06 10:56:21 +08:00
Daosheng Mu
bcda0089e4 Bug 1349067 - Make gl as current at WebGL2 ReadBuffer(); r=ethlin,jgilbert
MozReview-Commit-ID: 5yrsuhilb1N

--HG--
extra : rebase_source : e22d5bf358ac1e73f4073d39f99ae795d6ce65a2
2017-03-28 00:05:37 +08:00
Markus Stange
ef5c8e6d40 Bug 1402060 - Don't create outset box-shadow wr items for inset box-shadows. r=mattwoodrow
MozReview-Commit-ID: EEKcXiy2WnK

--HG--
extra : rebase_source : 26772e259a7de57adf3588293159a0597df508d5
2017-10-07 14:13:55 -04:00
Markus Stange
a12e240fa0 Bug 1406183 - Include basic layer managers in the display list dumps in layers-free mode. r=mattwoodrow
MozReview-Commit-ID: 6L6w1vgNkHe

--HG--
extra : rebase_source : 31d8c104484751f71843b7094b8bec52beae1fbb
2017-10-06 18:34:12 -04:00
Markus Stange
9694ad049b Bug 1406183 - End empty layer manager dumps with a line break. r=mattwoodrow
MozReview-Commit-ID: LCD0SYqZehK

--HG--
extra : rebase_source : 5c402f463bdb80aedb8031bdf418bfef97b40f57
2017-10-06 18:33:10 -04:00
Markus Stange
1200f014ad Bug 1406183 - Add a boolean aIsInactiveLayerManager to FrameLayerBuilder so that IsBuildingRetainedLayers can return false for inactive layer managers even if there is no containing PaintedLayerData. r=mattwoodrow
MozReview-Commit-ID: KkrEXLD85iP

--HG--
extra : rebase_source : a4a54a95900665476cd725a852ce0915cdfcf73f
2017-10-06 18:32:30 -04:00
Xidorn Quan
e701a0dbc6 Bug 1401825 - Support pseudo-element properly in nsPresContext::HasAuthorSpecifiedRules. r=emilio
MozReview-Commit-ID: Iugvr9DYm2E

--HG--
extra : rebase_source : a0675ddafd525aa12b11fd264f2b0e6e5d0c06b7
2017-10-10 18:35:10 +11:00
Xidorn Quan
0e34f35291 servo: Merge #18823 - Support pseudo-element properly in HasAuthorSpecifiedRules (from upsuper:author-pseudo); r=emilio
This is the Servo side change of [bug 1401825](https://bugzilla.mozilla.org/show_bug.cgi?id=1401825).

Source-Repo: https://github.com/servo/servo
Source-Revision: 3c6e7b56c3469d29df8f6ff3332f50e447671d91

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4b570a20513ce9bef7e4a4c653293376647ee740
2017-10-10 18:31:18 -05:00
DimiL
e246eef04f Bug 1384405 - Dump request payload for V2 400 responses. r=francois
Refactor SafeBrowsing code so we can get the payload of gethash/update request when
updates fail.

MozReview-Commit-ID: NB1oacd185

--HG--
extra : rebase_source : 87e7ce94fd5cde9697946a00de90a821e5561168
2017-10-05 08:37:29 +08:00
Bobby Holley
37b2d10987 servo: Merge #18822 - More hashmap diagnostics (from bholley:more_hashmap_diagnostics); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1407080

Source-Repo: https://github.com/servo/servo
Source-Revision: be5839fae6444c5134faa67e43c44d4d277a778a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 74b3d6e1dbc8a3a27cda5f1dc7364c61d20f9bca
2017-10-10 16:17:20 -05:00
Karl Tomlinson
a7bb0b6a26 bug 1406830 store the AsyncCubeTask SharedThreadPool reference on the AudioCallbackDriver r=jesup,padenot
The first AsyncCubebTask dispatch from AudioCallbackDriver::Start() may either
be from MediaStreamGraphImpl::RunInStableState() on the main thread or
ThreadedDriver::RunThread() on a threaded driver thread.
These could potentially occur concurrently when there are multiple
MediaStreamGraphs.

This change removes the race around setting sThreadPool.
SharedThreadPool::Get() would have returned the same pointer, and so
that race was probably mostly benign apart from the potential to add an
extra reference and so hang on shutdown in SharedThreadPool::SpinUntilEmpty().

Storing the reference to the SharedThreadPool on the object using it is the
typical way to use SharedThreadPool.  It lets the thread pool be released when
not in use, and lets SharedThreadPool deal with multi-thread access and
shutdown.

MozReview-Commit-ID: 8WutVsAMfJo

--HG--
extra : rebase_source : a3d0ce75d65889fff47389ccd80640c3f1150244
2017-09-26 17:28:17 +13:00
Karl Tomlinson
7299e56b0b bug 1406830 reimplement Shutdown() as virtual separately on each driver r=padenot
moving Stop() to AudioCallbackDriver only.

MozReview-Commit-ID: 9atG8R4wAsY

--HG--
extra : rebase_source : 0addeae733c001f4e5c6cd2d55cbb0b069863864
2017-09-28 15:05:36 +13:00
Karl Tomlinson
4f358ada69 bug 1406830 remove unused GraphDriver::Resume() r=padenot
MozReview-Commit-ID: IPpyxOHESLW

--HG--
extra : rebase_source : 404e86e6db9c42df64d306697e13b6da1f0c793c
2017-09-28 14:55:20 +13:00
Karl Tomlinson
938c20597e bug 1406830 remove unused RemoveMixerCallback r=padenot
Unused since
https://hg.mozilla.org/mozilla-central/rev/ef761a32a969178df81a61bc2d0a376dde2eec03#l1.144

MozReview-Commit-ID: G0NaZXJLRN9

--HG--
extra : rebase_source : 6c56600734e628f10cb5dc08c6d25d29cbc684ea
2017-09-28 12:26:41 +13:00
Gijs Kruitbosch
3c73808cf3 Bug 1405781 - don't constrain the width of the overflow panel in customize mode to avoid the scrollbar being placed outside it, r=mikedeboer
MozReview-Commit-ID: GfT7LB9abBR

--HG--
extra : rebase_source : b30e4574ada41f0e7d114405106c55f5b365aeba
2017-10-10 15:43:54 +01:00
Sebastian Hengst
296a098e22 merge mozilla-central to autoland. r=merge a=merge 2017-10-10 23:57:56 +02:00
Sebastian Hengst
01cd7f3d0f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GbmY183Epi2
2017-10-10 23:56:11 +02:00
Sebastian Hengst
7b58b734df merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: CdkzY7WJ58G
2017-10-10 23:48:17 +02:00
ffxbld
c8b9469182 No bug, Automated HPKP preload list update from host bld-linux64-spot-303 - a=hpkp-update 2017-10-10 10:45:25 -07:00
ffxbld
4d59676f4f No bug, Automated HSTS preload list update from host bld-linux64-spot-303 - a=hsts-update 2017-10-10 10:45:22 -07:00
Shane Caraveo
3a90ea2602 Bug 1305237 Expose frameAncestors to webextensions, r=bz,kmag
MozReview-Commit-ID: 64lIMu6neaD

--HG--
extra : rebase_source : 36fef9a014a7f4bb2db66fb8736de06298008e36
2017-10-10 09:54:22 -07:00
evilpies@gmail.com
06beef32ba Bug 1305237 LoadInfo changes to include all ancestors principals and window IDs, r=bz,mystor
MozReview-Commit-ID: 1IMi5MqTx7o

--HG--
extra : rebase_source : 373f1928987718fe3bc22306e0dd3ae13fc0cd9f
2017-10-10 09:54:00 -07:00
Jan de Mooij
9d1f02bc43 Bug 1405994 part 2 - Use arguments rectifier when entering JIT code instead of a Vector. r=nbp
--HG--
extra : rebase_source : 474d7454f92d0fff92a1b38403b3ba68fe31c0e8
2017-10-10 14:04:46 +02:00
Jan de Mooij
6fefbc439b Bug 1405994 part 1 - Handle rectifier frames following c++ entry frame in profiler code. r=bbouvier
--HG--
extra : rebase_source : 6380e4cdde9268b59f20571ac557c175b51d08b5
2017-10-10 14:03:24 +02:00
Jon Coppeard
4ee603a0a2 Backed out changeset 3b19f13cf22a (bug 1406746) for rooting hazards 2017-10-10 13:03:36 +01:00
Catalin Badea
d059041927 Bug 1402251 - Assert ranges our not added to multiple common ancestor lists. r=smaug 2017-10-10 12:10:00 +01:00
Jon Coppeard
74f1c6ece5 Bug 1406455 - Disallow OOM simulation on worker threads r=jandem 2017-10-10 12:07:08 +01:00
Jon Coppeard
a830e07d00 Bug 1406452 - Check for errored modules in builtin testing functions r=evilpie 2017-10-10 12:07:08 +01:00
Jon Coppeard
3c1db04027 Bug 1406746 - Fix ctypes error handling when creating FunctionInfo r=sfink 2017-10-10 12:07:08 +01:00
Jon Coppeard
d3627867f2 Bug 1406438 - Ensure GC lock held when iterating all non-empty chunks r=sfink 2017-10-10 12:07:08 +01:00
sotaro
2935e1ba35 Bug 1407149 - Add immediate context pointer check to d3d images r=nical 2017-10-10 19:09:37 +09:00
Sebastian Hengst
1a4a26905f merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-10-10 06:12:26 -03:00
Sebastian Hengst
ee02ddae54 merge autoland to mozilla-central. r=merge a=merge 2017-10-10 06:07:19 -03:00
ffxbld
678b6b5093 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2017-10-09 22:53:39 -07:00
ffxbld
c5ca0896eb No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2017-10-09 22:53:35 -07:00
Phil Ringnalda
63a7c915ff Backed out changeset 8cce0046e302 (bug 1406482) for mozilla::EditorBase::InsertTextImpl crashes
MozReview-Commit-ID: G9jW217fO0v
2017-10-09 21:33:53 -07:00
Phil Ringnalda
5fee8a40bb Backed out changeset 9843839bf1df (bug 1406482) for mozilla::EditorBase::InsertTextImpl crashes
MozReview-Commit-ID: J7rX4lX2lxM
2017-10-09 21:32:12 -07:00