Commit Graph

477527 Commits

Author SHA1 Message Date
Jan de Mooij
455fb1c7be Bug 1274922 part 6 - Rewrite the shell's error reporting to handle exceptions in the embedding. r=jorendorff 2016-05-31 08:07:00 +02:00
Jan de Mooij
847b10eeb0 Bug 1274922 part 5 - Remove JSEXN_NONE and add JSEXN_WARN. r=jorendorff 2016-05-31 08:07:00 +02:00
Jan de Mooij
1543ead04a Bug 1274922 part 4 - Fix a werror test to ignore the asm.js warning. r=jorendorff 2016-05-31 08:07:00 +02:00
Jan de Mooij
7091b0ff82 Bug 1274922 part 3 - Fix CompileError::throwError to not call the error reporter if autoJSAPIOwnsErrorReporting. r=jorendorff 2016-05-31 08:07:00 +02:00
Carsten "Tomcat" Book
6f2926b4e4 Backed out changeset ca182106b9e6 (bug 1264815) for bustage 2016-05-31 07:05:17 +02:00
Carsten "Tomcat" Book
c7da954a5b Backed out changeset 8f6cc2d22ba7 (bug 1264815) 2016-05-31 07:05:04 +02:00
Carsten "Tomcat" Book
b9d56141c9 Backed out changeset 9bcbe80a4a7a (bug 1264815) 2016-05-31 07:05:02 +02:00
Carsten "Tomcat" Book
a52403d289 Backed out changeset 20d0b05e708b (bug 1264815) 2016-05-31 07:05:01 +02:00
Carsten "Tomcat" Book
62db018fa7 Backed out changeset d049a47c24c1 (bug 1264815) 2016-05-31 07:05:00 +02:00
Chris Pearce
179b352a2a Bug 1270686 - Blacklist more ATI drivers for D3D11 DXVA2. r=kentuckyfriedtakahe
MozReview-Commit-ID: KClulNTU2rO

--HG--
extra : rebase_source : f9b8d8a7420ad2f677ea7506a2c957553df9cd0d
2016-05-31 14:04:40 +12:00
Tim Taubert
2ed19fb31d Bug 1275415 - Use Ci.nsICookieService.ACCEPT_SESSION instead of Services.cookies.ACCEPT_SESSION in SessionSaver.jsm r=mikedeboer 2016-05-30 07:49:29 +02:00
Jarda Snajdr
a8fa0feb87 Bug 1269765 - Notify http-on-opening-request in content process. r=valentin 2016-05-30 01:24:00 +02:00
Honza Bambas
85e6362a96 Bug 1274585 - Push HTTP cache index build when asked for disk cache size, r=michal 2016-05-30 04:48:00 +02:00
Marcos Caceres
095622d6de Bug 1265279 - Web Manifest: Implement window.oninstall. r=baku
* Add tests for window.oninstall
* Teach manifestMessages how to fire install event
* Test that the install event fired from Parent process
2016-05-30 18:52:00 +02:00
Kershaw Chang
17aef34672 Bug 1258600 - Part3: Modify tests, r=smaug 2016-05-30 08:48:00 +02:00
Kershaw Chang
7649e6aa87 Bug 1258600 - Part2: Implement onconnect, onclose and onterminate event handlers, r=smaug 2016-05-30 08:48:00 +02:00
Kershaw Chang
280397cf5c Bug 1258600 - Part1: Add PresentationConnectionClosedEvent, r=smaug 2016-05-30 08:47:00 +02:00
Matthew Wein
cf57bff1c2 Bug 1271777 - Fix the 'MacCtr' typo in the commands API. r=kmag
MozReview-Commit-ID: 2pVcqpfSRKT

--HG--
extra : transplant_source : %23C%FB%E63%CE%24A%21%95%DA%CE%09%17o%90%00%17%E3%A2
2016-05-25 16:58:43 -07:00
danhuang1202
a4be4050b9 Bug 1272677 - Hide content width setting and line-height setting buttons in android's reader mode control panel. r=Margaret
MozReview-Commit-ID: 4AnnPTcvqzg

--HG--
extra : transplant_source : %EFf%CC%F2%99%C4%DF%26Q%BBj%CE%8A%B7py%BA%18%C3%A8
2016-05-27 17:39:48 +08:00
Stephanie Ouillon
fc06857f8e Bug 1247459 - Meta and header CSP are merged without a semicolon. r=ckerschb 2016-05-17 15:34:53 +02:00
Kilik Kuo
77b4de2b31 Bug 1228601 - [Part3] Add reftest to check rotation by <video> and capture the result after playback ended; r=mattwoodrow
MozReview-Commit-ID: GIMugecn0f0

--HG--
extra : transplant_source : P%0F%E4S5%A54k%A7%93N%C2Z%BC%F0O%B4%DB%EE%9F
2016-05-30 11:00:23 +08:00
SUN Haitao
f2ea042b72 Bug 1264815 - Add a component to handle 'persisent-notification-click'. r=kcambridge 2016-05-12 09:28:46 +08:00
Kilik Kuo
50e65bce86 Bug 1228601 - [Part2] Swap width,height if necessary and apply rotation matrix while building layer.; r=mattwoodrow
MozReview-Commit-ID: Jlh6oRa32fj

