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

587282 Коммитов

Автор SHA1 Сообщение Дата
Csoregi Natalia 0fc607c372 Backed out 2 changesets (bug 1447056) for devtools failures on browser_toolbox_hosts_size.js. CLOSED TREE
Backed out changeset fc2c96c7b470 (bug 1447056)
Backed out changeset 52b1ebf43592 (bug 1447056)
2018-03-24 06:58:41 +02:00
Xidorn Quan 475e40f1d4 Bug 1447056 part 2 - Invoke Resize in SetSizeConstraints with the current size to apply the new constraints. r=bz
MozReview-Commit-ID: 9kRcDHTPCqt

--HG--
extra : source : 1c6a0b0aae636f658555d4e2261eb3731df71f65
2018-03-23 12:51:15 +11:00
Xidorn Quan ea9d992ea3 Bug 1447056 part 1 - Move eWindowType_sheet to be before eWindowType_popup. r=mstange
nsBaseWidget::BoundsUseDesktopPixels() states that window types before
eWindowType_popup take desktop pixels rather than device pixels for
parameters of Move and Resize.

Cocoa widget seems to treat all of them as desktop pixels, and sheet is
one of the window types that it can actually open, so it should be put
before popup so that BoundsUseDesktopPixels() is correct on that.

MozReview-Commit-ID: FPqOoUQlQCy

--HG--
extra : source : 1d1f62a81d9fc059af9038eebc64256aeba397d3
2018-03-23 21:07:06 +11:00
L. David Baron 1da1c4f2be Bug 1448138 - Rename string DataFlags::SHARED to REFCOUNTED to make it clearer to those reading the code. r=erahm
MozReview-Commit-ID: 1mJuwY5dQkj

--HG--
extra : transplant_source : %B8%97%C2%AAa%A6%3D%E3%AC%9C%C1%15%99%FE%94%1A%E2K%81%F1
2018-03-23 17:31:37 -07:00
Geoff Brown 6083932cff Bug 1440714 - Convert Android browser test harnesses to adb.py; r=bc
This affects Android robocop, mochitest (all flavors) and reftests (all flavors).
2018-03-23 18:06:27 -06:00
Geoff Brown 3341d77b2f Bug 1448402 - Run jittests on OSX, for real; r=jmaher
OSX jittests have been running as a no-op for a while, due to a mozharness mis-configuration.
This fixes the configuration so that the test suite actually runs.
2018-03-23 18:06:24 -06:00
Emilio Cobos Álvarez 800551a615 Bug 1448415: Hide getPropertyCSSValue on nightly. r=bz
MozReview-Commit-ID: ItqKUMZEpoX
2018-03-24 01:00:43 +01:00
Johann Hofmann 8c0cc96a40 Bug 1448491 - Remove storage option docs from IndexedDB.jsm. r=me DONTBUILD
This is deprecated and there are no consumers that use
IndexedDB.jsm with the storage option.

--HG--
extra : rebase_source : ebf55265affe5d01c1934de5593de420b5405033
2018-03-23 23:27:24 +01:00
Steve Fink e0f4a04fd4 Bug 1447391 - Early return for strings and symbols when tracing for CC, r=mccr8
--HG--
extra : rebase_source : f4512c0ab8d7aac3f274d38b96594eb65fb149dd
2018-03-20 10:54:29 -07:00
Gurzau Raul 390957966b Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-24 00:08:02 +02:00
Gurzau Raul 3bcd829ce0 Merge inbound to mozilla-central. a=merge 2018-03-24 00:00:40 +02:00
Gurzau Raul f2571e02d0 Backed out changeset 94a8e9c4c345 (bug 1448048) for Robocop failures on Android on a CLOSED TREE 2018-03-23 23:29:02 +02:00
James Willcox 3d1f24abf4 Bug 1447393 - Keep empty content process alive on Android r=jimm,mrbkap
MozReview-Commit-ID: 2mZwbcjngnE
2018-03-23 15:32:30 -05:00
Luke Wagner 89d5682099 Bug 1444673 - Baldr: refactor AllocateCodeBytes() (r=lth)
--HG--
extra : rebase_source : 67249aa7eb18bc2c3c8263d4057687cf04285c7c
2018-03-23 13:44:05 -05:00
Nathan Froyd efd709bd4f Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm
We only use nsINamed on runnables for certain kinds of telemetry, and
those kinds of telemetry aren't being gathered on RELEASE_OR_BETA
builds.  We effectively make nsINamed::GetName a no-op when we're not
collecting said telemetry.  But implementing nsINamed does have a cost:
the vtable of every runnable (and we have hundreds of subclasses of
mozilla::Runnable) will contain pointers for GetName (and extra pointers
for QueryInterface/AddRef/Release), and all those pointers times all
those subclasses adds up quickly.  Let's not implement nsINamed when
nsINamed isn't going to be used.

