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

553650 Коммитов

Автор SHA1 Сообщение Дата
Tim Nguyen dd1510aec5 Bug 1392416 - Update notification icons to use photon assets. r=dao
MozReview-Commit-ID: A5Y0GDJcwh1

--HG--
extra : rebase_source : 40d5c6bd967ed2817b252506c5f3322e3d318e51
2017-08-22 17:19:15 +02:00
Masayuki Nakano 6b9eda1dda Bug 1392181 - part2: HasRTLChars() should check if the character is at least equal or larger than the minimum RTL character, U+0590 r=emk
HasRTLChars() appears in profile of attachment 8848015 after landing the patches
for bug 1391538 because the landing made text in <input> or <textarea> always
treated as non-single byte characters.  Therefore, HasRTLChars() is now called
by nsTextFragment::SetTo() a lot in editors.

HasRTLChar() checks if it's in an RTL character for each character until it
becomes true.  However, if character is less than the minimum RTL character,
U+0590, it works faster at least for Western languages.

MozReview-Commit-ID: 4YecxQWUcmK

--HG--
extra : rebase_source : 172be670795f0e2155d4bd5044ee37f652367734
2017-08-21 18:03:21 +09:00
Masayuki Nakano 2eff2ba40d Bug 1392181 - part1: nsTextFragment::SetTo() shouldn't use CheckedInt r=smaug
nsTextFragment::SetTo() may be hot path of performance test but it needs to be
careful for computing allocation size.  However, nsTextFragment uses uint32_t
with only 29 bits to store its text length and using CheckedInt sometimes causes
appearing CheckedInt in profile.  So, using CheckedInt in it doesn't make sense
(and also wrong).

This patch defines NS_MAX_TEXT_FRAGMENT_LENGTH and make SetTo() check the length
of new text by itself.

MozReview-Commit-ID: 5zHtU1Kk6X2

--HG--
extra : rebase_source : e9aecc6b721bb5211ccc1194e027343ef090e2c2
2017-08-21 17:23:41 +09:00
Aryeh Gregor b7375b6f60 Bug 834209 - Return HTMLCollection from HTMLDocument named getter; r=bkelly
The spec says HTMLCollection, and this appears to be what all other
browsers do.

https://html.spec.whatwg.org/#dom-window-nameditem
https://html.spec.whatwg.org/#dom-document-nameditem

MozReview-Commit-ID: 87aABNaQmiz

--HG--
extra : rebase_source : dfc6e445fd00d718632464357727be378da41e6c
2017-08-20 17:20:24 +03:00
Luca Greco e401b67d1c Bug 1382487 - Fix devtools onSelectionChanged API event test case intermittency. r=aswan
MozReview-Commit-ID: GvljckBZpgN

--HG--
extra : rebase_source : 2bd4f32bee4078df8e87f963ccab20d1c43db54d
2017-08-15 17:08:27 +02:00
Nicolas Chevobbe 6f6f5b1480 Bug 1307880 - Add tests for the "Hidden messages" toolbar. r=bgrins
This adds some tests to ensure the hidden messages toolbar works
as expected. There are some for testing the component itself, as
well as some to test the store.
Some fixtures were modified as well to better represent the state
of the application.


MozReview-Commit-ID: 3Swqff1mbck

--HG--
extra : rebase_source : 48cff5c3c5e44e5aea9437d1243604ed69b19222
2017-08-08 15:27:03 +02:00
Nicolas Chevobbe 107889f3af Bug 1307880 - Show the number of filtered messages. r=bgrins
This adds a "filteredMessagesCount" property to the messages store,
which is updated at the same time as we update the "visibleMessages"
property.
The global number of hidden messages is then shown next to the text search
input, and a button can be clicked to Reset the filters to their original
values.
This only takes into account messages that are filtered-out because
the default filters changes. Which means that non-default filters, like
CSS, Network and XHR don't impact filteredMessagesCount.

