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

589450 Коммитов

Автор SHA1 Сообщение Дата
Josh Matthews f846d0809d servo: Merge #20504 - Hide non-Servo heap measurement (from jdm:unbreak); r=bustage
This hides the changes in #20391 from Gecko builds that use the malloc_size_of crate.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : e2e29829d3301d5d290d549700e5caff00e99137
2018-04-02 10:40:02 -04:00
Noemi Erli 42b34ba196 Backed out 2 changesets (bug 1443027) for breacking Gmail on OSX r=pascalc a=backout
Backed out changeset 5deb310542a9 (bug 1443027)
Backed out changeset e04979dd66be (bug 1443027)
2018-03-30 19:08:30 +03:00
J.C. Jones c66f288715 Bug 1445731 - land NSS 6ae3ab8a1e7b UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : bffce425114dbe0f2cf6095dea5adc40aa09ea9e
2018-03-30 08:52:56 -07:00
Chris Manchester 30f9e95441 Bug 1447116 - Update rust builders to 1.25 r=nalexander
MozReview-Commit-ID: jY8gAcA3vJ
2018-03-30 10:12:58 -07:00
Eden Chuang 2c1de92a07 Bug 1441709 - Mochitest for PaymentRequest.show(optional Promise<PaymentDetailsUpdate> detailsPromise). r=baku
1. Add testShowWithXXX tests to test PaymentRequest.show() with
   PaymentDetailsUpdate promise.
2. Improve the test case implementation by removing the redundant code.

--HG--
extra : histedit_source : 9c68ba8eb6ea4db7e6a158baf19f170b5736a9db
2018-03-30 22:42:38 +08:00
Eden Chuang 1537e9d304 Bug 1441709 - Support PaymentRequest.show() with an optional PaymentDetailsUpdate promise parameter. r=baku
1. Add "optional Promise<PaymentDetailsUpdate> detailsPromise" as a parameter
   of PaymentRequest.show() in PaymentRequest.webidl.
2. Let PaymentRequest inherit from PromiseNativeHandler, and implement the
   ResolvedCallback() and RejectedCallback() to handle the PaymentDetailsUpdate
   promise.
3. Update PaymentRequest.show() implementation. If PaymentDetailsUpdate Promise
   is not nullptr, the show request would not be transferred to chrome process
   immediately until the promise is resolved/rejected.
4. Update selectedShippingOption when requestShipping is true.
5. Change the PaymentMethod id validation sequence according to the spec.

--HG--
extra : histedit_source : e591c759037cce4f66701b2faa5ecbe01c00e246
2018-04-02 23:12:21 +08:00
Noemi Erli ef3e8fa4db Backed out changeset eed14f951a09 (bug 1449624) for Android Nightly bustages a=backout 2018-03-30 16:25:25 +03:00
shindli 3bfd0c07fd Merge inbound to mozilla-central. a=merge 2018-03-30 12:56:21 +03:00
Nicolas Chevobbe 1ea09e91a2 Bug 1450195 - Remove old-event-emitter usage from gcli; r=miker.
MozReview-Commit-ID: IYAQJ4KqEet

--HG--
extra : rebase_source : 7b15bbbd0876a14259242724836ab90b93d7bb2b
2018-03-30 09:20:11 +02:00
sotaro cb19fd85f8 Bug 1449934 - Remove unnecessary assert in WinCompositorWidget::UpdateCompositorWndSizeIfNecessary() r=jrmuizel 2018-03-29 18:42:09 -07:00
Jeff Gilbert 2cfd3869cf Bug 1446412 - Forbid implicit construction of WebGLFBAttachPoint. - r=kvark
MozReview-Commit-ID: AM7xfXwJxkV
2018-03-29 18:11:08 -07:00
Jeff Gilbert b21ff75bef Bug 1446412 - Don't query GL for RED_BITS and friends queries. - r=kvark
There's no reason to ask GL since we should know the answers.
Also GL is tricky on how it handles these semi-deprecated queries.
Official GL stance is "don't ask questions you know the answer to".

MozReview-Commit-ID: F7p73eSTrYw
2018-03-29 18:11:05 -07:00
Kris Maglione 0b49219fad Bug 1449200: Return icon URL for all sizes when processing an icon string. r=Gijs
The CSS for page action icons doesn't handle fallback when only one variable
is defined, so for widgets that don't define their icons using CSS, we always
need to provide both.

MozReview-Commit-ID: 7UgMSVS3W6K