This change saves ~100K of binary size on x86-64 Linux; the savings
should be similar on other 64-bit systems, and ~50K on 32-bit systems.
2018-03-23 14:53:55 -04:00
Ursula Sarracini 8189974edc Bug 1448143 - Factor out a size getter from DownloadsViewUI.jsm so other consumers can access it r=Mardak
MozReview-Commit-ID: EgyfXz1ntys

--HG--
extra : rebase_source : 8a2fcdd366764a6cf0d51a14d7df2f70fb1a3af0
2018-03-23 14:21:48 -04:00
Igor Matuszewski d3e1a09b4c servo: Merge #20399 - Sanitize Heap::handle(_mut) functions (from Xanewok:remove-heap-handle-mut); r=jdm
<!-- Please describe your changes on the following line: -->
Complementary to https://github.com/servo/rust-mozjs/pull/404.

Removing `Heap::handle_mut` didn't warrant any changes on Servo side, and so the changes here are only to fix compilation with `Heap::handle` being now marked as `unsafe`.

The main idea is that we can't hand out handles to heap values themselves, since they're not guaranteed to be rooted, but it's safe to do when we are - hence why the safe impl on `RootedTraceableBox<Heap<T>>` and why it's safe to use inside structs that hold a Heap and are `#[must_root]`.

---
<!-- 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 the compiler forces correctness here.

<!-- 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: 18ef5874dd3e11551e2f9503746540847eeb974c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 51f863c54f4fa1d159691fea3ae5b9ff76e004b9
2018-03-23 13:06:01 -04:00
Brindusan Cristian bfd45c93ba Backed out 2 changesets (bug 1446108) for build bustages on build\src\obj-firefox\dist\include\mozilla/Alignment.h(29) CLOSED TREE
Backed out changeset 08814c30af6d (bug 1446108)
Backed out changeset 7977451e9641 (bug 1446108)
2018-03-23 18:44:07 +02:00
Emilio Cobos Álvarez c664948ce9 Bug 1446108: followup: Make a destructor public to workaround bug 1448384 and reopen the CLOSED TREE. r=me
MozReview-Commit-ID: BRnjUONXMud
2018-03-23 17:32:50 +01:00
Emilio Cobos Álvarez 729bd14b2b Bug 1447506: Do LazyFC for anonymous nodes too, and clean up MaybeConstructLazily. r=bz
The old style system used FlattenedTreeIterator for lazy frame construction.
That could not find native anonymous nodes, so we had to construct eagerly in
native anonymous subtrees. Servo uses StyleChildrenIterator for the same
purpose, and that knows about native anonymous content, so we can now do lazy
construction for it.

Also, not check the container to do lazyFC on the children, it's no longer
necessary to check for anon content, and the reason we check for XUL is because
of XBL bindings, and those are loaded for the parent already, if we're about to
construct frames for the children.

Also, assert more tightly, we don't insert NAC lazily, that makes no sense.
Well, to be fair editor does insert anonymous nodes lazily sometimes (see al the
ManualNAC machinery), but it goes through the PostRecreateFramesFor path, not
through ContentInserted / LazyFC.

MozReview-Commit-ID: 2TmRNgpWaM
2018-03-23 16:45:07 +01:00
Emilio Cobos Álvarez 0cb3575d4e Bug 1447506: Make Devtools' TableWidget tests not rely on XBL bindings getting applied synchronously when XUL is mixed with HTML. r=bgrins
So TableWidget's columns does something where they mix HTML and XUL:

  https://searchfox.org/mozilla-central/rev/b29daa46443b30612415c35be0a3c9c13b9dc5f6/devtools/client/shared/widgets/TableWidget.js#1055

The label's .value is an XBL binding property:

  https://searchfox.org/mozilla-central/rev/b29daa46443b30612415c35be0a3c9c13b9dc5f6/toolkit/content/widgets/text.xml#19

