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

533157 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher 5ddbffd2b7 Merge m-c to autoland, a=merge
MozReview-Commit-ID: EdAdRAuMmuz
2017-04-28 16:49:11 -07:00
Wes Kocher f1ae056d77 Merge inbound to central, a=merge
MozReview-Commit-ID: I6PDL3TWDB0
2017-04-28 16:35:05 -07:00
Wes Kocher f831128354 Merge autoland to central, a=merge
MozReview-Commit-ID: B7tVdcR40eh
2017-04-28 15:43:18 -07:00
Felipe Gomes 750b3f5764 Bug 1360354 - Do not qualify users of legacy addons (non-bootstrapped) for e10s-multi. r=krizsa
MozReview-Commit-ID: 28fFHdttVxl

--HG--
extra : rebase_source : 29126929fab3dccb219138ccc5985730e45d82ab
2017-04-28 14:08:30 -03:00
Wes Kocher 2e85784df7 Backed out changeset 0e3f9e184e6b (bug 1347543) for landing on the wrong tree a=backout
MozReview-Commit-ID: 33rhqi8g77s

--HG--
extra : rebase_source : a83a2ee1cdf5778fee3eeae289161600374b4c9a
2017-04-28 12:32:38 -07:00
David Keeler 1ef3597000 bug 1360623 - add hash algorithm constants to pykey for easier consumer use r=jcj
For signing, pykey.py delegates to 3rd party libraries. One of these libraries
expects hash algorithms to be specified in the form "SHA-256" whereas the other
expects "sha256". Consumers of pykey shouldn't need to be aware of this detail.
This patch introduces constants HASH_SHA1, HASH_SHA256, etc. and changes pykey
to determine which string literals to use itself.

MozReview-Commit-ID: 27laM2uXMwJ

--HG--
extra : rebase_source : 9b74f486f7535671fd26c59e3e9cc3b4459f15e0
2017-04-28 11:06:28 -07:00
Keith Yeung 7d8e567c4c servo: Merge #16588 - Fix fixed table layout column width distribution (from KiChjang:fix-fixed-table-layout-column-width); r=mbrubeck
Fixes #16324.

