Commit Graph

480711 Commits

Author SHA1 Message Date
Jeff Walden
d0b54a19b6 Backed out changeset 763642feedb0, Windows hates me. r=beepbeepbeep in a CLOSED TREE 2016-06-29 11:16:03 +01:00
Mark Banner
209681b65b Bug 1282899 - Land version 1.4.2 of the Loop system add-on in mozilla-central, rs=Standard8 for already reviewed code. 2016-06-29 11:07:08 +01:00
Morgan Phillips
9d89596177 Bug 1282332 - Refuse to parse display names with unquoted, non-numeric, property names; r=jorendorff
--HG--
extra : rebase_source : 77825ee84d76beed0da58b6092f4730c6d64c7a2
2016-06-27 03:29:08 +01:00
Jeff Walden
4913ffbd60 Bug 1282795 - Extract a side effect on a variable from an assertion expression to avoid a clang compiler warning when a side-effectful expression occurs in an unevaluated context. r=froydnj
--HG--
extra : rebase_source : bc8d4706db6425990ced939d6895d2b50c1b1bb1
2016-06-28 17:14:18 +01:00
Jeff Walden
c98db2b696 Bug 1282795 - Make a variable DebugOnly, and extract a side effect on that variable from an assertion expression to avoid a clang compiler warning when a side-effectful expression appears in unevaluated context. r=froydnj
--HG--
extra : rebase_source : c45b2b2fff55457383b8da86b9b597a5fb60b587
2016-06-28 17:13:22 +01:00
Jeff Walden
e20f0f4551 Bug 1282795 - Silence warnings when MOZ_ALWAYS_{TRUE,FALSE} are passed expressions with embedded side effects, that would ordinarily trigger side effects but don't inside certain unevaluated contexts within MOZ_ASSERT, which then triggers compiler warnings with new-enough clang. You are not expected to understand this. r=froydnj
--HG--
extra : rebase_source : ffe6d35af74c50b04dbddc9cc3965292875c64a0
2016-06-28 17:12:14 +01:00
Jeff Walden
1a5fb1ba2a Bug 1282795 - Make InvokeState final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<InvokeState>. r=froydnj
--HG--
extra : rebase_source : edef0d0826878b7a0b358299478d9bb1fa2ac712
2016-06-28 17:11:35 +01:00
Jeff Walden
b29c07c2ea Bug 1282795 - Don't make the last non-ellipsis argument to ExpandErrorArgumentsVA an enumeration that would be subject to integral promotion, because this would invoke undefined behavior. r=froydnj
--HG--
extra : rebase_source : 89910f1ea6811b6bb8553f4d60342cb4aa7e397a
2016-06-28 17:11:01 +01:00
Jeff Walden
354825efdd Bug 1282795 - Make NativeRegExpMacroAssembler and InterpretedRegExpMacroAssembler final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<those types>. r=froydnj
--HG--
extra : rebase_source : 652d7eea4a30bddd62558937085f6b2437a7a63f
2016-06-28 17:10:21 +01:00
Jeff Walden
0d2a0839a7 Bug 1282795 - Make VerifyPreTracer final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<VerifyPreTracer>. r=froydnj
--HG--
extra : rebase_source : ffaf9126571c9f55259e75ca265caa4407070f2d
2016-06-28 17:09:59 +01:00
Jeff Walden
f7b8d0cce7 Bug 1282795 - Make frontend::Parser final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<Parser>. r=froydnj
--HG--
extra : rebase_source : 6c4eeb1c68c6a1b4e4e7bc232ed2fed7ddddce28
2016-06-28 17:09:36 +01:00
Jeff Walden
f38286fc77 Bug 1282795 - Make JS::CompileOptions final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<JS::CompileOptions>. r=froydnj
--HG--
extra : rebase_source : d400b92e2ad1e2b90ca97688fd5b14fab544275a
2016-06-28 17:09:18 +01:00
Jeff Walden
ae4aa0b941 Bug 1282795 - Make CodeGenerator final to silence some -Wdelete-non-virtual-dtor warnings caused by Maybe<CodeGenerator>. r=froydnj
--HG--
extra : rebase_source : 9a93feba878339708403631182adbe2ff23e7868
2016-06-28 17:07:42 +01:00
Jeff Walden
75c0b2462e Bug 1282795 - Forward-declare a bunch of TracerConcrete<T>::concreteTypeName[] so that the default virtual TracerConcrete<T>::typeName() can refer to those declarations before their definitions, without triggering compiler warnings up the wazoo. r=froydnj
--HG--
extra : rebase_source : b6601a210fbd87d3b7bba31ee03c6b5c5192c420
2016-06-28 17:06:56 +01:00
Paul Adenot
576c333825 Bug 1282820 - Change the specification URL in webidl files for the Web Audio API. DONTBUILD. r=smaug
This patch has been written with this command, ran from the root of the tree:

```
gsed -i 's!https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html!https://webaudio.github.io/web-audio-api/!' dom/webidl/*
```
2016-06-29 11:30:13 +02:00
Nicolas Silva
f541fa5146 Bug 1281775 - Make dib textures not rely on accessing a ShadowLayerForwarder. r=gw280 2016-06-29 11:18:35 +02:00
Nicolas Silva
93024c0a86 Bug 1281780 - Forward ShadowLayerForwarder texture-related methods to CompositorBridgeChild. r=gw280 2016-06-29 11:18:30 +02:00
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