Commit Graph

480694 Commits

Author SHA1 Message Date
Jon Coppeard
6a5154d31f Bug 822081 - Allow barriers to fire while tracing the heap r=terrence a=abillings 2016-06-29 10:04:25 +01:00
Lars T Hansen
c5d9947c1a Bug 1277011 - Abstract asm.js loadHeap and storeHeap on ARM. r=nbp
--HG--
extra : rebase_source : e6b7b5d9ea0310e35f51bd3ae473eb34a9fcf311
extra : source : f228cee547d5a39d447d0cd24bce223628ee0828
2016-06-29 10:54:08 +02:00
Heiher
570bcc2702 Bug 1281997 - OdinMonkey: MIPS: Fix callWithPatch out of range. r=luke
---
 js/src/asmjs/WasmFrameIterator.cpp                  |  2 +-
 js/src/jit/mips-shared/Architecture-mips-shared.h   |  2 +-
 .../jit/mips-shared/MacroAssembler-mips-shared.cpp  | 21 +++++++++++++++++----
 3 files changed, 19 insertions(+), 6 deletions(-)
2016-06-29 16:05:52 +08:00
Xidorn Quan
8e36f5d113 Bug 1160847 part 4 - Remove useless lineOffset variable in nsBidiPresUtils::ResolveParagraph. r=jfkthame
MozReview-Commit-ID: 7YRIg9TmExp

--HG--
extra : source : 962291a39b4172f341f8e09ae001d5f5ce732740
2016-06-29 17:48:00 +10:00
Xidorn Quan
c353935ab6 Bug 1160847 part 3 - Restore virtual bidi control characters for reordering. r=jfkthame
This patch mainly consists of two parts, one for resolving and the other
for reordering.

In the resolving part, the added code stores the lowest embedding level
of all bidi formatting characters precede a frame to the bidi data of
that frame when necessary.

In the reordering part, virtual frame is restored from the information
stored above before asking the bidi engine to reorder frames

Collapsing a run of continuous virtual formatting characters into one
virtual character with the lowest embedding level among them should work
because a character with a higher embedding level than either of its
neighbors should not affect the reordering result of any other part of
the sequence. (No formal proof of this theorem, though)

MozReview-Commit-ID: LQjRu0mWsZP

--HG--
extra : source : 5d0cf1cbd270e9963d848a23b37528ed503ed6a0
2016-06-29 17:47:18 +10:00
Xidorn Quan
90c5357c7f Bug 1160847 part 2 - Add glue to nsBidiPresUtils to use support for bidi isolate in nsBidi. r=jfkthame
This patch is mainly based on smontagu's wip patch. Some non-trivial differences:

* BidiParagraphData.mIsolateCount and related code are not added in this patch.
  I investigated uses of this field in the wip patch, and it seems to me none of
  them makes sense:
  1. in the fast path of nsBidiPresUtils::ResolveParagraph, if there would be
     any isolate character in the surrounding text, there must exist more than
     one runs, which indicates the isolate count condition is redundant.
  2. in handle of br frame in nsBidiPresUtils::TraverseFrames, based on my
     understanding of "CSS Writing Modes Level 3" section "2.4.4. Paragraph
     Breaks Within Embeddings and Isolates", the resolving should happen
     unconditionally.

* {control,override}Char in nsBidiPresUtils::TraverseFrames are assigned
  unconditionally when in a bidi inline container, so that we can properly
  handle it when there are continuations. I suspect this was the reason of
  regressions in dynamic reftests from the wip patch mentioned in comment 1.

MozReview-Commit-ID: LUdBAapA48e

--HG--
extra : source : 28fa56b841de689691375e8e2d5e56014921b48e
2016-06-29 17:47:00 +10:00
Xidorn Quan
5049576d59 Bug 1160847 part 1 - Add some debug functions. r=jfkthame
MozReview-Commit-ID: GclW6OAx6e3

--HG--
extra : source : bb4417abb20926a452c9791962cddf1c715b5674
2016-06-29 17:46:42 +10:00
SUN Haitao
bacd8f992e Bug 1282222 - Make the PersistentNotificationHandler handle 'persistent-notification-close' ;r=kitcambridge
MozReview-Commit-ID: 4S4ijAQV2tG