We take this as an opportunity to rename the match*Filter functions to
pass*Filter, since it better represents what the function does (a network
message is not impacted by a level filter, but it can be misleading to say
that it matches level filters).

MozReview-Commit-ID: BLPmCFNtzEl

--HG--
extra : rebase_source : 8ea4abbc8f8847a306d3bac4fd87d07e0ccb8f89
2017-08-18 14:01:38 +02:00
Anthony Ramine cc0adff3ff servo: Merge #18134 - Introduce values::animated::Animate (from servo:we-are-leaving-babylon); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 8ca9542de6838fc485e9e41013d84b396ff216a9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 781cac1c82939307d62e6a53903845a7176f63dd
2017-08-22 07:22:10 -05:00
Aryeh Gregor 1b3b415680 Bug 1389421 - Support nonce IDL property; r=ckerschb,smaug
We already support the actual functionality, but nobody added support
for the IDL property to the .webidl file.

Also added <style nonce> to the web-platform-tests reflection tests,
since nobody updated that to the current spec either.

This does not add support for .nonce to SVGScriptElement, because I
couldn't find any standard that specified it.  I updated the wpt tests
to expect .nonce to work on HTMLScriptElement but not SVGScriptElement.

MozReview-Commit-ID: F1K7WMfMoDi

--HG--
extra : rebase_source : 247c63b63446dc0d60062bb9d9c61228c379b989
2017-08-21 14:49:44 +03:00
Sebastian Hengst 078e5787ea merge mozilla-central to autoland. r=merge a=merge 2017-08-22 15:13:35 +02:00
Sebastian Hengst 792dbaef79 Backed out changeset 082978a77728 (bug 1385227) for breaking L10n nightlies on Windows. r=backout a=backout
MozReview-Commit-ID: 2q0X3BWpJWP
2017-08-22 15:09:42 +02:00
Sebastian Hengst 03cbf11c2a Backed out changeset 70bc0e060dd6 (bug 1385227)
MozReview-Commit-ID: LHxsFUC5eTg
2017-08-22 15:08:57 +02:00
Sebastian Hengst 75955d0246 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 8fJX1xXgzhD
2017-08-22 11:49:04 +02:00
Mike Hommey fe086521ec Bug 1389435 - Use GCC 6 to build the Firefox we ship on Linux. r=froydnj 2017-08-22 13:46:00 +09:00
Mike Hommey e9c90cf459 Bug 1389435 - Explicitly use GCC 4.9 for hazard builds. r=me
The GCC plugin used for hazard builds was built for GCC 4.9. Until a new
plugin is built by a toolchain job for the "default" version of GCC we
build Firefox with, the builds using the plugin need to stay with the
version the plugin was built for.
2017-08-22 13:45:54 +09:00
Mike Hommey 9239c39c7c Bug 1389435 - Forbid toolchain dependencies on aliases. r=dustin
This extends bug 1386920 in a more general way on toolchain jobs.
2017-08-22 13:45:44 +09:00
Simon Sapin 157c942bc4 Bug 1392329 - Add a command-line front-end script for gtest microbenchmarks. r=froydnj
Example usage:

$ ./testing/gtest/bench.py Stylo*

  29.779 ±  0.254 ms    Stylo.Servo_StyleSheet_FromUTF8Bytes_Bench
  28.841 ±  0.031 ms    Stylo.Gecko_nsCSSParser_ParseSheet_Bench
 296.240 ±  4.744 ms    Stylo.Servo_DeclarationBlock_SetPropertyById_Bench
 293.855 ±  4.304 ms    Stylo.Servo_DeclarationBlock_SetPropertyById_WithInitialSpace_Bench

MozReview-Commit-ID: L6vx8A8Iz9q

--HG--
extra : rebase_source : 6fab50ba3b34f84e4e07315581034a862ed00a3b
2017-08-21 18:34:54 +02:00
Bevis Tseng 88a5ee396a Bug 1392201 - Label nsThreadShutdownAckEvent. r=froydnj 2017-08-21 17:30:22 +08:00
Nicholas Nethercote ac72ddb583 Bug 1390760 - Measure ServoComputedData::visited_style. r=bholley.
For the Obama wikipedia page, this covers about 85% of the unmeasured
ComputedValues structs. The about:memory output looks like this:

