Commit Graph

480540 Commits

Author SHA1 Message Date
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
Makoto Kato
689ca97c17 Bug 1203871 - Part 2. Implement eQueryTextRectArray. r=masayuki
It will use on ContentCache.  Also, SetRangeFromFlatTextOffset issue will hanle on another bug.

MozReview-Commit-ID: 9Yu8bLlcZS5

--HG--
extra : rebase_source : c8eba70bdedf303b0fa649c1a609fe6120983e65
extra : histedit_source : 4189807b57ede13c1546e95052fcc298c8581d06
2016-06-23 10:40:04 +01:00
Makoto Kato
fb90c3584f Bug 1203871 - Part 1. Add nsIFrame::GetCharacterRectsInRange. r=jfkthame
Masayuki suggests GetCharcterRectsInRange instead of first idea's API by part 2 implementation.

IME wants to need the width per character.  Now nsTextFrame/nsIFrmae has only API to get point of string.  So I want to add this method to calculate simply by comment #3.

If no text frame,  I would like to return error due to no character.  (Caller shouldn't call this API on non-text frame.)

MozReview-Commit-ID: LQHUTzhnGn

--HG--
extra : rebase_source : bc495493c7be73afb05489ad2169e8dcdd6e6da4
extra : histedit_source : e54a7c3bfb100765317a0c8a83b432d5f706ffe1
2016-06-23 12:02:14 +01:00
Andrea Marchesini
841e0f39ef Bug 1278320 - DataChannel should return 0 if the stream is not active, r=drno 2016-06-29 08:03:37 +02:00
Andrea Marchesini
f8c59929b9 Bug 1282851 - Remove DummyInterfaceWorkers, r=khuey 2016-06-29 08:00:39 +02:00
Andrea Marchesini
9b8df4a1d1 Bug 1270185 - create dom/url for URL API and its tests, r=ehsan
--HG--
rename : dom/base/URL.cpp => dom/url/URL.cpp
rename : dom/base/URL.h => dom/url/URL.h
rename : dom/base/URLSearchParams.cpp => dom/url/URLSearchParams.cpp
rename : dom/base/URLSearchParams.h => dom/url/URLSearchParams.h
rename : dom/base/test/file_url.jsm => dom/url/tests/file_url.jsm
rename : dom/workers/test/file_url.jsm => dom/url/tests/file_worker_url.jsm
rename : dom/workers/test/jsm_url_worker.js => dom/url/tests/jsm_url_worker.js
rename : dom/workers/test/test_bug883784.jsm => dom/url/tests/test_bug883784.jsm
rename : dom/workers/test/test_bug883784.xul => dom/url/tests/test_bug883784.xul
rename : dom/base/test/test_unknown_url_origin.html => dom/url/tests/test_unknown_url_origin.html
rename : dom/base/test/test_url.html => dom/url/tests/test_url.html
rename : dom/base/test/test_url.xul => dom/url/tests/test_url.xul
rename : dom/base/test/test_urlExceptions.html => dom/url/tests/test_urlExceptions.html
rename : dom/base/test/test_urlSearchParams.html => dom/url/tests/test_urlSearchParams.html
rename : dom/base/test/test_urlSearchParams_utf8.html => dom/url/tests/test_urlSearchParams_utf8.html
rename : dom/base/test/test_url_data.html => dom/url/tests/test_url_data.html
rename : dom/base/test/test_url_empty_port.html => dom/url/tests/test_url_empty_port.html
rename : dom/base/test/test_url_malformedHost.html => dom/url/tests/test_url_malformedHost.html
rename : dom/base/test/test_urlutils_stringify.html => dom/url/tests/test_urlutils_stringify.html
rename : dom/workers/test/test_url.html => dom/url/tests/test_worker_url.html
rename : dom/workers/test/test_url.xul => dom/url/tests/test_worker_url.xul
rename : dom/workers/test/test_urlApi.html => dom/url/tests/test_worker_urlApi.html
rename : dom/workers/test/test_urlSearchParams.html => dom/url/tests/test_worker_urlSearchParams.html
rename : dom/workers/test/test_url_exceptions.html => dom/url/tests/test_worker_url_exceptions.html
rename : dom/workers/test/urlApi_worker.js => dom/url/tests/urlApi_worker.js
rename : dom/workers/test/urlSearchParams_worker.js => dom/url/tests/urlSearchParams_worker.js
rename : dom/workers/test/url_exceptions_worker.js => dom/url/tests/url_exceptions_worker.js
rename : dom/workers/test/url_worker.js => dom/url/tests/url_worker.js
2016-06-29 07:44:18 +02:00
Andrea Marchesini
6209c0d90e Bug 1269161 - Remove the separate worker bindings for URL, r=khuey 2016-06-29 07:43:44 +02:00
David Anderson
d5667731db Revoke widget pointer from CompositorBridgeParent on shutdown. (bug 1282343 part 2, r=mattwoodrow) 2016-06-28 14:54:20 -07:00
David Anderson
6c0ba47595 Don't leave temporary dangling nsWindow references to CompositorBridgeParent. (bug 1282343 part 1, r=mattwoodrow,kats) 2016-06-28 14:53:21 -07:00
Andy McKay
991102e916 bug 1282568 sign add-ons in browser_update tests r=aswan
MozReview-Commit-ID: 6kF005zOosv

--HG--
extra : source : 63c1aecb37ac17e88cc993c9b78f366f214fe130
extra : amend_source : f2f1a1eb6a10914a8d10df49d80cda313987b8b4
2016-06-27 14:52:57 -07:00
Phil Ringnalda
3f1ee7a2b6 Backed out 7 changesets (bug 1267887) for gtest failures and crashes and Marionette crashes on Windows 8
CLOSED TREE

Backed out changeset e7e34b315a0a (bug 1267887)
Backed out changeset 9128f4f94032 (bug 1267887)
Backed out changeset c697af8c555a (bug 1267887)
Backed out changeset 8f1c1957ce80 (bug 1267997)
Backed out changeset 3b1177fd30cb (bug 1267887)
Backed out changeset 72ea61f4f820 (bug 1267887)
Backed out changeset e19c4c4eac51 (bug 1267887)
2016-06-28 21:40:09 -07:00
Ralph Giles
a91a784d90 Bug 1267887 - Add algorithm.h for std::min on msvc. r=kinetik
Fixes a compile error on Windows.

MozReview-Commit-ID: 6FOl7fn5xMq
2016-06-28 20:33:42 -07:00
Ralph Giles
4dc3887b7d Bug 1267887 - Log short opus codec config blocks. r=kinetik
MozReview-Commit-ID: 8Kgj1cytJtE
2016-06-28 20:33:40 -07:00
Ralph Giles
c0393ce78f Bug 1267887 - Document MP4AudioInfo::IsValid(). r=jya
Jean-Yves and I both found this logic confusing.

MozReview-Commit-ID: C5phemRPDQZ
2016-06-28 20:33:38 -07:00
Ralph Giles
64dfe2c489 Bug 1267997 - Update source for mp4parse v0.4.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: AE6jXz8IMU7
2016-06-28 20:33:36 -07:00
Ralph Giles
1382abe1f6 Bug 1267887 - Update script for mp4parse v0.4.0. r=kinetik
Remove patches for issues which are fixed upstream.

Update the script to generate the C api header file by running
`cargo build` before copying it.

Update byteorder mod-ification patch to apply to 0.5.3.

MozReview-Commit-ID: 8FDpbcSWt1o
2016-06-28 20:33:34 -07:00
Ralph Giles
711f285ffd Bug 1267887 - Support Opus in mp4 with the rust demuxer. r=kinetik
Update C++ caller code for for mp4parse 0.4.0. Now feeds data through
a read callback in mp4parse_io.

Hook up the GetTrackInfo method to the rust demuxer results.

Prefer rust demuxer only if there's an Opus track.

Fill in audio and video track metadata. Pass audio codec_specific_config
to the decoder.

With this change sample.mp4 plays.

MozReview-Commit-ID: F8xwWPZZBfZ
2016-06-28 20:33:32 -07:00
Ralph Giles
bcd27ae276 Bug 1267887 - Experiment with exporting track mime-type. r=kinetik
MozReview-Commit-ID: 9CynVkwtUn2
2016-06-28 20:33:30 -07:00
Morris Tseng
8f005b2801 Bug 1281686 - Part 3: Using MacIOSurface for RectTextureImage. r=mstange
MozReview-Commit-ID: O97FkqrsKq
2016-06-29 11:24:44 +08:00
Morris Tseng
36a0d19547 Bug 1281686 - Part 2: Move RectTextureImage to separate file. r=mstange
MozReview-Commit-ID: HES73Ux7Li7
2016-06-29 11:24:44 +08:00
Morris Tseng
cbaeef2521 Bug 1281686 - Part 1: Fix OSX Compile failure due to unified build. r=mstange
MozReview-Commit-ID: FIcq2svB0fL
2016-06-29 11:24:43 +08:00
Geoff Brown
1757b081e2 Bug 1263300 - Skip crashtest 724978.xhtml on Android Debug only; r=dholbert 2016-06-28 20:41:32 -06:00