Commit Graph

490983 Commits

Author SHA1 Message Date
Phil Ringnalda
121d06975b Bug 1277750 - Skip browser_bug734076.js on Linux e10s for constant failures 2016-09-10 18:26:58 -07:00
Phil Ringnalda
63ae7b1759 Merge m-c to m-i 2016-09-10 15:36:23 -07:00
Phil Ringnalda
cb86e22f16 Bug 1285531 - Skip all webgl reftests on Android for causing memory corruption resulting in crashes, often in later non-webgl tests, a=unfortunatesituation 2016-09-10 15:03:38 -07:00
Sebastian Hengst
402cb656c2 Backed out changeset 0c9c5b508ccd (bug 1206133) for failing browser-chrome test browser_popupNotification_checkbox.js. r=backout 2016-09-10 23:41:18 +02:00
Sebastian Hengst
fc2706b32f Backed out changeset 2b0a8096c6e0 (bug 1206133) 2016-09-10 23:40:32 +02:00
Sebastian Hengst
b1f5d631f7 Backed out changeset b99b5f178405 (bug 1206133) 2016-09-10 23:40:28 +02:00
Sebastian Hengst
a1fdfe5891 Backed out changeset baaf5f5624d3 (bug 1206133) 2016-09-10 23:40:23 +02:00
ffxbld
100cfaefaa No bug, Automated blocklist update from host bld-linux64-spot-424 - a=blocklist-update 2016-09-10 05:50:44 -07:00
ffxbld
3107c66acb No bug, Automated HPKP preload list update from host bld-linux64-spot-424 - a=hpkp-update 2016-09-10 05:50:42 -07:00
ffxbld
e1dae8a80b No bug, Automated HSTS preload list update from host bld-linux64-spot-424 - a=hsts-update 2016-09-10 05:50:40 -07:00
Phil Ringnalda
3748f182f6 Merge m-i to m-c, a=merge 2016-09-10 00:14:21 -07:00
Phil Ringnalda
f7102d808c Merge f-t to m-c, a=merge 2016-09-10 00:13:41 -07:00
Phil Ringnalda
0e0c8bd1b1 Merge autoland to m-c, a=merge 2016-09-10 00:12:38 -07:00
Igor
60cd1e3bb7 Bug 1296180 - Replace more uses of PR_ARRAY_SIZE with mozilla::ArrayLength. r=keeler,mt 2016-09-09 13:17:52 -07:00
Josh Matthews
3b4eeee788 Bug 1264192 - Adjust cookie eviction heuristics when exceeding the maximum cookies allowed per host. r=ehsan
If no expired cookies exist, in order of preference, evict the oldest:
* session cookie with a non-matching path
* session cookie with a matching path
* non-session cookie with a non-matching path
* non-session cookie with a matching path

This replaces the previous heuristic of evicting the oldest cookie, irregardless of any other attributes,
if no expired cookies were present. This ensures that cookies that are already considered transient by
web applications will be removed first, followed by cookies that are unrelated to the response that is
adding new cookies.
* * *
Bug 1264192 - Interdiff
2016-09-09 16:29:15 -04:00
Ben Kelly
4fd0037991 Bug 1301678 - Make InterceptedChannel use a different state variable to indicated the channel is closed. r=jdm, a=RyanVM 2016-09-09 07:28:00 -04:00
Carsten "Tomcat" Book
0f2c669a48 merge mozilla-inbound to mozilla-central a=merge 2016-09-09 12:02:43 +02:00
Carsten "Tomcat" Book
89dba842cb merge fx-team to mozilla-central a=merge 2016-09-09 12:01:21 +02:00
Iris Hsiao
f0bad41648 Backed out changeset bb033983fe8d (bug 1301344), this shouldn't be landed, it's for test 2016-09-09 15:33:19 +08:00
Johann Hofmann
ec9dd3e14f Bug 1291642 followup - Add a CSS selector for warning labels on windows. r=dao
MozReview-Commit-ID: DotNHI0AF7V