--HG--
extra : transplant_source : %7Ed%14%5Ea%01T%16%90R%0Auj%E6I%8D%EDR%EE%BC
2016-05-12 01:54:52 +08:00
Kilik Kuo
002f32571d Bug 1228601 - [Part1] Store only supported video rotation informatin into VideoInfo.; r=mattwoodrow
MozReview-Commit-ID: GF1PpJGkGyA

--HG--
extra : transplant_source : %A9%B2%94%EEb%B3%8B%B9P%AAj%25%9B%18t%22NV%0C%1C
2016-05-13 02:17:39 +08:00
JerryShih
d2c1100510 Bug 1187466 - check compositor status in TextureHost::lock(). r=dvander
If the compositor is a nullptr during lock() call, it means that the
compositor is not compatible with current textureHost. So return false
in lock().
2016-05-28 10:38:00 +02:00
Alfredo Yang
68adb6b579 Bug 1068151 - keep decoding a corrupted video. r=jya 2016-05-30 18:24:00 +02:00
Mantaroh Yoshinaga
714d7d715a Bug 1178662 part 7 - Remove relationship of timeline and animation when setting new timeline. r=birtles
If we run following code, content process will crash.
------
anim1.timeline = timeline;
anim2.timeline = document.timeline;
anim2.timeline = timeline;
------

The AnimationTimeline has LinkedList variant. (called mAnimationOrder) And Animation is sub-class of LinkedListElement.
We will create the relationship of AnimationTimeline and Animation when calling the AnimationTimeline::NotifyAnimationUpdated. However we didn't remove these relation ship when setting new timeline.
So we should remove these relationship when setting new timeline object.

MozReview-Commit-ID: RDyranduTA

--HG--
extra : rebase_source : 1f080ad80f258162e94f80470a7464e2a9bb033b
2016-05-31 09:42:38 +09:00
Mantaroh Yoshinaga
fcb2a1a123 Bug 1178662 part 6 - Remove the Animation's w-p-f meta file associated setting the timeline. r=birtles
MozReview-Commit-ID: Gfmr6PSwufM

--HG--
extra : rebase_source : 9cc8f4dc8bcc5653c4fe039ef4769adf78c7526e
2016-05-31 09:42:38 +09:00
Mantaroh Yoshinaga
d8e36f6df5 Bug 1178662 part 5 - Modify the attribute of Animation's WebIDL in order to conform web animation spec. r=smaug
The specification of Animation interface is as follow.
https://w3c.github.io/web-animations/#the-animation-interface

MozReview-Commit-ID: O4NkFZuG39

--HG--
extra : rebase_source : 2102bd80167f3dbfe92969dc1bf371fcd6be4570
2016-05-31 09:42:38 +09:00
Mantaroh Yoshinaga
1ef08e6b64 Bug 1178662 part 4 - Implement the setting timeline procedure. r=birtles
This is implementation of 'Setting the timeline of an animation'.[1]

[1] https://w3c.github.io/web-animations/#setting-the-timeline

MozReview-Commit-ID: A5YMXhkxHjr

--HG--
extra : rebase_source : 73e4fdc9ee98bf756267a05a2336a2c51517cf34
2016-05-31 09:42:37 +09:00
Mantaroh Yoshinaga
dc5df46a62 Bug 1178662 part 3 - Separate SetTimeline function in order to call from style. r=birtles
MozReview-Commit-ID: 9KbsbPuAMW7

--HG--
extra : rebase_source : 873b35cf4dccc4d7fd604894dd2b97ad40b8a1fa
2016-05-31 09:42:37 +09:00
Mantaroh Yoshinaga
9bd12e4b64 Bug 1178662 part 2 - Rename *NoUpdate function in Animation. r=birtles
MozReview-Commit-ID: 6P8pze62IYq

--HG--
extra : rebase_source : 16c1e3cf0fcbf93a46b05ea83ad7af40bdcf5741
2016-05-31 09:42:37 +09:00
JW Wang
330fa8cab9 Bug 1276569. Part 4 - remove mStartTime. r=kinetik.
MozReview-Commit-ID: EbTqf4nY8NR

--HG--
extra : rebase_source : d7bd2f5fe21e45e53d252950bcd9ebbcaff1a5cd
2016-05-30 16:38:37 +08:00
JW Wang
f86775fb24 Bug 1276569. Part 3 - replace use of MOZ_LOG with LOG. r=kinetik.
MozReview-Commit-ID: BbVtPIgxPSU

--HG--
extra : rebase_source : f160904cb14800d5b9123b0e421a2ae8836556c5
2016-05-30 16:08:50 +08:00
JW Wang
9b3b5f90d2 Bug 1276569. Part 2 - merge StartUnlocked() with Start() r=kinetik.
MozReview-Commit-ID: DuEXdkvt7je

