Commit Graph

586930 Commits

Author SHA1 Message Date
Samuel Thibault
127ee40c95 Bug 1445954 - atk: Fix getTextAfter/Before/AtOffset in character boundary case. r=surkov 2018-03-16 05:52:00 -04:00
Honza Bambas
ee49bea9fc Bug 1447566 - Remove all remaning MOZ_ASSERT(!mSynTimer) checks from nsHalfOpenSocket, since we no longer enforce it null under certain conditions. r=valentin 2018-03-21 08:28:00 -04:00
André Bargull
cfbfabb86f Bug 1447018 - Don't break early in ToDateTimeOptions to improve spec conformance. r=Waldo
--HG--
extra : rebase_source : 57812cb92f35c7058ac8a8052674a8dba0d2833e
extra : histedit_source : 74c211a6af5417dab1f53019659bac4d103d847c
2018-03-21 07:27:24 -07:00
Kris Maglione
c423cc8c0a Bug 1446250: Part 2 - Optimize/reduce calls into the Photon PageAction API. r=mixedpuppy
Calling into the Photon PageAction API to update a property is orders of
magnitude more expensive than the simple DOM-based updates we used previously.
To make matters worse, a lot of our caching was removed during the migration,
and the Photon API introduces a lot of duplicated work when selecting icons.

This patch caches the last known state for each property to avoid calling into
the Photon APIs to update each property more than necessary, and removes the
extraneous preferred icon size calculations that the Photon code already
duplicates.

MozReview-Commit-ID: LjPPxolmcd6

--HG--
extra : rebase_source : 70bce5b1460c93cc738999b1e167eb17a39259b1
2018-03-15 20:20:33 -07:00
Kris Maglione
eb1a0bb258 Bug 1446250: Part 1 - Optimize Photon PageAction update performance. r=Gijs
The amount of computational complexity and garbage array/string/object
generation for each update to a pageAction property went up astronomically
with the migration of WebExtension page actions to the Photon API. This
resulted in non-trivial talos regression when Screenshots attempted to switch
back to the built-in pageAction API.

These changes fix most of the garbage generation, and reduce a lot of the
duplicated work for each update.

MozReview-Commit-ID: 4uPLnAesdU2

--HG--
extra : rebase_source : 3f723f3f35abf032cf12e02ce38552e21ea4827f
2018-03-15 21:34:01 -07:00
sotaro
57a55d1c2d Bug 1411481- Enable SkiaGL canvas usage on Mac r=jrmuizel 2018-03-21 08:59:38 +09:00
Kris Maglione
63cdc06086 Bug 1446585: Follow-up: Fix Windows file locking xpcshell bustage. r=bustage
MozReview-Commit-ID: TSB0CWep6h

--HG--
extra : rebase_source : b096176aeb25977de07d610a9ece40078003d107
2018-03-20 16:18:04 -07:00
Ed Lee
28bf7b2e86 Bug 1446053 - Add about:preferences section, sidebar removal and bug fixes to Activity Stream. r=ursula
Also adds new crh locale and in-content prefs test fix.

MozReview-Commit-ID: DFs0s710wZ4

--HG--
extra : rebase_source : 7edf0d5401cdb8da9559d98fe7837d6f23889c85
2018-03-15 10:38:18 -07:00
Nicolas Chevobbe
9efe6dcb78 Bug 1446941 - Remove old-event-emitter usage from styleeditor; r=gl.
MozReview-Commit-ID: D8szZGCwb9i

--HG--
extra : rebase_source : 50966436201cff0008befd0586323199a4395016
2018-03-19 12:35:40 +01:00
Nicolas Chevobbe
9321958641 Bug 1405243 - Extract consoleAPICall helper function in common.js; r=bgrins.
The function was used through multiple tests so it makes sense
to have it in common.js.
We take this as an opportunity to unify the style of the tests, and
to make closeDebugger return a Promise.

MozReview-Commit-ID: 7y8dMNErYZp