--HG--
extra : rebase_source : fc5c07ca3be3d11b52f576988de06d1c548fd718
2016-09-09 07:32:54 +02:00
Phil Ringnalda
4b1303cc59 Back out 1eb6e4e4060f (bug 1296180) for Windows warning-as-error bustage
CLOSED TREE
2016-09-08 23:30:12 -07:00
Igor
d42cc2cb4e Bug 1296180 - Replace more uses of PR_ARRAY_SIZE with mozilla::ArrayLengh. r=mt 2016-09-08 22:35:12 -07:00
Ryan VanderMeulen
00b6191463 Bug 1301577 - Update pdf.js to version 1.5.437. r=bdahl 2016-09-08 21:52:20 -04:00
Boris Zbarsky
2095bc6fba Bug 1301138. Set the one allowed sandbox navigator even when popups are allowed to escape the sandbox, so the new popup can be navigated by the sandboxed document. r=smaug
--HG--
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_escaping-3.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_helper-3.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-1.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-2.html
rename : testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping.html => testing/web-platform/tests/html/semantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html
2016-09-08 00:17:11 -04:00
Boris Zbarsky
bcf43cc08c Bug 1097423. Fix raciness in the test. r=smaug 2016-09-08 17:47:30 -04:00
Junior Hsu
1b0b85b2fe Bug 1301344 - Add test. r=valentin 2016-09-08 02:36:00 -04:00
Junior Hsu
b552a263d3 Bug 1301344 - Bail out from canonicalizing IPv4 first. r=valentin 2016-09-08 02:59:00 -04:00
Ethan Lin
c7074a5f40 Bug 1275478 - Fix svg mask with D2D1 backend. r=mstange 2016-09-08 02:28:00 -04:00
Henrik Skupin
fadd103e03 Bug 1301153 - Split-up marionette_test module into distinct modules. r=maja_zf
marionette_test.py is a bloated module which contains everything around the Marionette testcase classes.
We should split this up into distinct modules, so each new module covers specific code. The two new modules
introduced are errors, and decorators. This split would also be aligned to the structure of the driver.

To not loose backward compatibility we have to keep the import from marionette_test. It means the new
modules have to live in a sub folder named like that.

MozReview-Commit-ID: DQg55M258ST

--HG--
extra : rebase_source : 2c4150e56b4489518bd1c87b4c3f7cc25e0c5133
2016-09-07 22:58:36 +02:00
kearwood
a3d9112f3c Bug 1296446 - Do not render VR frames until a WebGLContext has returned a mirroring layer r=jgilbert
- Fixes a crash that occurred when WebVR frames were rendered prior to
  setting up the WebGLContext for mirroring back to the 2d display.

MozReview-Commit-ID: Fq4c2287KBL

--HG--
extra : rebase_source : e0e0416f1d6a5f9058c7ed89581b700f32712e72
2016-09-08 14:16:07 -07:00
Kan-Ru Chen
8d637c482f Bug 1301339 - Annotate content shutdown hang due to nested event loop in RecvShutdown. r=billm
We currently allow nested event loop to delay ContentChild::RecvShutdown
which in turn might cause content process shutdown hang. This patch
attempts to annotate the crash report that a shutdown hang was after we
have received RecvShutdown but never reach SendFinishShutdown or the
hang happened before or after RecvShutdown.

MozReview-Commit-ID: 8pGqwzLlYpK

--HG--
extra : rebase_source : 78fdec0c29ded1abbd6651c67fe5c97f63555635
2016-09-08 17:23:57 +08:00
Ting-Yu Lin
2f177a0a73 Bug 1299753 Part 3 - Reuse ConstructScrollableBlock to build scrollable DetailsFrame. r=bz
MozReview-Commit-ID: 1yAhuKqurHf

--HG--
extra : rebase_source : 2a77db937d09f98b81dd73e61419ebde82a3ad48
2016-09-08 15:38:06 +08:00
Ting-Yu Lin
13f0d4632f Bug 1299753 Part 2 - Create block formatting context for DetailsFrame if needed. r=bz
nsCSSFrameConstructor::ConstructNonScrollableBlock() has logic to
determine whether to create a block formatting context for a block
frame. I refactor the function to make it reusable by
nsCSSFrameConstructor::ConstructDetailsFrame().

