Граф коммитов

40985 Коммитов

Автор SHA1 Сообщение Дата
Mike Conley 77af80c31b Bug 1141337 - Update nsIWebBrowserPersistable to allow subframe targeting for Save Frame As. r=jld
This alters nsIWebBrowserPersistable so that startPersistence takes an
outerWindowID. This allows us to target a particular subframe from
beneath an nsFrameLoader, which is useful when attempting to Save
Frame As a remote browser.

--HG--
extra : commitid : KWck2rfRjXw
extra : rebase_source : d2390a8cf1b830e4e1c0fa52574455fbc0b05c14
2015-08-06 10:44:16 -04:00
Myk Melez 5f5a298ac6 Bug 1135261 - return new window from window.open in desktop runtime; r=marco,smaug,junior,wesj 2015-08-13 19:00:02 -07:00
Jean-Yves Avenard 144aceffe9 Bug 1188871: P2. Call DrainComplete should an error occurs while draining. r=snorp
Part 1 prevented draining when an error occurred first. This handles the case where an error occurs during draining.
2015-08-14 10:20:32 +10:00
Jean-Yves Avenard c6fcd44f2d Bug 1188871: P1. Don't drain decoders when an error is encountered. r=cpearce
This is a partial revert of bug 1173657 (commit 80f9da7f0806). Not all decoders will properly handle draining when they have encountered an error and will never call DrainComplete().
The Gonk and Android decoder do not. So we just get around this.
2015-08-14 10:20:31 +10:00
Chris Manchester 22743cd60e Bug 1185171 - Modify gmp-test-output-protection.h to prevent failure on machines without a physical monitor attached. r=bobowen
--HG--
extra : commitid : EMyufwy3mk0
2015-08-08 22:08:09 -07:00
Tanvi Vyas 550a74f51e Bug 1182551 - HTTP top level page with HTTPS mixed passive frame should have STATE_IS_INSECURE. r=ttaubert 2015-08-13 17:13:51 -07:00
Tanvi Vyas aa87627fac Bug 1182551 - Don't set STATE_IS_BROKEN on HTTP pages when mixed content is allowed by default. r=smaug 2015-08-13 17:13:43 -07:00
Andrew McCreight 72b2009871 Bug 1193567 - Check result of ReadID in nsXBLPrototypeBinding::Read(). r=wchen 2015-08-13 14:24:59 -07:00
Andrew McCreight 9040168887 Bug 1193572, part 4 - Make script element ownership more direct. r=baku
Rather than keep around a raw pointer |script| and depend on the fact
that |child| will keep alive the same object, make |script| strong,
then pass the reference off to |child| when we're finished with it.

I removed the comment about deleting |script| on failure because the
existing stack smart pointers already are doing this.

