Commit Graph

460578 Commits

Author SHA1 Message Date
Sami Jaktholm
e709251ef2 Bug 1239208 - Fix intermittent browser_rules_edit-property-computed.js by waiting for the correct ruleview-changed event. r=pbro
The preview also causes a ruleview-changed event to be emitted. If the frame
script happened to detect the change fast enough, the test would continue to
commit the value and start to wait for a ruleview-changed event. If the event
triggered by the preview had not been emitted, the test would continue
immediately once the event triggered by the preview was received but before
the value was actually committed and reflected in the computed rule list.

The fix is to wait for the ruleview-changed triggered by the preview before
committing the change to avoid mixing these two events.
2016-01-30 15:19:59 +02:00
Nick Fitzgerald
262912967a Bug 1242763 - Add a bunch of tooltips to the devtools' memory panel; r=jsantell
--HG--
extra : commitid : 67c3Fcxp6ey
2016-02-01 16:00:00 -08:00
Matthew Noorenberghe
f828c6e872 No bug - Disable browser_UITour3.js on e10s for intermittent 10.6 failures. r=bustage
--HG--
extra : commitid : 2mZ5LsdPg81
2016-02-01 20:25:38 -08:00
Matthew Noorenberghe
c5fee18ec7 Bug 1244991 - Disable intermittent browser_backgroundTab.js on e10s. r=bustage
--HG--
extra : commitid : LLgmBT900EB
extra : amend_source : 5c0a1c6a713c82f1ec7c4728bd16fc9c7a421946
2016-02-01 20:19:51 -08:00
Jordan Lund
3ecab23c5c Bug 1244575 - add repack template config for mozharness beetmover, DONTBUILD NPOTB r=rail
--HG--
extra : commitid : 6KNfcpT8WHH
extra : rebase_source : c319c0608f5d924568671f716b12169846303308
extra : amend_source : 2d4b1d1baa3983fd316405cb4d0a8875205c1397
2016-01-29 18:50:05 -08:00
Kartikaya Gupta
3d73d0eed2 Bug 1244901 - When recording transform duration for potential checkerboarding time, do so on the compositor thread. r=botond
--HG--
extra : commitid : 55FF2DFP4YI
2016-02-01 19:59:23 -05:00
William Chen
96cc20f039 Bug 1241575 - Use transform property syntax to parse WebKitCSSMatrix transform list. r=heycam 2016-02-01 16:45:09 -08:00
David Anderson
7b6e752abc Add software mix-blend mode support to the D3D9 compositor. (bug 1243071 part 3, r=bas,mattwoodrow) 2016-02-01 16:28:00 -08:00
David Anderson
3183956eeb Use double precision when computing the backdrop copy rect. (bug 1243071 part 2, r=mattwoodrow) 2016-02-01 16:27:49 -08:00
David Anderson
d11fbc361b Remove Compositor::mRenderBounds. (bug 1243071 part 1, r=mattwoodrow) 2016-02-01 16:27:38 -08:00
David Anderson
2dcd6e8f02 Fix stale intermediate surfaces in the D3D9 compositor. (bug 1244821, r=mattwoodrow)
--HG--
extra : rebase_source : 83a3dd01dc1caffde1348a5e4dca9c1a46204897
2016-02-01 16:22:51 -08:00
Nicholas Nethercote
53001db0dd Bug 1244606 - Remove PL_DHASH_FASTCALL. r=froydnj.
FindFreeEntry() has one caller, so using MOZ_ALWAYS_INLINE should be good
enough for it. As for SearchTable(), NS_FASTCALL is the same as
PL_DHASH_FASTCALL and so can be used instead.

--HG--
extra : rebase_source : 814f96d4751922785358e7a4f9d64fcf522364c1
2016-02-02 06:27:57 +11:00
Gregory Szorc
0b6ca59214 Bug 1244736 - Remove mach update-uuids and related code; r=froydnj
We no longer update UUIDs when changing XPIDL interfaces. `mach
update-uuids` was invented to make this process easier. Delete the
command and related code since it is no longer needed.

