Commit Graph

647166 Commits

Author SHA1 Message Date
Brian Grinstead
6515f97bcb Bug 1544322 - Part 1 - Remove the [type] attribute for one-liner <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 1` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:56:58 +00:00
Oana Pop Rus
66dff9c8f5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-16 12:58:50 +03:00
Oana Pop Rus
d33d470140 Merge inbound to mozilla-central. a=merge 2019-04-16 12:49:28 +03:00
Alexandre Poirot
8a1cef8a02 Bug 1544699 - Run allocations and metrics tests on pgo builds. r=jdescottes
It looks like the default builds on autoland branch are PGO,
so accept running these tests on pgo to have them running on autoland.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 08:59:10 +00:00
Kestrel
9d7cef383a Bug 1488384 - Style the background of #tabbrowser-tabpanels for dark in-content color scheme to avoid white flashes. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27447

--HG--
extra : moz-landing-system : lando
2019-04-16 07:50:39 +00:00
Mitchell Hentges
18f3187053 Bug 1538278 - Adds route for accessing geckoview releases r=tomprince,jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D23928

--HG--
extra : moz-landing-system : lando
2019-04-16 09:46:07 +00:00
Ting-Yu Lin
1291170e57 Bug 1541679 - Skip pseudo frames when finding multicol containing block for reframing. r=bzbarsky
This patch does something similar to GetIBContainingBlockFor() because
pseudo frames are not good reframe target.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 05:35:51 +00:00
Masayuki Nakano
3a4c4ee8f0 Bug 1544218 - part 4: Make remaining APZC code use mozilla::PresShell directly rather than nsIPresShell r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27474

--HG--
extra : moz-landing-system : lando
2019-04-16 04:33:57 +00:00
Masayuki Nakano
14e20162d9 Bug 1544218 - part 3: Make FocusTarget use mozilla::PresShell directly rather than via nsIPresShell r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27473

--HG--
extra : moz-landing-system : lando
2019-04-16 04:33:55 +00:00
Masayuki Nakano
fcc538366b Bug 1544218 - part 2: Make APZCCallbackHelper::GetRootContentDocumentPresShellForContent() return mozilla::PresShell directly r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27472

--HG--
extra : moz-landing-system : lando
2019-04-16 04:33:52 +00:00
Masayuki Nakano
eef35ee18b Bug 1544218 - part 1: Make mozilla::layers::GetPresShell() in APZCCallbackHelper.cpp return mozilla::PresShell directly r=kats
And this patch makes it return raw pointer.  The safeness of the pointer
should be managed by `MOZ_CAN_RUN_SCRIPT` since incrementing refcount in
hot path is bad for performance.  So, it should be followed by bug 1543315.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 04:32:34 +00:00
Coroiu Cristina
c91388662e Merge mozilla-central to autoland a=merge 2019-04-16 07:09:25 +03:00
Coroiu Cristina
a9338f145b Merge inbound to mozilla-central a=merge 2019-04-16 07:05:54 +03:00
Masayuki Nakano
60e014c55e Bug 1544215 - Make nsIContentVewer::GetPresShell() return mozilla::PresShell instead of nsIPresShell r=bzbarsky
Additionally, this patch makes `nsDocumentViewer` which is the only
implementation of `nsIContentViewer` use `mozilla::PresShell` directly
rather than via `nsIPresShell`.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 02:47:26 +00:00
Cameron McCormack
0bc1cd6ada Bug 1474793 - Document the shared memory UA sheet setup in tree. r=bholley
--HG--
extra : amend_source : d9a522b25fded0de1cc476b084df1e1f18889cf9
2019-04-16 08:11:25 +10:00
Ethan Glasser-Camp
7001c282bf Bug 1543817: Document different Normandy uptake telemetry values r=mythmon
Depends on D27363

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:41:30 +00:00
Coroiu Cristina
c862999ac0 Merge mozilla-central to inbound a=merge on a CLOSED TREE 2019-04-16 00:39:47 +03:00
Ethan Glasser-Camp
87f56a54f3 Bug 1543817: Don't finalize any action twice r=mythmon
Depends on D27362

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:35:28 +00:00
Ethan Glasser-Camp
9f6f1d93a6 Bug 1543817: Use BACKOFF for "recipe didn't match" r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D27362

--HG--
extra : moz-landing-system : lando
2019-04-15 21:42:52 +00:00
Miko Mynttinen
49e63bdf19 Bug 1544583 - Change RDL list index to uint32_t r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D27623

--HG--
extra : moz-landing-system : lando
2019-04-15 23:16:30 +00:00
Barret Rennie
96b41444c7 Bug 1444434 - Bind pixel pack buffer before trying to map it for readback r=gw
Differential Revision: https://phabricator.services.mozilla.com/D26946

--HG--
extra : moz-landing-system : lando
2019-04-15 23:39:10 +00:00
Alexis Beingessner
b4a27bb58d Bug 1412179 - implement fieldsets with nonempty legends. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27350

--HG--
extra : moz-landing-system : lando
2019-04-15 23:16:13 +00:00
Alexis Beingessner
99e4403911 Bug 1529992 - disable the MergeClipLeaf optimization for all shadows properly. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D27114

--HG--
extra : moz-landing-system : lando
2019-04-15 23:13:49 +00:00
Alexis Beingessner
92010a39a6 Bug 1529992 - don't apply shadow adjustment to text bounds in gecko with WR r=mattwoodrow
And tell webrender to do them itself (they have fundamental mismatches in how they
define shadow bounds).

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

--HG--
extra : moz-landing-system : lando
2019-04-15 23:13:47 +00:00
Doug Thayer
fa696a2768 Bug 1538710 - Regen wrench reftest images r=kats
These are trivially different. I couldn't find a cause for the
difference, so I am just regenerating them.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 22:35:05 +00:00
Doug Thayer
56b32c7614 Bug 1538710 - Remove disable-shrink pref r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D25134

--HG--
extra : moz-landing-system : lando
2019-04-15 22:34:51 +00:00
Doug Thayer
452bc370df Bug 1538710 - Move texture_cache cleanup to beginning of all frames r=bholley
... and ensure that, if we do cleanup, we generate frames for every document.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 22:34:43 +00:00
Doug Thayer
066df32bb7 Bug 1538710 - Add WR API endpoint for sending multiple transactions r=nical
We discussed this a bit in Orlando. Essentially, we want to run cleanup
operations in texture_cache before all documents' frames, and then be
able to ensure that every document generates a frame, because otherwise
we will run into problems with evicted cache items used by non-updating-
but-still-rendering documents. Accordingly, we need an endpoint to
lump all of the transactions that generate frames together. This adds
that and builds out all of the plumbing necessary.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 22:34:13 +00:00
Edwin Gao
2bd091e8ec Bug 1544441 - prevent selecting windows10-aarch64 jobs using old try syntax and fuzzy unless --full is used r=jmaher
Changes:
- added windows10-aarch64 to the filter for fuzzy, to require `--full` in order to trigger jobs
- return False for any test tasks that contain windows10-aarch64 to prevent users using old try syntax from overwhelming the limited number of hardware

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:14:17 +00:00
Jared Hirsch
a682f7645f Bug 1536877 - Correct the 'value' type in 'browser.telemetry.recordEvent'; r=rpl
MozReview-Commit-ID: EvI2FvsOjDx

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:23:02 +00:00
Cosmin Sabou
18065e80c7 Backed out 4 changesets (bug 1501108) for browser chrome failures on browser_principalSerialization_version1.js. CLOSED TREE
Backed out changeset da28ce3af312 (bug 1501108)
Backed out changeset 1936dde5f34c (bug 1501108)
Backed out changeset de36c9fb8c65 (bug 1501108)
Backed out changeset cad2b29b79d2 (bug 1501108)
2019-04-16 01:10:26 +03:00
Kirk Steuber
163b96b5b3 Bug 1544562 - Call onUnload when about:preferences is closed r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D27591

--HG--
extra : moz-landing-system : lando
2019-04-15 21:23:04 +00:00
James Willcox
1f2a20380a Bug 1544542 - Don't try to call history delegate if we don't have one r=droeh
This also fixes a doc build issue.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:01:43 +00:00
Cosmin Sabou
268db1d41b Bug 1501108 - Removed extra spaces in order to fix eslint failure. 2019-04-16 00:28:56 +03:00
Kartikaya Gupta
165674af4f Bug 1544039 - Record CONTENT_FULL_PAINT_TIME in the GPU process too. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D27582

--HG--
extra : moz-landing-system : lando
2019-04-15 21:19:48 +00:00
Hiroyuki Ikezoe
8e33d53a3c Bug 1544060 - Bail out from ScrollFrameHelper::GetScrollPadding in the case where no corresponding frame exists. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D27423

--HG--
extra : moz-landing-system : lando
2019-04-15 21:15:53 +00:00
Hiroyuki Ikezoe
b2485b123d Bug 1544060 - Use the root element's primary frame to get scroll-padding value. r=botond
Now the spec cleary says that we don't need to propagate body's
scroll-padding value to the document viewport since
https://github.com/w3c/csswg-drafts/issues/3740, so we don't need to care about
GetViewportScrollStylesOverrideElement() at all.

This change fixes the crash test case in this commit, but it's not sufficient.
In the next patch, we will fix another crash case.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 21:15:58 +00:00
Eugen Sawin
7f8b8ee812 Bug 1501108 - [3.4] Add a StorageController API to delete session context data. r=baku,snorp,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D23732

--HG--
extra : moz-landing-system : lando
2019-04-15 20:59:24 +00:00
Eugen Sawin
97d0673828 Bug 1501108 - [2.2] Add Session Context ID test. r=snorp,baku
Differential Revision: https://phabricator.services.mozilla.com/D20008

--HG--
extra : moz-landing-system : lando
2019-04-15 20:58:36 +00:00
Eugen Sawin
2437dae249 Bug 1501108 - [1.2] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D19182

--HG--
extra : moz-landing-system : lando
2019-04-15 20:58:30 +00:00
Jason Orendorff
61aee40722 Bug 1529772 - Part 4: Implement ASI for fields that don't have initializers. r=jwalden
The only reason this wasn't already working is that propertyOrMethodName()
relied on a Semi token to help it recognize a FieldDeclaration without an
Initializer. This obviously can't work if the semicolon isn't there, so this
patch makes Field the default case.

That means the caller, classMember(), must be prepared for
propertyOrMethodName() to succeed with PropertyType::Field when in fact maybe
there's nothing but gibberish coming up; but we already handle that.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:55:25 +00:00
Jason Orendorff
241459d345 Bug 1529772 - Part 3: Implement ASI for fields that have initializers. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D26037

--HG--
extra : moz-landing-system : lando
2019-04-15 20:55:05 +00:00
Jason Orendorff
d2cf2ed9f7 Bug 1529772 - Part 2: Factor out PropertyName parsing from Parser::propertyName(). r=khyperia
The existing propertyName() method parses a little more than just
PropertyNames; this patch renames it, to clarify that, but the behavior is
unchanged.

There was a lot of redundancy in the implementation of getters and setters, so
this deletes a bunch of code.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 20:54:48 +00:00
Jason Orendorff
313561d029 Bug 1529772 - Part 1: Document current state of play in GeneralParser::propertyName. r=khyperia
Differential Revision: https://phabricator.services.mozilla.com/D26035

--HG--
extra : moz-landing-system : lando
2019-04-15 20:54:28 +00:00
Makoto Kato
7ea1596799 Bug 1539348 - Write old bitmap format for wallpaper support of Windows 7. r=jmathies
This is regression by bug 1502772. Windows 7 doesn't support bitmap v4 format
for wallpaper. So I revert to previous code to write wallpaper bitmap.

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

--HG--
extra : moz-landing-system : lando
2019-04-15 19:47:28 +00:00
Andreas Pehrson
5cd1576eed Bug 1540434 - Convert a bunch of rawptrs related to MediaManager to RefPtr. r=jib
When unplugging a camera in use in a video-only gUM capture, we see a crash in
GetUserMediaWindowListener::Remove when trying to use `aListener` after its last
reference was removed from an nsRefPtrHashTable at the beginning of the method.
As `aListener` was a rawptr, neither this method itself, nor its caller, kept it
alive.

Making this method take a RefPtr instead of a rawptr solves this issue.
This patch also converts other similar rawptrs for good measure.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 07:37:48 +00:00
Masayuki Nakano
f5737567dd Bug 1544343 - part 3: Make layout use mozilla::PresShell instead of nsIPresShell as far as possible r=emilio
This patch changes remaining things under `layout/`.  However, there are some
places which still need to use `nsIPresShell`.  That will be fixed in a
follow up bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 07:25:10 +00:00
Masayuki Nakano
2f9688c14e Bug 1544343 - part 2: Make factory methods take mozilla::PresShell instead of nsIPresShell r=emilio
Additionally, this patch makes `nsFrame.h` stop including `nsIPresShell.h`
and makes each users include `mozilla/PresShell.h` instead.  So, this improves
rebuild performance of `nsIPresShell.h` (and `mozilla/PresShell.h` in the
future).

Note that due to `nsIFrame::PresShell()`, `mozilla::` prefix is necessary for
`PresShell` in a lot of classes which are derived from `nsIFrame` even in
`.cpp` files.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 07:24:49 +00:00
Masayuki Nakano
9c5913211a Bug 1544343 - part 1: Make nsFrameManager, nsCSSFrameConstructor and nsFrameConstructorState use mozilla::PresShell directly rather than via nsIPresShell r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D27475

--HG--
extra : moz-landing-system : lando
2019-04-16 07:24:29 +00:00
Andrea Marchesini
49c638ad36 Bug 1540221 - Setting fillStyle to a pattern of an unclean canvas makes the canvas origin-unclean, r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D25773

--HG--
extra : moz-landing-system : lando
2019-04-16 06:58:29 +00:00