> +---2,443,648 B (02.41%) -- computed-values
> |   +--1,088,272 B (01.07%) -- dom
> |   +----945,744 B (00.93%) -- non-dom
> |   +----409,632 B (00.40%) -- visited

I'm not sure why some CVs are still being missed.

MozReview-Commit-ID: 1bYWwSi4ihn

--HG--
extra : rebase_source : 14e4bd36a54bbbd8fd265f559704bec5a5e3b154
2017-08-21 16:07:16 +10:00
sotaro 05fe97938e Bug 1391557 - Remove LayerTransactionParent::layer_manager() r=nical 2017-08-22 10:16:51 +09:00
sotaro 9ec0764889 Bug 1387659 - Add Layer::Disconnect() calling in LayerTransactionParent::Destroy() r=nical 2017-08-22 10:10:20 +09:00
Wes Kocher 02a5ad9edd Merge m-c to inbound, a=merge
MozReview-Commit-ID: dovwD1TzZR
2017-08-21 17:10:59 -07:00
Wes Kocher 88c4efea2a Merge inbound to m-c a=merge
MozReview-Commit-ID: 7PZEeFIzle5
2017-08-21 16:39:56 -07:00
Wes Kocher 7459418fd6 Backed out 16 changesets (bug 1364714) for android reftest failures in out-of-bounds-selectedindex.html a=backout
Backed out changeset b00b74e9d34b (bug 1364714)
Backed out changeset 1f52db2530d3 (bug 1364714)
Backed out changeset e3dda4fe9dae (bug 1364714)
Backed out changeset ff188112de35 (bug 1364714)
Backed out changeset 0e26a8c07cae (bug 1364714)
Backed out changeset e0cf94cb8666 (bug 1364714)
Backed out changeset 6f758a7673d3 (bug 1364714)
Backed out changeset 4b915e42b36d (bug 1364714)
Backed out changeset 80ca8faf1dac (bug 1364714)
Backed out changeset 2bd5a2d0ea09 (bug 1364714)
Backed out changeset aa5a89aac5ea (bug 1364714)
Backed out changeset 7634973c46ad (bug 1364714)
Backed out changeset b02a1d99e603 (bug 1364714)
Backed out changeset a297dc40177e (bug 1364714)
Backed out changeset 40e902ed7dbe (bug 1364714)
Backed out changeset d653fc499c9b (bug 1364714)

MozReview-Commit-ID: AyHF7oPwAs4
2017-08-21 16:16:29 -07:00
Wes Kocher f10eee4259 Backed out 16 changesets (bug 1364714) for android reftest failures in out-of-bounds-selectedindex.html a=backout
Backed out changeset b00b74e9d34b (bug 1364714)
Backed out changeset 1f52db2530d3 (bug 1364714)
Backed out changeset e3dda4fe9dae (bug 1364714)
Backed out changeset ff188112de35 (bug 1364714)
Backed out changeset 0e26a8c07cae (bug 1364714)
Backed out changeset e0cf94cb8666 (bug 1364714)
Backed out changeset 6f758a7673d3 (bug 1364714)
Backed out changeset 4b915e42b36d (bug 1364714)
Backed out changeset 80ca8faf1dac (bug 1364714)
Backed out changeset 2bd5a2d0ea09 (bug 1364714)
Backed out changeset aa5a89aac5ea (bug 1364714)
Backed out changeset 7634973c46ad (bug 1364714)
Backed out changeset b02a1d99e603 (bug 1364714)
Backed out changeset a297dc40177e (bug 1364714)
Backed out changeset 40e902ed7dbe (bug 1364714)
Backed out changeset d653fc499c9b (bug 1364714)

MozReview-Commit-ID: AyHF7oPwAs4