Also, make NS_NewBlockFrame() accept two arguments as other frame
factory functions so that it could be pointed by BlockFrameCreationFunc.
NS_NewBlockFormattingContext is changed accordingly.

The construction for a scrollable DetailsFrame will be further revised
in Part 3.

MozReview-Commit-ID: 8TwG9YMyGva

--HG--
extra : rebase_source : fffdd974df81a809a607491d2534aa8dd2d13ab1
2016-09-07 14:45:42 +08:00
Kirk Steuber
fc9c5bd021 Bug 1206133 - Fix browser_bug553455.js such that it does not make invalid assumptions about how panels work and refactor from callbacks to Tasks and Promises. r=rhelmer
MozReview-Commit-ID: 79bsQGDVz19

--HG--
extra : rebase_source : c604767c9260d838eb2585fd267c8d02580c6d30
extra : histedit_source : c8ea98e14ee7013b3007e067986a1b0037e11b43
2016-09-06 11:04:06 -07:00
Ting-Yu Lin
c719ccc151 Bug 1299753 Part 1 - Use NS_NewBlockFormattingContext() in ConstructFieldSetFrame(). r=bz
MozReview-Commit-ID: E6lvCRIDROY

--HG--
extra : rebase_source : 52f59f6db123e47c1230dc19c49d2dbf7c6cb0d6
2016-09-05 15:36:53 +08:00
J. Ryan Stinnett
b7ca8b1d80 Bug 1301514 - Destroy browser API frame scripts during swap. r=kanru
When swapping content from <iframe mozbrowser> to <xul:browser>, we now stop the
frame scripts that implement the content side of the browser API since they are
no longer needed and can cause issues if they remain active.

MozReview-Commit-ID: JrecxA4MI93

--HG--
extra : rebase_source : cc68b975c7d82035410a647ff66eab130055ed04
2016-09-08 16:00:12 -05:00
J. Ryan Stinnett
bcefcd65fe Bug 1301514 - Clarify ownership of BrowserElementIsReady. r=kanru
It wasn't immediately obvious to me that BrowserElementIsReady was correctly
guarding against re-running the browser element scripts in a frame.  After more
testing, it was working, but I've added some debug lines for future clarity.
No functionality changes in this patch.

MozReview-Commit-ID: CW4o2TsGKmj

--HG--
extra : rebase_source : 62ec06d4b75f90b3478e403906efaa2f3c3658e2
2016-09-07 17:45:13 -05:00
Alastor Wu
e9a55e8604 Bug 1290467 - part10 : update audio focus related control operations. r=sebastian
Except controlling audio focus from gecko, the MediaControlService can also
decide whether needs to request or abandon audio focus.

MozReview-Commit-ID: G3iSYwd24JZ

--HG--
extra : rebase_source : dd29207d8c08176cd7a57f08d3361e4f29c4095a
2016-09-09 09:51:12 +08:00
Alastor Wu
ff8012b391 Bug 1290467 - part9 : remove 'ACTION_REMOVE_CONTROL'. r=sebastian
Remove 'ACTION_REMOVE_CONTROL' because it's as same as 'ACTION_STOP'.

MozReview-Commit-ID: 6KOj8srEuJA

--HG--
extra : rebase_source : 3b92e0f3d6485af4e9be97b1423804401b1496c7
2016-09-09 09:51:10 +08:00
Alastor Wu
b9bcdbf114 Bug 1290467 - part8 : rename 'ACTION_PLAY' to 'ACTION_RESUME'. r=sebastian
'ACTION_RESUME' should be more suit for its operation.

MozReview-Commit-ID: 4FRHaydVKu5

--HG--
extra : rebase_source : 76b405bf0b7a27f2ea7f27283230df146b71ccfc
2016-09-09 09:51:08 +08:00
Alastor Wu
48bbee4b31 Bug 1290467 - part7 : enable audio competing for non-audible media. r=baku
In general, the audio competing should only be for audible media and it helps user can focus on one media at the same time. However, we hope to treat all media as the same in the mobile device.