Replaces the incorrect [CSS3 "distributing excess width to columns" algorithm](https://drafts.csswg.org/css-tables-3/#distributing-width-to-columns) and implements the simpler [CSS2 fixed table layout algorithm](https://drafts.csswg.org/css2/tables.html#fixed-table-layout).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3a890b0a34931777f575cf512685200c23952608
2017-04-28 12:56:06 -05:00
Mike de Boer eac670041e Bug 1302470 Part 7: Properly check for a frame's visibility, do not abuse isRangeVisible() for that purpose. r=mikedeboer
MozReview-Commit-ID: ErviFQrJR1u

--HG--
extra : rebase_source : 5b4dc3f6df1df97f1bef6187ff5a9da4ab0b01cb
2017-04-28 19:06:35 +02:00
ffxbld 784ec1af14 No bug, Automated HPKP preload list update from host bld-linux64-spot-309 - a=hpkp-update 2017-04-28 07:52:40 -07:00
ffxbld ce8bde832b No bug, Automated HSTS preload list update from host bld-linux64-spot-309 - a=hsts-update 2017-04-28 07:52:37 -07:00
Henrik Skupin ea0737e52e Bug 1360466 - Only handle hashchange event for the current window. r=ato
Similar to the other unload and load events during a page load,
the hashchange event should only be handled if the event's target
document is the current window.

MozReview-Commit-ID: F1LMBh5Cy4A

--HG--
extra : rebase_source : 668fd6946067989e7e732b24baf6de2e85541f21
2017-04-28 14:16:59 +02:00
Henrik Skupin 5b9b18e398 Bug 1360466 - Use target instead of originalTarget in handleEvent. r=ato
originalTarget seems to be outdated and not used anymore for each
navigation related event. But target is, and as such handleEvent
has to make use of that instead.

MozReview-Commit-ID: AN2H1PbCt7A

--HG--
extra : rebase_source : fbead2b5b802454f0e288fb9696db5d422e46b50
2017-04-28 17:36:42 +02:00
Nihanth Subramanya b884e0d04c Bug 1347543 - Use SVGs instead of PNGs for toolbar button icons. r=dao
MozReview-Commit-ID: AdW6POOBeeh

--HG--
extra : rebase_source : 627395018a62b88f1a91d772984e43d257cdd35c
2017-04-28 21:47:07 +05:30
Alex Gaynor d426f037cd Bug 1360223 - Remove test about loading Java from file: origins because it's no longer relevant several times over. r=haik
This is a re-land of 9900d421e24e, which was backed out.

r=qdot,haik

MozReview-Commit-ID: FjugGCVWS8T

--HG--
extra : rebase_source : 7913a74a7bac9df09f8fc8e923384b5ac2569400
2017-04-28 12:14:22 -04:00
Carsten "Tomcat" Book 37250338b7 Merge mozilla-central to mozilla-inbound 2017-04-28 13:44:44 +02:00
Kartikaya Gupta e8c09ecd2c Bug 1351548 - Follow-up to fix incorrect changes in cset 46fc8d459483. r=me a=Tomcat
Some reftest lines got fails-if(webrender) added, it appears accidentally.

MozReview-Commit-ID: HwGE8I8IuU9
2017-04-28 07:42:05 -04:00
Masayuki Nakano 78a637e5f7 Bug 1359547 EventStateManager should grab IMEContentObserver with local variable before calling HandleQueryContentEvent() r=smaug 2017-04-28 20:09:55 +09:00
Cameron McCormack b05668f09b Bug 1341102 - stylo test expectation adjustments. r=me a=merge (CLOSED TREE)
MozReview-Commit-ID: FhM4y855OYU

--HG--
extra : amend_source : 74196a9e40f3d1cb334557b9ec4e929c379a8904
2017-04-28 19:11:32 +08:00
Cameron McCormack 76e022564c Bug 1341102 - stylo test expectation adjustments. r=me a=merge
MozReview-Commit-ID: FFQZxMYSbG5
2017-04-28 19:08:43 +08:00
Jon Coppeard 8711eef9cd Bug 1359252 - Add pre-write barrier for JIT writes to NativeIterator::obj r=jandem 2017-04-28 12:05:30 +01:00
Tim Nguyen b0b2e0f703 Bug 1356869 - Update Set cookies header string comment. r=flod
MozReview-Commit-ID: AXIqTY1XLJO
2017-04-28 12:02:25 +01:00
Cameron McCormack c87ba42879 Bug 1341102 - stylo test expectation adjustments. r=me a=merge
MozReview-Commit-ID: El00SHzLI4c

--HG--
extra : amend_source : 9591db39eb50efbf7c72364fe13092b10aa6e4ea
2017-04-28 16:40:15 +08:00
Carsten "Tomcat" Book 1045b9730a merge mozilla-inbound to mozilla-central a=merge 2017-04-28 10:36:11 +02:00
Cameron McCormack 604964272c Bug 1341102 - stylo test expectation adjustments. r=me 2017-04-28 14:09:42 +08:00
Shing Lyu d1cd3855d6 Bug 1351548 - Update stylo reftest expectations. r=me
MozReview-Commit-ID: GubFo2mBj8Z
2017-04-28 12:54:03 +08:00
Ehsan Akhgari 2ba38555ad Bug 1357107 follow-up: replace some run-away tab characters
DONTBUILD
2017-04-28 00:30:14 -04:00
Ehsan Akhgari 77c21859d4 Bug 1357107 - Part 2: Remove nsContentBlocker; r=bzbarsky 2017-04-28 00:13:23 -04:00
Ehsan Akhgari 1bf467365d Bug 1357107 - Part 1: Move the handling of the permissions.default.image pref to imgLoader.cpp; r=bzbarsky 2017-04-28 00:13:23 -04:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu 16402be633 Bug 1351548 - Switch from reftest-stylo.list to reftest.list on linux64-stylo. r=bholley
MozReview-Commit-ID: As1Bvg8qFKb
2017-04-28 11:15:54 +08:00
Shing Lyu 435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Shing Lyu 05ac48b1a2 Bug 1344132 - Make reftest run stylo-vs-gecko test without special reftest.list. r=heycam
MozReview-Commit-ID: 7gBGd5wzGbL
2017-04-28 11:15:45 +08:00
Iris Hsiao 5822a99946 Backed out changeset f7685ecd789d (bug 1350634) for marionette crashes 2017-04-28 10:43:34 +08:00
Jim Chen 7c13eebba6 Bug 1353799 - 4. Add composition event tests to testInputConnection; r=esawin
Add two tests to testInputConnection that record the sequence of
composition events during editing, and check that the sequence is what
we expected.

The first test makes sure that we reuse the current composition on the
Gecko side when setting composing text; otherwise the Facebook comment
box behaves incorrectly.

The second test makes sure that we can move the cursor inside the
current composition, to fix this particular bug.
2017-04-27 20:59:42 -04:00
Jim Chen 7c1bd4a073 Bug 1353799 - 3. Add types and timestamps in testInputConnection; r=esawin
* Include the type of the editor (input, textarea, contentEditable,
  designMode) in BasicInputConnectionTest, so we can work around the
  differences in behavior among the different editor types.

* Add timestamps to key events, because lack of timestamps was
  triggering a crash when running testInputConnection.
2017-04-27 20:59:42 -04:00
Jim Chen c3aa7c74d4 Bug 1353799 - 2. Update current composition when setting/removing spans; r=esawin
Update the composition when setting/removing spans, so that we update
the selection/cursor during a composition. However, we must limit any
updating to the current composition only (as indicated by the
keep-current-composition flag), because the Facebook comment box behaves
incorrectly if we repeatedly start and end new compositions.
2017-04-27 20:59:42 -04:00
Jim Chen faae209c85 Bug 1353799 - 1. Make icMaybeSendComposition accept a flag parameter; r=esawin
Use a flag parameter instead of individual boolean parameters to make
it more convenient to add more options.
2017-04-27 20:59:42 -04:00
Wes Kocher 2c32bb6724 Backed out changeset 5c2e089e2163 (bug 1332444) for causing bug 1360402 a=backout
MozReview-Commit-ID: 6JCqiMZePxX
2017-04-27 17:37:00 -07:00
Timothy Nikkel 0b57ca9241 Bug 1354933. Add annotation if the view is for a printing document if the view has a frame in its destructor. r=mats 2017-04-27 17:50:00 -05:00
Bill McCloskey 7c672b4158 Bug 1359245 - Fix compiler error on CLOSED TREE
MozReview-Commit-ID: 57cVUcTV1Rv
2017-04-27 15:53:37 -07:00
Aaron Klotz 4841c23410 Bug 1360371: Backed out changesets c39e811e3a09 and d4e6fb6fb40a as they are no longer necessary; r=backout
MozReview-Commit-ID: 7QSHmDn828Y

--HG--
rename : browser/app/firefox.exe.64.manifest => browser/app/firefox.exe.manifest
rename : ipc/app/plugin-container.exe.64.manifest => ipc/app/plugin-container.exe.manifest
extra : rebase_source : efded7e1b6cb0cd5875ca53bdddae6e18eff7ce9
2017-04-27 16:27:45 -06:00
Bill McCloskey 34a4f034bb Bug 1359245 - Remove references to context from the cycle collector (r=mccr8)
MozReview-Commit-ID: 1QoNEiZMvBf
2017-04-27 15:34:46 -07:00
Bill McCloskey 9862d9c932 Bug 1359245 - Remove some tracing callbacks at shutdown (r=mccr8)
When we just had CycleCollectedJSContext (and no CycleCollectedJSRuntime) a
weird thing happened at shutdown:
1. We would call JS_DestroyContext from ~CycleCollectedJSContext. By that time,
   the ~XPCJSContext destructor had already finished.
2. Destroying the context runs a final GC. That GC would call back into various
   GC callbacks, such as TraceBlackJS and TraceGrayJS.
3. These callbacks would do a virtual method call:
   http://searchfox.org/mozilla-central/rev/876c7dd30586f9c6f9c99ef7444f2d73c7acfe7c/xpcom/base/CycleCollectedJSRuntime.cpp#791
4. Normally this method call would call into
   XPCContext::TraceNativeBlackRoots. However, C++ changes the vtable for an
   object during destruction. So we would only call CycleCollectedJSContext's
   version of TraceNativeBlackRoots, which is empty. So we never traced anything.

When I moved this code into the runtime, we actually do call into
XPCJSRuntime::TraceNativeBlackRoots at that time. So the behavior changed, and
that was causing crashes once I nulled out the TLS as you asked. So I removed
these callbacks for the last GC.

MozReview-Commit-ID: 3do13bjpwQj
2017-04-27 15:34:46 -07:00
Bill McCloskey 1d5c5ef48b Bug 1359245 - Keep a linked list of CycleCollectedJSContexts in the runtime (r=mccr8)
This patch keeps a list of all the cooperatively scheduled contexts that are
linked to a runtime. In places where we need to iterate over all contexts (for
GC, specifically), it iterates over the list.

MozReview-Commit-ID: 3pKJX78f2l0
2017-04-27 15:34:46 -07:00
Bill McCloskey 267ad1f2b0 Bug 1359245 - Initial support for cooperative contexts (r=mccr8)
This patch adds initial support for cooperatively scheduled
CycleCollectedJSContexts.

MozReview-Commit-ID: 5pfPubHUanL
2017-04-27 15:34:46 -07:00
Bill McCloskey ee9f642133 Bug 1359245 - Remove CycleCollectedJSRuntime::mJSContext (r=mccr8,sfink)
This patch eliminates a field where we assume that there is one
CycleCollectedJSContext per runtime.

MozReview-Commit-ID: 5cEL5Ml6Y9v
2017-04-27 15:34:46 -07:00
Bill McCloskey 11b1f07146 Bug 1359245 - Get rid of CycleCollectedJSRuntime::MainContext (r=mccr8)
This is another method that assumes one context per runtime. This patch
eliminates the method.

MozReview-Commit-ID: JHcQ1nyiHSP
2017-04-27 15:34:46 -07:00
Bill McCloskey 1e5747d0b4 Bug 1359245 - Eliminate nsXPConnect::mContext (r=mccr8)
This field assumes there is one XPCJSContext globally (i.e., per nsXPConnect
instance). This patch eliminates the field by using different paths to
reach the context.

MozReview-Commit-ID: FjR6cTZ5QfZ
2017-04-27 15:34:46 -07:00
Bill McCloskey 133ed14a85 Bug 1359245 - Eliminate some XPCJSContext::Get() usage (r=mccr8)
XPCJSContext::Get() now does a TLS lookup, which is a little more expensive
than looking up a global variable. This patch removes as many of the TLS
lookups as possible.

MozReview-Commit-ID: GsqzJn55Lya
2017-04-27 15:34:46 -07:00
Bill McCloskey 3e774f9f8a Bug 1359245 - Eliminate nsXPConnect::GetContextInstance() (r=mccr8)
This method assumes there is one global XPCJSContext. This patch eliminates
uses of it.

MozReview-Commit-ID: L2AkBGh5TnC
2017-04-27 15:34:46 -07:00