--HG--
extra : rebase_source : 61fa671d0f6c31b68d9b94a388454d39446a12bf
2018-03-19 18:09:41 +01:00
Nicolas Chevobbe
d8779b51f0 Bug 1405243 - Migrate browser_webconsole_bug_1006027_message_timestamps_incorrect.js to a server test; r=bgrins.
The test was testing that the 3 messages we display when
evaluating a console.log (text of the input, evaluation result,
consoleAPI message) all had a timestamp in a 2000ms range.
This wasn't really what it should have been about, since the
original bugfix (for Bug 1405243), was only in Console.cpp (and
the fix is still up there).
So here we only assert that the timestamp in the ConsoleAPI packet
is between the moment the log was requested and the time we receive
the packet.

MozReview-Commit-ID: HikGCJGHXMy

--HG--
extra : rebase_source : beeec437f12592b2229c89a5ab9125cc66d1971e
extra : source : 041a5ee841a41db1afca180d6b67890622543123
2018-03-19 16:42:09 +01:00
Masayuki Nakano
e6ee7e1c05 Bug 1423693 - Make IMContextWrapper::Init() resolve actual IM if active IM context ID is "xim" and there is XMODIFIERS env r=m_kato
On some Linux environment, GTK_IM_MODULE env may be "xim".  Then, actual
IM is specified with XMODIFIERS env with "@im=".  Therefore, if active IM
context ID is xim, IMContextWrapper::Init() needs to look for actual IM name
in XMODIFIERS.

MozReview-Commit-ID: 1aGjBkF4AQn

--HG--
extra : rebase_source : 8c50baa517c61ec2d872c036abc989b4a07e8e36
2018-03-19 14:22:52 +09:00
Michael Kaply
c4e0dd8f57 Bug 1443771 - Add ESR name to the about dialog. It is not translated. r=Felipe,jaws
MozReview-Commit-ID: FYjA7IrTGYt

--HG--
extra : rebase_source : 2b0a6773e5098e1963792a38b5251066f758a3ce
2018-03-14 17:41:26 -05:00
Kirk Steuber
d5edf55cc2 Bug 1447345 - Change enterprise policy that sets homepage to set it as the default rather than the user value for the pref r=Felipe
Additionally removes a stray debugging line that I accidentally checked into the tree previously.

MozReview-Commit-ID: 7F2S8WBgKCj

--HG--
extra : rebase_source : e25e343f3e8f57a52678c65ded973bb91d73d90a
2018-03-20 10:43:19 -07:00
Nils Ohlmeier [:drno]
6d558b16f6 Bug 1443032: stop closing usrsctp on callback. r=jesup
MozReview-Commit-ID: BgX9I1shVeN

--HG--
extra : rebase_source : ffee150924da89bd7e7564730c9c08fa59653223
2018-03-20 11:19:14 +00:00
Tarek Ziadé
3073443de2 Bug 1443443 - Extend PContent to retrieve Performance Counters in the parent process - r=baku
Adds the IPDL layer to asynchronously retrieve in the parent process the performance counters.

MozReview-Commit-ID: RbKstNx8pi

--HG--
extra : rebase_source : f81058b9bdd67c2f77bb5cd45d3838bc12f406ea
2018-03-20 17:19:32 +01:00
Paul Adenot
598ec91d70 Bug 1437366 - Disable the test on Android, all the others are, there are now ways this one can pass. r=pehrsons
MozReview-Commit-ID: 4aefhOoJ8sv

--HG--
extra : rebase_source : d0124ae9a3b6004b38036969a1c9ce79f5c2d978
2018-03-15 14:41:54 +01:00
Paul Adenot
18a3b28518 Bug 1437366 - Lower the sample rate so that the test don't underrun on Windows on try. r=pehrsons
MozReview-Commit-ID: JCCh4k6pifE