First reason is we have media control on fennec and we just want to control one media at once time. Second reason is to reduce the bandwidth, avoiding to play any non-audible media in background which user doesn't notice about.

MozReview-Commit-ID: yB3181cmVE

--HG--
extra : rebase_source : 0f7bc1d4e9fc3f68e2085f59eb0a313d44a1c058
2016-09-09 09:50:40 +08:00
Alastor Wu
75c540b002 Bug 1290467 - part6 : remove redudant space. r=sebastian
remove one redudant space.

MozReview-Commit-ID: 1PdKL1EALAq

--HG--
extra : rebase_source : 20ab4fd13893b7515a8baebac3df9a06af7bb550
2016-09-09 09:50:32 +08:00
Alastor Wu
97207d40a6 Bug 1290467 - part5 : change service's life time. r=sebastian
Now the life time of the MediaControlService would be as same as the Fennec app.
To make code flow more easily, requesting/abandoning the audio focus wouldn't
affect the media control.

We would mainly communicate with the media control via TabEvents.

MozReview-Commit-ID: KT59bII0HuN

--HG--
extra : rebase_source : d8f2c810f24ef6ea72a274db2b432ca8f8876d8e
2016-09-09 09:50:30 +08:00
Alastor Wu
5c5e340476 Bug 1290467 - part4 : create helper function. r=sebastian
wrap some code into initialize() and shutdown().

MozReview-Commit-ID: AiyABlyDEME

--HG--
extra : rebase_source : e13f4d1eef46207edd9d8d8cc956c2644f3b1e38
2016-09-09 09:50:28 +08:00
Alastor Wu
8b77ea4d53 Bug 1290467 - part3 : notify MediaControlService with event 'MEDIA_PLAYING_CHANGE'. r=sebastian
The 'MEDIA_PLAYING_CHANGE' is used for controling media control interface and
the 'AUDIO_PLAYING_CHANGE' is used for showing the tab sound indicator.

MozReview-Commit-ID: 8hZjC77Ju71

--HG--
extra : rebase_source : 3699ea482e89a5c2535defce8ca2689a180d5c49
2016-09-09 09:50:25 +08:00
Alastor Wu
9069f0f0d5 Bug 1290467 - part2 : request audio focus for any media instead of audible one. r=snorp
Previous design is only to request audio focus for audible media, but now we
also request focus for non-audible media.

It's simple that the app should own the focus when users start watching media.

MozReview-Commit-ID: 3eJP26h4kh7

--HG--
extra : rebase_source : b35c4ef7d6560635f428eba445f089abd3844bda
2016-09-09 09:49:25 +08:00
Alastor Wu
122f712890 Bug 1290467 - part1 : dispatch 'media-playback' event. r=baku
Use 'media-playback' event to control the media control interface on Fennec.

MozReview-Commit-ID: D8SU96RrkbQ

--HG--
extra : rebase_source : 16a13e3b1a450a2949cb62b77a53311797daaaf2
2016-09-09 09:49:22 +08:00
Chris Pearce
e99ce4a9c7 Bug 1294003 - Ensure we destroy DXVA2Manager on main thread if DXVA init fails. r=mattwoodrow
If initializing DXVA fails, we end up destroying the DXVA2Manager on the
decode task queue. The DXVA2Manager asserts that it's destroyed on the
main thread, so we should dispatch a task to destroy it on the appropriate
thread instead of destorying it on the wrong one.


MozReview-Commit-ID: 2pbeMOm74et

--HG--
extra : rebase_source : c4a6871877747d4e04494c638d83b225decaf249
2016-09-09 16:12:50 +12:00
Shing Lyu
db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Gerald Squelart
b94f8cfb3e Bug 1301561 - Change media.decoder.heuristic.dormant.timeout to 10000 (ms) - r=jwwang
MozReview-Commit-ID: BibXsBpjIQe

--HG--
extra : rebase_source : 7e2afca18bf8e988455d2fb3eb71866f140808e5
2016-09-09 11:00:21 +10:00