mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00:00
Merge mozilla-central to mozilla-inbound
This commit is contained in:
commit
234ed1374d
1
.hgtags
1
.hgtags
@ -78,3 +78,4 @@ bbc7014db2de49e2301680d2a86be8a53108a88a AURORA_BASE_20120131
|
||||
0000000000000000000000000000000000000000 AURORA_BASE_20120131
|
||||
0000000000000000000000000000000000000000 AURORA_BASE_20120131
|
||||
bbc7014db2de49e2301680d2a86be8a53108a88a AURORA_BASE_20120131
|
||||
b6627f28b7ec17e1b46a594df0f780d3a40847e4 FIREFOX_AURORA_13_BASE
|
||||
|
@ -2,41 +2,33 @@ function test() {
|
||||
waitForExplicitFinish();
|
||||
|
||||
var pageInfo;
|
||||
|
||||
gBrowser.selectedTab = gBrowser.addTab();
|
||||
gBrowser.selectedBrowser.addEventListener("load", function () {
|
||||
gBrowser.selectedBrowser.removeEventListener("load", arguments.callee, true);
|
||||
pageInfo = BrowserPageInfo();
|
||||
gBrowser.selectedBrowser.addEventListener("load", function loadListener() {
|
||||
gBrowser.selectedBrowser.removeEventListener("load", loadListener, true);
|
||||
|
||||
Services.obs.addObserver(observer, "page-info-dialog-loaded", false);
|
||||
pageInfo = BrowserPageInfo();
|
||||
}, true);
|
||||
content.location =
|
||||
"https://example.com/browser/browser/base/content/test/feed_tab.html";
|
||||
|
||||
function observer(win, topic, data) {
|
||||
if (topic != "page-info-dialog-loaded")
|
||||
return;
|
||||
|
||||
Services.obs.removeObserver(observer, topic);
|
||||
Services.obs.removeObserver(observer, "page-info-dialog-loaded");
|
||||
handlePageInfo();
|
||||
}
|
||||
|
||||
function $(aId) { return pageInfo.document.getElementById(aId) };
|
||||
|
||||
function handlePageInfo() {
|
||||
var feedTab = $("feedTab");
|
||||
var feedListbox = $("feedListbox");
|
||||
|
||||
ok(feedListbox, "Feed list is null (feeds tab is broken)");
|
||||
ok(pageInfo.document.getElementById("feedTab"), "Feed tab");
|
||||
let feedListbox = pageInfo.document.getElementById("feedListbox");
|
||||
ok(feedListbox, "Feed list");
|
||||
|
||||
var feedRowsNum = feedListbox.getRowCount();
|
||||
|
||||
ok(feedRowsNum == 3, "Number of feeds listed: " +
|
||||
feedRowsNum + ", should be 3");
|
||||
|
||||
is(feedRowsNum, 3, "Number of feeds listed");
|
||||
|
||||
for (var i = 0; i < feedRowsNum; i++) {
|
||||
let feedItem = feedListbox.getItemAtIndex(i);
|
||||
ok(feedItem.getAttribute("name") == (i+1),
|
||||
"Name given: " + feedItem.getAttribute("name") + ", should be " + (i+1));
|
||||
is(feedItem.getAttribute("name"), i + 1, "Feed name");
|
||||
}
|
||||
|
||||
pageInfo.close();
|
||||
|
@ -1 +1 @@
|
||||
13.0a1
|
||||
14.0a1
|
||||
|
@ -10,4 +10,4 @@
|
||||
# hardcoded milestones in the tree from these two files.
|
||||
#--------------------------------------------------------
|
||||
|
||||
13.0a1
|
||||
14.0a1
|
||||
|
@ -276,12 +276,13 @@ var TestRequests = [
|
||||
// Aborted requests.
|
||||
new AbortedRequest(false),
|
||||
new AbortedRequest(true, -1),
|
||||
new AbortedRequest(true, 0),
|
||||
new AbortedRequest(true, 1000),
|
||||
new AbortedRequest(true, 5000),
|
||||
];
|
||||
|
||||
var MainThreadTestRequests = [
|
||||
new AbortedRequest(true, 0),
|
||||
new AbortedRequest(true, 1000),
|
||||
|
||||
// Synchronous requests.
|
||||
SyncRequestSettingTimeoutAfterOpen,
|
||||
SyncRequestSettingTimeoutBeforeOpen
|
||||
|
@ -10,4 +10,4 @@
|
||||
# hardcoded milestones in the tree from these two files.
|
||||
#--------------------------------------------------------
|
||||
|
||||
13.0a1
|
||||
14.0a1
|
||||
|
@ -4284,7 +4284,7 @@ prop_iter_trace(JSTracer *trc, JSObject *obj)
|
||||
|
||||
static Class prop_iter_class = {
|
||||
"PropertyIterator",
|
||||
JSCLASS_HAS_PRIVATE | JSCLASS_HAS_RESERVED_SLOTS(1),
|
||||
JSCLASS_HAS_PRIVATE | JSCLASS_IMPLEMENTS_BARRIERS | JSCLASS_HAS_RESERVED_SLOTS(1),
|
||||
JS_PropertyStub, /* addProperty */
|
||||
JS_PropertyStub, /* delProperty */
|
||||
JS_PropertyStub, /* getProperty */
|
||||
|
@ -172,7 +172,7 @@ dombindings_gen.h: $(srcdir)/dombindings.conf \
|
||||
-I$(topsrcdir)/xpcom/idl-parser \
|
||||
$(srcdir)/dombindingsgen.py \
|
||||
--idlpath=$(DEPTH)/dist/idl \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser/cache \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser \
|
||||
--header-output dombindings_gen.h \
|
||||
$(srcdir)/dombindings.conf
|
||||
|
||||
@ -189,7 +189,7 @@ dombindings_gen.cpp: $(srcdir)/dombindings.conf \
|
||||
-I$(topsrcdir)/xpcom/idl-parser \
|
||||
$(srcdir)/dombindingsgen.py \
|
||||
--idlpath=$(DEPTH)/dist/idl \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser/cache \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser \
|
||||
--stub-output dombindings_gen.cpp \
|
||||
--makedepend-output $(MDDEPDIR)/dombindingsgen.pp \
|
||||
$(srcdir)/dombindings.conf
|
||||
@ -208,7 +208,7 @@ DictionaryHelpers.h: $(srcdir)/dictionary_helper_gen.conf \
|
||||
-I$(topsrcdir)/xpcom/idl-parser \
|
||||
$(srcdir)/dictionary_helper_gen.py \
|
||||
-I $(DEPTH)/dist/idl \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser/cache \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser \
|
||||
--header-output DictionaryHelpers.h \
|
||||
$(srcdir)/dictionary_helper_gen.conf
|
||||
|
||||
@ -223,7 +223,7 @@ DictionaryHelpers.cpp: $(srcdir)/dictionary_helper_gen.conf \
|
||||
-I$(topsrcdir)/xpcom/idl-parser \
|
||||
$(srcdir)/dictionary_helper_gen.py \
|
||||
-I $(DEPTH)/dist/idl \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser/cache \
|
||||
--cachedir=$(DEPTH)/xpcom/idl-parser \
|
||||
--header-output DictionaryHelpers.h \
|
||||
--stub-output DictionaryHelpers.cpp \
|
||||
--makedepend-output $(MDDEPDIR)/dictionary_helper_gen.pp \
|
||||
@ -248,9 +248,6 @@ GARBAGE += \
|
||||
$(MDDEPDIR)/dombindingsgen.pp \
|
||||
$(MDDEPDIR)/dictionary_helper_gen.pp \
|
||||
$(wildcard $(topsrcdir)/other-licenses/ply/ply/*.pyc) \
|
||||
$(wildcard $(topsrcdir)/xpcom/idl-parser/*.pyc) \
|
||||
$(NULL)
|
||||
|
||||
GARBAGE_DIRS += $(DEPTH)/xpcom/idl-parser/cache
|
||||
|
||||
DEFINES += -D_IMPL_NS_LAYOUT
|
||||
|
@ -38,7 +38,7 @@
|
||||
MOZ_APP_BASENAME=Fennec
|
||||
MOZ_APP_VENDOR=Mozilla
|
||||
|
||||
MOZ_APP_VERSION=13.0a1
|
||||
MOZ_APP_VERSION=14.0a1
|
||||
MOZ_APP_UA_NAME=Firefox
|
||||
|
||||
MOZ_BRANDING_DIRECTORY=mobile/android/branding/unofficial
|
||||
|
@ -38,7 +38,7 @@
|
||||
MOZ_APP_BASENAME=Fennec
|
||||
MOZ_APP_VENDOR=Mozilla
|
||||
|
||||
MOZ_APP_VERSION=13.0a1
|
||||
MOZ_APP_VERSION=14.0a1
|
||||
|
||||
MOZ_BRANDING_DIRECTORY=mobile/xul/branding/unofficial
|
||||
MOZ_OFFICIAL_BRANDING_DIRECTORY=mobile/xul/branding/official
|
||||
|
@ -663,7 +663,7 @@ pref("javascript.options.typeinference", true);
|
||||
pref("javascript.options.mem.high_water_mark", 128);
|
||||
pref("javascript.options.mem.max", -1);
|
||||
pref("javascript.options.mem.gc_per_compartment", true);
|
||||
pref("javascript.options.mem.gc_incremental", true);
|
||||
pref("javascript.options.mem.gc_incremental", false);
|
||||
pref("javascript.options.mem.gc_incremental_slice_ms", 10);
|
||||
pref("javascript.options.mem.log", false);
|
||||
pref("javascript.options.gc_on_memory_pressure", true);
|
||||
|
@ -53,7 +53,7 @@ namespace mozilla {
|
||||
*/
|
||||
struct Module
|
||||
{
|
||||
static const unsigned int kVersion = 13;
|
||||
static const unsigned int kVersion = 14;
|
||||
|
||||
struct CIDEntry;
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
"""Print a C++ header file for the IDL files specified on the command line"""
|
||||
|
||||
import sys, os.path, re, xpidl, itertools
|
||||
import sys, os.path, re, xpidl, itertools, glob
|
||||
|
||||
printdoccomments = False
|
||||
|
||||
@ -499,13 +499,21 @@ if __name__ == '__main__':
|
||||
os.mkdir(options.cachedir)
|
||||
sys.path.append(options.cachedir)
|
||||
|
||||
# Instantiate the parser.
|
||||
p = xpidl.IDLParser(outputdir=options.cachedir)
|
||||
|
||||
# The only thing special about a regen is that there are no input files.
|
||||
if options.regen:
|
||||
if options.cachedir is None:
|
||||
print >>sys.stderr, "--regen useless without --cachedir"
|
||||
# Delete the lex/yacc files. Ply is too stupid to regenerate them
|
||||
# properly
|
||||
deadfiles = os.path.join(options.cachedir, "*.py*")
|
||||
for filename in glob.glob(deadfiles):
|
||||
print filename
|
||||
os.remove(filename)
|
||||
|
||||
# Instantiate the parser.
|
||||
p = xpidl.IDLParser(outputdir=options.cachedir)
|
||||
|
||||
if options.regen:
|
||||
sys.exit(0)
|
||||
|
||||
if options.depfile is not None and options.outfile is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user