Commit Graph

278875 Commits

Author SHA1 Message Date
Andrea Marchesini
91b558119d Bug 1187157 - new FormData::get() should return an empty string if the file is not set - part 1, r=smaug 2016-01-07 09:54:00 +00:00
Nicholas Nethercote
7e5f691c94 Bug 1237457 - Partially Moz2Dify nsDisplayGeneric. r=roc. 2015-12-03 19:16:59 -08:00
Nicholas Nethercote
53cc3e107f Bug 1237448 - Moz2Dify two functions in gfxSurfaceDrawable. r=roc. 2016-01-06 18:26:33 -08:00
Jan de Mooij
9a20d30d18 Bug 1236523 part 3 - Templatize Shape::search and ShapeTable::search. r=bhackett 2016-01-07 10:18:06 +01:00
Jan de Mooij
9e7125aff7 Bug 1236523 part 2 - Cache isBigEnoughForAShapeTable on the Shape. r=bhackett 2016-01-07 10:17:32 +01:00
Jan de Mooij
69e0138f42 Bug 1236523 part 1 - Remove Shape NON_NATIVE flag. r=bhackett 2016-01-07 10:16:46 +01:00
Tooru Fujisawa
d74514b98a Bug 1207922 - Part 3: Add masm.branchLatin1String and masm.branchTwoByteString. r=h4writer 2016-01-07 16:50:55 +09:00
Tooru Fujisawa
611f45b2a4 Bug 1207922 - Part 2: Propagate OOM thrown from stub generation. r=till 2016-01-07 16:50:55 +09:00
Tooru Fujisawa
09be7a7c79 Bug 1207922 - Part 1: Self-host RegExp.prototype.{exec,test}. r=till,h4writer 2015-09-24 18:28:37 +09:00
Tooru Fujisawa
4e6ac386dd Bug 1234880 - Part 2: Remove ObservableObject. r=jryans 2016-01-07 16:50:53 +09:00
Tooru Fujisawa
e4fd9dea28 Bug 1234880 - Part 1: Stop using ObservableObject in app-projects. r=jryans 2016-01-07 16:50:53 +09:00
dimi
b58b81cc46 Bug 1205288 - implement and test fetch spec changes for blob scheme with non-GET method. r=bkelly 2016-01-06 17:13:19 +08:00
Nigel Babu
83776dce20 Backed out changeset 509a6dd8d1c5 (bug 1121937) for jsreftest bustage 2016-01-07 12:38:24 +05:30
Nigel Babu
4242a56ec3 Backed out changeset 4ad4623f3840 (bug 1237458) for build bustage ON A CLOSED TREE 2016-01-07 11:51:34 +05:30
Nigel Babu
32135bde2e Backed out changeset fc20ecea0409 (bug 1225425) for failing its own tests 2016-01-07 11:51:05 +05:30
Bill McCloskey
fb9c6f23ec Bug 1237458 - Use release assertions in IPC (r=jld) 2016-01-06 21:53:58 -08:00
Morgan Phillips
002eb344dd Bug 1121937 - Implement %TypedArray%.prototype.sort; r=jorendorff 2016-01-06 20:55:23 -06:00
Jean-Yves Avenard
2e53a982ee Bug 1237471. Fix VS2015 compilation. rpending=glandium 2016-01-07 16:08:35 +11:00
John Daggett
0c42e71e4e Bug 1157064 - reftests for font-display. r=m_kato 2016-01-07 14:03:12 +09:00
John Daggett
730505b53a Bug 1157064 - implementation of font-display. r=heycam,khuey 2016-01-07 14:03:05 +09:00
John Daggett
6089fa9103 Bug 1157064 - font-display descriptor parsing. r=dbaron 2016-01-07 14:02:58 +09:00
Matthew Gregan
802bae01a0 Bug 1236977 - Default initialize IMMDevice temporary to avoid potential garbage CloseHandle on error. r=padenot 2016-01-07 17:53:55 +13:00
Hiroyuki Ikezoe
f4c6bfdc79 Bug 1212720 - Part 4: Remove all cancelAllAnimationsOnEnd. It is not needed any more. r=bbirtles 2015-12-22 00:50:00 -05:00
Hiroyuki Ikezoe
d862a0adb1 Bug 1212720 - Part 3: Remove AnimationTimeline.getAnimations. r=heycam, r=smaug 2015-12-21 20:39:00 -05:00
Hiroyuki Ikezoe
1c8eed32e2 Bug 1212720 - Part 2: Tests for document.getAnimations. r=heycam 2016-01-06 14:22:00 -05:00
Hiroyuki Ikezoe
9accaf0339 Bug 1212720 - Part 1: Implement Document.getAnimations(). r=heycam, r=smaug 2016-01-06 14:21:00 -05:00
Chris H-C
6b4b838848 Bug 1235821 - Don't track mouseleave when capturing mouse. r=jimm
Since, in Windows, the tabbar overlays the "nonclient" area, TrackMouseEvent
will report a WM_MOUSELEAVE when you move your mouse when dragging a tab.

