Commit Graph

572157 Commits

Author SHA1 Message Date
Nico Grunbaum
b42a174bc8 Bug 1363667 - P3 - RTP Source Observer r=mjf
MozReview-Commit-ID: BwZhi49KlfB

--HG--
extra : rebase_source : b6b9230d07848952a200d2ded956d39439e5dc1e
2017-11-14 10:17:10 -08:00
Nico Grunbaum
9dbbdd4080 Bug 1363667 - P2 - Add RTP Sources RTP header extensions r=mjf
MozReview-Commit-ID: JVPR5OhHMOR

--HG--
extra : rebase_source : 15ee770fa7eb56b606ec1a497a43710207300c3e
2017-11-14 09:32:29 -08:00
Nico Grunbaum
0abf999334 Bug 1363667 - P1 - Add RTP Sources WebIDL r=bkelly,mjf
MozReview-Commit-ID: 61RqPKfbrDw

--HG--
extra : rebase_source : 413164df9bbabe6e93c217f33b1127ddde6716b9
2017-11-14 09:20:29 -08:00
Jeff Muizelaar
6f2c43a0f8 Bug 1422414. Remove unused StackingContextHelper::mOrigin. r=mstange
Now that ToRelativeLayoutPoint does no math we should be able to
eliminate a copy of the glyph buffer.

MozReview-Commit-ID: 1o6awTyE95v

--HG--
extra : rebase_source : 0133fd64fb96c1d5541f036b7f7f3ec8701cd3fd
2017-12-01 22:20:33 -05:00
Emilio Cobos Álvarez
e61587fcae servo: Merge #19455 - style: Don't waste an allocation when failing to parse a CSSParserColor (from emilio:color-does-stupid-things-too); r=upsuper
I see that allocation show up in the profiles, and it makes sense, because
system colors and such are common in Firefox, and they're just wasting it.

Note that the clone() added is refcounted.

Source-Repo: https://github.com/servo/servo
Source-Revision: 49e6594bc9f4c8178175232ab4a61581144dfa8e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9cbfebb4036f9b67e1346da0c681b93aa19a91cf
2017-12-01 18:03:11 -06:00
Mike Conley
5b0d6be3e2 Bug 1397426 - Expose renderLayers state via nsITabParent and correctly set initial tab states in async tab switcher. r=billm
MozReview-Commit-ID: IIMmwrgJUV6

--HG--
extra : rebase_source : 00ca04b970feb98d96b082c9b582875d486d2ece
2017-11-22 10:48:10 -08:00
Mike Conley
3d0b1bf4e8 Bug 1397426 - TabChild::MakeHidden shouldn't cause script to run. r=billm
Calling GetPresShell() might create a content viewer, which might cause
script to run. This is bad if there's a ForcePaint message queued up,
because it could mean running the force painting code while we're still
in the midst of making a tab hidden, which would put us in an inconsistent
state.

MozReview-Commit-ID: 3rw2wGllGdk

--HG--
extra : rebase_source : 152716d81391ea4d890927a0dadff912c53a28e2
2017-11-21 16:52:48 -05:00
Mike Conley
f476b048b2 Bug 1397426 - Make TabParent's assume they're rendering layers by default on construction. r=billm
This assumption also mirrors how non-remote browsers have their docShells active by default.

In order to do this, I also have to increase the initial epoch's for the TabParent and TabChild,
as if a RenderLayers has been called. Originally, since the epochs initted at 0, and the epochs
stored by the [Layer|WebRender]TransactionParent were also initted at 0, we'd hit this branch:

https://searchfox.org/mozilla-central/rev/c633ffa4c4611f202ca11270dcddb7b29edddff8/gfx/layers/ipc/LayerTransactionParent.cpp#703

and then we'd never alert the TabParent about the layer upload.

MozReview-Commit-ID: 6PP1eCnisYK

--HG--
extra : rebase_source : da736415d6b60208fa54bc25fe449cc261e856d8
2017-11-20 11:41:11 -05:00
Mike Conley
752b8e0615 Bug 1397426 - Add hasLayers to nsITabParent and use it in the async tab switcher. r=billm
This is necessary because sometimes the async tab switcher will instantiate when
there already exists some background tabs that are rendering via print preview. When
that happens, it's important for the state to be set correctly for them so that we
don't accidentally treat them as still loading, and wait (forever) for them to report
having finished loading.

