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

570761 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 442a9cd5f0 Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 4 - Get rid of NS_NewAsyncStreamCopier, r=smaug 2017-11-22 11:19:25 +01:00
Andrea Marchesini 1fd1731f81 Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug 2017-11-22 11:18:57 +01:00
Andrea Marchesini ad64933e5a Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 2 - NS_NewInputStreamChannel, r=smaug 2017-11-22 11:18:36 +01:00
Andrea Marchesini 8a7dedba69 Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 1 - NS_NewInputStreamChannelInternal, r=smaug 2017-11-22 11:18:18 +01:00
Ciure Andrei c7cf019289 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
Emilio Cobos Álvarez 45e3d61978 Bug 1419355: Add a test for non-content-accessible properties. r=xidorn
MozReview-Commit-ID: 8xYR59rj7cL
2017-11-22 10:55:25 +01:00
Ciure Andrei 4c8b383855 Backed out 1 changesets (bug 1417903) for permafailing /css/vendor-imports/mozilla/mozilla-central-reftests/masking/mask-mode-d.html r=backout a=backout on a CLOSED TREE
Backed out changeset fec67e7c728d (bug 1417903)
2017-11-22 11:46:40 +02:00
Tim Taubert 1a3663cd99 Bug 1419685 - [u2f-hid-rs] Implement per-device threads on Windows, remove KeyHandleMatcher r=jcj
This patch rewrites the Windows backend to have one thread per device.
As a bonus we get to remove the KeyHandleMatcher.

Review: https://github.com/jcjones/u2f-hid-rs/pull/57

296f6707b3
2017-11-22 10:13:49 +01:00
Tom Tung 9988d0b61e Bug 1415388 - P3: Fix the issues on try. r=bkelly
Basically, this patch does three things as following:
1. Limit the scope of service worker to the controlling document so that it
won't influence other tests.
2. Ensure to catch the channel to controlling document if it's an internal
redirect. We should get two channel with the response.URL(The first one for the
service worker and the second one for the controlling document). Distingulish
them by the order.
3. Ensure to get the controller change event after posting the "claim" message
to the service worker.

--HG--
extra : rebase_source : fb2395fb6dce59ae0fd49b0b915aca52c78206e0
2017-11-17 17:16:05 +08:00
Tom Tung 85f0ee018d Bug 1415388 - P2: Add a test to verify pass timing data correctlly after an internal redirect. r=bkelly
--HG--
extra : rebase_source : 1aa1a35954a7246ce240922e56819a8b5bb45da5
2017-11-14 15:12:33 +08:00
Tom Tung 58a1ed2f13 Bug 1415388 - P1: Move the test_devtools_serviceworker_interception to a browser test. r=bkelly
--HG--
extra : rebase_source : 4645db6b0211020574a3228774bf578bad40ace6
2017-11-09 09:24:20 +08:00
Jan de Mooij 07aeac9fbf Bug 1419497 part 2 - Optimize pre-barriers in jit code by handling more cases without calling into C++. r=jonco 2017-11-22 09:40:00 +01:00
Jan de Mooij 56bd5c82bd Bug 1419497 part 1 - Rename Ion to Jit in pre-barrier code. r=jonco 2017-11-22 09:38:12 +01:00
Tim Taubert 663e3294da Bug 1396833 - Fix tab drag&drop not finishing due to CSS transform not kicking in r=mconley
Summary:
In very rare situations, the right number of tabs and the right drop position
will lead to the drop event handler trying to start a translateX() transform
and then wait for the transitionend event that will never fire.

If the old and the new translateX values are too close together (e.g.
1259.1000061035156 and 1259.0999450683594) then the layout engine won't
actually start a transform.

A simple solution is to round translateX values before comparing them and
deciding whether to initiate a transition.

Reviewers: mconley

Reviewed By: mconley

Bug #: 1396833

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

--HG--
extra : amend_source : f1427cfe4c30066373b1acbd0d4017d8a02bc0ac
2017-11-22 08:15:09 +01:00
Nicholas Nethercote 0d3f601004 Bug 1418847 - Move variable declarations within Parser::Parse(). r=glandium
MozReview-Commit-ID: FdgXKBKH4nr

--HG--
extra : rebase_source : 3433eb75f562c4d40aa32a2f617ffcbaebc9a1a7
2017-11-21 12:57:36 +11:00
Nicholas Nethercote 40c44bbf9d Bug 1418847 - Hardcode the value reader and error reporter in Parser. r=glandium
In practice we always use the same functions for these purposes.

MozReview-Commit-ID: 4Be9pRhUeff

--HG--
extra : rebase_source : 3dfafd9479371d3a47ec263a66942ddbfbefdb46
2017-11-19 20:28:53 +11:00
Nicholas Nethercote eaa4ad1134 Bug 1418847 - Move some constants into class Parser. r=glandium
MozReview-Commit-ID: 1eZiyrUWjFp