--HG--
extra : rebase_source : d8e38c256b45efecf04f1e20b5fcc6024e839f25
2018-03-29 17:01:06 -07:00
Steve Fink 4fa97cae2b Update sixgill to ab06fc42cf0f for bug 1450379, r=bhackett
--HG--
extra : rebase_source : 5be473dc5253fe69db3ab745ce31255d966e6459
2018-03-30 15:33:15 -07:00
Matthew Gaudet fc96c057b9 Bug 1449975 - Name CacheIR stub type when spewing. r=tcampbell 2018-03-29 11:38:22 -04:00
Michal Novotny e4fe2d6393 Bug 1436809 - Check that stream message was converted to string correctly. r=valentin
--HG--
extra : amend_source : a4dbdaa91a4af641b0a538aa208c19a122d30ae4
2018-04-02 12:59:18 -04:00
Tim Nguyen 06ef2ad768 Bug 1450587 - Followup: fix allowed-dupes.mn entries on a CLOSED TREE. r=me 2018-04-02 18:32:14 +02:00
Geoff Brown 2982cc9fa9 Bug 1450166 - test-verify - Do not verify a test if it is skipped in any manifest; r=jmaher 2018-04-02 10:18:18 -06:00
Tim Nguyen d61fffbcc9 Bug 1450587 - Followup: update allowed-dupes.mn entry. r=me 2018-04-02 18:15:54 +02:00
ui.manish 1ade5de3b1 Bug 1450587 - Update developer edition promo icon. r=ntim 2018-04-02 17:59:57 +02:00
David Major dce32950b9 Bug 1450699 - Always use link.exe in Windows static analysis builds. r=froydnj
--HG--
extra : rebase_source : ba0f169a15b31685a916fb4689c2fb1636d2fbb6
2018-04-02 11:56:31 -04:00
Ben Kelly 9d0c860356 Bug 1450271 Make MediaQueryList bind to its document's inner window. r=baku 2018-04-02 08:35:52 -07:00
Ben Kelly a6499922db Bug 1448141 P5 Remove the service worker script load failure runnable. r=asuth 2018-04-02 07:50:23 -07:00
Ben Kelly 0247fa2c02 Bug 1448141 P4 Immediately start closing worker scripts if their initial compilation fails. r=baku 2018-04-02 07:50:23 -07:00
Ben Kelly 91f05c3bac Bug 1448141 P3 Add a browser chrome test verifying service workers handles its scripts being wiped. r=asuth 2018-04-02 07:50:22 -07:00
Ben Kelly 4fe4b22209 Bug 1448141 P2 Uninstall the service worker registration if update fails while its scripts are missing from offline storage. r=asuth 2018-04-02 07:50:22 -07:00
Ben Kelly 9ff3f1d44d Bug 1448141 P1 Only load service worker importScripts() from the network in ScriptLoader on first evaluation. r=asuth 2018-04-02 07:50:21 -07:00
Manish Kumar df504f6886 Bug 1450567 - Remove remaining social API images r=jaws 2018-04-01 23:22:45 +02:00
David Major 2a5904b3d4 Bug 1448519: Pick up clang r328769 on Windows. r=mshal 2018-04-02 10:11:05 -04:00
Dragan Mladjenovic 44417b17cf Bug 1450221 - [MIPS] Fix ProfilingFrameIterator unwinding when pc is in FarJumpIsland; r=bbouvier 2018-03-30 12:00:13 +02:00
Mark Banner d9cffeba70 Bug 1450223 - Remove unnecessary synchronous annotation lookups from the places context menu. r=mak
MozReview-Commit-ID: Ck2eaeVAjXs

--HG--
extra : rebase_source : 8de9f419570773d922a6d73c6f44069ffe403376
2018-03-29 15:49:39 +01:00
Alessio Placitelli d1a4fe676c Bug 1450204 - Reset the ping id genrator after each test. r=chutten
MozReview-Commit-ID: UA6LWI0y67

--HG--
extra : rebase_source : 15ec83c720355577d013e622085197ce93ef5493
2018-04-03 18:00:28 +02:00
Prathiksha 37f7945106 Bug 1440247 - Move gIdentityHandler into its own file (browser-siteIdentity.js). r=johannh
MozReview-Commit-ID: CsOzYthmrgl

--HG--
rename : browser/base/content/browser.js => browser/base/content/browser-siteIdentity.js
extra : rebase_source : c531999d7713e7b6731a725ab909b707578488e2
2018-03-29 19:21:50 +05:30
Julian Descottes 547614b6c5 Bug 1451037 - check if shadow host has children when fetching before/after pseudos;r=bgrins
MozReview-Commit-ID: KG6cRlLQiE1