MozReview-Commit-ID: 2dwo5WlXlgJ

--HG--
extra : rebase_source : 7d3def56bf6ba12bb6110b60bb3d79329bfc0abd
2017-11-17 09:55:29 -08:00
Mike Conley
94c19b3bf1 Bug 1397426 - Stop disabling tab warming in browser_bug343515.js. r=billm
Tab warming was originally disabled in this test because it was accidentally
setting the DocShell to be active at an unexpected time.

Because tab warming no longer activates DocShells, we can revert this change,
though we also have to make it deal with the fact that switching tabs no longer
makes docShells become activate immediately.

MozReview-Commit-ID: K0fiA5AVfEm

--HG--
extra : rebase_source : 5de92eb125e1001dd358a5deaa76f626802e3928
2017-10-23 17:01:48 -04:00
Mike Conley
335bfa1671 Bug 1397426 - Fix block comment formatting in nsITabParent.idl. r=billm
MozReview-Commit-ID: KWwDee0ujR

--HG--
extra : rebase_source : 0da6b32ca21dd2c2c915565ed5749795710d6c4a
2017-09-25 13:55:48 -04:00
Mike Conley
8a11644dbe Bug 1397426 - Make async tab switcher use new nsITabParent renderLayers function. r=billm
MozReview-Commit-ID: Go2EdMXGwa7

--HG--
extra : rebase_source : 15ad7b80c5d52d61fae5f4867e2a6599522adf0b
2017-11-03 10:27:35 -04:00
Mike Conley
cacae0556b Bug 1397426 - Rename TabChild's notion of "active tabs" to "visible tabs" and move logic into renderLayers. r=billm
MozReview-Commit-ID: 1bBNwew7uCk

--HG--
extra : rebase_source : fb907f0e9f02635b122dbf67da7a7c1292427cec
2017-11-03 11:27:29 -04:00
Mike Conley
e2a8eea6ce Bug 1397426 - When short-circuiting a TabParent::RenderLayers call, still fire the layer tree event if we've been preserving layers. r=billm
MozReview-Commit-ID: 7UT036vUY85

--HG--
extra : rebase_source : 2420294925a7c3b341499678f85713d8f212b6d8
2017-11-07 15:08:47 -05:00
Mike Conley
93aa55c535 Bug 1397426 - Rename mRenderingLayers to mRenderLayers. r=billm
MozReview-Commit-ID: KTDhXM7PRdc

--HG--
extra : rebase_source : 055939b8c03b741ef6a0e9da3a2ae5812eefeccf
2017-11-22 10:21:34 -08:00
Mike Conley
4b66a89aa0 Bug 1397426 - Add IPC interface to tell TabChild's to render and clear layers, distinct from setting the active state on the DocShell. r=billm
Originally, setting the active state on the DocShell for remote browsers also did the
work of making the TabChild render its layers and upload them to the compositor.

This patch adds a new renderLayers method to nsITabParent which allows more fine-grained
control - we can now, for example, cause layers to be rendered and uploaded without
activating the DocShell.

Note that if one activates or deactivates the DocShell, we'll still do the work of
attempting to render / clear the layers if it hasn't already been done.

MozReview-Commit-ID: KkLaMDTzfHi

--HG--
extra : rebase_source : 2d00dc71c584a41650696a412b6249aee3a505fe
2017-11-03 10:27:05 -04:00
Dorel Luca
171c255f60 Backed out changeset 1ca98c1618a6 (bug 1422106) for failing browser/components/customizableui/test/browser_synced_tabs_menu.js r=backout on a CLOSED TREE 2017-12-02 02:37:38 +02:00
Scott Wu
e1f486c038 Bug 1419819 - Remove html|button padding rule from common stylesheet. r=jaws
Bug 1413162 added the html|button padding rule intended to normalize the way buttons are styled in preferences, but ended up causing problems for buttons outside of preferences, especially because !important keyword is used. This bug reverts that change.

MozReview-Commit-ID: FFQt2k6mCHE