--HG--
extra : rebase_source : feea72ef3cae05616d5368bcc0170ec17736422c
2017-11-19 20:10:39 +11:00
Nicholas Nethercote 71c4d64d05 Bug 1418847 - Refactor the Parser's state enum. r=glandium
MozReview-Commit-ID: 7csnknAAEtH

--HG--
extra : rebase_source : 639fb5f148a119af93c99b5fe921bd9629f03520
2017-11-19 20:10:10 +11:00
Nicholas Nethercote 8098ada3c9 Bug 1418847 - Morph struct PrefParserState into class Parser. r=glandium
This patch makes it a proper class, and moves existing functions into it.

MozReview-Commit-ID: 5pbT3ljq44R

--HG--
extra : rebase_source : ac7ba98f9d39b3cd6f71498a5e108cb6757034e0
2017-11-19 20:10:07 +11:00
Milan Sreckovic c9eb43789d Bug 1402041 - Move most of the GetSingleton() body to a separate function to make the inline size smaller. r=kats 2017-11-21 21:45:55 -05:00
Adam Gashlin 7404b3ac92 Bug 1369194 - Remove MozWakeLock. r=baku
--HG--
extra : histedit_source : 16cb49cbf3bf39bc2bddc721c002741cd5a953df
2017-11-20 17:14:41 -08:00
Adam Gashlin 516257bf9d Bug 1369194 - Remove navigator.requestWakeLock(). r=gsvelto, r=baku
--HG--
extra : histedit_source : b0e47d20d2064273759d387c55acf51ae749920c
2017-11-17 15:17:57 -08:00
Lucius Q. User 15a2c1ebc5 Bug 1416483 - Remove control-item binding and copy the value property onto its children. r=enndeakin 2017-11-18 16:17:50 +03:00
Matt Woodrow 9165b3a1fb Bug 1418945 - Always use the new-list ordering when merging display list since it's guaranteed to be correct. r=miko 2017-11-22 15:10:31 +13:00
Matt Woodrow 69caf9d4bd Bug 1417947 - Mark the correct frame as modified when invalidating due to blend mode. r=miko 2017-11-22 15:10:22 +13:00
sotaro 8238c315e7 Bug 1418877 - Fix key reuse check in AsyncImagePipelineManager::UpdateImageKeys() r=nical 2017-11-22 09:52:22 +09:00
Timothy Nikkel e90c0fb0e0 Bug 1419608. Make SurfaceKey::SVGContext return a reference instead of a copy. r=decoder
MozReview-Commit-ID: Cuee03ukO0k

--HG--
extra : histedit_source : 6c94447e6864ae2a637c723461b707720ec9effc
2017-11-22 01:41:35 +01:00
Nicholas Nethercote 30ee72e5bb Bug 1418846 - Give CallbackNode a constructor and destructor. r=glandium
And use new/delete for them. And make mDomain a unique pointer so it doesn't
need explicit deallocation.

MozReview-Commit-ID: E1jLccXaSwT

--HG--
extra : rebase_source : 5a64135d5471297ab98f8ec4557f66dac8b7eff9
2017-11-19 14:55:40 +11:00
Nicholas Nethercote 6207a59f90 Bug 1418846 - Remove PrefType::Invalid. r=glandium
Maybe<PrefType> is a better way of representing "no type".

MozReview-Commit-ID: Fnha5RxbNg4

--HG--
extra : rebase_source : 8e8322b0443305ab71acd6d98ea2607f626c5bce
2017-11-19 14:42:20 +11:00
Nicholas Nethercote 7e91e21a8a Bug 1418846 - Privatize GetRootLength(). r=glandium
MozReview-Commit-ID: JzZ2ot83YwJ

--HG--
extra : rebase_source : bd782baec39823fb6352110124cf851c184ad201
2017-11-18 20:36:56 +11:00
Nicholas Nethercote b3a73b9721 Bug 1418846 - Rename ENSURE_MAIN_PROCESS as ENSURE_PARENT_PROCESS. r=glandium
So it matches XRE_IsParentProcess().

MozReview-Commit-ID: E5ARalJhttX

--HG--
extra : rebase_source : 8ff91a9f511c27837a4e6d5e79ce097e55e884d8
2017-11-18 20:32:20 +11:00
Nicholas Nethercote 3e0ae997ab Bug 1418846 - Give PrefHashEntry a destructor. r=glandium
MozReview-Commit-ID: 84IJ25ItUuY

--HG--
extra : rebase_source : 4fcecb3fc1ebdfc5efdda27e8adf6c8dc1776a55
2017-11-18 20:29:03 +11:00
Nicholas Nethercote d65e40e1b8 Bug 1418846 - Remove PrefHashEntry::mIsSticky's getter and setter. r=glandium
This field isn't accessed outside PrefHashEntry.