--HG--
extra : rebase_source : 1b4a9d3da2f118f74c42db40b62c75e7aa04d0c8
2018-04-04 11:59:19 +02:00
Steve Fink 935ce004cb Bug 1449066 - Annotate more func<AllowGC::NoGC> as not being able to GC, r=jonco
--HG--
extra : rebase_source : 495beb5dd82729098e5e1a717f0711218c7b6a47
2018-03-28 20:59:03 -07:00
Steve Fink b1be1f1ac9 Bug 1449066 - Switch hazard builds to GCC 6, r=froydnj
--HG--
extra : rebase_source : 312938733bbf76c3c9c2fc2ec35ba0b88e6f89de
2018-03-28 18:15:51 -07:00
Nicholas Nethercote 9ea93c4f7b Bug 1449395 - Remove nsStaticAtomSetup. r=froydnj
Each nsStaticAtomSetup contains a pointer to a static atom, and also a pointer
to the canonical pointer to that static atom. Which is pretty weird! The
notable thing thing about it is that these structs are in an array, and that
gives us the only way to iterate over all static atoms in a single class, for
registration and lookups.

But thanks to various other recent changes to the implementation of static
atoms, we can now put the static atoms themselves into an array, which can be
iterated over. So this patch does that. With that done, nsStaticAtomSetup is no
longer necessary.

According to the `size` utility, on Linux64 this reduces the size of libxul.so
by the following amounts:

> text:  62008 bytes
> data:  20992 bytes
> bss:   21040 bytes
> total: 104040 bytes

- The bss reduction is one word per atom, because the canonical static atom
  pointers (e.g. nsGkAtoms::foo) have moved from .bss to .data, because they're
  now initialized at compile time instead of runtime.

- The data reduction is one word per atom, because we remove two words per atom
  for the nsStaticAtomSetup removal, but gain one word per atom from the
  previous bullet point.

- I'm not sure about the text reduction. It's three words per atom. Maybe
  because there is one less relocation per atom?

Other notable things in the patch:

- nsICSSAnonBoxPseudo and nsICSSPseudoElement now inherit from nsStaticAtom,
  not nsAtom, because that's more precise.

- Each static atoms array now has an enum associated with it, which is used in
  various ways.

- In the big comment about the macros at the top of nsStaticAtom.h, the pre-
  and post-expansion forms are now shown interleaved. The interleaving reduces
  duplication and makes the comment much easier to read and maintain. The
  comment also has an introduction that explains the constraints and goals of
  the implementation.

- The SUBCLASS macro variations are gone. There are few enough users of these
  macros now that always passing the atom type has become simpler.

MozReview-Commit-ID: 1GmfKidLjaU

--HG--
extra : rebase_source : 2352590101fc6693ba388f885ca4714a42963943
2018-03-29 11:48:18 +11:00
Nicholas Nethercote 4b941e22d0 Bug 1449395 - Remove unnecessary nsStaticAtom.h includes. r=froydnj
For nsCSSAnonBoxes.cpp, nsCSSPseudoElements.cpp, nsDirectoryService.cpp, the
corresponding .h file includes nsStaticAtom.h. For the other files in this
patch, nsStaticAtom.h is not needed at all.

MozReview-Commit-ID: IpMmbXwZHhu

--HG--
extra : rebase_source : 46d0a6b40a41ee233adad7c205cf907fa27de34a
2018-03-29 09:08:54 +11:00
Brad Werth 0710642fbb Bug 1298008 Part 4: Add a web-platform test of getBoxQuads on block and flex boxes with auto margins. r=dholbert
MozReview-Commit-ID: Hrw3rt1Lohq

--HG--
extra : rebase_source : a8cde13adad6bfcbc3d605024c08df9fbdfb723a
2018-03-28 14:46:11 -07:00
Tom Glowka a19aa979c7 Bug 1402828 - "copy as cURL" test adjustments; r=Honza
--HG--
extra : rebase_source : 7eae06e215fd42d9c7584c92cc8747ef04791950
2018-03-28 23:00:25 +02:00
Jan Henning b761a2d765 Bug 1449504 - Part 1 - Truncate overly long text before sharing via an Intent. r=jchen
At least on some devices, there seems to exist some sort of intermediate danger
zone where the intent is no longer large enough to be rejected outright by the
OS, but still big enough to render Firefox inoperable through some sort of
resource exhaustion.

From Android 6.0 onwards, this doesn't matter as otherwise we would have crashed
anyway, but on previous Android versions a much too large intent will simply be
ignored, so if we truncate, but not enough, this actually makes matters worse.

The value used in this patch was chosen by attempting to share the whole
contents of planet.mozilla.org on a Samsumg S3 Mini running Android 4.1.2.
90k characters led to resource exhaustion and the screen turning black, while
85k characters still worked. On a more modern phone, even larger amounts (e.g.
100k characters, like Chrome) worked. Therefore, to have some additional margin,
a maximum limit of 80k characters will be used.

