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

580233 Коммитов

Автор SHA1 Сообщение Дата
Tim Taubert 1d2ba2eb2b Bug 1436308 - Generate a ToJSON() method for WebIDL types with records r=bz
We currently don't generate a ::ToJSON() method for WebIDL types with record<K,V>
members. These types should be safe to convert to JSON, as long as type V itself
is. Per spec, type K is always a DOMString, USVString, or ByteString.
2018-02-07 12:01:00 +01:00
Jan de Mooij 081a738eb4 Bug 1435796 - Fix JSString::dumpRepresentationHeader to use printf instead of put. r=sfink 2018-02-07 14:39:11 +01:00
Jan de Mooij 6e6de3f7ac Bug 1436065 - Add JS_NewLatin1String API to create Latin1 strings without copying. r=luke 2018-02-07 14:38:00 +01:00
sotaro 89aba04841 Bug 1435995 - Disable DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL usage r=nical 2018-02-07 22:21:35 +09:00
Jan de Mooij 17da4a7e09 Bug 1435209 - Use CMOVcc instead of index masking. r=luke 2018-02-07 13:49:06 +01:00
Andrew Osmond 3b58cdf796 Bug 1408636 - Ensure accessibility tests pass regardless of image caching affecting whitespace. r=yzen 2018-02-07 07:27:28 -05:00
Andrew Osmond e68d0fd3d2 Bug 1383682 - Part 3. Prevent imgRequestProxy from leaking the current state when validating. r=tnikkel
There are two other means from which a caller can get the current state
which originally ignored validation -- GetImageStatus and
StartDecodingWithResult. These methods are used by layout in some
circumstances to decide whether or not the image is ready to display. As
observed in some web platform tests, in particular
css/css-backgrounds-3/background-size-031.html, we may actually validate
and purge the cache for images under test. The state given by the
aforementioned methods was misleading, because validation changed it.
Now they take into account validation, and do not imply any particular
state while validation is in progress.
2018-02-07 07:27:28 -05:00
Andrew Osmond b1c05068b8 Bug 1383682 - Part 2. Rename IProgressObserver::SetNotificationsDeferred to make purpose clear. r=tnikkel
IProgressObserver::SetNotificationsDeferred is now used just for
ProgressTracker to track when there is a pending notification for
an observer. It has been renamed to MarkPendingNotify and
ClearPendingNotify to make a clear distinction.
2018-02-07 07:27:27 -05:00
Andrew Osmond dab9b6216c Bug 1383682 - Part 1. Split off imgRequestProxy notification deferrals for validation. r=tnikkel
When cache validation is in progress, imgRequestProxy defers its
notifications to its listener until the validation is complete. This is
because the cache may be discarded, and the current state will change.
It attempted to share the same flags with notification deferrals used by
ProgressTracker to indicate that there is a pending notification, but
this has problematic/confusing. Hence this patch creates dedicated flags
for notification deferrals due to cache validation.
2018-02-07 07:27:27 -05:00
Paul Warner a4c0f8161c Bug 1399158 - Add --jsdebugger flag to geckodriver. r=ato
When --jsdebugger is passed to geckodriver, it will override
preferences related to starting the Browser Toolbox and pass
-jsdebugger on to the Firefox process.

It is functionally equivalent to "./mach marionette test --jsdebugger".

MozReview-Commit-ID: ADfrLPXtQoy
2018-02-07 12:00:53 +00:00
David Parks d2fcfd4724 Bug 1358372: Part 2 - Run Windows AudioSessionControl operations on main thread r=jimm
This plays better with sndvol.exe.  It reduces the impact of a bug that shows multiple volume sliders for the content processes.
2018-01-10 14:57:19 -08:00
David Parks e42b5990ac Bug 1358372: Part 1 - Move Windows content process AudioSession init before sandbox lowering r=jimm
Something about setting the grouping parameter was harmed by the sandbox.
2018-01-10 14:07:56 -08:00
Dorel Luca d200d1eac5 Merge mozilla-central to mozilla-inbound. r=merge 2018-02-07 12:21:05 +02:00
Dorel Luca 106842f842 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-07 11:58:17 +02:00
Dorel Luca aa63d53f0e Merge autoland to mozilla-central. a=merge 2018-02-07 11:55:55 +02:00
Dorel Luca a844f3b4b3 Backed out changeset ed63734c2be4 (bug 1431900) for Browser-Chrome failures on browser/base/content/test/static/browser_misused_characters_in_strings.js 2018-02-07 11:40:18 +02:00
Julian Descottes 032a249e6f Bug 1403334 - followup: remove leftover comment from 1afdba933156;r=me
MozReview-Commit-ID: 3JRvyATgpAz

