Commit Graph

480561 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
1a5fda4297 Bug 1240193 - Skip TYPE_DOCUMENT assertions for loads initiated by JS tests (r=tanvi) 2016-06-29 12:59:45 +02:00
Kartikaya Gupta
faa37f4591 Bug 1280013 - Add a test. r=botond
MozReview-Commit-ID: 7xkNFpQnvFG
2016-06-29 08:50:22 -04:00
Kartikaya Gupta
47b3b7b426 Bug 1280013 - Incorporate the APZ callback transforms when using the root composition bounds to clip the displayport base. r=botond,tnikkel
MozReview-Commit-ID: 1HOGQnCjIMt
2016-06-29 08:50:20 -04:00
Kartikaya Gupta
6a6c1034f1 Bug 1282283 - Fix data race found by TSan. r=sewardj
MozReview-Commit-ID: LP2QI83gNVl
2016-06-29 08:49:49 -04: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
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
Carsten "Tomcat" Book
96e498753a Backed out changeset f843a97323da (bug 1282870) for bustage on a CLOSED TREE 2016-06-29 13:51:49 +02:00
Andrea Marchesini
851369b631 Bug 1282870 - HTMLInputElement.webkitdirectory should show a DirPicker, r=smaug 2016-06-29 13:29:04 +02:00
Eddy Bruel
a5248d463f Bug 1271653 - Non-fallible Debugger.Object getters should be non-static methods;r=fitzgen 2016-06-29 14:05:05 +02:00
Eddy Bruel
29f5217893 Bug 1271653 - Move remaining helper functions and data for DebuggerObject into class;r=fitzgen 2016-06-29 14:03:03 +02:00
Eddy Bruel
6dcf0f1e6b Bug 1271653 - Add MOZ_MUST_USE to JS native functions for DebuggerObject;r=fitzgen 2016-06-29 14:01:35 +02:00
Jeff Walden
d0b54a19b6 Backed out changeset 763642feedb0, Windows hates me. r=beepbeepbeep in a CLOSED TREE 2016-06-29 11:16:03 +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
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
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
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
Makoto Kato
8e42cbc802 Bug 1203871 - Part 3. Use eQueryTextRectArray on ContentCache for e10s. r=masayuki
Use new event to update cotent process's cache.

MozReview-Commit-ID: CexTXW4knMQ

--HG--
extra : rebase_source : 525a8b0a1fe6ef533e06f76ac5156e264b158c70
extra : histedit_source : 2a8c46a64eb5c6a7a05adc28917422c488b2b1c4
2016-03-14 16:03:31 +09:00