Commit Graph
12622 Commits
Author SHA1 Message Date
Carsten "Tomcat" Book 46ce15b42f merge mozilla-inbound to mozilla-central a=merge 2017-05-17 11:16:52 +02:00
Carsten "Tomcat" Book 2fc015db6f Backed out changeset be04f96bf78b (bug 1347791) 2017-05-17 08:11:09 +02:00
Carsten "Tomcat" Book ca52a53101 Backed out changeset 37d295d7eec9 (bug 1347791) 2017-05-17 08:11:07 +02:00
Andrea Marchesini 61562c66b1 Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 10 - Move IsSessionOnly() in Storage class, r=asuth 2017-05-17 07:01:15 +02:00
Andrea Marchesini 56422f6bf1 Bug 1322316 - Split SessionStorage and LocalStorage implementation - part 6 - Implementation of IsForkOf(), r=asuth 2017-05-17 07:01:14 +02:00
Boris Zbarsky 6b3bf62d10 Bug 1189822 part 5. Remove the now-unnecessary DOMProxyHandler::ClearExternalRefsForWrapperRelease function. r=peterv
All DOMProxyHandler::ClearExternalRefsForWrapperRelease now does is clear a backpointer to the expando, and that's handled during reflector finalization already.
2017-05-17 00:52:53 -04:00
Boris Zbarsky 4a82be2233 Bug 1189822 part 3. Stop using EnsureExpandoObject in codegen code when we just want to preserver the wrapper for a DOM proxy. r=peterv 2017-05-17 00:52:53 -04:00
Felipe Gomes aad5d87589 Bug 1364505 - Add a rule to favor plugin fallback content when no srcURI has been specified. r=qDot
MozReview-Commit-ID: 18VcbxHmi0c
2017-05-16 22:56:22 -03:00
Carsten "Tomcat" Book e7bc984487 Merge mozilla-central to autoland on a CLOSED TREE 2017-05-16 15:11:18 +02:00
Carsten "Tomcat" Book d4006b93b2 merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Iris Hsiao cdfe13597c Backed out 4 changesets (bug 1343912) for test_timer_flood.html perma-failing
Backed out changeset b2a7fe15c578 (bug 1343912)
Backed out changeset 69a33656f4a3 (bug 1343912)
Backed out changeset f370c47abb14 (bug 1343912)
Backed out changeset 7ff1878374dd (bug 1343912)
2017-05-16 17:43:57 +08:00
Yoshi Huang 19daf98fea Bug 1364369 - update more files to use srcdoc attr. r=smaug 2017-05-16 16:57:20 +08:00
Yoshi Huang 59cf69cd2b Bug 1363612 - Part 3: fix for moz-binding: url. r=smaug
Also seperate this to make sure I modified the test correctly.
2017-05-16 16:57:20 +08:00
Yoshi Huang 4fad74d949 Bug 1363612 - Part 1: move to seperate files. r=smaug 2017-05-16 16:57:19 +08:00
Brian Birtles 2ea43d17c9 Bug 1355348 - Drop extra eRestyle_StyleAttribute hint from Element::SetSMILOverrideStyleDeclaration; r=dbaron
This was originally added in bug 1133439 but it's not clear that it is needed.
It may be that we thought that new SMIL animations should trigger transitions
but that's not the case.

We want to remove this as part of this bug since Servo_NoteExplicitHints is
currently not capable of handling animation restyle hints and non-animation
restyle hints at the same time.
2017-05-16 12:46:51 +09:00
Masayuki Nakano 71032dbf46 Bug 1303260 Get rid of unnecessary <input> and the code setting focus to it in parent window r=smaug
Perhaps, test_nsITextInputProcessor.xul is copied from another file and I failed to remove unnecessary code. That might cause stealing focus from child window and preventing to run waitForFocus().