So, suspend mouseleave tracking when capturing and resume when we end capture.

A nice effect of TrackMouseEvent is that it'll immediately post a WM_MOUSELEAVE
if called when the mouse is outside the client area, so when capture ends, we
are either over the client area and tracking resumes or we aren't and we get
an immediate WM_MOUSELEAVE.
2016-01-06 10:48:00 -05:00
Alastor Wu
bffc0ea135 Bug 1223297 - Add multiple audio channel test. r=baku 2015-11-18 10:01:14 +08:00
Matt Howell
c8b534e9bf Bug 1120124 - Prevent 64-bit builds from installing over 32-bit ones (or vice-versa) by default. r=rstrong 2016-01-05 14:31:27 -08:00
Alastor Wu
241691c70d Bug 1225425 - [Testcase] Do not unregister the AudioChannelAgent during seeking. r=baku 2016-01-07 01:21:05 +08:00
Jeff Muizelaar
af079e4ea0 Bug 1228641. Add a polyfill of std::initializer_list. r=froydnj 2016-01-06 22:06:35 -05:00
Timothy Nikkel
b0b7c1be98 Bug 1237086. When getting the displayport for a content node if there is no root scroll frame just use the primary frame of the content node. r=botond
XUL documents don't have a root scroll frame, so this would early return and prevent any of the tiling and max texture size code from running.

