Commit Graph

471304 Commits

Author SHA1 Message Date
Yury Delendik
84bc1d6b23 Bug 1265133 - Adds s-expr comments support for wasmTextToBinary. r=sunfish 2016-04-15 23:18:57 -05:00
Marcos Caceres
dcc6df95e1 Bug 1264816 - Drop background_color from Web manifest image object. r=mconley 2016-04-18 23:19:00 +02:00
Andrew Lawson
bf1dc41f5f Bug 1262744 - Add '<!DOCTYPE html>' declaration to all MathML HTML tests (excludes XHTML). r=fred 2016-04-14 13:23:11 -04:00
Haik Aftandilian
c9498daa89 Bug 1262590 - [e10s] AppProcessChecker.cpp has DEUBG typo preventing DEBUG messages. r=mconley
MozReview-Commit-ID: 48DvjXAPhSG
2016-04-15 16:40:00 +02:00
Mantaroh Yoshinaga
003affd9cf Bug 1260084 - Part3 - Remove unnecessary css animation mochitest. r=birtles
MozReview-Commit-ID: 7R5VEyvYxvl

--HG--
extra : transplant_source : %18%60%F0%ED%B1%9E%1D%5B%13%1E%2C%20%F5%00%89.%89Lb%88
2016-04-18 13:15:38 +09:00
Mantaroh Yoshinaga
f6e5ce8707 Bug 1260084 - Part2 - Copy css animation mochitest to web-platform tests. r=birtles
MozReview-Commit-ID: BVEUDA9fzyI

--HG--
extra : transplant_source : %E9l%89%94%DB7o%E1%08%8A%00%A9_h%08%A5C%C4%EC%FC
2016-04-18 13:15:18 +09:00
Mantaroh Yoshinaga
bbb2c948a8 Bug 1260084 - Part1 -Use promise_test instead of async_test. r=birtles
MozReview-Commit-ID: 5GXF1frOdvf

--HG--
extra : transplant_source : %83i%8F%8A%01es%C6%F6%9B%84%98%81v%8Ac%E6%FA/i
2016-04-18 12:53:40 +09:00
Stone Shih
fa3b1e6240 Bug 1240436 - Part3: Remove NS_NewStringInputStream to prevent misuse. r=froydnj 2016-04-14 18:55:50 +08:00
Stone Shih
6759b9bad6 Bug 1240436 - Part2: Lossy convert UTF16 to ASCII before generating nsStringInputStream. r=mayhemer 2016-04-14 18:48:37 +08:00
Stone Shih
aa7c2fc2bd Bug 1240436 - Part1: Convert UTF16 to UTF8 before generating nsStringInputStream. r=khuey 2016-04-12 16:33:53 +08:00
Stone Shih
ff6e350e2e Bug 1225756 - Part2: Remove 'expected fail' settings and expect testcases in send-redirect-bogus.htm should be passed. r=jgraham 2016-03-22 17:57:29 +08:00
Stone Shih
361cc9181f Bug 1225756 - Part1: Let the regular veto handlers check on redirects then check mRedirectChannelChild in the result callback. r=mayhemer 2016-04-14 13:45:51 +08:00
Marcos Caceres
c42351aa91 Bug 1186908 - Return manifest members to canonical form after processing. r=mconley.
--HG--
extra : rebase_source : a974f68722ede9a54077163b387c3457b39f9667
2016-04-14 16:53:00 +02:00
Andreas Farre
b674c212ab Bug 949413 - Set href with context in Location.assign r=bz
MozReview-Commit-ID: Ao5eIxdo5Qv

--HG--
extra : rebase_source : c6f4a0a1d262cef057300cc39468c8f7eda59860
2016-04-14 09:58:09 -04:00
JW Wang
0c20427fe9 Bug 1265315. Part 2 - rename mReaderWrapper to mReader for less verbose coding. r=kaku.
MozReview-Commit-ID: B9chDJU3ei6
2016-04-19 16:14:46 +08:00
JW Wang
c28d55bc29 Bug 1265315. Part 1 - remove use of MediaDecoderReader from SeekTask. r=kaku.
MozReview-Commit-ID: DlUZYcAVBMB
2016-04-19 16:14:44 +08:00
JW Wang
ffd7b45558 Bug 1265311. Part 2 - constify some functions. r=jya.
MozReview-Commit-ID: HMlg0M64PhQ
2016-04-19 16:14:33 +08:00
JW Wang
73644018ff Bug 1265311. Part 1 - Add more proxy functions to MediaDecoderReaderWrapper. r=jya. 2016-04-19 16:14:30 +08:00
Thomas Zimmermann
c9c1980673 Bug 1264887: |nsWifiScannerDBus|: Hold DBusMessage references in |RefPtr|, r=josh 2016-04-19 11:09:02 +02:00
Thomas Zimmermann
0a068ba686 Bug 1264887: |nsWifiScannerDBus|: Hold DBusConnection reference in |RefPtr|, r=josh 2016-04-19 11:09:02 +02:00
Thomas Zimmermann
6bbc2790c5 Bug 1264887: Make DBus helpers available on desktop builds, r=shuang 2016-04-19 11:09:01 +02:00
Lars T Hansen
a64e1e3847 Bug 1263902 - check return value from JS_smprintf. r=bbouvier, r=shu
--HG--
extra : rebase_source : c212beece2b24dfdf9888546289ed1649aa1af77
extra : amend_source : 65592b062fd6e97896f141feb67bdd6f29362f91
2016-04-18 15:28:40 +02:00
Nicholas Nethercote
5bb2e1ae86 Bug 1132502 (part 2) - Don't call AddClassInfo() for BaseShapes. r=jandem.
It appears to cause crashes, and the effects of not calling on memory reporting
accuracy are minor. The code should be able to be re-enabled once
heap-allocated js::Class instances no longer occur.