--HG--
extra : rebase_source : 29dc25ee880244d024280c8143665f92f98b9116
extra : amend_source : 20a898b928c29439ed4494063773fcd04feb7004
2018-02-07 10:19:50 +01:00
Emilio Cobos Álvarez b8ae29b617 servo: Merge #19969 - style: Fix interpolation of the gecko-size properties (from emilio:whoopsies); r=emilio
Followup to #19966 because, well...

The animation code should probably be more obvious.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 97810b3daf65ef973d474c8fa1786e35342f8c2c
2018-02-07 01:04:51 -05:00
Gurzau Raul 2ee40f6945 Backed out changeset b342be42331b (bug 1429286) for build bustage 2018-02-07 07:26:52 +02:00
Martin Thomson 91506446f7 Bug 1429286 - Keep critical push and notification telemetry indefinitely, r=rweiss
Summary:
These are made persistent:

1. What questions will you answer with this data?

These probes are critical to understanding use of notifications and push in
general (push provides significant incentive to sites to use notifications, so
the two are highly correlated).  These probes allow us to understand when push
is enabled, and when pushes are propagated.

2. Why does Mozilla need to answer these questions? Are there benefits for users? Do we need this information to address product or business requirements? Some example responses:

These allow is to understand baseline platform characteristics and ensure that changes don't degrade experience.

3. What alternative methods did you consider to answer these questions? Why were they not sufficient?

We have telemetry on autopush (our server infrastructure), and the information we get there is in many ways superior to data collected through the browser, but these metrics are impossible to measure using autopush.

4. Can current instrumentation answer these questions?

See 3.

5. List all proposed measurements and indicate the category of data collection for each measurement, using the Firefox data collection categories on the found on the Mozilla wiki.

Measurement Description 	Data Collection Category 	Tracking Bug #
WEB_NOTIFICATION_CLICKED      2  1429286
WEB_NOTIFICATION_PERMISSIONS  2  1429286
WEB_NOTIFICATION_SHOWN        2  1429286
PUSH_API_NOTIFY               2  1429286

6. How long will this data be collected? Choose one of the following:

I want to permanently monitor this data. (Martin Thomson, :mt)

7. What populations will you measure?

All channels, countries, and locales.  No filtering is in place.  These are all opt-out telemetry.

8. Please provide a general description of how you will analyze this data.

Changes are monitored for changes, or analyzed on demand.

I believe that there are telemetry alerts that trigger on significant changes.  If there isn't, there should be.

9. Where do you intend to share the results of your analysis?

telemetry.m.o, w3c webapps

Bug #: 1429286

Differential Revision: https://phabricator.services.mozilla.com/D361

MozReview-Commit-ID: Kkc1Qr6UaJ8
2018-02-07 16:09:24 +11:00
Gabriel Luong e653874a84 Bug 1431900 - Add a display node to indicate the display value of an element in the markup view. r=pbro 2018-02-06 23:50:56 -05:00
Andrew Osmond 5a683f0a80 Backed out changeset d078b56f0fa6 (bug 1388020) for OS X crashtest failures. r=backout 2018-02-06 22:18:29 -05:00
Manish Goregaokar 72ed6d355d Bug 1436251 - Set codegen-units=1 in --enable-release; r=glandium
MozReview-Commit-ID: 8kGTFAXfB2i

--HG--
extra : rebase_source : bc1860366646e629deef3c819576d208b1b6cd73
2018-02-06 19:06:03 -08:00
Chris Pearce 595dccd4e7 Bug 1431674 - Backed out changeset 9d197f1860e6. r=backout
MozReview-Commit-ID: wP0aucXgzA

--HG--
extra : rebase_source : ad67234e7dff431c875bce5aac5b88e3c497dc78
2018-02-07 15:28:48 +13:00
Chris Pearce 6609188b9e Bug 1431674 - Backed out changeset 3e22200b7e83. r=backout
The changes in bug 1324883 regressed YouTube, so back them out.

The changes in bug 1324883 were trying to cause the media cache to be cleared
on tab close and on CTRL+F5 reload (i.e. a bypass cache-reload) but they are
causing problems on YouTube,  which doesn't use the media cache and instead
uses MSE.

MozReview-Commit-ID: Hx2cehZ2wm1

--HG--
extra : rebase_source : fa0bd85570746e60341e8e2d3f874f9bd30c0232
2018-02-07 15:28:07 +13:00
Hiroyuki Ikezoe fff9e9f366 Bug 1419339 - Unthrottle transform animations periodically if there is any IntersectionObservers. r=birtles
MozReview-Commit-ID: CBFQva02HUc