This tests expects the XBL binding for the <label> to be applied synchronously,
which the other patch in this bug prevents.

Is there a reason that is a XUL label btw? We don't seem to use the binding
methods at all (except in this test, lol).

Anyway, just use getAttribute("label") in the test instead.

MozReview-Commit-ID: 3DOI0Lff6AW
2018-03-23 16:44:30 +01:00
Emilio Cobos Álvarez 005aa351c9 Bug 1446108: Don't create bogus angles in layers animation code. r=kats
Summary:
I can propagate the error up if needed, but looks like the code should cope with
it just fine with this change.

Reviewers: kats

Bug #: 1446108

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

MozReview-Commit-ID: Dm6EKIC6F5i
2018-03-23 16:40:55 +01:00
Cosmin Sabou b09b38b1d9 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-23 17:00:53 +02:00
Jan de Mooij 9d20ac22c1 Bug 1447996 - Don't GC when hitting overrecursion in RegExpCompiler; make the static analysis detect this. r=sfink
--HG--
extra : rebase_source : 09b91fd21fbb615aba2564ef92e8033b76bbf3ed
2018-03-23 15:55:38 +01:00
Cosmin Sabou 56274d0a01 Backed out changeset c652b6d362f6 (bug 1440753) for permafailing on layout/reftests/scrolling/iframe-scrolling-attr-2.html a=backout 2018-03-23 16:54:23 +02:00
Cosmin Sabou d5f5fb893c Backed out 3 changesets (bug 1446233) for permafailing on dom/media/tests/mochitest/test_peerConnection_replaceTrack.html. a=backout
Backed out changeset 9b72102a99b3 (bug 1446233)
Backed out changeset 6f3488ff7c60 (bug 1446233)
Backed out changeset 20301e359a4e (bug 1446233)
2018-03-23 15:18:23 +02:00
Narcis Beleuzu cd3a1211e2 Merge inbound to mozilla-central. a=merge 2018-03-23 11:51:38 +02:00
Margareta Eliza Balazs 9ecc515945 Backed out changeset b4f1e88f8b6e (bug 1447196) for 2 failures in dom/events/test/pointerevents/test_bug1303704.html 2018-03-23 05:37:20 +02:00
Yuki Hiroshi 19d1efcb99 Bug 1440574 - Follow-up: fix command broadcasters. r=felipe 2018-03-23 00:07:12 -03:00
Margareta Eliza Balazs 190225b29c Backed out changeset 794ee6857d83 (bug 1421070) for 15 failures in toolkit/components/payments/test/mochitest/test_ObservedPropertiesMixin.html on a CLOSED TREE
--HG--
extra : amend_source : 0574ce1b5b6a6e8735245684eb8e9ec7b0ac2647
2018-03-23 03:42:25 +02:00
Margareta Eliza Balazs cdccb66d47 Backed out changeset 610872970d04 (bug 1444033) for ES lint failure in /builds/worker/checkouts/gecko/devtools/client/inspector/test/head.js on a CLOSED TREE 2018-03-23 02:06:53 +02:00
James Teh ab44d98e0d Bug 1431256 correction: AccessibleHandler: Really return E_NOINTERFACE for IEnumVARIANT if there are no children. r=MarcoZ
A typo meant we were checking the address of mChildCount, not the value.

MozReview-Commit-ID: 7Hit3FBy9pr

