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

525594 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione aaaea39c13 Bug 1333990: Part 1b - Add tests for script precompiler. r=shu
MozReview-Commit-ID: DVFFdyzY6Kn

--HG--
extra : rebase_source : d41324f18ee2c13e98f94ecec3af73e67da873ea
2017-03-16 16:55:59 -07:00
Kris Maglione 437f4e37d4 Bug 1333990: Part 1a - Add an async script pre-loading utility. r=billm,shu
MozReview-Commit-ID: 4vJF2drLeHS

--HG--
extra : rebase_source : 8adaa22d6d91ac6ef1804cf4c8d5698cf304b141
2017-03-16 19:10:40 -07:00
JerryShih 48125abbbe Bug 1347164 - css-color specified style test. r=dholbert
MozReview-Commit-ID: 6RRhz8ftEVO

--HG--
extra : rebase_source : 691b0d3bcdb3971875dce4ca9a65be40815687ac
2017-03-16 15:29:00 -04:00
JerryShih 83e3f7d249 Bug 1347164 - Rewrite mochitest test_specified_value_serialization.html to look more like test_computed_style.html. r=dholbert
MozReview-Commit-ID: 4XSBQXtYSth

--HG--
extra : rebase_source : ee293e7be3682a8f1be6264cfd48913e36c0c9ba
2017-03-16 15:29:00 -04:00
JerryShih aa69b5450c Bug 1347164 - css-color computed style test. r=dholbert
MozReview-Commit-ID: 36qT5LxhB9Z

--HG--
extra : rebase_source : 4c6e9d22bb2594a3d2115d074566bfd145deb6a1
2017-03-16 14:55:00 -04:00
JerryShih 2cf70c5fd4 Bug 1347164 - Serialize colors using "rgba()" as the color-function, if they have a non-opaque alpha channel. r=dholbert
MozReview-Commit-ID: 44T8gy7UWFJ

--HG--
extra : rebase_source : b51f85aa147ade186583ceb941f7e00f3038d2a7
2017-03-16 14:54:00 -04:00
Yura Zenevich 10b8780ba0 Bug 1335055 - improving accessibility of a tree component (keyboard and semantics). r=Honza
MozReview-Commit-ID: 1ffA4VjuyUZ
2017-03-16 23:01:04 -04:00
Geoff Brown d91ac89313 Bug 1340584 - Change reftest dm_trans default from sut to adb; r=bc 2017-03-16 20:29:57 -06:00
vincentliu 115a96aa36 Bug 1314543 - Make EnsureGPUReady() returns bool to make sure GPU process is readay. r=dvander 2017-03-17 09:49:13 +08:00
Ben Kelly b9628517d0 Bug 1347739 Don't crash if an ExtendableMessageEvent object has a null source. r=asuth 2017-03-16 21:25:42 -04:00
Stanford Lockhart 7531dc0505 Bug 1347619 - Change boxmodel.css to use calc(50% - 1px) instead of 49.5%. r=gl
MozReview-Commit-ID: 1CA5WgfKNL7
2017-03-16 18:39:53 -03:00
Steve Fink 15be199c92 Bug 1346874 - Disable slow gray mark checks on Android, r=mccr8
MozReview-Commit-ID: GyycxPpNDQA

--HG--
extra : rebase_source : a9803e46a04f96eff4683bfdbe0eeeacbd6eb248
2017-03-16 15:41:36 -07:00
Jonathan Kew 17d57d21e1 Bug 1340351 - Allow sandboxed content process on macOS to access fonts synced by Adobe Creative Cloud. r=haik 2017-03-16 22:26:43 +00:00
Kartikaya Gupta 315ad84b5d Bug 1347841 - Remove a fails-if(webrender) that was accidentally inserted. r=longsonr
MozReview-Commit-ID: 3T4M6Qb0lmI
2017-03-16 18:34:01 -04:00
Boris Zbarsky df47d99586 Bug 1348119. Move the test for setRangeText setting the dirty value flag into upstream wpt. r=smaug
MozReview-Commit-ID: 6yF42plMkAE