--HG--
extra : source : bccc691242c5460e58c6aac1bd3fd63d15037b4a
2017-08-21 16:16:29 -07:00
Wes Kocher b0c8473e3b Merge autoland to central, a=merge
MozReview-Commit-ID: 6Q3iErm6jCn
2017-08-21 14:30:39 -07:00
Gregory Szorc e50add9dfc Bug 1391789 - Set relengapi-proxy on correct object; r=bustage
This corrects a bug introduced in 265873cf1388.

MozReview-Commit-ID: LkZlTVAM17E

--HG--
extra : rebase_source : bf442e620abd6b47adee3d4c56e6f0c19964aea1
2017-08-21 10:30:42 -07:00
ffxbld 48ea452803 No bug, Automated HPKP preload list update from host bld-linux64-spot-301 - a=hpkp-update 2017-08-21 10:16:06 -07:00
ffxbld e66765550e No bug, Automated HSTS preload list update from host bld-linux64-spot-301 - a=hsts-update 2017-08-21 10:16:02 -07:00
Sebastian Hengst cf6a9260e7 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IC9EbX0bomM
2017-08-21 13:41:46 +02:00
Nicholas Nethercote 8a72cf2251 Bug 1390428 (part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm.
--HG--
extra : rebase_source : 69d58b0cfb56efc6b03d8e2d7be2ce3c3e6cd843
2017-08-21 20:01:27 +10:00
Gabriel Luong 6a1689dfaf Bug 1389732 - Add photon colors to variables.css. r=bgrins 2017-08-21 15:07:28 -07:00
Gabriel Luong c5b7c91031 Bug 1391866 - Remove border-bottom from the last child of accordions. r=bgrins 2017-08-21 14:57:57 -07:00
Simon Lindholm 8b0e1c2942 Bug 1387780 - Optimize string searching in MatchAutoCompleteFunction. r=adw, r=emk 2017-08-20 17:21:00 -04:00
Simon Lindholm 56d59da636 Bug 1387780 - Avoid memory allocations when calling MatchAutoCompleteFunction. r=adw, r=froydnj 2017-08-20 17:19:00 -04:00
Jan Beich 434eece1c8 Bug 1391993 - plugins: Fix -Wunreachable-code-return in PluginInstanceChild.cpp for non-OSX. r=kats
MozReview-Commit-ID: 9qIndwc8G0N

--HG--
extra : rebase_source : e58c1f2d2980f2fd6a29e5e053dcf0ec2130c3ca
2017-08-19 18:05:42 +00:00
Emilio Cobos Álvarez bbd95495e0 Bug 1341102: More expectation updates after servo/servo#18139. r=me
MozReview-Commit-ID: 7q1ITUpRcS2
2017-08-21 19:26:09 +02:00
Emilio Cobos Álvarez facde71eeb servo: Merge #18143 - style: Remove Stylist::is_device_dirty (from emilio:stylist-stylesheets); r=<try>
More progress on unifying how Gecko and Servo track stylist dirtiness.

Source-Repo: https://github.com/servo/servo
Source-Revision: e60266a72302a0ed332f1dd18d335b6092c47da4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fd8bbea82543a1a6a759806329e7ef2abe78bcc8
2017-08-21 10:59:10 -05:00
Masatoshi Kimura 35399ee9fc Bug 1392070 - Stop using the StopIteration object in Sqlite.jsm. r=mak
MozReview-Commit-ID: BP3RuM5EweE

--HG--
extra : rebase_source : 1e0a6ba438e51a851013356faf84d8eb91ff78b6
2017-08-19 22:10:44 +09:00
Masayuki Nakano 58441e391c Bug 1354004 - Make new Japanese default font settings ride the train r=emk,m_kato
Although, we still have an issue that is leading of text in <input type="text">
element causes overflow and scrollable (bug 1378065), we have no other
compatibility issue reports and the issue is not so important nor easy to fix.
So, now, let's make the new Japanese default font settings ride the train.

MozReview-Commit-ID: J3SN9FtHoZg

--HG--
extra : rebase_source : 1ec0c11afc49b08bf38cc7b1a7e928a09f494e8b
2017-08-21 15:08:21 +09:00
Andreas Tolfsen 657e3f287d Bug 1391691 - Make WebDriver:FullscreenWindow idempotent. r=automatedtester
MozReview-Commit-ID: 4AQlYYNV03f

--HG--
extra : rebase_source : 2b4c8bb55292665925411025e952367f1af27123
2017-08-18 18:32:11 +01:00
Andreas Tolfsen a4b0685950 Bug 1391691 - Make WebDriver:MaximizeWindow idempotent. r=automatedtester
MozReview-Commit-ID: EJ0VQOTWysg

--HG--
extra : rebase_source : 8f97877c78c04672acd715db82b98133330372db
2017-08-18 18:31:42 +01:00
Andreas Tolfsen bd75d1ac7c Bug 1391691 - Make WebDriver:MinimizeWindow idempotent. r=automatedtester
MozReview-Commit-ID: 4XBw0UFfZ1O

--HG--
extra : rebase_source : ced1fb5e6add0b2688c3e6cc0740eb9a9e54456a
2017-08-18 18:30:50 +01:00
Andreas Tolfsen d0436dfac3 Bug 1391691 - Skip needless assertion. r=automatedtester
The window rect's state is already tested a few lines down.

MozReview-Commit-ID: BLDufKrl8ey

--HG--
extra : rebase_source : 535872620741ffdd424f1794b355e1f0975ba76c
2017-08-18 18:43:01 +01:00
Andreas Tolfsen 79f1556376 Bug 1391691 - Bringing window out of fullscreen does not restore x/y position. r=automatedtester
When we set the window rect to width/height 400, we only want to test
those qualities.

MozReview-Commit-ID: 76qqCOOwjXQ

--HG--
extra : rebase_source : a8ebbb4a848beba6de43c2176d9322806ae80ac1
2017-08-18 18:42:20 +01:00
Andreas Tolfsen 64bf94515b Bug 1391691 - Restore window state using Set Window Rect. r=automatedtester
Because the Maximize Window, Minimize Window, and Fullscreen Window
commands are now idempotent we will want to use the Set Window Rect to
bring them back to the normal window state.

MozReview-Commit-ID: BxtAJizfti6

--HG--
extra : rebase_source : c3110bb53ca2dc795e0e6756525435ba2ea61a8e
2017-08-18 18:33:06 +01:00
Andreas Tolfsen a48ddd1c7a Bug 1391691 - Fix undefined variable error with client.Session#position(). r=automatedtester
The x and y variables are not defined but needs to be extracted from
new_position.

MozReview-Commit-ID: Ds8cPlufjUa

--HG--
extra : rebase_source : 6edb0445ac89d0202a4ef037b0cd38af226c6507
2017-08-18 18:34:44 +01:00
Andreas Tolfsen 6422a59390 Bug 1391691 - Add wdclient documentation for window manipulation. r=automatedtester
MozReview-Commit-ID: 758QOhUfJzs

--HG--
extra : rebase_source : 4698c8f0ea09d4db20bc8dbe0d5c8b4bc30297d8
2017-08-18 18:33:52 +01:00
Andreas Tolfsen d93ed539e8 Bug 1391691 - Rename GeckoDriver#fullscreen to fullscreenWindow. r=automatedtester
The other window state manipulation commands are named minimizeWindow
and maximizeWindow.

MozReview-Commit-ID: IBVqJSRwG8x

--HG--
extra : rebase_source : a1efaf7cf2a5c068b62c60453b1f8814d34b043b
2017-08-18 18:29:47 +01:00
Andreas Tolfsen 61810789d2 Bug 1391691 - Export WindowState properly. r=automatedtester
MozReview-Commit-ID: CNev3JIWJAt

--HG--
extra : rebase_source : f835504765e7af521bb65b3035548a95885da8e1
2017-08-21 14:08:44 +01:00