--HG--
extra : rebase_source : 5d7a87cfa8b074a2100f666decb2e604a1e05587
2018-03-15 14:39:57 +01:00
J.C. Jones
175c45e2dc Bug 1444440 - Ensure the correct error is emitted for policy distrusts r=keeler
Bug 1441223 added MOZILLA_PKIX_ERROR_ADDITIONAL_POLICY_CONSTRAINT_FAILED to be
emitted when we hit certificates affected by the Symantec distrust.

Since some sites have multiple certificate trust paths possible, sometimes
SEC_ERROR_UNKNOWN_ISSUER is emitted instead of the more specific error.

This patch uses a flag to ensure that the specific error is emitted out of the
Cert Verifier.

--HG--
extra : rebase_source : a961d2e713ae342222d85dff6f83ed3bcaa8006b
2018-03-14 14:01:35 -07:00
Margareta Eliza Balazs
ef5386563e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-20 19:01:25 +02:00
Emilio Cobos Álvarez
739b866c71 Bug 1447301: Disable the old style system by default. r=froydnj
This keeps --disable-stylo working and --enable-stylo=build with the same
semantics, but it makes also --enable-stylo / and the default to not build the
old style system at all.

This also removes the stylo-only platforms, since they're now the default.

MozReview-Commit-ID: DL2eZZn9suE
2018-03-20 17:33:47 +01:00
Eugen Sawin
1a0dc6db98 Bug 1446423 - [1.1] Queue bundle events during content module registeration. r=snorp 2018-03-20 17:15:06 +01:00
Eugen Sawin
9401469a2e Bug 1446478 - [1.0] Make onLoadRequest handler async. r=droeh 2018-03-20 17:15:06 +01:00
sreeise
70a0c81b98 Bug 1441857 - Added comment explaining custom properties are directly from CSSOM in order to get predefined style which is why they are not referenced by CSS. r=jaws
--HG--
extra : rebase_source : be31080cf5fbcb92578d02a07e0102df4d712f3a
2018-03-13 22:43:06 -04:00
Gurzau Raul
2e4e18caea Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-03-21 17:09:57 +02:00
Jonathan Watt
3ba6f4c5a2 Bug 1446763 - Convert InspectorUtils::CssPropertyIsShorthand to use Stylo. r=emilio
Summary: MozReview-Commit-ID: 5moH64qiKue

Reviewers: emilio

Bug #: 1446763

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

MozReview-Commit-ID: Gh2QFRsAYsq
2018-03-18 12:56:09 +00:00
Nathan Froyd
ab81acd6d6 Bug 1447529 - remove USEWEAKREFS code from nsWindowWatcher; r=smaug
It's been over fifteen years, and we haven't figured out how to use
weakrefs in this code.  We might as well go ahead and delete this.
2018-03-21 07:31:15 -04:00
Miko Mynttinen
65c6bee9d6 Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
MozReview-Commit-ID: rGjabnP2iz

--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
Henrik Skupin
1983e0ddd6 Bug 1441287 - [mozcrash] Add support for unicode paths. r=ahal
To let mozcrash handle minidump files located in profile paths
with unicode characters, support for that has to be added. It
also applies to the locations for the stackwalk binary, minidump
save path, and symbols.

MozReview-Commit-ID: EROVmK21a5Y

--HG--
extra : rebase_source : 67092e6164eb0e46decd24b2da1490ffefb4d5d7
2018-03-20 11:54:04 +01:00
Henrik Skupin
8152b5a69d Bug 1441287 - [mozcrash] Convert unit tests to pytest. r=ahal
Switch to the pytest framework to benefit from its rich
feature set for creating Python test.

MozReview-Commit-ID: AoptjhT1Hln

--HG--
extra : rebase_source : a0870e54038697f08cf14e7babffdb014a7a3c7d
2018-03-19 14:37:31 +01:00
Henrik Skupin
ba18be73fc Bug 1441287 - [mozcrash] check_for_crashes should always return count of crashes. r=ahal
Right now if no minidump file is present in the minidump folder,
the check_for_crashes method returns False. Whereby in all other
cases the number of crashes is returned.

To be consistent this method should always return a number, and
in case of no minidumps it should be 0.