--HG--
rename : testing/web-platform/mozilla/tests/html/semantics/forms/textfieldselection/selection-value-interactions.html => testing/web-platform/tests/html/semantics/forms/textfieldselection/selection-value-interactions.html
2017-03-16 17:51:51 -04:00
Boris Zbarsky c63be1e971 Bug 1347706. Update to spec change for [[SetPrototypeOf]] on cross-origin objects. It should return true if null is passed. r=bholley
MozReview-Commit-ID: 42je5yfBRee
2017-03-16 17:43:49 -04:00
Boris Zbarsky 2c3a8eee0b Bug 1347639. Add nsImageLoadingContent::AsContent to make getting the relevant nsIContent* faster. r=qdot
MozReview-Commit-ID: 9sE3pbHwYbV
2017-03-16 17:43:34 -04:00
Boris Zbarsky e6cb980169 Bug 1343677 part 3. Remove all the CSS bits from the ContentPrefs whitelist. r=billm,dholbert
We're now asserting that we never check these before the END_ALL_PREFS phase,
which means they don't need to be sent to the content process synchronously.

MozReview-Commit-ID: 4BGbvVCjDWz
2017-03-16 17:43:17 -04:00
Boris Zbarsky a042125097 Bug 1343677 part 2. Assert in nsCSSprops::IsEnabled that we have received all preferences. r=dholbert,billm
This ensures that we don't read incorrect values out of the gPropertyEnabled
array simply because we haven't gotten preference values from the parent process
yet.