MozReview-Commit-ID: 5Sym3mcauH7
2017-05-15 18:12:25 +09:00
Christoph Kerschbaumer 5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Ben Kelly 412952ca4c Bug 1343912 P4 Don't waste time calling TimeStamp::Now() after time budget has elapsed. r=ehsan 2017-05-15 11:58:51 -07:00
Ben Kelly d277408b22 Bug 1343912 P3 Remove fixed limit on maximum consecutive timeout handlers to execute. r=ehsan 2017-05-15 11:58:51 -07:00
Ben Kelly 3145dfe7cb Bug 1343912 P2 Only execute consecutive timeout handlers for a limit period of time. r=ehsan 2017-05-15 11:58:51 -07:00
Ben Kelly 8cd3ef8e23 Bug 1343912 P1 Cleanup logic in TimeoutManager::RunTimeout() to keep firing depth and other data consistent. r=ehsan 2017-05-15 11:58:51 -07:00
Boris Zbarsky c1afa879e7 Bug 1364589. Include the custom content container in the list AppendDocumentLevelNativeAnonymousContentTo returns. r=heycam 2017-05-15 12:25:00 -04:00
Nathan Froyd 3b526b2200 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Nicolas Silva 70f7fd76f9 Bug 1362303 - Don't use a Shmem we failed to allocate in nsContentUtils. r=Bas 2017-05-15 12:15:48 +02:00
Xidorn Quan 85ab68e516 Bug 1328319 part 8 - Make stylo use counter-style for list-style-type and counter functions. r=heycam,SimonSapin
MozReview-Commit-ID: AUU3AbwOpPs
2017-05-15 14:36:43 +10:00
Wes Kocher 5a3d1ae43d Merge m-c to autoland a=merge
MozReview-Commit-ID: L0rsjIzeVij
2017-05-15 17:02:08 -07:00
Sebastian Hengst cbc8bca709 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Nazım Can Altınova fe6b4ad014 Bug 1360488 - Part 2: stylo: Propagate quirks mode information from Gecko to Servo r=bholley
MozReview-Commit-ID: 6AyuC2jd3d4
2017-05-06 01:12:03 +03:00
Timothy Guan-tin Chien 5c98b75f03 Bug 1360500 - Allow custom colors on find selection type selections. r=jaws,masayuki,smaug
This patch implements chrome-only Selection#setColors and
Selection#resetColors methods, and use it to set the background color of
the preferences search highlight.

MozReview-Commit-ID: 2U92aBCAyeh
2017-05-10 10:48:50 -04:00
Kris Maglione 8f5efa5781 Bug 1361900: Part 8 - Use the script preloader in content processes in the frame script loader. r=gabor
MozReview-Commit-ID: f7AdQ5cG4k
2017-04-30 21:54:31 -07:00
Kris Maglione 97dff8870c Bug 1361900: Part 4 - Use a separate script cache for scripts loaded in the child process. r=erahm,gabor
MozReview-Commit-ID: EIdwmuTOl90
2017-05-09 19:52:17 -07:00
Sebastian Hengst 21c66afcab Backed out changeset ad243db647c7 (bug 1361900) 2017-05-13 18:53:40 +02:00
Sebastian Hengst 2498f298c0 Backed out changeset 752295ce12d6 (bug 1361900) 2017-05-13 18:53:20 +02:00
Michael Layzell 673d033d5d Bug 1353440 - Part 2: Don't register the annotator until after the HangMonitor has started, r=ehsan
MozReview-Commit-ID: 2QJMRAUQraL
2017-05-12 19:47:40 -04:00
Kris Maglione 26d6f76ea7 Bug 1361900: Part 8 - Use the script preloader in content processes in the frame script loader. r=gabor
MozReview-Commit-ID: f7AdQ5cG4k
2017-04-30 21:54:31 -07:00
Kris Maglione 12df64d482 Bug 1361900: Part 4 - Use a separate script cache for scripts loaded in the child process. r=erahm,gabor
MozReview-Commit-ID: EIdwmuTOl90
2017-05-09 19:52:17 -07:00
Alastor Wu e20ed47b06 Bug 1347791 - part3 : move block/resume logic from back-end to front-end. r=baku,mikedeboer
Previous design allows us calling resume/block from both front-end and back-end,
it's not easy to know who called these operations.

So move all these logic to frond-end side, it's more clear than before.

One important thing is that we should block tab before loading the content.
If we block the tab after loading, the media might not be blocked because it had
already started (that is one situation I observed from test).

The value of block state would be stored in the outer window, before media want
to start, it would check this value to know whether it can start playing or not.

---