--HG--
extra : rebase_source : 128c59dd582c1b21aa0aea12addc9ec7d6408ba8
2017-11-30 11:24:44 +08:00
abhinav
01f6a3eed2 Bug 1419367 - NetMonitor: Stop using ImmutableJS in sort reducer. r=Honza
MozReview-Commit-ID: BXc9Y350MC

--HG--
extra : rebase_source : aeb89e8f42661bc376b7c6e26a510a1e799c7201
2017-11-29 09:17:04 +05:30
Emilio Cobos Álvarez
4b8603c01c servo: Merge #19451 - style: Inline some things that should never ever appear in a profile (from emilio:inlining-is-fun); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: f7aa22a87ee2571d3cdb90bfe361b22ba45ddb23

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : cb3fcff96422313c36f06435a585eed84c82d62b
2017-12-01 16:52:34 -06:00
Emilio Cobos Álvarez
6d8177ca14 servo: Merge #19453 - style: Add a fast-path for GeckoElement::is_root (from emilio:is-root-is-slow); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: bca8951182dc3608f3d8c6948bcce636f7860529

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : da8b2d4567782e69c382bc63f3d050720e62353c
2017-12-01 15:14:13 -06:00
Edouard Oger
afb8b81041 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : 747637f3746356e3da208acc41a3629bd2597e2e
2017-11-30 16:01:40 -05:00
Henrik Skupin
cd431e85f5 Bug 1422373 - Re-add Firefox UI safebrowsing tests. r=jmaher
MozReview-Commit-ID: 1BitgKPG1JD

--HG--
extra : rebase_source : 3f79d15ef377d0aac546e1227f255fcf0f961ef0
2017-12-01 22:15:44 +01:00
Gabriele Svelto
689bddee12 Bug 1421874 - Fix SessionStore to include AppConstants before using it; r=sebastian
MozReview-Commit-ID: IOSHvaOOE19

--HG--
extra : rebase_source : 674a7d486a156187bad7427abdb8a6feadf773a8
2017-12-01 15:11:21 +01:00
Julian Descottes
44a0ff57f6 Bug 1408937 - enable browser_webconsole_external_script_errors.js;r=bgrins
MozReview-Commit-ID: 4GcSKa2ph4j

--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-597136-external-script-errors.html => devtools/client/webconsole/new-console-output/test/mochitest/test-external-script-errors.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-597136-external-script-errors.js => devtools/client/webconsole/new-console-output/test/mochitest/test-external-script-errors.js
extra : rebase_source : 5b85c8d3991ef95e59b48352e6080adf9e169090
2017-12-01 17:59:05 +01:00
Dorel Luca
e07748b33c Backed out changeset 3aff028846c0 (bug 1422106) for failing syncedtabs/test/xpcshell/test_SyncedTabsDeckComponent.js and browser-chrome's browser/components/customizableui/test/browser_synced_tabs_menu.js r=backout on a CLOSED TREE
--HG--
extra : rebase_source : ec98a160ef77f13abc4b067f8836e290e3b11e21
2017-12-02 00:33:41 +02:00
Emilio Cobos Álvarez
2b97da363f Bug 1417200: Stop using -moz-border-*-colors in forms.css. r=xidorn
On a CLOSED TREE, since the servo patch got in.

This removes one px of "padding" in:

 <progress style="-moz-appearance: none"></progress>

But it'd be worse to not be able as an author to override those somehow.

MozReview-Commit-ID: EFZIBHaUskM
2017-12-01 23:25:17 +01:00
Emilio Cobos Álvarez
13a91fa9f6 Bug 1417200: Make -moz-border-colors chrome only. r=xidorn
On a CLOSED TREE, since the servo patch managed to get in.

This also makes the border longhand no longer reset them.

MozReview-Commit-ID: KNais1e5FnE
2017-12-01 23:25:01 +01:00
Jeff Muizelaar
50bb585dd9 Bug 1422403. Avoid float->integer->float conversion in ToRelativeLayoutRect. r=kats
RoundedToInt converts to ints but we want floats.

MozReview-Commit-ID: 76DtPRc8hnp

--HG--
extra : rebase_source : 213f9fae5841520862cc1d7ca4e05897ec583395
2017-12-01 15:46:26 -05:00
Edouard Oger
54088f8c9e Bug 1422115 - Remove storageserver.js from services/. r=markh,tcsc
MozReview-Commit-ID: 4UGCq6SolY1