--HG--
extra : transplant_source : %40%9F%F3%B0%9C%E8u%CB%CAv%2AN%144%97%D3%FD%C5nt
2016-06-25 23:58:03 +08:00
SUN Haitao
e4f71beba8 Bug 1282222 - Add a 'deleteIntent' parameter to the 'NotificationClient.add' method ;r=jchen
MozReview-Commit-ID: GOwCi2LkFTm

--HG--
extra : transplant_source : %20%5E%ABJ%3Ey%B7C%91%82%B8T%E2%A7%EF%1A8%EE%E3%9C
2016-06-25 23:17:50 +08:00
SUN Haitao
3f32818ede Bug 1282222 - Clean up 'NotificationClient.java' ;r=jchen
MozReview-Commit-ID: 141QdoXyWaf

--HG--
extra : transplant_source : %E8G%D7M%EFKu%8C%90%F3oGe%9BO%40%FA%F0%01P
2016-06-26 11:41:11 +08:00
Jaideep Bhoosreddy
2a13ca7bf5 Bug 1282470 - Add a -fullpage suffix to screenshots taken with --fullpage option; r=gl 2016-06-27 11:28:00 +02:00
anonym
91d0ac1119 Bug 1281959 - Add a pref hiding the "Open with" option. r=dolske
If browser.download.forbid_open_with is set to true (default: false)
the download dialog will not ever show the "Open with" option for
opening the file with an external application; only the "Save" and
"Cancel" options will be available.

This is very useful to enable when the browser is sandboxed (e.g. via
AppArmor) in such a way that it is forbidden to run external
applications, since users then are not presented with this choice
which will not work and only cause confusion.

See https://trac.torproject.org/17502
2016-06-28 14:23:00 +02:00
Jonathan Kingston
1a20c85c2d Bug 1281493 - Add another selector for identity popup main view as XBL bindings sometimes have a race condition. Removing surplus identity-popup-security-content selector. r=gijs
MozReview-Commit-ID: DxAX18vGXHN

--HG--
extra : transplant_source : %5C%84%F0%E3%FE%B5%05%11%23g9r%5B%0AG%E2%06%92%7E%7E
2016-06-28 14:18:02 +01:00
Jamie Nicol
f19a9e2f30 Bug 1263083 - Use single-tile layer when less than half the tile size in either dimension; r=mstange
MozReview-Commit-ID: 8yYXVl36AHK

--HG--
extra : transplant_source : %81%F9%DB%1D%F2%B9%A2vY%5D%04m%A0%1A%B7%EB%92%224P
2016-06-24 12:52:17 +01:00
malayaleecoder
69c18bd6cc Bug 1282398 - Fix all flake8 errors in testing/talos/talos. r=jmaher 2016-06-29 11:05:18 +05:30
Hiroyuki Ikezoe
5af8b8d434 Bug 1208411 - Delay vsync timestamps on the compositor to make async animations more sync. r=mchang,mstange
MozReview-Commit-ID: Aes0jyOnojn

--HG--
extra : rebase_source : cab3f69b4bb98065d44df7873a171784e1eb305f
2016-06-23 06:24:39 +09:00
Masayuki Nakano
ef2fb8753d Bug 1282669 Get rid of nsIMEUpdatePreference::DontNotifyChangesCausedByComposition() r=m_kato
I think that we can drop nsIMEUpdatePreference::DontNotifyChangesCausedByComposition(), i.e., nsIMEUpdatePreference::NOTIFY_CHANGES_CAUSED_BY_COMPOSITION because it's now used only by TSFTextStore but TSFTextStore ignores if SelectionChangeDataBase::mCausedByComposition or TextChangeDataBase::mCausedOnlyByComposition is true (for supporting async changes in e10s mode).  So, only issue is, dropping the flag might cause increasing computing TextChangeData cost during composition in TSF mode.  However, now, it's already enough fast and even if it'd cause performance regression, we could add a hack with TextComposition's offset information.  Therefore, we don't need to worry about the performance regression so seriously.

MozReview-Commit-ID: HNT3G4isONj