In addition, introduce new attribute "media-blocked".

The "media-blocked" attribute indicates that whether the tab is allowed to play autoplay media.
The "activemedia-blocked" attribute indicates whether the tab has blocked the autoplay media.

MozReview-Commit-ID: FnNh3zmItxo
2017-05-17 11:56:06 +08:00
Alastor Wu 2f0347a5b4 Bug 1347791 - part2 : the tab would always be resumed when it goes to foreground first time. r=baku
Since now we move the block/resume logic to front-end side, we can remove
the changing from bug1319771 and other related bugs which are used to ensure the
pinned tab should be blocked successfully after session restore.

MozReview-Commit-ID: Ixe7tOvCEhv
2017-05-17 11:56:03 +08:00
Andrew McCreight 12d83f2e8d Bug 1365086, part 3 - Make nsMessageManagerScriptExecutor::mGlobal into a raw pointer. r=smaug
MozReview-Commit-ID: JdLV3wIB1gj
2017-05-15 13:46:28 -07:00
Andrew McCreight 05e59a9e65 Bug 1365086, part 2 - Add unlink method for nsMessageManagerScriptExecutor. r=smaug
MozReview-Commit-ID: 66qpza5yEZT
2017-05-15 13:05:18 -07:00
Andrew McCreight 98a8d191f5 Bug 1365086, part 1 - Make nsMessageManagerScriptExecutor::GetGlobal return a JSObject pointer. r=smaug
MozReview-Commit-ID: HxMaMyK8fFW
2017-05-15 12:56:22 -07:00
Blake Kaplan b0686fc222 Bug 1345990 - Allow creation of new tabs in their own processes. r=mconley
This uses XPCOM to replace the default process selector with one that always
asks for a new process and then put the old one back again. This comes with a
test to prove that it works.

MozReview-Commit-ID: Bq6KP4VzP7W
2017-04-26 17:52:20 -07:00
Benjamin Smedberg a69d5e3644 Bug 1335475 - Deny plugins from non-HTTP/HTTPS origins. r=bytesized,qdot
MozReview-Commit-ID: 3kPeycfMWVw
2017-03-07 09:34:03 -05:00
Carsten "Tomcat" Book 3eed0a7e6c merge mozilla-inbound to mozilla-central a=merge 2017-05-12 14:36:44 +02:00
Daniel Holbert 5066835c91 Bug 1344398 part 2: React to some CSS 'overflow' changes on body/html by simply calling UpdateViewportScrollbarStylesOverride() instead of reframing. r=bz,tnikkel
MozReview-Commit-ID: Lpr9aNv9hAB
2017-05-10 13:53:27 -07:00
Daniel Holbert b8f558366f Bug 1364180: In nsDocument::ResetToURI(), clear mCachedRootElement immediately after that element is removed. r=bz
Previously, we cleared mCachedRootElement a bit later -- after removing *all*
of the children and calling nsNodeUtils::ContentRemoved() and UnbindFromTree on
each of them.  This was problematic, because these cleanup functions can
involve calls to GetRootElement() -- and prior to this patch, any such
GetRootElement() calls would likely return the stale value in
mCachedRootElement.

Now, with this patch, we'll be clearing mCachedRootElement
sooner, so these GetRootElement() calls will return the correct current root
(which will likely be null in this case, since we're emptying the document of
children).

MozReview-Commit-ID: 8skGJyic1pC
2017-05-11 13:14:08 -07:00
Cameron McCormack 560210f96f Bug 1361235 - Part 2: Re-enable some tests. r=emilio
MozReview-Commit-ID: 76FaOwHjIMB
2017-05-11 19:19:52 +08:00
Cameron McCormack 5236f828ec Bug 1361235 - Part 1: Clear ServoElementData from doomed NAC before adding the script runner that would destroy it. r=emilio
MozReview-Commit-ID: KqJelGoA4NU
2017-05-11 18:03:02 +08:00
Wes Kocher cc93c3ff89 Merge inbound to m-c a=merge
MozReview-Commit-ID: HCapLqbD816
2017-05-11 17:30:41 -07:00
Ryan VanderMeulen 5d2035f8e0 Merge m-c to autoland. a=merge 2017-05-11 11:30:47 -04:00