--HG--
extra : rebase_source : 6dcf36aa21ade45b0397b3df531aaaa8f754af49
2016-04-19 10:21:00 +10:00
Gerald Squelart
5d11be9eef Bug 1248507 - p10. Detect and report when FFMpeg/Linux fails to load - r=jya
If the FFmpeg decoder module cannot be started, the failure is recorded in the
DecoderDoctorDiagnostics structure.
In this case, on Linux if there are no suitable decoders for any requested
format, a "platform decoder not found" notification is sent to Chrome (a
separate bug will implement the actual front-end notification), and logged to
the web console.

Note: All front-end notifications (that could display a notification bar) are
currently disabled by default. Set the following pref to true to enable them:
"media.decoderdoctor.enable-notification-bar".

MozReview-Commit-ID: CdaX7QUdWtd
2016-04-19 17:36:20 +10:00
Gerald Squelart
e6882cd324 Bug 1248507 - p9. FFMpeg checks: Notification definition - r=bz
MozReview-Commit-ID: DRYHBeTv7xA
2016-04-19 17:36:20 +10:00
Gerald Squelart
dd4185be4a Bug 1248507 - p8. FFMpeg checks: Console message - r=bz
MozReview-Commit-ID: 6YTpH7oa4zF
2016-04-19 17:36:19 +10:00
Gerald Squelart
5f8533edb0 Bug 1248507 - p7. Notify decoder-doctor-notification listeners - r=jya,bz
If the Decoder Doctor analysis needs to report something, a notification
is sent to listeners of "decoder-doctor-notification", with data identifying
the type of notification along with the media format(s) that could not be
decoded.

In this patch, there are only two notification types: "cannot-play", or
"can-play-but-some-missing-decoders" (if pref "media.decoderdoctor.verbose" is
true).

In a future bug, the Firefox front-end will handle this notification and then
optionally display a user notification.

Note: "can-play-but-some-missing-decoders" should be useful to help implement
the front-end side (as sites like YouTube will probably have some formats we
don't handle); it may be removed later on if it has no further use.

MozReview-Commit-ID: GL3JRqLxzxL
2016-04-19 17:36:19 +10:00
Gerald Squelart
d04e284211 Bug 1248507 - p6. Minimal notification definition - r=bz
MozReview-Commit-ID: JWd0BWehttB
2016-04-19 17:36:19 +10:00
Gerald Squelart
5918188906 Bug 1248507 - p5. DecoderDoctorDiagnostics implementation - r=jya,bz
Minimal implementation of DecoderDoctorDiagnostics.

If the Decoder Doctor analysis needs to report something, a notification is
logged to the web console, with the media format(s) that cannot be decoded.

In this patch, there are only two notification types: "Cannot play" when no
decoders are found for any of the requested formats), or "Can play" (if pref
"media.decoderdoctor.verbose" is true) when decoders are missing for only
some of the requested formats.

MozReview-Commit-ID: 4QkiVvcNSU3
2016-04-19 17:36:19 +10:00
Gerald Squelart
789868d84d Bug 1248507 - p4. DecoderDoctor base console message - r=bz
MozReview-Commit-ID: 6KzDFcwiYjm
2016-04-19 17:36:19 +10:00
Gerald Squelart
0977ec8ef6 Bug 1248507 - p3. Use DecoderDoctorDiagnostics - r=jya,bz
DecoderDoctorDiagnostics are now used at places where Firefox Chrome and/or
websites checks whether some media formats may be played:
- audio|video.canPlayType()
- audio|video resource loader
- MediaSource.IsTypeSupported()
- MediaSource.AddSourceBuffer()

MozReview-Commit-ID: B1KdjXODq9j
2016-04-19 17:36:19 +10:00
Gerald Squelart
28dbe24b69 Bug 1248507 - p2. DecoderDoctorDiagnostics boilerplate - r=jya
Minimal DecoderDoctorDiagnostics interface and skeleton implementation.