--HG--
extra : rebase_source : 123a26e7ab77ba40abd918e91e7f323300b2aae7
2018-02-07 10:46:15 +09:00
Emilio Cobos Álvarez 6a7646bbc0 servo: Merge #19966 - style: Get rid of gecko_size_type (from emilio:bye-gecko-size); r=nox
It's a hack, should die.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0cfb968e80c9f19f5c4dfad8187f597edc26e344
2018-02-06 21:15:07 -05:00
Gurzau Raul 9c39f70c0f Backed out 5 changesets (bug 1392391) for frequently failing jsreftests on Android. a=backout
Backed out changeset 50df56a0cebf (bug 1392391)
Backed out changeset 406806a088d5 (bug 1392391)
Backed out changeset 6bd3abc55ea8 (bug 1392391)
Backed out changeset 846d50ea8403 (bug 1392391)
Backed out changeset b9e9374af9a1 (bug 1392391)
2018-02-07 02:20:38 +02:00
Markus Stange 78b15a3110 Bug 1434968 - Clear mUniqueStacks, mSavedStreamedSamples and mSavedStreamedMarkers when the profiler is stopped. r=njn
MozReview-Commit-ID: L1Lk0sj2Bub

--HG--
extra : rebase_source : 842b53979122b20687b64278c2be6e706c92991e
2018-02-06 17:45:39 -05:00
Mike Cooper df742ec098 Bug 1435231 - Initialize Normandy events before other subcomponents r=Gijs
MozReview-Commit-ID: KcMQF5V6Hxl

--HG--
extra : rebase_source : 881baac4a4dc9065354814eb2efd26d59d2d43fc
2018-02-06 14:49:59 -08:00
Nicholas Nethercote 55036b82ae Bug 1435943 - Tweak Preferences::GetType() and nsPrefBranch::GetPrefType(). r=glandium
This patch rearranges these functions so that nsPrefBranch::GetPrefType() calls
into Preferences::GetType(), because all other nsPrefBranch methods depend on
Preferences methods.

The patch also removes the `aKind` argument from GetType(), because it has no
effect -- a pref only has one type, regardless of whether it has a default
value, a user value, or both.

MozReview-Commit-ID: J3vxFPaP8S3
2018-02-06 17:08:07 +11:00
Andrew Osmond 210a94af4d Bug 1388020. r=nical 2018-02-06 20:14:17 -05:00
Gurzau Raul 772c8edfef Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-02-07 02:29:42 +02:00
Gurzau Raul 93cf708ccf Backed out changeset c59fcd67f979 (bug 1426129) for failing on tests/mochitest/test_selftest.html on on Android 4.3 API16 platform 2018-02-07 01:50:37 +02:00
Francois Marier 09c6a2d004 Bug 1435098 - Gate flashinfobar list on the plugins.show_infobar. r=bytesized,gcp
The list of sites to suppress flash infobars on should not be
downloaded from shavar unless the infobar feature is enabled.

MozReview-Commit-ID: BjkS5vWiilg

--HG--
extra : rebase_source : ba7c104b758fc04994b8438222dda0c7feadc787
2018-02-02 13:30:28 -08:00
Igor Gutorov 15cc54a3dc servo: Merge #19957 - style: Move content property out of mako (from gootorov:move-counter-from-mako); r=emilio
<!-- Please describe your changes on the following line: -->
r? emilio

