This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <type_traits> | |
#include <iostream> | |
template <bool isPod = true> | |
class FooClearPolicy { | |
public: | |
static void clear() { | |
std::cout<<"pod clear"<<std::endl; | |
} | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <type_traits> | |
#include <iostream> | |
template <typename T> | |
class Foo { | |
public: | |
bool foo = std::is_pod<T>::value; | |
void clear() { | |
if (foo) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/js/src/gc/StoreBuffer-inl.h b/js/src/gc/StoreBuffer-inl.h | |
index 61e93065c5a5..c43a47cde5fe 100644 | |
--- a/js/src/gc/StoreBuffer-inl.h | |
+++ b/js/src/gc/StoreBuffer-inl.h | |
@@ -69,16 +69,25 @@ StoreBuffer::putWholeCell(Cell* cell) | |
if (!cells) | |
return; | |
} | |
cells->putCell(&cell->asTenured()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Test if data:image/png is same origin</title> | |
</head> | |
<body> | |
<canvas id="canvas" class="output" width="100" height="50"> | |
<script> | |
var canvas = document.getElementById('canvas'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Test for Data URI</title> | |
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script> | |
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" /> | |
</head> | |
<body onload="testDataURI()"> | |
<p id="display"></p> | |
<div id="content" style="display: none"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<!-- | |
https://bugzilla.mozilla.org/show_bug.cgi?id=1267075 | |
--> | |
<title>Test for Bug 1267075</title> | |
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> | |
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script> | |
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<!-- | |
https://bugzilla.mozilla.org/show_bug.cgi?id=1267075 | |
--> | |
<title>Test for Bug 1267075</title> | |
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script> | |
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/EventUtils.js"></script> | |
<link rel="stylesheet" type="text/css" href="chrome://mochikit/content/tests/SimpleTest/test.css"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dom/base/test/test_bug518104.html b/dom/base/test/test_bug518104.html | |
index d60d2ac9f85c..df255cfe86e3 100644 | |
--- a/dom/base/test/test_bug518104.html | |
+++ b/dom/base/test/test_bug518104.html | |
@@ -21,17 +21,17 @@ function done() { | |
var iframe = document.getElementById("iframe"); | |
var divs = iframe.contentWindow.document.getElementsByTagName("p").length; | |
is(divs, 0, "<p> got written.") | |
SimpleTest.finish(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dom/html/test/test_bug677495-1.html b/dom/html/test/test_bug677495-1.html | |
index 916997f00349..228fbea673bf 100644 | |
--- a/dom/html/test/test_bug677495-1.html | |
+++ b/dom/html/test/test_bug677495-1.html | |
@@ -23,12 +23,12 @@ As mandated by the spec, the body of a media document must only contain one chil | |
} | |
</script> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 60ea502145ab255a3d1d5908116e91e5f454ac1a | |
Author: Yoshi Huang <allstars.chh@mozilla.com> | |
Date: Fri Apr 7 11:52:27 2017 +0800 | |
Revert "Bug 1334875 - Temporarily remove assertion that history loads pass a valid triggeringprincipal. r=jwatt" | |
This reverts commit 9f4108a5faa1c84974f7a4cdaaa8d92a689d21ad. | |
diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp | |
index 5421c728728e..67bbeffd8a17 100644 |