Also fix a tiny style nit.
2015-08-13 14:24:59 -07:00
Andrew McCreight 5c5e123a34 Bug 1193572, part 3 - Don't re-initialize mType for XUL proto elements. r=baku
These are already set in the constructor.
2015-08-13 14:24:59 -07:00
Andrew McCreight f248610a58 Bug 1193572, part 2 - nsXULPrototypeElement::Deserialize should use fallible SetCapacity. r=baku
I think this prevents a crash if we end up with a bogus cache value.
2015-08-13 14:24:59 -07:00
Andrew McCreight ca1c853c7d Bug 1193572, part 1 - Don't use return values of failing calls in XUL deserialize methods. r=baku 2015-08-13 14:24:59 -07:00
Andrew McCreight 7940d1c93b Bug 1193086 - Remove some null checks of infallible new code in XUL. r=baku 2015-08-13 14:24:59 -07:00
Catalin Badea 7de33f8307 Bug 1193133 - Throw when calling postMessage from a Service Worker dom object with no global. r=bkelly 2015-08-13 13:35:10 -07:00
Catalin Badea d6eb43737c Bug 1193133 - Drop the document and window references from ServiceWorker. r=bkelly 2015-08-13 13:35:10 -07:00
Ryan VanderMeulen 520fc08554 Backed out changesets 7bf71f3a4465 and 6ec8b34e2bc6 (bug 1188750) for Android 4.3 dom/crypto/test/test_indexedDB.html timeouts.
CLOSED TREE
2015-08-13 14:46:28 -04:00
Ryan VanderMeulen ec552557f5 Backed out changeset f99b27e40987 (bug 1193924) for B2G emulator bustage.
CLOSED TREE
2015-08-13 12:45:05 -04:00
Tim Taubert 2b0ed745b9 Bug 1188750 - Add test to ensure NSS is initialized before the WebCrypto API tries to deserialize a key f=keeler r=khuey 2015-08-08 16:58:39 +02:00
Tim Taubert 981a809447 Bug 1188750 - CryptoKey::ReadStructuredClone() needs to ensure NSS is initialized before trying to deserialize a key r=keeler 2015-08-07 14:27:14 +02:00
Christoph Kerschbaumer dad90516d6 Bug 1192955 - Use channel->ascynOpen2 for PING in docshell/base/nsDocShell.cpp (r=sicking) 2015-08-13 08:53:28 -07:00
Christoph Kerschbaumer ecdc701ca0 Bug 1193924 - Add assertion to AsyncOpen to make sure asyncOpen2() was called first when securityflags in loadInfo are set (r=sicking) 2015-08-12 21:36:33 -07:00
Gabor Krizsanits 34f596853a Bug 1175940 - UIResolutionChanged should not trigger sync messages from content to chrome. r=mconley 2015-08-13 16:42:19 +02:00
Jacek Caban d246521320 Bug 1193864 - Fixed dom/media/platforms/wmf/ compilation on mingw. r=cpearce 2015-08-13 17:37:40 +02:00
Gerald Squelart 8d8c88b8d2 Bug 1193142 - Evict as many trailing frames as needed to meet the eviction request - r=jya
--HG--
extra : histedit_source : 8f1f1b760bb9d6842e940608648368ff136d0b40
2015-08-13 08:23:07 -07:00
Benjamin Chen 2b8b8c084b Bug 1188155: Enable MOZ_GONK_MEDIACODEC in moz.build. r=k17e
--HG--
extra : histedit_source : 2b0d3993540e96b092167f48d1b9966c8e34dac8
2015-08-12 18:28:49 +08:00
Antonio de Luna Lopez f24373495b Bug 1110476 - Stripped url fragment from Request::GetUrl() by calling either nsIURI::SetRef() or workers::URL::SetHash() in Request's url getter utility methods. Stripped url fragment from Response::GetUrl() by adding the method InternalRequest::StripFragmentAndSetUrl() which calls nsIURI::SetRef(). Added a test in dom/tests/mochitest/fetch/test_request.js for Request::GetUrl(). Removed manual url stripping from dom/cache/TypeUtils.cpp. r=bkelly
--HG--
extra : histedit_source : 034dc90148e27780a1f9a512a513ee30f26dce92
2015-08-13 08:22:19 -07:00
Ryan VanderMeulen 0e96bb7c18 Merge m-c to inbound. a=merge
CLOSED TREE
2015-08-13 11:13:24 -04:00
Ryan VanderMeulen d5084fda2d Merge inbound to m-c. a=merge 2015-08-13 10:43:42 -04:00
Ryan VanderMeulen 1e86901d36 Backed out changeset 4a8f45990368 (bug 1185640) for causing serviceworker w-p-t permacrashes.
CLOSED TREE
2015-08-13 10:13:55 -04:00
Jean-Yves Avenard 9baf704f1b Bug 1190238: P3. Do not loop calling MediaResource::Read or ReadAt, let MediaResourceIndex do it for us. r=cpearce
This allows to remove a fair amount of duplicated logic.
Most of it is in obsoleted code though.
2015-08-13 15:27:10 +10:00
Jean-Yves Avenard 5f8b09b58e Bug 1190238: P2. Have MediaResourceIndex::ReadAt() only stop early when reaching EOS or error. r=cpearce
MediaResource::ReadAt() requires to loop several times to ensure that all data has been read as it may return less data than requested.
This will allow to remove the handling of this particular shortcoming in MediaResources' users.
2015-08-13 15:27:09 +10:00
Jean-Yves Avenard b55f0cf63a Bug 1190238: P1. Remove MediaResource::Read/Seek. r=cpearce
This functionality is now replaced with a dedicated new MediaResourceIndex class.
This allows for concurrent Read/Seek use of the MediaResource without having side effects.
2015-08-13 15:27:09 +10:00
Jamin Liu 8ce6e533bb Bug 1192695 - Use pref instead of pre-defined C string as origin of bluetooth app. r=btian 2015-08-13 12:56:09 +08:00
Jim Chen d1f529698f Bug 1192077 - Convert AndroidBridge JNIEnv calls; r=esawin 2015-08-13 00:53:39 -04:00
Francois Marier 2a4ad76933 Bug 992096 - Implement Sub Resource Integrity [2/2]. r=ckerschb
Mochitests
2015-08-12 20:19:16 -07:00
Francois Marier 34de332db0 Bug 992096 - Implement Sub Resource Integrity [1/2]. r=baku,r=ckerschb
Code changes
2015-08-12 20:19:11 -07:00
JW Wang 42dfd9d8d2 Bug 1191192 - Add DecodedStream::SetSameOrigin(). r=roc. 2015-08-13 09:22:59 +08:00
Wes Kocher 928a195f43 Merge inbound to central, a=merge 2015-08-12 15:16:16 -07:00
Fabrice Desré 16dfbc45e6 Bug 1129882 - backout 9c6fde246f6e and 847b57aaeff7 for causing 1193840 on a CLOSED TREE r=szchen, r=htsai 2015-08-12 14:35:41 -07:00
Ryan VanderMeulen 51207442bd Backed out changesets 41e3f27dd893 and efaeac1575a1 (bug 1186273) for causing frequent test_fs_app_permissions.html timeouts.
CLOSED TREE
2015-08-12 16:23:38 -04:00
Andrea Marchesini 2792224a7f Bug 1185640 - Passing a scope or scriptURL to register() with escaped '/' or '\' should fail, r=bkelly 2015-08-13 11:34:52 +01:00
Andrea Marchesini 5a264a19df Bug 1187470 - ServiceWorker scripts should not be treated parser warnings as errors, r=bkelly
--HG--
rename : dom/workers/test/serviceworkers/strict_mode_error.js => dom/workers/test/serviceworkers/strict_mode_warning.js
rename : dom/workers/test/serviceworkers/test_strict_mode_error.html => dom/workers/test/serviceworkers/test_strict_mode_warning.html
2015-08-13 10:52:15 +01:00
Andrew Osmond 06cdecf31c Bug 1186273 - Part 2. Improve reuse of and releasing of device storage objects where appropriate. r=dhylands 2015-07-21 21:08:56 -04:00
Andrew Osmond bc2720df67 Bug 1186273 - Part 1. Move preferences and observers into dedicated threadsafe module. r=dhylands 2015-07-21 17:15:56 -04:00
Ryan VanderMeulen 125f61c64f Merge inbound to m-c. a=merge 2015-08-12 10:47:17 -04:00
Seth Fowler 3c08b48c3a Bug 1193125 - Avoid corrupting image data in test_fetch_event.html. r=bkelly 2015-08-11 23:50:28 -07:00
Fabrice Desré a3cecb5ae0 Bug 1191579 - Remove useless getAll() implementation in Webapps.jsm 2015-08-06 07:43:59 -07:00
Wes Kocher ed8142204a Merge b2ginbound to central, a=merge 2015-08-11 15:46:08 -07:00
Ryan VanderMeulen dc95876ffe Backed out changeset ecebeba2582c (bug 1008146) for making imptests on Android/B2G nearly permafail.
CLOSED TREE

--HG--
rename : dom/imptests/editing/conformancetest/run/test_unlink.html => dom/imptests/editing/conformancetest/test_runtest.html
2015-08-11 14:48:24 -04:00
Birunthan Mohanathas 9067fe58d8 Backed out changeset 1e13c9c09273 (bug 1105827)
CLOSED TREE
2015-08-11 10:04:36 -07:00