---
<!-- 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 build-geckolib` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #19936 (github issue number if applicable).

<!-- Either: -->
- [x] These changes do not require tests

<!-- 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: 804b4b3db6d75d35b2f2ec8acf83207c5875aa74

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 98289c90b219ab15a6fee871ae47f6c7af252371
2018-02-06 17:39:03 -05:00
Kartikaya Gupta 999b2376cb Bug 1436084 - Update webrender reftest expectations in w3c-css received reftests. r=xidorn
In some cases there are imported tests where the same test is compared against
two reference pages, once as == and once as !=. Webrender is currently failing
the == tests but not the != tests. However there is no way to annotate this
precisely in the failures.list file, so we had previously marked the tests
as random-if. This patch modifies the import-tests.py to recognize a ref:<file>
argument in failures.list to match the reference file as well, and uses it to
clarify the webrender reftest expectations.

MozReview-Commit-ID: 6nAXoCQDreI

--HG--
extra : rebase_source : 93633ed6f62ccfb4b28ebed34943781350c4c831
2018-02-06 11:52:39 -05:00
Kartikaya Gupta 4751a8b16b Bug 1436084 - Mark some reftests as passing with webrender. r=jrmuizel
MozReview-Commit-ID: IWXBqj0Vqbz

--HG--
extra : rebase_source : 182709310a15157d9533cc2429198f93599a95ed
2018-02-06 11:49:33 -05:00
Emilio Cobos Álvarez 4aa2f7b59c Bug 1436031: Test the serialization of the font shorthand. r=xidorn
MozReview-Commit-ID: K9IXzIZJfzM

--HG--
extra : rebase_source : 983465d7c75641037ae19185c3246fff7f90b3d7
2018-02-06 23:49:42 +01:00
Aaron Klotz d5899811bf Bug 1430857: Follow-up - Fix mingw header inclusion failure; r=bustage 2018-02-06 15:41:14 -07:00
Drew Willcoxon 779a6db762 Bug 1435992 - Disabled page actions still show extension context menu items. r=mixedpuppy
MozReview-Commit-ID: JmC6PXtW1SK

--HG--
extra : rebase_source : ebb3895ba0d2ebb533cf134c598ffb6ef988f446
2018-02-06 11:15:50 -08:00
Emilio Cobos Álvarez b6862d9f18 servo: Merge #19964 - style: Don't serialize default values of the font shorthand (from emilio:font-shorthand); r=nox
This makes us consistent with the old style system and Blink / WebKit.

Not adding a test because shorthands serialization is a mess... :(

Anyway, nothing like fixing bugs by removing code.

Bug: 1436031
Source-Repo: https://github.com/servo/servo
Source-Revision: dde15d8d6511bfb1440afeff5135757611b96a6c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9d4213440d0c137c44b626038d46d6d344370cdd
2018-02-06 16:42:23 -05:00
Michael Kohler 6864cc973d Bug 1432759 - 'Remove selected' should be greyed out if no item is selected in the site data manager r=johannh
MozReview-Commit-ID: 5MejSmaVJeA

--HG--
extra : rebase_source : a4a116a9b1659ab6b4a80a7f676821530b2cf096
2018-02-05 20:39:28 +01:00
Andrew McCreight 4a583a2b25 Bug 1432992, part 3 - Adjust some line numbers in tests. r=florian
Deleting lines in part 1 caused two tests to break, because they check
the line numbers for source files. The devtools part of the patch was
automatically generated.

MozReview-Commit-ID: DrDZeyVnpE0

--HG--
extra : rebase_source : 72c1623015f029a5adef20669cc102c568d3b67e
2018-02-01 13:35:20 -08:00
Aaron Klotz e398eaca79 Bug 1430857: Part 2 - Add cert annotations to Windows crash reports; r=mhowell
MozReview-Commit-ID: 270iURVhNRu

This patch builds upon the existing DLL services functionality:

1) We add code to obtain the name of the subject from the cert used to sign a
   binary (if present). This code is added inside mozglue because in the future
   we will be using this code from the DLL blocklist, which is also located
   there.
2) We add annotation functionality that registers itself for DLL load events
   and updates crash reporter annotations as new libraries are loaded. It also
   annotates any existing libraries that are also in memory at the time that the
   CertAnnotator is first instantiated. This all happens off main thread, with
   the exception of actually making the annotation when in a child process.

--HG--
extra : rebase_source : f86c1a6fd2a44f21a71e7a7418267b3b0d5feeec
2018-01-30 15:08:03 -07:00
Aaron Klotz 200eb77750 Bug 1430857: Part 1 - Refactor DllServices to make it possible to obtain them from anywhere in Gecko; r=jimm
MozReview-Commit-ID: GfWata0eCc5

--HG--
extra : rebase_source : 3a5b4a6f0412311f0b9080a2b3b3a31e45d15b75
2018-01-30 14:23:10 -07:00
Andrew McCreight 754a4bcd3c Bug 1432992, part 2 - Manually remove some empty blocks. r=florian
Also, remove a now-obsolete comment from placesOverlay.xul and remove
some now-empty XPCShell test head files.

MozReview-Commit-ID: 6kKVQu8FAL3

--HG--
extra : rebase_source : 7dd05818d68a15bd170af734078db4ba45029d80
2018-01-25 16:52:25 -08:00
Andrew McCreight 5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Mike Conley 0a35e61e97 Bug 1432863 - Add in-tree documentation for the async tab switcher. DONTBUILD r=Gijs
MozReview-Commit-ID: 8Skgl0g5nBw

--HG--
extra : rebase_source : 94c1d7f10b7e797c5cc81b437b8a46f040acd0a1
2018-01-29 17:46:35 -05:00
Matt Howell 7f033bf33e Bug 1246387 - Switch to HTTPS for downloads from the stub installer. r=agashlin
MozReview-Commit-ID: BlaZf0a2O8D

--HG--
extra : rebase_source : 1b2f9a88d6ebe857a1c2f2c72b08532c684ccc2f
2018-02-06 13:37:34 -08:00