--HG--
extra : rebase_source : 49e8a5d072d1cb15d0942e7fbc39c7a2c8c08c6f
2017-11-30 15:11:19 -05:00
Patrick Brosset
2036033118 Bug 1419301 - Make HTML comments removal in prettifyCSS faster; r=tromey
MozReview-Commit-ID: LG8GKccRlXr

--HG--
extra : rebase_source : 86eb5612f8264bbe4f765ab5baaea4db8c7a84a3
2017-12-01 16:58:48 +01:00
Emilio Cobos Álvarez
334f5f8700 servo: Merge #19447 - servo_arc: Add some #[inline] and repr(C) annotations (from emilio:arc-soundness); r=jdm
inline is probably unnecessary, but anyway... We rely on those being repr(C), so
they rather have some.

Source-Repo: https://github.com/servo/servo
Source-Revision: 210d0ab30a72b58c2797d29db3c2a5521730285e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d675471a908fe1b961aa39e2fd0b637d29bdc175
2017-12-01 12:58:11 -06:00
ddh
247165dd5b servo: Merge #19307 - change parse_own_css to queue event not fire synchronously (from avadacatavra:domrefcellpanic); r=jdm
<!-- Please describe your changes on the following line: -->
fixes a panic and aligns with spec

I've also added checks around each mutable borrow of the tokenizer to see if we can catch any other panics

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #18930 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 712d75af01e02fe9689d18d7a94c89318e39f52b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 66a16b12a0302d6a108f7b6345a0554794c0f8de
2017-12-01 11:41:47 -06:00
Emilio Cobos Álvarez
bde5c06616 servo: Merge #19446 - style: Make -moz-border-colors chrome only (from emilio:bye-moz-border-colors); r=xidorn
This also makes the `border` shorthand not reset them.

Bug: 1417200
Reviewed-by: xidorn
MozReview-Commit-ID: KNais1e5FnE
Source-Repo: https://github.com/servo/servo
Source-Revision: af8d53372f1cb7364b07f48bbd3d9ecd01d9b69a

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 20695ab01754b373d7f8514f5303c768d0edb3b1
2017-12-01 10:41:33 -06:00
Ricky Chien
c57bd5cfc6 Bug 1418928 - requestCookies and responseCookies should be loaded lazily r=Honza
MozReview-Commit-ID: bywCQWGqWI

--HG--
extra : rebase_source : 41591be8f72e355ca370d4a53b6ffc0d7f966f9d
2017-11-24 14:57:10 +08:00
Daniel Holbert
d84cb4a5a7 Bug 1412240 part 2: Compile ffvpx library with -ffreestanding, to avoid triggering clang bug in icecc configurations. r=glandium,jya
Specifically: without this fix, icecc + clang users will hit this clang bug when compiling stdatomics.h:
  https://bugs.llvm.org/show_bug.cgi?id=26828

MozReview-Commit-ID: BJUN82HyXpF

--HG--
extra : rebase_source : 3f06d3401198de45240aa9f0c7c865e048f90b89
2017-11-30 10:57:07 -08:00
Daniel Holbert
945b072cbc Bug 1412240 part 1: Add a preemptive stdlib.h include in our libavutil_visibility.h hackaround file. r=jya
MozReview-Commit-ID: 8nmOy2aqPA0

--HG--
extra : rebase_source : 485e205af8fbb205c81929e12eac00410570124d
2017-11-30 11:48:28 -08:00
Doug Thayer
a3cb917217 Bug 1418443 - Send OnVisit notifications from single runnable r=mak
Because there's an overhead in simply creating/sending/receiving a
runnable, it makes sense to send our onVisits notifications from a
bulk runnable in the case where we're inserting many visits. This
is only step one of many optimizations we can and should make to
the observer system.

MozReview-Commit-ID: Co5yOUCRdnZ

--HG--
extra : rebase_source : 3f4f67f8dfe1798612a2b6ea210caff8556e9d72
2017-11-21 14:43:47 -08:00
Edouard Oger
f6bb451a7a Bug 1419838 - Make Synced Tabs sidebar translucent friendly in all states. r=markh
MozReview-Commit-ID: 3O7J5D4o8hF