MozReview-Commit-ID: EUXRABPeoIg
2016-04-19 17:36:19 +10:00
Gerald Squelart
ecfb205472 Bug 1248507 - p1. Pass DecoderDoctorDiagnostics to PDMs&more - r=jya
Pass declared-but-yet-undefined DecoderDoctorDiagnostics pointer to various
routines that contribute to deciding if a media format can be played, and
those that create decoders.

Points where a DecoderDoctorDiagnostics can be injected are currently marked
with "/* DecoderDoctorDiagnostics* */ nullptr", and some will be used in
following patches.

MozReview-Commit-ID: 7u37bvY4CpW
2016-04-19 17:36:19 +10:00
Carsten "Tomcat" Book
3a4122a706 no bug touch clobber to fix bustage 2016-04-19 08:29:56 +02:00
Mike Hommey
8990bb15dd Bug 1264482 - Move adding -std=gnu99 and -std=gnu++11 to moz.configure. r=ted
We were unconditionally adding them, now actually check what the
compilers default to and add the flags if they are necessary.
This will, in the future, allow finer grained policy changes, where
we can decide that C++11 and C++14 are fine, downgrading compilers
that do C++17, etc.
2016-04-19 15:09:37 +09:00
Mike Hommey
bb5463199c Bug 1264482 - Move compiler invocation for preprocessing to a separate function. r=ted 2016-04-19 15:09:37 +09:00
Mike Hommey
66ab5aca5c Bug 1264482 - Use the EnumString type for the different values we get out of split_triplet. r=ted 2016-04-19 15:09:37 +09:00
Mike Hommey
3b84e5ed68 Bug 1264482 - Use the EnumString type for the compiler type. r=ted 2016-04-19 15:09:37 +09:00
Mike Hommey
f586735fa8 Bug 1264482 - Add an enumeration-like string type with a limited set of possible values. r=ted 2016-04-19 15:09:37 +09:00
Mike Hommey
fb65986e09 Bug 1264482 - Fake an arbitrary __name__ in sandboxed global. r=ted 2016-04-19 15:09:37 +09:00
Mike Hommey
0037774d91 Bug 1265063 - Fix the shell quoting regexp to properly match backslashes. r=gps 2016-04-19 15:09:37 +09:00
CJKu
a31594bc4d Bug 1264949 - crash test; r=jfkthame
MozReview-Commit-ID: 34wrJ2Qq4ch

--HG--
extra : rebase_source : 89b760fa361f517cc3f006a1e54c594fd30982cd
2016-04-19 13:41:14 +08:00
CJKu
fec446cef3 Bug 1264949 - Ensure that the display list does not contain any background-image/background-color display item; r=jfkthame
MozReview-Commit-ID: LikPnuMxeMc

--HG--
extra : rebase_source : 177134421941ed144bd7e37271f2e25018a0c403
2016-04-19 13:41:03 +08:00
Daniel Holbert
c5c19672a7 Bug 1255180 part 3: Update test_bug370436.html to use SpecialPowers for privileged "rangeParent" access, & drop now-obsolete checks for SOWs in chrome. r=bholley
This patch also enables the test by uncommenting it in mochitest.ini, since it should now run successfully.

MozReview-Commit-ID: 36ZvUYA7sDi
2016-04-18 20:26:36 -07:00
Daniel Holbert
2ea3c08df4 Bug 1255180 part 2: Update script/style paths in test_bug370436.html to point to mochitest-plain resources. r=bholley
MozReview-Commit-ID: ElBfZMQOjSl
2016-04-18 20:26:35 -07:00
Daniel Holbert
3780efe576 Bug 1255180 part 1: Move test_bug370436.html out of its mochitest-chrome subdirectory. r=bholley
This patch also temporarily disables the test by commenting it out in mochitest.ini, its new home. (I'm disabling it temporarily because it won't pass until later patches in this queue have landed.)

MozReview-Commit-ID: 2CixMWUin8W

--HG--
rename : layout/base/tests/chrome/test_bug370436.html => layout/base/tests/test_bug370436.html
2016-04-18 20:26:33 -07:00
Phil Ringnalda
3074c35aeb Merge m-c to a CLOSED TREE mozilla-inbound 2016-04-18 22:42:28 -07:00
Phil Ringnalda
5202d4e290 Back out 04d5b31350e4 (bug 1255359) on suspicion of breaking test plugin packaging on clobbered Mac builds, a=CLOSED TREE 2016-04-18 20:50:03 -07:00
Wes Kocher
c4afaf3404 Merge fx-team to central, a=merge
MozReview-Commit-ID: 2arsWT5oaqp
2016-04-18 15:13:18 -07:00
Wes Kocher
0a2f84202b Merge inbound to central, a=merge
MozReview-Commit-ID: ADcSE67n1t8
2016-04-18 15:07:04 -07:00