--HG--
extra : commitid : GLChZKelC0Q
extra : rebase_source : f4a8f9727f1213ae4fe5d17fa1a648ed8802095f
extra : amend_source : 2fdab014f16482ae82e0cc0f9b2c2f4620001657
2016-02-01 16:10:08 -08:00
Blake Kaplan
369461b3ab Bug 1241704 - Make sure nsIWebNavigation exists on docshell. r=mccr8 2016-02-01 16:07:11 -08:00
Yoshi Huang
be5bd39145 Bug 1240651 - Annotate addonId into crash report (r=bholley) 2016-02-01 16:05:53 -08:00
Xidorn Quan
de325f0e34 Bug 1244092 - Require Update 1 to build if using Visual C++ 2015. r=gps
--HG--
extra : source : 68ec9f57ff3e71075e6a6cd73dca9ce513642c93
2016-02-02 11:05:43 +11:00
Gregor Wagner
27be12e50c Bug 993311 - Followup to fix b2g builds r=khuey
--HG--
extra : commitid : Fps9V6WXcCQ
extra : amend_source : a262c51061f5b58282564c3859427467da2b0a31
2016-02-01 15:35:25 -08:00
Jim Mathies
7adc2da448 Bug 1243413 - Avoid hiding windowed plugins that aren't contained within the active scroll frame. r=roc 2016-02-01 16:50:57 -06:00
Jakob Stoklund Olesen
05eff8076f Bug 1240796 - Implement Uint32x4 extractLane in Ion. r=nbp
Since Uint32 can't be represented in a MIRType_Int32, this function should
return a MIRType_Double.

Allow MSimdExtractElement(Uint32x4) to return a MIRType_Int32 too. It will work
like the double version followed by MTruncateToInt32 which bitcasts the Uint32
value range into the Int32 value range.
2016-02-01 14:55:07 -08:00
Jakob Stoklund Olesen
5328ff2951 Bug 1240796 - Implement unsigned SIMD compares. r=sunfish
Add a MSimdBinaryComp::AddLegalized function which expands unsigned compares on
target platforms that don't support them directly. The early expansion exposes
the constants to MIR optimizations.

Unsigned comparison is expressed in terms of signed comparison by offsetting
both sides by INT_MIN.
2016-02-01 14:55:07 -08:00
Jakob Stoklund Olesen
cccd80f8b7 Bug 1240796 - Implement Uint32x4 <==> Float32x4 conversions. r=sunfish
The conversion from Uint32x4 to Float32x4 is not available as an SSE
instruction, so we need to expand into a larger instruction sequence lifted
from LLVM. Make this expansion early when generating MIR so that it can be
exposed to LICM and GVN optimizations.

The conversion from Float32x4 to Uint32x4 can throw a RangeError. It is handled
similarly to LFloat32x4ToInt32x4. This expansion depends on the details of the
cvttps2dq instruction that can't be expressed in MIR, so it can't be expanded
early.
2016-02-01 14:55:07 -08:00
Jakob Stoklund Olesen
d01dd37267 Bug 1240796 - Connect SIMD.Uint32x4 operations to the Ion inliner. r=bbouvier
Add a new InlinableNative::SimdUint32x4 enumerator, and emit the corresponding
JSJitInfo objects in SIMD.cpp.

Start producing template objects for Uint32x4 operations in BaselineIC.cpp.

Add a new SimdSign enum class to SIMD.h which will be used to distinguish
between signed and unsigned integers in the few places where it matters.

Map the SIMD.Uint32x4 type to the existing MIRType_Int32x4 + SimdSign::Unsigned.
Map SIMD.Int32x4 to MITType_Int32x4 + SimdSign::Signed.

Add a 'SimdSign sign' argument to those inlineSimd...() functions that care.
Some MIR instructions will get similar fields in the following commits.

For now, abort inlining if unsigned vectors are actually encountered. These cases
will be fixed in the following commits.
2016-02-01 14:55:07 -08:00
Jakob Stoklund Olesen
fa7b2a31b0 Bug 1240796 - Add Uint32x4 support to jit-test/lib/simd.js. r=bbouvier 2016-02-01 14:55:07 -08:00
Jakob Stoklund Olesen
6a2cbeebda Bug 1240796 - Extract baseline code to GetTemplateObjectForSimd(). r=bbouvier
Extract the code that generates template objects for SIMD operations, and
rewrite it to use the JSJitInfo nativeOp encoding.