--HG--
extra : amend_source : edb85b8e73184e47cd9ff42c0442f89d5f3c5152
2018-03-22 17:57:34 -04:00
J.C. Jones 2e7f40ab63 Bug 1445731 - land NSS 1bde21f90bd1 UPGRADE_NSS_RELEASE, r=me
--HG--
extra : rebase_source : b23946c3f8f8ca33b1fe42f67febe604d36c6411
2018-03-22 14:40:30 -07:00
Cosmin Sabou 733a57dece Backed out 2 changesets (bug 1448174) for build bustages on test262/built-ins/TypedArrays/typedarray-arg-proto-from-ctor-realm.js. CLOSED TREE
Backed out changeset c4f12e0022ce (bug 1448174)
Backed out changeset fa78846bc5fd (bug 1448174)
2018-03-23 16:42:45 +02:00
André Bargull e36c60b399 Bug 1434007 - Enable String.prototype.trim{Start,End} by default. r=till 2018-03-22 15:39:08 -07:00
André Bargull cf623c82f2 Bug 1448174 - Part 3: Update test262 exclusions. r=sfink 2018-03-22 15:45:38 -07:00
André Bargull 54be71f91c Bug 1448174 - Part 1: Update test262 importer to handle new feature flags. r=sfink 2018-03-22 15:39:48 -07:00
Nathan Froyd 94df69d8f2 Bug 1448053 - be more efficient in MessageChannel::RepostAllMessages; r=jld
Once we've figured out that some task needs to be reposted, there's no
reason to continue scanning the list to find other tasks that need to be
reposted, since the logic in this function just requires one task that
needs to be reposted.
2018-03-23 09:40:53 -04:00
sotaro 2ef480f239 Bug 1448271 - Update some names of #include guards r=nical 2018-03-23 22:40:04 +09:00
Cosmin Sabou c17fce3462 Merge mozilla-central to inbound. a=merge on a CLOSED TREE 2018-03-23 15:32:33 +02:00
Jonathan Kew 3d5c891570 Bug 1447163 - Enable support for OpenType variation fonts. r=dbaron 2018-03-23 10:35:28 +00:00
Dylan Roeh f7414393ca Bug 1444138 - Only report top-level location changes via NavigationDelegate.onLocationChange() r=snorp 2018-03-22 16:04:40 -05:00
Joel Maher f5d536995b Bug 1445385 - migrate test_unknownContentType_delayedbutton.xul to browser-chrome. r=paolo
--HG--
rename : toolkit/mozapps/downloads/tests/chrome/test_unknownContentType_delayedbutton.xul => toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_delayedbutton.js
rename : toolkit/mozapps/downloads/tests/chrome/test_unknownContentType_dialog_layout.xul => toolkit/mozapps/downloads/tests/browser/browser_unknownContentType_dialog_layout.js
rename : toolkit/mozapps/downloads/tests/chrome/unknownContentType_dialog_layout_data.pif => toolkit/mozapps/downloads/tests/browser/unknownContentType_dialog_layout_data.pif
rename : toolkit/mozapps/downloads/tests/chrome/unknownContentType_dialog_layout_data.pif^headers^ => toolkit/mozapps/downloads/tests/browser/unknownContentType_dialog_layout_data.pif^headers^
rename : toolkit/mozapps/downloads/tests/chrome/unknownContentType_dialog_layout_data.txt => toolkit/mozapps/downloads/tests/browser/unknownContentType_dialog_layout_data.txt
rename : toolkit/mozapps/downloads/tests/chrome/unknownContentType_dialog_layout_data.txt^headers^ => toolkit/mozapps/downloads/tests/browser/unknownContentType_dialog_layout_data.txt^headers^
2018-03-23 14:50:22 -04:00
Geoff Brown 327ee6f78a Bug 1427236 - Enable layout/base/tests/test_bug607529.html on Android opt; r=me,a=test-only 2018-03-23 12:46:08 -06:00
Florian Quèze 02569d8da2 Bug 1448033 - Update the progress of downloading an update every 100ms, r=mcmanus. 2018-03-23 19:41:52 +01:00
Luke Wagner 0b8fa9b782 Bug 1428453 - Baldr: remove old traps (r=bbouvier)
--HG--
extra : rebase_source : 74329422f1530e5a1ab4e52748aac336766e8917
2018-03-23 12:32:46 -05:00
Luke Wagner 35458d8d18 Bug 1428453 - Baldr: use new traps for out-of-bounds (r=bbouvier)
--HG--
extra : rebase_source : 091f227d7fddcf804312b70f12b430dd73af6fd8
2018-03-23 12:32:22 -05:00
Alexandre Poirot 779fe85e35 Bug 1444033 - Convert Task.jsm to async/await in devtools/client/inspector. r=jryans
MozReview-Commit-ID: 3Gek7xhypx3
2018-03-22 15:13:00 -04:00
Ryan VanderMeulen d6fd81de00 Merge m-c to inbound. a=merge 2018-03-22 19:44:23 -04:00
Emilio Cobos Álvarez d02390ae72 Bug 1448173: Remove stylo about:support stuff. r=xidorn
Summary: I missed them while removing --enable-stylo.

Reviewers: xidorn

Bug #: 1448173

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

MozReview-Commit-ID: s8WwyT2aql
2018-03-23 00:09:17 +01:00