--HG--
extra : rebase_source : 2fffcea87ca284b1e525ebea437c2394570b912b
2017-11-28 14:24:24 -05:00
Michael Ratcliffe
38001b4ff6 Bug 1422258 - Remove React Virtualized r=Honza
MozReview-Commit-ID: GBsptIUroI

--HG--
extra : rebase_source : 6b9be4513fa5bc59e9f06f675a8a7a75a19575b3
2017-12-01 09:57:19 +00:00
Mike Shal
677975fab5 Bug 1417658 - Move export_suffixes into GeneratedFile; r=nalexander
I believe all backends will need to know which GeneratedFiles are needed
before compilation can start, so we should make that an attribute of the
object. Each backend can then make its own decision about what to do
with the different types of GeneratedFiles.

MozReview-Commit-ID: ByburRx540b

--HG--
extra : rebase_source : ccfee5b569da432cb61882f2f6ea518f1ccbfa07
2017-11-22 14:14:30 -05:00
Edouard Oger
2a41681065 Bug 1422106 - Show broken heart when unverified in synced tabs sidebar/panel. r=markh
MozReview-Commit-ID: BDTdmcIOHmn

--HG--
extra : rebase_source : b1471e1ef0163b2d3b137852d285146f5a23f1fa
2017-11-30 16:01:40 -05:00
Csoregi Natalia
31c313504e Backed out changeset 313e0c5a2081 (bug 406738) for failing browser-chrome's browser/components/preferences/in-content/tests/browser_advanced_update.js r=backout on a CLOSED TREE 2017-12-01 19:39:50 +02:00
Emilio Cobos Álvarez
0194a97476 Bug 1422319: Upstream :any-link reftest to WPT. r=xidorn
MozReview-Commit-ID: KOYqClzV8eo

--HG--
extra : rebase_source : 36b2d0f5d36e7b06e492316fac3a754247c859fb
2017-12-01 15:57:01 +01:00
Alex Gaynor
07cc41c4be Bug 1342564 - Don't crash the process when we fail to open the bloat log r=dmajor
NoteIntentionalCrash is supposed to leave a marker that a process has crashed
intentionally, but if it can't open the target file it will crash the process
itself. This can cause difficulty debugging and false-positive results for
tests expecting crashes.

MozReview-Commit-ID: CgLauJIEAKD

--HG--
extra : rebase_source : 689bfaa0e93b96f8ebbbaf31e17e80547004506f
2017-11-30 14:41:00 -05:00
Sylvestre Ledru
52773cd64b Bug 406738 - No longer show the kind of updates in 'Show Update History' as they are all marked as "security updates" r=florian
MozReview-Commit-ID: 1TTK5vPRnfT

--HG--
extra : rebase_source : 7d7dd108e8cab840c4029f995b6802b6cae23d1b
2017-10-19 11:36:25 +02:00
Chung-Sheng Fu
5503bf6a6c Bug 1039069 - Gray-out style for disabled listbox. r=jaws
MozReview-Commit-ID: KSWX63C35lh

--HG--
extra : rebase_source : ab02e1cf95f059d5eb4f8371927d6b0aec3a2831
2017-11-21 15:40:05 +08:00
Chung-Sheng Fu
9fdde28a64 Bug 1039069 - Show a hint of the change of the preferred language list. r=mconley
MozReview-Commit-ID: LHyXmdnyf3N

--HG--
extra : rebase_source : 671f99ad432245b7dfe925e4867c76849a3bc2a7
2017-10-24 16:28:53 +08:00
Chung-Sheng Fu
6806c911a3 Bug 1039069 - Provide a popup about English for international users. r=arthuredelstein,mconley
MozReview-Commit-ID: IL8i4vzjWQd

--HG--
extra : rebase_source : 7524445d3508b6de6a347034efb4a28e8d5738c5
2017-09-12 17:32:07 +08:00
Jeff Muizelaar
dce6b5fece Bug 1422321. Eliminate double promotion in Round(). r=kats
This uses std::floor(T) instead of floor(double) so that we end up calling
floorf(float) for floats instead floor(double). It also changes the literals to
be floats. 0.5f is exactly representable in float and so will transparently
promote to double as needed.

--HG--
extra : rebase_source : ea193026b3c7d1f97f5abbc3f9220eca5ac5523c
2017-11-30 13:23:56 -05:00