This avoids the native function pointer comparisons, and it makes it simpler to
add new SIMD types and operations.
2016-02-01 14:55:07 -08:00
Jakob Stoklund Olesen
de5640ae26 Bug 1240796 - Inline SIMD operations that return scalars. r=bbouvier
The extractLane(), anyTrue(), and allTrue() SIMD functions produce scalar
values, and so they don't need a template object. The canInlineSimd() function
was rejecting these functions because of the missing template object.

At the same time, explicitly avoid inlining any SIMD operations if the JIT does
not support SIMD. This was previously controlled by the absense of the template
object.
2016-02-01 14:55:06 -08:00
Jakob Stoklund Olesen
30195bd925 Bug 1240796 - Detemplatize getOrCreateSimdTypeDescr(). r=bbouvier
This saves some code size in a cold function, and it makes it possible to pass
in the SIMD type as a dynamic argument.

Also detemplatize the static CreateSimdType() to save some code size.

Replace all of the Get*TypeRepr() self-hosting functions with a single
GetSimdTypeDescr() which takes one of the JS_SIMDTYPEREPR_* constants as an
argument instead.

Total code shrink ~ 32 KB.
2016-02-01 14:55:06 -08:00
Geoff Brown
6fe30ec610 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Jonathan Griffin
55c6244cda Bug 1240825 - Add an asserts statement for a crashtest on e10s, a=test-only 2016-02-01 14:46:21 -08:00
Jim Chen
6c833a3654 Bug 1243070 - Remove obsolete size-change code; r=snorp
Remove obsolete SIZE_CHANGED event and its handler in nsWindow. Also
remove some other supporting code (such as gAndroidBounds and the
FORCED_RESIZE event) that should be unnecessary by now.
2016-02-01 17:38:14 -05:00
Jim Chen
f25839a719 Bug 1243070 - Use native method to notify window size change; r=snorp
Convert the SIZE_CHANGED event to a native method in GLController, and
carry over the SIZE_CHANGED implementation to the new implementation in
GLController. Some other changes were made for correctness in handling
size changes.
2016-02-01 17:38:14 -05:00
Jim Chen
5e98c7369d Bug 1243069 - Control GeckoThread state entirely from C++ code; r=snorp
Right now, we rely on browser.js sending Gecko:Ready, to set the
GeckoThread state to RUNNING upon receiving Gecko:Ready. This patch
gets rid of this dependency on browser.js and Gecko:Ready.
2016-02-01 17:38:14 -05:00
Jim Chen
5bffc62e04 Bug 1243049 - Update robocop tests to use new prefs API; r=gbrown
Change old robocop prefs API to the new API and add helper classes for
getting prefs. Also switch all tests that use prefs to use the new API.
2016-02-01 17:38:14 -05:00
Jim Chen
d9e0ce33d2 Bug 1243049 - Use PrefHelper.addObserver; r=snorp
Use the new PrefHelper.addObserver method for adding pref observers.
2016-02-01 17:38:14 -05:00
Jim Chen
15812cbffb Bug 1243049 - Convert browser.js prefs code to use observer; r=margaret
Convert the old prefs code in browser.js to use observer notifications
that are sent by the new PrefsHelper implementation, in order to handle
pseudo-prefs.
2016-02-01 17:38:14 -05:00
Jim Chen
2b4561b520 Bug 1243049 - Implement new PrefsHelper native methods; r=snorp
Implement the PrefsHelper native methods. The previous browser.js
implementation supported "pseudo-prefs" that did not exist as actual
prefs, but was accessible through PrefsHelper. In order to accommodate
these pseudo-prefs, we send observer notifications in order to
communicate with browser.js about prefs that we don't support.
2016-02-01 17:38:13 -05:00
Jim Chen
4bf5d00b79 Bug 1243049 - Update native bindings for PrefsHelper; r=me
Update auto-generated native bindings for PrefsHelper.
2016-02-01 17:38:13 -05:00
Jim Chen
136d51ee53 Bug 1243049 - Introduce new PrefsHelper implementation; r=snorp
Introduce a new implementation for PrefsHelper that does not use events
or rely on browser.js for getting and/or setting prefs. Also add an
addObserver method to better match the removeObserver method.
2016-02-01 17:38:13 -05:00
Kyle Machulis
79de278a25 Bug 1164427 - Add w-p-t for elementFromPoint/elementsFromPoint on div with negative margins; r=roc 2016-02-01 14:33:51 -08:00
Kyle Machulis
739327e165 Bug 1164427 - Implement elementsFromPoint; r=roc r=khuey 2016-02-01 14:33:51 -08:00
Alexander Surkov
08db3d66c1 Bug 1220502 - ignore not visible text nodes for tree update, r=tbsaunde, roc 2016-02-01 17:05:45 -05:00
Daniel Holbert
870d8a05e3 Bug 1244166: Don't ignore stroke/fill properties in high-contrast mode, since doing so can produce icons that are invisible or whose colors are unrelated to the user's chosen high-contrast colors. r=longsonr 2016-02-01 11:23:09 -08:00
Anthony Zhang
0571a2708a Bug 1242777 - Expose child process hang stats to Javascript. r=chutten
What it does:

Adds a new function, TelemetrySession.getChildThreadHangs(), which returns a promise resolving to an array of threadHangStats [1], one per process.

Note that processes that spawn or die while the function's promise is created but not resolved may be excluded from the final result.

How we do this:

1. Parent sends a MESSAGE_TELEMETRY_GET_CHILD_PAYLOAD message to each child, promising the results of these messages.
2. Child processes respond to parent with a MESSAGE_TELEMETRY_THREAD_HANGS, which contains BHR stats in the payload.
3. Parent combines all the child responses together and resolves the promise.

Plus a bunch of synchronization stuff and handling of edge cases since the number of child processes can change at any time.

Also, there is a 200ms timeout since we can't handle all of these cases. Specifically, when a child dies without responding, after all other child processes have responded.

Why we do this:

* We can technically get thread hang stats by retrieving Telemetry pings (see requestChildPayloads() in TelemetrySession for details), but this is very slow and can only be done for one process at a time.
* TelemetrySession is responsible for various Telemetry IPC-related tasks, and so is a natural place to expose this function (i.e., the function blends in well with the rest of the API).
* Statuser [2] uses this for quickly obtaining child process BHR stats. This allows us to get realtime hang monitoring for child processes.

[1]: https://dxr.mozilla.org/mozilla-central/source/toolkit/components/telemetry/nsITelemetry.idl#146
[2]: https://github.com/chutten/statuser
2016-01-28 13:52:07 -05:00
Sebastian Kaspari
8f32e669b3 Bug 1244748 - Remove unused network_offline.png. r=mfinkle
--HG--
extra : commitid : 8gqfn9IaGZh
extra : rebase_source : e43034a49ce201f4e431f59792bcb33974b98b2d
extra : amend_source : 58d5c9a20f7866c47b6e198a1f6025c52f80738e
2016-02-01 17:08:37 +01:00
Alexandre Poirot
f5b555aa12 Bug 1003860 - Various tweaks to the storage inspector. r=mratcliffe 2016-02-02 01:31:34 -08:00
Alexandre Poirot
c76ac377aa Bug 1003860 - Service worker cache for storage actor. r=mratcliffe 2016-02-02 01:31:34 -08:00
Alexandre Poirot
16541e0421 Bug 1003860 - Simplify storage setup tasks in storage inspector tests. r=mratcliffe 2016-02-02 01:31:33 -08:00
Patrick Brosset
d3313fce23 Bug 1243749 - Enable 2 rule-view test with e10s and fix unhandled rejected promises; r=miker
--HG--
extra : commitid : IdcJNcbTgsY
extra : rebase_source : 5cb0f048674e014ecb422a37e97357903871101c
2016-01-28 16:19:01 +01:00
Patrick Brosset
f71bb0acdf Bug 1243736 - Enable browser_rules_pseudo-element_02.js with e10s and make rule-view wait for updateSourceLink; r=bgrins
--HG--
extra : commitid : JUk0uShjEZt
extra : rebase_source : eb5893e39f851575ed8101a4cf6a17e72edbed28
2016-02-02 09:56:48 +01:00
Mark Hammond
8407fc7107 Bug 1237941 - change the limit of synced tabs shown from 15 to 50. r=Gijs 2016-02-02 18:30:11 +11:00
Joel Maher
755a62555d Bug 1243758 - Add --browser-chrome and --chunk-by-runtime flags to browser-chrome-coverage test. r=chmanchester 2016-01-27 09:31:25 -08:00