Jan-Erik Rediger
db3e703558
Bug 1466518 - Store current timestamp as profile directory scan date in a scalar. r=chutten
...
Depends on D1577
MozReview-Commit-ID: ADAXwJlIVQN
Differential Revision: https://phabricator.services.mozilla.com/D1578
--HG--
extra : moz-landing-system : lando
2018-06-29 13:12:43 +00:00
Jeff Walden
80abb71067
Bug 1472066 - Add some helper functions to enable (once the non-integral Utf8Unit code unit type lands, soon) dealing with Utf8Unit as the type of UTF-8 source code in addition to char16_t for UTF-16 source code. r=arai
...
--HG--
extra : rebase_source : 1f050dd6c0cb07a8b5d8bc257eb42ec78d699a33
2018-06-28 20:17:17 -07:00
Jeff Walden
2f902e38d0
Bug 1472066 - Specialize TokenStreamCharsBase::fillCharBufferWithTemplateStringContents for char16_t now that its alternative UTF-8 implementation will have to function a bit differently to write data into a char16_t charBuffer. r=arai
...
--HG--
extra : rebase_source : 8c6e13e16777abc910aaf46d4654ae03e88f32fa
2018-06-28 20:14:27 -07:00
Cameron McCormack
48fe6dbe69
Bug 1472065
- Initialize mSheet and mParentRule in css::Rule's constructor. r=xidorn
...
MozReview-Commit-ID: JI3cMiJaH3x
--HG--
extra : rebase_source : 3f45a63c8817df9550c5c638ad5b978421fa051c
2018-06-29 12:56:09 +10:00
Gurzau Raul
a5fae08102
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-07-02 00:52:31 +03:00
Martin Stransky
1f770d80e5
Bug 1467128 - [Wayland] Get VSync from Gtk/Wayland, r=lsalzman
...
VSync on Wayland is a bit tricky as we can get only "last VSync" event signal with
CLOCK_MONOTONIC timestamp or none (if application is hidden/minimized).
That means we should draw a next frame at "last Vsync + frame delay" time and also
approximate next VSync event when we don't get any.
MozReview-Commit-ID: FI3Z4nkmDNK
--HG--
extra : rebase_source : 8a0f6148990cf4e7ad26ff287eadff87cb0215fc
2018-06-29 13:15:41 +02:00
Jeff Walden
e249f558aa
Bug 1472031 - Add SourceUnits::matchHexDigits and remove SourceUnits::peekCodeUnits used for the same ends (but that also performed a needless copy). r=arai
...
--HG--
extra : rebase_source : bad3e97ead1b4d72dd39420bfc96614913464d62
2018-06-28 16:08:53 -07:00
Jeff Walden
76990b22f2
Bug 1472031 - Avoid copying potential directives in TokenStreamSpecific::getDirective. r=arai
...
--HG--
extra : rebase_source : d6386e0fe99a2fe9050d25952426205779b8ee2e
2018-06-28 15:39:14 -07:00
Jeff Walden
75148cb5d5
Bug 1472031 - Implement a SourceUnits::remaining() function exposing how many code units are left. r=arai
...
--HG--
extra : rebase_source : a0e1e6add04478f6dda4407943772683f77fad24
2018-06-28 15:34:12 -07:00
Jeff Walden
4ec8af2179
Bug 1472031 - Define TokenStreamAnyChars::updateFlagsForEOL inline in the header, for simplicity. r=arai
...
--HG--
extra : rebase_source : 970066032cae253d5b816f188d03b23025d28729
2018-06-28 15:33:29 -07:00
Jeff Walden
4f9aef7e10
Bug 1472031 - Rename atomizeChars to atomizeSourceChars to clarify it's only for atomizing directly from source text. r=arai
...
--HG--
extra : rebase_source : 0a666084c0695aac7ac994c2b96d0f699965657c
2018-06-28 15:32:41 -07:00
Jeff Walden
7ed2b26ceb
Bug 1472031 - Introduce a drainCharBufferIntoAtom function to clear charBuffer and create an atom from the chars that were in it. r=arai
...
--HG--
extra : rebase_source : bd8f3114f8704b7a266ccf21d4c110fe28ab77f1
2018-06-28 15:31:13 -07:00
Jeff Walden
da3129de0b
Bug 1467336 - Change a bunch of 'character' nomenclature in token stream code to 'code unit', completing the transition from tokenizing by UTF-16 'character' to tokenizinng by UTF-8/16 code unit. (There are straggling places where algorithms will need to be specialized for UTF-8, or functions will need to move within the TokenStream* hierarchy to permit such; but what is in the tree now universally acts on code units first, full code points second.) r=arai
...
--HG--
extra : rebase_source : 06fa722d16b801f9db7f38110756d8a8f62b6617
2018-06-28 02:30:08 -07:00
Jeff Walden
8d4d43a2d1
Bug 1467336 - Remove GeneralTokenStreamChars::{,un}getChar now that they're unused. r=arai
...
--HG--
extra : rebase_source : 908ffc7370dafe00bb6266ec5817b40bb353d93f
2018-06-28 02:27:50 -07:00
Jeff Walden
3da23e1993
Bug 1471465 - Fix some issues with ungetting LineTerminatorSequence in certain places. r=arai
...
--HG--
extra : rebase_source : 82a7a98fc500d26be67363c45f91662887b12091
2018-06-27 13:26:14 -07:00
Jeff Walden
69afaf684f
Bug 1471464 - Make getNonAsciiCodePoint, getFullAsciiCodePoint, and isAsciiCodePoint all take |int32_t| and not |CharT|, because they're all passed |int32_t| from |getCodeUnit()| or a code point-getting mechanism. r=arai
...
--HG--
extra : rebase_source : 2582f93ab5c048bb0df42563331a450423529e3c
2018-06-27 13:26:13 -07:00
Jeff Walden
9d4fe70e96
Bug 1471463 - Move TokenStreamCharsBase::tokenbuf and related functions into a new TokenStreamCharsShared base class, make the character type always char16_t, and rename it/them to 'charBuffer' for clarity. r=arai
...
--HG--
extra : rebase_source : ac4e81db943a1f69a8caa0722d4239b4fb5dc1c1
2018-06-27 13:25:57 -07:00
Jeff Walden
8fc3ac9afc
Remove a |false &&| inadvertently left in a patch as part of testing a fallback code path. Followup to bug 1457560, r=me, thanks to IRC for pointing it out recently
...
--HG--
extra : rebase_source : e1561f2e42d23d7c0ee38599b16661f85f3fa7c4
2018-06-29 18:01:07 -07:00
James Teh
2202cef9bf
Bug 1471466: Don't fire a focus event for a remote accessible if focus has moved into the chrome since the event was sent. r=surkov
...
For example, this can happen when choosing File menu -> new Tab.
Focus briefly returns to the document in the original tab, so we ask that document to restore focus.
The remote document then sends a focus event to the parent.
However, before the parent can process that event, focus has already moved to the address bar for the new tab.
With this check, we discover that focus is now in the chrome and thus avoid firing the event for the remote accessible.
MozReview-Commit-ID: 7k58dzREqZD
--HG--
extra : rebase_source : 51303f54293957f562e8540c8bf98f821694be54
2018-06-27 15:33:08 +10:00
jgilbert@mozilla.com
8732380db5
Bug 1472851 - Mark test failures. r=jgilbert
...
MozReview-Commit-ID: 36waWrdZwKk
--HG--
extra : rebase_source : b2f58b1108051df90ff89ab32821da7f5a5417df
2018-07-02 18:19:34 -07:00
jgilbert@mozilla.com
4e1ae147c5
Bug 1472851 - Update ANGLE to mozilla/angle/firefox-63. (chromium 3440) r=jgilbert
...
MozReview-Commit-ID: Hm6jbnqpaTt
--HG--
extra : rebase_source : 0943bf9e0e8f4e7c92941d7b0c6a54189d33acb4
2018-06-29 19:13:04 -07:00
jgilbert@mozilla.com
02099856bd
Bug 1472851 - Update update-angle.py. r=jgilbert
...
--HG--
extra : rebase_source : 6b843ed297fcbf8a7aeadf194d5b658cb7ceb14b
2018-06-29 14:20:22 -07:00
jgilbert@mozilla.com
efce3e910e
Bug 1472851 - Drop constexpr14 define. r=jgilbert
...
MozReview-Commit-ID: 2DbwMlkN5xp
--HG--
extra : rebase_source : 1259fd86696d6e33d91a16c44fbfea848e80bf54
2018-06-29 20:15:37 -07:00
Ciure Andrei
177ceadc18
Backed out 3 changesets (bug 1466897) for xpcshell failures test_ext_schemas_interactive.js and test_ext_contentscript_create_iframe.js CLOSED TREE
...
Backed out changeset 87bb8b686a7e (bug 1466897)
Backed out changeset 4443f1f6e8f3 (bug 1466897)
Backed out changeset 067ee6342782 (bug 1466897)
--HG--
rename : layout/xul/nsIPopupContainer.h => layout/xul/nsIRootBox.h
2018-07-03 06:03:15 +03:00
Matt Woodrow
7391f4b580
Bug 1467688 - Make sure we invalidate for perspective changes even if the frame isn't otherwise transformed. r=dbaron
...
MozReview-Commit-ID: JQGb41kp76P
--HG--
extra : rebase_source : f9105e949f8fa02697a94718ea69742ac115f8e6
2018-07-02 21:35:14 -04:00
Hiroyuki Ikezoe
36993c4e93
Bug 1472601 - Use EnsureInserted to check a key in a hashtable and insert the key into the hashtable. r=boris
...
As for removing an entry, EnsureRemoved is equal to what Contains && RemoveEntry
do, but for consistency we use EnsureRemoved here.
MozReview-Commit-ID: 9qE3YtvmwC8
--HG--
extra : rebase_source : 1681194cd8b9700d46a07a502f7d2f15580918aa
2018-07-02 15:19:43 +09:00
Ciure Andrei
24b60272b0
Backed out 1 changesets (bug 1472777) for linting failures create_interactive.py CLOSED TREE
2018-07-03 04:25:03 +03:00
Dustin J. Mitchell
f5ba8d33f9
Bug 1472777: add create-interactive action; r=bstack
...
The resulting action task isn't useful to the user, so instead we send an email
containing a link to the interaction console.
MozReview-Commit-ID: 5uHnQo9WTF6
--HG--
extra : rebase_source : 1213afa7c53a0bcc4a07c4c2970c7bf21ab3b7f1
2018-07-02 20:24:16 +00:00
Brendan Dahl
79c6912c4e
Bug 1466897 - Rename nsIRootBox to nsIPopupContainer. r=mats
...
MozReview-Commit-ID: D4GgReAEelG
--HG--
rename : layout/xul/nsIRootBox.h => layout/xul/nsIPopupContainer.h
extra : rebase_source : 5f4c2f2da75bac4f499a23cecc368e996991c6fe
2018-06-26 17:29:55 -07:00
Jeff Walden
83a1c5a302
Fully privatize the contents of the JS::Value union now that it cannot be POD because it has a non-trivial default constructor. No bug, r=me as trivial
...
--HG--
extra : rebase_source : 222290ba211e2fbe1693498a42d43a2064af45b8
2018-06-26 16:18:55 -07:00
Mike Hommey
993aa6d00f
Bug 1447116 - Require rust 1.26. r=froydnj
...
We're well overdue for an upgrade of the rust compiler requirements.
Now that we're building with 1.28 (albeit a beta, due to be bumped when
it's released), we can bump the requirement away from 1.24 which is now
old. 1.27 is too new, though, so settle for the older 1.26.
--HG--
extra : rebase_source : a17aa496bf3d4af4d1349d69a637c686c6817d0f
2018-06-26 18:05:23 +09:00
Mike Hommey
07b2d6830f
Bug 1447116 - Update builders to rust 1.28. r=froydnj
...
--HG--
extra : rebase_source : 8a45bae75a8006ebfa9dd1162f9259ead767c72e
2018-06-26 17:34:28 +09:00
Bogdan Tara
d0191c4b84
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-07-01 00:55:44 +03:00
Kris Maglione
fcedebb912
Bug 1471102: Move more code out of ExtensionUtils.jsm. r=aswan
...
MozReview-Commit-ID: Fqlv5BRuuW8
--HG--
extra : rebase_source : 348f037abd9cecfa080183bc365e5f005eac1bd6
extra : amend_source : 05dbfd12f553fc3f2a93374402e34d271e26d767
2018-06-25 19:30:21 -07:00
Emilio Cobos Álvarez
766cc497e9
Bug 215083: Account for subclasses in the next-in-flow assertion. r=me
...
MozReview-Commit-ID: 2E8Fm4Lxnf8
2018-06-30 04:42:22 +02:00
Masayuki Nakano
36f73c43d8
Bug 1435717 - Make calling WidgetEvent::PreventDefault*() stop cross process forwarding too r=smaug
...
Currently, if an event is consumed in the main process, EventStateManager
does not send it to remote process. However, this is unexpected behavior
for some WidgetKeyboardEvent dispatchers. OS sometimes has consumed native
key events before sending applications. For example, Alt key on Windows
should activate menu bar of focused window but Alt key may be consumed before
focused window receives the event. In such case, we mark Alt keyboard event
as "consumed before dispatch", and chrome treat it like as its preventDefault()
is called in web content. (Note that for compatibility with other browsers,
the consumed state is not exposed to web content. So, Event.defaultPrevented
returns false in web content.)
Therefore, we need to treat "consumed" state and "cross process forwarding"
state separately. This patch makes calling WidgetEvent::PreventDefault()
always stops cross process forwarding for backward compatibility. Additionally,
for the special case mentioned above, this patch makes
WidgetEvent::PreventDefaultBeforeDispatch() take additional argument,
|aIfStopCrossProcessForwarding|. If this is CrossProcessForwarding::eStop,
the event won't be sent to remote process as same as calling PreventDefault().
Otherwise, CrossProcessForwarding::eHold, PreventDefaultBeforeDispatch() call
does not change "cross process forwarding" state. I.e., if the event's
StopCrossProcessForwarding() and PreventDefault() are not called until
EventStateManager::PostHandleEvent(), the event will be sent to remote process
as usual.
MozReview-Commit-ID: IQGWJvXetxV
--HG--
extra : rebase_source : 4ccdd500e80b8fe29e469ac3b85578e1c07c8358
2018-06-25 18:17:18 +09:00
Dorel Luca
22b6094620
Backed out 2 changesets (bug 1472286) for Browser chrome failures on toolkit/mozapps/extensions/test/browser/browser_legacy_themes.js
...
Backed out changeset 914241e649a0 (bug 1472286)
Backed out changeset dc9cfde75af6 (bug 1472286)
2018-06-30 03:38:37 +03:00
Tim Nguyen
1b2c511d72
Bug 1472286 - Fix checks for legacy themes. r=kmag
...
MozReview-Commit-ID: 9bkTG2njxJJ
--HG--
extra : rebase_source : 25a047d5efba60f8a1ad9ee3dd9ed379bd3952c5
2018-06-26 13:46:22 +01:00
Tim Nguyen
4ae3363c05
Bug 1472286 - Stop appending @personas.mozilla.org suffix for built-in themes. r=kmag
...
MozReview-Commit-ID: CCRraTIKbR3
--HG--
extra : rebase_source : f4df49e52887d4974afdb46d68dbaadcfa86be5d
2018-06-26 13:39:47 +01:00
Jeff Gilbert
8a7965a452
Bug 1468747
- Replace AndroidBridge usage with jni::GetAPIVersion. - r=snorp
...
MozReview-Commit-ID: F8BeEJzYxdn
--HG--
extra : rebase_source : e7111d0276638706b5d9c8c66263808408dfc1fb
2018-06-28 17:56:04 -07:00
Dão Gottwald
bf70cd59cf
Bug 1468992 - Remove the Library infopane More/Less toggle. r=mak
...
MozReview-Commit-ID: LRNXWTHaGYS
--HG--
extra : rebase_source : c71bf348490ea8f3791202e65f42280bf81ed803
2018-06-30 01:12:13 +02:00
Dão Gottwald
f794a876e1
Bug 1468077 - Stop disabling cmd_close and cmd_closeWindow in the bookmark panel since it seems to be half-broken and is inconsistent with other panels. r=mak
...
MozReview-Commit-ID: AkKaq5Kon77
--HG--
extra : rebase_source : 23abeac68a167cb45e128474e322ac9283fa91ce
2018-06-29 13:33:05 +02:00
Ed Lee
7f2da678f7
Bug 1472302 - Add router previews, prerender noscripts and bug fixes to Activity Stream. r=ursula
...
MozReview-Commit-ID: 19dFAQNpGLD
--HG--
extra : rebase_source : 85f6c72416dd3c38823048a039a7777d8fa0f877
2018-06-29 11:59:55 -07:00
Dave Hunt
a631fc714d
Bug 1472201 - Vendor pytest 3.6.2 and dependencies; r=ahal
...
MozReview-Commit-ID: 5qfK6OygVMH
--HG--
rename : third_party/python/pytest/_pytest/vendored_packages/pluggy-0.4.0.dist-info/LICENSE.txt => third_party/python/pluggy/LICENSE
rename : third_party/python/pytest/doc/en/example/costlysetup/sub1/__init__.py => third_party/python/pytest/doc/en/example/costlysetup/sub_a/__init__.py
rename : third_party/python/pytest/doc/en/example/costlysetup/sub1/__init__.py => third_party/python/pytest/doc/en/example/costlysetup/sub_b/__init__.py
rename : third_party/python/pytest/_pytest/_code/__init__.py => third_party/python/pytest/src/_pytest/_code/__init__.py
extra : rebase_source : d80873f2b1899decefbddddfc2f69ae045925b81
2018-06-29 15:37:31 +01:00
Coroiu Cristina
a4cd34df05
Merge mozilla-central to autoland a=merge on a CLOSED TREE
2018-06-30 01:00:54 +03:00
Coroiu Cristina
5416c68fa2
Backed out changeset 64f3290fac6e (bug 1471532) on reqest by decoder a=backout
2018-06-30 00:57:00 +03:00
Coroiu Cristina
4dfea54f1d
Merge inbound to mozilla-central a=merge
2018-06-30 00:52:37 +03:00
Dorel Luca
745adab0fd
Backed out changeset 4503f56bf96f (bug 1421433) for Browser chrome failures on browser/base/content/test/performance/browser_startup_flicker.js. CLOSED TREE
...
--HG--
extra : amend_source : 4e7ce1f236a8394a44a0b2891cdc44cbd7a042c3
2018-06-29 21:30:27 +03:00
Dorel Luca
3bdf266662
Backed out changeset 839c17021ae0 (bug 1472153) for Browser chrome failure on browser/base/content/test/performance/browser_startup_flicker.js. CLOSED TREE
2018-06-29 21:29:45 +03:00
Coroiu Cristina
85cfb65d4b
Backed out changeset 57c6388be227 (bug 1466880) for devtools failures at devtools/client/responsive.html/test/browser/browser_telemetry_activate_rdm.js on a CLOSED TREE
2018-06-29 20:42:35 +03:00