The root element of XUL documents likely only ever has zero-margin displayports, and they are not scrollable, so it may not be important.
2016-01-06 20:51:01 -06:00
Jim Chen
17cdf6a53d Bug 1236654 - Properly shut down GLController on nsWindow closing; r=snorp
When nsWindow closes, notify GLController to shut down. To ensure any
pending calls on the UI thread are processed first, post a Runnable to
the UI thread that disposes the GLController on the UI thread.
2016-01-06 21:33:18 -05:00
Jim Chen
e2aca4db00 Bug 1236643 - Reorder GeckoEditable destruction sequence; r=esawin
To guarantee that GeckoInputConnection and GeckoEditable are not used by
GeckoView after GeckoEditable has been destroyed, we need to make sure a
certain sequence is followed. We should first unset the
InputConnectionListener in GeckoView on the UI thread; then unset the
GeckoEditableListener on the IC thread; and finally finish destroying
the GeckoEditable instance through disposeNative. This patch merges this
logic with the initialization logic in GeckoEditable.onViewChange, so
that onViewChange can be used for both initialization and destruction.
2016-01-06 21:33:18 -05:00
Jim Chen
f08f58023b Bug 1236643 - Let GeckoInputConnection keep its view; r=esawin
Right now GeckoInputConnection uses GeckoAppShell to get its view, but
it should be keeping its own View reference to support multiple
GeckoViews.
2016-01-06 21:33:18 -05:00
Jim Chen
9169e5b31b Bug 1236640 - Make selection change part of the IME change transaction; r=esawin
We notify IME text changes in transactions. We should make selection
change notification part of that transaction.
2016-01-06 21:33:18 -05:00
Jim Chen
2a5b99c668 Bug 1236705 - Correctly handle all text change scenarios; r=esawin
Handle all text change scenarios efficiently but correctly. In
particular, when we have a pending "replace text" action, make sure we
preserve old and new spans as much as we can, and make sure we merge the
text from the pending action with the actual changed text.
2016-01-06 21:33:18 -05:00
Jim Chen
c6427f7653 Bug 1236049 - Be smarter about which Context to use for opening Intent; r=sebastian
Use an Activity as the Context when we have one. This avoids the crash
and also avoids an ugly black flash when you cancel the intent chooser.
When we don't have an activity, use an application context and add the
new task flag.
2016-01-06 21:33:18 -05:00
Jim Chen
8ab9b775f0 Bug 1235246 - Configure GeckoLayerClient after GLController is initialized; r=snorp
LayerView used to call GeckoLayerClient.onGeckoReady directly if Gecko
is sufficiently loaded. However, onGeckoReady indirectly calls
GLController.createCompositor, and it's possible for the
createCompositor event to be prioritized so that it happens before we
initialize GLController, causing a crash. This patch moves the
onGeckoReady call to the Gecko thread, after GLController is
initialized, to avoid this race condition.
2016-01-06 21:33:18 -05:00
Jim Chen
8b313ba329 Bug 1235246 - Only prioritize compositor events in GLController; r=snorp
Only three GLController events -- CreateCompositor, PauseCompositor, and
OnResumedCompositor should be prioritized through GLControllerEvent. The
other GLController events should follow the normal event queue ordering
to prevent race conditions.
2016-01-06 21:33:17 -05:00
Jim Chen
79d67bd049 Bug 1235246 - Always execute a queued call if it's overdue; r=me
GeckoThread.queueNativeCallLocked tries to execute a queued native call
if it's already overdue, but it incorrectly checked that the queue is
not empty. That check is not necessary, and an overdue native call
should always be executed. One-line patch, r=me.
2016-01-06 21:33:17 -05:00
Kartikaya Gupta
36bf103636 Bug 1219352 - Pack the FrameMetrics booleans. r=botond 2016-01-06 20:50:01 -05:00
Kartikaya Gupta
9382f48fdf Bug 1219352 - Rearrange fields in FrameMetrics. r=botond
This patch:
- Maintains a consistent ordering between the lists of fields in the
  FrameMetrics constructor, operator==, IPC read/write functions, and the
  actual order of fields in FrameMetrics. As part of this, missing default
  initializers are added to the FrameMetrics constructor, and fields omitted
  from the operator== are explicitly noted.
- Moves all the boolean values to the end of the set of field (for better
  packing).
- Moves the scroll id and parent scroll id to the front of the list, so that
  the operator== can fail faster in the common case.
2016-01-06 20:50:01 -05:00
Kartikaya Gupta
217d85f975 Bug 1219352 - Update a couple of bool-setters to take a bool argument. r=botond 2016-01-06 20:50:01 -05:00
JW Wang
512004fc5b Bug 1237174 - Remove the unnecessary code since mState won't change in the case of DECODER_STATE_COMPLETED. r=bechen. 2016-01-06 18:18:13 +08:00
JW Wang
554b4b7a1b Bug 1234424. Part 2 - remove unused code. r=roc. 2016-01-05 21:15:43 +08:00
JW Wang
b60a4316a7 Bug 1234424. Part 1 - share the underlying value of MDSM::mSameOriginMedia with DecodedStream. r=roc. 2016-01-05 21:15:37 +08:00
Daniel Holbert
135725019e Bug 1236506: Add support for "-webkit-filter" as an alias for CSS property "filter". r=heycam 2016-01-06 16:35:33 -08:00
Blake Kaplan
a0b34c8dfb Bug 1237146 - Enable this now-passing test. r=billm 2016-01-06 16:19:07 -08:00
Shu-yu Guo
f2f1b10394 Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00