MozReview-Commit-ID: 6etHe0KUgig

--HG--
extra : rebase_source : 5f712da6cf53572dfa5c755ef097a5961a0be891
2018-03-28 22:52:14 +02:00
Jan Henning 15af7a4d5a Bug 1449504 - Part 0 - Cleanup unused imports. r=JanH
MozReview-Commit-ID: FTcXEZVgU2M

--HG--
extra : rebase_source : 388807a744f181205d932b3ea02498875b2d03b8
2018-03-28 22:43:05 +02:00
Fabrice Desré b83287a8e8 servo: Merge #20483 - Cleanup ports/servo to only rely on libservo (from fabricedesre:port-cleanup); r=paulrouget
<!-- Please describe your changes on the following line: -->
When using `ports/servo` as a starting point for an embedding, it's easier if it only relies on the `libservo` crate and not directly on `components` ones. Since `libservo` reexports all the modules we need, it's a straightforward fix.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because There are no relevant tests, and no real code change.

<!-- 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: f7a495afa71d6053d9843677f1f53b8002bc8194

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 764b5fac18fc8ca927b4ee7c835f22912445b489
2018-03-31 03:05:34 -04:00
Csoregi Natalia 0a851c299c Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-03-31 14:07:52 +03:00
Csoregi Natalia c68e5af1fa Backed out changeset feea08fbd0fc (bug 1446202) for Android mochitest failures. CLOSED TREE 2018-03-31 14:02:22 +03:00
Emilio Cobos Álvarez 2663a71223 servo: Merge #20479 - style: Add a fast path to each_anonymous_content_child (from emilio:anon-child-bit); r=upsuper
If we know that we don't have anon children it is pointless to go through FFI.

Source-Repo: https://github.com/servo/servo
Source-Revision: 107fd47b93e5e8586ca27293052b9fedc75b88e4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c7cb1f3136acb43480759412d087f2b48c332bb5
2018-03-30 20:31:36 -04:00
Dan Minor cc64345766 Bug 1432793 - Force screensharing simulcast to one layer and stop generating layers once an odd width and height are found; r=bwc
This limits screensharing simulcast to a single layer. When window sharing, our
source video can have arbitrary dimensions. If one of those dimensions ends up
being odd, the aspect ratio of the smaller layer will not match the aspect ratio
of the odd sized layer, causing a runtime assertion failure and crash.

It is not sufficient to prevent the creation of odd sized layers in
CreateEncoderStreams because the user can resize the window while it is being
shared, which will cause a fatal assertion prior to the streams being recreated.

When switching back from window sharing to camera, a call to
CreateEncoderStreams will occur with resolutions matching the dimensions of
the window that was just shared. To prevent a crash, this also adds a check
which prevents the creation of layers with odd resolutions.

Looking at cricket::GetSimulcastConfig for the version of webrtc.org in tree,
the number of simulcast layers is limited to one, or two if a field experiment
is enabled. That code also limits resolutions at which screensharing is allowed
as well as the number of layers that can be created for each resolution, and
ensures that each layer is exactly half the size of the layer above.

Adding these new constraints to CreateEncoderStreams makes us more consistent
with what the webrtc.org code would do when creating streams, which should
help to avoid more assertion failures in the future. Long term, I believe we
should just switch to using cricket::GetSimulcastConfig.

MozReview-Commit-ID: 8gjdY5GPPjl

--HG--
extra : rebase_source : 5a22f6d0a995303e6a4039eafc056631fbb86415
2018-03-28 11:07:54 -04:00
Jeff Walden ca78e29895 Bug 1449051 - Move JS::Value::layout's members into JS::Value, make JS::Value a union, and apply correct code style to the union fields. r=sfink
--HG--
extra : rebase_source : 6a13e636b90c06419b89942b2848be92b21c4020
2018-03-27 20:20:43 -07:00
Jeff Walden e5512cfdf4 Bug 1449051 - Further minifications to JS::Value's internal structure. r=jandem
--HG--
extra : rebase_source : c6bdffdf5ac4dabd19d44092fdc40887495aa0ba
2018-03-27 17:13:08 -07:00
Nicolas Chevobbe ffe252e467 Bug 1449170 - Remove old-event-emitter usage from responsive.html; r=jryans.
MozReview-Commit-ID: KREEQYpIVh6

--HG--
extra : rebase_source : 88e5a77db7e8aba6a9f237657c989e9747c4ae41
2018-03-27 15:46:41 +02:00