MozReview-Commit-ID: 3DTgxn41TVn

--HG--
extra : rebase_source : 1631313878b596607ede27ebb04f95a64e2f9e2e
2018-03-20 13:44:56 +01:00
Henrik Skupin
cecdc45b6f Bug 1441287 - [mozcrash] Refactor unit tests. r=ahal
Split single unit test module into different modules separated
by area of test coverage.

MozReview-Commit-ID: Blh8V46kDq1

--HG--
extra : rebase_source : 64bfa620286904fdb2bde114efb337d0dd5d42b7
2018-03-13 15:14:49 +01:00
Christian Poveda
cca0b51e08 servo: Merge #20370 - Blobs support typed arrays now (from christianpoveda:issue_20348); r=jdm
<!-- Please describe your changes on the following line: -->
Blobs support typed arrays now, the relevant test were modified

---
<!-- 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 #20348 (github issue number if applicable).

<!-- Either: -->
- [X] 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: de04783fd9593cc21ce1b4709cf572f4450880ad

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 21bcfa3b6fc086c1d609064fc17e3a7681962f5f
2018-03-21 11:10:27 -04:00
Nicholas Nethercote
6aff850dcd Bug 1444275 - Remove the *InAnyProcess() functions. r=glandium
All pref-modifying operations now only occur in the parent process. Hooray!

MozReview-Commit-ID: GDVsda4rw5f

--HG--
extra : rebase_source : 4f8484f0751212120078b3ba1a32930bc9c5ed8a
2018-03-13 14:34:14 +11:00
Nicholas Nethercote
22b2a2e3c2 Bug 1444275 - Don't set the telemetry pref in content processes. r=glandium
It'll be set via the normal parent-to-child pref setting process.

MozReview-Commit-ID: By4mG7brc55

--HG--
extra : rebase_source : 480a289edf81b36395619a3bb9f5a1e065cb33d8
2018-03-13 14:33:48 +11:00
Emilio Cobos Álvarez
500ff7c746 Bug 1446342: Don't include forms in the scope chain for XBL datetime bindings. r=smaug
Reviewers: smaug

Bug #: 1446342

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

MozReview-Commit-ID: HK7nChYf0X6
2018-03-20 01:34:09 +01:00
Emilio Cobos Álvarez
90ea2d4ab7 Bug 1446832: Update hover state before firing mouseleave, to match other browsers. r=smaug
Reviewers: smaug

Bug #: 1446832

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

MozReview-Commit-ID: HKkK5jReVVh
2018-03-20 01:32:51 +01:00
Zibi Braniecki
735a746866 Bug 1419547 - Migrate the "Containers" section of Preferences to the new Localization API. r=flod,Gijs
MozReview-Commit-ID: IA3GFardEHs

--HG--
extra : rebase_source : e052f13c44e58d9b1cb90c7bcc5e9bd795bfd43d
extra : intermediate-source : 48060f354ac1b9be5a1b6a24668c35c33d8faa86
extra : source : 606cc17a4e1110223f4e81ee2a84e8e4b7cfc1fe
2018-03-12 18:08:24 -07:00
Nicolas Chevobbe
5f2293a835 Bug 1447672 - Remove old-event-emitter usage from storage panel; r=miker.
MozReview-Commit-ID: 2d3HOdXxjxf

--HG--
extra : rebase_source : e69151a97d8f71d035f8863e710ed8f9587ea457
2018-03-21 15:46:00 +01:00
Nicolas Chevobbe
83ca1c25bf Bug 1447666 - Remove old-event-emitter usage from DOM panel; r=miker.
MozReview-Commit-ID: BWLScyux9q7

--HG--
extra : rebase_source : 91644bb11fe27e45fdf954c6d146e00bfe3dd514
2018-03-21 15:37:48 +01:00
Paul Adenot
816186a405 Bug 1447622 - Add a way to output raw MOZ_LOG, without prefixes. r=erahm
MOZ_LOG=modules:4,raw now outputs the log without prefixes with the thread name
and date and stuff, just the exact string that was specified.

