Commit Graph

602436 Commits

Author SHA1 Message Date
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
David Major
67c0e7ceb2 Bug 1471310: Disable the emptiness assertion in ProtectedRegionTree. r=nbp
This is causing random failures with clang-cl and per the bug discussion we have better mechanisms to catch leaks.
2018-06-29 13:28:09 -04:00
David Major
56b39c6150 Bug 1471310 - Clear the Installed flag when removing the MemoryProtectionExceptionHandler. r=luke 2018-06-29 13:27:57 -04:00
Dão Gottwald
bea31df2b2 Bug 1459878 - Add "Show editor when saving" checkbox to the Bookmark panel. r=mak
MozReview-Commit-ID: IUji9cQmVz9

--HG--
extra : rebase_source : 67e0f9a5bd5ca0c5292fa738119b01cfec9dda7a
2018-06-29 12:39:30 +02:00
Michael Kelly
38fdedebf7 Bug 1451702: Mangle file: and jar: paths in browser error reports. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D1868

--HG--
extra : rebase_source : 65ce32dac6b61414acd685f8787b5709a0070b54
extra : amend_source : 51fb635ec9b8cbdc27917f95f72583d03b5322a2
extra : intermediate-source : 28564cd34c706e909df136c4c0ea374f4836a344
extra : source : 71156adbd18ecb9f5b4d09638881a3714c71244b
2018-06-28 11:19:24 -07:00
Andrew Swan
07dcc1c764 Bug 1451519 Convert specialpowers to a webextension r=kmag
This is a quick-and-dirty port.  It might be nice to replace
SpecialPowersObserver with the webextensions content script injection
system at some point, but that isn't practical right now (since WE experiments
cannot implement new APIs visible to content scripts).

MozReview-Commit-ID: GinCu3VcbWK

--HG--
rename : testing/specialpowers/bootstrap.js => testing/specialpowers/api.js
extra : rebase_source : 0faf7d21c8868c957ddc7fede0d56809f27dc161
extra : intermediate-source : ffb9ce93b92dd6396bfe038d3f6a8bcf929ec277
extra : source : cca596eadd0437dc75b75c119b6c7a405805f703
2018-06-27 13:10:51 -07:00
Jeff Gilbert
52a050c9e3 Bug 1471991 - Remove PopulateCapFallbackQueue from WebGLContext creation. - r=kvark
MozReview-Commit-ID: GCYgU8IiFpi

--HG--
extra : rebase_source : 468bbd280e07c71d8d0d8727f1768dc8cdb2b2e4
2018-06-28 13:09:16 -07:00
Jeff Gilbert
000829776c Bug 1471112 - Split mochitest-gl into mochitest-webgl[1,2]-[core,ext] - r=gbrown
Also include webgl2-deqp, which we would like to run eventually, but not yet.

MozReview-Commit-ID: CY4hYCI95ws

--HG--
extra : rebase_source : 9973df0f905bb65d2e8b8c66a6a57e8869e527c1
2018-06-25 20:23:33 -07:00
Jeff Gilbert
4bd9b396fb Bug 1471112 - Update manifest generation and regenerate. r=jgilbert
MozReview-Commit-ID: LvCzwVwYZh0

--HG--
extra : rebase_source : a87a1cafe25b4e6e40c5dd90bd0fafe89edf2e75
2018-06-25 20:21:21 -07:00
Felipe Gomes
6bc4e8af53 Bug 1467593 - Add strict=false to the schema of some policies. r=mkaply
This allows mistakes given to URL and origin params to be less severe to the end user.

MozReview-Commit-ID: 3HXM6adjCo0

--HG--
extra : rebase_source : 2dba2e27e645ecf05752ecb5cf8332d986d9f0ab
2018-06-29 15:54:54 -03:00
Felipe Gomes
db8dc29d5f Bug 1467593 - Support non-strict arrays in the JsonSchemaValidator. r=mythmon
An array specified with strict=false will not fail validation if there are invalid values. It simply will ignore those values and not include them in the output.

If strict is missing, it defaults to true.

MozReview-Commit-ID: 7hAs0IsnL9v

--HG--
extra : rebase_source : 1dc1e1a31713396ea20b9b7313a69803fbbb3ca0
2018-06-29 15:50:20 -03:00
Julian Descottes
d27be980f4 Bug 1471162 - Style codemirror scrollbar corners correctly in dark-theme;r=gl
MozReview-Commit-ID: 875fTgrmpJO

--HG--
extra : rebase_source : 6291c64f72fc33a4ecb99130085410b1d09628cf
2018-06-29 16:03:22 +02:00