--HG--
extra : rebase_source : 164231023aa2a17ceab94d92fb49ba0a00dab429
2016-06-28 16:51:59 +09:00
Masayuki Nakano
e1d8dafcd9 Bug 1282668 Get rid of nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE r=m_kato
Currently, all widgets request selection change notifications to IMEContentObserver.  Additionally, IMEContentObserver needs to listen selection changes for caching latest selection for eQuerySelectedText.  Therefore, it doesn't make sense to keep defining nsIMEUpdatePreference::NOTIFY_SELECTION_CHANGE.

If widgets didn't need selection change notifications, they could just ignore the unnecessary notifications.

Note that all widgets don't need selection change notifications if a plugin has focus and IMEContentObserver cannot observe selection changes in the plugin.  Therefore, if IMEContentObserver is initialized with a plugin, it shouldn't listen selection changes (and doesn't need to notify widgets of selection changes).

MozReview-Commit-ID: FOVFFgA2nOz

--HG--
extra : rebase_source : 3e16d5023835f99f82934e754d2e7db70474f9ee
2016-06-28 15:23:12 +09:00
Anjana Vakil
be5e80f3c6 Bug 1282755 - Fix --binary warning for mach marionette-test; r=maja_zf
Only warn the user if they have provided a --binary argument,
i.e. if kwargs['binary'] is not None.

MozReview-Commit-ID: EOg9BcH5XJk

--HG--
extra : rebase_source : c8e19baae7d0959c27062d1ec92c59d4bd14b144
2016-06-28 13:44:30 +02:00
Mantaroh Yoshinaga
00c637d231 Bug 1267510 part 8 - Move animation's w-p-f tests to correct directories. r=birtles
MozReview-Commit-ID: 2alFixqDfNK

--HG--
rename : testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/idlharness.html => testing/web-platform/tests/web-animations/interfaces/DocumentTimeline/idlharness.html
rename : testing/web-platform/tests/web-animations/interfaces/AnimationTimeline/document-timeline.html => testing/web-platform/tests/web-animations/timing-model/timelines/default-document-timeline.html
extra : rebase_source : 19e525178910c4173adcd8b64951b3c26f7cf120
2016-06-29 11:14:12 +09:00
Mantaroh Yoshinaga
99d2c3abdc Bug 1267510 part 7 - Tidy up to document-timeline tests. r=birtles
MozReview-Commit-ID: DKlmsrKWF6K

--HG--
extra : rebase_source : e68437efab97b179c72c3fb481e14bd316d1f56f
2016-06-29 11:14:12 +09:00
Mantaroh Yoshinaga
e5f9ec2f98 Bug 1267510 part 6 - Add animation test of gecko dependent. r=birtles
MozReview-Commit-ID: 1ZnXUCECMiH

--HG--
extra : rebase_source : 0ba0ffd392da1eadcf10e22c55dcbf286b218508
2016-06-29 11:14:12 +09:00
Mantaroh Yoshinaga
6bdc3b9bbc Bug 1267510 part 5 - Remove animation's w-p-f meta file associated DocumentTimeline. r=birtles
MozReview-Commit-ID: 8fLVmZ18fuq

--HG--
extra : rebase_source : 4bf41af47ae4ca180774fb6adfbaa0dcc3d93c42
2016-06-29 11:14:11 +09:00
Mantaroh Yoshinaga
cdd8a825b4 Bug 1267510 part 4 - Modify WebIDL of DocumentTimeline. r=smaug
The specification of DocumentTimeline interface is as follow.
https://w3c.github.io/web-animations/#the-documenttimeline-interface

MozReview-Commit-ID: jmcJPiVK9i

--HG--
extra : rebase_source : 8d69144c4ae7b241c6e91f075d72607350725b2d
2016-06-29 11:14:11 +09:00
Mantaroh Yoshinaga
8bc07a20e3 Bug 1267510 part 3 - Add DocumentTimeline constructor. r=birtles
MozReview-Commit-ID: CqqDlHQsm0p

--HG--
extra : rebase_source : 4495e289009af105b61413526ffd03200b5bee6b
2016-06-29 11:13:45 +09:00
Mantaroh Yoshinaga
943f1fd84b Bug 1267510 part 2 - Add origin time invariant to DocumentTimeline. r=birtles
MozReview-Commit-ID: Kf7PzzAH9Tj

--HG--
extra : rebase_source : 29f8eb0a6f3a624ff9c5af07f558bd5522847844
2016-06-29 10:59:35 +09:00
Mantaroh Yoshinaga
cef3e5e0c5 Bug 1267510 part 1 - Add DocumentTimeline constructor tests. r=birtles
MozReview-Commit-ID: 3EpZVyLVynE

--HG--
extra : rebase_source : acf348f4cb2a700df63be5e105598ba97572c29b
2016-06-29 10:59:17 +09:00
Greg Mierzwinski
5a4b2e86e4 Bug 1282599 - Pass test path as a string to xpcshell coverage collector. r=chmanchester
The test file path is now recorded by the coverage collector as a string rather than a single element array.

MozReview-Commit-ID: 9qW0tAKmqMS

--HG--
extra : rebase_source : a03f8fe2a9736ec41c72cad083da6a6142d343ad
2016-06-27 18:17:41 -04:00
Bevis Tseng
2673621c4b Bug 1281377 - In IDBKeyRange.includes(), do not compare the given value with the unset boundary. r=khuey 2016-06-22 13:40:12 +08:00
Christoph Kerschbaumer
ce1e85f2a3 Bug 1119989 - Assert that mPrincipal and doc's Principal are same origin in WebSocket.cpp. r=tanvi 2016-06-21 13:31:56 +02:00
Jonathan Kingston
daa6f72c59 Bug 1279420 - Adding in security.csp.experimentalEnabled pref check to require-sri-for directive in CSP. r=ckerschb
MozReview-Commit-ID: 799ZZoW0YiG

--HG--
extra : transplant_source : %CAC%12%16%C6a%10AP%BEc%85%BA%93Z%7Cq%D43%8D
2016-06-20 19:49:38 +01:00
Honza Bambas
e62bd5f22b Bug 1277275 - Cache I/O queue length telemetry, r=michal 2016-06-27 05:43:00 +02:00
Brad Werth
bb6b3396a0 Bug 1243559 - Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron 2016-06-21 13:17:11 -07:00
Ray Lin
e1b4b9465e Bug 985915 - Vertically move up closed caption to not overlap control bar. r=rillian
MozReview-Commit-ID: HzJ3ppbmQnk

--HG--
extra : rebase_source : dda5febc3c799c375e4dbe39cf52f96504740b55
2016-06-27 11:22:15 +08:00
Claas Augner
1110860598 Bug 979323 - Add "Zoom Text Only" preference to environment telemetry. r=gfritzsche
--HG--
extra : rebase_source : 6cd5644f9def393e25f1d5f87b55ff65baac0e62
2016-06-25 18:50:24 +02:00
Thomas Nguyen
0555added7 Bug 1282506 - Fix broken firefox ui tests with test_safe_browsing_initial_download.py. r=whimboo
MozReview-Commit-ID: 4O2FxJVGQ8D

--HG--
extra : rebase_source : 8a6742cfecf25c5e47cbff99498e2884577c1f9e
2016-06-29 14:18:29 +08:00
Lars T Hansen
3f68e2c195 Bug 1278283 - Use masm abstractions in wasm baseline compiler. r=nbp
--HG--
extra : rebase_source : c77b55c95b6022bc9f785eaf49cf28fb7e94603a
2016-06-28 10:11:05 +02:00
Lars T Hansen
e76ba7a4eb Bug 1278283 - Introduce popcnt abstraction for ARM. r=nbp
--HG--
extra : rebase_source : 190e685184a2fbd93fc0fe82ff4322f286bc13e6
2016-06-26 15:38:43 +02:00
Lars T Hansen
af5d06cbe3 Bug 1278283 - Expose max and min in the MacroAssembler + move ARM code. r=nbp
--HG--
extra : rebase_source : 55c92ea3f367bb11939b65ec8ea8ff95cf4bfcc2
2016-06-28 13:39:28 +02:00
Lars T Hansen
d869ef34b6 Bug 1278283 - Expose many simple operations in the MacroAssembler. r=nbp
--HG--
extra : rebase_source : 099c3f1cf33cb1f34929499bac241e741dc68f48
2016-06-28 11:32:04 +02:00
Lars T Hansen
27fb1d56c1 Bug 1282411 - Enable SDIV and UDIV by default on ARM simulator. r=jandem
--HG--
extra : rebase_source : c8f40817b8b24fdbfc7263c5cb0ce7496c1d03b4
2016-06-27 14:17:20 +02:00
Gian-Carlo Pascutto
2bf351e593 Bug 579388 - Only allow nsIMIMEService scripting from chrome. r=jaas+18821
MozReview-Commit-ID: G8oU712h7Yx

--HG--
extra : rebase_source : 5e7545b20f41efd25da64a1c279fc42a5f571215
2016-06-15 12:33:47 +01:00
Gian-Carlo Pascutto
0706b698f4 Bug 579388 - nsIMIMEService should run in chrome. r=jaas+18821
MozReview-Commit-ID: Hu2sdcOWuZX

--HG--
extra : rebase_source : a6950d5971343c63e60d0acddd77e130fc2f45cb
2016-06-15 12:29:30 +01:00
Nils Ohlmeier [:drno]
8a525ec4ae Bug 1282792: start transmitting OR receiving if track is active r=bwc
MozReview-Commit-ID: GaT5v9UN6ox

--HG--
extra : rebase_source : d7140ffe87f9ea42cc29cc96c3a92270c34d88a8
2016-06-28 01:16:08 +02:00
Alexandre Lissy
d70c1609d8 Bug 1282559 - Followup for 1277705 and remove SetHandle() on Gonk r=billm
MozReview-Commit-ID: 2Xzl5UBcUrV

--HG--
extra : rebase_source : 9bbf1d05ee64c681d735ddc13b58bba4b56efc51
2016-06-27 22:32:44 +02:00
Kartikaya Gupta
93cdc4ed3e Bug 1280667 - Add a test. r=botond
MozReview-Commit-ID: 6yJrmnZdbBu

--HG--
extra : rebase_source : 4e931115e1ba33b27e2606d3c2999ab4d76cce32
2016-06-27 12:20:30 -04:00
Kartikaya Gupta
810ca828fc Bug 1280667 - Don't update the callback transform if the APZ repaint request was rejected by a concurrent main-thread scroll position update. r=botond
MozReview-Commit-ID: 7jCdyN9H6T8

--HG--
extra : rebase_source : 7a8593851589465c9721abedb94717db2135fcae
2016-06-27 12:20:30 -04:00
Gregory Arndt
6e0a99decc Bug 1282864 - Remove unecessary revision hash info from decision task r=dustin
MozReview-Commit-ID: ICbOpbVwEhv

--HG--
extra : rebase_source : 8146b78b9c1d7c650cceb31ff6484c53d3f4f84b
2016-06-28 13:02:04 -05:00
Makoto Kato
c603b26d13 Bug 1203871 - Part 5. Use mozilla::Move for rect array. r=masayuki
To optimize copy of text rect array, we should use mozilla::Move.  Also, after using it, we should mark is invalid result into SetEventResult

MozReview-Commit-ID: HH9H7DhK12

--HG--
extra : rebase_source : 4e02ece73583306c386597bc92e203fa147cfcbc
extra : histedit_source : 726621cdaf262b9d173ae19d505575f10563cc36
2016-06-14 16:52:31 +01:00
Makoto Kato
954a8896f5 Bug 1203871 - Part 4. Implement QUERY_TEXT_RECT_ARRAY to nsIDOMWindowUtils for unit test. r=masayuki,smaug
To test eQueryCharRectArray, I would like to add it to nsIDOMWindowUtils.  Also this require unit test and will require external keyboard support on Android

Masayiki asks me more review to smaug this due IDL change.

MozReview-Commit-ID: 24lvQxXBnRX

--HG--
extra : rebase_source : 30788f550a465dc1ee058bf71d56656a89e364c2
extra : histedit_source : 2d2a2d4309b1fde6416408fe0e0d6b0f313898fb
2016-06-23 10:42:00 +01:00