MozReview-Commit-ID: HACT5EM4BFm

--HG--
extra : rebase_source : 93590ee405f013791ad63565be6e6d83cad3567f
extra : source : d79d7130b28275c8eb2a475bdc685a345b070888
2018-03-21 12:11:17 +01:00
Thom Chiovoloni
cb131c0c3a Bug 1363581 - (part 2) Make RESTRequest's public API use promises and not callbacks r=markh
This also took the opportunity to clean up and modernize code it touched (mostly tests,
which needed changes but not quite as many changes as I ended up making).

MozReview-Commit-ID: ApPUTHXFprM

--HG--
extra : rebase_source : b6f44e4cbd62e2e41fd12d70e12362a4afcb4cb2
2018-03-14 20:34:50 -07:00
Thom Chiovoloni
fb54bddb43 Bug 1363581 - (part 1) Buffer RESTRequest response in memory before decoding to avoid corruption r=markh
MozReview-Commit-ID: BS0h4iIr91V

--HG--
extra : rebase_source : 9d98f33acd8818d4492829a21eea1f31e758d0ba
2018-03-13 15:13:56 -07:00
Thom Chiovoloni
1d144a4db8 Bug 1444162 - Replace 'Cancel Setup' string with 'Remove Account' r=eoger
MozReview-Commit-ID: A99nssZ1Dpz

--HG--
extra : rebase_source : 6f4619cd7a0a7f2854ea87f9d802f451e094a69a
2018-03-19 10:38:59 -07:00
Timothy Guan-tin Chien
9f501047f2 Bug 1446009 - Remove groupbox-base binding by moving groupbox.css into components.css r=enndeakin+6102
MozReview-Commit-ID: 1XVuuXNX0Eq

--HG--
extra : rebase_source : 33baa65c0961659c203c11f422c6b639ad1c0ccc
2018-03-20 15:15:40 +08:00
Bastien Orivel
be202c7f93 servo: Merge #20376 - Remove our dependency on the gcc crate (from Eijebong:cc); r=asajeffrey
Source-Repo: https://github.com/servo/servo
Source-Revision: 797fb553bbfdece69538644da89bb0c937ece997

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 89af3b000403cc333749f7775cde9f373054b77a
2018-03-21 10:20:58 -04:00
Bastien Orivel
79a5c8dccb servo: Merge #20371 - Bump ipc-channel and bincode (from Eijebong:ipc-channel); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 02c758a2266f51a95dc2ef647462e13fad4bb6a8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 39f3989fe20e33fd91c5ee6fafb37fc77fbaee83
2018-03-21 09:00:16 -04:00
Bryce Van Dyk
978c69f8d4 Bug 1434477 - If AudioCallbackDriver::Init() can't get a cubeb context, fall back to system clock driver. r=padenot
Change AudioCallbackDriver::Init() to fallback to a system clock driver if a
cubeb context can not be obtained. This should make driver init more robust in
cases where cubeb init fails and then CubebUtils::GetCubebContext() returns no
context.

MozReview-Commit-ID: IlFPytYacoI

--HG--
extra : rebase_source : 7445ceb49583ee3ae399252e995ce6f012d9da2f
2018-03-19 14:46:36 -04:00
Bryce Van Dyk
70d6e49a13 Bug 1434477 - Add extra logging to MediaManager's device enumeration path. r=padenot
Add logging was added to help diagnose gUM failures and provide more log
coverage of that code path.

MozReview-Commit-ID: A76fjlUVpmn

--HG--
extra : rebase_source : 6f67ab223739474c8dec7a72a1ff322503c4df96
2018-03-16 15:09:55 -04:00
Andreas Pehrson
1238d9515a Bug 1444541 - Don't stop recorder on pagehide during frameswap. r=smaug
MozReview-Commit-ID: AZec0yXM1FI

--HG--
extra : rebase_source : d96845f7422f6e57943bf90b1ef0f29df3e08099
2018-03-19 15:52:36 +01:00