--HG--
extra : rebase_source : c8fb5f479ba61f9763b64cc0a90a1c29ff8e0e0d
2016-05-30 16:05:30 +08:00
JW Wang
01902c9e8e Bug 1276569. Part 1 - remove null checks. r=kinetik.
MozReview-Commit-ID: IpX4B2GTr9k

--HG--
extra : rebase_source : 806b4eff3b6e43964bb6fd8d9e7a735a6bcfa5e6
2016-05-30 16:05:28 +08:00
Alastor Wu
797bf55dc0 Bug 1276119 - part2: add test.
MozReview-Commit-ID: 4fRCzlJXK41
2016-05-31 10:17:53 +08:00
Alastor Wu
0c551581f9 Bug 1276119 - part1: don't call WindowSuspendChanged if the plugin is already muted.
MozReview-Commit-ID: 8HlmEAqd1n
2016-05-31 10:17:47 +08:00
Alastor Wu
5f8dade7d9 Bug 1010707 - don't adjust position when line-height is zero.
MozReview-Commit-ID: FhGWCtJVcdp
2016-05-31 10:15:31 +08:00
Dan Glastonbury
cda2a6f900 Bug 1276495: Don't reset audio promises for video only seek. r=jwwang,jya
ResetDecode was disconnecting mAudioDataRequest when seeking video
only. This means that, if a RequestAudioData() was outstanding,
mAudioDataRequest and MFR.mAudio.mHasPromise would become out-of-sync.

MozReview-Commit-ID: EaS5NERsxpt
2016-05-31 10:31:02 +10:00
Masayuki Nakano
a58a540708 Bug 1251063 PuppetWidget should cache InputContext which is set with SetInputContext() and use it in GetInputContext() only when it is the widget which has active input context in the process r=smaug
PuppetWidget::GetInputContext() needs to communicate with its parent process with synchronous IPC. This is very expensive for focus move.

Currently, IMEStateManager uses nsIWidget::GetInputContext() only for checking the IME enabled state.  Therefore, it's enough to cache input context when nsIWidget::SetInputContext() is called.  Then, we can avoid to communicate with synchronous IPC with PuppetWidget::GetInputContext() in most cases.

This patch makes IMEStateManager stores the last widget which sets input context.  When PuppetWidget uses its input context cache, it should check if it is the last widget to set input context with IMEStateManager since an input context may be shared with other widgets and another one may have update the input context.  I.e., PuppetWidget's input context cache may be already outdated after IMEStateManager sets input context with another widget.

This patch gives up to support retrieving IME open state from child process. However, perhaps, this is not necessary for everybody including add-on developers because the only user of IME open state in child process is nsIDOMWindowUtils. So, add-ons can send IME open state from chrome process instead.  If this decision is wrong, unfortunately, we should support it again in another bug.  It's easy to support with creating another nsIWidget::GetInputContext() or adding additional argument to it.

MozReview-Commit-ID: B2d2CCTsPKj

--HG--
extra : rebase_source : 4117330ba7871753176da960063b612e96f11752
2016-05-28 11:27:56 +09:00
Jonathan Watt
b9b22bef6c Bug 1276810 follow-up - Fix typo. r=me 2016-05-23 20:12:56 +01:00
Jonathan Watt
24a809a5f3 Bug 1276810 - Make gfxPlatform::ScreenReferenceDrawTarget() infallible. r=Bas 2016-05-23 20:12:10 +01:00
Gerald Squelart
52e7064618 Bug 1271593 - NS_NewRunnableFunction should forward its arg - r=froydnj
By perfect-forwarding its argument, we can automatically gain move semantics
optimization when storing the given function object into nsRunnableFunction.
Also it allows movable-only function objects.

MozReview-Commit-ID: 9EZK84ZhMvR

--HG--
extra : rebase_source : 9ec11f728d69d4b032d9ba4263241832030b383a
2016-05-10 18:13:14 +10:00
Sebastian Hengst
1b4ffa70c1 Backed out changeset 7b5c8958c61c (bug 1270962) for often failing browser_readerMode.js. r=backout 2016-06-01 00:37:33 +02:00
Jeff Gilbert
a8d3b4b1d9 Bug 1276405 - EXT_color_buffer_float should disable clearColor clamping. - r=jrmuizel 2016-05-27 18:55:13 -07:00
Randall Barker
92bf505262 Bug 1240065 - Throttle repaints when pinch zooming r=botond 2016-05-31 15:00:57 -07:00
Jeff Gilbert
f9b51c3c01 Bug 1276096 - Use existing can-I-read-from-this helper. - r=jrmuizel 2016-05-26 18:08:31 -07:00
Jeff Gilbert
42afe56497 Bug 1276096 - Forbid reads from backbuffer with readBuffer(NONE). - r=jrmuizel 2016-05-26 18:07:52 -07:00
Jeff Gilbert
3773a30362 Bug 1276096 - Introspect for readBuffer mode. - r=jrmuizel 2016-05-26 18:07:03 -07:00