MozReview-Commit-ID: IvwQe5UtjjJ

--HG--
extra : rebase_source : 5447d4e24bbf0d0637ee29377cc749b9b77b4e1e
2017-11-18 13:15:46 +11:00
Nicholas Nethercote 1ff309b5fb Bug 1418846 - Remove PrefHasEntry()::SetHas{Default,User}Value(). r=glandium
We can move the setting into ReplaceValue() and ClearValue(), and then those
methods aren't needed any more.

The patch also removes some getter calls within PrefHashEntry by directly using
field names.

MozReview-Commit-ID: 42EAx1Kh9Et

--HG--
extra : rebase_source : 3393a80a9c5d2d7c660171cdda8d3914c35e96ea
2017-11-18 13:13:27 +11:00
Nicholas Nethercote ce60c37da0 Bug 1418846 - Fix string value leaks in libpref. r=glandium
There's an "XXX" comment suggesting a possible leak when string user values are
cleared. Turns out a lot of the time there won't be a leak, because the string
pointer isn't overwritten and ClearEntry() frees the string when the pref is
destroyed. However, if the user value is subsequently overwritten with a
different string, there will be a leak. Also, even in the non-leak case, we
currently hold onto the string for longer than necessary.

This patch introduces ClearUserValue() -- which frees the string when
appropriate -- and uses it in all the places where values are cleared.

MozReview-Commit-ID: ARuWUNzPTfy

--HG--
extra : rebase_source : 4567e37ba96ba3b4ae9b1972d887eeaed1257cb0
2017-11-18 13:05:02 +11:00
Nicholas Nethercote 34ba26b512 Bug 1418846 - Overhaul pref_DoCallback. r=glandium
Specifically:

- rename it as NotifyCallbacks();

- remove the return value, because it is always NS_OK;

- some minor naming and declaration clean-ups.

MozReview-Commit-ID: GcH81owPLsp

--HG--
extra : rebase_source : 501a85f76bb823cc45dba8e4601584f5218b1a9e
2017-11-18 12:34:25 +11:00
Coroiu Cristina 9eb4f34b0a Merge mozilla-central to inbound. r=merge a=merge on a CLOSED TREE 2017-11-22 01:50:20 +02:00
Coroiu Cristina d6a2b15dbc Merge inbound to mozilla-central r=merge a=merge 2017-11-22 01:32:34 +02:00
Coroiu Cristina b23980841d Merge autoland to mozilla-central r=merge a=merge 2017-11-22 01:29:04 +02:00
Bas Schouten 455444a0f4 Bug 1417903: Make ImageRenderer use IntoLuminanceSource. r=dvander
MozReview-Commit-ID: 4fr3Koliieq
2017-11-22 00:27:34 +01:00
ffxbld 5fbf717e5b No bug, Automated HPKP preload list update from host bld-linux64-spot-034 - a=hpkp-update 2017-11-21 11:48:53 -08:00
ffxbld d05982f0f1 No bug, Automated HSTS preload list update from host bld-linux64-spot-034 - a=hsts-update 2017-11-21 11:48:49 -08:00
ffxbld 511b2cf5e6 No bug, Automated HPKP preload list update from host bld-linux64-spot-030 - a=hpkp-update 2017-11-21 11:14:55 -08:00
ffxbld cf7bf94e79 No bug, Automated HSTS preload list update from host bld-linux64-spot-030 - a=hsts-update 2017-11-21 11:14:52 -08:00
Bas Schouten 15d9bc6da0 Bug 1417549: Execute IntoLuminanceSource during replay rather than synchronously. r=dvander
MozReview-Commit-ID: DWGQoTpUnyT
2017-11-21 16:41:08 +01:00
Henri Sivonen bfee08d7ad Bug 1418000 - Check mInsertionPointPermanentlyUndefined when checking for executor completion. r=smaug
MozReview-Commit-ID: 2qL822ep5g3
2017-11-21 10:36:31 -05:00
Jonathan Kew 70e564ccb4 Bug 1419274 - Protect against divide-by-zero in nsFontMetrics::GetMaxStringLength when font size is zero. r=milan 2017-11-21 15:22:05 +00:00
hrdktg 08472314bf Bug 1413612 - Allow running ./mach clang-format outside of topsrcdir. r=sylvestre
MozReview-Commit-ID: G6F6cFZab3d
2017-11-21 18:22:11 +05:30
Tiberius Oros 797c93d81f Merge inbound to mozilla-central r=merge a=merge 2017-11-21 11:55:23 +02:00
Emilio Cobos Álvarez afbfd8a07d Bug 1419330: Make GetXBLBinding not an unconditional virtual call. r=smaug
MozReview-Commit-ID: IJB4OHsFM5v

--HG--
extra : rebase_source : 1296fe33c94e13e6cc9506df1b8067880c4ad790
2017-11-21 10:27:49 +01:00