MozReview-Commit-ID: 59AgN3ecXQl
2017-03-16 17:43:17 -04:00
Boris Zbarsky 7525ff0157 Bug 1343677 part 1. Add a way to get the current preferences init phase in debug builds. r=billm
MozReview-Commit-ID: JtHhLuFDu2d
2017-03-16 17:43:17 -04:00
Wes Kocher c5d1991d35 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AuQEHTgSKcO
2017-03-16 14:07:10 -07:00
Wes Kocher da9127842f Merge inbound to central, a=merge
MozReview-Commit-ID: IAdEn2C01ye
2017-03-16 13:47:50 -07:00
Wes Kocher 653e4de273 Merge autoland to central, a=merge
MozReview-Commit-ID: EeBZDKaZKly
2017-03-16 13:38:47 -07:00
Dragana Damjanovic a66f6a3080 Bug 1348016 - nsHttpConnectionMgr::OnMsgCancelTransactions miss to cancel one transaction. r=mayhemer 2017-03-16 21:12:51 +01:00
Dragana Damjanovic fe46e21bf3 Bug 1347951 - Check if a h2 connection can accept more streams before trying to dispatchach a transaction. r=mayhemer 2017-03-16 21:10:30 +01:00
Michael Layzell 986ad15aa7 Bug 1348036 - Add a hidden permission for making all document loads act like Large-Allocation loads for manual testing, r=smaug
MozReview-Commit-ID: DIMb0a3TJi9
2017-03-16 14:58:36 -04:00
Boris Zbarsky 85fd027b51 Bug 1347640 part 2. Move a few more things from AfterSetAttr to HandleTypeChange. r=smaug
We also stop doing some unnecessary work (e.g. canceling image requests if our old type wasn't image).

MozReview-Commit-ID: GLPl1McLL9N
2017-03-16 14:50:42 -04:00
Boris Zbarsky a1462692fb Bug 1347640 part 1. Move the changing of HTMLInputElement's mType from ParseAttribute to AfterSetAttr. r=smaug
This will make the timing of the change more consistent between SetAttr and
UnsetAttr, and ensure that we have both the old and new type available in
AfterSetAttr.

MozReview-Commit-ID: Gsrxkkve7BC
2017-03-16 14:50:42 -04:00
Boris Zbarsky 70911690a2 Bug 656197 part 5. Remove UpdateState calls from AfterSetAttr, since they are no longer needed there. r=smaug
MozReview-Commit-ID: DmCf6Ndno2i
2017-03-16 14:50:42 -04:00
Boris Zbarsky 55cdc32c73 Bug 656197 part 4. Move calls to AfterSetAttr to before UpdateState when manipulating attributes. r=smaug
In particular, this lets us remove UpdateState() calls from AfterSetAttr.  That
change is next.

MozReview-Commit-ID: CFeft0E9o8m
2017-03-16 14:50:42 -04:00
Boris Zbarsky 67e823d90a Bug 656197 part 3. Remove UpdateState calls in BeforeSetAttr. r=smaug
The UpdateState calls in BeforeSetAttr were there in case an AttributeWillChange
observer examined the element state and expected it to be updated to whatever
changes BeforeSetAttr made.  But at this point, AttributeWillChange runs before
BeforeSetAttr, and there is no code that runs between BeforeSetAttr and the
subsequent UpdateState in SetAttrAndNotify/UnsetAttr that cares or could care
about the state of the element.  So it's safe to do no state updates in
BeforeSetAttr and just do the single UpdateState we already do.

MozReview-Commit-ID: BQOPVgHyC0H
2017-03-16 14:50:42 -04:00
Boris Zbarsky 33a3057732 Bug 656197 part 2. Move calls to BeforeSetAttr to after AttributeWillChange. r=smaug
This means that implementations of BeforeSetAttr no longer need to UpdateState.
Those UpdateState calls will be removed in a bit.

MozReview-Commit-ID: 1yEg5D4garD
2017-03-16 14:50:41 -04:00
Boris Zbarsky f890715ffc Bug 656197 part 1. Remove the generic attr preparsing mechanism from BeforeSetAttr and just preparse class attributes directly in the one place that needs to do it. r=smaug
This removes the requirement that BeforeSetAttr comes before AttributeWillChange
(which needs the preparsed new value).

MozReview-Commit-ID: 87C6Mjc7ARh
2017-03-16 14:50:41 -04:00
Michael Layzell 64b0637518 Bug 1347983 - Part 2: Add a test to ensure that forms submitted from a large-allocation page behave correctly, r=smaug
MozReview-Commit-ID: Af44H11AFMf
2017-03-16 14:32:30 -04:00
Michael Layzell ccc519e3f4 Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
Florian Quèze be00c3b9e8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze 9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Florian Quèze 881a50703b Bug 1345294 - nsIPrefBranch should have methods to get/set unicode strings, r=bsmedberg. 2017-03-16 19:26:01 +01:00
Florian Quèze 2ce3d7d34a Bug 1347947 - Move static checking browser mochitests to their own folder, r=Gijs.
--HG--
rename : browser/base/content/test/general/browser_misused_characters_in_strings.js => browser/base/content/test/static/browser_misused_characters_in_strings.js
rename : browser/base/content/test/general/browser_parsable_css.js => browser/base/content/test/static/browser_parsable_css.js
rename : browser/base/content/test/general/browser_parsable_script.js => browser/base/content/test/static/browser_parsable_script.js
rename : browser/base/content/test/general/bug1262648_string_with_newlines.dtd => browser/base/content/test/static/bug1262648_string_with_newlines.dtd
rename : browser/base/content/test/general/dummy_page.html => browser/base/content/test/static/dummy_page.html
rename : browser/base/content/test/general/parsingTestHelpers.jsm => browser/base/content/test/static/head.js
2017-03-16 19:26:01 +01:00
Florian Quèze a09d41b402 Bug 1343571 - When clicking an action button of a PopupNotification in an inactive window, focus the window instead of performing the action, r=past. 2017-03-16 19:14:22 +01:00
Bobby Holley d1865bc01a Bug 1341102 - Adjust test expectations after merging #15983. r=me
The PR in question just added some pseudo-classes, and seems to have unearthed
some failures related to our lack of proper visited handling. Annotating.

MozReview-Commit-ID: GcbmWNDgwD0
2017-03-16 11:10:14 -07:00
Wes Kocher efcef12931 Backed out changeset e73241bcb49a (bug 1340584) for Windows build failures a=backout CLOSED TREE
MozReview-Commit-ID: 22csfCgl7Wb
2017-03-16 10:25:15 -07:00
Geoff Brown ecc9668072 Bug 1340584 - Remove devicemanagerSUT and references to sutagent; r=wlach
sutagent is no longer built or usedr; devicemanagerSUT is completely
unused. After this change, devicemanagerADB is the only implementation of
devicemanager, and the --dmTrans and similar options have been removed
from test harnesses and mach commands.
2017-03-16 10:44:44 -06:00
Geoff Brown 7e2388e217 Bug 1347407 - Add an Android 7.0 AVD for mach android-emulator; r=me,test-only
Add support for 'mach android-emulator --version 7.0'. This AVD is somewhat
experimental but has worked well in my initial testing.
2017-03-16 10:44:42 -06:00
L. David Baron 86687429ea Bug 1347759 - Fix conditions under which we reflow absolutely positioned element due to size change of its container for everything other than horizontal LTR. r=jfkthame
I found this problem because I was debugging the failure of
layout/reftests/w3c-css/received/css-writing-modes-3/clearance-calculations-vrl-008.xht
with my patch for bug 1308876.  It was failing because the red reference
box that was intended to be covered up was being mispositioned leftwards
by the width of the scrollbar, since we were not reflowing it when we
decided that the viewport did not need scrollbars.  This patch fixes
that failure.

This led me to this bug, where
nsAbsoluteContainingBlock::FrameDependsOnContainer was incorrectly
testing conditions for when the values of 'top', 'right', 'bottom', and
'left' require reflow due to changes in the size of the containing
block.

The old code is incorrect in a number of cases, such as:
1. in RTL, with 'right: 100px', it will say that the frame does not
   depend on its container's width since 'right' (offset-inline-start)
   is a fixed offset and 'left' is 'auto'.  However, since the
   positioning is relative to the right edge, a change in container size
   does require that the absolutely positioned element be repositioned
   relative to the container's left edge.
2. In vertical-rl, again with 'right: 100px', it will make the same
   mistake, since 'right' (now offset-block-start) is a fixed offset.
   This is the case from the test I was debugging.
3. In vertical-rl with rtl direction and 'bottom: 100px', we will make
   the same mistake because 'bottom' (inline-start) is fixed and 'top'
   is 'auto', and we use 'bottom' rather than 'top'.

However, in cases (1) and (3) we actually avoid hitting the bug in these
simple-ish cases because ReflowInput::ShouldReflowAllKids() returns true
whenever IsIResize() is true, which means that
nsAbsoluteContainingBlock::Reflow doesn't even call
FrameDependsOnContainer.  However, FrameDependsOnContainer should still
do the right thing because it's needed for
nsAbsoluteContainingBlock::MarkSizeDependentFramesDirty, which is only
used (from nsBlockFrame) when we reflow again for clearance or for
interruptible reflow.  I haven't attempted to write a testcase for that
because it seems likely to require spending hours in the debugger trying
to trigger the right code.

This means that the only test that fails prior to the patch is
dynamic-offset-vrl-001.html, which exercises case (2), and also happens
to be the most similar to problem in clearance-calculations-vrl-008.xht.

This patch also makes the tests stricter so that we do optimize away
resizes in some cases where we're able to do so, such as
'left: 100px; right: auto' in RTL.  (Or, rather, we would if it weren't
for the IsIResize() in ShouldReflowAllKids().)

MozReview-Commit-ID: 8xm1AHC21oh

--HG--
extra : transplant_source : %06%B4%40%EB%A9%C8M%F3%99%80%A9%DE%1F%1E%90%D3%F1%04W.
2017-03-16 09:39:19 -07:00
Jim Chen 8ae81abdc5 Bug 1345967 - Use global EventDispatcher for update messaging; r=sebastian
Use the global EventDispatcher for signaling update results. The event
listener in about.js must be unregistered after every event to prevent
memory leaks, so expectUpdateResult() is added and called whenever we
are expecting update results.
2017-03-16 12:37:41 -04:00
Sebastian Hengst 409b7d9ed9 Backed out changeset 3a6cb84f8cf8 (bug 1341008) for frequently failing toolkit/components/extensions/test/xpcshell/test_ext_i18n.js on Windows. r=backout 2017-03-16 17:29:49 +01:00
Sebastian Hengst e43c8a0ce7 Backed out changeset 8a1c36e9ba80 (bug 1341008) 2017-03-16 17:29:18 +01:00
Kai Engert 4d0a5cb45a Bug 1347932, uplift NSPR_4_14_BETA2, r=franziskus 2017-03-16 17:22:25 +01:00
ffxbld 006005beff No bug, Automated HPKP preload list update from host bld-linux64-spot-308 - a=hpkp-update 2017-03-16 07:57:12 -07:00